From 9f749af40bafc3c405245c867a9996e3e7b75ac8 Mon Sep 17 00:00:00 2001 From: Simon Baerlocher Date: Wed, 27 Jul 2022 01:18:19 +0200 Subject: [PATCH] refactoring --- .dockerignore | 11 + .github/dependabot.yml | 26 + .github/settings.yml | 66 - .github/workflows/main.yml | 118 ++ .github/workflows/release.yml | 65 + .github/workflows/test.yml | 19 - .node-version | 1 + .prettierrc.json | 17 +- Dockerfile | 37 + README.md | 2 +- __tests__/collection.test.ts | 228 ++++ __tests__/galaxyConfig.test.ts | 22 + action.yml | 31 +- dist/index.js | 1 - jest.config.js | 5 +- package-lock.json | 2101 ++++++++++++++------------------ package.json | 29 +- requirements.txt | 1 + src/Collection.ts | 74 +- src/GalaxyConfig.ts | 30 +- src/decorators.ts | 20 +- src/enums.ts | 6 +- src/main.ts | 127 +- src/types.ts | 36 +- tests/action.yml | 59 + tests/collection/README.md | 2 + tests/collection/galaxy.yml | 2 +- tsconfig.json | 7 +- 28 files changed, 1658 insertions(+), 1485 deletions(-) create mode 100644 .dockerignore delete mode 100644 .github/settings.yml create mode 100644 .github/workflows/main.yml create mode 100644 .github/workflows/release.yml delete mode 100644 .github/workflows/test.yml create mode 100644 .node-version create mode 100644 Dockerfile create mode 100644 __tests__/collection.test.ts create mode 100644 __tests__/galaxyConfig.test.ts delete mode 100644 dist/index.js create mode 100644 requirements.txt create mode 100644 tests/action.yml diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..2796699 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,11 @@ +.git +.github +.gitignore +.idea +.vscode +.devcontainer +.prettierrc.json +CHANGELOG.md +fake_collection +node_modules +coverage diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 05cd2dd..0aec45d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -25,3 +25,29 @@ updates: prefix: fix prefix-development: chore include: scope + + - package-ecosystem: docker + directory: "/" + schedule: + interval: monthly + reviewers: + - sbaerlocher + assignees: + - sbaerlocher + commit-message: + prefix: fix + prefix-development: chore + include: scope + + - package-ecosystem: pip + directory: "/" + schedule: + interval: monthly + reviewers: + - sbaerlocher + assignees: + - sbaerlocher + commit-message: + prefix: fix + prefix-development: chore + include: scope diff --git a/.github/settings.yml b/.github/settings.yml deleted file mode 100644 index 458a446..0000000 --- a/.github/settings.yml +++ /dev/null @@ -1,66 +0,0 @@ ---- -repository: - # See https://developer.github.com/v3/repos/#edit for all available settings. - - # The name of the repository. Changing this will rename the repository - name: action.ansible.collection - - # A short description of the repository that will show up on GitHub - description: Build and publish an Ansible Collection to Ansible Galaxy. - - # A URL with more information about the repository - homepage: - - # Either `true` to make the repository private, or `false` to make it public. - private: false - - # Either `true` to enable issues for this repository, `false` to disable them. - has_issues: true - - # Either `true` to enable the wiki for this repository, `false` to disable it. - has_wiki: false - - # Either `true` to enable downloads for this repository, `false` to disable them. - has_downloads: true - - # Updates the default branch for this repository. - default_branch: master - - # Either `true` to allow squash-merging pull requests, or `false` to prevent - # squash-merging. - allow_squash_merge: true - - # Either `true` to allow merging pull requests with a merge commit, or `false` - # to prevent merging pull requests with merge commits. - allow_merge_commit: true - - # Either `true` to allow rebase-merging pull requests, or `false` to prevent - # rebase-merging. - allow_rebase_merge: true - -branches: - - name: master - # https://developer.github.com/v3/repos/branches/#update-branch-protection - # Branch Protection settings. Set to null to disable - protection: - # Required. Require at least one approving review on a pull request, before merging. Set to null to disable. - required_pull_request_reviews: - # The number of approvals required. (1-6) - required_approving_review_count: 1 - # Dismiss approved reviews automatically when a new commit is pushed. - dismiss_stale_reviews: true - # Blocks merge until code owners have reviewed. - require_code_owner_reviews: false - # Required. Require status checks to pass before merging. Set to null to disable - required_status_checks: - # Required. Require branches to be up to date before merging. - strict: true - # Required. The list of status checks to require in order to merge into this branch - contexts: [] - # Required. Enforce all configured restrictions for administrators. - enforce_admins: true - # Required. Restrict who can push to this branch. - restrictions: - apps: [] - users: [] - teams: [] diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..b05aa31 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,118 @@ +name: Testing the Action + +on: [pull_request] + +env: + RUNNER_TEMP: /tmp + TEST_ARTIFACT_VERSION: 0.0.14 + +jobs: + local_tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3.0.2 + + - uses: actions/setup-node@v3 + with: + node-version-file: .node-version + cache: 'npm' + check-latest: true + + - name: Install Dependencies + run: npm ci + + - name: Check Format + run: npm run format-check + + - name: Run tests + run: npm test + + test_deploy: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3.0.2 + + - name: Set up action.yml + run: cp action_ci.yml action.yml + + - name: Test the action + uses: ./ + with: + api_key: '${{ secrets.GALAXY_API_KEY }}' + # Fake location that's a small amount of content + collection_dir: 'tests/collection' + + - name: Test the action with a custom version + uses: ./ + with: + api_key: '${{ secrets.GALAXY_API_KEY }}' + collection_dir: 'tests/collection' + # Custom version + galaxy_version: '${{ env.TEST_ARTIFACT_VERSION }}-test' + + test_build_then_publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3.0.2 + + - name: Set up action.yml + run: cp tests/action.yml action.yml + + - name: Test the action - only build + uses: ./ + with: + api_key: '${{ secrets.GALAXY_API_KEY }}' + collection_dir: 'tests/collection' + # Different from above version + galaxy_version: '${{ env.TEST_ARTIFACT_VERSION }}-build' + build: true + publish: false + + - name: Test the action - only publish + uses: ./ + with: + api_key: '${{ secrets.GALAXY_API_KEY }}' + collection_dir: 'tests/collection' + # Should match version above + galaxy_version: '${{ env.TEST_ARTIFACT_VERSION }}-build' + build: false + publish: true + + snapshot: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3.0.2 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2.0.0 + with: + install: true + + - name: Login to GitHub Container Registry + uses: docker/login-action@v2.0.0 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Docker meta + id: meta + uses: docker/metadata-action@v4.0.1 + with: + images: | + ghcr.io/arillso/action-ansible-collection-testartifact + tags: | + type=raw,value=SNAPSHOT-${{ github.sha }} + + - name: Build and Push + uses: docker/build-push-action@v3.0.0 + with: + context: . + platforms: linux/amd64 + file: ./Dockerfile + push: false + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} + cache-from: type=gha + cache-to: type=gha,mode=max diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..d5a802d --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,65 @@ +on: + release: + types: + - published + +env: + IMAGE_NAME: arillso/action-ansible-collection + +name: Release +jobs: + release: + name: Release GitHub Actions + runs-on: ubuntu-latest + steps: + - name: Semver release + uses: technote-space/release-github-actions@v7.2.4 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + CLEAN_TARGETS: '' + + deploy: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3.0.2 + + - name: Get the version + run: echo "RELEASE_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV + + - name: Set up QEMU + uses: docker/setup-qemu-action@v2.0.0 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2.0.0 + with: + install: true + + - name: Docker meta + id: meta + uses: docker/metadata-action@v4.0.1 + with: + images: | + ghcr.io/${{ env.IMAGE_NAME }} + tags: | + type=raw,value=latest + type=raw,value=${{ env.RELEASE_VERSION }} + + - name: Login to GitHub Container Registry + uses: docker/login-action@v2.0.0 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Build and Push + uses: docker/build-push-action@v3.0.0 + with: + context: . + platforms: linux/amd64, linux/arm64 + file: ./Dockerfile + push: true + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} + cache-from: type=gha + cache-to: type=gha,mode=max diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index f353550..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: Testing Action - -on: [pull_request] - -jobs: - test_action: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - - name: Report Ansible version - run: ansible --version - - - name: Testing action - uses: ./ - with: - api_key: ${{ secrets.GALAXY_API_KEY }} - collection_dir: tests/collection diff --git a/.node-version b/.node-version new file mode 100644 index 0000000..3c03207 --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +18 diff --git a/.prettierrc.json b/.prettierrc.json index 6714236..4f9e29e 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,11 +1,10 @@ { - "printWidth": 80, - "tabWidth": 2, - "useTabs": false, - "semi": false, - "singleQuote": true, - "trailingComma": "none", - "bracketSpacing": false, - "arrowParens": "avoid", - "parser": "typescript" + "printWidth": 120, + "tabWidth": 2, + "useTabs": false, + "semi": true, + "singleQuote": true, + "trailingComma": "all", + "bracketSpacing": true, + "arrowParens": "avoid" } diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..93d762c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,37 @@ +FROM node:18-slim AS builder + +WORKDIR /app +COPY package*.json ./ +RUN npm install +COPY . ./ +RUN npm run build + +FROM node:18-slim AS runner + +# Required for python inside Docker containers +ENV LC_ALL C.UTF-8 +ENV LANG C.UTF-8 + +RUN apt-get update \ + && apt-get upgrade -y \ + && apt-get install -y --no-install-recommends python3 python3-pip python3-setuptools python3-wheel \ + # Slim down layer size + && apt-get autoremove -y \ + && apt-get autoclean -y \ + # Remove apt-get cache from the layer to reduce container size + && rm -rf /var/lib/apt/lists/* + +RUN npm install -g npm \ + && python3 -m pip install --no-cache-dir --upgrade pip + +WORKDIR /app + +COPY requirements.txt ./ +RUN python3 -m pip install --no-cache-dir -r requirements.txt + +COPY --from=builder /app/dist ./dist +COPY package*.json ./ +RUN npm ci --production \ + && npm cache clean --force + +ENTRYPOINT ["node", "/app/dist/main.js"] diff --git a/README.md b/README.md index c365ad2..e1d9074 100644 --- a/README.md +++ b/README.md @@ -45,4 +45,4 @@ This project is under the MIT License. See the [LICENSE](licence) file for the f ## Copyright -(c) 2020, Arillso +(c) 2022, Arillso diff --git a/__tests__/collection.test.ts b/__tests__/collection.test.ts new file mode 100644 index 0000000..804e680 --- /dev/null +++ b/__tests__/collection.test.ts @@ -0,0 +1,228 @@ +import { validate, validateSync } from 'class-validator'; +import { gt } from 'semver'; +import { ExecOptions } from '@actions/exec/lib/interfaces'; + +import { Collection } from '../src/Collection'; +import { GalaxyConfig } from '../src/GalaxyConfig'; +import { BuildCommand, PublishCommand } from '../src/enums'; + +const fakeCollectionDir = 'fake_collection'; +const typicalGalaxyConfig = new GalaxyConfig({ + namespace: 'test', + name: 'test', + version: '1.1.1', +}); + +/** + * Stub the @actions/io 'which' command. + * We just have it return the tool that is passed in. + */ +const whichStub = function (tool: string, _check?: boolean | undefined): Promise { + return new Promise(resolve => resolve(tool)); +}; + +/** + * Stub the @actions/exec 'exec' command. + * We use the stub to ensure the constructed ansible-galaxy command is formatted correctly. + * + * In this version of the stub, the 'ansible-galaxy collection publish' command is inspected. + * We verify that the command has been formatted properly. + */ +const publishExecStub = function (commandLine: string, _args?: string[], _options?: ExecOptions): Promise { + return new Promise(resolve => { + const commandArgs = commandLine.split(' '); + const executable = commandArgs[PublishCommand.Executable]; + const command = commandArgs[PublishCommand.Command]; + const archive: string | undefined = commandArgs[PublishCommand.Archive]; + const apiKeyRaw: string | undefined = commandArgs[PublishCommand.ApiKeyFlag]; + + if (command === 'build') { + const collectionPath = commandArgs[BuildCommand.Archive]; + if (collectionPath === '') { + resolve(0); + } else { + resolve(1); + } + } else { + // First 10 characters are --api-key= + const apiKey = apiKeyRaw.slice(10); + // Extract the version number + const version = archive.slice(10, 15); + + if ( + executable === 'ansible-galaxy' && + archive === 'test-test-1.1.1.tar.gz' && + apiKey === 'key' && + // Mock the situation where we attempt to publish a version that is already on Galaxy and fail + gt(version, '1.1.0') + ) { + resolve(0); + } else { + resolve(1); + } + } + }); +}; + +/** + * Stub the @actions/exec 'exec' command. + * We use the stub to ensure the constructed ansible-galaxy command is formatted correctly. + * + * In this version of the stub, the 'ansible-galaxy collection build' command is inspected. + * We verify that the code constructs the command properly based on the existence/formatting of input variables. + */ +const buildExecStub = function (commandLine: string, _args?: string[], _options?: ExecOptions): Promise { + return new Promise(resolve => { + const commandArgs = commandLine.split(' '); + const command = commandArgs[BuildCommand.Command]; + const archive: string | undefined = commandArgs[BuildCommand.Archive]; + + if (command === 'publish') { + resolve(0); + } else { + if (archive === fakeCollectionDir) { + resolve(0); + } else { + resolve(1); + } + } + }); +}; + +describe('Collection', () => { + test('No errors with valid input', () => { + const collection = new Collection({ + config: typicalGalaxyConfig, + apiKey: 'key', + customDir: '', + customVersion: '', + }); + + const errors = validateSync(collection); + expect(errors).toHaveLength(0); + }); + + test('Fails to validate a collection with invalid inputs', async () => { + const collection = new Collection({ + config: new GalaxyConfig({ + namespace: '', + name: '', + version: '', + }), + apiKey: 'key', + customDir: '', + customVersion: '', + }); + + const errors = await validate(collection); + expect(errors).toHaveLength(3); + }); + + test('Fails to validate a non-semver string', async () => { + const collection = new Collection({ + config: new GalaxyConfig({ + namespace: 'test', + name: 'test', + version: '1.2.a', + }), + apiKey: 'key', + customDir: '', + customVersion: '', + }); + + const errors = await validate(collection); + expect(errors).toHaveLength(1); + expect(errors[0].constraints!.isSemver).toEqual('1.2.a must be semver-compatible'); + }); + + test('toString returns namespace, name, and version', () => { + const collection = new Collection({ + config: typicalGalaxyConfig, + apiKey: 'key', + customDir: '', + customVersion: '', + }); + + expect(`${collection}`).toEqual('test-test-1.1.1'); + }); + + test('publishes a collection', async () => { + const collection = new Collection({ + config: typicalGalaxyConfig, + apiKey: 'key', + customDir: '', + customVersion: '', + }); + + const result = await collection.publish(whichStub, publishExecStub); + expect(result).toEqual(0); + }); + + test('fails to publish a collection', async () => { + const collection = new Collection({ + config: new GalaxyConfig({ + namespace: 'test', + name: 'test', + // This must be less than '1.1.0' to satisfy the stub expectations for this test + version: '1.0.0', + }), + apiKey: 'key', + customDir: '', + customVersion: '', + }); + + const result = await collection.publish(whichStub, publishExecStub); + expect(result).toEqual(1); + }); + + test('path is empty if collectionDir is not specified', async () => { + const collection = new Collection({ + config: typicalGalaxyConfig, + apiKey: 'key', + customDir: '', + customVersion: '', + }); + + expect(collection.path).toEqual(''); + }); + + test('builds a collection at a custom location', async () => { + const collection = new Collection({ + config: typicalGalaxyConfig, + apiKey: 'key', + customDir: fakeCollectionDir, + customVersion: '', + }); + + const result = await collection.publish(whichStub, buildExecStub); + expect(result).toEqual(0); + }); + + test('overwrites the galaxy.yml version with a custom version', () => { + const customVersion = '1.2.3'; + const collection = new Collection({ + config: typicalGalaxyConfig, + apiKey: 'key', + customDir: '', + customVersion: customVersion, + }); + + expect(collection.version).toEqual(customVersion); + }); + + test('retains the galaxy.yml version if not custom version is supplied', () => { + const version = '1.1.1'; + const collection = new Collection({ + config: new GalaxyConfig({ + namespace: 'test', + name: 'test', + version: version, + }), + apiKey: 'key', + customDir: '', + customVersion: '', + }); + + expect(collection.version).toEqual(version); + }); +}); diff --git a/__tests__/galaxyConfig.test.ts b/__tests__/galaxyConfig.test.ts new file mode 100644 index 0000000..45a06b0 --- /dev/null +++ b/__tests__/galaxyConfig.test.ts @@ -0,0 +1,22 @@ +import { GalaxyConfig } from '../src/GalaxyConfig'; + +describe('GalaxyConfig', () => { + test('sets a new version if valid semver', () => { + const newVersion = '1.1.5'; + const config = new GalaxyConfig({ + version: '1.1.0', + }); + config.version = newVersion; + expect(config.version).toEqual(newVersion); + }); + + test('rejects a new version if not valid semver', () => { + const newVersion = '1.1.4s'; + const config = new GalaxyConfig({ + version: '1.1.0', + }); + expect(() => { + config.version = newVersion; + }).toThrow(`${newVersion} is not valid semver`); + }); +}); diff --git a/action.yml b/action.yml index 976f3ca..a0b6e4d 100644 --- a/action.yml +++ b/action.yml @@ -29,9 +29,32 @@ inputs: galaxy_version: description: Dynamically inject a semver-compatible version into your galaxy.yml file. required: false +# galaxy_version_commit: +# description: The Action will write the `galaxy_version` value into your `galaxy.yml` and commit it. +# required: false +# galaxy_version_increment: +# description: | +# The Action will read the version in galaxy.yml and increment it based on the value provided in this parameter. +# Valid values are: `major`, `minor`, `patch`. +# Defaults to `patch`. +# required: false +# default: patch + galaxy_config_file: + description: | + DEPRECATED. + + A collection must have a galaxy.yml file that contains the necessary information to build a + collection artifact. + + Defaults to "galaxy.yml" in the `collection_dir`, which is by default the project root. + + This parameter is deprecated as Ansible Galaxy requires the file to be named `galaxy.yml` and to exist in the root of your Collection. Use `collection_dir` to specify a non-root directory for your Collection. + required: false + default: 'galaxy.yml' runs: - using: "node12" - main: "dist/index.js" + using: 'docker' + # Takes ~3 minutes to build the container so speed up consumer invocations by using pre-built image + image: docker://ghcr.io/arillso/action-ansible-collection:1.3.0 branding: - icon: "box" - color: "black" + icon: 'box' + color: 'purple' diff --git a/dist/index.js b/dist/index.js deleted file mode 100644 index bc617aa..0000000 --- a/dist/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e={8983:function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,o;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)if(o=e[s])a=(i<3?o(a):i>3?o(t,r,a):o(t,r))||a;return i>3&&a&&Object.defineProperty(t,r,a),a};var i=this&&this.__metadata||function(e,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:true});t.Collection=void 0;const a=r(4803);const o=r(7461);class Collection{constructor({config:e,apiKey:t,customDir:r,customVersion:n}){this.config=e;this.namespace=e.namespace||"";this.name=e.name||"";this.version=this.applyCustomVersion(n);this.apiKey=t;this.customDir=r}toString(){return`${this.namespace}-${this.name}-${this.version}`}get path(){if(this.customDir.length>0){return this.customDir}return""}applyCustomVersion(e){let t=this.config.version;if(e!==""){t=e;this.config.version=t}return t||""}async build(e,t){const r=await e("ansible-galaxy",true);return t(`${r} collection build ${this.path}`)}async publish(e,t){const r=await e("ansible-galaxy",true);return t(`${r} collection publish ${this}.tar.gz --api-key=${this.apiKey}`)}}n([(0,a.IsNotEmpty)(),i("design:type",String)],Collection.prototype,"namespace",void 0);n([(0,a.IsNotEmpty)(),i("design:type",String)],Collection.prototype,"name",void 0);n([(0,o.IsSemver)({message:"$value must be semver-compatible"}),(0,a.IsNotEmpty)(),i("design:type",String)],Collection.prototype,"version",void 0);n([(0,a.IsNotEmpty)(),i("design:type",String)],Collection.prototype,"apiKey",void 0);t.Collection=Collection},9719:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.GalaxyConfig=void 0;const n=r(1383);const i=r(1917);const a=r(7147);class GalaxyConfig{constructor(e){this.changes=false;this.config=e}get namespace(){return this.config.namespace}get name(){return this.config.name}get version(){return this.config.version}set version(e){if((0,n.valid)(e)){this.config.version=e;this.changes=true}else{throw new Error(`${e} is not valid semver`)}}commit(e){if(this.changes){const t=(0,i.dump)(this.config);(0,a.writeFileSync)(e,t,"utf8")}}}t.GalaxyConfig=GalaxyConfig},7461:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsSemver=void 0;const n=r(4803);const i=r(1383);function IsSemver(e){return function(t,r){(0,n.registerDecorator)({name:"isSemver",target:t.constructor,propertyName:r,options:e,constraints:[],validator:{validate(e,t){return(0,i.valid)(e)!==null}}})}}t.IsSemver=IsSemver},9275:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.BuildCommand=t.PublishCommand=t.ExitCodes=void 0;var r;(function(e){e[e["Ok"]=0]="Ok";e[e["DeployFailed"]=1]="DeployFailed";e[e["ValidationFailed"]=2]="ValidationFailed";e[e["BuildFailed"]=3]="BuildFailed";e[e["PublishFailed"]=4]="PublishFailed"})(r=t.ExitCodes||(t.ExitCodes={}));var n;(function(e){e[e["Executable"]=0]="Executable";e[e["Collection"]=1]="Collection";e[e["Command"]=2]="Command";e[e["Archive"]=3]="Archive";e[e["ApiKeyFlag"]=4]="ApiKeyFlag"})(n=t.PublishCommand||(t.PublishCommand={}));var i;(function(e){e[e["Executable"]=0]="Executable";e[e["Collection"]=1]="Collection";e[e["Command"]=2]="Command";e[e["Archive"]=3]="Archive"})(i=t.BuildCommand||(t.BuildCommand={}))},7351:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issue=t.issueCommand=void 0;const o=a(r(2037));const s=r(5278);function issueCommand(e,t,r){const n=new Command(e,t,r);process.stdout.write(n.toString()+o.EOL)}t.issueCommand=issueCommand;function issue(e,t=""){issueCommand(e,{},t)}t.issue=issue;const u="::";class Command{constructor(e,t,r){if(!e){e="missing.command"}this.command=e;this.properties=t;this.message=r}toString(){let e=u+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let t=true;for(const r in this.properties){if(this.properties.hasOwnProperty(r)){const n=this.properties[r];if(n){if(t){t=false}else{e+=","}e+=`${r}=${escapeProperty(n)}`}}}}e+=`${u}${escapeData(this.message)}`;return e}}function escapeData(e){return s.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return s.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},2186:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};var o=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function fulfilled(e){try{step(n.next(e))}catch(e){i(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){i(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getIDToken=t.getState=t.saveState=t.group=t.endGroup=t.startGroup=t.info=t.notice=t.warning=t.error=t.debug=t.isDebug=t.setFailed=t.setCommandEcho=t.setOutput=t.getBooleanInput=t.getMultilineInput=t.getInput=t.addPath=t.setSecret=t.exportVariable=t.ExitCode=void 0;const s=r(7351);const u=r(717);const l=r(5278);const d=a(r(2037));const f=a(r(1017));const c=r(8041);var p;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(p=t.ExitCode||(t.ExitCode={}));function exportVariable(e,t){const r=l.toCommandValue(t);process.env[e]=r;const n=process.env["GITHUB_ENV"]||"";if(n){const t="_GitHubActionsFileCommandDelimeter_";const n=`${e}<<${t}${d.EOL}${r}${d.EOL}${t}`;u.issueCommand("ENV",n)}else{s.issueCommand("set-env",{name:e},r)}}t.exportVariable=exportVariable;function setSecret(e){s.issueCommand("add-mask",{},e)}t.setSecret=setSecret;function addPath(e){const t=process.env["GITHUB_PATH"]||"";if(t){u.issueCommand("PATH",e)}else{s.issueCommand("add-path",{},e)}process.env["PATH"]=`${e}${f.delimiter}${process.env["PATH"]}`}t.addPath=addPath;function getInput(e,t){const r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r){throw new Error(`Input required and not supplied: ${e}`)}if(t&&t.trimWhitespace===false){return r}return r.trim()}t.getInput=getInput;function getMultilineInput(e,t){const r=getInput(e,t).split("\n").filter((e=>e!==""));return r}t.getMultilineInput=getMultilineInput;function getBooleanInput(e,t){const r=["true","True","TRUE"];const n=["false","False","FALSE"];const i=getInput(e,t);if(r.includes(i))return true;if(n.includes(i))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}t.getBooleanInput=getBooleanInput;function setOutput(e,t){process.stdout.write(d.EOL);s.issueCommand("set-output",{name:e},t)}t.setOutput=setOutput;function setCommandEcho(e){s.issue("echo",e?"on":"off")}t.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=p.Failure;error(e)}t.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}t.isDebug=isDebug;function debug(e){s.issueCommand("debug",{},e)}t.debug=debug;function error(e,t={}){s.issueCommand("error",l.toCommandProperties(t),e instanceof Error?e.toString():e)}t.error=error;function warning(e,t={}){s.issueCommand("warning",l.toCommandProperties(t),e instanceof Error?e.toString():e)}t.warning=warning;function notice(e,t={}){s.issueCommand("notice",l.toCommandProperties(t),e instanceof Error?e.toString():e)}t.notice=notice;function info(e){process.stdout.write(e+d.EOL)}t.info=info;function startGroup(e){s.issue("group",e)}t.startGroup=startGroup;function endGroup(){s.issue("endgroup")}t.endGroup=endGroup;function group(e,t){return o(this,void 0,void 0,(function*(){startGroup(e);let r;try{r=yield t()}finally{endGroup()}return r}))}t.group=group;function saveState(e,t){s.issueCommand("save-state",{name:e},t)}t.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}t.getState=getState;function getIDToken(e){return o(this,void 0,void 0,(function*(){return yield c.OidcClient.getIDToken(e)}))}t.getIDToken=getIDToken},717:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};Object.defineProperty(t,"__esModule",{value:true});t.issueCommand=void 0;const o=a(r(7147));const s=a(r(2037));const u=r(5278);function issueCommand(e,t){const r=process.env[`GITHUB_${e}`];if(!r){throw new Error(`Unable to find environment variable for file command ${e}`)}if(!o.existsSync(r)){throw new Error(`Missing file at path: ${r}`)}o.appendFileSync(r,`${u.toCommandValue(t)}${s.EOL}`,{encoding:"utf8"})}t.issueCommand=issueCommand},8041:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function fulfilled(e){try{step(n.next(e))}catch(e){i(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){i(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.OidcClient=void 0;const i=r(9925);const a=r(3702);const o=r(2186);class OidcClient{static createHttpClient(e=true,t=10){const r={allowRetries:e,maxRetries:t};return new i.HttpClient("actions/oidc-client",[new a.BearerCredentialHandler(OidcClient.getRequestToken())],r)}static getRequestToken(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return e}static getIDTokenUrl(){const e=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!e){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return e}static getCall(e){var t;return n(this,void 0,void 0,(function*(){const r=OidcClient.createHttpClient();const n=yield r.getJson(e).catch((e=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.result.message}`)}));const i=(t=n.result)===null||t===void 0?void 0:t.value;if(!i){throw new Error("Response json body do not have ID Token field")}return i}))}static getIDToken(e){return n(this,void 0,void 0,(function*(){try{let t=OidcClient.getIDTokenUrl();if(e){const r=encodeURIComponent(e);t=`${t}&audience=${r}`}o.debug(`ID token url is ${t}`);const r=yield OidcClient.getCall(t);o.setSecret(r);return r}catch(e){throw new Error(`Error message: ${e.message}`)}}))}}t.OidcClient=OidcClient},5278:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.toCommandProperties=t.toCommandValue=void 0;function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}t.toCommandValue=toCommandValue;function toCommandProperties(e){if(!Object.keys(e).length){return{}}return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}t.toCommandProperties=toCommandProperties},1514:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};var o=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function fulfilled(e){try{step(n.next(e))}catch(e){i(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){i(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.getExecOutput=t.exec=void 0;const s=r(1576);const u=a(r(8159));function exec(e,t,r){return o(this,void 0,void 0,(function*(){const n=u.argStringToArray(e);if(n.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const i=n[0];t=n.slice(1).concat(t||[]);const a=new u.ToolRunner(i,t,r);return a.exec()}))}t.exec=exec;function getExecOutput(e,t,r){var n,i;return o(this,void 0,void 0,(function*(){let a="";let o="";const u=new s.StringDecoder("utf8");const l=new s.StringDecoder("utf8");const d=(n=r===null||r===void 0?void 0:r.listeners)===null||n===void 0?void 0:n.stdout;const f=(i=r===null||r===void 0?void 0:r.listeners)===null||i===void 0?void 0:i.stderr;const stdErrListener=e=>{o+=l.write(e);if(f){f(e)}};const stdOutListener=e=>{a+=u.write(e);if(d){d(e)}};const c=Object.assign(Object.assign({},r===null||r===void 0?void 0:r.listeners),{stdout:stdOutListener,stderr:stdErrListener});const p=yield exec(e,t,Object.assign(Object.assign({},r),{listeners:c}));a+=u.end();o+=l.end();return{exitCode:p,stdout:a,stderr:o}}))}t.getExecOutput=getExecOutput},8159:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};var o=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function fulfilled(e){try{step(n.next(e))}catch(e){i(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){i(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.argStringToArray=t.ToolRunner=void 0;const s=a(r(2037));const u=a(r(2361));const l=a(r(2081));const d=a(r(1017));const f=a(r(7436));const c=a(r(1962));const p=r(9512);const h=process.platform==="win32";class ToolRunner extends u.EventEmitter{constructor(e,t,r){super();if(!e){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=e;this.args=t||[];this.options=r||{}}_debug(e){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(e)}}_getCommandString(e,t){const r=this._getSpawnFileName();const n=this._getSpawnArgs(e);let i=t?"":"[command]";if(h){if(this._isCmdFile()){i+=r;for(const e of n){i+=` ${e}`}}else if(e.windowsVerbatimArguments){i+=`"${r}"`;for(const e of n){i+=` ${e}`}}else{i+=this._windowsQuoteCmdArg(r);for(const e of n){i+=` ${this._windowsQuoteCmdArg(e)}`}}}else{i+=r;for(const e of n){i+=` ${e}`}}return i}_processLineBuffer(e,t,r){try{let n=t+e.toString();let i=n.indexOf(s.EOL);while(i>-1){const e=n.substring(0,i);r(e);n=n.substring(i+s.EOL.length);i=n.indexOf(s.EOL)}return n}catch(e){this._debug(`error processing line. Failed with error ${e}`);return""}}_getSpawnFileName(){if(h){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(e){if(h){if(this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const r of this.args){t+=" ";t+=e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r)}t+='"';return[t]}}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile()){return this._uvQuoteCmdArg(e)}if(!e){return'""'}const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let r=false;for(const n of e){if(t.some((e=>e===n))){r=true;break}}if(!r){return e}let n='"';let i=true;for(let t=e.length;t>0;t--){n+=e[t-1];if(i&&e[t-1]==="\\"){n+="\\"}else if(e[t-1]==='"'){i=true;n+='"'}else{i=false}}n+='"';return n.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e){return'""'}if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"')){return e}if(!e.includes('"')&&!e.includes("\\")){return`"${e}"`}let t='"';let r=true;for(let n=e.length;n>0;n--){t+=e[n-1];if(r&&e[n-1]==="\\"){t+="\\"}else if(e[n-1]==='"'){r=true;t+="\\"}else{r=false}}t+='"';return t.split("").reverse().join("")}_cloneExecOptions(e){e=e||{};const t={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||false,windowsVerbatimArguments:e.windowsVerbatimArguments||false,failOnStdErr:e.failOnStdErr||false,ignoreReturnCode:e.ignoreReturnCode||false,delay:e.delay||1e4};t.outStream=e.outStream||process.stdout;t.errStream=e.errStream||process.stderr;return t}_getSpawnOptions(e,t){e=e||{};const r={};r.cwd=e.cwd;r.env=e.env;r["windowsVerbatimArguments"]=e.windowsVerbatimArguments||this._isCmdFile();if(e.windowsVerbatimArguments){r.argv0=`"${t}"`}return r}exec(){return o(this,void 0,void 0,(function*(){if(!c.isRooted(this.toolPath)&&(this.toolPath.includes("/")||h&&this.toolPath.includes("\\"))){this.toolPath=d.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield f.which(this.toolPath,true);return new Promise(((e,t)=>o(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const e of this.args){this._debug(` ${e}`)}const r=this._cloneExecOptions(this.options);if(!r.silent&&r.outStream){r.outStream.write(this._getCommandString(r)+s.EOL)}const n=new ExecState(r,this.toolPath);n.on("debug",(e=>{this._debug(e)}));if(this.options.cwd&&!(yield c.exists(this.options.cwd))){return t(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const i=this._getSpawnFileName();const a=l.spawn(i,this._getSpawnArgs(r),this._getSpawnOptions(this.options,i));let o="";if(a.stdout){a.stdout.on("data",(e=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(e)}if(!r.silent&&r.outStream){r.outStream.write(e)}o=this._processLineBuffer(e,o,(e=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(e)}}))}))}let u="";if(a.stderr){a.stderr.on("data",(e=>{n.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(e)}if(!r.silent&&r.errStream&&r.outStream){const t=r.failOnStdErr?r.errStream:r.outStream;t.write(e)}u=this._processLineBuffer(e,u,(e=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(e)}}))}))}a.on("error",(e=>{n.processError=e.message;n.processExited=true;n.processClosed=true;n.CheckComplete()}));a.on("exit",(e=>{n.processExitCode=e;n.processExited=true;this._debug(`Exit code ${e} received from tool '${this.toolPath}'`);n.CheckComplete()}));a.on("close",(e=>{n.processExitCode=e;n.processExited=true;n.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);n.CheckComplete()}));n.on("done",((r,n)=>{if(o.length>0){this.emit("stdline",o)}if(u.length>0){this.emit("errline",u)}a.removeAllListeners();if(r){t(r)}else{e(n)}}));if(this.options.input){if(!a.stdin){throw new Error("child process missing stdin")}a.stdin.end(this.options.input)}}))))}))}}t.ToolRunner=ToolRunner;function argStringToArray(e){const t=[];let r=false;let n=false;let i="";function append(e){if(n&&e!=='"'){i+="\\"}i+=e;n=false}for(let a=0;a0){t.push(i);i=""}continue}append(o)}if(i.length>0){t.push(i.trim())}return t}t.argStringToArray=argStringToArray;class ExecState extends u.EventEmitter{constructor(e,t){super();this.processClosed=false;this.processError="";this.processExitCode=0;this.processExited=false;this.processStderr=false;this.delay=1e4;this.done=false;this.timeout=null;if(!t){throw new Error("toolPath must not be empty")}this.options=e;this.toolPath=t;if(e.delay){this.delay=e.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=p.setTimeout(ExecState.HandleTimeout,this.delay,this)}}_debug(e){this.emit("debug",e)}_setResult(){let e;if(this.processExited){if(this.processError){e=new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`)}else if(this.processExitCode!==0&&!this.options.ignoreReturnCode){e=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){e=new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)}}if(this.timeout){clearTimeout(this.timeout);this.timeout=null}this.done=true;this.emit("done",e,this.processExitCode)}static HandleTimeout(e){if(e.done){return}if(!e.processClosed&&e.processExited){const t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t)}e._setResult()}}},3702:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});class BasicCredentialHandler{constructor(e,t){this.username=e;this.password=t}prepareRequest(e){e.headers["Authorization"]="Basic "+Buffer.from(this.username+":"+this.password).toString("base64")}canHandleAuthentication(e){return false}handleAuthentication(e,t,r){return null}}t.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(e){this.token=e}prepareRequest(e){e.headers["Authorization"]="Bearer "+this.token}canHandleAuthentication(e){return false}handleAuthentication(e,t,r){return null}}t.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(e){this.token=e}prepareRequest(e){e.headers["Authorization"]="Basic "+Buffer.from("PAT:"+this.token).toString("base64")}canHandleAuthentication(e){return false}handleAuthentication(e,t,r){return null}}t.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},9925:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(3685);const i=r(5687);const a=r(6443);let o;var s;(function(e){e[e["OK"]=200]="OK";e[e["MultipleChoices"]=300]="MultipleChoices";e[e["MovedPermanently"]=301]="MovedPermanently";e[e["ResourceMoved"]=302]="ResourceMoved";e[e["SeeOther"]=303]="SeeOther";e[e["NotModified"]=304]="NotModified";e[e["UseProxy"]=305]="UseProxy";e[e["SwitchProxy"]=306]="SwitchProxy";e[e["TemporaryRedirect"]=307]="TemporaryRedirect";e[e["PermanentRedirect"]=308]="PermanentRedirect";e[e["BadRequest"]=400]="BadRequest";e[e["Unauthorized"]=401]="Unauthorized";e[e["PaymentRequired"]=402]="PaymentRequired";e[e["Forbidden"]=403]="Forbidden";e[e["NotFound"]=404]="NotFound";e[e["MethodNotAllowed"]=405]="MethodNotAllowed";e[e["NotAcceptable"]=406]="NotAcceptable";e[e["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";e[e["RequestTimeout"]=408]="RequestTimeout";e[e["Conflict"]=409]="Conflict";e[e["Gone"]=410]="Gone";e[e["TooManyRequests"]=429]="TooManyRequests";e[e["InternalServerError"]=500]="InternalServerError";e[e["NotImplemented"]=501]="NotImplemented";e[e["BadGateway"]=502]="BadGateway";e[e["ServiceUnavailable"]=503]="ServiceUnavailable";e[e["GatewayTimeout"]=504]="GatewayTimeout"})(s=t.HttpCodes||(t.HttpCodes={}));var u;(function(e){e["Accept"]="accept";e["ContentType"]="content-type"})(u=t.Headers||(t.Headers={}));var l;(function(e){e["ApplicationJson"]="application/json"})(l=t.MediaTypes||(t.MediaTypes={}));function getProxyUrl(e){let t=a.getProxyUrl(new URL(e));return t?t.href:""}t.getProxyUrl=getProxyUrl;const d=[s.MovedPermanently,s.ResourceMoved,s.SeeOther,s.TemporaryRedirect,s.PermanentRedirect];const f=[s.BadGateway,s.ServiceUnavailable,s.GatewayTimeout];const c=["OPTIONS","GET","DELETE","HEAD"];const p=10;const h=5;class HttpClientError extends Error{constructor(e,t){super(e);this.name="HttpClientError";this.statusCode=t;Object.setPrototypeOf(this,HttpClientError.prototype)}}t.HttpClientError=HttpClientError;class HttpClientResponse{constructor(e){this.message=e}readBody(){return new Promise((async(e,t)=>{let r=Buffer.alloc(0);this.message.on("data",(e=>{r=Buffer.concat([r,e])}));this.message.on("end",(()=>{e(r.toString())}))}))}}t.HttpClientResponse=HttpClientResponse;function isHttps(e){let t=new URL(e);return t.protocol==="https:"}t.isHttps=isHttps;class HttpClient{constructor(e,t,r){this._ignoreSslError=false;this._allowRedirects=true;this._allowRedirectDowngrade=false;this._maxRedirects=50;this._allowRetries=false;this._maxRetries=1;this._keepAlive=false;this._disposed=false;this.userAgent=e;this.handlers=t||[];this.requestOptions=r;if(r){if(r.ignoreSslError!=null){this._ignoreSslError=r.ignoreSslError}this._socketTimeout=r.socketTimeout;if(r.allowRedirects!=null){this._allowRedirects=r.allowRedirects}if(r.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=r.allowRedirectDowngrade}if(r.maxRedirects!=null){this._maxRedirects=Math.max(r.maxRedirects,0)}if(r.keepAlive!=null){this._keepAlive=r.keepAlive}if(r.allowRetries!=null){this._allowRetries=r.allowRetries}if(r.maxRetries!=null){this._maxRetries=r.maxRetries}}}options(e,t){return this.request("OPTIONS",e,null,t||{})}get(e,t){return this.request("GET",e,null,t||{})}del(e,t){return this.request("DELETE",e,null,t||{})}post(e,t,r){return this.request("POST",e,t,r||{})}patch(e,t,r){return this.request("PATCH",e,t,r||{})}put(e,t,r){return this.request("PUT",e,t,r||{})}head(e,t){return this.request("HEAD",e,null,t||{})}sendStream(e,t,r,n){return this.request(e,t,r,n)}async getJson(e,t={}){t[u.Accept]=this._getExistingOrDefaultHeader(t,u.Accept,l.ApplicationJson);let r=await this.get(e,t);return this._processResponse(r,this.requestOptions)}async postJson(e,t,r={}){let n=JSON.stringify(t,null,2);r[u.Accept]=this._getExistingOrDefaultHeader(r,u.Accept,l.ApplicationJson);r[u.ContentType]=this._getExistingOrDefaultHeader(r,u.ContentType,l.ApplicationJson);let i=await this.post(e,n,r);return this._processResponse(i,this.requestOptions)}async putJson(e,t,r={}){let n=JSON.stringify(t,null,2);r[u.Accept]=this._getExistingOrDefaultHeader(r,u.Accept,l.ApplicationJson);r[u.ContentType]=this._getExistingOrDefaultHeader(r,u.ContentType,l.ApplicationJson);let i=await this.put(e,n,r);return this._processResponse(i,this.requestOptions)}async patchJson(e,t,r={}){let n=JSON.stringify(t,null,2);r[u.Accept]=this._getExistingOrDefaultHeader(r,u.Accept,l.ApplicationJson);r[u.ContentType]=this._getExistingOrDefaultHeader(r,u.ContentType,l.ApplicationJson);let i=await this.patch(e,n,r);return this._processResponse(i,this.requestOptions)}async request(e,t,r,n){if(this._disposed){throw new Error("Client has already been disposed.")}let i=new URL(t);let a=this._prepareRequest(e,i,n);let o=this._allowRetries&&c.indexOf(e)!=-1?this._maxRetries+1:1;let u=0;let l;while(u0){const o=l.message.headers["location"];if(!o){break}let s=new URL(o);if(i.protocol=="https:"&&i.protocol!=s.protocol&&!this._allowRedirectDowngrade){throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.")}await l.readBody();if(s.hostname!==i.hostname){for(let e in n){if(e.toLowerCase()==="authorization"){delete n[e]}}}a=this._prepareRequest(e,s,n);l=await this.requestRaw(a,r);t--}if(f.indexOf(l.message.statusCode)==-1){return l}u+=1;if(u{let callbackForResult=function(e,t){if(e){n(e)}r(t)};this.requestRawWithCallback(e,t,callbackForResult)}))}requestRawWithCallback(e,t,r){let n;if(typeof t==="string"){e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8")}let i=false;let handleResult=(e,t)=>{if(!i){i=true;r(e,t)}};let a=e.httpModule.request(e.options,(e=>{let t=new HttpClientResponse(e);handleResult(null,t)}));a.on("socket",(e=>{n=e}));a.setTimeout(this._socketTimeout||3*6e4,(()=>{if(n){n.end()}handleResult(new Error("Request timeout: "+e.options.path),null)}));a.on("error",(function(e){handleResult(e,null)}));if(t&&typeof t==="string"){a.write(t,"utf8")}if(t&&typeof t!=="string"){t.on("close",(function(){a.end()}));t.pipe(a)}else{a.end()}}getAgent(e){let t=new URL(e);return this._getAgent(t)}_prepareRequest(e,t,r){const a={};a.parsedUrl=t;const o=a.parsedUrl.protocol==="https:";a.httpModule=o?i:n;const s=o?443:80;a.options={};a.options.host=a.parsedUrl.hostname;a.options.port=a.parsedUrl.port?parseInt(a.parsedUrl.port):s;a.options.path=(a.parsedUrl.pathname||"")+(a.parsedUrl.search||"");a.options.method=e;a.options.headers=this._mergeHeaders(r);if(this.userAgent!=null){a.options.headers["user-agent"]=this.userAgent}a.options.agent=this._getAgent(a.parsedUrl);if(this.handlers){this.handlers.forEach((e=>{e.prepareRequest(a.options)}))}return a}_mergeHeaders(e){const lowercaseKeys=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{});if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(e))}return lowercaseKeys(e||{})}_getExistingOrDefaultHeader(e,t,r){const lowercaseKeys=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{});let n;if(this.requestOptions&&this.requestOptions.headers){n=lowercaseKeys(this.requestOptions.headers)[t]}return e[t]||n||r}_getAgent(e){let t;let s=a.getProxyUrl(e);let u=s&&s.hostname;if(this._keepAlive&&u){t=this._proxyAgent}if(this._keepAlive&&!u){t=this._agent}if(!!t){return t}const l=e.protocol==="https:";let d=100;if(!!this.requestOptions){d=this.requestOptions.maxSockets||n.globalAgent.maxSockets}if(u){if(!o){o=r(4294)}const e={maxSockets:d,keepAlive:this._keepAlive,proxy:{...(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`},host:s.hostname,port:s.port}};let n;const i=s.protocol==="https:";if(l){n=i?o.httpsOverHttps:o.httpsOverHttp}else{n=i?o.httpOverHttps:o.httpOverHttp}t=n(e);this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:d};t=l?new i.Agent(e):new n.Agent(e);this._agent=t}if(!t){t=l?i.globalAgent:n.globalAgent}if(l&&this._ignoreSslError){t.options=Object.assign(t.options||{},{rejectUnauthorized:false})}return t}_performExponentialBackoff(e){e=Math.min(p,e);const t=h*Math.pow(2,e);return new Promise((e=>setTimeout((()=>e()),t)))}static dateTimeDeserializer(e,t){if(typeof t==="string"){let e=new Date(t);if(!isNaN(e.valueOf())){return e}}return t}async _processResponse(e,t){return new Promise((async(r,n)=>{const i=e.message.statusCode;const a={statusCode:i,result:null,headers:{}};if(i==s.NotFound){r(a)}let o;let u;try{u=await e.readBody();if(u&&u.length>0){if(t&&t.deserializeDates){o=JSON.parse(u,HttpClient.dateTimeDeserializer)}else{o=JSON.parse(u)}a.result=o}a.headers=e.message.headers}catch(e){}if(i>299){let e;if(o&&o.message){e=o.message}else if(u&&u.length>0){e=u}else{e="Failed request: ("+i+")"}let t=new HttpClientError(e,i);t.result=a.result;n(t)}else{r(a)}}))}}t.HttpClient=HttpClient},6443:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});function getProxyUrl(e){let t=e.protocol==="https:";let r;if(checkBypass(e)){return r}let n;if(t){n=process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{n=process.env["http_proxy"]||process.env["HTTP_PROXY"]}if(n){r=new URL(n)}return r}t.getProxyUrl=getProxyUrl;function checkBypass(e){if(!e.hostname){return false}let t=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!t){return false}let r;if(e.port){r=Number(e.port)}else if(e.protocol==="http:"){r=80}else if(e.protocol==="https:"){r=443}let n=[e.hostname.toUpperCase()];if(typeof r==="number"){n.push(`${n[0]}:${r}`)}for(let e of t.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e))){if(n.some((t=>t===e))){return true}}return false}t.checkBypass=checkBypass},1962:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};var o=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function fulfilled(e){try{step(n.next(e))}catch(e){i(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){i(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};var s;Object.defineProperty(t,"__esModule",{value:true});t.getCmdPath=t.tryGetExecutablePath=t.isRooted=t.isDirectory=t.exists=t.IS_WINDOWS=t.unlink=t.symlink=t.stat=t.rmdir=t.rename=t.readlink=t.readdir=t.mkdir=t.lstat=t.copyFile=t.chmod=void 0;const u=a(r(7147));const l=a(r(1017));s=u.promises,t.chmod=s.chmod,t.copyFile=s.copyFile,t.lstat=s.lstat,t.mkdir=s.mkdir,t.readdir=s.readdir,t.readlink=s.readlink,t.rename=s.rename,t.rmdir=s.rmdir,t.stat=s.stat,t.symlink=s.symlink,t.unlink=s.unlink;t.IS_WINDOWS=process.platform==="win32";function exists(e){return o(this,void 0,void 0,(function*(){try{yield t.stat(e)}catch(e){if(e.code==="ENOENT"){return false}throw e}return true}))}t.exists=exists;function isDirectory(e,r=false){return o(this,void 0,void 0,(function*(){const n=r?yield t.stat(e):yield t.lstat(e);return n.isDirectory()}))}t.isDirectory=isDirectory;function isRooted(e){e=normalizeSeparators(e);if(!e){throw new Error('isRooted() parameter "p" cannot be empty')}if(t.IS_WINDOWS){return e.startsWith("\\")||/^[A-Z]:/i.test(e)}return e.startsWith("/")}t.isRooted=isRooted;function tryGetExecutablePath(e,r){return o(this,void 0,void 0,(function*(){let n=undefined;try{n=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(n&&n.isFile()){if(t.IS_WINDOWS){const t=l.extname(e).toUpperCase();if(r.some((e=>e.toUpperCase()===t))){return e}}else{if(isUnixExecutable(n)){return e}}}const i=e;for(const a of r){e=i+a;n=undefined;try{n=yield t.stat(e)}catch(t){if(t.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}}if(n&&n.isFile()){if(t.IS_WINDOWS){try{const r=l.dirname(e);const n=l.basename(e).toUpperCase();for(const i of yield t.readdir(r)){if(n===i.toUpperCase()){e=l.join(r,i);break}}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else{if(isUnixExecutable(n)){return e}}}}return""}))}t.tryGetExecutablePath=tryGetExecutablePath;function normalizeSeparators(e){e=e||"";if(t.IS_WINDOWS){e=e.replace(/\//g,"\\");return e.replace(/\\\\+/g,"\\")}return e.replace(/\/\/+/g,"/")}function isUnixExecutable(e){return(e.mode&1)>0||(e.mode&8)>0&&e.gid===process.getgid()||(e.mode&64)>0&&e.uid===process.getuid()}function getCmdPath(){var e;return(e=process.env["COMSPEC"])!==null&&e!==void 0?e:`cmd.exe`}t.getCmdPath=getCmdPath},7436:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:true,value:t})}:function(e,t){e["default"]=t});var a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)if(r!=="default"&&Object.hasOwnProperty.call(e,r))n(t,e,r);i(t,e);return t};var o=this&&this.__awaiter||function(e,t,r,n){function adopt(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,i){function fulfilled(e){try{step(n.next(e))}catch(e){i(e)}}function rejected(e){try{step(n["throw"](e))}catch(e){i(e)}}function step(e){e.done?r(e.value):adopt(e.value).then(fulfilled,rejected)}step((n=n.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.findInPath=t.which=t.mkdirP=t.rmRF=t.mv=t.cp=void 0;const s=r(9491);const u=a(r(2081));const l=a(r(1017));const d=r(3837);const f=a(r(1962));const c=d.promisify(u.exec);const p=d.promisify(u.execFile);function cp(e,t,r={}){return o(this,void 0,void 0,(function*(){const{force:n,recursive:i,copySourceDirectory:a}=readCopyOptions(r);const o=(yield f.exists(t))?yield f.stat(t):null;if(o&&o.isFile()&&!n){return}const s=o&&o.isDirectory()&&a?l.join(t,l.basename(e)):t;if(!(yield f.exists(e))){throw new Error(`no such file or directory: ${e}`)}const u=yield f.stat(e);if(u.isDirectory()){if(!i){throw new Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(e,s,0,n)}}else{if(l.relative(e,s)===""){throw new Error(`'${s}' and '${e}' are the same file`)}yield copyFile(e,s,n)}}))}t.cp=cp;function mv(e,t,r={}){return o(this,void 0,void 0,(function*(){if(yield f.exists(t)){let n=true;if(yield f.isDirectory(t)){t=l.join(t,l.basename(e));n=yield f.exists(t)}if(n){if(r.force==null||r.force){yield rmRF(t)}else{throw new Error("Destination already exists")}}}yield mkdirP(l.dirname(t));yield f.rename(e,t)}))}t.mv=mv;function rmRF(e){return o(this,void 0,void 0,(function*(){if(f.IS_WINDOWS){if(/[*"<>|]/.test(e)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}try{const t=f.getCmdPath();if(yield f.isDirectory(e,true)){yield c(`${t} /s /c "rd /s /q "%inputPath%""`,{env:{inputPath:e}})}else{yield c(`${t} /s /c "del /f /a "%inputPath%""`,{env:{inputPath:e}})}}catch(e){if(e.code!=="ENOENT")throw e}try{yield f.unlink(e)}catch(e){if(e.code!=="ENOENT")throw e}}else{let t=false;try{t=yield f.isDirectory(e)}catch(e){if(e.code!=="ENOENT")throw e;return}if(t){yield p(`rm`,[`-rf`,`${e}`])}else{yield f.unlink(e)}}}))}t.rmRF=rmRF;function mkdirP(e){return o(this,void 0,void 0,(function*(){s.ok(e,"a path argument must be provided");yield f.mkdir(e,{recursive:true})}))}t.mkdirP=mkdirP;function which(e,t){return o(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}if(t){const t=yield which(e,false);if(!t){if(f.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`)}else{throw new Error(`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`)}}return t}const r=yield findInPath(e);if(r&&r.length>0){return r[0]}return""}))}t.which=which;function findInPath(e){return o(this,void 0,void 0,(function*(){if(!e){throw new Error("parameter 'tool' is required")}const t=[];if(f.IS_WINDOWS&&process.env["PATHEXT"]){for(const e of process.env["PATHEXT"].split(l.delimiter)){if(e){t.push(e)}}}if(f.isRooted(e)){const r=yield f.tryGetExecutablePath(e,t);if(r){return[r]}return[]}if(e.includes(l.sep)){return[]}const r=[];if(process.env.PATH){for(const e of process.env.PATH.split(l.delimiter)){if(e){r.push(e)}}}const n=[];for(const i of r){const r=yield f.tryGetExecutablePath(l.join(i,e),t);if(r){n.push(r)}}return n}))}t.findInPath=findInPath;function readCopyOptions(e){const t=e.force==null?true:e.force;const r=Boolean(e.recursive);const n=e.copySourceDirectory==null?true:Boolean(e.copySourceDirectory);return{force:t,recursive:r,copySourceDirectory:n}}function cpDirRecursive(e,t,r,n){return o(this,void 0,void 0,(function*(){if(r>=255)return;r++;yield mkdirP(t);const i=yield f.readdir(e);for(const a of i){const i=`${e}/${a}`;const o=`${t}/${a}`;const s=yield f.lstat(i);if(s.isDirectory()){yield cpDirRecursive(i,o,r,n)}else{yield copyFile(i,o,n)}}yield f.chmod(t,(yield f.stat(e)).mode)}))}function copyFile(e,t,r){return o(this,void 0,void 0,(function*(){if((yield f.lstat(e)).isSymbolicLink()){try{yield f.lstat(t);yield f.unlink(t)}catch(e){if(e.code==="EPERM"){yield f.chmod(t,"0666");yield f.unlink(t)}}const r=yield f.readlink(e);yield f.symlink(r,t,f.IS_WINDOWS?"junction":null)}else if(!(yield f.exists(t))||r){yield f.copyFile(e,t)}}))}},6045:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getFromContainer=t.useContainer=void 0;const r=new class{constructor(){this.instances=[]}get(e){let t=this.instances.find((t=>t.type===e));if(!t){t={type:e,object:new e};this.instances.push(t)}return t.object}};let n;let i;function useContainer(e,t){n=e;i=t}t.useContainer=useContainer;function getFromContainer(e){if(n){try{const t=n.get(e);if(t)return t;if(!i||!i.fallback)return t}catch(e){if(!i||!i.fallbackOnErrors)throw e}}return r.get(e)}t.getFromContainer=getFromContainer},6744:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isValidationOptions=void 0;function isValidationOptions(e){if(!e){return false}return"each"in e||"message"in e||"groups"in e||"always"in e||"context"in e}t.isValidationOptions=isValidationOptions},2217:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArrayContains=t.arrayContains=t.ARRAY_CONTAINS=void 0;const n=r(8081);t.ARRAY_CONTAINS="arrayContains";function arrayContains(e,t){if(!Array.isArray(e))return false;return t.every((t=>e.indexOf(t)!==-1))}t.arrayContains=arrayContains;function ArrayContains(e,r){return(0,n.ValidateBy)({name:t.ARRAY_CONTAINS,constraints:[e],validator:{validate:(e,t)=>arrayContains(e,t.constraints[0]),defaultMessage:(0,n.buildMessage)((e=>e+"$property must contain $constraint1 values"),r)}},r)}t.ArrayContains=ArrayContains},1172:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArrayMaxSize=t.arrayMaxSize=t.ARRAY_MAX_SIZE=void 0;const n=r(8081);t.ARRAY_MAX_SIZE="arrayMaxSize";function arrayMaxSize(e,t){return Array.isArray(e)&&e.length<=t}t.arrayMaxSize=arrayMaxSize;function ArrayMaxSize(e,r){return(0,n.ValidateBy)({name:t.ARRAY_MAX_SIZE,constraints:[e],validator:{validate:(e,t)=>arrayMaxSize(e,t.constraints[0]),defaultMessage:(0,n.buildMessage)((e=>e+"$property must contain not more than $constraint1 elements"),r)}},r)}t.ArrayMaxSize=ArrayMaxSize},5995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArrayMinSize=t.arrayMinSize=t.ARRAY_MIN_SIZE=void 0;const n=r(8081);t.ARRAY_MIN_SIZE="arrayMinSize";function arrayMinSize(e,t){return Array.isArray(e)&&e.length>=t}t.arrayMinSize=arrayMinSize;function ArrayMinSize(e,r){return(0,n.ValidateBy)({name:t.ARRAY_MIN_SIZE,constraints:[e],validator:{validate:(e,t)=>arrayMinSize(e,t.constraints[0]),defaultMessage:(0,n.buildMessage)((e=>e+"$property must contain at least $constraint1 elements"),r)}},r)}t.ArrayMinSize=ArrayMinSize},6304:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArrayNotContains=t.arrayNotContains=t.ARRAY_NOT_CONTAINS=void 0;const n=r(8081);t.ARRAY_NOT_CONTAINS="arrayNotContains";function arrayNotContains(e,t){if(!Array.isArray(e))return false;return t.every((t=>e.indexOf(t)===-1))}t.arrayNotContains=arrayNotContains;function ArrayNotContains(e,r){return(0,n.ValidateBy)({name:t.ARRAY_NOT_CONTAINS,constraints:[e],validator:{validate:(e,t)=>arrayNotContains(e,t.constraints[0]),defaultMessage:(0,n.buildMessage)((e=>e+"$property should not contain $constraint1 values"),r)}},r)}t.ArrayNotContains=ArrayNotContains},5585:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArrayNotEmpty=t.arrayNotEmpty=t.ARRAY_NOT_EMPTY=void 0;const n=r(8081);t.ARRAY_NOT_EMPTY="arrayNotEmpty";function arrayNotEmpty(e){return Array.isArray(e)&&e.length>0}t.arrayNotEmpty=arrayNotEmpty;function ArrayNotEmpty(e){return(0,n.ValidateBy)({name:t.ARRAY_NOT_EMPTY,validator:{validate:(e,t)=>arrayNotEmpty(e),defaultMessage:(0,n.buildMessage)((e=>e+"$property should not be empty"),e)}},e)}t.ArrayNotEmpty=ArrayNotEmpty},6399:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ArrayUnique=t.arrayUnique=t.ARRAY_UNIQUE=void 0;const n=r(8081);t.ARRAY_UNIQUE="arrayUnique";function arrayUnique(e,t){if(!Array.isArray(e))return false;if(t){e=e.map((e=>e!=null?t(e):e))}const r=e.filter(((e,t,r)=>r.indexOf(e)===t));return e.length===r.length}t.arrayUnique=arrayUnique;function ArrayUnique(e,r){const i=typeof e==="function"?e:undefined;const a=typeof e!=="function"?e:r;return(0,n.ValidateBy)({name:t.ARRAY_UNIQUE,validator:{validate:(e,t)=>arrayUnique(e,i),defaultMessage:(0,n.buildMessage)((e=>e+"All $property's elements must be unique"),a)}},a)}t.ArrayUnique=ArrayUnique},7122:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Allow=void 0;const n=r(6620);const i=r(6176);const a=r(2170);function Allow(e){return function(t,r){const o={type:n.ValidationTypes.WHITELIST,target:t.constructor,propertyName:r,validationOptions:e};(0,a.getMetadataStorage)().addValidationMetadata(new i.ValidationMetadata(o))}}t.Allow=Allow},2210:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Equals=t.equals=t.EQUALS=void 0;const n=r(8081);t.EQUALS="equals";function equals(e,t){return e===t}t.equals=equals;function Equals(e,r){return(0,n.ValidateBy)({name:t.EQUALS,constraints:[e],validator:{validate:(e,t)=>equals(e,t.constraints[0]),defaultMessage:(0,n.buildMessage)((e=>e+"$property must be equal to $constraint1"),r)}},r)}t.Equals=Equals},4452:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsDefined=t.isDefined=t.IS_DEFINED=void 0;const n=r(8081);const i=r(6620);t.IS_DEFINED=i.ValidationTypes.IS_DEFINED;function isDefined(e){return e!==undefined&&e!==null}t.isDefined=isDefined;function IsDefined(e){return(0,n.ValidateBy)({name:t.IS_DEFINED,validator:{validate:e=>isDefined(e),defaultMessage:(0,n.buildMessage)((e=>e+"$property should not be null or undefined"),e)}},e)}t.IsDefined=IsDefined},8328:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsEmpty=t.isEmpty=t.IS_EMPTY=void 0;const n=r(8081);t.IS_EMPTY="isEmpty";function isEmpty(e){return e===""||e===null||e===undefined}t.isEmpty=isEmpty;function IsEmpty(e){return(0,n.ValidateBy)({name:t.IS_EMPTY,validator:{validate:(e,t)=>isEmpty(e),defaultMessage:(0,n.buildMessage)((e=>e+"$property must be empty"),e)}},e)}t.IsEmpty=IsEmpty},9328:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsIn=t.isIn=t.IS_IN=void 0;const n=r(8081);t.IS_IN="isIn";function isIn(e,t){return!Array.isArray(t)||t.some((t=>t===e))}t.isIn=isIn;function IsIn(e,r){return(0,n.ValidateBy)({name:t.IS_IN,constraints:[e],validator:{validate:(e,t)=>isIn(e,t.constraints[0]),defaultMessage:(0,n.buildMessage)((e=>e+"$property must be one of the following values: $constraint1"),r)}},r)}t.IsIn=IsIn},9694:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsLatLong=t.isLatLong=t.IS_LATLONG=void 0;const i=r(8081);const a=n(r(1607));t.IS_LATLONG="isLatLong";function isLatLong(e){return typeof e==="string"&&(0,a.default)(e)}t.isLatLong=isLatLong;function IsLatLong(e){return(0,i.ValidateBy)({name:t.IS_LATLONG,validator:{validate:(e,t)=>isLatLong(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a latitude,longitude string"),e)}},e)}t.IsLatLong=IsLatLong},3133:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsLatitude=t.isLatitude=t.IS_LATITUDE=void 0;const n=r(8081);const i=r(9694);t.IS_LATITUDE="isLatitude";function isLatitude(e){return(typeof e==="number"||typeof e==="string")&&(0,i.isLatLong)(`${e},0`)}t.isLatitude=isLatitude;function IsLatitude(e){return(0,n.ValidateBy)({name:t.IS_LATITUDE,validator:{validate:(e,t)=>isLatitude(e),defaultMessage:(0,n.buildMessage)((e=>e+"$property must be a latitude string or number"),e)}},e)}t.IsLatitude=IsLatitude},883:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsLongitude=t.isLongitude=t.IS_LONGITUDE=void 0;const n=r(8081);const i=r(9694);t.IS_LONGITUDE="isLongitude";function isLongitude(e){return(typeof e==="number"||typeof e==="string")&&(0,i.isLatLong)(`0,${e}`)}t.isLongitude=isLongitude;function IsLongitude(e){return(0,n.ValidateBy)({name:t.IS_LONGITUDE,validator:{validate:(e,t)=>isLongitude(e),defaultMessage:(0,n.buildMessage)((e=>e+"$property must be a longitude string or number"),e)}},e)}t.IsLongitude=IsLongitude},4233:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsNotEmpty=t.isNotEmpty=t.IS_NOT_EMPTY=void 0;const n=r(8081);t.IS_NOT_EMPTY="isNotEmpty";function isNotEmpty(e){return e!==""&&e!==null&&e!==undefined}t.isNotEmpty=isNotEmpty;function IsNotEmpty(e){return(0,n.ValidateBy)({name:t.IS_NOT_EMPTY,validator:{validate:(e,t)=>isNotEmpty(e),defaultMessage:(0,n.buildMessage)((e=>e+"$property should not be empty"),e)}},e)}t.IsNotEmpty=IsNotEmpty},460:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsNotIn=t.isNotIn=t.IS_NOT_IN=void 0;const n=r(8081);t.IS_NOT_IN="isNotIn";function isNotIn(e,t){return!Array.isArray(t)||!t.some((t=>t===e))}t.isNotIn=isNotIn;function IsNotIn(e,r){return(0,n.ValidateBy)({name:t.IS_NOT_IN,constraints:[e],validator:{validate:(e,t)=>isNotIn(e,t.constraints[0]),defaultMessage:(0,n.buildMessage)((e=>e+"$property should not be one of the following values: $constraint1"),r)}},r)}t.IsNotIn=IsNotIn},3979:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsOptional=void 0;const n=r(6620);const i=r(6176);const a=r(2170);function IsOptional(e){return function(t,r){const o={type:n.ValidationTypes.CONDITIONAL_VALIDATION,target:t.constructor,propertyName:r,constraints:[(e,t)=>e[r]!==null&&e[r]!==undefined],validationOptions:e};(0,a.getMetadataStorage)().addValidationMetadata(new i.ValidationMetadata(o))}}t.IsOptional=IsOptional},8643:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.NotEquals=t.notEquals=t.NOT_EQUALS=void 0;const n=r(8081);t.NOT_EQUALS="notEquals";function notEquals(e,t){return e!==t}t.notEquals=notEquals;function NotEquals(e,r){return(0,n.ValidateBy)({name:t.NOT_EQUALS,constraints:[e],validator:{validate:(e,t)=>notEquals(e,t.constraints[0]),defaultMessage:(0,n.buildMessage)((e=>e+"$property should not be equal to $constraint1"),r)}},r)}t.NotEquals=NotEquals},8315:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Validate=t.ValidatorConstraint=void 0;const n=r(6176);const i=r(2170);const a=r(6620);const o=r(3319);function ValidatorConstraint(e){return function(t){const r=e&&e.async;let n=e&&e.name?e.name:"";if(!n){n=t.name;if(!n)n=n.replace(/\.?([A-Z]+)/g,((e,t)=>"_"+t.toLowerCase())).replace(/^_/,"")}const a=new o.ConstraintMetadata(t,n,r);(0,i.getMetadataStorage)().addConstraintMetadata(a)}}t.ValidatorConstraint=ValidatorConstraint;function Validate(e,t,r){return function(o,s){const u={type:a.ValidationTypes.CUSTOM_VALIDATION,target:o.constructor,propertyName:s,constraintCls:e,constraints:Array.isArray(t)?t:undefined,validationOptions:!Array.isArray(t)?t:r};(0,i.getMetadataStorage)().addValidationMetadata(new n.ValidationMetadata(u))}}t.Validate=Validate},8081:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ValidateBy=t.buildMessage=void 0;const n=r(2847);function buildMessage(e,t){return r=>{const n=t&&t.each?"each value in ":"";return e(n,r)}}t.buildMessage=buildMessage;function ValidateBy(e,t){return function(r,i){(0,n.registerDecorator)({name:e.name,target:r.constructor,propertyName:i,options:t,constraints:e.constraints,validator:e.validator})}}t.ValidateBy=ValidateBy},7140:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ValidateIf=void 0;const n=r(6620);const i=r(6176);const a=r(2170);function ValidateIf(e,t){return function(r,o){const s={type:n.ValidationTypes.CONDITIONAL_VALIDATION,target:r.constructor,propertyName:o,constraints:[e],validationOptions:t};(0,a.getMetadataStorage)().addValidationMetadata(new i.ValidationMetadata(s))}}t.ValidateIf=ValidateIf},993:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ValidateNested=void 0;const n=r(6620);const i=r(6176);const a=r(2170);function ValidateNested(e){const t={...e};const r=t.each?"each value in ":"";t.message=t.message||r+"nested property $property must be either object or array";return function(e,r){const o={type:n.ValidationTypes.NESTED_VALIDATION,target:e.constructor,propertyName:r,validationOptions:t};(0,a.getMetadataStorage)().addValidationMetadata(new i.ValidationMetadata(o))}}t.ValidateNested=ValidateNested},1768:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ValidatePromise=void 0;const n=r(6620);const i=r(6176);const a=r(2170);function ValidatePromise(e){return function(t,r){const o={type:n.ValidationTypes.PROMISE_VALIDATION,target:t.constructor,propertyName:r,validationOptions:e};(0,a.getMetadataStorage)().addValidationMetadata(new i.ValidationMetadata(o))}}t.ValidatePromise=ValidatePromise},9433:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.MaxDate=t.maxDate=t.MAX_DATE=void 0;const n=r(8081);t.MAX_DATE="maxDate";function maxDate(e,t){return e instanceof Date&&e.getTime()<=t.getTime()}t.maxDate=maxDate;function MaxDate(e,r){return(0,n.ValidateBy)({name:t.MAX_DATE,constraints:[e],validator:{validate:(e,t)=>maxDate(e,t.constraints[0]),defaultMessage:(0,n.buildMessage)((e=>"maximal allowed date for "+e+"$property is $constraint1"),r)}},r)}t.MaxDate=MaxDate},6234:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.MinDate=t.minDate=t.MIN_DATE=void 0;const n=r(8081);t.MIN_DATE="minDate";function minDate(e,t){return e instanceof Date&&e.getTime()>=t.getTime()}t.minDate=minDate;function MinDate(e,r){return(0,n.ValidateBy)({name:t.MIN_DATE,constraints:[e],validator:{validate:(e,t)=>minDate(e,t.constraints[0]),defaultMessage:(0,n.buildMessage)((e=>"minimal allowed date for "+e+"$property is $constraint1"),r)}},r)}t.MinDate=MinDate},2779:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__exportStar||function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))n(t,e,r)};Object.defineProperty(t,"__esModule",{value:true});i(r(7122),t);i(r(4452),t);i(r(3979),t);i(r(8315),t);i(r(8081),t);i(r(7140),t);i(r(993),t);i(r(1768),t);i(r(9694),t);i(r(3133),t);i(r(883),t);i(r(2210),t);i(r(8643),t);i(r(8328),t);i(r(4233),t);i(r(9328),t);i(r(460),t);i(r(9437),t);i(r(9227),t);i(r(315),t);i(r(5738),t);i(r(3945),t);i(r(6234),t);i(r(9433),t);i(r(6835),t);i(r(3259),t);i(r(1751),t);i(r(2662),t);i(r(1127),t);i(r(4580),t);i(r(9823),t);i(r(9169),t);i(r(6465),t);i(r(7817),t);i(r(1390),t);i(r(9989),t);i(r(3986),t);i(r(9812),t);i(r(3037),t);i(r(7281),t);i(r(7900),t);i(r(8370),t);i(r(8874),t);i(r(2143),t);i(r(5725),t);i(r(5160),t);i(r(456),t);i(r(8410),t);i(r(534),t);i(r(4718),t);i(r(4374),t);i(r(8868),t);i(r(7347),t);i(r(2098),t);i(r(2905),t);i(r(6992),t);i(r(7059),t);i(r(1565),t);i(r(6103),t);i(r(6285),t);i(r(2521),t);i(r(6182),t);i(r(3860),t);i(r(4492),t);i(r(130),t);i(r(8674),t);i(r(2611),t);i(r(4481),t);i(r(1226),t);i(r(766),t);i(r(3294),t);i(r(2046),t);i(r(4239),t);i(r(5936),t);i(r(8544),t);i(r(7809),t);i(r(5654),t);i(r(1560),t);i(r(3287),t);i(r(8504),t);i(r(7146),t);i(r(2670),t);i(r(7238),t);i(r(3643),t);i(r(2207),t);i(r(4653),t);i(r(4756),t);i(r(8265),t);i(r(4560),t);i(r(1159),t);i(r(4912),t);i(r(1709),t);i(r(1278),t);i(r(9218),t);i(r(9690),t);i(r(3875),t);i(r(560),t);i(r(208),t);i(r(2217),t);i(r(6304),t);i(r(5585),t);i(r(5995),t);i(r(1172),t);i(r(6399),t);i(r(5767),t);i(r(2072),t)},9437:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsDivisibleBy=t.isDivisibleBy=t.IS_DIVISIBLE_BY=void 0;const i=r(8081);const a=n(r(4098));t.IS_DIVISIBLE_BY="isDivisibleBy";function isDivisibleBy(e,t){return typeof e==="number"&&typeof t==="number"&&(0,a.default)(String(e),t)}t.isDivisibleBy=isDivisibleBy;function IsDivisibleBy(e,r){return(0,i.ValidateBy)({name:t.IS_DIVISIBLE_BY,constraints:[e],validator:{validate:(e,t)=>isDivisibleBy(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be divisible by $constraint1"),r)}},r)}t.IsDivisibleBy=IsDivisibleBy},315:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsNegative=t.isNegative=t.IS_NEGATIVE=void 0;const n=r(8081);t.IS_NEGATIVE="isNegative";function isNegative(e){return typeof e==="number"&&e<0}t.isNegative=isNegative;function IsNegative(e){return(0,n.ValidateBy)({name:t.IS_NEGATIVE,validator:{validate:(e,t)=>isNegative(e),defaultMessage:(0,n.buildMessage)((e=>e+"$property must be a negative number"),e)}},e)}t.IsNegative=IsNegative},9227:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsPositive=t.isPositive=t.IS_POSITIVE=void 0;const n=r(8081);t.IS_POSITIVE="isPositive";function isPositive(e){return typeof e==="number"&&e>0}t.isPositive=isPositive;function IsPositive(e){return(0,n.ValidateBy)({name:t.IS_POSITIVE,validator:{validate:(e,t)=>isPositive(e),defaultMessage:(0,n.buildMessage)((e=>e+"$property must be a positive number"),e)}},e)}t.IsPositive=IsPositive},5738:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Max=t.max=t.MAX=void 0;const n=r(8081);t.MAX="max";function max(e,t){return typeof e==="number"&&typeof t==="number"&&e<=t}t.max=max;function Max(e,r){return(0,n.ValidateBy)({name:t.MAX,constraints:[e],validator:{validate:(e,t)=>max(e,t.constraints[0]),defaultMessage:(0,n.buildMessage)((e=>e+"$property must not be greater than $constraint1"),r)}},r)}t.Max=Max},3945:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Min=t.min=t.MIN=void 0;const n=r(8081);t.MIN="min";function min(e,t){return typeof e==="number"&&typeof t==="number"&&e>=t}t.min=min;function Min(e,r){return(0,n.ValidateBy)({name:t.MIN,constraints:[e],validator:{validate:(e,t)=>min(e,t.constraints[0]),defaultMessage:(0,n.buildMessage)((e=>e+"$property must not be less than $constraint1"),r)}},r)}t.Min=Min},2072:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsInstance=t.isInstance=t.IS_INSTANCE=void 0;const n=r(8081);t.IS_INSTANCE="isInstance";function isInstance(e,t){return t&&typeof t==="function"&&e instanceof t}t.isInstance=isInstance;function IsInstance(e,r){return(0,n.ValidateBy)({name:t.IS_INSTANCE,constraints:[e],validator:{validate:(e,t)=>isInstance(e,t.constraints[0]),defaultMessage:(0,n.buildMessage)(((e,r)=>{if(r.constraints[0]){return e+`$property must be an instance of ${r.constraints[0].name}`}else{return e+`${t.IS_INSTANCE} decorator expects and object as value, but got falsy value.`}}),r)}},r)}t.IsInstance=IsInstance},5767:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsNotEmptyObject=t.isNotEmptyObject=t.IS_NOT_EMPTY_OBJECT=void 0;const n=r(8081);const i=r(208);t.IS_NOT_EMPTY_OBJECT="isNotEmptyObject";function isNotEmptyObject(e,t){if(!(0,i.isObject)(e)){return false}if((t===null||t===void 0?void 0:t.nullable)===true){return!Object.values(e).every((e=>e===null||e===undefined))}for(const t in e){if(e.hasOwnProperty(t)){return true}}return false}t.isNotEmptyObject=isNotEmptyObject;function IsNotEmptyObject(e,r){return(0,n.ValidateBy)({name:t.IS_NOT_EMPTY_OBJECT,constraints:[e],validator:{validate:(e,t)=>isNotEmptyObject(e,t.constraints[0]),defaultMessage:(0,n.buildMessage)((e=>e+"$property must be a non-empty object"),r)}},r)}t.IsNotEmptyObject=IsNotEmptyObject},6835:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.Contains=t.contains=t.CONTAINS=void 0;const i=r(8081);const a=n(r(6025));t.CONTAINS="contains";function contains(e,t){return typeof e==="string"&&(0,a.default)(e,t)}t.contains=contains;function Contains(e,r){return(0,i.ValidateBy)({name:t.CONTAINS,constraints:[e],validator:{validate:(e,t)=>contains(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must contain a $constraint1 string"),r)}},r)}t.Contains=Contains},1751:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsAlpha=t.isAlpha=t.IS_ALPHA=void 0;const i=r(8081);const a=n(r(899));t.IS_ALPHA="isAlpha";function isAlpha(e,t){return typeof e==="string"&&(0,a.default)(e,t)}t.isAlpha=isAlpha;function IsAlpha(e,r){return(0,i.ValidateBy)({name:t.IS_ALPHA,constraints:[e],validator:{validate:(e,t)=>isAlpha(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must contain only letters (a-zA-Z)"),r)}},r)}t.IsAlpha=IsAlpha},2662:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsAlphanumeric=t.isAlphanumeric=t.IS_ALPHANUMERIC=void 0;const i=r(8081);const a=n(r(8317));t.IS_ALPHANUMERIC="isAlphanumeric";function isAlphanumeric(e,t){return typeof e==="string"&&(0,a.default)(e,t)}t.isAlphanumeric=isAlphanumeric;function IsAlphanumeric(e,r){return(0,i.ValidateBy)({name:t.IS_ALPHANUMERIC,constraints:[e],validator:{validate:(e,t)=>isAlphanumeric(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must contain only letters and numbers"),r)}},r)}t.IsAlphanumeric=IsAlphanumeric},4580:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsAscii=t.isAscii=t.IS_ASCII=void 0;const i=r(8081);const a=n(r(4433));t.IS_ASCII="isAscii";function isAscii(e){return typeof e==="string"&&(0,a.default)(e)}t.isAscii=isAscii;function IsAscii(e){return(0,i.ValidateBy)({name:t.IS_ASCII,validator:{validate:(e,t)=>isAscii(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must contain only ASCII characters"),e)}},e)}t.IsAscii=IsAscii},4239:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsBIC=t.isBIC=t.IS_BIC=void 0;const i=r(8081);const a=n(r(5776));t.IS_BIC="isBIC";function isBIC(e){return typeof e==="string"&&(0,a.default)(e)}t.isBIC=isBIC;function IsBIC(e){return(0,i.ValidateBy)({name:t.IS_BIC,validator:{validate:(e,t)=>isBIC(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a BIC or SWIFT code"),e)}},e)}t.IsBIC=IsBIC},2046:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsBase32=t.isBase32=t.IS_BASE32=void 0;const i=r(8081);const a=n(r(6135));t.IS_BASE32="isBase32";function isBase32(e){return typeof e==="string"&&(0,a.default)(e)}t.isBase32=isBase32;function IsBase32(e){return(0,i.ValidateBy)({name:t.IS_BASE32,validator:{validate:(e,t)=>isBase32(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be base32 encoded"),e)}},e)}t.IsBase32=IsBase32},9823:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsBase64=t.isBase64=t.IS_BASE64=void 0;const i=r(8081);const a=n(r(7003));t.IS_BASE64="isBase64";function isBase64(e){return typeof e==="string"&&(0,a.default)(e)}t.isBase64=isBase64;function IsBase64(e){return(0,i.ValidateBy)({name:t.IS_BASE64,validator:{validate:(e,t)=>isBase64(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be base64 encoded"),e)}},e)}t.IsBase64=IsBase64},766:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsBooleanString=t.isBooleanString=t.IS_BOOLEAN_STRING=void 0;const i=r(8081);const a=n(r(2276));t.IS_BOOLEAN_STRING="isBooleanString";function isBooleanString(e){return typeof e==="string"&&(0,a.default)(e)}t.isBooleanString=isBooleanString;function IsBooleanString(e){return(0,i.ValidateBy)({name:t.IS_BOOLEAN_STRING,validator:{validate:(e,t)=>isBooleanString(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a boolean string"),e)}},e)}t.IsBooleanString=IsBooleanString},5936:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsBtcAddress=t.isBtcAddress=t.IS_BTC_ADDRESS=void 0;const i=r(8081);const a=n(r(6185));t.IS_BTC_ADDRESS="isBtcAddress";function isBtcAddress(e){return typeof e==="string"&&(0,a.default)(e)}t.isBtcAddress=isBtcAddress;function IsBtcAddress(e){return(0,i.ValidateBy)({name:t.IS_BTC_ADDRESS,validator:{validate:(e,t)=>isBtcAddress(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a BTC address"),e)}},e)}t.IsBtcAddress=IsBtcAddress},9169:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsByteLength=t.isByteLength=t.IS_BYTE_LENGTH=void 0;const i=r(8081);const a=n(r(3189));t.IS_BYTE_LENGTH="isByteLength";function isByteLength(e,t,r){return typeof e==="string"&&(0,a.default)(e,{min:t,max:r})}t.isByteLength=isByteLength;function IsByteLength(e,r,n){return(0,i.ValidateBy)({name:t.IS_BYTE_LENGTH,constraints:[e,r],validator:{validate:(e,t)=>isByteLength(e,t.constraints[0],t.constraints[1]),defaultMessage:(0,i.buildMessage)((e=>e+"$property's byte length must fall into ($constraint1, $constraint2) range"),n)}},n)}t.IsByteLength=IsByteLength},6465:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsCreditCard=t.isCreditCard=t.IS_CREDIT_CARD=void 0;const i=r(8081);const a=n(r(1419));t.IS_CREDIT_CARD="isCreditCard";function isCreditCard(e){return typeof e==="string"&&(0,a.default)(e)}t.isCreditCard=isCreditCard;function IsCreditCard(e){return(0,i.ValidateBy)({name:t.IS_CREDIT_CARD,validator:{validate:(e,t)=>isCreditCard(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a credit card"),e)}},e)}t.IsCreditCard=IsCreditCard},7817:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsCurrency=t.isCurrency=t.IS_CURRENCY=void 0;const i=r(8081);const a=n(r(5429));t.IS_CURRENCY="isCurrency";function isCurrency(e,t){return typeof e==="string"&&(0,a.default)(e,t)}t.isCurrency=isCurrency;function IsCurrency(e,r){return(0,i.ValidateBy)({name:t.IS_CURRENCY,constraints:[e],validator:{validate:(e,t)=>isCurrency(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a currency"),r)}},r)}t.IsCurrency=IsCurrency},8544:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsDataURI=t.isDataURI=t.IS_DATA_URI=void 0;const i=r(8081);const a=n(r(2977));t.IS_DATA_URI="isDataURI";function isDataURI(e){return typeof e==="string"&&(0,a.default)(e)}t.isDataURI=isDataURI;function IsDataURI(e){return(0,i.ValidateBy)({name:t.IS_DATA_URI,validator:{validate:(e,t)=>isDataURI(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a data uri format"),e)}},e)}t.IsDataURI=IsDataURI},1226:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsDateString=t.isDateString=t.IS_DATE_STRING=void 0;const n=r(8081);const i=r(456);t.IS_DATE_STRING="isDateString";function isDateString(e,t){return(0,i.isISO8601)(e,t)}t.isDateString=isDateString;function IsDateString(e,r){return(0,n.ValidateBy)({name:t.IS_DATE_STRING,constraints:[e],validator:{validate:(e,t)=>isDateString(e),defaultMessage:(0,n.buildMessage)((e=>e+"$property must be a valid ISO 8601 date string"),r)}},r)}t.IsDateString=IsDateString},1127:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsDecimal=t.isDecimal=t.IS_DECIMAL=void 0;const i=r(8081);const a=n(r(597));t.IS_DECIMAL="isDecimal";function isDecimal(e,t){return typeof e==="string"&&(0,a.default)(e,t)}t.isDecimal=isDecimal;function IsDecimal(e,r){return(0,i.ValidateBy)({name:t.IS_DECIMAL,constraints:[e],validator:{validate:(e,t)=>isDecimal(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property is not a valid decimal number."),r)}},r)}t.IsDecimal=IsDecimal},7809:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsEAN=t.isEAN=t.IS_EAN=void 0;const i=r(8081);const a=n(r(7597));t.IS_EAN="isEAN";function isEAN(e){return typeof e==="string"&&(0,a.default)(e)}t.isEAN=isEAN;function IsEAN(e){return(0,i.ValidateBy)({name:t.IS_EAN,validator:{validate:(e,t)=>isEAN(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be an EAN (European Article Number)"),e)}},e)}t.IsEAN=IsEAN},1390:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsEmail=t.isEmail=t.IS_EMAIL=void 0;const i=r(8081);const a=n(r(1324));t.IS_EMAIL="isEmail";function isEmail(e,t){return typeof e==="string"&&(0,a.default)(e,t)}t.isEmail=isEmail;function IsEmail(e,r){return(0,i.ValidateBy)({name:t.IS_EMAIL,constraints:[e],validator:{validate:(e,t)=>isEmail(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be an email"),r)}},r)}t.IsEmail=IsEmail},5654:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsEthereumAddress=t.isEthereumAddress=t.IS_ETHEREUM_ADDRESS=void 0;const i=r(8081);const a=n(r(7938));t.IS_ETHEREUM_ADDRESS="isEthereumAddress";function isEthereumAddress(e){return typeof e==="string"&&(0,a.default)(e)}t.isEthereumAddress=isEthereumAddress;function IsEthereumAddress(e){return(0,i.ValidateBy)({name:t.IS_ETHEREUM_ADDRESS,validator:{validate:(e,t)=>isEthereumAddress(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be an Ethereum address"),e)}},e)}t.IsEthereumAddress=IsEthereumAddress},9989:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsFQDN=t.isFQDN=t.IS_FQDN=void 0;const i=r(8081);const a=n(r(5627));t.IS_FQDN="isFqdn";function isFQDN(e,t){return typeof e==="string"&&(0,a.default)(e,t)}t.isFQDN=isFQDN;function IsFQDN(e,r){return(0,i.ValidateBy)({name:t.IS_FQDN,constraints:[e],validator:{validate:(e,t)=>isFQDN(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a valid domain name"),r)}},r)}t.IsFQDN=IsFQDN},6103:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsFirebasePushId=t.isFirebasePushId=t.IS_FIREBASE_PUSH_ID=void 0;const n=r(8081);t.IS_FIREBASE_PUSH_ID="IsFirebasePushId";function isFirebasePushId(e){const t=/^[a-zA-Z0-9_-]*$/;return typeof e==="string"&&e.length===20&&t.test(e)}t.isFirebasePushId=isFirebasePushId;function IsFirebasePushId(e){return(0,n.ValidateBy)({name:t.IS_FIREBASE_PUSH_ID,validator:{validate:(e,t)=>isFirebasePushId(e),defaultMessage:(0,n.buildMessage)((e=>e+"$property must be a Firebase Push Id"),e)}},e)}t.IsFirebasePushId=IsFirebasePushId},3986:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsFullWidth=t.isFullWidth=t.IS_FULL_WIDTH=void 0;const i=r(8081);const a=n(r(2619));t.IS_FULL_WIDTH="isFullWidth";function isFullWidth(e){return typeof e==="string"&&(0,a.default)(e)}t.isFullWidth=isFullWidth;function IsFullWidth(e){return(0,i.ValidateBy)({name:t.IS_FULL_WIDTH,validator:{validate:(e,t)=>isFullWidth(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must contain a full-width characters"),e)}},e)}t.IsFullWidth=IsFullWidth},1560:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsHSL=t.isHSL=t.IS_HSL=void 0;const i=r(8081);const a=n(r(429));t.IS_HSL="isHSL";function isHSL(e){return typeof e==="string"&&(0,a.default)(e)}t.isHSL=isHSL;function IsHSL(e){return(0,i.ValidateBy)({name:t.IS_HSL,validator:{validate:(e,t)=>isHSL(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a HSL color"),e)}},e)}t.IsHSL=IsHSL},9812:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsHalfWidth=t.isHalfWidth=t.IS_HALF_WIDTH=void 0;const i=r(8081);const a=n(r(2176));t.IS_HALF_WIDTH="isHalfWidth";function isHalfWidth(e){return typeof e==="string"&&(0,a.default)(e)}t.isHalfWidth=isHalfWidth;function IsHalfWidth(e){return(0,i.ValidateBy)({name:t.IS_HALF_WIDTH,validator:{validate:(e,t)=>isHalfWidth(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must contain a half-width characters"),e)}},e)}t.IsHalfWidth=IsHalfWidth},2611:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsHash=t.isHash=t.IS_HASH=void 0;const i=r(8081);const a=n(r(9841));t.IS_HASH="isHash";function isHash(e,t){return typeof e==="string"&&(0,a.default)(e,t)}t.isHash=isHash;function IsHash(e,r){return(0,i.ValidateBy)({name:t.IS_HASH,constraints:[e],validator:{validate:(e,t)=>isHash(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a hash of type $constraint1"),r)}},r)}t.IsHash=IsHash},7281:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsHexColor=t.isHexColor=t.IS_HEX_COLOR=void 0;const i=r(8081);const a=n(r(1992));t.IS_HEX_COLOR="isHexColor";function isHexColor(e){return typeof e==="string"&&(0,a.default)(e)}t.isHexColor=isHexColor;function IsHexColor(e){return(0,i.ValidateBy)({name:t.IS_HEX_COLOR,validator:{validate:(e,t)=>isHexColor(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a hexadecimal color"),e)}},e)}t.IsHexColor=IsHexColor},7900:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsHexadecimal=t.isHexadecimal=t.IS_HEXADECIMAL=void 0;const i=r(8081);const a=n(r(6262));t.IS_HEXADECIMAL="isHexadecimal";function isHexadecimal(e){return typeof e==="string"&&(0,a.default)(e)}t.isHexadecimal=isHexadecimal;function IsHexadecimal(e){return(0,i.ValidateBy)({name:t.IS_HEXADECIMAL,validator:{validate:(e,t)=>isHexadecimal(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a hexadecimal number"),e)}},e)}t.IsHexadecimal=IsHexadecimal},3287:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsIBAN=t.isIBAN=t.IS_IBAN=void 0;const i=r(8081);const a=n(r(8111));t.IS_IBAN="isIBAN";function isIBAN(e){return typeof e==="string"&&(0,a.default)(e)}t.isIBAN=isIBAN;function IsIBAN(e){return(0,i.ValidateBy)({name:t.IS_IBAN,validator:{validate:(e,t)=>isIBAN(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be an IBAN"),e)}},e)}t.IsIBAN=IsIBAN},8874:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsIP=t.isIP=t.IS_IP=void 0;const i=r(8081);const a=n(r(8253));t.IS_IP="isIp";function isIP(e,t){const r=t?`${t}`:undefined;return typeof e==="string"&&(0,a.default)(e,r)}t.isIP=isIP;function IsIP(e,r){return(0,i.ValidateBy)({name:t.IS_IP,constraints:[e],validator:{validate:(e,t)=>isIP(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be an ip address"),r)}},r)}t.IsIP=IsIP},5725:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsISBN=t.isISBN=t.IS_ISBN=void 0;const i=r(8081);const a=n(r(8254));t.IS_ISBN="isIsbn";function isISBN(e,t){const r=t?`${t}`:undefined;return typeof e==="string"&&(0,a.default)(e,r)}t.isISBN=isISBN;function IsISBN(e,r){return(0,i.ValidateBy)({name:t.IS_ISBN,constraints:[e],validator:{validate:(e,t)=>isISBN(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be an ISBN"),r)}},r)}t.IsISBN=IsISBN},5160:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsISIN=t.isISIN=t.IS_ISIN=void 0;const i=r(8081);const a=n(r(9187));t.IS_ISIN="isIsin";function isISIN(e){return typeof e==="string"&&(0,a.default)(e)}t.isISIN=isISIN;function IsISIN(e){return(0,i.ValidateBy)({name:t.IS_ISIN,validator:{validate:(e,t)=>isISIN(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be an ISIN (stock/security identifier)"),e)}},e)}t.IsISIN=IsISIN},8868:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsISO31661Alpha2=t.isISO31661Alpha2=t.IS_ISO31661_ALPHA_2=void 0;const i=r(8081);const a=n(r(3442));t.IS_ISO31661_ALPHA_2="isISO31661Alpha2";function isISO31661Alpha2(e){return typeof e==="string"&&(0,a.default)(e)}t.isISO31661Alpha2=isISO31661Alpha2;function IsISO31661Alpha2(e){return(0,i.ValidateBy)({name:t.IS_ISO31661_ALPHA_2,validator:{validate:(e,t)=>isISO31661Alpha2(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a valid ISO31661 Alpha2 code"),e)}},e)}t.IsISO31661Alpha2=IsISO31661Alpha2},7347:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsISO31661Alpha3=t.isISO31661Alpha3=t.IS_ISO31661_ALPHA_3=void 0;const i=r(8081);const a=n(r(5923));t.IS_ISO31661_ALPHA_3="isISO31661Alpha3";function isISO31661Alpha3(e){return typeof e==="string"&&(0,a.default)(e)}t.isISO31661Alpha3=isISO31661Alpha3;function IsISO31661Alpha3(e){return(0,i.ValidateBy)({name:t.IS_ISO31661_ALPHA_3,validator:{validate:(e,t)=>isISO31661Alpha3(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a valid ISO31661 Alpha3 code"),e)}},e)}t.IsISO31661Alpha3=IsISO31661Alpha3},456:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsISO8601=t.isISO8601=t.IS_ISO8601=void 0;const i=r(8081);const a=n(r(3790));t.IS_ISO8601="isIso8601";function isISO8601(e,t){return typeof e==="string"&&(0,a.default)(e,t)}t.isISO8601=isISO8601;function IsISO8601(e,r){return(0,i.ValidateBy)({name:t.IS_ISO8601,constraints:[e],validator:{validate:(e,t)=>isISO8601(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a valid ISO 8601 date string"),r)}},r)}t.IsISO8601=IsISO8601},7146:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsISRC=t.isISRC=t.IS_ISRC=void 0;const i=r(8081);const a=n(r(9032));t.IS_ISRC="isISRC";function isISRC(e){return typeof e==="string"&&(0,a.default)(e)}t.isISRC=isISRC;function IsISRC(e){return(0,i.ValidateBy)({name:t.IS_ISRC,validator:{validate:(e,t)=>isISRC(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be an ISRC"),e)}},e)}t.IsISRC=IsISRC},4481:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsISSN=t.isISSN=t.IS_ISSN=void 0;const i=r(8081);const a=n(r(7609));t.IS_ISSN="isISSN";function isISSN(e,t){return typeof e==="string"&&(0,a.default)(e,t)}t.isISSN=isISSN;function IsISSN(e,r){return(0,i.ValidateBy)({name:t.IS_ISSN,constraints:[e],validator:{validate:(e,t)=>isISSN(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a ISSN"),r)}},r)}t.IsISSN=IsISSN},8504:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsIdentityCard=t.isIdentityCard=t.IS_IDENTITY_CARD=void 0;const i=r(8081);const a=n(r(9778));t.IS_IDENTITY_CARD="isIdentityCard";function isIdentityCard(e,t){return typeof e==="string"&&(0,a.default)(e,t)}t.isIdentityCard=isIdentityCard;function IsIdentityCard(e,r){return(0,i.ValidateBy)({name:t.IS_IDENTITY_CARD,constraints:[e],validator:{validate:(e,t)=>isIdentityCard(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a identity card number"),r)}},r)}t.IsIdentityCard=IsIdentityCard},8410:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsJSON=t.isJSON=t.IS_JSON=void 0;const i=r(8081);const a=n(r(7424));t.IS_JSON="isJson";function isJSON(e){return typeof e==="string"&&(0,a.default)(e)}t.isJSON=isJSON;function IsJSON(e){return(0,i.ValidateBy)({name:t.IS_JSON,validator:{validate:(e,t)=>isJSON(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a json string"),e)}},e)}t.IsJSON=IsJSON},534:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsJWT=t.isJWT=t.IS_JWT=void 0;const i=r(8081);const a=n(r(8300));t.IS_JWT="isJwt";function isJWT(e){return typeof e==="string"&&(0,a.default)(e)}t.isJWT=isJWT;function IsJWT(e){return(0,i.ValidateBy)({name:t.IS_JWT,validator:{validate:(e,t)=>isJWT(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a jwt string"),e)}},e)}t.IsJWT=IsJWT},2670:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsLocale=t.isLocale=t.IS_LOCALE=void 0;const i=r(8081);const a=n(r(4513));t.IS_LOCALE="isLocale";function isLocale(e){return typeof e==="string"&&(0,a.default)(e)}t.isLocale=isLocale;function IsLocale(e){return(0,i.ValidateBy)({name:t.IS_LOCALE,validator:{validate:(e,t)=>isLocale(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be locale"),e)}},e)}t.IsLocale=IsLocale},4718:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsLowercase=t.isLowercase=t.IS_LOWERCASE=void 0;const i=r(8081);const a=n(r(6509));t.IS_LOWERCASE="isLowercase";function isLowercase(e){return typeof e==="string"&&(0,a.default)(e)}t.isLowercase=isLowercase;function IsLowercase(e){return(0,i.ValidateBy)({name:t.IS_LOWERCASE,validator:{validate:(e,t)=>isLowercase(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a lowercase string"),e)}},e)}t.IsLowercase=IsLowercase},8370:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsMACAddress=t.isMACAddress=t.IS_MAC_ADDRESS=void 0;const i=r(6744);const a=r(8081);const o=n(r(7912));t.IS_MAC_ADDRESS="isMacAddress";function isMACAddress(e,t){return typeof e==="string"&&(0,o.default)(e,t)}t.isMACAddress=isMACAddress;function IsMACAddress(e,r){const n=!(0,i.isValidationOptions)(e)?e:undefined;const o=(0,i.isValidationOptions)(e)?e:r;return(0,a.ValidateBy)({name:t.IS_MAC_ADDRESS,constraints:[n],validator:{validate:(e,t)=>isMACAddress(e,n),defaultMessage:(0,a.buildMessage)((e=>e+"$property must be a MAC Address"),o)}},o)}t.IsMACAddress=IsMACAddress},7238:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsMagnetURI=t.isMagnetURI=t.IS_MAGNET_URI=void 0;const i=r(8081);const a=n(r(8693));t.IS_MAGNET_URI="isMagnetURI";function isMagnetURI(e){return typeof e==="string"&&(0,a.default)(e)}t.isMagnetURI=isMagnetURI;function IsMagnetURI(e){return(0,i.ValidateBy)({name:t.IS_MAGNET_URI,validator:{validate:(e,t)=>isMagnetURI(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be magnet uri format"),e)}},e)}t.IsMagnetURI=IsMagnetURI},8674:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsMilitaryTime=t.isMilitaryTime=t.IS_MILITARY_TIME=void 0;const i=r(8081);const a=n(r(9189));t.IS_MILITARY_TIME="isMilitaryTime";function isMilitaryTime(e){const t=/^([01]\d|2[0-3]):?([0-5]\d)$/;return typeof e==="string"&&(0,a.default)(e,t)}t.isMilitaryTime=isMilitaryTime;function IsMilitaryTime(e){return(0,i.ValidateBy)({name:t.IS_MILITARY_TIME,validator:{validate:(e,t)=>isMilitaryTime(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a valid representation of military time in the format HH:MM"),e)}},e)}t.IsMilitaryTime=IsMilitaryTime},3643:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsMimeType=t.isMimeType=t.IS_MIME_TYPE=void 0;const i=r(8081);const a=n(r(6914));t.IS_MIME_TYPE="isMimeType";function isMimeType(e){return typeof e==="string"&&(0,a.default)(e)}t.isMimeType=isMimeType;function IsMimeType(e){return(0,i.ValidateBy)({name:t.IS_MIME_TYPE,validator:{validate:(e,t)=>isMimeType(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be MIME type format"),e)}},e)}t.IsMimeType=IsMimeType},4374:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsMobilePhone=t.isMobilePhone=t.IS_MOBILE_PHONE=void 0;const i=r(8081);const a=n(r(8648));t.IS_MOBILE_PHONE="isMobilePhone";function isMobilePhone(e,t,r){return typeof e==="string"&&(0,a.default)(e,t,r)}t.isMobilePhone=isMobilePhone;function IsMobilePhone(e,r,n){return(0,i.ValidateBy)({name:t.IS_MOBILE_PHONE,constraints:[e,r],validator:{validate:(e,t)=>isMobilePhone(e,t.constraints[0],t.constraints[1]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a phone number"),n)}},n)}t.IsMobilePhone=IsMobilePhone},2098:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsMongoId=t.isMongoId=t.IS_MONGO_ID=void 0;const i=r(8081);const a=n(r(1296));t.IS_MONGO_ID="isMongoId";function isMongoId(e){return typeof e==="string"&&(0,a.default)(e)}t.isMongoId=isMongoId;function IsMongoId(e){return(0,i.ValidateBy)({name:t.IS_MONGO_ID,validator:{validate:(e,t)=>isMongoId(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a mongodb id"),e)}},e)}t.IsMongoId=IsMongoId},2905:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsMultibyte=t.isMultibyte=t.IS_MULTIBYTE=void 0;const i=r(8081);const a=n(r(2672));t.IS_MULTIBYTE="isMultibyte";function isMultibyte(e){return typeof e==="string"&&(0,a.default)(e)}t.isMultibyte=isMultibyte;function IsMultibyte(e){return(0,i.ValidateBy)({name:t.IS_MULTIBYTE,validator:{validate:(e,t)=>isMultibyte(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must contain one or more multibyte chars"),e)}},e)}t.IsMultibyte=IsMultibyte},3294:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsNumberString=t.isNumberString=t.IS_NUMBER_STRING=void 0;const i=r(8081);const a=n(r(3769));t.IS_NUMBER_STRING="isNumberString";function isNumberString(e,t){return typeof e==="string"&&(0,a.default)(e,t)}t.isNumberString=isNumberString;function IsNumberString(e,r){return(0,i.ValidateBy)({name:t.IS_NUMBER_STRING,constraints:[e],validator:{validate:(e,t)=>isNumberString(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a number string"),r)}},r)}t.IsNumberString=IsNumberString},2207:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsOctal=t.isOctal=t.IS_OCTAL=void 0;const i=r(8081);const a=n(r(9193));t.IS_OCTAL="isOctal";function isOctal(e){return typeof e==="string"&&(0,a.default)(e)}t.isOctal=isOctal;function IsOctal(e){return(0,i.ValidateBy)({name:t.IS_OCTAL,validator:{validate:(e,t)=>isOctal(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be valid octal number"),e)}},e)}t.IsOctal=IsOctal},4653:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsPassportNumber=t.isPassportNumber=t.IS_PASSPORT_NUMBER=void 0;const i=r(8081);const a=n(r(33));t.IS_PASSPORT_NUMBER="isPassportNumber";function isPassportNumber(e,t){return typeof e==="string"&&(0,a.default)(e,t)}t.isPassportNumber=isPassportNumber;function IsPassportNumber(e,r){return(0,i.ValidateBy)({name:t.IS_PASSPORT_NUMBER,constraints:[e],validator:{validate:(e,t)=>isPassportNumber(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be valid passport number"),r)}},r)}t.IsPassportNumber=IsPassportNumber},130:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsPhoneNumber=t.isPhoneNumber=t.IS_PHONE_NUMBER=void 0;const n=r(8081);const i=r(835);t.IS_PHONE_NUMBER="isPhoneNumber";function isPhoneNumber(e,t){try{const r=(0,i.parsePhoneNumberFromString)(e,t);const n=r===null||r===void 0?void 0:r.isValid();return!!n}catch(e){return false}}t.isPhoneNumber=isPhoneNumber;function IsPhoneNumber(e,r){return(0,n.ValidateBy)({name:t.IS_PHONE_NUMBER,constraints:[e],validator:{validate:(e,t)=>isPhoneNumber(e,t.constraints[0]),defaultMessage:(0,n.buildMessage)((e=>e+"$property must be a valid phone number"),r)}},r)}t.IsPhoneNumber=IsPhoneNumber},2143:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsPort=t.isPort=t.IS_PORT=void 0;const i=r(8081);const a=n(r(5985));t.IS_PORT="isPort";function isPort(e){return typeof e==="string"&&(0,a.default)(e)}t.isPort=isPort;function IsPort(e){return(0,i.ValidateBy)({name:t.IS_PORT,validator:{validate:(e,t)=>isPort(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a port"),e)}},e)}t.IsPort=IsPort},4756:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsPostalCode=t.isPostalCode=t.IS_POSTAL_CODE=void 0;const i=r(8081);const a=n(r(5517));t.IS_POSTAL_CODE="isPostalCode";function isPostalCode(e,t){return typeof e==="string"&&(0,a.default)(e,t)}t.isPostalCode=isPostalCode;function IsPostalCode(e,r){return(0,i.ValidateBy)({name:t.IS_POSTAL_CODE,constraints:[e],validator:{validate:(e,t)=>isPostalCode(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a postal code"),r)}},r)}t.IsPostalCode=IsPostalCode},8265:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsRFC3339=t.isRFC3339=t.IS_RFC_3339=void 0;const i=r(8081);const a=n(r(7397));t.IS_RFC_3339="isRFC3339";function isRFC3339(e){return typeof e==="string"&&(0,a.default)(e)}t.isRFC3339=isRFC3339;function IsRFC3339(e){return(0,i.ValidateBy)({name:t.IS_RFC_3339,validator:{validate:(e,t)=>isRFC3339(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be RFC 3339 date"),e)}},e)}t.IsRFC3339=IsRFC3339},4560:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsRgbColor=t.isRgbColor=t.IS_RGB_COLOR=void 0;const i=r(8081);const a=n(r(8329));t.IS_RGB_COLOR="isRgbColor";function isRgbColor(e,t){return typeof e==="string"&&(0,a.default)(e,t)}t.isRgbColor=isRgbColor;function IsRgbColor(e,r){return(0,i.ValidateBy)({name:t.IS_RGB_COLOR,constraints:[e],validator:{validate:(e,t)=>isRgbColor(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be RGB color"),r)}},r)}t.IsRgbColor=IsRgbColor},1159:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsSemVer=t.isSemVer=t.IS_SEM_VER=void 0;const i=r(8081);const a=n(r(2493));t.IS_SEM_VER="isSemVer";function isSemVer(e){return typeof e==="string"&&(0,a.default)(e)}t.isSemVer=isSemVer;function IsSemVer(e){return(0,i.ValidateBy)({name:t.IS_SEM_VER,validator:{validate:(e,t)=>isSemVer(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a Semantic Versioning Specification"),e)}},e)}t.IsSemVer=IsSemVer},6992:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsSurrogatePair=t.isSurrogatePair=t.IS_SURROGATE_PAIR=void 0;const i=r(8081);const a=n(r(4901));t.IS_SURROGATE_PAIR="isSurrogatePair";function isSurrogatePair(e){return typeof e==="string"&&(0,a.default)(e)}t.isSurrogatePair=isSurrogatePair;function IsSurrogatePair(e){return(0,i.ValidateBy)({name:t.IS_SURROGATE_PAIR,validator:{validate:(e,t)=>isSurrogatePair(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must contain any surrogate pairs chars"),e)}},e)}t.IsSurrogatePair=IsSurrogatePair},1565:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsUUID=t.isUUID=t.IS_UUID=void 0;const i=r(8081);const a=n(r(6455));t.IS_UUID="isUuid";function isUUID(e,t){return typeof e==="string"&&(0,a.default)(e,t)}t.isUUID=isUUID;function IsUUID(e,r){return(0,i.ValidateBy)({name:t.IS_UUID,constraints:[e],validator:{validate:(e,t)=>isUUID(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be a UUID"),r)}},r)}t.IsUUID=IsUUID},6285:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsUppercase=t.isUppercase=t.IS_UPPERCASE=void 0;const i=r(8081);const a=n(r(6413));t.IS_UPPERCASE="isUppercase";function isUppercase(e){return typeof e==="string"&&(0,a.default)(e)}t.isUppercase=isUppercase;function IsUppercase(e){return(0,i.ValidateBy)({name:t.IS_UPPERCASE,validator:{validate:(e,t)=>isUppercase(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be uppercase"),e)}},e)}t.IsUppercase=IsUppercase},7059:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsUrl=t.isURL=t.IS_URL=void 0;const i=r(8081);const a=n(r(1793));t.IS_URL="isUrl";function isURL(e,t){return typeof e==="string"&&(0,a.default)(e,t)}t.isURL=isURL;function IsUrl(e,r){return(0,i.ValidateBy)({name:t.IS_URL,constraints:[e],validator:{validate:(e,t)=>isURL(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be an URL address"),r)}},r)}t.IsUrl=IsUrl},3037:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.IsVariableWidth=t.isVariableWidth=t.IS_VARIABLE_WIDTH=void 0;const i=r(8081);const a=n(r(8678));t.IS_VARIABLE_WIDTH="isVariableWidth";function isVariableWidth(e){return typeof e==="string"&&(0,a.default)(e)}t.isVariableWidth=isVariableWidth;function IsVariableWidth(e){return(0,i.ValidateBy)({name:t.IS_VARIABLE_WIDTH,validator:{validate:(e,t)=>isVariableWidth(e),defaultMessage:(0,i.buildMessage)((e=>e+"$property must contain a full-width and half-width characters"),e)}},e)}t.IsVariableWidth=IsVariableWidth},2521:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.Length=t.length=t.IS_LENGTH=void 0;const i=r(8081);const a=n(r(2041));t.IS_LENGTH="isLength";function length(e,t,r){return typeof e==="string"&&(0,a.default)(e,{min:t,max:r})}t.length=length;function Length(e,r,n){return(0,i.ValidateBy)({name:t.IS_LENGTH,constraints:[e,r],validator:{validate:(e,t)=>length(e,t.constraints[0],t.constraints[1]),defaultMessage:(0,i.buildMessage)(((e,t)=>{const r=t.constraints[0]!==null&&t.constraints[0]!==undefined;const n=t.constraints[1]!==null&&t.constraints[1]!==undefined;if(r&&(!t.value||t.value.lengtht.constraints[1]){return e+"$property must be shorter than or equal to $constraint2 characters"}return e+"$property must be longer than or equal to $constraint1 and shorter than or equal to $constraint2 characters"}),n)}},n)}t.Length=Length},4492:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.Matches=t.matches=t.MATCHES=void 0;const i=r(8081);const a=n(r(9189));t.MATCHES="matches";function matches(e,t,r){return typeof e==="string"&&(0,a.default)(e,t,r)}t.matches=matches;function Matches(e,r,n){let a;if(r&&r instanceof Object&&!n){n=r}else{a=r}return(0,i.ValidateBy)({name:t.MATCHES,constraints:[e,a],validator:{validate:(e,t)=>matches(e,t.constraints[0],t.constraints[1]),defaultMessage:(0,i.buildMessage)(((e,t)=>e+"$property must match $constraint1 regular expression"),n)}},n)}t.Matches=Matches},6182:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.MaxLength=t.maxLength=t.MAX_LENGTH=void 0;const i=r(8081);const a=n(r(2041));t.MAX_LENGTH="maxLength";function maxLength(e,t){return typeof e==="string"&&(0,a.default)(e,{min:0,max:t})}t.maxLength=maxLength;function MaxLength(e,r){return(0,i.ValidateBy)({name:t.MAX_LENGTH,constraints:[e],validator:{validate:(e,t)=>maxLength(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be shorter than or equal to $constraint1 characters"),r)}},r)}t.MaxLength=MaxLength},3860:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.MinLength=t.minLength=t.MIN_LENGTH=void 0;const i=r(8081);const a=n(r(2041));t.MIN_LENGTH="minLength";function minLength(e,t){return typeof e==="string"&&(0,a.default)(e,{min:t})}t.minLength=minLength;function MinLength(e,r){return(0,i.ValidateBy)({name:t.MIN_LENGTH,constraints:[e],validator:{validate:(e,t)=>minLength(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property must be longer than or equal to $constraint1 characters"),r)}},r)}t.MinLength=MinLength},3259:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:true});t.NotContains=t.notContains=t.NOT_CONTAINS=void 0;const i=r(8081);const a=n(r(6025));t.NOT_CONTAINS="notContains";function notContains(e,t){return typeof e==="string"&&!(0,a.default)(e,t)}t.notContains=notContains;function NotContains(e,r){return(0,i.ValidateBy)({name:t.NOT_CONTAINS,constraints:[e],validator:{validate:(e,t)=>notContains(e,t.constraints[0]),defaultMessage:(0,i.buildMessage)((e=>e+"$property should not contain a $constraint1 string"),r)}},r)}t.NotContains=NotContains},560:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsArray=t.isArray=t.IS_ARRAY=void 0;const n=r(8081);t.IS_ARRAY="isArray";function isArray(e){return Array.isArray(e)}t.isArray=isArray;function IsArray(e){return(0,n.ValidateBy)({name:t.IS_ARRAY,validator:{validate:(e,t)=>isArray(e),defaultMessage:(0,n.buildMessage)((e=>e+"$property must be an array"),e)}},e)}t.IsArray=IsArray},4912:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsBoolean=t.isBoolean=t.IS_BOOLEAN=void 0;const n=r(8081);t.IS_BOOLEAN="isBoolean";function isBoolean(e){return e instanceof Boolean||typeof e==="boolean"}t.isBoolean=isBoolean;function IsBoolean(e){return(0,n.ValidateBy)({name:t.IS_BOOLEAN,validator:{validate:(e,t)=>isBoolean(e),defaultMessage:(0,n.buildMessage)((e=>e+"$property must be a boolean value"),e)}},e)}t.IsBoolean=IsBoolean},1709:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsDate=t.isDate=t.IS_DATE=void 0;const n=r(8081);t.IS_DATE="isDate";function isDate(e){return e instanceof Date&&!isNaN(e.getTime())}t.isDate=isDate;function IsDate(e){return(0,n.ValidateBy)({name:t.IS_DATE,validator:{validate:(e,t)=>isDate(e),defaultMessage:(0,n.buildMessage)((e=>e+"$property must be a Date instance"),e)}},e)}t.IsDate=IsDate},9218:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsEnum=t.isEnum=t.IS_ENUM=void 0;const n=r(8081);t.IS_ENUM="isEnum";function isEnum(e,t){const r=Object.keys(t).map((e=>t[e]));return r.indexOf(e)>=0}t.isEnum=isEnum;function IsEnum(e,r){return(0,n.ValidateBy)({name:t.IS_ENUM,constraints:[e],validator:{validate:(e,t)=>isEnum(e,t.constraints[0]),defaultMessage:(0,n.buildMessage)((e=>e+"$property must be a valid enum value"),r)}},r)}t.IsEnum=IsEnum},9690:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsInt=t.isInt=t.IS_INT=void 0;const n=r(8081);t.IS_INT="isInt";function isInt(e){return typeof e==="number"&&Number.isInteger(e)}t.isInt=isInt;function IsInt(e){return(0,n.ValidateBy)({name:t.IS_INT,validator:{validate:(e,t)=>isInt(e),defaultMessage:(0,n.buildMessage)((e=>e+"$property must be an integer number"),e)}},e)}t.IsInt=IsInt},1278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsNumber=t.isNumber=t.IS_NUMBER=void 0;const n=r(8081);t.IS_NUMBER="isNumber";function isNumber(e,t={}){if(typeof e!=="number"){return false}if(e===Infinity||e===-Infinity){return t.allowInfinity}if(Number.isNaN(e)){return t.allowNaN}if(t.maxDecimalPlaces!==undefined){let r=0;if(e%1!==0){r=e.toString().split(".")[1].length}if(r>t.maxDecimalPlaces){return false}}return Number.isFinite(e)}t.isNumber=isNumber;function IsNumber(e={},r){return(0,n.ValidateBy)({name:t.IS_NUMBER,constraints:[e],validator:{validate:(e,t)=>isNumber(e,t.constraints[0]),defaultMessage:(0,n.buildMessage)((e=>e+"$property must be a number conforming to the specified constraints"),r)}},r)}t.IsNumber=IsNumber},208:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsObject=t.isObject=t.IS_OBJECT=void 0;const n=r(8081);t.IS_OBJECT="isObject";function isObject(e){return e!=null&&(typeof e==="object"||typeof e==="function")&&!Array.isArray(e)}t.isObject=isObject;function IsObject(e){return(0,n.ValidateBy)({name:t.IS_OBJECT,validator:{validate:(e,t)=>isObject(e),defaultMessage:(0,n.buildMessage)((e=>e+"$property must be an object"),e)}},e)}t.IsObject=IsObject},3875:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IsString=t.isString=t.IS_STRING=void 0;const n=r(8081);t.IS_STRING="isString";function isString(e){return e instanceof String||typeof e==="string"}t.isString=isString;function IsString(e){return(0,n.ValidateBy)({name:t.IS_STRING,validator:{validate:(e,t)=>isString(e),defaultMessage:(0,n.buildMessage)((e=>e+"$property must be a string"),e)}},e)}t.IsString=IsString},4803:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__exportStar||function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))n(t,e,r)};Object.defineProperty(t,"__esModule",{value:true});t.registerSchema=t.validateSync=t.validateOrReject=t.validate=void 0;const a=r(2170);const o=r(364);const s=r(6045);i(r(6045),t);i(r(2779),t);i(r(6744),t);i(r(9741),t);i(r(285),t);i(r(554),t);i(r(321),t);i(r(6620),t);i(r(364),t);i(r(444),t);i(r(2847),t);i(r(2170),t);function validate(e,t,r){if(typeof e==="string"){return(0,s.getFromContainer)(o.Validator).validate(e,t,r)}else{return(0,s.getFromContainer)(o.Validator).validate(e,t)}}t.validate=validate;function validateOrReject(e,t,r){if(typeof e==="string"){return(0,s.getFromContainer)(o.Validator).validateOrReject(e,t,r)}else{return(0,s.getFromContainer)(o.Validator).validateOrReject(e,t)}}t.validateOrReject=validateOrReject;function validateSync(e,t,r){if(typeof e==="string"){return(0,s.getFromContainer)(o.Validator).validateSync(e,t,r)}else{return(0,s.getFromContainer)(o.Validator).validateSync(e,t)}}t.validateSync=validateSync;function registerSchema(e){(0,a.getMetadataStorage)().addValidationSchema(e)}t.registerSchema=registerSchema},3319:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ConstraintMetadata=void 0;const n=r(6045);class ConstraintMetadata{constructor(e,t,r=false){this.target=e;this.name=t;this.async=r}get instance(){return(0,n.getFromContainer)(this.target)}}t.ConstraintMetadata=ConstraintMetadata},2170:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getMetadataStorage=t.MetadataStorage=void 0;const n=r(612);const i=r(9784);class MetadataStorage{constructor(){this.validationMetadatas=[];this.constraintMetadatas=[]}get hasValidationMetaData(){return!!this.validationMetadatas.length}addValidationSchema(e){const t=(new n.ValidationSchemaToMetadataTransformer).transform(e);t.forEach((e=>this.addValidationMetadata(e)))}addValidationMetadata(e){this.validationMetadatas.push(e)}addConstraintMetadata(e){this.constraintMetadatas.push(e)}groupByPropertyName(e){const t={};e.forEach((e=>{if(!t[e.propertyName])t[e.propertyName]=[];t[e.propertyName].push(e)}));return t}getTargetValidationMetadatas(e,t,r,n,i){const includeMetadataBecauseOfAlwaysOption=e=>{if(typeof e.always!=="undefined")return e.always;if(e.groups&&e.groups.length)return false;return r};const excludeMetadataBecauseOfStrictGroupsOption=e=>{if(n){if(!i||!i.length){if(e.groups&&e.groups.length)return true}}return false};const a=this.validationMetadatas.filter((r=>{if(r.target!==e&&r.target!==t)return false;if(includeMetadataBecauseOfAlwaysOption(r))return true;if(excludeMetadataBecauseOfStrictGroupsOption(r))return false;if(i&&i.length>0)return r.groups&&!!r.groups.find((e=>i.indexOf(e)!==-1));return true}));const o=this.validationMetadatas.filter((t=>{if(typeof t.target==="string")return false;if(t.target===e)return false;if(t.target instanceof Function&&!(e.prototype instanceof t.target))return false;if(includeMetadataBecauseOfAlwaysOption(t))return true;if(excludeMetadataBecauseOfStrictGroupsOption(t))return false;if(i&&i.length>0)return t.groups&&!!t.groups.find((e=>i.indexOf(e)!==-1));return true}));const s=o.filter((e=>!a.find((t=>t.propertyName===e.propertyName&&t.type===e.type))));return a.concat(s)}getTargetValidatorConstraints(e){return this.constraintMetadatas.filter((t=>t.target===e))}}t.MetadataStorage=MetadataStorage;function getMetadataStorage(){const e=(0,i.getGlobal)();if(!e.classValidatorMetadataStorage){e.classValidatorMetadataStorage=new MetadataStorage}return e.classValidatorMetadataStorage}t.getMetadataStorage=getMetadataStorage},6176:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ValidationMetadata=void 0;class ValidationMetadata{constructor(e){this.groups=[];this.each=false;this.context=undefined;this.type=e.type;this.target=e.target;this.propertyName=e.propertyName;this.constraints=e.constraints;this.constraintCls=e.constraintCls;this.validationTypeOptions=e.validationTypeOptions;if(e.validationOptions){this.message=e.validationOptions.message;this.groups=e.validationOptions.groups;this.always=e.validationOptions.always;this.each=e.validationOptions.each;this.context=e.validationOptions.context}}}t.ValidationMetadata=ValidationMetadata},2847:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.registerDecorator=void 0;const n=r(3319);const i=r(6176);const a=r(6620);const o=r(6045);const s=r(2170);function registerDecorator(e){let t;if(e.validator instanceof Function){t=e.validator;const r=(0,o.getFromContainer)(s.MetadataStorage).getTargetValidatorConstraints(e.validator);if(r.length>1){throw`More than one implementation of ValidatorConstraintInterface found for validator on: ${e.target.name}:${e.propertyName}`}}else{const r=e.validator;t=class CustomConstraint{validate(e,t){return r.validate(e,t)}defaultMessage(e){if(r.defaultMessage){return r.defaultMessage(e)}return""}};(0,s.getMetadataStorage)().addConstraintMetadata(new n.ConstraintMetadata(t,e.name,e.async))}const r={type:e.name&&a.ValidationTypes.isValid(e.name)?e.name:a.ValidationTypes.CUSTOM_VALIDATION,target:e.target,propertyName:e.propertyName,validationOptions:e.options,constraintCls:t,constraints:e.constraints};(0,s.getMetadataStorage)().addValidationMetadata(new i.ValidationMetadata(r))}t.registerDecorator=registerDecorator},7375:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.convertToArray=void 0;function convertToArray(e){if(e instanceof Map){return Array.from(e.values())}return Array.isArray(e)?e:Array.from(e)}t.convertToArray=convertToArray},3798:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.getGlobal=void 0;function getGlobal(){if(typeof globalThis!=="undefined"){return globalThis}if(typeof global!=="undefined"){return global}if(typeof window!=="undefined"){return window}if(typeof self!=="undefined"){return self}}t.getGlobal=getGlobal},9784:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){if(n===undefined)n=r;Object.defineProperty(e,n,{enumerable:true,get:function(){return t[r]}})}:function(e,t,r,n){if(n===undefined)n=r;e[n]=t[r]});var i=this&&this.__exportStar||function(e,t){for(var r in e)if(r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r))n(t,e,r)};Object.defineProperty(t,"__esModule",{value:true});i(r(7375),t);i(r(3798),t);i(r(9792),t)},9792:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isPromise=void 0;function isPromise(e){return e!==null&&typeof e==="object"&&typeof e.then==="function"}t.isPromise=isPromise},444:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},612:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ValidationSchemaToMetadataTransformer=void 0;const n=r(6176);class ValidationSchemaToMetadataTransformer{transform(e){const t=[];Object.keys(e.properties).forEach((r=>{e.properties[r].forEach((i=>{const a={message:i.message,groups:i.groups,always:i.always,each:i.each};const o={type:i.type,target:e.name,propertyName:r,constraints:i.constraints,validationTypeOptions:i.options,validationOptions:a};t.push(new n.ValidationMetadata(o))}))}));return t}}t.ValidationSchemaToMetadataTransformer=ValidationSchemaToMetadataTransformer},321:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},285:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ValidationError=void 0;class ValidationError{toString(e=false,t=false,r=``){const n=e?``:``;const i=e?``:``;const propConstraintFailed=e=>` - property ${n}${r}${e}${i} has failed the following constraints: ${n}${Object.keys(this.constraints).join(`, `)}${i} \n`;if(!t){return`An instance of ${n}${this.target?this.target.constructor.name:"an object"}${i} has failed the validation:\n`+(this.constraints?propConstraintFailed(this.property):``)+(this.children?this.children.map((t=>t.toString(e,true,this.property))).join(``):``)}else{const t=Number.isInteger(+this.property)?`[${this.property}]`:`${r?`.`:``}${this.property}`;if(this.constraints){return propConstraintFailed(t)}else{return this.children?this.children.map((n=>n.toString(e,true,`${r}${t}`))).join(``):``}}}}t.ValidationError=ValidationError},215:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ValidationExecutor=void 0;const n=r(285);const i=r(6620);const a=r(4786);const o=r(9784);const s=r(2170);class ValidationExecutor{constructor(e,t){this.validator=e;this.validatorOptions=t;this.awaitingPromises=[];this.ignoreAsyncValidations=false;this.metadataStorage=(0,s.getMetadataStorage)()}execute(e,t,r){var a;if(!this.metadataStorage.hasValidationMetaData&&((a=this.validatorOptions)===null||a===void 0?void 0:a.enableDebugMessages)===true){console.warn(`No metadata found. There is more than once class-validator version installed probably. You need to flatten your dependencies.`)}const o=this.validatorOptions?this.validatorOptions.groups:undefined;const s=this.validatorOptions&&this.validatorOptions.strictGroups||false;const u=this.validatorOptions&&this.validatorOptions.always||false;const l=this.metadataStorage.getTargetValidationMetadatas(e.constructor,t,u,s,o);const d=this.metadataStorage.groupByPropertyName(l);if(this.validatorOptions&&this.validatorOptions.forbidUnknownValues&&!l.length){const t=new n.ValidationError;if(!this.validatorOptions||!this.validatorOptions.validationError||this.validatorOptions.validationError.target===undefined||this.validatorOptions.validationError.target===true)t.target=e;t.value=undefined;t.property=undefined;t.children=[];t.constraints={unknownValue:"an unknown value was passed to the validate function"};r.push(t);return}if(this.validatorOptions&&this.validatorOptions.whitelist)this.whitelist(e,d,r);Object.keys(d).forEach((t=>{const n=e[t];const a=d[t].filter((e=>e.type===i.ValidationTypes.IS_DEFINED));const o=d[t].filter((e=>e.type!==i.ValidationTypes.IS_DEFINED&&e.type!==i.ValidationTypes.WHITELIST));if(n instanceof Promise&&o.find((e=>e.type===i.ValidationTypes.PROMISE_VALIDATION))){this.awaitingPromises.push(n.then((n=>{this.performValidations(e,n,t,a,o,r)})))}else{this.performValidations(e,n,t,a,o,r)}}))}whitelist(e,t,r){const n=[];Object.keys(e).forEach((e=>{if(!t[e]||t[e].length===0)n.push(e)}));if(n.length>0){if(this.validatorOptions&&this.validatorOptions.forbidNonWhitelisted){n.forEach((t=>{const n=this.generateValidationError(e,e[t],t);n.constraints={[i.ValidationTypes.WHITELIST]:`property ${t} should not exist`};n.children=undefined;r.push(n)}))}else{n.forEach((t=>delete e[t]))}}}stripEmptyErrors(e){return e.filter((e=>{if(e.children){e.children=this.stripEmptyErrors(e.children)}if(Object.keys(e.constraints).length===0){if(e.children.length===0){return false}else{delete e.constraints}}return true}))}performValidations(e,t,r,n,a,o){const s=a.filter((e=>e.type===i.ValidationTypes.CUSTOM_VALIDATION));const u=a.filter((e=>e.type===i.ValidationTypes.NESTED_VALIDATION));const l=a.filter((e=>e.type===i.ValidationTypes.CONDITIONAL_VALIDATION));const d=this.generateValidationError(e,t,r);o.push(d);const f=this.conditionalValidations(e,t,l);if(!f){return}this.customValidations(e,t,n,d);this.mapContexts(e,t,n,d);if(t===undefined&&this.validatorOptions&&this.validatorOptions.skipUndefinedProperties===true){return}if(t===null&&this.validatorOptions&&this.validatorOptions.skipNullProperties===true){return}if((t===null||t===undefined)&&this.validatorOptions&&this.validatorOptions.skipMissingProperties===true){return}this.customValidations(e,t,s,d);this.nestedValidations(t,u,d.children);this.mapContexts(e,t,a,d);this.mapContexts(e,t,s,d)}generateValidationError(e,t,r){const i=new n.ValidationError;if(!this.validatorOptions||!this.validatorOptions.validationError||this.validatorOptions.validationError.target===undefined||this.validatorOptions.validationError.target===true)i.target=e;if(!this.validatorOptions||!this.validatorOptions.validationError||this.validatorOptions.validationError.value===undefined||this.validatorOptions.validationError.value===true)i.value=t;i.property=r;i.children=[];i.constraints={};return i}conditionalValidations(e,t,r){return r.map((r=>r.constraints[0](e,t))).reduce(((e,t)=>e&&t),true)}customValidations(e,t,r,n){r.forEach((r=>{this.metadataStorage.getTargetValidatorConstraints(r.constraintCls).forEach((i=>{if(i.async&&this.ignoreAsyncValidations)return;if(this.validatorOptions&&this.validatorOptions.stopAtFirstError&&Object.keys(n.constraints||{}).length>0)return;const a={targetName:e.constructor?e.constructor.name:undefined,property:r.propertyName,object:e,value:t,constraints:r.constraints};if(!r.each||!(Array.isArray(t)||t instanceof Set||t instanceof Map)){const s=i.instance.validate(t,a);if((0,o.isPromise)(s)){const a=s.then((a=>{if(!a){const[a,o]=this.createValidationError(e,t,r,i);n.constraints[a]=o;if(r.context){if(!n.contexts){n.contexts={}}n.contexts[a]=Object.assign(n.contexts[a]||{},r.context)}}}));this.awaitingPromises.push(a)}else{if(!s){const[a,o]=this.createValidationError(e,t,r,i);n.constraints[a]=o}}return}const s=(0,o.convertToArray)(t);const u=s.map((e=>i.instance.validate(e,a)));const l=u.some((e=>(0,o.isPromise)(e)));if(l){const a=u.map((e=>(0,o.isPromise)(e)?e:Promise.resolve(e)));const s=Promise.all(a).then((a=>{const o=a.every((e=>e));if(!o){const[a,o]=this.createValidationError(e,t,r,i);n.constraints[a]=o;if(r.context){if(!n.contexts){n.contexts={}}n.contexts[a]=Object.assign(n.contexts[a]||{},r.context)}}}));this.awaitingPromises.push(s);return}const d=u.every((e=>e));if(!d){const[a,o]=this.createValidationError(e,t,r,i);n.constraints[a]=o}}))}))}nestedValidations(e,t,r){if(e===void 0){return}t.forEach((a=>{if(a.type!==i.ValidationTypes.NESTED_VALIDATION&&a.type!==i.ValidationTypes.PROMISE_VALIDATION){return}if(Array.isArray(e)||e instanceof Set||e instanceof Map){const n=e instanceof Set?Array.from(e):e;n.forEach(((n,i)=>{this.performValidations(e,n,i.toString(),[],t,r)}))}else if(e instanceof Object){const t=typeof a.target==="string"?a.target:a.target.name;this.execute(e,t,r)}else{const t=new n.ValidationError;t.value=e;t.property=a.propertyName;t.target=a.target;const[i,o]=this.createValidationError(a.target,e,a);t.constraints={[i]:o};r.push(t)}}))}mapContexts(e,t,r,n){return r.forEach((e=>{if(e.context){let t;if(e.type===i.ValidationTypes.CUSTOM_VALIDATION){const r=this.metadataStorage.getTargetValidatorConstraints(e.constraintCls);t=r[0]}const r=this.getConstraintType(e,t);if(n.constraints[r]){if(!n.contexts){n.contexts={}}n.contexts[r]=Object.assign(n.contexts[r]||{},e.context)}}}))}createValidationError(e,t,r,n){const i=e.constructor?e.constructor.name:undefined;const o=this.getConstraintType(r,n);const s={targetName:i,property:r.propertyName,object:e,value:t,constraints:r.constraints};let u=r.message||"";if(!r.message&&(!this.validatorOptions||this.validatorOptions&&!this.validatorOptions.dismissDefaultMessages)){if(n&&n.instance.defaultMessage instanceof Function){u=n.instance.defaultMessage(s)}}const l=a.ValidationUtils.replaceMessageSpecialTokens(u,s);return[o,l]}getConstraintType(e,t){const r=t&&t.name?t.name:e.type;return r}}t.ValidationExecutor=ValidationExecutor},6620:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ValidationTypes=void 0;class ValidationTypes{static isValid(e){return e!=="isValid"&&e!=="getMessage"&&Object.keys(this).map((e=>this[e])).indexOf(e)!==-1}}t.ValidationTypes=ValidationTypes;ValidationTypes.CUSTOM_VALIDATION="customValidation";ValidationTypes.NESTED_VALIDATION="nestedValidation";ValidationTypes.PROMISE_VALIDATION="promiseValidation";ValidationTypes.CONDITIONAL_VALIDATION="conditionalValidation";ValidationTypes.WHITELIST="whitelistValidation";ValidationTypes.IS_DEFINED="isDefined"},4786:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ValidationUtils=t.constraintToString=void 0;function constraintToString(e){if(Array.isArray(e)){return e.join(", ")}return`${e}`}t.constraintToString=constraintToString;class ValidationUtils{static replaceMessageSpecialTokens(e,t){let r;if(e instanceof Function){r=e(t)}else if(typeof e==="string"){r=e}if(r&&Array.isArray(t.constraints)){t.constraints.forEach(((e,t)=>{r=r.replace(new RegExp(`\\$constraint${t+1}`,"g"),constraintToString(e))}))}if(r&&t.value!==undefined&&t.value!==null&&typeof t.value==="string")r=r.replace(/\$value/g,t.value);if(r)r=r.replace(/\$property/g,t.property);if(r)r=r.replace(/\$target/g,t.targetName);return r}}t.ValidationUtils=ValidationUtils},364:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Validator=void 0;const n=r(215);class Validator{validate(e,t,r){return this.coreValidate(e,t,r)}async validateOrReject(e,t,r){const n=await this.coreValidate(e,t,r);if(n.length)return Promise.reject(n)}validateSync(e,t,r){const i=typeof e==="string"?t:e;const a=typeof e==="string"?r:t;const o=typeof e==="string"?e:undefined;const s=new n.ValidationExecutor(this,a);s.ignoreAsyncValidations=true;const u=[];s.execute(i,o,u);return s.stripEmptyErrors(u)}coreValidate(e,t,r){const i=typeof e==="string"?t:e;const a=typeof e==="string"?r:t;const o=typeof e==="string"?e:undefined;const s=new n.ValidationExecutor(this,a);const u=[];s.execute(i,o,u);return Promise.all(s.awaitingPromises).then((()=>s.stripEmptyErrors(u)))}}t.Validator=Validator},9741:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},554:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true})},1917:(e,t,r)=>{"use strict";var n=r(1161);var i=r(8866);function renamed(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. "+"Use yaml."+t+" instead, which is now safe by default.")}}e.exports.Type=r(6073);e.exports.Schema=r(1082);e.exports.FAILSAFE_SCHEMA=r(8562);e.exports.JSON_SCHEMA=r(1035);e.exports.CORE_SCHEMA=r(2011);e.exports.DEFAULT_SCHEMA=r(8759);e.exports.load=n.load;e.exports.loadAll=n.loadAll;e.exports.dump=i.dump;e.exports.YAMLException=r(8179);e.exports.types={binary:r(1581),float:r(2705),map:r(6150),null:r(721),pairs:r(6860),set:r(9548),timestamp:r(9212),bool:r(4993),int:r(1615),merge:r(6104),omap:r(9046),seq:r(7283),str:r(3619)};e.exports.safeLoad=renamed("safeLoad","load");e.exports.safeLoadAll=renamed("safeLoadAll","loadAll");e.exports.safeDump=renamed("safeDump","dump")},6829:e=>{"use strict";function isNothing(e){return typeof e==="undefined"||e===null}function isObject(e){return typeof e==="object"&&e!==null}function toArray(e){if(Array.isArray(e))return e;else if(isNothing(e))return[];return[e]}function extend(e,t){var r,n,i,a;if(t){a=Object.keys(t);for(r=0,n=a.length;r{"use strict";var n=r(6829);var i=r(8179);var a=r(8759);var o=Object.prototype.toString;var s=Object.prototype.hasOwnProperty;var u=65279;var l=9;var d=10;var f=13;var c=32;var p=33;var h=34;var m=35;var $=37;var v=38;var g=39;var _=42;var y=44;var b=45;var I=58;var N=61;var S=62;var A=63;var C=64;var E=91;var P=93;var O=96;var M=123;var R=124;var x=125;var T={};T[0]="\\0";T[7]="\\a";T[8]="\\b";T[9]="\\t";T[10]="\\n";T[11]="\\v";T[12]="\\f";T[13]="\\r";T[27]="\\e";T[34]='\\"';T[92]="\\\\";T[133]="\\N";T[160]="\\_";T[8232]="\\L";T[8233]="\\P";var D=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];var w=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function compileStyleMap(e,t){var r,n,i,a,o,u,l;if(t===null)return{};r={};n=Object.keys(t);for(i=0,a=n.length;i=55296&&r<=56319&&t+1=56320&&n<=57343){return(r-55296)*1024+n-56320+65536}}return r}function needIndentIndicator(e){var t=/^\n* /;return t.test(e)}var j=1,k=2,B=3,V=4,q=5;function chooseScalarStyle(e,t,r,n,i,a,o,s){var u;var l=0;var f=null;var c=false;var p=false;var h=n!==-1;var m=-1;var $=isPlainSafeFirst(codePointAt(e,0))&&isPlainSafeLast(codePointAt(e,e.length-1));if(t||o){for(u=0;u=65536?u+=2:u++){l=codePointAt(e,u);if(!isPrintable(l)){return q}$=$&&isPlainSafe(l,f,s);f=l}}else{for(u=0;u=65536?u+=2:u++){l=codePointAt(e,u);if(l===d){c=true;if(h){p=p||u-m-1>n&&e[m+1]!==" ";m=u}}else if(!isPrintable(l)){return q}$=$&&isPlainSafe(l,f,s);f=l}p=p||h&&(u-m-1>n&&e[m+1]!==" ")}if(!c&&!p){if($&&!o&&!i(e)){return j}return a===F?q:k}if(r>9&&needIndentIndicator(e)){return q}if(!o){return p?V:B}return a===F?q:k}function writeScalar(e,t,r,n,a){e.dump=function(){if(t.length===0){return e.quotingType===F?'""':"''"}if(!e.noCompatMode){if(D.indexOf(t)!==-1||w.test(t)){return e.quotingType===F?'"'+t+'"':"'"+t+"'"}}var o=e.indent*Math.max(1,r);var s=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-o);var u=n||e.flowLevel>-1&&r>=e.flowLevel;function testAmbiguity(t){return testImplicitResolving(e,t)}switch(chooseScalarStyle(t,u,e.indent,s,testAmbiguity,e.quotingType,e.forceQuotes&&!n,a)){case j:return t;case k:return"'"+t.replace(/'/g,"''")+"'";case B:return"|"+blockHeader(t,e.indent)+dropEndingNewline(indentString(t,o));case V:return">"+blockHeader(t,e.indent)+dropEndingNewline(indentString(foldString(t,s),o));case q:return'"'+escapeString(t,s)+'"';default:throw new i("impossible error: invalid scalar style")}}()}function blockHeader(e,t){var r=needIndentIndicator(e)?String(t):"";var n=e[e.length-1]==="\n";var i=n&&(e[e.length-2]==="\n"||e==="\n");var a=i?"+":n?"":"-";return r+a+"\n"}function dropEndingNewline(e){return e[e.length-1]==="\n"?e.slice(0,-1):e}function foldString(e,t){var r=/(\n+)([^\n]*)/g;var n=function(){var n=e.indexOf("\n");n=n!==-1?n:e.length;r.lastIndex=n;return foldLine(e.slice(0,n),t)}();var i=e[0]==="\n"||e[0]===" ";var a;var o;while(o=r.exec(e)){var s=o[1],u=o[2];a=u[0]===" ";n+=s+(!i&&!a&&u!==""?"\n":"")+foldLine(u,t);i=a}return n}function foldLine(e,t){if(e===""||e[0]===" ")return e;var r=/ [^ ]/g;var n;var i=0,a,o=0,s=0;var u="";while(n=r.exec(e)){s=n.index;if(s-i>t){a=o>i?o:s;u+="\n"+e.slice(i,a);i=a+1}o=s}u+="\n";if(e.length-i>t&&o>i){u+=e.slice(i,o)+"\n"+e.slice(o+1)}else{u+=e.slice(i)}return u.slice(1)}function escapeString(e){var t="";var r=0;var n;for(var i=0;i=65536?i+=2:i++){r=codePointAt(e,i);n=T[r];if(!n&&isPrintable(r)){t+=e[i];if(r>=65536)t+=e[i+1]}else{t+=n||encodeHex(r)}}return t}function writeFlowSequence(e,t,r){var n="",i=e.tag,a,o,s;for(a=0,o=r.length;a1024)d+="? ";d+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" ");if(!writeNode(e,t,l,false,false)){continue}d+=e.dump;n+=d}e.tag=i;e.dump="{"+n+"}"}function writeBlockMapping(e,t,r,n){var a="",o=e.tag,s=Object.keys(r),u,l,f,c,p,h;if(e.sortKeys===true){s.sort()}else if(typeof e.sortKeys==="function"){s.sort(e.sortKeys)}else if(e.sortKeys){throw new i("sortKeys must be a boolean or a function")}for(u=0,l=s.length;u1024;if(p){if(e.dump&&d===e.dump.charCodeAt(0)){h+="?"}else{h+="? "}}h+=e.dump;if(p){h+=generateNextLine(e,t)}if(!writeNode(e,t+1,c,true,p)){continue}if(e.dump&&d===e.dump.charCodeAt(0)){h+=":"}else{h+=": "}h+=e.dump;a+=h}e.tag=o;e.dump=a||"{}"}function detectType(e,t,r){var n,a,u,l,d,f;a=r?e.explicitTypes:e.implicitTypes;for(u=0,l=a.length;u tag resolver accepts not "'+f+'" style')}e.dump=n}return true}}return false}function writeNode(e,t,r,n,a,s,u){e.tag=null;e.dump=r;if(!detectType(e,r,false)){detectType(e,r,true)}var l=o.call(e.dump);var d=n;var f;if(n){n=e.flowLevel<0||e.flowLevel>t}var c=l==="[object Object]"||l==="[object Array]",p,h;if(c){p=e.duplicates.indexOf(r);h=p!==-1}if(e.tag!==null&&e.tag!=="?"||h||e.indent!==2&&t>0){a=false}if(h&&e.usedDuplicates[p]){e.dump="*ref_"+p}else{if(c&&h&&!e.usedDuplicates[p]){e.usedDuplicates[p]=true}if(l==="[object Object]"){if(n&&Object.keys(e.dump).length!==0){writeBlockMapping(e,t,e.dump,a);if(h){e.dump="&ref_"+p+e.dump}}else{writeFlowMapping(e,t,e.dump);if(h){e.dump="&ref_"+p+" "+e.dump}}}else if(l==="[object Array]"){if(n&&e.dump.length!==0){if(e.noArrayIndent&&!u&&t>0){writeBlockSequence(e,t-1,e.dump,a)}else{writeBlockSequence(e,t,e.dump,a)}if(h){e.dump="&ref_"+p+e.dump}}else{writeFlowSequence(e,t,e.dump);if(h){e.dump="&ref_"+p+" "+e.dump}}}else if(l==="[object String]"){if(e.tag!=="?"){writeScalar(e,e.dump,t,s,d)}}else if(l==="[object Undefined]"){return false}else{if(e.skipInvalid)return false;throw new i("unacceptable kind of an object to dump "+l)}if(e.tag!==null&&e.tag!=="?"){f=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21");if(e.tag[0]==="!"){f="!"+f}else if(f.slice(0,18)==="tag:yaml.org,2002:"){f="!!"+f.slice(18)}else{f="!<"+f+">"}e.dump=f+" "+e.dump}}return true}function getDuplicateReferences(e,t){var r=[],n=[],i,a;inspectNode(e,r,n);for(i=0,a=n.length;i{"use strict";function formatError(e,t){var r="",n=e.reason||"(unknown reason)";if(!e.mark)return n;if(e.mark.name){r+='in "'+e.mark.name+'" '}r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")";if(!t&&e.mark.snippet){r+="\n\n"+e.mark.snippet}return n+" "+r}function YAMLException(e,t){Error.call(this);this.name="YAMLException";this.reason=e;this.mark=t;this.message=formatError(this,false);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack||""}}YAMLException.prototype=Object.create(Error.prototype);YAMLException.prototype.constructor=YAMLException;YAMLException.prototype.toString=function toString(e){return this.name+": "+formatError(this,e)};e.exports=YAMLException},1161:(e,t,r)=>{"use strict";var n=r(6829);var i=r(8179);var a=r(6975);var o=r(8759);var s=Object.prototype.hasOwnProperty;var u=1;var l=2;var d=3;var f=4;var c=1;var p=2;var h=3;var m=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var $=/[\x85\u2028\u2029]/;var v=/[,\[\]\{\}]/;var g=/^(?:!|!!|![a-z\-]+!)$/i;var _=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function _class(e){return Object.prototype.toString.call(e)}function is_EOL(e){return e===10||e===13}function is_WHITE_SPACE(e){return e===9||e===32}function is_WS_OR_EOL(e){return e===9||e===32||e===10||e===13}function is_FLOW_INDICATOR(e){return e===44||e===91||e===93||e===123||e===125}function fromHexCode(e){var t;if(48<=e&&e<=57){return e-48}t=e|32;if(97<=t&&t<=102){return t-97+10}return-1}function escapedHexLen(e){if(e===120){return 2}if(e===117){return 4}if(e===85){return 8}return 0}function fromDecimalCode(e){if(48<=e&&e<=57){return e-48}return-1}function simpleEscapeSequence(e){return e===48?"\0":e===97?"":e===98?"\b":e===116?"\t":e===9?"\t":e===110?"\n":e===118?"\v":e===102?"\f":e===114?"\r":e===101?"":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"…":e===95?" ":e===76?"\u2028":e===80?"\u2029":""}function charFromCodepoint(e){if(e<=65535){return String.fromCharCode(e)}return String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}var y=new Array(256);var b=new Array(256);for(var I=0;I<256;I++){y[I]=simpleEscapeSequence(I)?1:0;b[I]=simpleEscapeSequence(I)}function State(e,t){this.input=e;this.filename=t["filename"]||null;this.schema=t["schema"]||o;this.onWarning=t["onWarning"]||null;this.legacy=t["legacy"]||false;this.json=t["json"]||false;this.listener=t["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=e.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.firstTabInLine=-1;this.documents=[]}function generateError(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};r.snippet=a(r);return new i(t,r)}function throwError(e,t){throw generateError(e,t)}function throwWarning(e,t){if(e.onWarning){e.onWarning.call(null,generateError(e,t))}}var N={YAML:function handleYamlDirective(e,t,r){var n,i,a;if(e.version!==null){throwError(e,"duplication of %YAML directive")}if(r.length!==1){throwError(e,"YAML directive accepts exactly one argument")}n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]);if(n===null){throwError(e,"ill-formed argument of the YAML directive")}i=parseInt(n[1],10);a=parseInt(n[2],10);if(i!==1){throwError(e,"unacceptable YAML version of the document")}e.version=r[0];e.checkLineBreaks=a<2;if(a!==1&&a!==2){throwWarning(e,"unsupported YAML version of the document")}},TAG:function handleTagDirective(e,t,r){var n,i;if(r.length!==2){throwError(e,"TAG directive accepts exactly two arguments")}n=r[0];i=r[1];if(!g.test(n)){throwError(e,"ill-formed tag handle (first argument) of the TAG directive")}if(s.call(e.tagMap,n)){throwError(e,'there is a previously declared suffix for "'+n+'" tag handle')}if(!_.test(i)){throwError(e,"ill-formed tag prefix (second argument) of the TAG directive")}try{i=decodeURIComponent(i)}catch(t){throwError(e,"tag prefix is malformed: "+i)}e.tagMap[n]=i}};function captureSegment(e,t,r,n){var i,a,o,s;if(t1){e.result+=n.repeat("\n",t-1)}}function readPlainScalar(e,t,r){var n,i,a,o,s,u,l,d,f=e.kind,c=e.result,p;p=e.input.charCodeAt(e.position);if(is_WS_OR_EOL(p)||is_FLOW_INDICATOR(p)||p===35||p===38||p===42||p===33||p===124||p===62||p===39||p===34||p===37||p===64||p===96){return false}if(p===63||p===45){i=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(i)||r&&is_FLOW_INDICATOR(i)){return false}}e.kind="scalar";e.result="";a=o=e.position;s=false;while(p!==0){if(p===58){i=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(i)||r&&is_FLOW_INDICATOR(i)){break}}else if(p===35){n=e.input.charCodeAt(e.position-1);if(is_WS_OR_EOL(n)){break}}else if(e.position===e.lineStart&&testDocumentSeparator(e)||r&&is_FLOW_INDICATOR(p)){break}else if(is_EOL(p)){u=e.line;l=e.lineStart;d=e.lineIndent;skipSeparationSpace(e,false,-1);if(e.lineIndent>=t){s=true;p=e.input.charCodeAt(e.position);continue}else{e.position=o;e.line=u;e.lineStart=l;e.lineIndent=d;break}}if(s){captureSegment(e,a,o,false);writeFoldedLines(e,e.line-u);a=o=e.position;s=false}if(!is_WHITE_SPACE(p)){o=e.position+1}p=e.input.charCodeAt(++e.position)}captureSegment(e,a,o,false);if(e.result){return true}e.kind=f;e.result=c;return false}function readSingleQuotedScalar(e,t){var r,n,i;r=e.input.charCodeAt(e.position);if(r!==39){return false}e.kind="scalar";e.result="";e.position++;n=i=e.position;while((r=e.input.charCodeAt(e.position))!==0){if(r===39){captureSegment(e,n,e.position,true);r=e.input.charCodeAt(++e.position);if(r===39){n=e.position;e.position++;i=e.position}else{return true}}else if(is_EOL(r)){captureSegment(e,n,i,true);writeFoldedLines(e,skipSeparationSpace(e,false,t));n=i=e.position}else if(e.position===e.lineStart&&testDocumentSeparator(e)){throwError(e,"unexpected end of the document within a single quoted scalar")}else{e.position++;i=e.position}}throwError(e,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(e,t){var r,n,i,a,o,s;s=e.input.charCodeAt(e.position);if(s!==34){return false}e.kind="scalar";e.result="";e.position++;r=n=e.position;while((s=e.input.charCodeAt(e.position))!==0){if(s===34){captureSegment(e,r,e.position,true);e.position++;return true}else if(s===92){captureSegment(e,r,e.position,true);s=e.input.charCodeAt(++e.position);if(is_EOL(s)){skipSeparationSpace(e,false,t)}else if(s<256&&y[s]){e.result+=b[s];e.position++}else if((o=escapedHexLen(s))>0){i=o;a=0;for(;i>0;i--){s=e.input.charCodeAt(++e.position);if((o=fromHexCode(s))>=0){a=(a<<4)+o}else{throwError(e,"expected hexadecimal character")}}e.result+=charFromCodepoint(a);e.position++}else{throwError(e,"unknown escape sequence")}r=n=e.position}else if(is_EOL(s)){captureSegment(e,r,n,true);writeFoldedLines(e,skipSeparationSpace(e,false,t));r=n=e.position}else if(e.position===e.lineStart&&testDocumentSeparator(e)){throwError(e,"unexpected end of the document within a double quoted scalar")}else{e.position++;n=e.position}}throwError(e,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(e,t){var r=true,n,i,a,o=e.tag,s,l=e.anchor,d,f,c,p,h,m=Object.create(null),$,v,g,_;_=e.input.charCodeAt(e.position);if(_===91){f=93;h=false;s=[]}else if(_===123){f=125;h=true;s={}}else{return false}if(e.anchor!==null){e.anchorMap[e.anchor]=s}_=e.input.charCodeAt(++e.position);while(_!==0){skipSeparationSpace(e,true,t);_=e.input.charCodeAt(e.position);if(_===f){e.position++;e.tag=o;e.anchor=l;e.kind=h?"mapping":"sequence";e.result=s;return true}else if(!r){throwError(e,"missed comma between flow collection entries")}else if(_===44){throwError(e,"expected the node content, but found ','")}v=$=g=null;c=p=false;if(_===63){d=e.input.charCodeAt(e.position+1);if(is_WS_OR_EOL(d)){c=p=true;e.position++;skipSeparationSpace(e,true,t)}}n=e.line;i=e.lineStart;a=e.position;composeNode(e,t,u,false,true);v=e.tag;$=e.result;skipSeparationSpace(e,true,t);_=e.input.charCodeAt(e.position);if((p||e.line===n)&&_===58){c=true;_=e.input.charCodeAt(++e.position);skipSeparationSpace(e,true,t);composeNode(e,t,u,false,true);g=e.result}if(h){storeMappingPair(e,s,m,v,$,g,n,i,a)}else if(c){s.push(storeMappingPair(e,null,m,v,$,g,n,i,a))}else{s.push($)}skipSeparationSpace(e,true,t);_=e.input.charCodeAt(e.position);if(_===44){r=true;_=e.input.charCodeAt(++e.position)}else{r=false}}throwError(e,"unexpected end of the stream within a flow collection")}function readBlockScalar(e,t){var r,i,a=c,o=false,s=false,u=t,l=0,d=false,f,m;m=e.input.charCodeAt(e.position);if(m===124){i=false}else if(m===62){i=true}else{return false}e.kind="scalar";e.result="";while(m!==0){m=e.input.charCodeAt(++e.position);if(m===43||m===45){if(c===a){a=m===43?h:p}else{throwError(e,"repeat of a chomping mode identifier")}}else if((f=fromDecimalCode(m))>=0){if(f===0){throwError(e,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!s){u=t+f-1;s=true}else{throwError(e,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(m)){do{m=e.input.charCodeAt(++e.position)}while(is_WHITE_SPACE(m));if(m===35){do{m=e.input.charCodeAt(++e.position)}while(!is_EOL(m)&&m!==0)}}while(m!==0){readLineBreak(e);e.lineIndent=0;m=e.input.charCodeAt(e.position);while((!s||e.lineIndentu){u=e.lineIndent}if(is_EOL(m)){l++;continue}if(e.lineIndentt)&&u!==0){throwError(e,"bad indentation of a sequence entry")}else if(e.lineIndentt){if(g){o=e.line;s=e.lineStart;u=e.position}if(composeNode(e,t,f,true,i)){if(g){$=e.result}else{v=e.result}}if(!g){storeMappingPair(e,p,h,m,$,v,o,s,u);m=$=v=null}skipSeparationSpace(e,true,-1);y=e.input.charCodeAt(e.position)}if((e.line===a||e.lineIndent>t)&&y!==0){throwError(e,"bad indentation of a mapping entry")}else if(e.lineIndentt){p=1}else if(e.lineIndent===t){p=0}else if(e.lineIndentt){p=1}else if(e.lineIndent===t){p=0}else if(e.lineIndent tag; it should be "scalar", not "'+e.kind+'"')}for($=0,v=e.implicitTypes.length;$")}if(e.result!==null&&_.kind!==e.kind){throwError(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+_.kind+'", not "'+e.kind+'"')}if(!_.resolve(e.result,e.tag)){throwError(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}else{e.result=_.construct(e.result,e.tag);if(e.anchor!==null){e.anchorMap[e.anchor]=e.result}}}if(e.listener!==null){e.listener("close",e)}return e.tag!==null||e.anchor!==null||m}function readDocument(e){var t=e.position,r,n,i,a=false,o;e.version=null;e.checkLineBreaks=e.legacy;e.tagMap=Object.create(null);e.anchorMap=Object.create(null);while((o=e.input.charCodeAt(e.position))!==0){skipSeparationSpace(e,true,-1);o=e.input.charCodeAt(e.position);if(e.lineIndent>0||o!==37){break}a=true;o=e.input.charCodeAt(++e.position);r=e.position;while(o!==0&&!is_WS_OR_EOL(o)){o=e.input.charCodeAt(++e.position)}n=e.input.slice(r,e.position);i=[];if(n.length<1){throwError(e,"directive name must not be less than one character in length")}while(o!==0){while(is_WHITE_SPACE(o)){o=e.input.charCodeAt(++e.position)}if(o===35){do{o=e.input.charCodeAt(++e.position)}while(o!==0&&!is_EOL(o));break}if(is_EOL(o))break;r=e.position;while(o!==0&&!is_WS_OR_EOL(o)){o=e.input.charCodeAt(++e.position)}i.push(e.input.slice(r,e.position))}if(o!==0)readLineBreak(e);if(s.call(N,n)){N[n](e,n,i)}else{throwWarning(e,'unknown document directive "'+n+'"')}}skipSeparationSpace(e,true,-1);if(e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45){e.position+=3;skipSeparationSpace(e,true,-1)}else if(a){throwError(e,"directives end mark is expected")}composeNode(e,e.lineIndent-1,f,false,true);skipSeparationSpace(e,true,-1);if(e.checkLineBreaks&&$.test(e.input.slice(t,e.position))){throwWarning(e,"non-ASCII line breaks are interpreted as content")}e.documents.push(e.result);if(e.position===e.lineStart&&testDocumentSeparator(e)){if(e.input.charCodeAt(e.position)===46){e.position+=3;skipSeparationSpace(e,true,-1)}return}if(e.position{"use strict";var n=r(8179);var i=r(6073);function compileList(e,t){var r=[];e[t].forEach((function(e){var t=r.length;r.forEach((function(r,n){if(r.tag===e.tag&&r.kind===e.kind&&r.multi===e.multi){t=n}}));r[t]=e}));return r}function compileMap(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function collectType(t){if(t.multi){e.multi[t.kind].push(t);e.multi["fallback"].push(t)}else{e[t.kind][t.tag]=e["fallback"][t.tag]=t}}for(t=0,r=arguments.length;t{"use strict";e.exports=r(1035)},8759:(e,t,r)=>{"use strict";e.exports=r(2011).extend({implicit:[r(9212),r(6104)],explicit:[r(1581),r(9046),r(6860),r(9548)]})},8562:(e,t,r)=>{"use strict";var n=r(1082);e.exports=new n({explicit:[r(3619),r(7283),r(6150)]})},1035:(e,t,r)=>{"use strict";e.exports=r(8562).extend({implicit:[r(721),r(4993),r(1615),r(2705)]})},6975:(e,t,r)=>{"use strict";var n=r(6829);function getLine(e,t,r,n,i){var a="";var o="";var s=Math.floor(i/2)-1;if(n-t>s){a=" ... ";t=n-s+a.length}if(r-n>s){o=" ...";r=n+s-o.length}return{str:a+e.slice(t,r).replace(/\t/g,"→")+o,pos:n-t+a.length}}function padStart(e,t){return n.repeat(" ",t-e.length)+e}function makeSnippet(e,t){t=Object.create(t||null);if(!e.buffer)return null;if(!t.maxLength)t.maxLength=79;if(typeof t.indent!=="number")t.indent=1;if(typeof t.linesBefore!=="number")t.linesBefore=3;if(typeof t.linesAfter!=="number")t.linesAfter=2;var r=/\r?\n|\r|\0/g;var i=[0];var a=[];var o;var s=-1;while(o=r.exec(e.buffer)){a.push(o.index);i.push(o.index+o[0].length);if(e.position<=o.index&&s<0){s=i.length-2}}if(s<0)s=i.length-1;var u="",l,d;var f=Math.min(e.line+t.linesAfter,a.length).toString().length;var c=t.maxLength-(t.indent+f+3);for(l=1;l<=t.linesBefore;l++){if(s-l<0)break;d=getLine(e.buffer,i[s-l],a[s-l],e.position-(i[s]-i[s-l]),c);u=n.repeat(" ",t.indent)+padStart((e.line-l+1).toString(),f)+" | "+d.str+"\n"+u}d=getLine(e.buffer,i[s],a[s],e.position,c);u+=n.repeat(" ",t.indent)+padStart((e.line+1).toString(),f)+" | "+d.str+"\n";u+=n.repeat("-",t.indent+f+3+d.pos)+"^"+"\n";for(l=1;l<=t.linesAfter;l++){if(s+l>=a.length)break;d=getLine(e.buffer,i[s+l],a[s+l],e.position-(i[s]-i[s+l]),c);u+=n.repeat(" ",t.indent)+padStart((e.line+l+1).toString(),f)+" | "+d.str+"\n"}return u.replace(/\n$/,"")}e.exports=makeSnippet},6073:(e,t,r)=>{"use strict";var n=r(8179);var i=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"];var a=["scalar","sequence","mapping"];function compileStyleAliases(e){var t={};if(e!==null){Object.keys(e).forEach((function(r){e[r].forEach((function(e){t[String(e)]=r}))}))}return t}function Type(e,t){t=t||{};Object.keys(t).forEach((function(t){if(i.indexOf(t)===-1){throw new n('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}}));this.options=t;this.tag=e;this.kind=t["kind"]||null;this.resolve=t["resolve"]||function(){return true};this.construct=t["construct"]||function(e){return e};this.instanceOf=t["instanceOf"]||null;this.predicate=t["predicate"]||null;this.represent=t["represent"]||null;this.representName=t["representName"]||null;this.defaultStyle=t["defaultStyle"]||null;this.multi=t["multi"]||false;this.styleAliases=compileStyleAliases(t["styleAliases"]||null);if(a.indexOf(this.kind)===-1){throw new n('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}}e.exports=Type},1581:(e,t,r)=>{"use strict";var n=r(6073);var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function resolveYamlBinary(e){if(e===null)return false;var t,r,n=0,a=e.length,o=i;for(r=0;r64)continue;if(t<0)return false;n+=6}return n%8===0}function constructYamlBinary(e){var t,r,n=e.replace(/[\r\n=]/g,""),a=n.length,o=i,s=0,u=[];for(t=0;t>16&255);u.push(s>>8&255);u.push(s&255)}s=s<<6|o.indexOf(n.charAt(t))}r=a%4*6;if(r===0){u.push(s>>16&255);u.push(s>>8&255);u.push(s&255)}else if(r===18){u.push(s>>10&255);u.push(s>>2&255)}else if(r===12){u.push(s>>4&255)}return new Uint8Array(u)}function representYamlBinary(e){var t="",r=0,n,a,o=e.length,s=i;for(n=0;n>18&63];t+=s[r>>12&63];t+=s[r>>6&63];t+=s[r&63]}r=(r<<8)+e[n]}a=o%3;if(a===0){t+=s[r>>18&63];t+=s[r>>12&63];t+=s[r>>6&63];t+=s[r&63]}else if(a===2){t+=s[r>>10&63];t+=s[r>>4&63];t+=s[r<<2&63];t+=s[64]}else if(a===1){t+=s[r>>2&63];t+=s[r<<4&63];t+=s[64];t+=s[64]}return t}function isBinary(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}e.exports=new n("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})},4993:(e,t,r)=>{"use strict";var n=r(6073);function resolveYamlBoolean(e){if(e===null)return false;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function constructYamlBoolean(e){return e==="true"||e==="True"||e==="TRUE"}function isBoolean(e){return Object.prototype.toString.call(e)==="[object Boolean]"}e.exports=new n("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"})},2705:(e,t,r)=>{"use strict";var n=r(6829);var i=r(6073);var a=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(e){if(e===null)return false;if(!a.test(e)||e[e.length-1]==="_"){return false}return true}function constructYamlFloat(e){var t,r;t=e.replace(/_/g,"").toLowerCase();r=t[0]==="-"?-1:1;if("+-".indexOf(t[0])>=0){t=t.slice(1)}if(t===".inf"){return r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(t===".nan"){return NaN}return r*parseFloat(t,10)}var o=/^[-+]?[0-9]+e/;function representYamlFloat(e,t){var r;if(isNaN(e)){switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===e){switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===e){switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(n.isNegativeZero(e)){return"-0.0"}r=e.toString(10);return o.test(r)?r.replace("e",".e"):r}function isFloat(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||n.isNegativeZero(e))}e.exports=new i("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"})},1615:(e,t,r)=>{"use strict";var n=r(6829);var i=r(6073);function isHexCode(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function isOctCode(e){return 48<=e&&e<=55}function isDecCode(e){return 48<=e&&e<=57}function resolveYamlInteger(e){if(e===null)return false;var t=e.length,r=0,n=false,i;if(!t)return false;i=e[r];if(i==="-"||i==="+"){i=e[++r]}if(i==="0"){if(r+1===t)return true;i=e[++r];if(i==="b"){r++;for(;r=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},6150:(e,t,r)=>{"use strict";var n=r(6073);e.exports=new n("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}})},6104:(e,t,r)=>{"use strict";var n=r(6073);function resolveYamlMerge(e){return e==="<<"||e===null}e.exports=new n("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge})},721:(e,t,r)=>{"use strict";var n=r(6073);function resolveYamlNull(e){if(e===null)return true;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function constructYamlNull(){return null}function isNull(e){return e===null}e.exports=new n("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})},9046:(e,t,r)=>{"use strict";var n=r(6073);var i=Object.prototype.hasOwnProperty;var a=Object.prototype.toString;function resolveYamlOmap(e){if(e===null)return true;var t=[],r,n,o,s,u,l=e;for(r=0,n=l.length;r{"use strict";var n=r(6073);var i=Object.prototype.toString;function resolveYamlPairs(e){if(e===null)return true;var t,r,n,a,o,s=e;o=new Array(s.length);for(t=0,r=s.length;t{"use strict";var n=r(6073);e.exports=new n("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}})},9548:(e,t,r)=>{"use strict";var n=r(6073);var i=Object.prototype.hasOwnProperty;function resolveYamlSet(e){if(e===null)return true;var t,r=e;for(t in r){if(i.call(r,t)){if(r[t]!==null)return false}}return true}function constructYamlSet(e){return e!==null?e:{}}e.exports=new n("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet,construct:constructYamlSet})},3619:(e,t,r)=>{"use strict";var n=r(6073);e.exports=new n("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}})},9212:(e,t,r)=>{"use strict";var n=r(6073);var i=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9])"+"-([0-9][0-9])$");var a=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9]?)"+"-([0-9][0-9]?)"+"(?:[Tt]|[ \\t]+)"+"([0-9][0-9]?)"+":([0-9][0-9])"+":([0-9][0-9])"+"(?:\\.([0-9]*))?"+"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)"+"(?::([0-9][0-9]))?))?$");function resolveYamlTimestamp(e){if(e===null)return false;if(i.exec(e)!==null)return true;if(a.exec(e)!==null)return true;return false}function constructYamlTimestamp(e){var t,r,n,o,s,u,l,d=0,f=null,c,p,h;t=i.exec(e);if(t===null)t=a.exec(e);if(t===null)throw new Error("Date resolve error");r=+t[1];n=+t[2]-1;o=+t[3];if(!t[4]){return new Date(Date.UTC(r,n,o))}s=+t[4];u=+t[5];l=+t[6];if(t[7]){d=t[7].slice(0,3);while(d.length<3){d+="0"}d=+d}if(t[9]){c=+t[10];p=+(t[11]||0);f=(c*60+p)*6e4;if(t[9]==="-")f=-f}h=new Date(Date.UTC(r,n,o,s,u,l,d));if(f)h.setTime(h.getTime()-f);return h}function representYamlTimestamp(e){return e.toISOString()}e.exports=new n("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp})},4838:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(7989));var i=_interopRequireDefault(r(1408));var a=_interopRequireDefault(r(4957));var o=_interopRequireWildcard(r(3328));var s=_interopRequireWildcard(r(5029));var u=_interopRequireDefault(r(6865));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};if(n.get||n.set){Object.defineProperty(t,r,n)}else{t[r]=e[r]}}}}t["default"]=e;return t}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(e,t){var r=[];var n=true;var i=false;var a=undefined;try{for(var o=e[Symbol.iterator](),s;!(n=(s=o.next()).done);n=true){r.push(s.value);if(t&&r.length===t)break}}catch(e){i=true;a=e}finally{try{if(!n&&o["return"]!=null)o["return"]()}finally{if(i)throw a}}return r}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(e,t){for(var r=0;r1}},{key:"determineTheCountry",value:function determineTheCountry(){this.state.setCountry((0,u["default"])(this.isInternational()?this.state.callingCode:this.defaultCallingCode,this.state.nationalSignificantNumber,this.metadata))}},{key:"getNumberValue",value:function getNumberValue(){var e=this.state,t=e.digits,r=e.callingCode,n=e.country,i=e.nationalSignificantNumber;if(!t){return}if(this.isInternational()){if(r){return"+"+r+i}else{return"+"+t}}else{if(n||r){var a=n?this.metadata.countryCallingCode():r;return"+"+a+i}}}},{key:"getNumber",value:function getNumber(){var e=this.state,t=e.nationalSignificantNumber,r=e.carrierCode,n=e.callingCode;var a=this._getCountry();if(!t){return}if(!a&&!n){return}var o=new i["default"](a||n,t,this.metadata.metadata);if(r){o.carrierCode=r}return o}},{key:"isPossible",value:function isPossible(){var e=this.getNumber();if(!e){return false}return e.isPossible()}},{key:"isValid",value:function isValid(){var e=this.getNumber();if(!e){return false}return e.isValid()}},{key:"getNationalNumber",value:function getNationalNumber(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function getChars(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function getTemplate(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}]);return AsYouType}();t["default"]=d},8609:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(e,t){for(var r=0;r1&&arguments[1]!==undefined?arguments[1]:{},r=t.allowOverflow;if(!e){throw new Error("String is required")}var n=_match(e.split(""),this.matchTree,true);if(n&&n.match){delete n.matchedChars}if(n&&n.overflow){if(!r){return}}return n}}]);return PatternMatcher}();t["default"]=r;function _match(e,t,r){if(typeof t==="string"){if(r){if(e.length>t.length){return{overflow:true}}}var n=e.join("");if(t.indexOf(n)===0){if(e.length===t.length){return{match:true,matchedChars:e}}return{partialMatch:true}}if(n.indexOf(t)===0){return{match:true,matchedChars:e.slice(0,t.length)}}return}if(Array.isArray(t)){var i=e.slice();var a=0;while(a=l.length)break;c=l[f++]}else{f=l.next();if(f.done)break;c=f.value}var p=c;var h=_match(e,p,r);if(h){if(h.overflow){return h}else if(h.match){return{match:true,matchedChars:h.matchedChars}}else{if(h.partialMatch){u=true}else{throw new Error("Unsupported match result:\n".concat(JSON.stringify(h,null,2)))}}}}if(u){return{partialMatch:true}}return;case"[]":for(var m=t.args,$=Array.isArray(m),v=0,m=$?m:m[Symbol.iterator]();;){var g;if($){if(v>=m.length)break;g=m[v++]}else{v=m.next();if(v.done)break;g=v.value}var _=g;if(e[0]===_){if(e.length===1){return{match:true,matchedChars:e}}if(r){return{overflow:true}}return{match:true,matchedChars:[_]}}}return;default:throw new Error("Unsupported instruction tree: ".concat(t))}}var n=new RegExp("("+"\\|"+"|"+"\\(\\?\\:"+"|"+"\\)"+"|"+"\\["+"|"+"\\]"+")");var i=/[\(\)\[\]\?\:\|]/;var a=function(){function PatternParser(){_classCallCheck(this,PatternParser)}_createClass(PatternParser,[{key:"parse",value:function parse(e){this.context=[{or:true,instructions:[]}];this.parsePattern(e);if(this.context.length!==1){throw new Error("Non-finalized contexts left when pattern parse ended")}var t=this.context[0],r=t.branches,n=t.instructions;if(r){return[{op:"|",args:r.concat([n])}]}if(n.length===0){throw new Error("Pattern is required")}return n}},{key:"startContext",value:function startContext(e){this.context.push(e)}},{key:"endContext",value:function endContext(){this.context.pop()}},{key:"getContext",value:function getContext(){return this.context[this.context.length-1]}},{key:"parsePattern",value:function parsePattern(e){if(!e){throw new Error("Pattern is required")}var t=e.match(n);if(!t){if(i.test(e)){throw new Error("Illegal characters found in a pattern: ".concat(e))}this.getContext().instructions=this.getContext().instructions.concat(e.split(""));return}var r=t[1];var a=e.slice(0,t.index);var o=e.slice(t.index+r.length);switch(r){case"(?:":if(a){this.parsePattern(a)}this.startContext({or:true,instructions:[],branches:[]});break;case")":if(!this.getContext().or){throw new Error('")" operator must be preceded by "(?:" operator')}if(a){this.parsePattern(a)}if(this.getContext().instructions.length===0){throw new Error('No instructions found after "|" operator in an "or" group')}var s=this.getContext(),u=s.branches;u.push(this.getContext().instructions);this.endContext();this.getContext().instructions.push({op:"|",args:u});break;case"|":if(!this.getContext().or){throw new Error('"|" operator can only be used inside "or" groups')}if(a){this.parsePattern(a)}if(!this.getContext().branches){if(this.context.length===1){this.getContext().branches=[]}else{throw new Error('"branches" not found in an "or" group context')}}this.getContext().branches.push(this.getContext().instructions);this.getContext().instructions=[];break;case"[":if(a){this.parsePattern(a)}this.startContext({oneOfSet:true});break;case"]":if(!this.getContext().oneOfSet){throw new Error('"]" operator must be preceded by "[" operator')}this.endContext();this.getContext().instructions.push({op:"[]",args:parseOneOfSet(a)});break;default:throw new Error("Unknown operator: ".concat(r))}if(o){this.parsePattern(o)}}}]);return PatternParser}();function parseOneOfSet(e){var t=[];var r=0;while(r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=formatCompleteNumber;t.canFormatCompleteNumber=canFormatCompleteNumber;var n=_interopRequireDefault(r(2477));var i=_interopRequireDefault(r(3876));var a=_interopRequireDefault(r(6371));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function formatCompleteNumber(e,t,r){var n=r.metadata,i=r.shouldTryNationalPrefixFormattingRule,a=r.getSeparatorAfterNationalPrefix;var o=new RegExp("^(?:".concat(t.pattern(),")$"));if(o.test(e.nationalSignificantNumber)){return formatNationalNumberWithAndWithoutNationalPrefixFormattingRule(e,t,{metadata:n,shouldTryNationalPrefixFormattingRule:i,getSeparatorAfterNationalPrefix:a})}}function canFormatCompleteNumber(e,t){return(0,n["default"])(e,t)==="IS_POSSIBLE"}function formatNationalNumberWithAndWithoutNationalPrefixFormattingRule(e,t,r){var n=r.metadata,i=r.shouldTryNationalPrefixFormattingRule,a=r.getSeparatorAfterNationalPrefix;var o=e.nationalSignificantNumber,s=e.international,u=e.nationalPrefix,l=e.carrierCode;if(i(t)){var d=formatNationalNumber(e,t,{useNationalPrefixFormattingRule:true,getSeparatorAfterNationalPrefix:a,metadata:n});if(d){return d}}return formatNationalNumber(e,t,{useNationalPrefixFormattingRule:false,getSeparatorAfterNationalPrefix:a,metadata:n})}function formatNationalNumber(e,t,r){var n=r.metadata,i=r.useNationalPrefixFormattingRule,o=r.getSeparatorAfterNationalPrefix;var s=(0,a["default"])(e.nationalSignificantNumber,t,{carrierCode:e.carrierCode,useInternationalFormat:e.international,withNationalPrefix:i,metadata:n});if(!i){if(e.nationalPrefix){s=e.nationalPrefix+o(t)+s}else if(e.complexPrefixBeforeNationalSignificantNumber){s=e.complexPrefixBeforeNationalSignificantNumber+" "+s}}if(isValidFormattedNationalNumber(s,e)){return s}}function isValidFormattedNationalNumber(e,t){return(0,i["default"])(e)===t.getNationalDigits()}},3328:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"DIGIT_PLACEHOLDER",{enumerable:true,get:function get(){return n.DIGIT_PLACEHOLDER}});t["default"]=void 0;var n=r(4281);var i=_interopRequireWildcard(r(6010));var a=_interopRequireDefault(r(8609));var o=_interopRequireDefault(r(3876));var s=r(6371);var u=r(3269);var l=_interopRequireDefault(r(7265));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};if(n.get||n.set){Object.defineProperty(t,r,n)}else{t[r]=e[r]}}}}t["default"]=e;return t}}function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(e,t){for(var r=0;r=a.length)break;u=a[s++]}else{s=a.next();if(s.done)break;u=s.value}var format=u;var l=(0,i["default"])(t,format,{metadata:this.metadata,shouldTryNationalPrefixFormattingRule:function shouldTryNationalPrefixFormattingRule(e){return r.shouldTryNationalPrefixFormattingRule(e,{international:t.international,nationalPrefix:t.nationalPrefix})},getSeparatorAfterNationalPrefix:this.getSeparatorAfterNationalPrefix});if(l){this.resetFormat();this.chosenFormat=format;this.setNationalNumberTemplate(l.replace(/\d/g,n.DIGIT_PLACEHOLDER),t);this.populatedNationalNumberTemplate=l;this.populatedNationalNumberTemplatePosition=this.template.lastIndexOf(n.DIGIT_PLACEHOLDER);return l}}}return this.formatNationalNumberWithNextDigits(e,t)}},{key:"formatNationalNumberWithNextDigits",value:function formatNationalNumberWithNextDigits(e,t){var r=this.chosenFormat;var n=this.chooseFormat(t);if(n){if(n===r){return this.formatNextNationalNumberDigits(e)}else{return this.formatNextNationalNumberDigits(t.getNationalDigits())}}}},{key:"narrowDownMatchingFormats",value:function narrowDownMatchingFormats(e){var t=this;var r=e.nationalSignificantNumber,n=e.nationalPrefix,i=e.international;var a=r;var o=a.length-g;if(o<0){o=0}this.matchingFormats=this.matchingFormats.filter((function(e){return t.formatSuits(e,i,n)&&t.formatMatches(e,a,o)}));if(this.chosenFormat&&this.matchingFormats.indexOf(this.chosenFormat)===-1){this.resetFormat()}}},{key:"formatSuits",value:function formatSuits(e,t,r){if(r&&!e.usesNationalPrefix()&&!e.nationalPrefixIsOptionalWhenFormattingInNationalFormat()){return false}if(!t&&!r&&e.nationalPrefixIsMandatoryWhenFormattingInNationalFormat()){return false}return true}},{key:"formatMatches",value:function formatMatches(e,t,r){var n=e.leadingDigitsPatterns().length;if(n===0){return true}r=Math.min(r,n-1);var i=e.leadingDigitsPatterns()[r];if(t.length=n.length)return"break";o=n[a++]}else{a=n.next();if(a.done)return"break";o=a.value}var r=o;if(t.chosenFormat===r){return"break"}if(!v.test(t.getFormatFormat(r,e.international))){return"continue"}if(!t.createTemplateForFormat(r,e)){t.matchingFormats=t.matchingFormats.filter((function(e){return e!==r}));return"continue"}t.chosenFormat=r;return"break"};e:for(var n=this.matchingFormats.slice(),i=Array.isArray(n),a=0,n=i?n:n[Symbol.iterator]();;){var o;var s=r();switch(s){case"break":break e;case"continue":continue}}if(!this.chosenFormat){this.resetFormat()}return this.chosenFormat}},{key:"createTemplateForFormat",value:function createTemplateForFormat(e,t){if(h&&e.pattern().indexOf("|")>=0){return}var r=this.getTemplateForFormat(e,t);if(r){this.setNationalNumberTemplate(r,t);return true}}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function getInternationalPrefixBeforeCountryCallingCode(e,t){var r=e.IDDPrefix,n=e.missingPlus;if(r){return t&&t.spacing===false?r:r+" "}if(n){return""}return"+"}},{key:"getTemplate",value:function getTemplate(e){if(!this.template){return}var t=-1;var r=0;var i=e.international?this.getInternationalPrefixBeforeCountryCallingCode(e,{spacing:false}):"";while(rp.length){return}var v=new RegExp("^"+f+"$");var g=r.replace(/\d/g,d);if(v.test(g)){p=g}var _=this.getFormatFormat(e,i);var y;if(this.shouldTryNationalPrefixFormattingRule(e,{international:i,nationalPrefix:a})){var b=_.replace(s.FIRST_GROUP_PATTERN,e.nationalPrefixFormattingRule());if((0,o["default"])(e.nationalPrefixFormattingRule())===(a||"")+(0,o["default"])("$1")){_=b;y=true;if(a){var I=a.length;while(I>0){_=_.replace(/\d/,n.DIGIT_PLACEHOLDER);I--}}}}var N=p.replace(new RegExp(f),_).replace(new RegExp(d,"g"),n.DIGIT_PLACEHOLDER);if(!y){if(u){N=(0,n.repeat)(n.DIGIT_PLACEHOLDER,u.length)+" "+N}else if(a){N=(0,n.repeat)(n.DIGIT_PLACEHOLDER,a.length)+this.getSeparatorAfterNationalPrefix(e)+N}}if(i){N=(0,l["default"])(N)}return N}},{key:"formatNextNationalNumberDigits",value:function formatNextNationalNumberDigits(e){var t=(0,n.populateTemplateWithDigits)(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,e);if(!t){this.resetFormat();return}this.populatedNationalNumberTemplate=t[0];this.populatedNationalNumberTemplatePosition=t[1];return(0,n.cutAndStripNonPairedParens)(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)}}]);return AsYouTypeFormatter}();t["default"]=_},4281:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.countOccurences=countOccurences;t.repeat=repeat;t.cutAndStripNonPairedParens=cutAndStripNonPairedParens;t.closeNonPairedParens=closeNonPairedParens;t.stripNonPairedParens=stripNonPairedParens;t.populateTemplateWithDigits=populateTemplateWithDigits;t.DIGIT_PLACEHOLDER=void 0;var r="x";t.DIGIT_PLACEHOLDER=r;var n=new RegExp(r);function countOccurences(e,t){var r=0;for(var n=t.split(""),i=Array.isArray(n),a=0,n=i?n:n[Symbol.iterator]();;){var o;if(i){if(a>=n.length)break;o=n[a++]}else{a=n.next();if(a.done)break;o=a.value}var s=o;if(s===e){r++}}return r}function repeat(e,t){if(t<1){return""}var r="";while(t>1){if(t&1){r+=e}t>>=1;e+=e}return r+e}function cutAndStripNonPairedParens(e,t){if(e[t]===")"){t++}return stripNonPairedParens(e.slice(0,t))}function closeNonPairedParens(e,t){var r=e.slice(0,t);var n=countOccurences("(",r);var i=countOccurences(")",r);var a=n-i;while(a>0&&t=i.length)break;s=i[o++]}else{o=i.next();if(o.done)break;s=o.value}var u=s;if(e.slice(t+1).search(n)<0){return}t=e.search(n);e=e.replace(n,u)}return[e,t]}},5029:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.extractFormattedDigitsAndPlus=extractFormattedDigitsAndPlus;t["default"]=void 0;var n=_interopRequireDefault(r(9291));var i=_interopRequireDefault(r(8146));var a=_interopRequireDefault(r(1821));var o=_interopRequireDefault(r(7608));var s=_interopRequireDefault(r(3876));var u=r(3269);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(e,t){var r=[];var n=true;var i=false;var a=undefined;try{for(var o=e[Symbol.iterator](),s;!(n=(s=o.next()).done);n=true){r.push(s.value);if(t&&r.length===t)break}}catch(e){i=true;a=e}finally{try{if(!n&&o["return"]!=null)o["return"]()}finally{if(i)throw a}}return r}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(e,t){for(var r=0;r=3;t.appendDigits(e);if(n){this.extractIddPrefix(t)}if(this.isWaitingForCountryCallingCode(t)){if(!this.extractCountryCallingCode(t)){return}}else{t.appendNationalSignificantNumberDigits(e)}if(!t.international){if(!this.hasExtractedNationalSignificantNumber){this.extractNationalSignificantNumber(t.getNationalDigits(),t.update)}}}},{key:"isWaitingForCountryCallingCode",value:function isWaitingForCountryCallingCode(e){var t=e.international,r=e.callingCode;return t&&!r}},{key:"extractCountryCallingCode",value:function extractCountryCallingCode(e){var t=(0,n["default"])("+"+e.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),r=t.countryCallingCode,i=t.number;if(r){e.setCallingCode(r);e.update({nationalSignificantNumber:i});return true}}},{key:"reset",value:function reset(e){if(e){this.hasSelectedNumberingPlan=true;var t=e._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=t&&p.test(t)}else{this.hasSelectedNumberingPlan=undefined;this.couldPossiblyExtractAnotherNationalSignificantNumber=undefined}}},{key:"extractNationalSignificantNumber",value:function extractNationalSignificantNumber(e,t){if(!this.hasSelectedNumberingPlan){return}var r=(0,a["default"])(e,this.metadata),n=r.nationalPrefix,i=r.nationalNumber,o=r.carrierCode;if(i===e){return}this.onExtractedNationalNumber(n,o,i,e,t);return true}},{key:"extractAnotherNationalSignificantNumber",value:function extractAnotherNationalSignificantNumber(e,t,r){if(!this.hasExtractedNationalSignificantNumber){return this.extractNationalSignificantNumber(e,r)}if(!this.couldPossiblyExtractAnotherNationalSignificantNumber){return}var n=(0,a["default"])(e,this.metadata),i=n.nationalPrefix,o=n.nationalNumber,s=n.carrierCode;if(o===t){return}this.onExtractedNationalNumber(i,s,o,e,r);return true}},{key:"onExtractedNationalNumber",value:function onExtractedNationalNumber(e,t,r,n,i){var a;var o;var s=n.lastIndexOf(r);if(s>=0&&s===n.length-r.length){o=true;var u=n.slice(0,s);if(u!==e){a=u}}i({nationalPrefix:e,carrierCode:t,nationalSignificantNumber:r,nationalSignificantNumberMatchesInput:o,complexPrefixBeforeNationalSignificantNumber:a});this.hasExtractedNationalSignificantNumber=true;this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function reExtractNationalSignificantNumber(e){if(this.extractAnotherNationalSignificantNumber(e.getNationalDigits(),e.nationalSignificantNumber,e.update)){return true}if(this.extractIddPrefix(e)){this.extractCallingCodeAndNationalSignificantNumber(e);return true}if(this.fixMissingPlus(e)){this.extractCallingCodeAndNationalSignificantNumber(e);return true}}},{key:"extractIddPrefix",value:function extractIddPrefix(e){var t=e.international,r=e.IDDPrefix,n=e.digits,i=e.nationalSignificantNumber;if(t||r){return}var a=(0,o["default"])(n,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(a!==undefined&&a!==n){e.update({IDDPrefix:n.slice(0,n.length-a.length)});this.startInternationalNumber(e);return true}}},{key:"fixMissingPlus",value:function fixMissingPlus(e){if(!e.international){var t=(0,i["default"])(e.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),r=t.countryCallingCode,n=t.number;if(r){e.update({missingPlus:true});this.startInternationalNumber(e);return true}}}},{key:"startInternationalNumber",value:function startInternationalNumber(e){e.startInternationalNumber();if(e.nationalSignificantNumber){e.resetNationalSignificantNumber();this.onNationalSignificantNumberChange();this.hasExtractedNationalSignificantNumber=undefined}}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function extractCallingCodeAndNationalSignificantNumber(e){if(this.extractCountryCallingCode(e)){this.extractNationalSignificantNumber(e.getNationalDigits(),e.update)}}}]);return AsYouTypeParser}();t["default"]=h;function extractFormattedPhoneNumber(e){var t=e.search(f);if(t<0){return}e=e.slice(t);var r;if(e[0]==="+"){r=true;e=e.slice("+".length)}e=e.replace(c,"");if(r){e="+"+e}return e}function _extractFormattedDigitsAndPlus(e){var t=extractFormattedPhoneNumber(e)||"";if(t[0]==="+"){return[t.slice("+".length),true]}return[t]}function extractFormattedDigitsAndPlus(e){var t=_extractFormattedDigitsAndPlus(e),r=_slicedToArray(t,2),n=r[0],i=r[1];if(!d.test(n)){n=""}return[n,i]}},4957:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(e,t){for(var r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}var r=function ParseError(e){_classCallCheck(this,ParseError);this.name=this.constructor.name;this.message=e;this.stack=new Error(e).stack};t["default"]=r;r.prototype=Object.create(Error.prototype);r.prototype.constructor=r},1408:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(7989));var i=_interopRequireDefault(r(5977));var a=_interopRequireDefault(r(3623));var o=_interopRequireDefault(r(7832));var s=_interopRequireDefault(r(4151));var u=_interopRequireDefault(r(4938));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectSpread(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(1408));var i=r(3269);var a=_interopRequireDefault(r(2660));var o=_interopRequireDefault(r(4599));var s=r(106);var u=r(2558);var l=_interopRequireDefault(r(7561));var d=_interopRequireDefault(r(4332));var f=_interopRequireDefault(r(3488));var c=_interopRequireWildcard(r(1637));var p=r(7989);var h=_interopRequireDefault(r(3199));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};if(n.get||n.set){Object.defineProperty(t,r,n)}else{t[r]=e[r]}}}}t["default"]=e;return t}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectSpread(e){for(var t=1;t0&&arguments[0]!==undefined?arguments[0]:"";var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var r=arguments.length>2?arguments[2]:undefined;_classCallCheck(this,PhoneNumberMatcher);_defineProperty(this,"state","NOT_READY");_defineProperty(this,"searchIndex",0);_defineProperty(this,"regExpCache",new o["default"](32));t=_objectSpread({},t,{defaultCallingCode:t.defaultCallingCode,defaultCountry:t.defaultCountry&&(0,p.isSupportedCountry)(t.defaultCountry,r)?t.defaultCountry:undefined,leniency:t.leniency||t.extended?"POSSIBLE":"VALID",maxTries:t.maxTries||C});if(!t.leniency){throw new TypeError("`Leniency` not supplied")}if(t.maxTries<0){throw new TypeError("`maxTries` not supplied")}this.text=e;this.options=t;this.metadata=r;this.leniency=l["default"][t.leniency];if(!this.leniency){throw new TypeError("Unknown leniency: ".concat(t.leniency,"."))}this.maxTries=t.maxTries;this.PATTERN=new RegExp(N,"ig")}_createClass(PhoneNumberMatcher,[{key:"find",value:function find(){var e;while(this.maxTries>0&&(e=this.PATTERN.exec(this.text))!==null){var t=e[0];var r=e.index;t=(0,d["default"])(t);if((0,f["default"])(t,r,this.text)){var i=this.parseAndVerify(t,r,this.text)||this.extractInnerMatch(t,r,this.text);if(i){if(this.options.v2){var a=new n["default"](i.country||i.countryCallingCode,i.phone,this.metadata);if(i.ext){a.ext=i.ext}return{startsAt:i.startsAt,endsAt:i.endsAt,number:a}}return i}}this.maxTries--}}},{key:"extractInnerMatch",value:function extractInnerMatch(e,t,r){for(var n=0,i=$;n0&&(u=l.exec(e))!==null){if(o){var d=(0,s.trimAfterFirstMatch)(S,e.slice(0,u.index));var f=this.parseAndVerify(d,t,r);if(f){return f}this.maxTries--;o=false}var c=(0,s.trimAfterFirstMatch)(S,u[1]);var p=e.indexOf(c,u.index);var h=this.parseAndVerify(c,t+p,r);if(h){return h}this.maxTries--}}}},{key:"parseAndVerify",value:function parseAndVerify(e,t,r){if(!(0,c["default"])(e,t,r,this.options.leniency)){return}var n=(0,h["default"])(e,{extended:true,defaultCountry:this.options.defaultCountry,defaultCallingCode:this.options.defaultCallingCode},this.metadata);if(!n.possible){return}if(this.leniency(n,e,this.metadata,this.regExpCache)){var i={startsAt:t,endsAt:t+e.length,phone:n.phone};if(n.country&&n.country!=="001"){i.country=n.country}else{i.countryCallingCode=n.countryCallingCode}if(n.ext){i.ext=n.ext}return i}}},{key:"hasNext",value:function hasNext(){if(this.state==="NOT_READY"){this.lastMatch=this.find();if(this.lastMatch){this.state="READY"}else{this.state="DONE"}}return this.state==="READY"}},{key:"next",value:function next(){if(!this.hasNext()){throw new Error("No next element")}var e=this.lastMatch;this.lastMatch=null;this.state="NOT_READY";return e}}]);return PhoneNumberMatcher}();t["default"]=E},3269:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.PLUS_CHARS=t.VALID_PUNCTUATION=t.WHITESPACE=t.VALID_DIGITS=t.MAX_LENGTH_COUNTRY_CODE=t.MAX_LENGTH_FOR_NSN=t.MIN_LENGTH_FOR_NSN=void 0;var r=2;t.MIN_LENGTH_FOR_NSN=r;var n=17;t.MAX_LENGTH_FOR_NSN=n;var i=3;t.MAX_LENGTH_COUNTRY_CODE=i;var a="0-90-9٠-٩۰-۹";t.VALID_DIGITS=a;var o="-‐-―−ー-";var s="//";var u="..";var l="  ­​⁠ ";t.WHITESPACE=l;var d="()()[]\\[\\]";var f="~⁓∼~";var c="".concat(o).concat(s).concat(u).concat(l).concat(d).concat(f);t.VALID_PUNCTUATION=c;var p="++";t.PLUS_CHARS=p},8629:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=findNumbers;var n=_interopRequireDefault(r(9003));var i=r(9652);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function findNumbers(){var e=(0,i.normalizeArguments)(arguments),t=e.text,r=e.options,a=e.metadata;return(0,n["default"])(t,r,a)}},4283:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;function _defineProperties(e,t){for(var r=0;r2&&arguments[2]!==undefined?arguments[2]:null;var n=arguments.length>3&&arguments[3]!==undefined?arguments[3]:null;_classCallCheck(this,Node);this.key=e;this.value=t;this.next=r;this.prev=n};var n=function(){function LRUCache(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:10;_classCallCheck(this,LRUCache);this.size=0;this.limit=e;this.head=null;this.tail=null;this.cache={}}_createClass(LRUCache,[{key:"put",value:function put(e,t){this.ensureLimit();if(!this.head){this.head=this.tail=new r(e,t)}else{var n=new r(e,t,this.head);this.head.prev=n;this.head=n}this.cache[e]=this.head;this.size++}},{key:"get",value:function get(e){if(this.cache[e]){var t=this.cache[e].value;this.remove(e);this.put(e,t);return t}console.log("Item not available in cache for key ".concat(e))}},{key:"ensureLimit",value:function ensureLimit(){if(this.size===this.limit){this.remove(this.tail.key)}}},{key:"remove",value:function remove(e){var t=this.cache[e];if(t.prev!==null){t.prev.next=t.next}else{this.head=t.next}if(t.next!==null){t.next.prev=t.prev}else{this.tail=t.prev}delete this.cache[e];this.size--}},{key:"clear",value:function clear(){this.head=null;this.tail=null;this.size=0;this.cache={}}}]);return LRUCache}();t["default"]=n},7561:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.containsMoreThanOneSlashInNationalNumber=containsMoreThanOneSlashInNationalNumber;t["default"]=void 0;var n=_interopRequireDefault(r(3623));var i=_interopRequireDefault(r(3876));var a=r(106);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var o={POSSIBLE:function POSSIBLE(e,t,r){return true},VALID:function VALID(e,t,r){if(!(0,n["default"])(e,undefined,r)||!containsOnlyValidXChars(e,t.toString(),r)){return false}return true},STRICT_GROUPING:function STRICT_GROUPING(e,t,r,i){var a=t.toString();if(!(0,n["default"])(e,undefined,r)||!containsOnlyValidXChars(e,a,r)||containsMoreThanOneSlashInNationalNumber(e,a)||!isNationalPrefixPresentIfRequired(e,r)){return false}return checkNumberGroupingIsValid(e,t,r,allNumberGroupsRemainGrouped,i)},EXACT_GROUPING:function EXACT_GROUPING(e,t,r,i){var a=t.toString();if(!(0,n["default"])(e,undefined,r)||!containsOnlyValidXChars(e,a,r)||containsMoreThanOneSlashInNationalNumber(e,a)||!isNationalPrefixPresentIfRequired(e,r)){return false}return checkNumberGroupingIsValid(e,t,r,allNumberGroupsAreExactlyPresent,i)}};t["default"]=o;function containsOnlyValidXChars(e,t,r){for(var n=0;n0){if(a.getNationalPrefixOptionalWhenFormatting()){return true}if(PhoneNumberUtil.formattingRuleHasFirstGroupOnly(a.getNationalPrefixFormattingRule())){return true}var o=PhoneNumberUtil.normalizeDigitsOnly(e.getRawInput());return util.maybeStripNationalPrefixAndCarrierCode(o,n,null)}return true}function containsMoreThanOneSlashInNationalNumber(e,t){var r=t.indexOf("/");if(r<0){return false}var n=t.indexOf("/",r+1);if(n<0){return false}var i=e.getCountryCodeSource()===CountryCodeSource.FROM_NUMBER_WITH_PLUS_SIGN||e.getCountryCodeSource()===CountryCodeSource.FROM_NUMBER_WITHOUT_PLUS_SIGN;if(i&&PhoneNumberUtil.normalizeDigitsOnly(t.substring(0,r))===String(e.getCountryCode())){return t.slice(n+1).indexOf("/")>=0}return true}function checkNumberGroupingIsValid(e,t,r,n,i){var a=normalizeDigits(t,true);var o=getNationalNumberGroups(r,e,null);if(n(r,e,a,o)){return true}var s=MetadataManager.getAlternateFormatsForCountry(e.getCountryCode());var u=util.getNationalSignificantNumber(e);if(s){for(var l=s.numberFormats(),d=Array.isArray(l),f=0,l=d?l:l[Symbol.iterator]();;){var c;if(d){if(f>=l.length)break;c=l[f++]}else{f=l.next();if(f.done)break;c=f.value}var p=c;if(p.leadingDigitsPatterns().length>0){var h=i.getPatternForRegExp("^"+p.leadingDigitsPatterns()[0]);if(!h.test(u)){continue}}o=getNationalNumberGroups(r,e,p);if(n(r,e,a,o)){return true}}}return false}function getNationalNumberGroups(e,t,r){if(r){var n=util.getNationalSignificantNumber(t);return util.formatNsnUsingPattern(n,r,"RFC3966",e).split("-")}var i=formatNumber(t,"RFC3966",e);var a=i.indexOf(";");if(a<0){a=i.length}var o=i.indexOf("-")+1;return i.slice(o,a).split("-")}function allNumberGroupsAreExactlyPresent(e,t,r,n){var i=r.split(NON_DIGITS_PATTERN);var o=t.hasExtension()?i.length-2:i.length-1;if(i.length==1||i[o].contains(util.getNationalSignificantNumber(t))){return true}var s=n.length-1;while(s>0&&o>=0){if(i[o]!==n[s]){return false}s--;o--}return o>=0&&(0,a.endsWith)(i[o],n[0])}function allNumberGroupsRemainGrouped(e,t,r,n){var i=0;if(t.getCountryCodeSource()!==CountryCodeSource.FROM_DEFAULT_COUNTRY){var o=String(t.getCountryCode());i=r.indexOf(o)+o.length()}for(var s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var n=_interopRequireDefault(r(4283));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(e,t){for(var r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isValidCandidate;t.LEAD_CLASS=void 0;var n=r(3269);var i=r(106);var a=r(2558);var o="(\\[([";var s=")\\])]";var u="[^".concat(o).concat(s,"]");var l="[".concat(o).concat(n.PLUS_CHARS,"]");t.LEAD_CLASS=l;var d=new RegExp("^"+l);var f=(0,i.limit)(0,3);var c=new RegExp("^"+"(?:["+o+"])?"+"(?:"+u+"+"+"["+s+"])?"+u+"+"+"(?:["+o+"]"+u+"+["+s+"])"+f+u+"*"+"$");var p=/\d{1,5}-+\d{1,5}\s{0,4}\(\d{1,4}/;function isValidCandidate(e,t,r,n){if(!c.test(e)||p.test(e)){return}if(n!=="POSSIBLE"){if(t>0&&!d.test(e)){var i=r[t-1];if((0,a.isInvalidPunctuationSymbol)(i)||(0,a.isLatinLetter)(i)){return false}}var o=t+e.length;if(o{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isValidPreCandidate;var r=/(?:(?:[0-3]?\d\/[01]?\d)|(?:[01]?\d\/[0-3]?\d))\/(?:[12]\d)?\d{2}/;var n=/[12]\d{3}[-/]?[01]\d[-/]?[0-3]\d +[0-2]\d$/;var i=/^:[0-5]\d/;function isValidPreCandidate(e,t,a){if(r.test(e)){return false}if(n.test(e)){var o=a.slice(t+e.length);if(i.test(o)){return false}}return true}},4332:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=parsePreCandidate;var n=r(106);var i=/[\\/] *x/;function parsePreCandidate(e){return(0,n.trimAfterFirstMatch)(i,e)}},2558:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isLatinLetter=isLatinLetter;t.isInvalidPunctuationSymbol=isInvalidPunctuationSymbol;t._pL=t.pNd=t._pN=t.PZ=t.pZ=void 0;var r="   ᠎ - \u2028\u2029   ";var n="[".concat(r,"]");t.pZ=n;var i="[^".concat(r,"]");t.PZ=i;var a="0-9²³¹¼-¾٠-٩۰-۹߀-߉०-९০-৯৴-৹੦-੯૦-૯୦-୯୲-୷௦-௲౦-౯౸-౾೦-೯൦-൵๐-๙໐-໙༠-༳၀-၉႐-႙፩-፼ᛮ-ᛰ០-៩៰-៹᠐-᠙᥆-᥏᧐-᧚᪀-᪉᪐-᪙᭐-᭙᮰-᮹᱀-᱉᱐-᱙⁰⁴-⁹₀-₉⅐-ↂↅ-↉①-⒛⓪-⓿❶-➓⳽〇〡-〩〸-〺㆒-㆕㈠-㈩㉈-㉏㉑-㉟㊀-㊉㊱-㊿꘠-꘩ꛦ-ꛯ꠰-꠵꣐-꣙꤀-꤉꧐-꧙꩐-꩙꯰-꯹0-9";t._pN=a;var o="0-9٠-٩۰-۹߀-߉०-९০-৯੦-੯૦-૯୦-୯௦-௯౦-౯೦-೯൦-൯๐-๙໐-໙༠-༩၀-၉႐-႙០-៩᠐-᠙᥆-᥏᧐-᧙᪀-᪉᪐-᪙᭐-᭙᮰-᮹᱀-᱉᱐-᱙꘠-꘩꣐-꣙꤀-꤉꧐-꧙꩐-꩙꯰-꯹0-9";var s="[".concat(o,"]");t.pNd=s;var u="A-Za-zªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎↃↄⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々〆〱-〵〻〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛥꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";t._pL=u;var l="[".concat(u,"]");var d=new RegExp(l);var f="$¢-¥֏؋৲৳৻૱௹฿៛₠-₹꠸﷼﹩$¢£¥₩";var c="[".concat(f,"]");var p=new RegExp(c);var h="̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-ٰٟۖ-ۜ۟-۪ۤۧۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣤ-ࣾऀ-ंऺ़ु-ै्॑-ॗॢॣঁ়ু-ৄ্ৢৣਁਂ਼ੁੂੇੈੋ-੍ੑੰੱੵઁં઼ુ-ૅેૈ્ૢૣଁ଼ିୁ-ୄ୍ୖୢୣஂீ்ా-ీె-ైొ-్ౕౖౢౣ಼ಿೆೌ್ೢೣു-ൄ്ൢൣ්ි-ුූัิ-ฺ็-๎ັິ-ູົຼ່-ໍཱ༹༘༙༵༷-ཾྀ-྄྆྇ྍ-ྗྙ-ྼ࿆ိ-ူဲ-့္်ွှၘၙၞ-ၠၱ-ၴႂႅႆႍႝ፝-፟ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴឵ិ-ួំ៉-៓៝᠋-᠍ᢩᤠ-ᤢᤧᤨᤲ᤹-᤻ᨘᨗᩖᩘ-ᩞ᩠ᩢᩥ-ᩬᩳ-᩿᩼ᬀ-ᬃ᬴ᬶ-ᬺᬼᭂ᭫-᭳ᮀᮁᮢ-ᮥᮨᮩ᯦᮫ᯨᯩᯭᯯ-ᯱᰬ-ᰳᰶ᰷᳐-᳔᳒-᳢᳠-᳨᳭᳴᷀-ᷦ᷼-᷿⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〭꙯ꙴ-꙽ꚟ꛰꛱ꠂ꠆ꠋꠥꠦ꣄꣠-꣱ꤦ-꤭ꥇ-ꥑꦀ-ꦂ꦳ꦶ-ꦹꦼꨩ-ꨮꨱꨲꨵꨶꩃꩌꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫬꫭ꫶ꯥꯨ꯭ﬞ︀-️︠-︦";var m="[".concat(h,"]");var $=new RegExp(m);var v="\0-";var g="€-ÿ";var _="Ā-ſ";var y="Ḁ-ỿ";var b="ƀ-ɏ";var I="̀-ͯ";var N=new RegExp("["+v+g+_+y+b+I+"]");function isLatinLetter(e){if(!d.test(e)&&!$.test(e)){return false}return N.test(e)}function isInvalidPunctuationSymbol(e){return e==="%"||p.test(e)}},106:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.limit=limit;t.trimAfterFirstMatch=trimAfterFirstMatch;t.startsWith=startsWith;t.endsWith=endsWith;function limit(e,t){if(e<0||t<=0||t=0){return t.slice(0,r)}return t}function startsWith(e,t){return e.indexOf(t)===0}function endsWith(e,t){return e.indexOf(t,e.length-t.length)===e.length-t.length}},9003:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=findNumbers;var n=_interopRequireDefault(r(2787));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function findNumbers(e,t,r){var i=new n["default"](e,t,r);var a=[];while(i.hasNext()){a.push(i.next())}return a}},7372:(e,t,r)=>{"use strict";var n;n={value:true};t.ZP=findPhoneNumbers;t.Pf=searchPhoneNumbers;var i=_interopRequireWildcard(r(8969));var a=r(9652);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};if(n.get||n.set){Object.defineProperty(t,r,n)}else{t[r]=e[r]}}}}t["default"]=e;return t}}function findPhoneNumbers(){var e=(0,a.normalizeArguments)(arguments),t=e.text,r=e.options,n=e.metadata;return(0,i["default"])(t,r,n)}function searchPhoneNumbers(){var e=(0,a.normalizeArguments)(arguments),t=e.text,r=e.options,n=e.metadata;return(0,i.searchPhoneNumbers)(t,r,n)}},1147:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=findPhoneNumbersInText;t.getArguments=getArguments;var n=_interopRequireDefault(r(8629));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _objectSpread(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=findPhoneNumbers;t.searchPhoneNumbers=searchPhoneNumbers;t.PhoneNumberSearch=t.EXTN_PATTERNS_FOR_PARSING=void 0;var n=r(3269);var i=_interopRequireDefault(r(3199));var a=r(6502);var o=_interopRequireDefault(r(2660));var s=_interopRequireDefault(r(4332));var u=_interopRequireDefault(r(3488));var l=_interopRequireDefault(r(1637));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(e,t){for(var r=0;r{"use strict";var n;n={value:true};t.Z=formatNumber;var i=_interopRequireDefault(r(4938));var a=_interopRequireDefault(r(3199));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(e,t){var r=[];var n=true;var i=false;var a=undefined;try{for(var o=e[Symbol.iterator](),s;!(n=(s=o.next()).done);n=true){r.push(s.value);if(t&&r.length===t)break}}catch(e){i=true;a=e}finally{try{if(!n&&o["return"]!=null)o["return"]()}finally{if(i)throw a}}return r}function _arrayWithHoles(e){if(Array.isArray(e))return e}function formatNumber(){var e=normalizeArguments(arguments),t=e.input,r=e.format,n=e.options,a=e.metadata;return(0,i["default"])(t,r,n,a)}function normalizeArguments(e){var t=Array.prototype.slice.call(e),r=_slicedToArray(t,5),n=r[0],i=r[1],s=r[2],u=r[3],l=r[4];var d;var f;var c;var p;if(typeof n==="string"){if(typeof s==="string"){f=s;if(l){c=u;p=l}else{p=u}d=(0,a["default"])(n,{defaultCountry:i,extended:true},p)}else{if(typeof i!=="string"){throw new Error("`format` argument not passed to `formatNumber(number, format)`")}f=i;if(u){c=s;p=u}else{p=s}d=(0,a["default"])(n,{extended:true},p)}}else if(o(n)){d=n;f=i;if(u){c=s;p=u}else{p=s}}else throw new TypeError("A phone number must either be a string or an object of shape { phone, [country] }.");if(f==="International"){f="INTERNATIONAL"}else if(f==="National"){f="NATIONAL"}return{input:d,format:f,options:c,metadata:p}}var o=function is_object(e){return _typeof(e)==="object"}},5869:(e,t,r)=>{"use strict";var n;n={value:true};t["default"]=formatIncompletePhoneNumber;var i=_interopRequireDefault(r(4838));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function formatIncompletePhoneNumber(e,t,r){if(!r){r=t;t=undefined}return new i["default"](t,r).input(e)}},4938:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=formatNumber;var n=_interopRequireDefault(r(4494));var i=_interopRequireDefault(r(6371));var a=_interopRequireWildcard(r(7989));var o=_interopRequireDefault(r(5655));var s=r(278);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};if(n.get||n.set){Object.defineProperty(t,r,n)}else{t[r]=e[r]}}}}t["default"]=e;return t}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectSpread(e){for(var t=1;t=r.length)break;o=r[a++]}else{a=r.next();if(a.done)break;o=a.value}var s=o;if(s.leadingDigitsPatterns().length>0){var u=s.leadingDigitsPatterns()[s.leadingDigitsPatterns().length-1];if(t.search(u)!==0){continue}}if((0,n["default"])(t,s.pattern())){return s}}}function addExtension(e,t,r,n){return t?n(e,t,r):e}function formatIDD(e,t,r,n,i){var s=(0,a.getCountryCallingCode)(n,i.metadata);if(s===r){var u=formatNationalNumber(e,t,"NATIONAL",i);if(r==="1"){return r+" "+u}return u}var l=(0,o["default"])(n,undefined,i.metadata);if(l){return"".concat(l," ").concat(r," ").concat(formatNationalNumber(e,null,"INTERNATIONAL",i))}}},1032:(e,t,r)=>{"use strict";var n;n={value:true};t["default"]=getCountries;var i=_interopRequireDefault(r(7989));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getCountries(e){return new i["default"](e).getCountries()}},9251:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});Object.defineProperty(t,"default",{enumerable:true,get:function get(){return n.getCountryCallingCode}});var n=r(7989)},9867:(e,t,r)=>{"use strict";var n;n={value:true};t["default"]=getExampleNumber;var i=_interopRequireDefault(r(1408));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function getExampleNumber(e,t,r){if(t[e]){return new i["default"](e,t[e],r)}}},3844:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=getNumberType;t.normalizeArguments=normalizeArguments;var n=_interopRequireDefault(r(6502));var i=_interopRequireDefault(r(4151));var a=_interopRequireDefault(r(3199));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(e,t){var r=[];var n=true;var i=false;var a=undefined;try{for(var o=e[Symbol.iterator](),s;!(n=(s=o.next()).done);n=true){r.push(s.value);if(t&&r.length===t)break}}catch(e){i=true;a=e}finally{try{if(!n&&o["return"]!=null)o["return"]()}finally{if(i)throw a}}return r}function _arrayWithHoles(e){if(Array.isArray(e))return e}function getNumberType(){var e=normalizeArguments(arguments),t=e.input,r=e.options,n=e.metadata;return(0,i["default"])(t,r,n)}function normalizeArguments(e){var t=Array.prototype.slice.call(e),r=_slicedToArray(t,4),i=r[0],s=r[1],u=r[2],l=r[3];var d;var f={};var c;if(typeof i==="string"){if(_typeof(s)!=="object"){if(l){f=u;c=l}else{c=u}if((0,n["default"])(i)){d=(0,a["default"])(i,{defaultCountry:s},c)}else{d={}}}else{if(u){f=s;c=u}else{c=s}if((0,n["default"])(i)){d=(0,a["default"])(i,undefined,c)}else{d={}}}}else if(o(i)){d=i;if(u){f=s;c=u}else{c=s}}else throw new TypeError("A phone number must either be a string or an object of shape { phone, [country] }.");return{input:d,options:f,metadata:c}}var o=function is_object(e){return _typeof(e)==="object"}},278:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseRFC3966=parseRFC3966;t.formatRFC3966=formatRFC3966;var n=_interopRequireDefault(r(6502));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _iterableToArrayLimit(e,t){var r=[];var n=true;var i=false;var a=undefined;try{for(var o=e[Symbol.iterator](),s;!(n=(s=o.next()).done);n=true){r.push(s.value);if(t&&r.length===t)break}}catch(e){i=true;a=e}finally{try{if(!n&&o["return"]!=null)o["return"]()}finally{if(i)throw a}}return r}function _arrayWithHoles(e){if(Array.isArray(e))return e}function parseRFC3966(e){var t;var r;e=e.replace(/^tel:/,"tel=");for(var i=e.split(";"),a=Array.isArray(i),o=0,i=a?i:i[Symbol.iterator]();;){var s;if(a){if(o>=i.length)break;s=i[o++]}else{o=i.next();if(o.done)break;s=o.value}var u=s;var l=u.split("="),d=_slicedToArray(l,2),f=d[0],c=d[1];switch(f){case"tel":t=c;break;case"ext":r=c;break;case"phone-context":if(c[0]==="+"){t=c+t}break}}if(!(0,n["default"])(t)){return{}}var p={number:t};if(r){p.ext=r}return p}function formatRFC3966(e){var t=e.number,r=e.ext;if(!t){return""}if(t[0]!=="+"){throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.')}return"tel:".concat(t).concat(r?";ext="+r:"")}},7265:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=applyInternationalSeparatorStyle;var n=r(3269);function applyInternationalSeparatorStyle(e){return e.replace(new RegExp("[".concat(n.VALID_PUNCTUATION,"]+"),"g")," ").trim()}},2477:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=checkNumberLength;t.checkNumberLengthForType=checkNumberLengthForType;var n=_interopRequireDefault(r(1868));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function checkNumberLength(e,t){return checkNumberLengthForType(e,undefined,t)}function checkNumberLengthForType(e,t,r){var i=r.type(t);var a=i&&i.possibleLengths()||r.possibleLengths();if(!a){return"IS_POSSIBLE"}if(t==="FIXED_LINE_OR_MOBILE"){if(!r.type("FIXED_LINE")){return checkNumberLengthForType(e,"MOBILE",r)}var o=r.type("MOBILE");if(o){a=(0,n["default"])(a,o.possibleLengths())}}else if(t&&!i){return"INVALID_LENGTH"}var s=e.length;var u=a[0];if(u===s){return"IS_POSSIBLE"}if(u>s){return"TOO_SHORT"}if(a[a.length-1]=0?"IS_POSSIBLE":"INVALID_LENGTH"}},2660:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=createExtensionPattern;var n=r(3269);var i=";ext=";var a=function getExtensionDigitsPattern(e){return"([".concat(n.VALID_DIGITS,"]{1,").concat(e,"})")};function createExtensionPattern(e){var t="20";var r="15";var n="9";var o="6";var s="[  \\t,]*";var u="[:\\..]?[  \\t,-]*";var l="#?";var d="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)";var f="(?:[xx##~~]|int|int)";var c="[- ]+";var p="[  \\t]*";var h="(?:,{2}|;)";var m=i+a(t);var $=s+d+u+a(t)+l;var v=s+f+u+a(n)+l;var g=c+a(o)+"#";var _=p+h+u+a(r)+l;var y=p+"(?:,)+"+u+a(n)+l;return m+"|"+$+"|"+v+"|"+g+"|"+_+"|"+y}},4789:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=extractExtension;var n=_interopRequireDefault(r(2660));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=new RegExp("(?:"+(0,n["default"])()+")$","i");function extractExtension(e){var t=e.search(i);if(t<0){return{}}var r=e.slice(0,t);var n=e.match(i);var a=1;while(a{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=extractCountryCallingCode;var n=_interopRequireDefault(r(7608));var i=_interopRequireDefault(r(8146));var a=_interopRequireDefault(r(7989));var o=r(3269);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function extractCountryCallingCode(e,t,r,s){if(!e){return{}}if(e[0]!=="+"){var u=(0,n["default"])(e,t,r,s);if(u&&u!==e){e="+"+u}else{if(t||r){var l=(0,i["default"])(e,t,r,s),d=l.countryCallingCode,f=l.number;if(d){return{countryCallingCode:d,number:f}}}return{number:e}}}if(e[1]==="0"){return{}}s=new a["default"](s);var c=2;while(c-1<=o.MAX_LENGTH_COUNTRY_CODE&&c<=e.length){var p=e.slice(1,c);if(s.hasCallingCode(p)){s.selectNumberingPlan(p);return{countryCallingCode:p,number:e.slice(c)}}c++}return{}}},8146:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=extractCountryCallingCodeFromInternationalNumberWithoutPlusSign;var n=_interopRequireDefault(r(7989));var i=_interopRequireDefault(r(4494));var a=_interopRequireDefault(r(1641));var o=_interopRequireDefault(r(2477));var s=_interopRequireDefault(r(9251));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function extractCountryCallingCodeFromInternationalNumberWithoutPlusSign(e,t,r,u){var l=t?(0,s["default"])(t,u):r;if(e.indexOf(l)===0){u=new n["default"](u);u.selectNumberingPlan(t,r);var d=e.slice(l.length);var f=(0,a["default"])(d,u),c=f.nationalNumber;var p=(0,a["default"])(e,u),h=p.nationalNumber;if(!(0,i["default"])(h,u.nationalNumberPattern())&&(0,i["default"])(c,u.nationalNumberPattern())||(0,o["default"])(h,u)==="TOO_LONG"){return{countryCallingCode:l,number:d}}}return{number:e}}},1641:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=extractNationalNumber;var n=_interopRequireDefault(r(1821));var i=_interopRequireDefault(r(4494));var a=_interopRequireDefault(r(2477));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function extractNationalNumber(e,t){var r=(0,n["default"])(e,t),i=r.nationalNumber,o=r.carrierCode;if(!shouldExtractNationalPrefix(e,i,t)){return{nationalNumber:e}}if(e.length!==i.length+(o?o.length:0)){if(t.possibleLengths()){switch((0,a["default"])(i,t)){case"TOO_SHORT":case"INVALID_LENGTH":return{nationalNumber:e}}}}return{nationalNumber:i,carrierCode:o}}function shouldExtractNationalPrefix(e,t,r){if((0,i["default"])(e,r.nationalNumberPattern())&&!(0,i["default"])(t,r.nationalNumberPattern())){return false}return true}},1821:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=extractNationalNumberFromPossiblyIncompleteNumber;function extractNationalNumberFromPossiblyIncompleteNumber(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var r=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")");var n=r.exec(e);if(n){var i;var a;var o=n.length-1;var s=o>0&&n[o];if(t.nationalPrefixTransformRule()&&s){i=e.replace(r,t.nationalPrefixTransformRule());if(o>1){a=n[1]}}else{var u=n[0];i=e.slice(u.length);if(s){a=n[1]}}var l;if(s){var d=e.indexOf(n[1]);var f=e.slice(0,d);if(f===t.numberingPlan.nationalPrefix()){l=t.numberingPlan.nationalPrefix()}}else{l=n[0]}return{nationalNumber:i,nationalPrefix:l,carrierCode:a}}}return{nationalNumber:e}}},6371:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=formatNationalNumberUsingFormat;t.FIRST_GROUP_PATTERN=void 0;var n=_interopRequireDefault(r(7265));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/(\$\d)/;t.FIRST_GROUP_PATTERN=i;function formatNationalNumberUsingFormat(e,t,r){var a=r.useInternationalFormat,o=r.withNationalPrefix,s=r.carrierCode,u=r.metadata;var l=e.replace(new RegExp(t.pattern()),a?t.internationalFormat():o&&t.nationalPrefixFormattingRule()?t.format().replace(i,t.nationalPrefixFormattingRule()):t.format());if(a){return(0,n["default"])(l)}return l}},6865:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=getCountryByCallingCode;var n=_interopRequireDefault(r(7989));var i=_interopRequireDefault(r(4151));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=false;function getCountryByCallingCode(e,t,r){if(a){if(r.isNonGeographicCallingCode(e)){return"001"}}var n=r.getCountryCodesForCallingCode(e);if(!n){return}if(n.length===1){return n[0]}return selectCountryFromList(n,t,r.metadata)}function selectCountryFromList(e,t,r){r=new n["default"](r);for(var a=e,o=Array.isArray(a),s=0,a=o?a:a[Symbol.iterator]();;){var u;if(o){if(s>=a.length)break;u=a[s++]}else{s=a.next();if(s.done)break;u=s.value}var l=u;r.country(l);if(r.leadingDigits()){if(t&&t.search(r.leadingDigits())===0){return l}}else if((0,i["default"])({phone:t,country:l},undefined,r.metadata)){return l}}}},5655:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=getIddPrefix;var n=_interopRequireDefault(r(7989));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function getIddPrefix(e,t,r){var a=new n["default"](r);a.selectNumberingPlan(e,t);if(a.defaultIDDPrefix()){return a.defaultIDDPrefix()}if(i.test(a.IDDPrefix())){return a.IDDPrefix()}}},4151:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=getNumberType;t.isNumberTypeEqualTo=isNumberTypeEqualTo;var n=_interopRequireDefault(r(7989));var i=_interopRequireDefault(r(4494));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function getNumberType(e,t,r){t=t||{};if(!e.country){return}r=new n["default"](r);r.selectNumberingPlan(e.country,e.countryCallingCode);var o=t.v2?e.nationalNumber:e.phone;if(!(0,i["default"])(o,r.nationalNumberPattern())){return}if(isNumberTypeEqualTo(o,"FIXED_LINE",r)){if(r.type("MOBILE")&&r.type("MOBILE").pattern()===""){return"FIXED_LINE_OR_MOBILE"}if(!r.type("MOBILE")){return"FIXED_LINE_OR_MOBILE"}if(isNumberTypeEqualTo(o,"MOBILE",r)){return"FIXED_LINE_OR_MOBILE"}return"FIXED_LINE"}for(var s=0,u=a;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isViablePhoneNumber;t.isViablePhoneNumberStart=isViablePhoneNumberStart;t.VALID_PHONE_NUMBER_WITH_EXTENSION=t.VALID_PHONE_NUMBER=void 0;var n=r(3269);var i=_interopRequireDefault(r(2660));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a="["+n.VALID_DIGITS+"]{"+n.MIN_LENGTH_FOR_NSN+"}";var o="["+n.PLUS_CHARS+"]{0,1}"+"(?:"+"["+n.VALID_PUNCTUATION+"]*"+"["+n.VALID_DIGITS+"]"+"){3,}"+"["+n.VALID_PUNCTUATION+n.VALID_DIGITS+"]*";t.VALID_PHONE_NUMBER=o;var s=new RegExp("^"+"["+n.PLUS_CHARS+"]{0,1}"+"(?:"+"["+n.VALID_PUNCTUATION+"]*"+"["+n.VALID_DIGITS+"]"+"){1,2}"+"$","i");var u=o+"(?:"+(0,i["default"])()+")?";t.VALID_PHONE_NUMBER_WITH_EXTENSION=u;var l=new RegExp("^"+a+"$"+"|"+"^"+u+"$","i");function isViablePhoneNumber(e){return e.length>=n.MIN_LENGTH_FOR_NSN&&l.test(e)}function isViablePhoneNumberStart(e){return s.test(e)}},4494:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=matchesEntirely;function matchesEntirely(e,t){e=e||"";return new RegExp("^(?:"+t+")$").test(e)}},1868:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=mergeArrays;function mergeArrays(e,t){var r=e.slice();for(var n=t,i=Array.isArray(n),a=0,n=i?n:n[Symbol.iterator]();;){var o;if(i){if(a>=n.length)break;o=n[a++]}else{a=n.next();if(a.done)break;o=a.value}var s=o;if(e.indexOf(s)<0){r.push(s)}}return r.sort((function(e,t){return e-t}))}},3876:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.parseDigit=parseDigit;t["default"]=parseDigits;t.DIGITS=void 0;var r={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"};t.DIGITS=r;function parseDigit(e){return r[e]}function parseDigits(e){var t="";for(var r=e.split(""),n=Array.isArray(r),i=0,r=n?r:r[Symbol.iterator]();;){var a;if(n){if(i>=r.length)break;a=r[i++]}else{i=r.next();if(i.done)break;a=i.value}var o=a;var s=parseDigit(o);if(s){t+=s}}return t}},7608:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=stripIddPrefix;var n=_interopRequireDefault(r(7989));var i=r(3269);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=new RegExp("(["+i.VALID_DIGITS+"])");function stripIddPrefix(e,t,r,i){if(!t){return}var o=new n["default"](i);o.selectNumberingPlan(t,r);var s=new RegExp(o.IDDPrefix());if(e.search(s)!==0){return}e=e.slice(e.match(s)[0].length);var u=e.match(a);if(u&&u[1]!=null&&u[1].length>0){if(u[1]==="0"){return}}return e}},4206:(e,t,r)=>{"use strict";var n;n={value:true};t.Z=isPossibleNumber;var i=r(3844);var a=_interopRequireDefault(r(5977));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function isPossibleNumber(){var e=(0,i.normalizeArguments)(arguments),t=e.input,r=e.options,n=e.metadata;return(0,a["default"])(t,r,n)}},5977:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isPossiblePhoneNumber;t.isPossibleNumber=isPossibleNumber;var n=_interopRequireDefault(r(7989));var i=_interopRequireDefault(r(2477));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function isPossiblePhoneNumber(e,t,r){if(t===undefined){t={}}r=new n["default"](r);if(t.v2){if(!e.countryCallingCode){throw new Error("Invalid phone number object passed")}r.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone){return false}if(e.country){if(!r.hasCountry(e.country)){throw new Error("Unknown country: ".concat(e.country))}r.country(e.country)}else{if(!e.countryCallingCode){throw new Error("Invalid phone number object passed")}r.selectNumberingPlan(e.countryCallingCode)}}if(r.possibleLengths()){return isPossibleNumber(e.phone||e.nationalNumber,r)}else{if(e.countryCallingCode&&r.isNonGeographicCallingCode(e.countryCallingCode)){return true}else{throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}}}function isPossibleNumber(e,t){switch((0,i["default"])(e,t)){case"IS_POSSIBLE":return true;default:return false}}},3167:(e,t,r)=>{"use strict";var n;n={value:true};t["default"]=isPossiblePhoneNumber;var i=r(9652);var a=_interopRequireDefault(r(2643));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectSpread(e){for(var t=1;t{"use strict";var n;n={value:true};t.Z=isValidNumberForRegion;var i=_interopRequireDefault(r(6502));var a=_interopRequireDefault(r(3199));var o=_interopRequireDefault(r(7832));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function isValidNumberForRegion(e,t,r){if(typeof e!=="string"){throw new TypeError("number must be a string")}if(typeof t!=="string"){throw new TypeError("country must be a string")}var n;if((0,i["default"])(e)){n=(0,a["default"])(e,{defaultCountry:t},r)}else{n={}}return(0,o["default"])(n,t,undefined,r)}},7832:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isValidNumberForRegion;var n=_interopRequireDefault(r(3623));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function isValidNumberForRegion(e,t,r,i){r=r||{};return e.country===t&&(0,n["default"])(e,r,i)}},7213:(e,t,r)=>{"use strict";var n;n={value:true};t["default"]=isValidPhoneNumber;var i=r(9652);var a=_interopRequireDefault(r(2643));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectSpread(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validateMetadata=validateMetadata;t.getExtPrefix=getExtPrefix;t.getCountryCallingCode=getCountryCallingCode;t.isSupportedCountry=isSupportedCountry;t["default"]=void 0;var n=_interopRequireDefault(r(1950));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(e,t){for(var r=0;r{"use strict";var n;n={value:true};t.Z=parseNumber;var i=_interopRequireDefault(r(3199));var a=r(9652);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parseNumber(){var e=(0,a.normalizeArguments)(arguments),t=e.text,r=e.options,n=e.metadata;return(0,i["default"])(t,r,n)}},5591:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=parseIncompletePhoneNumber;t.parsePhoneNumberCharacter=parsePhoneNumberCharacter;var n=r(3876);function parseIncompletePhoneNumber(e){var t="";for(var r=e.split(""),n=Array.isArray(r),i=0,r=n?r:r[Symbol.iterator]();;){var a;if(n){if(i>=r.length)break;a=r[i++]}else{i=r.next();if(i.done)break;a=i.value}var o=a;t+=parsePhoneNumberCharacter(o,t)||""}return t}function parsePhoneNumberCharacter(e,t){if(e==="+"){if(t){return}return"+"}return(0,n.parseDigit)(e)}},9652:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=parsePhoneNumber;t.normalizeArguments=normalizeArguments;var n=_interopRequireDefault(r(4859));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _typeof(e){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function _objectSpread(e){for(var t=1;t{"use strict";var n;n={value:true};t.Z=parsePhoneNumberFromString;var i=r(9652);var a=_interopRequireDefault(r(2643));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function parsePhoneNumberFromString(){var e=(0,i.normalizeArguments)(arguments),t=e.text,r=e.options,n=e.metadata;return(0,a["default"])(t,r,n)}},2643:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=parsePhoneNumberFromString;var n=_interopRequireDefault(r(4859));var i=_interopRequireDefault(r(3591));var a=r(7989);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectSpread(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=parsePhoneNumber;var n=_interopRequireDefault(r(3199));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectSpread(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=parse;var n=r(3269);var i=_interopRequireDefault(r(3591));var a=_interopRequireDefault(r(7989));var o=_interopRequireWildcard(r(6502));var s=_interopRequireDefault(r(4789));var u=_interopRequireDefault(r(5591));var l=_interopRequireDefault(r(9251));var d=r(5977);var f=r(278);var c=_interopRequireDefault(r(1408));var p=_interopRequireDefault(r(4494));var h=_interopRequireDefault(r(9291));var m=_interopRequireDefault(r(8146));var $=_interopRequireDefault(r(1641));var v=_interopRequireDefault(r(7608));var g=_interopRequireDefault(r(6865));function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,r):{};if(n.get||n.set){Object.defineProperty(t,r,n)}else{t[r]=e[r]}}}}t["default"]=e;return t}}function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var _=250;var y=new RegExp("["+n.PLUS_CHARS+n.VALID_DIGITS+"]");var b=new RegExp("[^"+n.VALID_DIGITS+"#"+"]+$");var I=false;function parse(e,t,r){t=t||{};r=new a["default"](r);if(t.defaultCountry&&!r.hasCountry(t.defaultCountry)){if(t.v2){throw new i["default"]("INVALID_COUNTRY")}throw new Error("Unknown country: ".concat(t.defaultCountry))}var o=parseInput(e,t.v2,t.extract),s=o.number,u=o.ext,l=o.error;if(!s){if(t.v2){if(l==="TOO_SHORT"){throw new i["default"]("TOO_SHORT")}throw new i["default"]("NOT_A_NUMBER")}return{}}var f=parsePhoneNumber(s,t.defaultCountry,t.defaultCallingCode,r),h=f.country,m=f.nationalNumber,$=f.countryCallingCode,v=f.carrierCode;if(!r.hasSelectedNumberingPlan()){if(t.v2){throw new i["default"]("INVALID_COUNTRY")}return{}}if(!m||m.lengthn.MAX_LENGTH_FOR_NSN){if(t.v2){throw new i["default"]("TOO_LONG")}return{}}if(t.v2){var g=new c["default"]($,m,r.metadata);if(h){g.country=h}if(v){g.carrierCode=v}if(u){g.ext=u}return g}var _=(t.extended?r.hasSelectedNumberingPlan():h)?(0,p["default"])(m,r.nationalNumberPattern()):false;if(!t.extended){return _?result(h,m,u):{}}return{country:h,countryCallingCode:$,carrierCode:v,valid:_,possible:_?true:t.extended===true&&r.possibleLengths()&&(0,d.isPossibleNumber)(m,r)?true:false,phone:m,ext:u}}function extractFormattedPhoneNumber(e,t,r){if(!e){return}if(e.length>_){if(r){throw new i["default"]("TOO_LONG")}return}if(t===false){return e}var n=e.search(y);if(n<0){return}return e.slice(n).replace(b,"")}function parseInput(e,t,r){if(e&&e.indexOf("tel:")===0){return(0,f.parseRFC3966)(e)}var n=extractFormattedPhoneNumber(e,r,t);if(!n){return{}}if(!(0,o["default"])(n)){if((0,o.isViablePhoneNumberStart)(n)){return{error:"TOO_SHORT"}}return{}}var i=(0,s["default"])(n);if(i.ext){return i}return{number:n}}function result(e,t,r){var n={country:e,phone:t};if(r){n.ext=r}return n}function parsePhoneNumber(e,t,r,n){var i=(0,h["default"])((0,u["default"])(e),t,r,n.metadata),a=i.countryCallingCode,o=i.number;var s;if(a){n.selectNumberingPlan(a)}else if(o&&(t||r)){n.selectNumberingPlan(t,r);if(t){s=t}else{if(I){if(n.isNonGeographicCallingCode(r)){s="001"}}}a=r||(0,l["default"])(t,n.metadata)}else return{};if(!o){return{countryCallingCode:a}}var d=(0,$["default"])((0,u["default"])(o),n),f=d.nationalNumber,c=d.carrierCode;var p=(0,g["default"])(a,f,n);if(p){s=p;if(p==="001"){}else{n.country(s)}}return{country:s,countryCallingCode:a,nationalNumber:f,carrierCode:c}}},4215:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=searchNumbers;var n=r(9652);var i=_interopRequireDefault(r(2787));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _defineProperty(e,t,r){if(t in e){Object.defineProperty(e,t,{value:r,enumerable:true,configurable:true,writable:true})}else{e[t]=r}return e}function searchNumbers(){var e=(0,n.normalizeArguments)(arguments),t=e.text,r=e.options,a=e.metadata;var o=new i["default"](t,r,a);return _defineProperty({},Symbol.iterator,(function(){return{next:function next(){if(o.hasNext()){return{done:false,value:o.next()}}return{done:true}}}}))}},1553:(e,t,r)=>{"use strict";var n;n={value:true};t["default"]=searchPhoneNumbersInText;var i=_interopRequireDefault(r(4215));var a=r(1147);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function searchPhoneNumbersInText(e,t,r,n){var o=(0,a.getArguments)(t,r,n);return(0,i["default"])(e,o.options,o.metadata)}},1950:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=_default;function _default(e,t){e=e.split("-");t=t.split("-");var r=e[0].split(".");var n=t[0].split(".");for(var i=0;i<3;i++){var a=Number(r[i]);var o=Number(n[i]);if(a>o)return 1;if(o>a)return-1;if(!isNaN(a)&&isNaN(o))return 1;if(isNaN(a)&&!isNaN(o))return-1}if(e[1]&&t[1]){return e[1]>t[1]?1:e[1]{"use strict";var n;n={value:true};t.Z=isValidNumber;var i=_interopRequireDefault(r(3623));var a=r(3844);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function isValidNumber(){var e=(0,a.normalizeArguments)(arguments),t=e.input,r=e.options,n=e.metadata;return(0,i["default"])(t,r,n)}},6290:(e,t,r)=>{"use strict";var n;n={value:true};t["default"]=validatePhoneNumberLength;var i=r(9652);var a=_interopRequireDefault(r(4859));var o=_interopRequireDefault(r(3591));var s=_interopRequireDefault(r(7989));var u=_interopRequireDefault(r(2477));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _objectSpread(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isValidNumber;var n=_interopRequireDefault(r(7989));var i=_interopRequireDefault(r(4494));var a=_interopRequireDefault(r(4151));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function isValidNumber(e,t,r){t=t||{};r=new n["default"](r);if(!e.country){return false}r.selectNumberingPlan(e.country,e.countryCallingCode);if(r.hasTypes()){return(0,a["default"])(e,t,r.metadata)!==undefined}var o=t.v2?e.nationalNumber:e.phone;return(0,i["default"])(o,r.nationalNumberPattern())}},6882:(e,t,r)=>{"use strict";var n=r(8869).Z;t=e.exports=n;t["default"]=n;t.ParseError=r(3591)["default"];var i=r(9652)["default"];t.parsePhoneNumberWithError=i;t.parsePhoneNumber=i;t.parsePhoneNumberFromString=n;t.isValidPhoneNumber=r(7213)["default"];t.isPossiblePhoneNumber=r(3167)["default"];t.validatePhoneNumberLength=r(6290)["default"];t.findNumbers=r(8629)["default"];t.searchNumbers=r(4215)["default"];t.findPhoneNumbersInText=r(1147)["default"];t.searchPhoneNumbersInText=r(1553)["default"];t.PhoneNumberMatcher=r(2787)["default"];t.AsYouType=r(4838)["default"];t.Metadata=r(7989)["default"];t.isSupportedCountry=r(7989).isSupportedCountry;t.getCountries=r(1032)["default"];t.getCountryCallingCode=r(7989).getCountryCallingCode;t.getExtPrefix=r(7989).getExtPrefix;t.getExampleNumber=r(9867)["default"];t.formatIncompletePhoneNumber=r(5869)["default"];t.parseIncompletePhoneNumber=r(5591)["default"];t.parsePhoneNumberCharacter=r(5591).parsePhoneNumberCharacter;t.parseDigits=r(3876)["default"];t.DIGIT_PLACEHOLDER=r(3328).DIGIT_PLACEHOLDER;t.parseRFC3966=r(278).parseRFC3966;t.formatRFC3966=r(278).formatRFC3966},835:(e,t,r)=>{"use strict";var n=r(7610);var i=r(5651);function withMetadata(e,t){var r=Array.prototype.slice.call(t);r.push(i);return e.apply(this,r)}t=e.exports=n.parsePhoneNumberFromString;t["default"]=n.parsePhoneNumberFromString;t.parsePhoneNumberFromString=n.parsePhoneNumberFromString;t.ParseError=n.ParseError;t.parsePhoneNumber=n.parsePhoneNumberWithError;t.parsePhoneNumberWithError=n.parsePhoneNumberWithError;t.isValidPhoneNumber=n.isValidPhoneNumber;t.isPossiblePhoneNumber=n.isPossiblePhoneNumber;t.validatePhoneNumberLength=n.validatePhoneNumberLength;var a=r(9529).Z;t.parse=function parse(){return withMetadata(a,arguments)};t.parseNumber=t.parse;var o=r(8068).Z;t.format=function format(){return withMetadata(o,arguments)};t.formatNumber=t.format;var s=r(3844)["default"];t.getNumberType=function getNumberType(){return withMetadata(s,arguments)};var u=r(4206).Z;t.isPossibleNumber=function isPossibleNumber(){return withMetadata(u,arguments)};var l=r(2192).Z;t.isValidNumber=function isValidNumber(){return withMetadata(l,arguments)};var d=r(5053).Z;t.isValidNumberForRegion=function isValidNumberForRegion(){return withMetadata(d,arguments)};t.getExampleNumber=n.getExampleNumber;t.Metadata=n.Metadata;var f=r(7372).ZP;t.findPhoneNumbers=function findPhoneNumbers(){return withMetadata(f,arguments)};var c=r(7372).Pf;t.searchPhoneNumbers=function searchPhoneNumbers(){return withMetadata(c,arguments)};var p=r(8969).PhoneNumberSearch;t.PhoneNumberSearch=function PhoneNumberSearch(e,t){return p.call(this,e,t,i)};t.PhoneNumberSearch.prototype=Object.create(p.prototype,{});t.PhoneNumberSearch.prototype.constructor=t.PhoneNumberSearch;t.findNumbers=n.findNumbers;t.searchNumbers=n.searchNumbers;t.findPhoneNumbersInText=n.findPhoneNumbersInText;t.searchPhoneNumbersInText=n.searchPhoneNumbersInText;t.PhoneNumberMatcher=n.PhoneNumberMatcher;t.AsYouType=n.AsYouType;t.getCountries=n.getCountries;t.getCountryCallingCode=n.getCountryCallingCode;t.isSupportedCountry=n.isSupportedCountry;t.getExtPrefix=n.getExtPrefix;t.parseRFC3966=n.parseRFC3966;t.formatRFC3966=n.formatRFC3966;t.DIGITS=r(3876).DIGITS;t.DIGIT_PLACEHOLDER=n.DIGIT_PLACEHOLDER;t.getPhoneCode=n.getCountryCallingCode;t.formatIncompletePhoneNumber=n.formatIncompletePhoneNumber;t.parseIncompletePhoneNumber=n.parseIncompletePhoneNumber;t.parsePhoneNumberCharacter=n.parsePhoneNumberCharacter;t.parseDigits=n.parseDigits},7610:(e,t,r)=>{"use strict";var n=r(5651);var i=r(6882);function call(e,t){var r=Array.prototype.slice.call(t);r.push(n);return e.apply(this,r)}function parsePhoneNumberFromString(){return call(i.parsePhoneNumberFromString,arguments)}t=e.exports=parsePhoneNumberFromString;t["default"]=parsePhoneNumberFromString;t.ParseError=i.ParseError;function parsePhoneNumberWithError(){return call(i.parsePhoneNumberWithError,arguments)}t.parsePhoneNumber=parsePhoneNumberWithError;t.parsePhoneNumberWithError=parsePhoneNumberWithError;t.parsePhoneNumberFromString=parsePhoneNumberFromString;t.isValidPhoneNumber=function isValidPhoneNumber(){return call(i.isValidPhoneNumber,arguments)};t.isPossiblePhoneNumber=function isPossiblePhoneNumber(){return call(i.isPossiblePhoneNumber,arguments)};t.validatePhoneNumberLength=function validatePhoneNumberLength(){return call(i.validatePhoneNumberLength,arguments)};t.findNumbers=function findNumbers(){return call(i.findNumbers,arguments)};t.searchNumbers=function searchNumbers(){return call(i.searchNumbers,arguments)};t.findPhoneNumbersInText=function findPhoneNumbersInText(){return call(i.findPhoneNumbersInText,arguments)};t.searchPhoneNumbersInText=function searchPhoneNumbersInText(){return call(i.searchPhoneNumbersInText,arguments)};t.PhoneNumberMatcher=function PhoneNumberMatcher(e,t){return i.PhoneNumberMatcher.call(this,e,t,n)};t.PhoneNumberMatcher.prototype=Object.create(i.PhoneNumberMatcher.prototype,{});t.PhoneNumberMatcher.prototype.constructor=t.PhoneNumberMatcher;t.AsYouType=function AsYouType(e){return i.AsYouType.call(this,e,n)};t.AsYouType.prototype=Object.create(i.AsYouType.prototype,{});t.AsYouType.prototype.constructor=t.AsYouType;t.isSupportedCountry=function isSupportedCountry(e){return call(i.isSupportedCountry,arguments)};t.getCountries=function getCountries(){return call(i.getCountries,arguments)};t.getCountryCallingCode=function getCountryCallingCode(){return call(i.getCountryCallingCode,arguments)};t.getExtPrefix=function getExtPrefix(e){return call(i.getExtPrefix,arguments)};t.getExampleNumber=function getExampleNumber(){return call(i.getExampleNumber,arguments)};t.Metadata=function Metadata(){return i.Metadata.call(this,n)};t.Metadata.prototype=Object.create(i.Metadata.prototype,{});t.Metadata.prototype.constructor=t.Metadata;t.formatIncompletePhoneNumber=function formatIncompletePhoneNumber(){return call(i.formatIncompletePhoneNumber,arguments)};t.parseIncompletePhoneNumber=i.parseIncompletePhoneNumber;t.parsePhoneNumberCharacter=i.parsePhoneNumberCharacter;t.parseDigits=i.parseDigits;t.DIGIT_PLACEHOLDER=i.DIGIT_PLACEHOLDER;t.parseRFC3966=i.parseRFC3966;t.formatRFC3966=i.formatRFC3966},7129:(e,t,r)=>{"use strict";const n=r(665);const i=Symbol("max");const a=Symbol("length");const o=Symbol("lengthCalculator");const s=Symbol("allowStale");const u=Symbol("maxAge");const l=Symbol("dispose");const d=Symbol("noDisposeOnSet");const f=Symbol("lruList");const c=Symbol("cache");const p=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(e){if(typeof e==="number")e={max:e};if(!e)e={};if(e.max&&(typeof e.max!=="number"||e.max<0))throw new TypeError("max must be a non-negative number");const t=this[i]=e.max||Infinity;const r=e.length||naiveLength;this[o]=typeof r!=="function"?naiveLength:r;this[s]=e.stale||false;if(e.maxAge&&typeof e.maxAge!=="number")throw new TypeError("maxAge must be a number");this[u]=e.maxAge||0;this[l]=e.dispose;this[d]=e.noDisposeOnSet||false;this[p]=e.updateAgeOnGet||false;this.reset()}set max(e){if(typeof e!=="number"||e<0)throw new TypeError("max must be a non-negative number");this[i]=e||Infinity;trim(this)}get max(){return this[i]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if(typeof e!=="number")throw new TypeError("maxAge must be a non-negative number");this[u]=e;trim(this)}get maxAge(){return this[u]}set lengthCalculator(e){if(typeof e!=="function")e=naiveLength;if(e!==this[o]){this[o]=e;this[a]=0;this[f].forEach((e=>{e.length=this[o](e.value,e.key);this[a]+=e.length}))}trim(this)}get lengthCalculator(){return this[o]}get length(){return this[a]}get itemCount(){return this[f].length}rforEach(e,t){t=t||this;for(let r=this[f].tail;r!==null;){const n=r.prev;forEachStep(this,e,r,t);r=n}}forEach(e,t){t=t||this;for(let r=this[f].head;r!==null;){const n=r.next;forEachStep(this,e,r,t);r=n}}keys(){return this[f].toArray().map((e=>e.key))}values(){return this[f].toArray().map((e=>e.value))}reset(){if(this[l]&&this[f]&&this[f].length){this[f].forEach((e=>this[l](e.key,e.value)))}this[c]=new Map;this[f]=new n;this[a]=0}dump(){return this[f].map((e=>isStale(this,e)?false:{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[f]}set(e,t,r){r=r||this[u];if(r&&typeof r!=="number")throw new TypeError("maxAge must be a number");const n=r?Date.now():0;const s=this[o](t,e);if(this[c].has(e)){if(s>this[i]){del(this,this[c].get(e));return false}const o=this[c].get(e);const u=o.value;if(this[l]){if(!this[d])this[l](e,u.value)}u.now=n;u.maxAge=r;u.value=t;this[a]+=s-u.length;u.length=s;this.get(e);trim(this);return true}const p=new Entry(e,t,s,n,r);if(p.length>this[i]){if(this[l])this[l](e,t);return false}this[a]+=p.length;this[f].unshift(p);this[c].set(e,this[f].head);trim(this);return true}has(e){if(!this[c].has(e))return false;const t=this[c].get(e).value;return!isStale(this,t)}get(e){return get(this,e,true)}peek(e){return get(this,e,false)}pop(){const e=this[f].tail;if(!e)return null;del(this,e);return e.value}del(e){del(this,this[c].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const n=e[r];const i=n.e||0;if(i===0)this.set(n.k,n.v);else{const e=i-t;if(e>0){this.set(n.k,n.v,e)}}}}prune(){this[c].forEach(((e,t)=>get(this,t,false)))}}const get=(e,t,r)=>{const n=e[c].get(t);if(n){const t=n.value;if(isStale(e,t)){del(e,n);if(!e[s])return undefined}else{if(r){if(e[p])n.value.now=Date.now();e[f].unshiftNode(n)}}return t.value}};const isStale=(e,t)=>{if(!t||!t.maxAge&&!e[u])return false;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[u]&&r>e[u]};const trim=e=>{if(e[a]>e[i]){for(let t=e[f].tail;e[a]>e[i]&&t!==null;){const r=t.prev;del(e,t);t=r}}};const del=(e,t)=>{if(t){const r=t.value;if(e[l])e[l](r.key,r.value);e[a]-=r.length;e[c].delete(r.key);e[f].removeNode(t)}};class Entry{constructor(e,t,r,n,i){this.key=e;this.value=t;this.length=r;this.now=n;this.maxAge=i||0}}const forEachStep=(e,t,r,n)=>{let i=r.value;if(isStale(e,i)){del(e,r);if(!e[s])i=undefined}if(i)t.call(n,i.value,i.key,e)};e.exports=LRUCache},1532:(e,t,r)=>{const n=Symbol("SemVer ANY");class Comparator{static get ANY(){return n}constructor(e,t){t=i(t);if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}u("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===n){this.value=""}else{this.value=this.operator+this.semver.version}u("comp",this)}parse(e){const t=this.options.loose?a[o.COMPARATORLOOSE]:a[o.COMPARATOR];const r=e.match(t);if(!r){throw new TypeError(`Invalid comparator: ${e}`)}this.operator=r[1]!==undefined?r[1]:"";if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=n}else{this.semver=new l(r[2],this.options.loose)}}toString(){return this.value}test(e){u("Comparator.test",e,this.options.loose);if(this.semver===n||e===n){return true}if(typeof e==="string"){try{e=new l(e,this.options)}catch(e){return false}}return s(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(this.operator===""){if(this.value===""){return true}return new d(e.value,t).test(this.value)}else if(e.operator===""){if(e.value===""){return true}return new d(this.value,t).test(e.semver)}const r=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");const n=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");const i=this.semver.version===e.semver.version;const a=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");const o=s(this.semver,"<",e.semver,t)&&(this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<");const u=s(this.semver,">",e.semver,t)&&(this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">");return r||n||i&&a||o||u}}e.exports=Comparator;const i=r(785);const{re:a,t:o}=r(9523);const s=r(5098);const u=r(427);const l=r(8088);const d=r(9828)},9828:(e,t,r)=>{class Range{constructor(e,t){t=a(t);if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof o){this.raw=e.value;this.set=[[e]];this.format();return this}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${e}`)}if(this.set.length>1){const e=this.set[0];this.set=this.set.filter((e=>!isNullSet(e[0])));if(this.set.length===0)this.set=[e];else if(this.set.length>1){for(const e of this.set){if(e.length===1&&isAny(e[0])){this.set=[e];break}}}}this.format()}format(){this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim();return this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=Object.keys(this.options).join(",");const r=`parseRange:${t}:${e}`;const n=i.get(r);if(n)return n;const a=this.options.loose;const u=a?l[d.HYPHENRANGELOOSE]:l[d.HYPHENRANGE];e=e.replace(u,hyphenReplace(this.options.includePrerelease));s("hyphen replace",e);e=e.replace(l[d.COMPARATORTRIM],f);s("comparator trim",e,l[d.COMPARATORTRIM]);e=e.replace(l[d.TILDETRIM],c);e=e.replace(l[d.CARETTRIM],p);e=e.split(/\s+/).join(" ");const h=a?l[d.COMPARATORLOOSE]:l[d.COMPARATOR];const m=e.split(" ").map((e=>parseComparator(e,this.options))).join(" ").split(/\s+/).map((e=>replaceGTE0(e,this.options))).filter(this.options.loose?e=>!!e.match(h):()=>true).map((e=>new o(e,this.options)));const $=m.length;const v=new Map;for(const e of m){if(isNullSet(e))return[e];v.set(e.value,e)}if(v.size>1&&v.has(""))v.delete("");const g=[...v.values()];i.set(r,g);return g}intersects(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((r=>isSatisfiable(r,t)&&e.set.some((e=>isSatisfiable(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e){return false}if(typeof e==="string"){try{e=new u(e,this.options)}catch(e){return false}}for(let t=0;te.value==="<0.0.0-0";const isAny=e=>e.value==="";const isSatisfiable=(e,t)=>{let r=true;const n=e.slice();let i=n.pop();while(r&&n.length){r=n.every((e=>i.intersects(e,t)));i=n.pop()}return r};const parseComparator=(e,t)=>{s("comp",e,t);e=replaceCarets(e,t);s("caret",e);e=replaceTildes(e,t);s("tildes",e);e=replaceXRanges(e,t);s("xrange",e);e=replaceStars(e,t);s("stars",e);return e};const isX=e=>!e||e.toLowerCase()==="x"||e==="*";const replaceTildes=(e,t)=>e.trim().split(/\s+/).map((e=>replaceTilde(e,t))).join(" ");const replaceTilde=(e,t)=>{const r=t.loose?l[d.TILDELOOSE]:l[d.TILDE];return e.replace(r,((t,r,n,i,a)=>{s("tilde",e,t,r,n,i,a);let o;if(isX(r)){o=""}else if(isX(n)){o=`>=${r}.0.0 <${+r+1}.0.0-0`}else if(isX(i)){o=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`}else if(a){s("replaceTilde pr",a);o=`>=${r}.${n}.${i}-${a} <${r}.${+n+1}.0-0`}else{o=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`}s("tilde return",o);return o}))};const replaceCarets=(e,t)=>e.trim().split(/\s+/).map((e=>replaceCaret(e,t))).join(" ");const replaceCaret=(e,t)=>{s("caret",e,t);const r=t.loose?l[d.CARETLOOSE]:l[d.CARET];const n=t.includePrerelease?"-0":"";return e.replace(r,((t,r,i,a,o)=>{s("caret",e,t,r,i,a,o);let u;if(isX(r)){u=""}else if(isX(i)){u=`>=${r}.0.0${n} <${+r+1}.0.0-0`}else if(isX(a)){if(r==="0"){u=`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`}else{u=`>=${r}.${i}.0${n} <${+r+1}.0.0-0`}}else if(o){s("replaceCaret pr",o);if(r==="0"){if(i==="0"){u=`>=${r}.${i}.${a}-${o} <${r}.${i}.${+a+1}-0`}else{u=`>=${r}.${i}.${a}-${o} <${r}.${+i+1}.0-0`}}else{u=`>=${r}.${i}.${a}-${o} <${+r+1}.0.0-0`}}else{s("no pr");if(r==="0"){if(i==="0"){u=`>=${r}.${i}.${a}${n} <${r}.${i}.${+a+1}-0`}else{u=`>=${r}.${i}.${a}${n} <${r}.${+i+1}.0-0`}}else{u=`>=${r}.${i}.${a} <${+r+1}.0.0-0`}}s("caret return",u);return u}))};const replaceXRanges=(e,t)=>{s("replaceXRanges",e,t);return e.split(/\s+/).map((e=>replaceXRange(e,t))).join(" ")};const replaceXRange=(e,t)=>{e=e.trim();const r=t.loose?l[d.XRANGELOOSE]:l[d.XRANGE];return e.replace(r,((r,n,i,a,o,u)=>{s("xRange",e,r,n,i,a,o,u);const l=isX(i);const d=l||isX(a);const f=d||isX(o);const c=f;if(n==="="&&c){n=""}u=t.includePrerelease?"-0":"";if(l){if(n===">"||n==="<"){r="<0.0.0-0"}else{r="*"}}else if(n&&c){if(d){a=0}o=0;if(n===">"){n=">=";if(d){i=+i+1;a=0;o=0}else{a=+a+1;o=0}}else if(n==="<="){n="<";if(d){i=+i+1}else{a=+a+1}}if(n==="<")u="-0";r=`${n+i}.${a}.${o}${u}`}else if(d){r=`>=${i}.0.0${u} <${+i+1}.0.0-0`}else if(f){r=`>=${i}.${a}.0${u} <${i}.${+a+1}.0-0`}s("xRange return",r);return r}))};const replaceStars=(e,t)=>{s("replaceStars",e,t);return e.trim().replace(l[d.STAR],"")};const replaceGTE0=(e,t)=>{s("replaceGTE0",e,t);return e.trim().replace(l[t.includePrerelease?d.GTE0PRE:d.GTE0],"")};const hyphenReplace=e=>(t,r,n,i,a,o,s,u,l,d,f,c,p)=>{if(isX(n)){r=""}else if(isX(i)){r=`>=${n}.0.0${e?"-0":""}`}else if(isX(a)){r=`>=${n}.${i}.0${e?"-0":""}`}else if(o){r=`>=${r}`}else{r=`>=${r}${e?"-0":""}`}if(isX(l)){u=""}else if(isX(d)){u=`<${+l+1}.0.0-0`}else if(isX(f)){u=`<${l}.${+d+1}.0-0`}else if(c){u=`<=${l}.${d}.${f}-${c}`}else if(e){u=`<${l}.${d}.${+f+1}-0`}else{u=`<=${u}`}return`${r} ${u}`.trim()};const testSet=(e,t,r)=>{for(let r=0;r0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch){return true}}}return false}return true}},8088:(e,t,r)=>{const n=r(427);const{MAX_LENGTH:i,MAX_SAFE_INTEGER:a}=r(2293);const{re:o,t:s}=r(9523);const u=r(785);const{compareIdentifiers:l}=r(2463);class SemVer{constructor(e,t){t=u(t);if(e instanceof SemVer){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError(`Invalid Version: ${e}`)}if(e.length>i){throw new TypeError(`version is longer than ${i} characters`)}n("SemVer",e,t);this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;const r=e.trim().match(t.loose?o[s.LOOSE]:o[s.FULL]);if(!r){throw new TypeError(`Invalid Version: ${e}`)}this.raw=e;this.major=+r[1];this.minor=+r[2];this.patch=+r[3];if(this.major>a||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>a||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>a||this.patch<0){throw new TypeError("Invalid patch version")}if(!r[4]){this.prerelease=[]}else{this.prerelease=r[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0){if(typeof this.prerelease[e]==="number"){this.prerelease[e]++;e=-2}}if(e===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error(`invalid increment argument: ${e}`)}this.format();this.raw=this.version;return this}}e.exports=SemVer},8848:(e,t,r)=>{const n=r(5925);const clean=(e,t)=>{const r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};e.exports=clean},5098:(e,t,r)=>{const n=r(1898);const i=r(6017);const a=r(4123);const o=r(5522);const s=r(194);const u=r(7520);const cmp=(e,t,r,l)=>{switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e===r;case"!==":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e!==r;case"":case"=":case"==":return n(e,r,l);case"!=":return i(e,r,l);case">":return a(e,r,l);case">=":return o(e,r,l);case"<":return s(e,r,l);case"<=":return u(e,r,l);default:throw new TypeError(`Invalid operator: ${t}`)}};e.exports=cmp},3466:(e,t,r)=>{const n=r(8088);const i=r(5925);const{re:a,t:o}=r(9523);const coerce=(e,t)=>{if(e instanceof n){return e}if(typeof e==="number"){e=String(e)}if(typeof e!=="string"){return null}t=t||{};let r=null;if(!t.rtl){r=e.match(a[o.COERCE])}else{let t;while((t=a[o.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length)){if(!r||t.index+t[0].length!==r.index+r[0].length){r=t}a[o.COERCERTL].lastIndex=t.index+t[1].length+t[2].length}a[o.COERCERTL].lastIndex=-1}if(r===null)return null;return i(`${r[2]}.${r[3]||"0"}.${r[4]||"0"}`,t)};e.exports=coerce},2156:(e,t,r)=>{const n=r(8088);const compareBuild=(e,t,r)=>{const i=new n(e,r);const a=new n(t,r);return i.compare(a)||i.compareBuild(a)};e.exports=compareBuild},2804:(e,t,r)=>{const n=r(4309);const compareLoose=(e,t)=>n(e,t,true);e.exports=compareLoose},4309:(e,t,r)=>{const n=r(8088);const compare=(e,t,r)=>new n(e,r).compare(new n(t,r));e.exports=compare},4297:(e,t,r)=>{const n=r(5925);const i=r(1898);const diff=(e,t)=>{if(i(e,t)){return null}else{const r=n(e);const i=n(t);const a=r.prerelease.length||i.prerelease.length;const o=a?"pre":"";const s=a?"prerelease":"";for(const e in r){if(e==="major"||e==="minor"||e==="patch"){if(r[e]!==i[e]){return o+e}}}return s}};e.exports=diff},1898:(e,t,r)=>{const n=r(4309);const eq=(e,t,r)=>n(e,t,r)===0;e.exports=eq},4123:(e,t,r)=>{const n=r(4309);const gt=(e,t,r)=>n(e,t,r)>0;e.exports=gt},5522:(e,t,r)=>{const n=r(4309);const gte=(e,t,r)=>n(e,t,r)>=0;e.exports=gte},900:(e,t,r)=>{const n=r(8088);const inc=(e,t,r,i)=>{if(typeof r==="string"){i=r;r=undefined}try{return new n(e,r).inc(t,i).version}catch(e){return null}};e.exports=inc},194:(e,t,r)=>{const n=r(4309);const lt=(e,t,r)=>n(e,t,r)<0;e.exports=lt},7520:(e,t,r)=>{const n=r(4309);const lte=(e,t,r)=>n(e,t,r)<=0;e.exports=lte},6688:(e,t,r)=>{const n=r(8088);const major=(e,t)=>new n(e,t).major;e.exports=major},8447:(e,t,r)=>{const n=r(8088);const minor=(e,t)=>new n(e,t).minor;e.exports=minor},6017:(e,t,r)=>{const n=r(4309);const neq=(e,t,r)=>n(e,t,r)!==0;e.exports=neq},5925:(e,t,r)=>{const{MAX_LENGTH:n}=r(2293);const{re:i,t:a}=r(9523);const o=r(8088);const s=r(785);const parse=(e,t)=>{t=s(t);if(e instanceof o){return e}if(typeof e!=="string"){return null}if(e.length>n){return null}const r=t.loose?i[a.LOOSE]:i[a.FULL];if(!r.test(e)){return null}try{return new o(e,t)}catch(e){return null}};e.exports=parse},2866:(e,t,r)=>{const n=r(8088);const patch=(e,t)=>new n(e,t).patch;e.exports=patch},4016:(e,t,r)=>{const n=r(5925);const prerelease=(e,t)=>{const r=n(e,t);return r&&r.prerelease.length?r.prerelease:null};e.exports=prerelease},6417:(e,t,r)=>{const n=r(4309);const rcompare=(e,t,r)=>n(t,e,r);e.exports=rcompare},8701:(e,t,r)=>{const n=r(2156);const rsort=(e,t)=>e.sort(((e,r)=>n(r,e,t)));e.exports=rsort},6055:(e,t,r)=>{const n=r(9828);const satisfies=(e,t,r)=>{try{t=new n(t,r)}catch(e){return false}return t.test(e)};e.exports=satisfies},1426:(e,t,r)=>{const n=r(2156);const sort=(e,t)=>e.sort(((e,r)=>n(e,r,t)));e.exports=sort},9601:(e,t,r)=>{const n=r(5925);const valid=(e,t)=>{const r=n(e,t);return r?r.version:null};e.exports=valid},1383:(e,t,r)=>{const n=r(9523);e.exports={re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:r(2293).SEMVER_SPEC_VERSION,SemVer:r(8088),compareIdentifiers:r(2463).compareIdentifiers,rcompareIdentifiers:r(2463).rcompareIdentifiers,parse:r(5925),valid:r(9601),clean:r(8848),inc:r(900),diff:r(4297),major:r(6688),minor:r(8447),patch:r(2866),prerelease:r(4016),compare:r(4309),rcompare:r(6417),compareLoose:r(2804),compareBuild:r(2156),sort:r(1426),rsort:r(8701),gt:r(4123),lt:r(194),eq:r(1898),neq:r(6017),gte:r(5522),lte:r(7520),cmp:r(5098),coerce:r(3466),Comparator:r(1532),Range:r(9828),satisfies:r(6055),toComparators:r(2706),maxSatisfying:r(579),minSatisfying:r(832),minVersion:r(4179),validRange:r(1741),outside:r(420),gtr:r(9380),ltr:r(3323),intersects:r(7008),simplifyRange:r(5297),subset:r(7863)}},2293:e=>{const t="2.0.0";const r=256;const n=Number.MAX_SAFE_INTEGER||9007199254740991;const i=16;e.exports={SEMVER_SPEC_VERSION:t,MAX_LENGTH:r,MAX_SAFE_INTEGER:n,MAX_SAFE_COMPONENT_LENGTH:i}},427:e=>{const t=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},2463:e=>{const t=/^[0-9]+$/;const compareIdentifiers=(e,r)=>{const n=t.test(e);const i=t.test(r);if(n&&i){e=+e;r=+r}return e===r?0:n&&!i?-1:i&&!n?1:ecompareIdentifiers(t,e);e.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},785:e=>{const t=["includePrerelease","loose","rtl"];const parseOptions=e=>!e?{}:typeof e!=="object"?{loose:true}:t.filter((t=>e[t])).reduce(((e,t)=>{e[t]=true;return e}),{});e.exports=parseOptions},9523:(e,t,r)=>{const{MAX_SAFE_COMPONENT_LENGTH:n}=r(2293);const i=r(427);t=e.exports={};const a=t.re=[];const o=t.src=[];const s=t.t={};let u=0;const createToken=(e,t,r)=>{const n=u++;i(n,t);s[e]=n;o[n]=t;a[n]=new RegExp(t,r?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","[0-9]+");createToken("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");createToken("MAINVERSION",`(${o[s.NUMERICIDENTIFIER]})\\.`+`(${o[s.NUMERICIDENTIFIER]})\\.`+`(${o[s.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${o[s.NUMERICIDENTIFIERLOOSE]})\\.`+`(${o[s.NUMERICIDENTIFIERLOOSE]})\\.`+`(${o[s.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${o[s.NUMERICIDENTIFIER]}|${o[s.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${o[s.NUMERICIDENTIFIERLOOSE]}|${o[s.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASE",`(?:-(${o[s.PRERELEASEIDENTIFIER]}(?:\\.${o[s.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${o[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[s.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER","[0-9A-Za-z-]+");createToken("BUILD",`(?:\\+(${o[s.BUILDIDENTIFIER]}(?:\\.${o[s.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${o[s.MAINVERSION]}${o[s.PRERELEASE]}?${o[s.BUILD]}?`);createToken("FULL",`^${o[s.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${o[s.MAINVERSIONLOOSE]}${o[s.PRERELEASELOOSE]}?${o[s.BUILD]}?`);createToken("LOOSE",`^${o[s.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${o[s.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${o[s.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${o[s.XRANGEIDENTIFIER]})`+`(?:\\.(${o[s.XRANGEIDENTIFIER]})`+`(?:\\.(${o[s.XRANGEIDENTIFIER]})`+`(?:${o[s.PRERELEASE]})?${o[s.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${o[s.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${o[s.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${o[s.XRANGEIDENTIFIERLOOSE]})`+`(?:${o[s.PRERELEASELOOSE]})?${o[s.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${o[s.GTLT]}\\s*${o[s.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${o[s.GTLT]}\\s*${o[s.XRANGEPLAINLOOSE]}$`);createToken("COERCE",`${"(^|[^\\d])"+"(\\d{1,"}${n}})`+`(?:\\.(\\d{1,${n}}))?`+`(?:\\.(\\d{1,${n}}))?`+`(?:$|[^\\d])`);createToken("COERCERTL",o[s.COERCE],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${o[s.LONETILDE]}\\s+`,true);t.tildeTrimReplace="$1~";createToken("TILDE",`^${o[s.LONETILDE]}${o[s.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${o[s.LONETILDE]}${o[s.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${o[s.LONECARET]}\\s+`,true);t.caretTrimReplace="$1^";createToken("CARET",`^${o[s.LONECARET]}${o[s.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${o[s.LONECARET]}${o[s.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${o[s.GTLT]}\\s*(${o[s.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${o[s.GTLT]}\\s*(${o[s.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${o[s.GTLT]}\\s*(${o[s.LOOSEPLAIN]}|${o[s.XRANGEPLAIN]})`,true);t.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${o[s.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${o[s.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${o[s.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${o[s.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0.0.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},9380:(e,t,r)=>{const n=r(420);const gtr=(e,t,r)=>n(e,t,">",r);e.exports=gtr},7008:(e,t,r)=>{const n=r(9828);const intersects=(e,t,r)=>{e=new n(e,r);t=new n(t,r);return e.intersects(t)};e.exports=intersects},3323:(e,t,r)=>{const n=r(420);const ltr=(e,t,r)=>n(e,t,"<",r);e.exports=ltr},579:(e,t,r)=>{const n=r(8088);const i=r(9828);const maxSatisfying=(e,t,r)=>{let a=null;let o=null;let s=null;try{s=new i(t,r)}catch(e){return null}e.forEach((e=>{if(s.test(e)){if(!a||o.compare(e)===-1){a=e;o=new n(a,r)}}}));return a};e.exports=maxSatisfying},832:(e,t,r)=>{const n=r(8088);const i=r(9828);const minSatisfying=(e,t,r)=>{let a=null;let o=null;let s=null;try{s=new i(t,r)}catch(e){return null}e.forEach((e=>{if(s.test(e)){if(!a||o.compare(e)===1){a=e;o=new n(a,r)}}}));return a};e.exports=minSatisfying},4179:(e,t,r)=>{const n=r(8088);const i=r(9828);const a=r(4123);const minVersion=(e,t)=>{e=new i(e,t);let r=new n("0.0.0");if(e.test(r)){return r}r=new n("0.0.0-0");if(e.test(r)){return r}r=null;for(let t=0;t{const t=new n(e.semver.version);switch(e.operator){case">":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!o||a(t,o)){o=t}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${e.operator}`)}}));if(o&&(!r||a(r,o)))r=o}if(r&&e.test(r)){return r}return null};e.exports=minVersion},420:(e,t,r)=>{const n=r(8088);const i=r(1532);const{ANY:a}=i;const o=r(9828);const s=r(6055);const u=r(4123);const l=r(194);const d=r(7520);const f=r(5522);const outside=(e,t,r,c)=>{e=new n(e,c);t=new o(t,c);let p,h,m,$,v;switch(r){case">":p=u;h=d;m=l;$=">";v=">=";break;case"<":p=l;h=f;m=u;$="<";v="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,c)){return false}for(let r=0;r{if(e.semver===a){e=new i(">=0.0.0")}o=o||e;s=s||e;if(p(e.semver,o.semver,c)){o=e}else if(m(e.semver,s.semver,c)){s=e}}));if(o.operator===$||o.operator===v){return false}if((!s.operator||s.operator===$)&&h(e,s.semver)){return false}else if(s.operator===v&&m(e,s.semver)){return false}}return true};e.exports=outside},5297:(e,t,r)=>{const n=r(6055);const i=r(4309);e.exports=(e,t,r)=>{const a=[];let o=null;let s=null;const u=e.sort(((e,t)=>i(e,t,r)));for(const e of u){const i=n(e,t,r);if(i){s=e;if(!o)o=e}else{if(s){a.push([o,s])}s=null;o=null}}if(o)a.push([o,null]);const l=[];for(const[e,t]of a){if(e===t)l.push(e);else if(!t&&e===u[0])l.push("*");else if(!t)l.push(`>=${e}`);else if(e===u[0])l.push(`<=${t}`);else l.push(`${e} - ${t}`)}const d=l.join(" || ");const f=typeof t.raw==="string"?t.raw:String(t);return d.length{const n=r(9828);const i=r(1532);const{ANY:a}=i;const o=r(6055);const s=r(4309);const subset=(e,t,r={})=>{if(e===t)return true;e=new n(e,r);t=new n(t,r);let i=false;e:for(const n of e.set){for(const e of t.set){const t=simpleSubset(n,e,r);i=i||t!==null;if(t)continue e}if(i)return false}return true};const simpleSubset=(e,t,r)=>{if(e===t)return true;if(e.length===1&&e[0].semver===a){if(t.length===1&&t[0].semver===a)return true;else if(r.includePrerelease)e=[new i(">=0.0.0-0")];else e=[new i(">=0.0.0")]}if(t.length===1&&t[0].semver===a){if(r.includePrerelease)return true;else t=[new i(">=0.0.0")]}const n=new Set;let u,l;for(const t of e){if(t.operator===">"||t.operator===">=")u=higherGT(u,t,r);else if(t.operator==="<"||t.operator==="<=")l=lowerLT(l,t,r);else n.add(t.semver)}if(n.size>1)return null;let d;if(u&&l){d=s(u.semver,l.semver,r);if(d>0)return null;else if(d===0&&(u.operator!==">="||l.operator!=="<="))return null}for(const e of n){if(u&&!o(e,String(u),r))return null;if(l&&!o(e,String(l),r))return null;for(const n of t){if(!o(e,String(n),r))return false}return true}let f,c;let p,h;let m=l&&!r.includePrerelease&&l.semver.prerelease.length?l.semver:false;let $=u&&!r.includePrerelease&&u.semver.prerelease.length?u.semver:false;if(m&&m.prerelease.length===1&&l.operator==="<"&&m.prerelease[0]===0){m=false}for(const e of t){h=h||e.operator===">"||e.operator===">=";p=p||e.operator==="<"||e.operator==="<=";if(u){if($){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===$.major&&e.semver.minor===$.minor&&e.semver.patch===$.patch){$=false}}if(e.operator===">"||e.operator===">="){f=higherGT(u,e,r);if(f===e&&f!==u)return false}else if(u.operator===">="&&!o(u.semver,String(e),r))return false}if(l){if(m){if(e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===m.major&&e.semver.minor===m.minor&&e.semver.patch===m.patch){m=false}}if(e.operator==="<"||e.operator==="<="){c=lowerLT(l,e,r);if(c===e&&c!==l)return false}else if(l.operator==="<="&&!o(l.semver,String(e),r))return false}if(!e.operator&&(l||u)&&d!==0)return false}if(u&&p&&!l&&d!==0)return false;if(l&&h&&!u&&d!==0)return false;if($||m)return false;return true};const higherGT=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return n>0?e:n<0?t:t.operator===">"&&e.operator===">="?t:e};const lowerLT=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return n<0?e:n>0?t:t.operator==="<"&&e.operator==="<="?t:e};e.exports=subset},2706:(e,t,r)=>{const n=r(9828);const toComparators=(e,t)=>new n(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")));e.exports=toComparators},1741:(e,t,r)=>{const n=r(9828);const validRange=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}};e.exports=validRange},4294:(e,t,r)=>{e.exports=r(4219)},4219:(e,t,r)=>{"use strict";var n=r(1808);var i=r(4404);var a=r(3685);var o=r(5687);var s=r(2361);var u=r(9491);var l=r(3837);t.httpOverHttp=httpOverHttp;t.httpsOverHttp=httpsOverHttp;t.httpOverHttps=httpOverHttps;t.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var t=new TunnelingAgent(e);t.request=a.request;return t}function httpsOverHttp(e){var t=new TunnelingAgent(e);t.request=a.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function httpOverHttps(e){var t=new TunnelingAgent(e);t.request=o.request;return t}function httpsOverHttps(e){var t=new TunnelingAgent(e);t.request=o.request;t.createSocket=createSecureSocket;t.defaultPort=443;return t}function TunnelingAgent(e){var t=this;t.options=e||{};t.proxyOptions=t.options.proxy||{};t.maxSockets=t.options.maxSockets||a.Agent.defaultMaxSockets;t.requests=[];t.sockets=[];t.on("free",(function onFree(e,r,n,i){var a=toOptions(r,n,i);for(var o=0,s=t.requests.length;o=this.maxSockets){i.requests.push(a);return}i.createSocket(a,(function(t){t.on("free",onFree);t.on("close",onCloseOrRemove);t.on("agentRemove",onCloseOrRemove);e.onSocket(t);function onFree(){i.emit("free",t,a)}function onCloseOrRemove(e){i.removeSocket(t);t.removeListener("free",onFree);t.removeListener("close",onCloseOrRemove);t.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(e,t){var r=this;var n={};r.sockets.push(n);var i=mergeOptions({},r.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false,headers:{host:e.host+":"+e.port}});if(e.localAddress){i.localAddress=e.localAddress}if(i.proxyAuth){i.headers=i.headers||{};i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")}d("making CONNECT request");var a=r.request(i);a.useChunkedEncodingByDefault=false;a.once("response",onResponse);a.once("upgrade",onUpgrade);a.once("connect",onConnect);a.once("error",onError);a.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,t,r){process.nextTick((function(){onConnect(e,t,r)}))}function onConnect(i,o,s){a.removeAllListeners();o.removeAllListeners();if(i.statusCode!==200){d("tunneling socket could not be established, statusCode=%d",i.statusCode);o.destroy();var u=new Error("tunneling socket could not be established, "+"statusCode="+i.statusCode);u.code="ECONNRESET";e.request.emit("error",u);r.removeSocket(n);return}if(s.length>0){d("got illegal response body from proxy");o.destroy();var u=new Error("got illegal response body from proxy");u.code="ECONNRESET";e.request.emit("error",u);r.removeSocket(n);return}d("tunneling connection has established");r.sockets[r.sockets.indexOf(n)]=o;return t(o)}function onError(t){a.removeAllListeners();d("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var i=new Error("tunneling socket could not be established, "+"cause="+t.message);i.code="ECONNRESET";e.request.emit("error",i);r.removeSocket(n)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var t=this.sockets.indexOf(e);if(t===-1){return}this.sockets.splice(t,1);var r=this.requests.shift();if(r){this.createSocket(r,(function(e){r.request.onSocket(e)}))}};function createSecureSocket(e,t){var r=this;TunnelingAgent.prototype.createSocket.call(r,e,(function(n){var a=e.request.getHeader("host");var o=mergeOptions({},r.options,{socket:n,servername:a?a.replace(/:.*$/,""):e.host});var s=i.connect(0,o);r.sockets[r.sockets.indexOf(n)]=s;t(s)}))}function toOptions(e,t,r){if(typeof e==="string"){return{host:e,port:t,localAddress:r}}return e}function mergeOptions(e){for(var t=1,r=arguments.length;t{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.commaDecimal=t.dotDecimal=t.farsiLocales=t.arabicLocales=t.englishLocales=t.decimal=t.alphanumeric=t.alpha=void 0;var r={"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ώ]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fa-IR":/^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,"fi-FI":/^[A-ZÅÄÖ]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๐\s]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"vi-VN":/^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,fa:/^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i,"hi-IN":/^[\u0900-\u0961]+[\u0972-\u097F]*$/i};t.alpha=r;var n={"en-US":/^[0-9A-Z]+$/i,"az-AZ":/^[0-9A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fi-FI":/^[0-9A-ZÅÄÖ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"sl-SI":/^[0-9A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๙\s]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,fa:/^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i,"hi-IN":/^[\u0900-\u0963]+[\u0966-\u097F]*$/i};t.alphanumeric=n;var i={"en-US":".",ar:"٫"};t.decimal=i;var a=["AU","GB","HK","IN","NZ","ZA","ZM"];t.englishLocales=a;for(var o,s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=contains;var n=_interopRequireDefault(r(1420));var i=_interopRequireDefault(r(6451));var a=_interopRequireDefault(r(9956));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var o={ignoreCase:false,minOccurrences:1};function contains(e,t,r){(0,n.default)(e);r=(0,a.default)(r,o);if(r.ignoreCase){return e.toLowerCase().split((0,i.default)(t).toLowerCase()).length>r.minOccurrences}return e.split((0,i.default)(t)).length>r.minOccurrences}e.exports=t.default;e.exports["default"]=t.default},899:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isAlpha;t.locales=void 0;var n=_interopRequireDefault(r(1420));var i=r(2644);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function isAlpha(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"en-US";var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};(0,n.default)(e);var a=e;var o=r.ignore;if(o){if(o instanceof RegExp){a=a.replace(o,"")}else if(typeof o==="string"){a=a.replace(new RegExp("[".concat(o.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}else{throw new Error("ignore should be instance of a String or RegExp")}}if(t in i.alpha){return i.alpha[t].test(a)}throw new Error("Invalid locale '".concat(t,"'"))}var a=Object.keys(i.alpha);t.locales=a},8317:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isAlphanumeric;t.locales=void 0;var n=_interopRequireDefault(r(1420));var i=r(2644);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function isAlphanumeric(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"en-US";var r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};(0,n.default)(e);var a=e;var o=r.ignore;if(o){if(o instanceof RegExp){a=a.replace(o,"")}else if(typeof o==="string"){a=a.replace(new RegExp("[".concat(o.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}else{throw new Error("ignore should be instance of a String or RegExp")}}if(t in i.alphanumeric){return i.alphanumeric[t].test(a)}throw new Error("Invalid locale '".concat(t,"'"))}var a=Object.keys(i.alphanumeric);t.locales=a},4433:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isAscii;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^[\x00-\x7F]+$/;function isAscii(e){(0,n.default)(e);return i.test(e)}e.exports=t.default;e.exports["default"]=t.default},5776:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isBIC;var n=_interopRequireDefault(r(1420));var i=r(3442);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=/^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$/;function isBIC(e){(0,n.default)(e);if(!i.CountryCodes.has(e.slice(4,6).toUpperCase())){return false}return a.test(e)}e.exports=t.default;e.exports["default"]=t.default},6135:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isBase32;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^[A-Z2-7]+=*$/;function isBase32(e){(0,n.default)(e);var t=e.length;if(t%8===0&&i.test(e)){return true}return false}e.exports=t.default;e.exports["default"]=t.default},7003:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isBase64;var n=_interopRequireDefault(r(1420));var i=_interopRequireDefault(r(9956));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=/[^A-Z0-9+\/=]/i;var o=/^[A-Z0-9_\-]*$/i;var s={urlSafe:false};function isBase64(e,t){(0,n.default)(e);t=(0,i.default)(t,s);var r=e.length;if(t.urlSafe){return o.test(e)}if(r%4!==0||a.test(e)){return false}var u=e.indexOf("=");return u===-1||u===r-1||u===r-2&&e[r-1]==="="}e.exports=t.default;e.exports["default"]=t.default},2276:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isBoolean;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i={loose:false};var a=["true","false","1","0"];var o=[].concat(a,["yes","no"]);function isBoolean(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:i;(0,n.default)(e);if(t.loose){return o.includes(e.toLowerCase())}return a.includes(e)}e.exports=t.default;e.exports["default"]=t.default},6185:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isBtcAddress;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^(bc1)[a-z0-9]{25,39}$/;var a=/^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/;function isBtcAddress(e){(0,n.default)(e);if(e.startsWith("bc1")){return i.test(e)}return a.test(e)}e.exports=t.default;e.exports["default"]=t.default},3189:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isByteLength;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _typeof(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function isByteLength(e,t){(0,n.default)(e);var r;var i;if(_typeof(t)==="object"){r=t.min||0;i=t.max}else{r=arguments[1];i=arguments[2]}var a=encodeURI(e).split(/%..|./).length-1;return a>=r&&(typeof i==="undefined"||a<=i)}e.exports=t.default;e.exports["default"]=t.default},1419:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isCreditCard;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^(?:4[0-9]{12}(?:[0-9]{3,6})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12,15}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14}|^(81[0-9]{14,17}))$/;function isCreditCard(e){(0,n.default)(e);var t=e.replace(/[- ]+/g,"");if(!i.test(t)){return false}var r=0;var a;var o;var s;for(var u=t.length-1;u>=0;u--){a=t.substring(u,u+1);o=parseInt(a,10);if(s){o*=2;if(o>=10){r+=o%10+1}else{r+=o}}else{r+=o}s=!s}return!!(r%10===0?t:false)}e.exports=t.default;e.exports["default"]=t.default},5429:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isCurrency;var n=_interopRequireDefault(r(9956));var i=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function currencyRegex(e){var t="\\d{".concat(e.digits_after_decimal[0],"}");e.digits_after_decimal.forEach((function(e,r){if(r!==0)t="".concat(t,"|\\d{").concat(e,"}")}));var r="(".concat(e.symbol.replace(/\W/,(function(e){return"\\".concat(e)})),")").concat(e.require_symbol?"":"?"),n="-?",i="[1-9]\\d*",a="[1-9]\\d{0,2}(\\".concat(e.thousands_separator,"\\d{3})*"),o=["0",i,a],s="(".concat(o.join("|"),")?"),u="(\\".concat(e.decimal_separator,"(").concat(t,"))").concat(e.require_decimal?"":"?");var l=s+(e.allow_decimal||e.require_decimal?u:"");if(e.allow_negatives&&!e.parens_for_negatives){if(e.negative_sign_after_digits){l+=n}else if(e.negative_sign_before_digits){l=n+l}}if(e.allow_negative_sign_placeholder){l="( (?!\\-))?".concat(l)}else if(e.allow_space_after_symbol){l=" ?".concat(l)}else if(e.allow_space_after_digits){l+="( (?!$))?"}if(e.symbol_after_digits){l+=r}else{l=r+l}if(e.allow_negatives){if(e.parens_for_negatives){l="(\\(".concat(l,"\\)|").concat(l,")")}else if(!(e.negative_sign_before_digits||e.negative_sign_after_digits)){l=n+l}}return new RegExp("^(?!-? )(?=.*\\d)".concat(l,"$"))}var a={symbol:"$",require_symbol:false,allow_space_after_symbol:false,symbol_after_digits:false,allow_negatives:true,parens_for_negatives:false,negative_sign_before_digits:false,negative_sign_after_digits:false,allow_negative_sign_placeholder:false,thousands_separator:",",decimal_separator:".",allow_decimal:true,require_decimal:false,digits_after_decimal:[2],allow_space_after_digits:false};function isCurrency(e,t){(0,i.default)(e);t=(0,n.default)(t,a);return currencyRegex(t).test(e)}e.exports=t.default;e.exports["default"]=t.default},2977:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isDataURI;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^[a-z]+\/[a-z0-9\-\+]+$/i;var a=/^[a-z\-]+=[a-z0-9\-]+$/i;var o=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;function isDataURI(e){(0,n.default)(e);var t=e.split(",");if(t.length<2){return false}var r=t.shift().trim().split(";");var s=r.shift();if(s.substr(0,5)!=="data:"){return false}var u=s.substr(5);if(u!==""&&!i.test(u)){return false}for(var l=0;l{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isDecimal;var n=_interopRequireDefault(r(9956));var i=_interopRequireDefault(r(1420));var a=_interopRequireDefault(r(5484));var o=r(2644);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function decimalRegExp(e){var t=new RegExp("^[-+]?([0-9]+)?(\\".concat(o.decimal[e.locale],"[0-9]{").concat(e.decimal_digits,"})").concat(e.force_decimal?"":"?","$"));return t}var s={force_decimal:false,decimal_digits:"1,",locale:"en-US"};var u=["","-","+"];function isDecimal(e,t){(0,i.default)(e);t=(0,n.default)(t,s);if(t.locale in o.decimal){return!(0,a.default)(u,e.replace(/ /g,""))&&decimalRegExp(t).test(e)}throw new Error("Invalid locale '".concat(t.locale,"'"))}e.exports=t.default;e.exports["default"]=t.default},4098:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isDivisibleBy;var n=_interopRequireDefault(r(1420));var i=_interopRequireDefault(r(2429));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function isDivisibleBy(e,t){(0,n.default)(e);return(0,i.default)(e)%parseInt(t,10)===0}e.exports=t.default;e.exports["default"]=t.default},7597:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isEAN;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=8;var a=14;var o=/^(\d{8}|\d{13}|\d{14})$/;function getPositionWeightThroughLengthAndIndex(e,t){if(e===i||e===a){return t%2===0?3:1}return t%2===0?1:3}function calculateCheckDigit(e){var t=e.slice(0,-1).split("").map((function(t,r){return Number(t)*getPositionWeightThroughLengthAndIndex(e.length,r)})).reduce((function(e,t){return e+t}),0);var r=10-t%10;return r<10?r:0}function isEAN(e){(0,n.default)(e);var t=Number(e.slice(-1));return o.test(e)&&t===calculateCheckDigit(e)}e.exports=t.default;e.exports["default"]=t.default},1324:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isEmail;var n=_interopRequireDefault(r(1420));var i=_interopRequireDefault(r(9956));var a=_interopRequireDefault(r(3189));var o=_interopRequireDefault(r(5627));var s=_interopRequireDefault(r(8253));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var u={allow_display_name:false,require_display_name:false,allow_utf8_local_part:true,require_tld:true,blacklisted_chars:"",ignore_max_length:false,host_blacklist:[]};var l=/^([^\x00-\x1F\x7F-\x9F\cX]+)]/.test(t);if(r){if(t===e){return false}var n=t.split('"').length===t.split('\\"').length;if(!n){return false}}return true}function isEmail(e,t){(0,n.default)(e);t=(0,i.default)(t,u);if(t.require_display_name||t.allow_display_name){var r=e.match(l);if(r){var $=r[1];e=e.replace($,"").replace(/(^<|>$)/g,"");if($.endsWith(" ")){$=$.substr(0,$.length-1)}if(!validateDisplayName($)){return false}}else if(t.require_display_name){return false}}if(!t.ignore_max_length&&e.length>m){return false}var v=e.split("@");var g=v.pop();var _=g.toLowerCase();if(t.host_blacklist.includes(_)){return false}var y=v.join("@");if(t.domain_specific_validation&&(_==="gmail.com"||_==="googlemail.com")){y=y.toLowerCase();var b=y.split("+")[0];if(!(0,a.default)(b.replace(/\./g,""),{min:6,max:30})){return false}var I=b.split(".");for(var N=0;N{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isEthereumAddress;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^(0x)[0-9a-f]{40}$/i;function isEthereumAddress(e){(0,n.default)(e);return i.test(e)}e.exports=t.default;e.exports["default"]=t.default},5627:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isFQDN;var n=_interopRequireDefault(r(1420));var i=_interopRequireDefault(r(9956));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a={require_tld:true,allow_underscores:false,allow_trailing_dot:false,allow_numeric_tld:false,allow_wildcard:false};function isFQDN(e,t){(0,n.default)(e);t=(0,i.default)(t,a);if(t.allow_trailing_dot&&e[e.length-1]==="."){e=e.substring(0,e.length-1)}if(t.allow_wildcard===true&&e.indexOf("*.")===0){e=e.substring(2)}var r=e.split(".");var o=r[r.length-1];if(t.require_tld){if(r.length<2){return false}if(!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(o)){return false}if(/\s/.test(o)){return false}}if(!t.allow_numeric_tld&&/^\d+$/.test(o)){return false}return r.every((function(e){if(e.length>63){return false}if(!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)){return false}if(/[\uff01-\uff5e]/.test(e)){return false}if(/^-|-$/.test(e)){return false}if(!t.allow_underscores&&/_/.test(e)){return false}return true}))}e.exports=t.default;e.exports["default"]=t.default},3158:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isFloat;t.locales=void 0;var n=_interopRequireDefault(r(1420));var i=r(2644);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function isFloat(e,t){(0,n.default)(e);t=t||{};var r=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?i.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(e===""||e==="."||e==="-"||e==="+"){return false}var a=parseFloat(e.replace(",","."));return r.test(e)&&(!t.hasOwnProperty("min")||a>=t.min)&&(!t.hasOwnProperty("max")||a<=t.max)&&(!t.hasOwnProperty("lt")||at.gt)}var a=Object.keys(i.decimal);t.locales=a},2619:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isFullWidth;t.fullWidth=void 0;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.fullWidth=i;function isFullWidth(e){(0,n.default)(e);return i.test(e)}},429:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isHSL;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(,(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}(,((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?))?\)$/i;var a=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(\s(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s?(\/\s((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s?)?\)$/i;function isHSL(e){(0,n.default)(e);var t=e.replace(/\s+/g," ").replace(/\s?(hsla?\(|\)|,)\s?/gi,"$1");if(t.indexOf(",")!==-1){return i.test(t)}return a.test(t)}e.exports=t.default;e.exports["default"]=t.default},2176:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isHalfWidth;t.halfWidth=void 0;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.halfWidth=i;function isHalfWidth(e){(0,n.default)(e);return i.test(e)}},9841:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isHash;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};function isHash(e,t){(0,n.default)(e);var r=new RegExp("^[a-fA-F0-9]{".concat(i[t],"}$"));return r.test(e)}e.exports=t.default;e.exports["default"]=t.default},1992:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isHexColor;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;function isHexColor(e){(0,n.default)(e);return i.test(e)}e.exports=t.default;e.exports["default"]=t.default},6262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isHexadecimal;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^(0x|0h)?[0-9A-F]+$/i;function isHexadecimal(e){(0,n.default)(e);return i.test(e)}e.exports=t.default;e.exports["default"]=t.default},8111:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isIBAN;t.locales=void 0;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,AE:/^(AE[0-9]{2})\d{3}\d{16}$/,AL:/^(AL[0-9]{2})\d{8}[A-Z0-9]{16}$/,AT:/^(AT[0-9]{2})\d{16}$/,AZ:/^(AZ[0-9]{2})[A-Z0-9]{4}\d{20}$/,BA:/^(BA[0-9]{2})\d{16}$/,BE:/^(BE[0-9]{2})\d{12}$/,BG:/^(BG[0-9]{2})[A-Z]{4}\d{6}[A-Z0-9]{8}$/,BH:/^(BH[0-9]{2})[A-Z]{4}[A-Z0-9]{14}$/,BR:/^(BR[0-9]{2})\d{23}[A-Z]{1}[A-Z0-9]{1}$/,BY:/^(BY[0-9]{2})[A-Z0-9]{4}\d{20}$/,CH:/^(CH[0-9]{2})\d{5}[A-Z0-9]{12}$/,CR:/^(CR[0-9]{2})\d{18}$/,CY:/^(CY[0-9]{2})\d{8}[A-Z0-9]{16}$/,CZ:/^(CZ[0-9]{2})\d{20}$/,DE:/^(DE[0-9]{2})\d{18}$/,DK:/^(DK[0-9]{2})\d{14}$/,DO:/^(DO[0-9]{2})[A-Z]{4}\d{20}$/,EE:/^(EE[0-9]{2})\d{16}$/,EG:/^(EG[0-9]{2})\d{25}$/,ES:/^(ES[0-9]{2})\d{20}$/,FI:/^(FI[0-9]{2})\d{14}$/,FO:/^(FO[0-9]{2})\d{14}$/,FR:/^(FR[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,GB:/^(GB[0-9]{2})[A-Z]{4}\d{14}$/,GE:/^(GE[0-9]{2})[A-Z0-9]{2}\d{16}$/,GI:/^(GI[0-9]{2})[A-Z]{4}[A-Z0-9]{15}$/,GL:/^(GL[0-9]{2})\d{14}$/,GR:/^(GR[0-9]{2})\d{7}[A-Z0-9]{16}$/,GT:/^(GT[0-9]{2})[A-Z0-9]{4}[A-Z0-9]{20}$/,HR:/^(HR[0-9]{2})\d{17}$/,HU:/^(HU[0-9]{2})\d{24}$/,IE:/^(IE[0-9]{2})[A-Z0-9]{4}\d{14}$/,IL:/^(IL[0-9]{2})\d{19}$/,IQ:/^(IQ[0-9]{2})[A-Z]{4}\d{15}$/,IR:/^(IR[0-9]{2})0\d{2}0\d{18}$/,IS:/^(IS[0-9]{2})\d{22}$/,IT:/^(IT[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,JO:/^(JO[0-9]{2})[A-Z]{4}\d{22}$/,KW:/^(KW[0-9]{2})[A-Z]{4}[A-Z0-9]{22}$/,KZ:/^(KZ[0-9]{2})\d{3}[A-Z0-9]{13}$/,LB:/^(LB[0-9]{2})\d{4}[A-Z0-9]{20}$/,LC:/^(LC[0-9]{2})[A-Z]{4}[A-Z0-9]{24}$/,LI:/^(LI[0-9]{2})\d{5}[A-Z0-9]{12}$/,LT:/^(LT[0-9]{2})\d{16}$/,LU:/^(LU[0-9]{2})\d{3}[A-Z0-9]{13}$/,LV:/^(LV[0-9]{2})[A-Z]{4}[A-Z0-9]{13}$/,MC:/^(MC[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,MD:/^(MD[0-9]{2})[A-Z0-9]{20}$/,ME:/^(ME[0-9]{2})\d{18}$/,MK:/^(MK[0-9]{2})\d{3}[A-Z0-9]{10}\d{2}$/,MR:/^(MR[0-9]{2})\d{23}$/,MT:/^(MT[0-9]{2})[A-Z]{4}\d{5}[A-Z0-9]{18}$/,MU:/^(MU[0-9]{2})[A-Z]{4}\d{19}[A-Z]{3}$/,MZ:/^(MZ[0-9]{2})\d{21}$/,NL:/^(NL[0-9]{2})[A-Z]{4}\d{10}$/,NO:/^(NO[0-9]{2})\d{11}$/,PK:/^(PK[0-9]{2})[A-Z0-9]{4}\d{16}$/,PL:/^(PL[0-9]{2})\d{24}$/,PS:/^(PS[0-9]{2})[A-Z0-9]{4}\d{21}$/,PT:/^(PT[0-9]{2})\d{21}$/,QA:/^(QA[0-9]{2})[A-Z]{4}[A-Z0-9]{21}$/,RO:/^(RO[0-9]{2})[A-Z]{4}[A-Z0-9]{16}$/,RS:/^(RS[0-9]{2})\d{18}$/,SA:/^(SA[0-9]{2})\d{2}[A-Z0-9]{18}$/,SC:/^(SC[0-9]{2})[A-Z]{4}\d{20}[A-Z]{3}$/,SE:/^(SE[0-9]{2})\d{20}$/,SI:/^(SI[0-9]{2})\d{15}$/,SK:/^(SK[0-9]{2})\d{20}$/,SM:/^(SM[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,SV:/^(SV[0-9]{2})[A-Z0-9]{4}\d{20}$/,TL:/^(TL[0-9]{2})\d{19}$/,TN:/^(TN[0-9]{2})\d{20}$/,TR:/^(TR[0-9]{2})\d{5}[A-Z0-9]{17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/};function hasValidIbanFormat(e){var t=e.replace(/[\s\-]+/gi,"").toUpperCase();var r=t.slice(0,2).toUpperCase();return r in i&&i[r].test(t)}function hasValidIbanChecksum(e){var t=e.replace(/[^A-Z0-9]+/gi,"").toUpperCase();var r=t.slice(4)+t.slice(0,4);var n=r.replace(/[A-Z]/g,(function(e){return e.charCodeAt(0)-55}));var i=n.match(/\d{1,7}/g).reduce((function(e,t){return Number(e+t)%97}),"");return i===1}function isIBAN(e){(0,n.default)(e);return hasValidIbanFormat(e)&&hasValidIbanChecksum(e)}var a=Object.keys(i);t.locales=a},8253:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isIP;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])";var a="(".concat(i,"[.]){3}").concat(i);var o=new RegExp("^".concat(a,"$"));var s="(?:[0-9a-fA-F]{1,4})";var u=new RegExp("^("+"(?:".concat(s,":){7}(?:").concat(s,"|:)|")+"(?:".concat(s,":){6}(?:").concat(a,"|:").concat(s,"|:)|")+"(?:".concat(s,":){5}(?::").concat(a,"|(:").concat(s,"){1,2}|:)|")+"(?:".concat(s,":){4}(?:(:").concat(s,"){0,1}:").concat(a,"|(:").concat(s,"){1,3}|:)|")+"(?:".concat(s,":){3}(?:(:").concat(s,"){0,2}:").concat(a,"|(:").concat(s,"){1,4}|:)|")+"(?:".concat(s,":){2}(?:(:").concat(s,"){0,3}:").concat(a,"|(:").concat(s,"){1,5}|:)|")+"(?:".concat(s,":){1}(?:(:").concat(s,"){0,4}:").concat(a,"|(:").concat(s,"){1,6}|:)|")+"(?::((?::".concat(s,"){0,5}:").concat(a,"|(?::").concat(s,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");function isIP(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"";(0,n.default)(e);t=String(t);if(!t){return isIP(e,4)||isIP(e,6)}if(t==="4"){if(!o.test(e)){return false}var r=e.split(".").sort((function(e,t){return e-t}));return r[3]<=255}if(t==="6"){return!!u.test(e)}return false}e.exports=t.default;e.exports["default"]=t.default},8254:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isISBN;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^(?:[0-9]{9}X|[0-9]{10})$/;var a=/^(?:[0-9]{13})$/;var o=[1,3];function isISBN(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"";(0,n.default)(e);t=String(t);if(!t){return isISBN(e,10)||isISBN(e,13)}var r=e.replace(/[\s-]+/g,"");var s=0;var u;if(t==="10"){if(!i.test(r)){return false}for(u=0;u<9;u++){s+=(u+1)*r.charAt(u)}if(r.charAt(9)==="X"){s+=10*10}else{s+=10*r.charAt(9)}if(s%11===0){return!!r}}else if(t==="13"){if(!a.test(r)){return false}for(u=0;u<12;u++){s+=o[u%2]*r.charAt(u)}if(r.charAt(12)-(10-s%10)%10===0){return!!r}}return false}e.exports=t.default;e.exports["default"]=t.default},9187:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isISIN;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;function isISIN(e){(0,n.default)(e);if(!i.test(e)){return false}var t=true;var r=0;for(var a=e.length-2;a>=0;a--){if(e[a]>="A"&&e[a]<="Z"){var o=e[a].charCodeAt(0)-55;var s=o%10;var u=Math.trunc(o/10);for(var l=0,d=[s,u];l=5){r+=1+(f-5)*2}else{r+=f*2}}else{r+=f}t=!t}}else{var c=e[a].charCodeAt(0)-"0".charCodeAt(0);if(t){if(c>=5){r+=1+(c-5)*2}else{r+=c*2}}else{r+=c}t=!t}}var p=Math.trunc((r+9)/10)*10-r;return+e[e.length-1]===p}e.exports=t.default;e.exports["default"]=t.default},3442:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isISO31661Alpha2;t.CountryCodes=void 0;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=new Set(["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]);function isISO31661Alpha2(e){(0,n.default)(e);return i.has(e.toUpperCase())}var a=i;t.CountryCodes=a},5923:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isISO31661Alpha3;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=new Set(["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"]);function isISO31661Alpha3(e){(0,n.default)(e);return i.has(e.toUpperCase())}e.exports=t.default;e.exports["default"]=t.default},3790:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isISO8601;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/;var a=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/;var o=function isValidDate(e){var t=e.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(t){var r=Number(t[1]);var n=Number(t[2]);if(r%4===0&&r%100!==0||r%400===0)return n<=366;return n<=365}var i=e.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number);var a=i[1];var o=i[2];var s=i[3];var u=o?"0".concat(o).slice(-2):o;var l=s?"0".concat(s).slice(-2):s;var d=new Date("".concat(a,"-").concat(u||"01","-").concat(l||"01"));if(o&&s){return d.getUTCFullYear()===a&&d.getUTCMonth()+1===o&&d.getUTCDate()===s}return true};function isISO8601(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};(0,n.default)(e);var r=t.strictSeparator?a.test(e):i.test(e);if(r&&t.strict)return o(e);return r}e.exports=t.default;e.exports["default"]=t.default},9032:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isISRC;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;function isISRC(e){(0,n.default)(e);return i.test(e)}e.exports=t.default;e.exports["default"]=t.default},7609:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isISSN;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i="^\\d{4}-?\\d{3}[\\dX]$";function isISSN(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};(0,n.default)(e);var r=i;r=t.require_hyphen?r.replace("?",""):r;r=t.case_sensitive?new RegExp(r):new RegExp(r,"i");if(!r.test(e)){return false}var a=e.replace("-","").toUpperCase();var o=0;for(var s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isIdentityCard;var n=_interopRequireDefault(r(1420));var i=_interopRequireDefault(r(7205));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a={PL:function PL(e){(0,n.default)(e);var t={1:1,2:3,3:7,4:9,5:1,6:3,7:7,8:9,9:1,10:3,11:0};if(e!=null&&e.length===11&&(0,i.default)(e,{allow_leading_zeroes:true})){var r=e.split("").slice(0,-1);var a=r.reduce((function(e,r,n){return e+Number(r)*t[n+1]}),0);var o=a%10;var s=Number(e.charAt(e.length-1));if(o===0&&s===0||s===10-o){return true}}return false},ES:function ES(e){(0,n.default)(e);var t=/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/;var r={X:0,Y:1,Z:2};var i=["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"];var a=e.trim().toUpperCase();if(!t.test(a)){return false}var o=a.slice(0,-1).replace(/[X,Y,Z]/g,(function(e){return r[e]}));return a.endsWith(i[o%23])},FI:function FI(e){(0,n.default)(e);if(e.length!==11){return false}if(!e.match(/^\d{6}[\-A\+]\d{3}[0-9ABCDEFHJKLMNPRSTUVWXY]{1}$/)){return false}var t="0123456789ABCDEFHJKLMNPRSTUVWXY";var r=parseInt(e.slice(0,6),10)*1e3+parseInt(e.slice(7,10),10);var i=r%31;var a=t[i];return a===e.slice(10,11)},IN:function IN(e){var t=/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/;var r=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]];var n=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]];var i=e.trim();if(!t.test(i)){return false}var a=0;var o=i.replace(/\s/g,"").split("").map(Number).reverse();o.forEach((function(e,t){a=r[a][n[t%8][e]]}));return a===0},IR:function IR(e){if(!e.match(/^\d{10}$/))return false;e="0000".concat(e).substr(e.length-6);if(parseInt(e.substr(3,6),10)===0)return false;var t=parseInt(e.substr(9,1),10);var r=0;for(var n=0;n<9;n++){r+=parseInt(e.substr(n,1),10)*(10-n)}r%=11;return r<2&&t===r||r>=2&&t===11-r},IT:function IT(e){if(e.length!==9)return false;if(e==="CA00000AA")return false;return e.search(/C[A-Z][0-9]{5}[A-Z]{2}/i)>-1},NO:function NO(e){var t=e.trim();if(isNaN(Number(t)))return false;if(t.length!==11)return false;if(t==="00000000000")return false;var r=t.split("").map(Number);var n=(11-(3*r[0]+7*r[1]+6*r[2]+1*r[3]+8*r[4]+9*r[5]+4*r[6]+5*r[7]+2*r[8])%11)%11;var i=(11-(5*r[0]+4*r[1]+3*r[2]+2*r[3]+7*r[4]+6*r[5]+5*r[6]+4*r[7]+3*r[8]+2*n)%11)%11;if(n!==r[9]||i!==r[10])return false;return true},TH:function TH(e){if(!e.match(/^[1-8]\d{12}$/))return false;var t=0;for(var r=0;r<12;r++){t+=parseInt(e[r],10)*(13-r)}return e[12]===((11-t%11)%10).toString()},LK:function LK(e){var t=/^[1-9]\d{8}[vx]$/i;var r=/^[1-9]\d{11}$/i;if(e.length===10&&t.test(e))return true;else if(e.length===12&&r.test(e))return true;return false},"he-IL":function heIL(e){var t=/^\d{9}$/;var r=e.trim();if(!t.test(r)){return false}var n=r;var i=0,a;for(var o=0;o9?a-9:a}return i%10===0},"ar-LY":function arLY(e){var t=/^(1|2)\d{11}$/;var r=e.trim();if(!t.test(r)){return false}return true},"ar-TN":function arTN(e){var t=/^\d{8}$/;var r=e.trim();if(!t.test(r)){return false}return true},"zh-CN":function zhCN(e){var t=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"];var r=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"];var n=["1","0","X","9","8","7","6","5","4","3","2"];var i=function checkAddressCode(e){return t.includes(e)};var a=function checkBirthDayCode(e){var t=parseInt(e.substring(0,4),10);var r=parseInt(e.substring(4,6),10);var n=parseInt(e.substring(6),10);var i=new Date(t,r-1,n);if(i>new Date){return false}else if(i.getFullYear()===t&&i.getMonth()===r-1&&i.getDate()===n){return true}return false};var o=function getParityBit(e){var t=e.substring(0,17);var i=0;for(var a=0;a<17;a++){i+=parseInt(t.charAt(a),10)*parseInt(r[a],10)}var o=i%11;return n[o]};var s=function checkParityBit(e){return o(e)===e.charAt(17).toUpperCase()};var u=function check15IdCardNo(e){var t=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(e);if(!t)return false;var r=e.substring(0,2);t=i(r);if(!t)return false;var n="19".concat(e.substring(6,12));t=a(n);if(!t)return false;return true};var l=function check18IdCardNo(e){var t=/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(e);if(!t)return false;var r=e.substring(0,2);t=i(r);if(!t)return false;var n=e.substring(6,14);t=a(n);if(!t)return false;return s(e)};var d=function checkIdCardNo(e){var t=/^\d{15}|(\d{17}(\d|x|X))$/.test(e);if(!t)return false;if(e.length===15){return u(e)}return l(e)};return d(e)},"zh-TW":function zhTW(e){var t={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33};var r=e.trim().toUpperCase();if(!/^[A-Z][0-9]{9}$/.test(r))return false;return Array.from(r).reduce((function(e,r,n){if(n===0){var i=t[r];return i%10*9+Math.floor(i/10)}if(n===9){return(10-e%10-Number(r))%10===0}return e+Number(r)*(9-n)}),0)}};function isIdentityCard(e,t){(0,n.default)(e);if(t in a){return a[t](e)}else if(t==="any"){for(var r in a){if(a.hasOwnProperty(r)){var i=a[r];if(i(e)){return true}}}return false}throw new Error("Invalid locale '".concat(t,"'"))}e.exports=t.default;e.exports["default"]=t.default},7205:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isInt;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^(?:[-+]?(?:0|[1-9][0-9]*))$/;var a=/^[-+]?[0-9]+$/;function isInt(e,t){(0,n.default)(e);t=t||{};var r=t.hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?i:a;var o=!t.hasOwnProperty("min")||e>=t.min;var s=!t.hasOwnProperty("max")||e<=t.max;var u=!t.hasOwnProperty("lt")||et.gt;return r.test(e)&&o&&s&&u&&l}e.exports=t.default;e.exports["default"]=t.default},7424:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isJSON;var n=_interopRequireDefault(r(1420));var i=_interopRequireDefault(r(9956));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _typeof(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}var a={allow_primitives:false};function isJSON(e,t){(0,n.default)(e);try{t=(0,i.default)(t,a);var r=[];if(t.allow_primitives){r=[null,false,true]}var o=JSON.parse(e);return r.includes(o)||!!o&&_typeof(o)==="object"}catch(e){}return false}e.exports=t.default;e.exports["default"]=t.default},8300:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isJWT;var n=_interopRequireDefault(r(1420));var i=_interopRequireDefault(r(7003));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function isJWT(e){(0,n.default)(e);var t=e.split(".");var r=t.length;if(r>3||r<2){return false}return t.reduce((function(e,t){return e&&(0,i.default)(t,{urlSafe:true})}),true)}e.exports=t.default;e.exports["default"]=t.default},1607:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isLatLong;var n=_interopRequireDefault(r(1420));var i=_interopRequireDefault(r(9956));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/;var o=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/;var s=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i;var u=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i;var l={checkDMS:false};function isLatLong(e,t){(0,n.default)(e);t=(0,i.default)(t,l);if(!e.includes(","))return false;var r=e.split(",");if(r[0].startsWith("(")&&!r[1].endsWith(")")||r[1].endsWith(")")&&!r[0].startsWith("("))return false;if(t.checkDMS){return s.test(r[0])&&u.test(r[1])}return a.test(r[0])&&o.test(r[1])}e.exports=t.default;e.exports["default"]=t.default},2041:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isLength;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _typeof(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function isLength(e,t){(0,n.default)(e);var r;var i;if(_typeof(t)==="object"){r=t.min||0;i=t.max}else{r=arguments[1]||0;i=arguments[2]}var a=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[];var o=e.length-a.length;return o>=r&&(typeof i==="undefined"||o<=i)}e.exports=t.default;e.exports["default"]=t.default},4513:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isLocale;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^[A-Za-z]{2,4}([_-]([A-Za-z]{4}|[\d]{3}))?([_-]([A-Za-z]{2}|[\d]{3}))?$/;function isLocale(e){(0,n.default)(e);if(e==="en_US_POSIX"||e==="ca_ES_VALENCIA"){return true}return i.test(e)}e.exports=t.default;e.exports["default"]=t.default},6509:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isLowercase;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function isLowercase(e){(0,n.default)(e);return e===e.toLowerCase()}e.exports=t.default;e.exports["default"]=t.default},7912:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isMACAddress;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/;var a=/^([0-9a-fA-F]){12}$/;var o=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/;function isMACAddress(e,t){(0,n.default)(e);if(t&&(t.no_colons||t.no_separators)){return a.test(e)}return i.test(e)||o.test(e)}e.exports=t.default;e.exports["default"]=t.default},8693:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isMagnetURI;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^magnet:\?xt(?:\.1)?=urn:(?:aich|bitprint|btih|ed2k|ed2khash|kzhash|md5|sha1|tree:tiger):[a-z0-9]{32}(?:[a-z0-9]{8})?($|&)/i;function isMagnetURI(e){(0,n.default)(e);return i.test(e.trim())}e.exports=t.default;e.exports["default"]=t.default},6914:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isMimeType;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i;var a=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i;var o=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;function isMimeType(e){(0,n.default)(e);return i.test(e)||a.test(e)||o.test(e)}e.exports=t.default;e.exports["default"]=t.default},8648:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isMobilePhone;t.locales=void 0;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i={"am-AM":/^(\+?374|0)((10|[9|7][0-9])\d{6}$|[2-4]\d{7}$)/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)[569]\d{7}$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-OM":/^((\+|00)968)?(9[1-9])\d{6}$/,"ar-PS":/^(\+?970|0)5[6|9](\d{7})$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^((\+49|0)[1|3])([0|5][0-45-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7,9}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)([1-9])\d{1,9}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"dv-MV":/^(\+?960)?(7[2-9]|91|9[3-9])\d{7}$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-BM":/^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}))/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28|55|59)\d{7}$/,"en-GY":/^(\+592|0)6\d{6}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"en-KI":/^((\+686|686)?)?( )?((6|7)(2|3|8)[0-9]{6})$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-NA":/^(\+?264|0)(6|8)\d{7}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PK":/^((00|\+)?92|0)3[0-6]\d{8}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[3689]\d{7}$/,"en-SL":/^(\+?232|0)\d{8}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"en-BW":/^(\+?267)?(7[1-8]{1})\d{6}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?3(0(0|1|2|4|5)|1\d|2[0-4]|5(0|1))\d{7}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-CU":/^(\+53|0053)?5\d{7}/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-SV":/^(\+?503)?[67]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"es-VE":/^(\+?58)?(2|4)\d{9}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-BF":/^(\+226|0)[67]\d{7}$/,"fr-CM":/^(\+?237)6[0-9]{8}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-PF":/^(\+?689)?8[789]\d{6}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36|06)(20|30|31|50|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(5|79)\d{7}$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"lv-LV":/^(\+?371)2\d{7}$/,"ms-MY":/^(\+?6?01){1}(([0145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,"mz-MZ":/^(\+?258)?8[234567]\d{7}$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4\d{8}$/,"nl-NL":/^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[2-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"pt-AO":/^(\+244)\d{9}$/,"ro-RO":/^(\+?4?0)\s?7\d{2}(\/|\s|\.|\-)?\d{3}(\s|\.|\-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"si-LK":/^(?:0|94|\+94)?(7(0|1|2|4|5|6|7|8)( |-)?)\d{7}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sq-AL":/^(\+355|0)6[789]\d{6}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"tg-TJ":/^(\+?992)?[5][5]\d{7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"tk-TM":/^(\+993|993|8)\d{8}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?(1[3-9]|9[28])\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/,"dz-BT":/^(\+?975|0)?(17|16|77|02)\d{6}$/};i["en-CA"]=i["en-US"];i["fr-CA"]=i["en-CA"];i["fr-BE"]=i["nl-BE"];i["zh-HK"]=i["en-HK"];i["zh-MO"]=i["en-MO"];i["ga-IE"]=i["en-IE"];i["fr-CH"]=i["de-CH"];i["it-CH"]=i["fr-CH"];function isMobilePhone(e,t,r){(0,n.default)(e);if(r&&r.strictMode&&!e.startsWith("+")){return false}if(Array.isArray(t)){return t.some((function(t){if(i.hasOwnProperty(t)){var r=i[t];if(r.test(e)){return true}}return false}))}else if(t in i){return i[t].test(e)}else if(!t||t==="any"){for(var a in i){if(i.hasOwnProperty(a)){var o=i[a];if(o.test(e)){return true}}}return false}throw new Error("Invalid locale '".concat(t,"'"))}var a=Object.keys(i);t.locales=a},1296:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isMongoId;var n=_interopRequireDefault(r(1420));var i=_interopRequireDefault(r(6262));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function isMongoId(e){(0,n.default)(e);return(0,i.default)(e)&&e.length===24}e.exports=t.default;e.exports["default"]=t.default},2672:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isMultibyte;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/[^\x00-\x7F]/;function isMultibyte(e){(0,n.default)(e);return i.test(e)}e.exports=t.default;e.exports["default"]=t.default},3769:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isNumeric;var n=_interopRequireDefault(r(1420));var i=r(2644);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=/^[0-9]+$/;function isNumeric(e,t){(0,n.default)(e);if(t&&t.no_symbols){return a.test(e)}return new RegExp("^[+-]?([0-9]*[".concat((t||{}).locale?i.decimal[t.locale]:".","])?[0-9]+$")).test(e)}e.exports=t.default;e.exports["default"]=t.default},9193:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isOctal;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^(0o)?[0-7]+$/i;function isOctal(e){(0,n.default)(e);return i.test(e)}e.exports=t.default;e.exports["default"]=t.default},33:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isPassportNumber;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i={AM:/^[A-Z]{2}\d{7}$/,AR:/^[A-Z]{3}\d{6}$/,AT:/^[A-Z]\d{7}$/,AU:/^[A-Z]\d{7}$/,BE:/^[A-Z]{2}\d{6}$/,BG:/^\d{9}$/,BR:/^[A-Z]{2}\d{6}$/,BY:/^[A-Z]{2}\d{7}$/,CA:/^[A-Z]{2}\d{6}$/,CH:/^[A-Z]\d{7}$/,CN:/^G\d{8}$|^E(?![IO])[A-Z0-9]\d{7}$/,CY:/^[A-Z](\d{6}|\d{8})$/,CZ:/^\d{8}$/,DE:/^[CFGHJKLMNPRTVWXYZ0-9]{9}$/,DK:/^\d{9}$/,DZ:/^\d{9}$/,EE:/^([A-Z]\d{7}|[A-Z]{2}\d{7})$/,ES:/^[A-Z0-9]{2}([A-Z0-9]?)\d{6}$/,FI:/^[A-Z]{2}\d{7}$/,FR:/^\d{2}[A-Z]{2}\d{5}$/,GB:/^\d{9}$/,GR:/^[A-Z]{2}\d{7}$/,HR:/^\d{9}$/,HU:/^[A-Z]{2}(\d{6}|\d{7})$/,IE:/^[A-Z0-9]{2}\d{7}$/,IN:/^[A-Z]{1}-?\d{7}$/,ID:/^[A-C]\d{7}$/,IR:/^[A-Z]\d{8}$/,IS:/^(A)\d{7}$/,IT:/^[A-Z0-9]{2}\d{7}$/,JP:/^[A-Z]{2}\d{7}$/,KR:/^[MS]\d{8}$/,LT:/^[A-Z0-9]{8}$/,LU:/^[A-Z0-9]{8}$/,LV:/^[A-Z0-9]{2}\d{7}$/,LY:/^[A-Z0-9]{8}$/,MT:/^\d{7}$/,MZ:/^([A-Z]{2}\d{7})|(\d{2}[A-Z]{2}\d{5})$/,MY:/^[AHK]\d{8}$/,NL:/^[A-Z]{2}[A-Z0-9]{6}\d$/,PL:/^[A-Z]{2}\d{7}$/,PT:/^[A-Z]\d{6}$/,RO:/^\d{8,9}$/,RU:/^\d{9}$/,SE:/^\d{8}$/,SL:/^(P)[A-Z]\d{7}$/,SK:/^[0-9A-Z]\d{7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/};function isPassportNumber(e,t){(0,n.default)(e);var r=e.replace(/\s/g,"").toUpperCase();return t.toUpperCase()in i&&i[t].test(r)}e.exports=t.default;e.exports["default"]=t.default},5985:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isPort;var n=_interopRequireDefault(r(7205));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function isPort(e){return(0,n.default)(e,{min:0,max:65535})}e.exports=t.default;e.exports["default"]=t.default},5517:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isPostalCode;t.locales=void 0;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^\d{3}$/;var a=/^\d{4}$/;var o=/^\d{5}$/;var s=/^\d{6}$/;var u={AD:/^AD\d{3}$/,AT:a,AU:a,AZ:/^AZ\d{4}$/,BE:a,BG:a,BR:/^\d{5}-\d{3}$/,BY:/2[1-4]{1}\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:a,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:o,DK:a,DO:o,DZ:o,EE:o,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:o,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:a,ID:o,IE:/^(?!.*(?:o))[A-Za-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/\b(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}\b/,IS:i,IT:o,JP:/^\d{3}\-\d{4}$/,KE:o,KR:/^(\d{5}|\d{6})$/,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:a,LV:/^LV\-\d{4}$/,LK:o,MX:o,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:o,NL:/^\d{4}\s?[a-z]{2}$/i,NO:a,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:a,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:s,RU:s,SA:o,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:s,SI:a,SK:/^\d{3}\s?\d{2}$/,TH:o,TN:a,TW:/^\d{3}(\d{2})?$/,UA:o,US:/^\d{5}(-\d{4})?$/,ZA:a,ZM:o};var l=Object.keys(u);t.locales=l;function isPostalCode(e,t){(0,n.default)(e);if(t in u){return u[t].test(e)}else if(t==="any"){for(var r in u){if(u.hasOwnProperty(r)){var i=u[r];if(i.test(e)){return true}}}return false}throw new Error("Invalid locale '".concat(t,"'"))}},7397:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isRFC3339;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/[0-9]{4}/;var a=/(0[1-9]|1[0-2])/;var o=/([12]\d|0[1-9]|3[01])/;var s=/([01][0-9]|2[0-3])/;var u=/[0-5][0-9]/;var l=/([0-5][0-9]|60)/;var d=/(\.[0-9]+)?/;var f=new RegExp("[-+]".concat(s.source,":").concat(u.source));var c=new RegExp("([zZ]|".concat(f.source,")"));var p=new RegExp("".concat(s.source,":").concat(u.source,":").concat(l.source).concat(d.source));var h=new RegExp("".concat(i.source,"-").concat(a.source,"-").concat(o.source));var m=new RegExp("".concat(p.source).concat(c.source));var $=new RegExp("^".concat(h.source,"[ tT]").concat(m.source,"$"));function isRFC3339(e){(0,n.default)(e);return $.test(e)}e.exports=t.default;e.exports["default"]=t.default},8329:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isRgbColor;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/;var a=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/;var o=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)/;var s=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)/;function isRgbColor(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:true;(0,n.default)(e);if(!t){return i.test(e)||a.test(e)}return i.test(e)||a.test(e)||o.test(e)||s.test(e)}e.exports=t.default;e.exports["default"]=t.default},2493:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isSemVer;var n=_interopRequireDefault(r(1420));var i=_interopRequireDefault(r(4112));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var a=(0,i.default)(["^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)","(?:-((?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*))*))","?(?:\\+([0-9a-z-]+(?:\\.[0-9a-z-]+)*))?$"],"i");function isSemVer(e){(0,n.default)(e);return a.test(e)}e.exports=t.default;e.exports["default"]=t.default},4901:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isSurrogatePair;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;function isSurrogatePair(e){(0,n.default)(e);return i.test(e)}e.exports=t.default;e.exports["default"]=t.default},1793:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isURL;var n=_interopRequireDefault(r(1420));var i=_interopRequireDefault(r(5627));var a=_interopRequireDefault(r(8253));var o=_interopRequireDefault(r(9956));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_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(e,t){if(!e)return;if(typeof e==="string")return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor)r=e.constructor.name;if(r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _arrayLikeToArray(e,t)}function _arrayLikeToArray(e,t){if(t==null||t>e.length)t=e.length;for(var r=0,n=new Array(t);r]/.test(e)){return false}if(e.indexOf("mailto:")===0){return false}t=(0,o.default)(t,s);if(t.validate_length&&e.length>=2083){return false}if(!t.allow_fragments&&e.includes("#")){return false}if(!t.allow_query_components&&(e.includes("?")||e.includes("&"))){return false}var r,l,d,f,c,p,h,m;h=e.split("#");e=h.shift();h=e.split("?");e=h.shift();h=e.split("://");if(h.length>1){r=h.shift().toLowerCase();if(t.require_valid_protocol&&t.protocols.indexOf(r)===-1){return false}}else if(t.require_protocol){return false}else if(e.substr(0,2)==="//"){if(!t.allow_protocol_relative_urls){return false}h[0]=e.substr(2)}e=h.join("://");if(e===""){return false}h=e.split("/");e=h.shift();if(e===""&&!t.require_host){return true}h=e.split("@");if(h.length>1){if(t.disallow_auth){return false}if(h[0]===""){return false}l=h.shift();if(l.indexOf(":")>=0&&l.split(":").length>2){return false}var $=l.split(":"),v=_slicedToArray($,2),g=v[0],_=v[1];if(g===""&&_===""){return false}}f=h.join("@");p=null;m=null;var y=f.match(u);if(y){d="";m=y[1];p=y[2]||null}else{h=f.split(":");d=h.shift();if(h.length){p=h.join(":")}}if(p!==null&&p.length>0){c=parseInt(p,10);if(!/^[0-9]+$/.test(p)||c<=0||c>65535){return false}}else if(t.require_port){return false}if(t.host_whitelist){return checkHost(d,t.host_whitelist)}if(!(0,a.default)(d)&&!(0,i.default)(d,t)&&(!m||!(0,a.default)(m,6))){return false}d=d||m;if(t.host_blacklist&&checkHost(d,t.host_blacklist)){return false}return true}e.exports=t.default;e.exports["default"]=t.default},6455:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isUUID;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var i={1:/^[0-9A-F]{8}-[0-9A-F]{4}-1[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,2:/^[0-9A-F]{8}-[0-9A-F]{4}-2[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};function isUUID(e,t){(0,n.default)(e);var r=i[![undefined,null].includes(t)?t:"all"];return!!r&&r.test(e)}e.exports=t.default;e.exports["default"]=t.default},6413:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isUppercase;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function isUppercase(e){(0,n.default)(e);return e===e.toUpperCase()}e.exports=t.default;e.exports["default"]=t.default},8678:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=isVariableWidth;var n=_interopRequireDefault(r(1420));var i=r(2619);var a=r(2176);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function isVariableWidth(e){(0,n.default)(e);return i.fullWidth.test(e)&&a.halfWidth.test(e)}e.exports=t.default;e.exports["default"]=t.default},9189:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=matches;var n=_interopRequireDefault(r(1420));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function matches(e,t,r){(0,n.default)(e);if(Object.prototype.toString.call(t)!=="[object RegExp]"){t=new RegExp(t,r)}return t.test(e)}e.exports=t.default;e.exports["default"]=t.default},2429:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toFloat;var n=_interopRequireDefault(r(3158));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function toFloat(e){if(!(0,n.default)(e))return NaN;return parseFloat(e)}e.exports=t.default;e.exports["default"]=t.default},1420:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=assertString;function _typeof(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function assertString(e){var t=typeof e==="string"||e instanceof String;if(!t){var r=_typeof(e);if(e===null)r="null";else if(r==="object")r=e.constructor.name;throw new TypeError("Expected a string but received a ".concat(r))}}e.exports=t.default;e.exports["default"]=t.default},5484:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=void 0;var r=function includes(e,t){return e.some((function(e){return t===e}))};var n=r;t["default"]=n;e.exports=t.default;e.exports["default"]=t.default},9956:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=merge;function merge(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};var t=arguments.length>1?arguments[1]:undefined;for(var r in t){if(typeof e[r]==="undefined"){e[r]=t[r]}}return e}e.exports=t.default;e.exports["default"]=t.default},4112:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=multilineRegexp;function multilineRegexp(e,t){var r=e.join("");return new RegExp(r,t)}e.exports=t.default;e.exports["default"]=t.default},6451:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t["default"]=toString;function _typeof(e){"@babel/helpers - typeof";if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(e){return typeof e}}else{_typeof=function _typeof(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e}}return _typeof(e)}function toString(e){if(_typeof(e)==="object"&&e!==null){if(typeof e.toString==="function"){e=e.toString()}else{e="[object Object]"}}else if(e===null||typeof e==="undefined"||isNaN(e)&&!e.length){e=""}return String(e)}e.exports=t.default;e.exports["default"]=t.default},4091:e=>{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next){yield e.value}}}},665:(e,t,r)=>{"use strict";e.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(e){var t=this;if(!(t instanceof Yallist)){t=new Yallist}t.tail=null;t.head=null;t.length=0;if(e&&typeof e.forEach==="function"){e.forEach((function(e){t.push(e)}))}else if(arguments.length>0){for(var r=0,n=arguments.length;r1){r=t}else if(this.head){n=this.head.next;r=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var i=0;n!==null;i++){r=e(r,n.value,i);n=n.next}return r};Yallist.prototype.reduceReverse=function(e,t){var r;var n=this.tail;if(arguments.length>1){r=t}else if(this.tail){n=this.tail.prev;r=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var i=this.length-1;n!==null;i--){r=e(r,n.value,i);n=n.prev}return r};Yallist.prototype.toArray=function(){var e=new Array(this.length);for(var t=0,r=this.head;r!==null;t++){e[t]=r.value;r=r.next}return e};Yallist.prototype.toArrayReverse=function(){var e=new Array(this.length);for(var t=0,r=this.tail;r!==null;t++){e[t]=r.value;r=r.prev}return e};Yallist.prototype.slice=function(e,t){t=t||this.length;if(t<0){t+=this.length}e=e||0;if(e<0){e+=this.length}var r=new Yallist;if(tthis.length){t=this.length}for(var n=0,i=this.head;i!==null&&nthis.length){t=this.length}for(var n=this.length,i=this.tail;i!==null&&n>t;n--){i=i.prev}for(;i!==null&&n>e;n--,i=i.prev){r.push(i.value)}return r};Yallist.prototype.splice=function(e,t,...r){if(e>this.length){e=this.length-1}if(e<0){e=this.length+e}for(var n=0,i=this.head;i!==null&&n{"use strict";e.exports=require("assert")},2081:e=>{"use strict";e.exports=require("child_process")},2361:e=>{"use strict";e.exports=require("events")},7147:e=>{"use strict";e.exports=require("fs")},3685:e=>{"use strict";e.exports=require("http")},5687:e=>{"use strict";e.exports=require("https")},1808:e=>{"use strict";e.exports=require("net")},2037:e=>{"use strict";e.exports=require("os")},1017:e=>{"use strict";e.exports=require("path")},1576:e=>{"use strict";e.exports=require("string_decoder")},9512:e=>{"use strict";e.exports=require("timers")},4404:e=>{"use strict";e.exports=require("tls")},3837:e=>{"use strict";e.exports=require("util")},5651:e=>{"use strict";e.exports=JSON.parse('{"version":4,"country_calling_codes":{"1":["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],"7":["RU","KZ"],"20":["EG"],"27":["ZA"],"30":["GR"],"31":["NL"],"32":["BE"],"33":["FR"],"34":["ES"],"36":["HU"],"39":["IT","VA"],"40":["RO"],"41":["CH"],"43":["AT"],"44":["GB","GG","IM","JE"],"45":["DK"],"46":["SE"],"47":["NO","SJ"],"48":["PL"],"49":["DE"],"51":["PE"],"52":["MX"],"53":["CU"],"54":["AR"],"55":["BR"],"56":["CL"],"57":["CO"],"58":["VE"],"60":["MY"],"61":["AU","CC","CX"],"62":["ID"],"63":["PH"],"64":["NZ"],"65":["SG"],"66":["TH"],"81":["JP"],"82":["KR"],"84":["VN"],"86":["CN"],"90":["TR"],"91":["IN"],"92":["PK"],"93":["AF"],"94":["LK"],"95":["MM"],"98":["IR"],"211":["SS"],"212":["MA","EH"],"213":["DZ"],"216":["TN"],"218":["LY"],"220":["GM"],"221":["SN"],"222":["MR"],"223":["ML"],"224":["GN"],"225":["CI"],"226":["BF"],"227":["NE"],"228":["TG"],"229":["BJ"],"230":["MU"],"231":["LR"],"232":["SL"],"233":["GH"],"234":["NG"],"235":["TD"],"236":["CF"],"237":["CM"],"238":["CV"],"239":["ST"],"240":["GQ"],"241":["GA"],"242":["CG"],"243":["CD"],"244":["AO"],"245":["GW"],"246":["IO"],"247":["AC"],"248":["SC"],"249":["SD"],"250":["RW"],"251":["ET"],"252":["SO"],"253":["DJ"],"254":["KE"],"255":["TZ"],"256":["UG"],"257":["BI"],"258":["MZ"],"260":["ZM"],"261":["MG"],"262":["RE","YT"],"263":["ZW"],"264":["NA"],"265":["MW"],"266":["LS"],"267":["BW"],"268":["SZ"],"269":["KM"],"290":["SH","TA"],"291":["ER"],"297":["AW"],"298":["FO"],"299":["GL"],"350":["GI"],"351":["PT"],"352":["LU"],"353":["IE"],"354":["IS"],"355":["AL"],"356":["MT"],"357":["CY"],"358":["FI","AX"],"359":["BG"],"370":["LT"],"371":["LV"],"372":["EE"],"373":["MD"],"374":["AM"],"375":["BY"],"376":["AD"],"377":["MC"],"378":["SM"],"380":["UA"],"381":["RS"],"382":["ME"],"383":["XK"],"385":["HR"],"386":["SI"],"387":["BA"],"389":["MK"],"420":["CZ"],"421":["SK"],"423":["LI"],"500":["FK"],"501":["BZ"],"502":["GT"],"503":["SV"],"504":["HN"],"505":["NI"],"506":["CR"],"507":["PA"],"508":["PM"],"509":["HT"],"590":["GP","BL","MF"],"591":["BO"],"592":["GY"],"593":["EC"],"594":["GF"],"595":["PY"],"596":["MQ"],"597":["SR"],"598":["UY"],"599":["CW","BQ"],"670":["TL"],"672":["NF"],"673":["BN"],"674":["NR"],"675":["PG"],"676":["TO"],"677":["SB"],"678":["VU"],"679":["FJ"],"680":["PW"],"681":["WF"],"682":["CK"],"683":["NU"],"685":["WS"],"686":["KI"],"687":["NC"],"688":["TV"],"689":["PF"],"690":["TK"],"691":["FM"],"692":["MH"],"850":["KP"],"852":["HK"],"853":["MO"],"855":["KH"],"856":["LA"],"880":["BD"],"886":["TW"],"960":["MV"],"961":["LB"],"962":["JO"],"963":["SY"],"964":["IQ"],"965":["KW"],"966":["SA"],"967":["YE"],"968":["OM"],"970":["PS"],"971":["AE"],"972":["IL"],"973":["BH"],"974":["QA"],"975":["BT"],"976":["MN"],"977":["NP"],"992":["TJ"],"993":["TM"],"994":["AZ"],"995":["GE"],"996":["KG"],"998":["UZ"]},"countries":{"AC":["247","00","(?:[01589]\\\\d|[46])\\\\d{4}",[5,6]],"AD":["376","00","(?:1|6\\\\d)\\\\d{7}|[135-9]\\\\d{5}",[6,8,9],[["(\\\\d{3})(\\\\d{3})","$1 $2",["[135-9]"]],["(\\\\d{4})(\\\\d{4})","$1 $2",["1"]],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["6"]]]],"AE":["971","00","(?:[4-7]\\\\d|9[0-689])\\\\d{7}|800\\\\d{2,9}|[2-4679]\\\\d{7}",[5,6,7,8,9,10,11,12],[["(\\\\d{3})(\\\\d{2,9})","$1 $2",["60|8"]],["(\\\\d)(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\\\d{3})(\\\\d)(\\\\d{5})","$1 $2 $3",["[479]"]],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],"AF":["93","00","[2-7]\\\\d{8}",[9],[["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],"AG":["1","011","(?:268|[58]\\\\d\\\\d|900)\\\\d{7}",[10],0,"1",0,"1|([457]\\\\d{6})$","268$1",0,"268"],"AI":["1","011","(?:264|[58]\\\\d\\\\d|900)\\\\d{7}",[10],0,"1",0,"1|([2457]\\\\d{6})$","264$1",0,"264"],"AL":["355","00","(?:700\\\\d\\\\d|900)\\\\d{3}|8\\\\d{5,7}|(?:[2-5]|6\\\\d)\\\\d{7}",[6,7,8,9],[["(\\\\d{3})(\\\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\\\d)(\\\\d{3})(\\\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\\\d{3})(\\\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],"AM":["374","00","(?:[1-489]\\\\d|55|60|77)\\\\d{6}",[8],[["(\\\\d{3})(\\\\d{2})(\\\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\\\d{3})(\\\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\\\d{2})(\\\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\\\d{2})(\\\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],"AO":["244","00","[29]\\\\d{8}",[9],[["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[29]"]]]],"AR":["54","00","(?:11|[89]\\\\d\\\\d)\\\\d{8}|[2368]\\\\d{9}",[10,11],[["(\\\\d{4})(\\\\d{2})(\\\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\\\d{2})(\\\\d{4})(\\\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\\\d)(\\\\d{4})(\\\\d{2})(\\\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\\\d)(\\\\d{2})(\\\\d{4})(\\\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\\\d{3})(\\\\d{3})(\\\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],"AS":["1","011","(?:[58]\\\\d\\\\d|684|900)\\\\d{7}",[10],0,"1",0,"1|([267]\\\\d{6})$","684$1",0,"684"],"AT":["43","00","1\\\\d{3,12}|2\\\\d{6,12}|43(?:(?:0\\\\d|5[02-9])\\\\d{3,9}|2\\\\d{4,5}|[3467]\\\\d{4}|8\\\\d{4,6}|9\\\\d{4,7})|5\\\\d{4,12}|8\\\\d{7,12}|9\\\\d{8,12}|(?:[367]\\\\d|4[0-24-9])\\\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\\\d)(\\\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\\\d{3})(\\\\d{2})","$1 $2",["517"],"0$1"],["(\\\\d{2})(\\\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\\\d{3})(\\\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\\\d{4})(\\\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\\\d{2})(\\\\d{4})(\\\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],"AU":["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\\\d{7}(?:\\\\d(?:\\\\d{2})?)?|8[0-24-9]\\\\d{7})|[2-478]\\\\d{8}|1\\\\d{4,7}",[5,6,7,8,9,10,12],[["(\\\\d{2})(\\\\d{3,4})","$1 $2",["16"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\\\d)(\\\\d{4})(\\\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\\\d{4})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"0|(183[12])",0,0,0,[["(?:(?:2(?:[0-26-9]\\\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\\\d|2[0-8]))\\\\d{3}|8(?:51(?:0(?:0[03-9]|[12479]\\\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\\\d|7[89]|9[0-4]))|(?:6[0-8]|[78]\\\\d)\\\\d{3}|9(?:[02-9]\\\\d{3}|1(?:(?:[0-58]\\\\d|6[0135-9])\\\\d|7(?:0[0-24-9]|[1-9]\\\\d)|9(?:[0-46-9]\\\\d|5[0-79])))))\\\\d{3}",[9]],["4(?:83[0-38]|93[0-6])\\\\d{5}|4(?:[0-3]\\\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\\\d{6}",[9]],["180(?:0\\\\d{3}|2)\\\\d{3}",[7,10]],["190[0-26]\\\\d{6}",[10]],0,0,0,["163\\\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\\\d)\\\\d{4}",[9]],["13(?:00\\\\d{6}(?:\\\\d{2})?|45[0-4]\\\\d{3})|13\\\\d{4}",[6,8,10,12]]],"0011"],"AW":["297","00","(?:[25-79]\\\\d\\\\d|800)\\\\d{4}",[7],[["(\\\\d{3})(\\\\d{4})","$1 $2",["[25-9]"]]]],"AX":["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\\\d{4,9}|35\\\\d{4,5}|(?:60\\\\d\\\\d|800)\\\\d{4,6}|7\\\\d{5,11}|(?:[14]\\\\d|3[0-46-9]|50)\\\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],"AZ":["994","00","365\\\\d{6}|(?:[124579]\\\\d|60|88)\\\\d{7}",[9],[["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],"BA":["387","00","6\\\\d{8}|(?:[35689]\\\\d|49|70)\\\\d{6}",[8,9],[["(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],"BB":["1","011","(?:246|[58]\\\\d\\\\d|900)\\\\d{7}",[10],0,"1",0,"1|([2-9]\\\\d{6})$","246$1",0,"246"],"BD":["880","00","[1-469]\\\\d{9}|8[0-79]\\\\d{7,8}|[2-79]\\\\d{8}|[2-9]\\\\d{7}|[3-9]\\\\d{6}|[57-9]\\\\d{5}",[6,7,8,9,10],[["(\\\\d{2})(\\\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\\\d{3})(\\\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:28|4[14]|5)|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\\\d{4})(\\\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],["(\\\\d)(\\\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],"BE":["32","00","4\\\\d{8}|[1-9]\\\\d{7}",[8,9],[["(\\\\d{3})(\\\\d{2})(\\\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\\\d)(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],"BF":["226","00","[025-7]\\\\d{7}",[8],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],"BG":["359","00","[2-7]\\\\d{6,7}|[89]\\\\d{6,8}|2\\\\d{5}",[6,7,8,9],[["(\\\\d)(\\\\d)(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\\\d{3})(\\\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\\\d)(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\\\d{3})(\\\\d{2})(\\\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],"BH":["973","00","[136-9]\\\\d{7}",[8],[["(\\\\d{4})(\\\\d{4})","$1 $2",["[13679]|8[047]"]]]],"BI":["257","00","(?:[267]\\\\d|31)\\\\d{6}",[8],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[2367]"]]]],"BJ":["229","00","[25689]\\\\d{7}",[8],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[25689]"]]]],"BL":["590","00","(?:590|(?:69|80)\\\\d|976)\\\\d{6}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|5[12]|87)\\\\d{4}"],["69(?:0\\\\d\\\\d|1(?:2[2-9]|3[0-5]))\\\\d{4}"],["80[0-5]\\\\d{6}"],0,0,0,0,0,["976[01]\\\\d{5}"]]],"BM":["1","011","(?:441|[58]\\\\d\\\\d|900)\\\\d{7}",[10],0,"1",0,"1|([2-8]\\\\d{6})$","441$1",0,"441"],"BN":["673","00","[2-578]\\\\d{6}",[7],[["(\\\\d{3})(\\\\d{4})","$1 $2",["[2-578]"]]]],"BO":["591","00(?:1\\\\d)?","(?:[2-467]\\\\d\\\\d|8001)\\\\d{5}",[8,9],[["(\\\\d)(\\\\d{7})","$1 $2",["[23]|4[46]"]],["(\\\\d{8})","$1",["[67]"]],["(\\\\d{3})(\\\\d{2})(\\\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\\\d)?"],"BQ":["599","00","(?:[34]1|7\\\\d)\\\\d{5}",[7],0,0,0,0,0,0,"[347]"],"BR":["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\\\d\\\\d|5(?:[0-46-9]\\\\d|5[0-24679]))\\\\d{8}|[1-9]\\\\d{9}|[3589]\\\\d{8}|[34]\\\\d{7}",[8,9,10,11],[["(\\\\d{4})(\\\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\\\d{3})(\\\\d{2,3})(\\\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\\\d{2})(\\\\d{4})(\\\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\\\d{2})(\\\\d{5})(\\\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\\\d{10,11}))?","$2"],"BS":["1","011","(?:242|[58]\\\\d\\\\d|900)\\\\d{7}",[10],0,"1",0,"1|([3-8]\\\\d{6})$","242$1",0,"242"],"BT":["975","00","[17]\\\\d{7}|[2-8]\\\\d{6}",[7,8],[["(\\\\d)(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],"BW":["267","00","(?:0800|(?:[37]|800)\\\\d)\\\\d{6}|(?:[2-6]\\\\d|90)\\\\d{5}",[7,8,10],[["(\\\\d{2})(\\\\d{5})","$1 $2",["90"]],["(\\\\d{3})(\\\\d{4})","$1 $2",["[24-6]|3[15-79]"]],["(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[37]"]],["(\\\\d{4})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["0"]],["(\\\\d{3})(\\\\d{4})(\\\\d{3})","$1 $2 $3",["8"]]]],"BY":["375","810","(?:[12]\\\\d|33|44|902)\\\\d{7}|8(?:0[0-79]\\\\d{5,7}|[1-7]\\\\d{9})|8(?:1[0-489]|[5-79]\\\\d)\\\\d{7}|8[1-79]\\\\d{6,7}|8[0-79]\\\\d{5}|8\\\\d{5}",[6,7,8,9,10,11],[["(\\\\d{3})(\\\\d{3})","$1 $2",["800"],"8 $1"],["(\\\\d{3})(\\\\d{2})(\\\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\\\d{4})(\\\\d{2})(\\\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\\\d{3})(\\\\d{3,4})(\\\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],"BZ":["501","00","(?:0800\\\\d|[2-8])\\\\d{6}",[7,11],[["(\\\\d{3})(\\\\d{4})","$1-$2",["[2-8]"]],["(\\\\d)(\\\\d{3})(\\\\d{4})(\\\\d{3})","$1-$2-$3-$4",["0"]]]],"CA":["1","011","(?:[2-8]\\\\d|90)\\\\d{8}",[10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|6[578])|4(?:03|1[68]|3[178]|50|74)|5(?:06|1[49]|48|79|8[17])|6(?:04|13|39|47|72)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}"],["900[2-9]\\\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|(?:5(?:00|2[12]|33|44|66|77|88)|622)[2-9]\\\\d{6}"],0,0,0,["600[2-9]\\\\d{6}"]]],"CC":["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\\\d{8}(?:\\\\d{2})?|8[0-24-9]\\\\d{7})|[148]\\\\d{8}|1\\\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"0|([59]\\\\d{7})$","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\\\d|70[23]|959))\\\\d{3}",[9]],["4(?:83[0-38]|93[0-6])\\\\d{5}|4(?:[0-3]\\\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\\\d{6}",[9]],["180(?:0\\\\d{3}|2)\\\\d{3}",[7,10]],["190[0-26]\\\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\\\d)\\\\d{4}",[9]],["13(?:00\\\\d{6}(?:\\\\d{2})?|45[0-4]\\\\d{3})|13\\\\d{4}",[6,8,10,12]]],"0011"],"CD":["243","00","[189]\\\\d{8}|[1-68]\\\\d{6}",[7,9],[["(\\\\d{2})(\\\\d{2})(\\\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\\\d{2})(\\\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[89]"],"0$1"]],"0"],"CF":["236","00","(?:[27]\\\\d{3}|8776)\\\\d{4}",[8],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[278]"]]]],"CG":["242","00","222\\\\d{6}|(?:0\\\\d|80)\\\\d{7}",[9],[["(\\\\d)(\\\\d{4})(\\\\d{4})","$1 $2 $3",["8"]],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[02]"]]]],"CH":["41","00","8\\\\d{11}|[2-9]\\\\d{8}",[9],[["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\\\d{3})(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],"CI":["225","00","[02]\\\\d{9}",[10],[["(\\\\d{2})(\\\\d{2})(\\\\d)(\\\\d{5})","$1 $2 $3 $4",["2"]],["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{4})","$1 $2 $3 $4",["0"]]]],"CK":["682","00","[2-578]\\\\d{4}",[5],[["(\\\\d{2})(\\\\d{3})","$1 $2",["[2-578]"]]]],"CL":["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\\\d{6}|6\\\\d{9,10}|[2-9]\\\\d{8}",[9,10,11],[["(\\\\d{5})(\\\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["44"]],["(\\\\d)(\\\\d{4})(\\\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\\\d)(\\\\d{4})(\\\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\\\d{3})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["60|8"]],["(\\\\d{4})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["1"]],["(\\\\d{3})(\\\\d{3})(\\\\d{2})(\\\\d{3})","$1 $2 $3 $4",["60"]]]],"CM":["237","00","[26]\\\\d{8}|88\\\\d{6,7}",[8,9],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["88"]],["(\\\\d)(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],"CN":["86","00|1(?:[12]\\\\d|79)\\\\d\\\\d00","1[127]\\\\d{8,9}|2\\\\d{9}(?:\\\\d{2})?|[12]\\\\d{6,7}|86\\\\d{6}|(?:1[03-689]\\\\d|6)\\\\d{7,9}|(?:[3-579]\\\\d|8[0-57-9])\\\\d{6,9}",[7,8,9,10,11,12],[["(\\\\d{2})(\\\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","(?:10|2[0-57-9])(?:100|9[56])"],"0$1"],["(\\\\d{3})(\\\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\\\d|35|49|9[1-68])|4(?:[17]\\\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\\\d|35|49|9[1-68])|4(?:[17]\\\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\\\d|35|49|9[1-68])|4(?:[17]\\\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\\\d{2})(\\\\d{4})(\\\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\\\d{3})(\\\\d{7,8})","$1 $2",["9"]],["(\\\\d{4})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\\\d{3})(\\\\d{4})(\\\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\\\d{3})(\\\\d{4})(\\\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\\\d{2})(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"0|(1(?:[12]\\\\d|79)\\\\d\\\\d)",0,0,0,0,"00"],"CO":["57","00(?:4(?:[14]4|56)|[579])","(?:(?:1\\\\d|[36])\\\\d{3}|9101)\\\\d{6}|[124-8]\\\\d{7}",[8,10,11],[["(\\\\d)(\\\\d{7})","$1 $2",["[146][2-9]|[2578]"],"($1)"],["(\\\\d{3})(\\\\d{7})","$1 $2",["6"],"($1)"],["(\\\\d{3})(\\\\d{7})","$1 $2",["[39]"]],["(\\\\d)(\\\\d{3})(\\\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],"CR":["506","00","(?:8\\\\d|90)\\\\d{8}|(?:[24-8]\\\\d{3}|3005)\\\\d{4}",[8,10],[["(\\\\d{4})(\\\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],"CU":["53","119","[27]\\\\d{6,7}|[34]\\\\d{5,7}|(?:5|8\\\\d\\\\d)\\\\d{7}",[6,7,8,10],[["(\\\\d{2})(\\\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\\\d)(\\\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\\\d)(\\\\d{7})","$1 $2",["5"],"0$1"],["(\\\\d{3})(\\\\d{7})","$1 $2",["8"],"0$1"]],"0"],"CV":["238","0","(?:[2-59]\\\\d\\\\d|800)\\\\d{4}",[7],[["(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2 $3",["[2-589]"]]]],"CW":["599","00","(?:[34]1|60|(?:7|9\\\\d)\\\\d)\\\\d{5}",[7,8],[["(\\\\d{3})(\\\\d{4})","$1 $2",["[3467]"]],["(\\\\d)(\\\\d{3})(\\\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],"CX":["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\\\d{8}(?:\\\\d{2})?|8[0-24-9]\\\\d{7})|[148]\\\\d{8}|1\\\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"0|([59]\\\\d{7})$","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\\\d|7(?:0[01]|1[0-2])|958))\\\\d{3}",[9]],["4(?:83[0-38]|93[0-6])\\\\d{5}|4(?:[0-3]\\\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\\\d{6}",[9]],["180(?:0\\\\d{3}|2)\\\\d{3}",[7,10]],["190[0-26]\\\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\\\d)\\\\d{4}",[9]],["13(?:00\\\\d{6}(?:\\\\d{2})?|45[0-4]\\\\d{3})|13\\\\d{4}",[6,8,10,12]]],"0011"],"CY":["357","00","(?:[279]\\\\d|[58]0)\\\\d{6}",[8],[["(\\\\d{2})(\\\\d{6})","$1 $2",["[257-9]"]]]],"CZ":["420","00","(?:[2-578]\\\\d|60)\\\\d{7}|9\\\\d{8,11}",[9],[["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\\\d{2})(\\\\d{3})(\\\\d{3})(\\\\d{2})","$1 $2 $3 $4",["96"]],["(\\\\d{2})(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3 $4",["9"]],["(\\\\d{3})(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3 $4",["9"]]]],"DE":["49","00","[2579]\\\\d{5,14}|49(?:[34]0|69|8\\\\d)\\\\d\\\\d?|49(?:37|49|60|7[089]|9\\\\d)\\\\d{1,3}|49(?:1\\\\d|2[02-9]|3[2-689]|7[1-7])\\\\d{1,8}|(?:1|[368]\\\\d|4[0-8])\\\\d{3,13}|49(?:[05]\\\\d|[23]1|[46][1-8])\\\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\\\d{2})(\\\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\\\d{3})(\\\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\\\d{4})(\\\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\\\d{3})(\\\\d{4})","$1 $2",["138"],"0$1"],["(\\\\d{5})(\\\\d{2,10})","$1 $2",["3"],"0$1"],["(\\\\d{3})(\\\\d{5,11})","$1 $2",["181"],"0$1"],["(\\\\d{3})(\\\\d)(\\\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\\\d{3})(\\\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\\\d{3})(\\\\d{7,12})","$1 $2",["8"],"0$1"],["(\\\\d{5})(\\\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\\\d{3})(\\\\d{4})(\\\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\\\d{4})(\\\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\\\d{5})(\\\\d{6})","$1 $2",["15[0568]"],"0$1"],["(\\\\d{4})(\\\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\\\d{3})(\\\\d{8})","$1 $2",["18"],"0$1"],["(\\\\d{3})(\\\\d{2})(\\\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\\\d{4})(\\\\d{2})(\\\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\\\d{3})(\\\\d{2})(\\\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],"DJ":["253","00","(?:2\\\\d|77)\\\\d{6}",[8],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[27]"]]]],"DK":["45","00","[2-9]\\\\d{7}",[8],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],"DM":["1","011","(?:[58]\\\\d\\\\d|767|900)\\\\d{7}",[10],0,"1",0,"1|([2-7]\\\\d{6})$","767$1",0,"767"],"DO":["1","011","(?:[58]\\\\d\\\\d|900)\\\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],"DZ":["213","00","(?:[1-4]|[5-79]\\\\d|80)\\\\d{7}",[8,9],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],"EC":["593","00","1\\\\d{9,10}|(?:[2-7]|9\\\\d)\\\\d{7}",[8,9,10,11],[["(\\\\d)(\\\\d{3})(\\\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\\\d{4})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["1"]]],"0"],"EE":["372","00","8\\\\d{9}|[4578]\\\\d{7}|(?:[3-8]\\\\d|90)\\\\d{5}",[7,8,10],[["(\\\\d{3})(\\\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\\\d{4})(\\\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\\\d{2})(\\\\d{2})(\\\\d{4})","$1 $2 $3",["7"]],["(\\\\d{4})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["8"]]]],"EG":["20","00","[189]\\\\d{8,9}|[24-6]\\\\d{8}|[135]\\\\d{7}",[8,9,10],[["(\\\\d)(\\\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\\\d{2})(\\\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[189]"],"0$1"]],"0"],"EH":["212","00","[5-8]\\\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],"ER":["291","00","[178]\\\\d{6}",[7],[["(\\\\d)(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],"ES":["34","00","[5-9]\\\\d{8}",[9],[["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[89]00"]],["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],"ET":["251","00","(?:11|[2-59]\\\\d)\\\\d{7}",[9],[["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[1-59]"],"0$1"]],"0"],"FI":["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\\\d{4}|7\\\\d{10,11}|(?:[124-7]\\\\d|3[0-46-9])\\\\d{8}|[1-9]\\\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\\\d)(\\\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],["(\\\\d{3})(\\\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],["(\\\\d{2})(\\\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],["(\\\\d{2})(\\\\d{6,10})","$1 $2",["7"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],"FJ":["679","0(?:0|52)","45\\\\d{5}|(?:0800\\\\d|[235-9])\\\\d{6}",[7,11],[["(\\\\d{3})(\\\\d{4})","$1 $2",["[235-9]|45"]],["(\\\\d{4})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],"FK":["500","00","[2-7]\\\\d{4}",[5]],"FM":["691","00","(?:[39]\\\\d\\\\d|820)\\\\d{4}",[7],[["(\\\\d{3})(\\\\d{4})","$1 $2",["[389]"]]]],"FO":["298","00","[2-9]\\\\d{5}",[6],[["(\\\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],"FR":["33","00","[1-9]\\\\d{8}",[9],[["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\\\d)(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],"GA":["241","00","(?:[067]\\\\d|11)\\\\d{6}|[2-7]\\\\d{6}",[7,8],[["(\\\\d)(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["0"]],["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\\\d{6}|60\\\\d{6}|61\\\\d{6}|6[256]\\\\d{6}|7[467]\\\\d{6})","$1"],"GB":["44","00","[1-357-9]\\\\d{9}|[18]\\\\d{8}|8\\\\d{6}",[7,9,10],[["(\\\\d{3})(\\\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\\\d{3})(\\\\d{6})","$1 $2",["800"],"0$1"],["(\\\\d{5})(\\\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\\\d{4})(\\\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\\\d{2})(\\\\d{4})(\\\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\\\d{4})(\\\\d{6})","$1 $2",["7"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\\\d\\\\d|73[0235])|4(?:[0-5]\\\\d\\\\d|69[7-9]|70[0359])|(?:5[0-26-9]|[78][0-49])\\\\d\\\\d|6(?:[0-4]\\\\d\\\\d|50[0-24-69]))|2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\\\d)\\\\d\\\\d|1(?:[0-7]\\\\d\\\\d|8(?:[02]\\\\d|1[0-278])))|(?:3(?:0\\\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\\\d\\\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\\\d{3})\\\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\\\d)|76\\\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\\\d|7[4-79])|295[5-7]|35[34]\\\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\\\d{5}|7(?:[1-3]\\\\d\\\\d|4(?:[0-46-9]\\\\d|5[0-689])|5(?:0[0-8]|[13-9]\\\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\\\d|8[02-9]|9[0-689])|8(?:[014-9]\\\\d|[23][0-8])|9(?:[024-9]\\\\d|1[02-9]|3[0-689]))\\\\d{6}",[10]],["80[08]\\\\d{7}|800\\\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\\\d|8[2-49]))\\\\d{7}|845464\\\\d",[7,10]],["70\\\\d{8}",[10]],0,["(?:3[0347]|55)\\\\d{8}",[10]],["76(?:464|652)\\\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\\\d{6}",[10]],["56\\\\d{8}",[10]]],0," x"],"GD":["1","011","(?:473|[58]\\\\d\\\\d|900)\\\\d{7}",[10],0,"1",0,"1|([2-9]\\\\d{6})$","473$1",0,"473"],"GE":["995","00","(?:[3-57]\\\\d\\\\d|800)\\\\d{6}",[9],[["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],"GF":["594","00","(?:[56]94|80\\\\d|976)\\\\d{6}",[9],[["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],"GG":["44","00","(?:1481|[357-9]\\\\d{3})\\\\d{6}|8\\\\d{6}(?:\\\\d{2})?",[7,9,10],0,"0",0,"0|([25-9]\\\\d{5})$","1481$1",0,0,[["1481[25-9]\\\\d{5}",[10]],["7(?:(?:781|839)\\\\d|911[17])\\\\d{5}",[10]],["80[08]\\\\d{7}|800\\\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\\\d|8[0-3]))\\\\d{7}|845464\\\\d",[7,10]],["70\\\\d{8}",[10]],0,["(?:3[0347]|55)\\\\d{8}",[10]],["76(?:464|652)\\\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\\\d{6}",[10]],["56\\\\d{8}",[10]]]],"GH":["233","00","(?:[235]\\\\d{3}|800)\\\\d{5}",[8,9],[["(\\\\d{3})(\\\\d{5})","$1 $2",["8"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],"GI":["350","00","(?:[25]\\\\d\\\\d|606)\\\\d{5}",[8],[["(\\\\d{3})(\\\\d{5})","$1 $2",["2"]]]],"GL":["299","00","(?:19|[2-689]\\\\d|70)\\\\d{4}",[6],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3",["19|[2-9]"]]]],"GM":["220","00","[2-9]\\\\d{6}",[7],[["(\\\\d{3})(\\\\d{4})","$1 $2",["[2-9]"]]]],"GN":["224","00","722\\\\d{6}|(?:3|6\\\\d)\\\\d{7}",[8,9],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["3"]],["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[67]"]]]],"GP":["590","00","(?:590|(?:69|80)\\\\d|976)\\\\d{6}",[9],[["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|1[0-24-7]|2[0-68]|3[1289]|4[0-24-9]|5[3-579]|6[0189]|7[08]|8[0-689]|9\\\\d)\\\\d{4}"],["69(?:0\\\\d\\\\d|1(?:2[2-9]|3[0-5]))\\\\d{4}"],["80[0-5]\\\\d{6}"],0,0,0,0,0,["976[01]\\\\d{5}"]]],"GQ":["240","00","222\\\\d{6}|(?:3\\\\d|55|[89]0)\\\\d{7}",[9],[["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[235]"]],["(\\\\d{3})(\\\\d{6})","$1 $2",["[89]"]]]],"GR":["30","00","5005000\\\\d{3}|8\\\\d{9,11}|(?:[269]\\\\d|70)\\\\d{8}",[10,11,12],[["(\\\\d{2})(\\\\d{4})(\\\\d{4})","$1 $2 $3",["21|7"]],["(\\\\d{4})(\\\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[2689]"]],["(\\\\d{3})(\\\\d{3,4})(\\\\d{5})","$1 $2 $3",["8"]]]],"GT":["502","00","(?:1\\\\d{3}|[2-7])\\\\d{7}",[8,11],[["(\\\\d{4})(\\\\d{4})","$1 $2",["[2-7]"]],["(\\\\d{4})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["1"]]]],"GU":["1","011","(?:[58]\\\\d\\\\d|671|900)\\\\d{7}",[10],0,"1",0,"1|([3-9]\\\\d{6})$","671$1",0,"671"],"GW":["245","00","[49]\\\\d{8}|4\\\\d{6}",[7,9],[["(\\\\d{3})(\\\\d{4})","$1 $2",["40"]],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[49]"]]]],"GY":["592","001","9008\\\\d{3}|(?:[2-467]\\\\d\\\\d|862)\\\\d{4}",[7],[["(\\\\d{3})(\\\\d{4})","$1 $2",["[2-46-9]"]]]],"HK":["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\\\d{6,7}|9\\\\d{4,7}|(?:[2-7]|9\\\\d{3})\\\\d{7}",[5,6,7,8,9,11],[["(\\\\d{3})(\\\\d{2,5})","$1 $2",["900","9003"]],["(\\\\d{4})(\\\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["8"]],["(\\\\d{3})(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],"HN":["504","00","8\\\\d{10}|[237-9]\\\\d{7}",[8,11],[["(\\\\d{4})(\\\\d{4})","$1-$2",["[237-9]"]]]],"HR":["385","00","(?:[24-69]\\\\d|3[0-79])\\\\d{7}|80\\\\d{5,7}|[1-79]\\\\d{7}|6\\\\d{5,6}",[6,7,8,9],[["(\\\\d{2})(\\\\d{2})(\\\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\\\d{3})(\\\\d{2})(\\\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\\\d)(\\\\d{4})(\\\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["[67]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["[2-5]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],"HT":["509","00","[2-489]\\\\d{7}",[8],[["(\\\\d{2})(\\\\d{2})(\\\\d{4})","$1 $2 $3",["[2-489]"]]]],"HU":["36","00","[235-7]\\\\d{8}|[1-9]\\\\d{7}",[8,9],[["(\\\\d)(\\\\d{3})(\\\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\\\d{2})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],"ID":["62","00[89]","(?:(?:00[1-9]|8\\\\d)\\\\d{4}|[1-36])\\\\d{6}|00\\\\d{10}|[1-9]\\\\d{8,10}|[2-9]\\\\d{7}",[7,8,9,10,11,12,13],[["(\\\\d)(\\\\d{3})(\\\\d{3})","$1 $2 $3",["15"]],["(\\\\d{2})(\\\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\\\d{3})(\\\\d{5,7})","$1 $2",["800"],"0$1"],["(\\\\d{3})(\\\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\\\d{3})(\\\\d{3,4})(\\\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\\\d{3})(\\\\d{6,8})","$1 $2",["1"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\\\d{3})(\\\\d)(\\\\d{3})(\\\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\\\d{3})(\\\\d{4})(\\\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],"IE":["353","00","(?:1\\\\d|[2569])\\\\d{6,8}|4\\\\d{6,9}|7\\\\d{8}|8\\\\d{8,9}",[7,8,9,10],[["(\\\\d{2})(\\\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\\\d{3})(\\\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\\\d)(\\\\d{3,4})(\\\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\\\d{2})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\\\d{4})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["1"]],["(\\\\d{2})(\\\\d{4})(\\\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\\\d{2})(\\\\d)(\\\\d{3})(\\\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],"IL":["972","0(?:0|1[2-9])","1\\\\d{6}(?:\\\\d{3,5})?|[57]\\\\d{8}|[1-489]\\\\d{7}",[7,8,9,10,11,12],[["(\\\\d{4})(\\\\d{3})","$1-$2",["125"]],["(\\\\d{4})(\\\\d{2})(\\\\d{2})","$1-$2-$3",["121"]],["(\\\\d)(\\\\d{3})(\\\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\\\d{4})(\\\\d{3})(\\\\d{3})","$1-$2-$3",["12"]],["(\\\\d{4})(\\\\d{6})","$1-$2",["159"]],["(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\\\d{3})(\\\\d{1,2})(\\\\d{3})(\\\\d{4})","$1-$2 $3-$4",["15"]]],"0"],"IM":["44","00","1624\\\\d{6}|(?:[3578]\\\\d|90)\\\\d{8}",[10],0,"0",0,"0|([25-8]\\\\d{5})$","1624$1",0,"74576|(?:16|7[56])24"],"IN":["91","00","(?:000800|[2-9]\\\\d\\\\d)\\\\d{7}|1\\\\d{7,12}",[8,9,10,11,12,13],[["(\\\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\\\d{4})(\\\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["140"],0,1],["(\\\\d{2})(\\\\d{4})(\\\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\\\d{4})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\\\d|7(?:1(?:[013-8]\\\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\\\d{5})(\\\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\\\d{4})(\\\\d{2,4})(\\\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\\\d{4})(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],"IO":["246","00","3\\\\d{6}",[7],[["(\\\\d{3})(\\\\d{4})","$1 $2",["3"]]]],"IQ":["964","00","(?:1|7\\\\d\\\\d)\\\\d{7}|[2-6]\\\\d{7,8}",[8,9,10],[["(\\\\d)(\\\\d{3})(\\\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],"IR":["98","00","[1-9]\\\\d{9}|(?:[1-8]\\\\d\\\\d|9)\\\\d{3,4}",[4,5,6,7,10],[["(\\\\d{4,5})","$1",["96"],"0$1"],["(\\\\d{2})(\\\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\\\d{2})(\\\\d{4})(\\\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],"IS":["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\\\d|[4-9])\\\\d{6}",[7,9],[["(\\\\d{3})(\\\\d{4})","$1 $2",["[4-9]"]],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],"IT":["39","00","0\\\\d{5,10}|1\\\\d{8,10}|3(?:[0-8]\\\\d{7,10}|9\\\\d{7,8})|55\\\\d{8}|8\\\\d{5}(?:\\\\d{2,4})?",[6,7,8,9,10,11],[["(\\\\d{2})(\\\\d{4,6})","$1 $2",["0[26]"]],["(\\\\d{3})(\\\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\\\d{4})(\\\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\\\d{4})(\\\\d{4})","$1 $2",["894"]],["(\\\\d{2})(\\\\d{3,4})(\\\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\\\d{3})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[38]"]],["(\\\\d{3})(\\\\d{3,4})(\\\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\\\d{2})(\\\\d{4})(\\\\d{5})","$1 $2 $3",["0[26]"]],["(\\\\d{4})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["0"]],["(\\\\d{3})(\\\\d{4})(\\\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\\\d{1,6}|0(?:1(?:[0159]\\\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\\\d\\\\d|3(?:[0159]\\\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\\\d|6[0-8])|7(?:[0159]\\\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\\\d{2,7}"],["3[1-9]\\\\d{8}|3[2-9]\\\\d{7}",[9,10]],["80(?:0\\\\d{3}|3)\\\\d{3}",[6,9]],["(?:0878\\\\d{3}|89(?:2\\\\d|3[04]|4(?:[0-4]|[5-9]\\\\d\\\\d)|5[0-4]))\\\\d\\\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\\\d{6}",[6,8,9,10]],["1(?:78\\\\d|99)\\\\d{6}",[9,10]],0,0,0,["55\\\\d{8}",[10]],["84(?:[08]\\\\d{3}|[17])\\\\d{3}",[6,9]]]],"JE":["44","00","1534\\\\d{6}|(?:[3578]\\\\d|90)\\\\d{8}",[10],0,"0",0,"0|([0-24-8]\\\\d{5})$","1534$1",0,0,[["1534[0-24-8]\\\\d{5}"],["7(?:(?:(?:50|82)9|937)\\\\d|7(?:00[378]|97[7-9]))\\\\d{5}"],["80(?:07(?:35|81)|8901)\\\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\\\d{4}"],["701511\\\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\\\d{4})\\\\d{4}"],["76(?:464|652)\\\\d{5}|76(?:0[0-2]|2[356]|34|4[01347]|5[49]|6[0-369]|77|81|9[139])\\\\d{6}"],["56\\\\d{8}"]]],"JM":["1","011","(?:[58]\\\\d\\\\d|658|900)\\\\d{7}",[10],0,"1",0,0,0,0,"658|876"],"JO":["962","00","(?:(?:[2689]|7\\\\d)\\\\d|32|53)\\\\d{6}",[8,9],[["(\\\\d)(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\\\d{3})(\\\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\\\d{2})(\\\\d{7})","$1 $2",["70"],"0$1"],["(\\\\d)(\\\\d{4})(\\\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],"JP":["81","010","00[1-9]\\\\d{6,14}|[257-9]\\\\d{9}|(?:00|[1-9]\\\\d\\\\d)\\\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\\\d{4})(\\\\d)(\\\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:49|80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:496|802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\\\d)(\\\\d{4})(\\\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[27-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9])|5(?:2|3[045]|4[0-369]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|49|51|6(?:[0-24]|36|5[0-3589]|72|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:49|55|83)[29]|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\\\d{3})(\\\\d{2})(\\\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\\\d{2})(\\\\d{4})(\\\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0"],"KE":["254","000","(?:[17]\\\\d\\\\d|900)\\\\d{6}|(?:2|80)0\\\\d{6,7}|[4-6]\\\\d{6,8}",[7,8,9,10],[["(\\\\d{2})(\\\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\\\d{3})(\\\\d{6})","$1 $2",["[17]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],"KG":["996","00","8\\\\d{9}|(?:[235-8]\\\\d|99)\\\\d{7}",[9,10],[["(\\\\d{4})(\\\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d)(\\\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],"KH":["855","00[14-9]","1\\\\d{9}|[1-9]\\\\d{7,8}",[8,9,10],[["(\\\\d{2})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\\\d{4})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["1"]]],"0"],"KI":["686","00","(?:[37]\\\\d|6[0-79])\\\\d{6}|(?:[2-48]\\\\d|50)\\\\d{3}",[5,8],0,"0"],"KM":["269","00","[3478]\\\\d{6}",[7],[["(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2 $3",["[3478]"]]]],"KN":["1","011","(?:[58]\\\\d\\\\d|900)\\\\d{7}",[10],0,"1",0,"1|([2-7]\\\\d{6})$","869$1",0,"869"],"KP":["850","00|99","85\\\\d{6}|(?:19\\\\d|[2-7])\\\\d{7}",[8,10],[["(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\\\d)(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],"KR":["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\\\d{8,11}|(?:[12]|5\\\\d{3})\\\\d{7}|[13-6]\\\\d{9}|(?:[1-6]\\\\d|80)\\\\d{7}|[3-6]\\\\d{4,5}|(?:00|7)0\\\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\\\d{2})(\\\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\\\d{4})(\\\\d{4})","$1-$2",["1"]],["(\\\\d)(\\\\d{3,4})(\\\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1-$2-$3",["60|8"],"0$1"],["(\\\\d{2})(\\\\d{3,4})(\\\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\\\d{2})(\\\\d{4})(\\\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\\\d{2})(\\\\d{5})(\\\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\\\d\\\\d))?"],"KW":["965","00","18\\\\d{5}|(?:[2569]\\\\d|41)\\\\d{6}",[7,8],[["(\\\\d{4})(\\\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\\\d{3})(\\\\d{5})","$1 $2",["[245]"]]]],"KY":["1","011","(?:345|[58]\\\\d\\\\d|900)\\\\d{7}",[10],0,"1",0,"1|([2-9]\\\\d{6})$","345$1",0,"345"],"KZ":["7","810","(?:33622|8\\\\d{8})\\\\d{5}|[78]\\\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],"LA":["856","00","[23]\\\\d{9}|3\\\\d{8}|(?:[235-8]\\\\d|41)\\\\d{6}",[8,9,10],[["(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{3})","$1 $2 $3 $4",["30[013-9]"],"0$1"],["(\\\\d{2})(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],"LB":["961","00","[27-9]\\\\d{7}|[13-9]\\\\d{6}",[7,8],[["(\\\\d)(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],"LC":["1","011","(?:[58]\\\\d\\\\d|758|900)\\\\d{7}",[10],0,"1",0,"1|([2-8]\\\\d{6})$","758$1",0,"758"],"LI":["423","00","[68]\\\\d{8}|(?:[2378]\\\\d|90)\\\\d{5}",[7,9],[["(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["8"]],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["69"]],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["6"]]],"0",0,"0|(1001)"],"LK":["94","00","[1-9]\\\\d{8}",[9],[["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],"LR":["231","00","(?:2|33|5\\\\d|77|88)\\\\d{7}|[4-6]\\\\d{6}",[7,8,9],[["(\\\\d)(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[3578]"],"0$1"]],"0"],"LS":["266","00","(?:[256]\\\\d\\\\d|800)\\\\d{5}",[8],[["(\\\\d{4})(\\\\d{4})","$1 $2",["[2568]"]]]],"LT":["370","00","(?:[3469]\\\\d|52|[78]0)\\\\d{6}",[8],[["(\\\\d)(\\\\d{3})(\\\\d{4})","$1 $2 $3",["52[0-7]"],"(8-$1)",1],["(\\\\d{3})(\\\\d{2})(\\\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",1],["(\\\\d{2})(\\\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",1],["(\\\\d{3})(\\\\d{5})","$1 $2",["[3-6]"],"(8-$1)",1]],"8",0,"[08]"],"LU":["352","00","35[013-9]\\\\d{4,8}|6\\\\d{8}|35\\\\d{2,4}|(?:[2457-9]\\\\d|3[0-46-9])\\\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\\\d{2})(\\\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\\\d{2})(\\\\d{2})(\\\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\\\d{3})(\\\\d{2})(\\\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{3})","$1 $2 $3 $4",["20"]],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["6"]],["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\\\d)"],"LV":["371","00","(?:[268]\\\\d|90)\\\\d{6}",[8],[["(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],"LY":["218","00","[2-9]\\\\d{8}",[9],[["(\\\\d{2})(\\\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],"MA":["212","00","[5-8]\\\\d{8}",[9],[["(\\\\d{5})(\\\\d{4})","$1-$2",["5(?:29|38)","5(?:29|38)[89]","5(?:29|38)[89]0"],"0$1"],["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\\\d{4})(\\\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|9)|892","5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892"],"0$1"],["(\\\\d{2})(\\\\d{7})","$1-$2",["8"],"0$1"],["(\\\\d{3})(\\\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:29(?:[189][05]|2[29]|3[01])|38(?:8[057]|9[05]))\\\\d{4}|5(?:2(?:[0-25-7]\\\\d|3[1-578]|4[02-46-8]|8[0235-7]|90)|3(?:[0-47]\\\\d|5[02-9]|6[02-8]|80|9[3-9])|(?:4[067]|5[03])\\\\d)\\\\d{5}"],["(?:6(?:[0-79]\\\\d|8[0-247-9])|7(?:[017]\\\\d|6[0-367]))\\\\d{6}"],["80\\\\d{7}"],["89\\\\d{7}"],0,0,0,0,["592(?:4[0-2]|93)\\\\d{4}"]]],"MC":["377","00","(?:[3489]|6\\\\d)\\\\d{7}",[8,9],[["(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\\\d)(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],"MD":["373","00","(?:[235-7]\\\\d|[89]0)\\\\d{6}",[8],[["(\\\\d{3})(\\\\d{5})","$1 $2",["[89]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\\\d{3})(\\\\d{2})(\\\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],"ME":["382","00","(?:20|[3-79]\\\\d)\\\\d{6}|80\\\\d{6,7}",[8,9],[["(\\\\d{2})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],"MF":["590","00","(?:590|(?:69|80)\\\\d|976)\\\\d{6}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|30|5[0-268]|87)\\\\d{4}"],["69(?:0\\\\d\\\\d|1(?:2[2-9]|3[0-5]))\\\\d{4}"],["80[0-5]\\\\d{6}"],0,0,0,0,0,["976[01]\\\\d{5}"]]],"MG":["261","00","[23]\\\\d{8}",[9],[["(\\\\d{2})(\\\\d{2})(\\\\d{3})(\\\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"0|([24-9]\\\\d{6})$","20$1"],"MH":["692","011","329\\\\d{4}|(?:[256]\\\\d|45)\\\\d{5}",[7],[["(\\\\d{3})(\\\\d{4})","$1-$2",["[2-6]"]]],"1"],"MK":["389","00","[2-578]\\\\d{7}",[8],[["(\\\\d)(\\\\d{3})(\\\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\\\d{3})(\\\\d)(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],"ML":["223","00","[24-9]\\\\d{7}",[8],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],"MM":["95","00","1\\\\d{5,7}|95\\\\d{6}|(?:[4-7]|9[0-46-9])\\\\d{6,8}|(?:2|8\\\\d)\\\\d{5,8}",[6,7,8,9,10],[["(\\\\d)(\\\\d{2})(\\\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\\\d{2})(\\\\d{2})(\\\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\\\d)(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\\\d)(\\\\d{3})(\\\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\\\d)(\\\\d{4})(\\\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\\\d)(\\\\d{5})(\\\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],"MN":["976","001","[12]\\\\d{7,9}|[57-9]\\\\d{7}",[8,9,10],[["(\\\\d{2})(\\\\d{2})(\\\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\\\d{4})(\\\\d{4})","$1 $2",["[57-9]"]],["(\\\\d{3})(\\\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\\\d{4})(\\\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\\\d{5})(\\\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],"MO":["853","00","0800\\\\d{3}|(?:28|[68]\\\\d)\\\\d{6}",[7,8],[["(\\\\d{4})(\\\\d{3})","$1 $2",["0"]],["(\\\\d{4})(\\\\d{4})","$1 $2",["[268]"]]]],"MP":["1","011","[58]\\\\d{9}|(?:67|90)0\\\\d{7}",[10],0,"1",0,"1|([2-9]\\\\d{6})$","670$1",0,"670"],"MQ":["596","00","(?:69|80)\\\\d{7}|(?:59|97)6\\\\d{6}",[9],[["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],"MR":["222","00","(?:[2-4]\\\\d\\\\d|800)\\\\d{5}",[8],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],"MS":["1","011","(?:[58]\\\\d\\\\d|664|900)\\\\d{7}",[10],0,"1",0,"1|([34]\\\\d{6})$","664$1",0,"664"],"MT":["356","00","3550\\\\d{4}|(?:[2579]\\\\d\\\\d|800)\\\\d{5}",[8],[["(\\\\d{4})(\\\\d{4})","$1 $2",["[2357-9]"]]]],"MU":["230","0(?:0|[24-7]0|3[03])","(?:5|8\\\\d\\\\d)\\\\d{7}|[2-468]\\\\d{6}",[7,8,10],[["(\\\\d{3})(\\\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\\\d{4})(\\\\d{4})","$1 $2",["5"]],["(\\\\d{5})(\\\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],"MV":["960","0(?:0|19)","(?:800|9[0-57-9]\\\\d)\\\\d{7}|[34679]\\\\d{6}",[7,10],[["(\\\\d{3})(\\\\d{4})","$1-$2",["[3467]|9[13-9]"]],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],"MW":["265","00","(?:[129]\\\\d|31|77|88)\\\\d{7}|1\\\\d{6}",[7,9],[["(\\\\d)(\\\\d{3})(\\\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],"MX":["52","0[09]","1(?:(?:44|99)[1-9]|65[0-689])\\\\d{7}|(?:1(?:[017]\\\\d|[235][1-9]|4[0-35-9]|6[0-46-9]|8[1-79]|9[1-8])|[2-9]\\\\d)\\\\d{8}",[10,11],[["(\\\\d{2})(\\\\d{4})(\\\\d{4})","$1 $2 $3",["33|5[56]|81"],0,1],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[2-9]"],0,1],["(\\\\d)(\\\\d{2})(\\\\d{4})(\\\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],0,1],["(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{4})","$2 $3 $4",["1"],0,1]],"01",0,"0(?:[12]|4[45])|1",0,0,0,0,"00"],"MY":["60","00","1\\\\d{8,9}|(?:3\\\\d|[4-9])\\\\d{7}",[8,9,10],[["(\\\\d)(\\\\d{3})(\\\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9])|8"],"0$1"],["(\\\\d)(\\\\d{4})(\\\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\\\d)(\\\\d{3})(\\\\d{2})(\\\\d{4})","$1-$2-$3-$4",["1[36-8]"]],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\\\d{2})(\\\\d{4})(\\\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],"MZ":["258","00","(?:2|8\\\\d)\\\\d{7}",[8,9],[["(\\\\d{2})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["8"]]]],"NA":["264","00","[68]\\\\d{7,8}",[8,9],[["(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],"NC":["687","00","[2-57-9]\\\\d{5}",[6],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1.$2.$3",["[2-57-9]"]]]],"NE":["227","00","[027-9]\\\\d{7}",[8],[["(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["08"]],["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[04]"]]]],"NF":["672","00","[13]\\\\d{5}",[6],[["(\\\\d{2})(\\\\d{4})","$1 $2",["1[0-3]"]],["(\\\\d)(\\\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\\\d{4})$","3$1"],"NG":["234","009","(?:[124-7]|9\\\\d{3})\\\\d{6}|[1-9]\\\\d{7}|[78]\\\\d{9,13}",[7,8,10,11,12,13,14],[["(\\\\d{2})(\\\\d{2})(\\\\d{3})","$1 $2 $3",["78"],"0$1"],["(\\\\d)(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\\\d{3})(\\\\d{4})(\\\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\\\d{3})(\\\\d{5})(\\\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],"NI":["505","00","(?:1800|[25-8]\\\\d{3})\\\\d{4}",[8],[["(\\\\d{4})(\\\\d{4})","$1 $2",["[125-8]"]]]],"NL":["31","00","(?:[124-7]\\\\d\\\\d|3(?:[02-9]\\\\d|1[0-8]))\\\\d{6}|[89]\\\\d{6,9}|1\\\\d{4,5}",[5,6,7,8,9,10],[["(\\\\d{3})(\\\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\\\d{2})(\\\\d{7})","$1 $2",["66"],"0$1"],["(\\\\d)(\\\\d{8})","$1 $2",["6"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[1-57-9]"],"0$1"]],"0"],"NO":["47","00","(?:0|[2-9]\\\\d{3})\\\\d{4}",[5,8],[["(\\\\d{3})(\\\\d{2})(\\\\d{3})","$1 $2 $3",["[489]|59"]],["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[235-7]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],"NP":["977","00","(?:1\\\\d|9)\\\\d{9}|[1-9]\\\\d{7}",[8,10,11],[["(\\\\d)(\\\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\\\d{2})(\\\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-579]|6[2-6])"],"0$1"],["(\\\\d{3})(\\\\d{7})","$1-$2",["9"]]],"0"],"NR":["674","00","(?:444|(?:55|8\\\\d)\\\\d|666)\\\\d{4}",[7],[["(\\\\d{3})(\\\\d{4})","$1 $2",["[4-68]"]]]],"NU":["683","00","(?:[47]|888\\\\d)\\\\d{3}",[4,7],[["(\\\\d{3})(\\\\d{4})","$1 $2",["8"]]]],"NZ":["64","0(?:0|161)","[29]\\\\d{7,9}|50\\\\d{5}(?:\\\\d{2,3})?|6[0-35-9]\\\\d{6}|7\\\\d{7,8}|8\\\\d{4,9}|(?:11\\\\d|[34])\\\\d{7}",[5,6,7,8,9,10],[["(\\\\d{2})(\\\\d{3,8})","$1 $2",["8[1-579]"],"0$1"],["(\\\\d{3})(\\\\d{2})(\\\\d{2,3})","$1 $2 $3",["50[036-8]|[89]0","50(?:[0367]|88)|[89]0"],"0$1"],["(\\\\d)(\\\\d{3})(\\\\d{4})","$1-$2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["2(?:10|74)|[59]|80"],"0$1"],["(\\\\d{2})(\\\\d{3,4})(\\\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7|86"],"0$1"]],"0",0,0,0,0,0,0,"00"],"OM":["968","00","(?:1505|[279]\\\\d{3}|500)\\\\d{4}|800\\\\d{5,6}",[7,8,9],[["(\\\\d{3})(\\\\d{4,6})","$1 $2",["[58]"]],["(\\\\d{2})(\\\\d{6})","$1 $2",["2"]],["(\\\\d{4})(\\\\d{4})","$1 $2",["[179]"]]]],"PA":["507","00","(?:00800|8\\\\d{3})\\\\d{6}|[68]\\\\d{7}|[1-57-9]\\\\d{6}",[7,8,10,11],[["(\\\\d{3})(\\\\d{4})","$1-$2",["[1-57-9]"]],["(\\\\d{4})(\\\\d{4})","$1-$2",["[68]"]],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["8"]]]],"PE":["51","19(?:1[124]|77|90)00","(?:[14-8]|9\\\\d)\\\\d{7}",[8,9],[["(\\\\d{3})(\\\\d{5})","$1 $2",["80"],"(0$1)"],["(\\\\d)(\\\\d{7})","$1 $2",["1"],"(0$1)"],["(\\\\d{2})(\\\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,0," Anexo "],"PF":["689","00","4\\\\d{5}(?:\\\\d{2})?|8\\\\d{7,8}",[6,8,9],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3",["44"]],["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["8"]]]],"PG":["675","00|140[1-3]","(?:180|[78]\\\\d{3})\\\\d{4}|(?:[2-589]\\\\d|64)\\\\d{5}",[7,8],[["(\\\\d{3})(\\\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\\\d{4})(\\\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],"PH":["63","00","(?:[2-7]|9\\\\d)\\\\d{8}|2\\\\d{5}|(?:1800|8)\\\\d{7,9}",[6,8,9,10,11,12,13],[["(\\\\d)(\\\\d{5})","$1 $2",["2"],"(0$1)"],["(\\\\d{4})(\\\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\\\d{5})(\\\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\\\d)(\\\\d{4})(\\\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\\\d{4})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["1"]],["(\\\\d{4})(\\\\d{1,2})(\\\\d{3})(\\\\d{4})","$1 $2 $3 $4",["1"]]],"0"],"PK":["92","00","122\\\\d{6}|[24-8]\\\\d{10,11}|9(?:[013-9]\\\\d{8,10}|2(?:[01]\\\\d\\\\d|2(?:[06-8]\\\\d|1[01]))\\\\d{7})|(?:[2-8]\\\\d{3}|92(?:[0-7]\\\\d|8[1-9]))\\\\d{6}|[24-9]\\\\d{8}|[89]\\\\d{7}",[8,9,10,11,12],[["(\\\\d{3})(\\\\d{3})(\\\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\\\d{4})(\\\\d{5})","$1 $2",["1"]],["(\\\\d{3})(\\\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\\\d{2})(\\\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\\\d{5})(\\\\d{5})","$1 $2",["58"],"(0$1)"],["(\\\\d{3})(\\\\d{7})","$1 $2",["3"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],"PL":["48","00","6\\\\d{5}(?:\\\\d{2})?|8\\\\d{9}|[1-9]\\\\d{6}(?:\\\\d{2})?",[6,7,8,9,10],[["(\\\\d{5})","$1",["19"]],["(\\\\d{3})(\\\\d{3})","$1 $2",["11|64"]],["(\\\\d{2})(\\\\d{2})(\\\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\\\d{3})(\\\\d{2})(\\\\d{2,3})","$1 $2 $3",["64"]],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\\\d{3})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["8"]]]],"PM":["508","00","(?:[45]|80\\\\d\\\\d)\\\\d{5}",[6,9],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],"PR":["1","011","(?:[589]\\\\d\\\\d|787)\\\\d{7}",[10],0,"1",0,0,0,0,"787|939"],"PS":["970","00","[2489]2\\\\d{6}|(?:1\\\\d|5)\\\\d{8}",[8,9,10],[["(\\\\d)(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\\\d{4})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["1"]]],"0"],"PT":["351","00","1693\\\\d{5}|(?:[26-9]\\\\d|30)\\\\d{7}",[9],[["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["2[12]"]],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["16|[236-9]"]]]],"PW":["680","01[12]","(?:[24-8]\\\\d\\\\d|345|900)\\\\d{4}",[7],[["(\\\\d{3})(\\\\d{4})","$1 $2",["[2-9]"]]]],"PY":["595","00","59\\\\d{4,6}|9\\\\d{5,10}|(?:[2-46-8]\\\\d|5[0-8])\\\\d{4,7}",[6,7,8,9,10,11],[["(\\\\d{3})(\\\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\\\d{2})(\\\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\\\d{3})(\\\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\\\d{2})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["87"]],["(\\\\d{3})(\\\\d{6})","$1 $2",["9(?:[5-79]|8[1-6])"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\\\d{4})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["9"]]],"0"],"QA":["974","00","[2-7]\\\\d{7}|800\\\\d{4}(?:\\\\d{2})?|2\\\\d{6}",[7,8,9],[["(\\\\d{3})(\\\\d{4})","$1 $2",["2[126]|8"]],["(\\\\d{4})(\\\\d{4})","$1 $2",["[2-7]"]]]],"RE":["262","00","9769\\\\d{5}|(?:26|[68]\\\\d)\\\\d{7}",[9],[["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,"26[23]|69|[89]"],"RO":["40","00","(?:[2378]\\\\d|90)\\\\d{7}|[23]\\\\d{5}",[6,9],[["(\\\\d{3})(\\\\d{3})","$1 $2",["2[3-6]","2[3-6]\\\\d9"],"0$1"],["(\\\\d{2})(\\\\d{4})","$1 $2",["219|31"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[237-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],"RS":["381","00","38[02-9]\\\\d{6,9}|6\\\\d{7,9}|90\\\\d{4,8}|38\\\\d{5,6}|(?:7\\\\d\\\\d|800)\\\\d{3,9}|(?:[12]\\\\d|3[0-79])\\\\d{5,10}",[6,7,8,9,10,11,12],[["(\\\\d{3})(\\\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\\\d{2})(\\\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],"RU":["7","810","8\\\\d{13}|[347-9]\\\\d{9}",[10,14],[["(\\\\d{4})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-6]2|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-6]2|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\\\d{5})(\\\\d)(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\\\d{3})(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\\\d{4})(\\\\d{4})(\\\\d{3})(\\\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],"RW":["250","00","(?:06|[27]\\\\d\\\\d|[89]00)\\\\d{6}",[8,9],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["0"]],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[7-9]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["2"]]],"0"],"SA":["966","00","92\\\\d{7}|(?:[15]|8\\\\d)\\\\d{8}",[9,10],[["(\\\\d{4})(\\\\d{5})","$1 $2",["9"]],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["8"]]],"0"],"SB":["677","0[01]","(?:[1-6]|[7-9]\\\\d\\\\d)\\\\d{4}",[5,7],[["(\\\\d{2})(\\\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],"SC":["248","010|0[0-2]","8000\\\\d{3}|(?:[249]\\\\d|64)\\\\d{5}",[7],[["(\\\\d)(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],"SD":["249","00","[19]\\\\d{8}",[9],[["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],"SE":["46","00","(?:[26]\\\\d\\\\d|9)\\\\d{9}|[1-9]\\\\d{8}|[1-689]\\\\d{7}|[1-4689]\\\\d{6}|2\\\\d{5}",[6,7,8,9,10],[["(\\\\d{2})(\\\\d{2,3})(\\\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\\\d{3})(\\\\d{4})","$1-$2",["9(?:00|39|44)"],"0$1",0,"$1 $2"],["(\\\\d{2})(\\\\d{3})(\\\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\\\d)(\\\\d{2,3})(\\\\d{2})(\\\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\\\d{3})(\\\\d{2,3})(\\\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\\\d{3})(\\\\d{2,3})(\\\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\\\d{2})(\\\\d{2,3})(\\\\d{2})(\\\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\\\d{3})(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],"SG":["65","0[0-3]\\\\d","(?:(?:1\\\\d|8)\\\\d\\\\d|7000)\\\\d{7}|[3689]\\\\d{7}",[8,10,11],[["(\\\\d{4})(\\\\d{4})","$1 $2",["[369]|8(?:0[1-5]|[1-9])"]],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["8"]],["(\\\\d{4})(\\\\d{4})(\\\\d{3})","$1 $2 $3",["7"]],["(\\\\d{4})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["1"]]]],"SH":["290","00","(?:[256]\\\\d|8)\\\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],"SI":["386","00|10(?:22|66|88|99)","[1-7]\\\\d{7}|8\\\\d{4,7}|90\\\\d{4,6}",[5,6,7,8],[["(\\\\d{2})(\\\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\\\d{3})(\\\\d{5})","$1 $2",["59|8"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\\\d)(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],"SJ":["47","00","0\\\\d{4}|(?:[489]\\\\d|[57]9)\\\\d{6}",[5,8],0,0,0,0,0,0,"79"],"SK":["421","00","[2-689]\\\\d{8}|[2-59]\\\\d{6}|[2-5]\\\\d{5}",[6,7,9],[["(\\\\d)(\\\\d{2})(\\\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\\\d{2})(\\\\d{2})(\\\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],"SL":["232","00","(?:[237-9]\\\\d|66)\\\\d{6}",[8],[["(\\\\d{2})(\\\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],"SM":["378","00","(?:0549|[5-7]\\\\d)\\\\d{6}",[8,10],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\\\d{4})(\\\\d{6})","$1 $2",["0"]]],0,0,"([89]\\\\d{5})$","0549$1"],"SN":["221","00","(?:[378]\\\\d|93)\\\\d{7}",[9],[["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["8"]],["(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[379]"]]]],"SO":["252","00","[346-9]\\\\d{8}|[12679]\\\\d{7}|[1-5]\\\\d{6}|[1348]\\\\d{5}",[6,7,8,9],[["(\\\\d{2})(\\\\d{4})","$1 $2",["8[125]"]],["(\\\\d{6})","$1",["[134]"]],["(\\\\d)(\\\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\\\d)(\\\\d{7})","$1 $2",["24|[67]"]],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[3478]|64|90"]],["(\\\\d{2})(\\\\d{5,7})","$1 $2",["1|28|6(?:0[5-7]|[1-35-9])|9[2-9]"]]],"0"],"SR":["597","00","(?:[2-5]|68|[78]\\\\d)\\\\d{5}",[6,7],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1-$2-$3",["56"]],["(\\\\d{3})(\\\\d{3})","$1-$2",["[2-5]"]],["(\\\\d{3})(\\\\d{4})","$1-$2",["[6-8]"]]]],"SS":["211","00","[19]\\\\d{8}",[9],[["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],"ST":["239","00","(?:22|9\\\\d)\\\\d{5}",[7],[["(\\\\d{3})(\\\\d{4})","$1 $2",["[29]"]]]],"SV":["503","00","[267]\\\\d{7}|[89]00\\\\d{4}(?:\\\\d{4})?",[7,8,11],[["(\\\\d{3})(\\\\d{4})","$1 $2",["[89]"]],["(\\\\d{4})(\\\\d{4})","$1 $2",["[267]"]],["(\\\\d{3})(\\\\d{4})(\\\\d{4})","$1 $2 $3",["[89]"]]]],"SX":["1","011","7215\\\\d{6}|(?:[58]\\\\d\\\\d|900)\\\\d{7}",[10],0,"1",0,"1|(5\\\\d{6})$","721$1",0,"721"],"SY":["963","00","[1-39]\\\\d{8}|[1-5]\\\\d{7}",[8,9],[["(\\\\d{2})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["9"],"0$1",1]],"0"],"SZ":["268","00","0800\\\\d{4}|(?:[237]\\\\d|900)\\\\d{6}",[8,9],[["(\\\\d{4})(\\\\d{4})","$1 $2",["[0237]"]],["(\\\\d{5})(\\\\d{4})","$1 $2",["9"]]]],"TA":["290","00","8\\\\d{3}",[4],0,0,0,0,0,0,"8"],"TC":["1","011","(?:[58]\\\\d\\\\d|649|900)\\\\d{7}",[10],0,"1",0,"1|([2-479]\\\\d{6})$","649$1",0,"649"],"TD":["235","00|16","(?:22|[69]\\\\d|77)\\\\d{6}",[8],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[2679]"]]],0,0,0,0,0,0,0,"00"],"TG":["228","00","[279]\\\\d{7}",[8],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[279]"]]]],"TH":["66","00[1-9]","(?:001800|[2-57]|[689]\\\\d)\\\\d{7}|1\\\\d{7,9}",[8,9,10,13],[["(\\\\d)(\\\\d{3})(\\\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\\\d{4})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["1"]]],"0"],"TJ":["992","810","(?:00|[1-57-9]\\\\d)\\\\d{7}",[9],[["(\\\\d{6})(\\\\d)(\\\\d{2})","$1 $2 $3",["331","3317"]],["(\\\\d{3})(\\\\d{2})(\\\\d{4})","$1 $2 $3",["[34]7|91[78]"]],["(\\\\d{4})(\\\\d)(\\\\d{4})","$1 $2 $3",["3[1-5]"]],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],"TK":["690","00","[2-47]\\\\d{3,6}",[4,5,6,7]],"TL":["670","00","7\\\\d{7}|(?:[2-47]\\\\d|[89]0)\\\\d{5}",[7,8],[["(\\\\d{3})(\\\\d{4})","$1 $2",["[2-489]|70"]],["(\\\\d{4})(\\\\d{4})","$1 $2",["7"]]]],"TM":["993","810","[1-6]\\\\d{7}",[8],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\\\d{3})(\\\\d)(\\\\d{2})(\\\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\\\d{2})(\\\\d{6})","$1 $2",["6"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],"TN":["216","00","[2-57-9]\\\\d{7}",[8],[["(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[2-57-9]"]]]],"TO":["676","00","(?:0800|(?:[5-8]\\\\d\\\\d|999)\\\\d)\\\\d{3}|[2-8]\\\\d{4}",[5,7],[["(\\\\d{2})(\\\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\\\d{4})(\\\\d{3})","$1 $2",["0"]],["(\\\\d{3})(\\\\d{4})","$1 $2",["[5-9]"]]]],"TR":["90","00","4\\\\d{6}|8\\\\d{11,12}|(?:[2-58]\\\\d\\\\d|900)\\\\d{7}",[7,10,12,13],[["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\\\d{3})(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|616)","5(?:[0-59]|6161)"],"0$1",1],["(\\\\d{3})(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\\\d{3})(\\\\d{3})(\\\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],"TT":["1","011","(?:[58]\\\\d\\\\d|900)\\\\d{7}",[10],0,"1",0,"1|([2-46-8]\\\\d{6})$","868$1",0,"868"],"TV":["688","00","(?:2|7\\\\d\\\\d|90)\\\\d{4}",[5,6,7],[["(\\\\d{2})(\\\\d{3})","$1 $2",["2"]],["(\\\\d{2})(\\\\d{4})","$1 $2",["90"]],["(\\\\d{2})(\\\\d{5})","$1 $2",["7"]]]],"TW":["886","0(?:0[25-79]|19)","[2-689]\\\\d{8}|7\\\\d{9,10}|[2-8]\\\\d{7}|2\\\\d{6}",[7,8,9,10,11],[["(\\\\d{2})(\\\\d)(\\\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\\\d)(\\\\d{3,4})(\\\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\\\d{2})(\\\\d{4})(\\\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],"TZ":["255","00[056]","(?:[26-8]\\\\d|41|90)\\\\d{7}",[9],[["(\\\\d{3})(\\\\d{2})(\\\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],"UA":["380","00","[89]\\\\d{9}|[3-9]\\\\d{8}",[9,10],[["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["4[45][0-5]|5(?:0|6[37])|6(?:[12][018]|[36-8])|7|89|9[1-9]|(?:48|57)[0137-9]","4[45][0-5]|5(?:0|6(?:3[14-7]|7))|6(?:[12][018]|[36-8])|7|89|9[1-9]|(?:48|57)[0137-9]"],"0$1"],["(\\\\d{4})(\\\\d{5})","$1 $2",["[3-6]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],"UG":["256","00[057]","800\\\\d{6}|(?:[29]0|[347]\\\\d)\\\\d{7}",[9],[["(\\\\d{4})(\\\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\\\d{3})(\\\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\\\d{2})(\\\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],"US":["1","011","[2-9]\\\\d{9}",[10],[["(\\\\d{3})(\\\\d{3})(\\\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["5(?:05(?:[2-57-9]\\\\d\\\\d|6(?:[0-35-9]\\\\d|44))|82(?:2(?:0[0-3]|[268]2)|3(?:0[02]|33)|4(?:00|4[24]|65|82)|5(?:00|29|83)|6(?:00|66|82)|777|8(?:00|88)|9(?:00|9[89])))\\\\d{4}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[39]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[0-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[0179]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[08]|3[0-289]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01579]|5[12469]|7[0-389]|8[04-69]))[2-9]\\\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}"],["900[2-9]\\\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[12]|33|44|66|77|88)[2-9]\\\\d{6}"]]],"UY":["598","0(?:0|1[3-9]\\\\d)","4\\\\d{9}|[1249]\\\\d{7}|(?:[49]\\\\d|80)\\\\d{5}",[7,8,10],[["(\\\\d{3})(\\\\d{4})","$1 $2",["405|8|90"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\\\d{4})(\\\\d{4})","$1 $2",["[124]"]],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["4"],"0$1"]],"0",0,0,0,0,0,0,"00"," int. "],"UZ":["998","810","(?:33|55|[679]\\\\d|88)\\\\d{7}",[9],[["(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[35-9]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],"VA":["39","00","0\\\\d{5,10}|3[0-8]\\\\d{7,10}|55\\\\d{8}|8\\\\d{5}(?:\\\\d{2,4})?|(?:1\\\\d|39)\\\\d{7,8}",[6,7,8,9,10,11],0,0,0,0,0,0,"06698"],"VC":["1","011","(?:[58]\\\\d\\\\d|784|900)\\\\d{7}",[10],0,"1",0,"1|([2-7]\\\\d{6})$","784$1",0,"784"],"VE":["58","00","[68]00\\\\d{7}|(?:[24]\\\\d|[59]0)\\\\d{8}",[10],[["(\\\\d{3})(\\\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],"VG":["1","011","(?:284|[58]\\\\d\\\\d|900)\\\\d{7}",[10],0,"1",0,"1|([2-578]\\\\d{6})$","284$1",0,"284"],"VI":["1","011","[58]\\\\d{9}|(?:34|90)0\\\\d{7}",[10],0,"1",0,"1|([2-9]\\\\d{6})$","340$1",0,"340"],"VN":["84","00","[12]\\\\d{9}|[135-9]\\\\d{8}|[16]\\\\d{7}|[16-8]\\\\d{6}",[7,8,9,10],[["(\\\\d{2})(\\\\d{5})","$1 $2",["80"],"0$1",1],["(\\\\d{4})(\\\\d{4,6})","$1 $2",["1"],0,1],["(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["[69]"],"0$1",1],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[3578]"],"0$1",1],["(\\\\d{2})(\\\\d{4})(\\\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\\\d{3})(\\\\d{4})(\\\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],"VU":["678","00","[57-9]\\\\d{6}|(?:[238]\\\\d|48)\\\\d{3}",[5,7],[["(\\\\d{3})(\\\\d{4})","$1 $2",["[57-9]"]]]],"WF":["681","00","(?:40|72)\\\\d{4}|8\\\\d{5}(?:\\\\d{3})?",[6,9],[["(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3",["[478]"]],["(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})","$1 $2 $3 $4",["8"]]]],"WS":["685","0","(?:[2-6]|8\\\\d{5})\\\\d{4}|[78]\\\\d{6}|[68]\\\\d{5}",[5,6,7,10],[["(\\\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\\\d{3})(\\\\d{3,7})","$1 $2",["[68]"]],["(\\\\d{2})(\\\\d{5})","$1 $2",["7"]]]],"XK":["383","00","[23]\\\\d{7,8}|(?:4\\\\d\\\\d|[89]00)\\\\d{5}",[8,9],[["(\\\\d{3})(\\\\d{5})","$1 $2",["[89]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[23]"],"0$1"]],"0"],"YE":["967","00","(?:1|7\\\\d)\\\\d{7}|[1-7]\\\\d{6}",[7,8,9],[["(\\\\d)(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["[1-6]|7[24-68]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],"YT":["262","00","80\\\\d{7}|(?:26|63)9\\\\d{6}",[9],0,"0",0,0,0,0,"269|63"],"ZA":["27","00","[1-79]\\\\d{8}|8\\\\d{4,9}",[5,6,7,8,9,10],[["(\\\\d{2})(\\\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],"ZM":["260","00","800\\\\d{6}|(?:21|63|[79]\\\\d)\\\\d{7}",[9],[["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\\\d{2})(\\\\d{7})","$1 $2",["[79]"],"0$1"]],"0"],"ZW":["263","00","2(?:[0-57-9]\\\\d{6,8}|6[0-24-9]\\\\d{6,7})|[38]\\\\d{9}|[35-8]\\\\d{8}|[3-6]\\\\d{7}|[1-689]\\\\d{6}|[1-3569]\\\\d{5}|[1356]\\\\d{4}",[5,6,7,8,9,10],[["(\\\\d{3})(\\\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\\\d)(\\\\d{3})(\\\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\\\d{3})(\\\\d{4})","$1 $2",["80"],"0$1"],["(\\\\d{2})(\\\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\\\d{2})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\\\d{3})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\\\d{4})(\\\\d{6})","$1 $2",["8"],"0$1"],["(\\\\d{2})(\\\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\\\d{2})(\\\\d{3})(\\\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\\\d{4})(\\\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},"nonGeographic":{"800":["800",0,"(?:005|[1-9]\\\\d\\\\d)\\\\d{5}",[8],[["(\\\\d{4})(\\\\d{4})","$1 $2",["\\\\d"]]],0,0,0,0,0,0,[0,0,["(?:005|[1-9]\\\\d\\\\d)\\\\d{5}"]]],"808":["808",0,"[1-9]\\\\d{7}",[8],[["(\\\\d{4})(\\\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\\\d{7}"]]],"870":["870",0,"7\\\\d{11}|[35-7]\\\\d{8}",[9,12],[["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\\\d{8}|7[6-8]\\\\d{7}"]]],"878":["878",0,"10\\\\d{10}",[12],[["(\\\\d{2})(\\\\d{5})(\\\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\\\d{10}"]]],"881":["881",0,"[0-36-9]\\\\d{8}",[9],[["(\\\\d)(\\\\d{3})(\\\\d{5})","$1 $2 $3",["[0-36-9]"]]],0,0,0,0,0,0,[0,["[0-36-9]\\\\d{8}"]]],"882":["882",0,"[13]\\\\d{6}(?:\\\\d{2,5})?|285\\\\d{9}|(?:[19]\\\\d|49)\\\\d{6}",[7,8,9,10,11,12],[["(\\\\d{2})(\\\\d{5})","$1 $2",["16|342"]],["(\\\\d{2})(\\\\d{6})","$1 $2",["4"]],["(\\\\d{2})(\\\\d{2})(\\\\d{4})","$1 $2 $3",["[19]"]],["(\\\\d{2})(\\\\d{4})(\\\\d{3})","$1 $2 $3",["3[23]"]],["(\\\\d{2})(\\\\d{3,4})(\\\\d{4})","$1 $2 $3",["1"]],["(\\\\d{2})(\\\\d{4})(\\\\d{4})","$1 $2 $3",["34[57]"]],["(\\\\d{3})(\\\\d{4})(\\\\d{4})","$1 $2 $3",["34"]],["(\\\\d{2})(\\\\d{4,5})(\\\\d{5})","$1 $2 $3",["[1-3]"]]],0,0,0,0,0,0,[0,["342\\\\d{4}|(?:337|49)\\\\d{6}|3(?:2|47|7\\\\d{3})\\\\d{7}",[7,8,9,10,12]],0,0,0,0,0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\\\d{4}|6\\\\d{5,10})|(?:(?:285\\\\d\\\\d|3(?:45|[69]\\\\d{3}))\\\\d|9[89])\\\\d{6}"]]],"883":["883",0,"(?:210|370\\\\d\\\\d)\\\\d{7}|51\\\\d{7}(?:\\\\d{3})?",[9,10,12],[["(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3",["510"]],["(\\\\d{3})(\\\\d{3})(\\\\d{4})","$1 $2 $3",["2"]],["(\\\\d{4})(\\\\d{4})(\\\\d{4})","$1 $2 $3",["51[13]"]],["(\\\\d{3})(\\\\d{3})(\\\\d{3})(\\\\d{3})","$1 $2 $3 $4",["[35]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:210|(?:370[1-9]|51[013]0)\\\\d)\\\\d{7}|5100\\\\d{5}"]]],"888":["888",0,"\\\\d{11}",[11],[["(\\\\d{3})(\\\\d{3})(\\\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\\\d{11}"]]],"979":["979",0,"[1359]\\\\d{8}",[9],[["(\\\\d)(\\\\d{4})(\\\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\\\d{8}"]]]}}')}};var t={};function __nccwpck_require__(r){var n=t[r];if(n!==undefined){return n.exports}var i=t[r]={exports:{}};var a=true;try{e[r].call(i.exports,i,i.exports,__nccwpck_require__);a=false}finally{if(a)delete t[r]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r={};(()=>{"use strict";var e=r;Object.defineProperty(e,"__esModule",{value:true});const t=__nccwpck_require__(2186);const n=__nccwpck_require__(7436);const i=__nccwpck_require__(1514);const a=__nccwpck_require__(8983);const o=__nccwpck_require__(9275);const s=__nccwpck_require__(4803);const u=__nccwpck_require__(1017);const l=__nccwpck_require__(9719);const d=__nccwpck_require__(1917);const f=__nccwpck_require__(7147);try{const e=(0,t.getInput)("api_key",{required:true});const r=(0,t.getInput)("collection_dir");const u=((0,t.getInput)("build").toLowerCase().trim()||"true")=="true";const l=((0,t.getInput)("publish").toLowerCase().trim()||"true")=="true";const d=(0,t.getInput)("galaxy_version");const f=(0,t.getInput)("galaxy_config_file")||"galaxy.yml";const[c,p]=prepareConfig(f,r);let h;try{h=new a.Collection({config:p,apiKey:e,customDir:r,customVersion:d})}catch(e){(0,t.setFailed)(e);process.exit(o.ExitCodes.ValidationFailed)}const m=(0,s.validateSync)(h);if(m.length>0){const e=m.map((e=>e.constraints));e.forEach((e=>(0,t.error)(JSON.stringify(e))));(0,t.setFailed)("This action encountered validation failures. Inspect the output for all validation errors.");process.exit(o.ExitCodes.ValidationFailed)}(0,t.debug)(`Building collection ${h}`);p.commit(c);new Promise((e=>{const r=e;if(u){h.build(n.which,i.exec).then((e=>{(0,t.debug)(`Successfully built local ${h} archive.`);r(e)})).catch((({message:e})=>{(0,t.setFailed)(e);process.exit(o.ExitCodes.BuildFailed)}))}else{r(null)}})).then((()=>{if(l){h.publish(n.which,i.exec).then((()=>(0,t.debug)(`Successfully published ${h} to Ansible Galaxy.`))).catch((({message:e})=>{(0,t.setFailed)(e);process.exit(o.ExitCodes.PublishFailed)}))}}))}catch(e){(0,t.setFailed)(e.message)}function prepareConfig(e,r){let n=e;if(r.length>0){n=(0,u.join)(r,e)}(0,t.debug)(`Using galaxy config file locate at: ${n}`);try{const e=(0,d.load)((0,f.readFileSync)(n,"utf8"));return[n,new l.GalaxyConfig(e)]}catch(e){(0,t.setFailed)(`Was unable to read the galaxy.yml file at path: ${n}`);throw e}}})();module.exports=r})(); \ No newline at end of file diff --git a/jest.config.js b/jest.config.js index 14e44f9..7eea0f8 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,5 +1,8 @@ module.exports = { clearMocks: true, + collectCoverageFrom: [ + "src/*.ts", + ], moduleFileExtensions: ['js', 'ts'], testEnvironment: 'node', testMatch: ['**/*.test.ts'], @@ -8,4 +11,4 @@ module.exports = { '^.+\\.ts$': 'ts-jest' }, verbose: true -} +}; diff --git a/package-lock.json b/package-lock.json index 84d1622..7219237 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5,78 +5,79 @@ "requires": true, "dependencies": { "@actions/core": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.6.0.tgz", - "integrity": "sha512-NB1UAZomZlCV/LmJqkLhNTqtKfFXJZAUPcfl/zqG7EfsQdeUJtaWO98SGbuQ3pydJ3fHl2CvI/51OKYlCYYcaw==", + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.9.0.tgz", + "integrity": "sha512-5pbM693Ih59ZdUhgk+fts+bUWTnIdHV3kwOSr+QIoFHMLg7Gzhwm0cifDY/AG68ekEJAkHnQVpcy4f6GjmzBCA==", "requires": { - "@actions/http-client": "^1.0.11" + "@actions/http-client": "^2.0.1" } }, "@actions/exec": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.0.tgz", - "integrity": "sha512-LImpN9AY0J1R1mEYJjVJfSZWU4zYOlEcwSTgPve1rFQqK5AwrEs6uWW5Rv70gbDIQIAUwI86z6B+9mPK4w9Sbg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@actions/exec/-/exec-1.1.1.tgz", + "integrity": "sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w==", "requires": { "@actions/io": "^1.0.1" } }, "@actions/http-client": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.11.tgz", - "integrity": "sha512-VRYHGQV1rqnROJqdMvGUbY/Kn8vriQe/F9HR2AlYHzmKuM/p3kjNuXhmdBfcVgsvRWTz5C5XW5xvndZrVBuAYg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.0.1.tgz", + "integrity": "sha512-PIXiMVtz6VvyaRsGY268qvj57hXQEpsYogYOu2nrQhlf+XCGmZstmuZBbAybUl1nQGnvS1k1eEsQ69ZoD7xlSw==", "requires": { - "tunnel": "0.0.6" + "tunnel": "^0.0.6" } }, "@actions/io": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.1.tgz", - "integrity": "sha512-Qi4JoKXjmE0O67wAOH6y0n26QXhMKMFo7GD/4IXNVcrtLjUlGjGuVys6pQgwF3ArfGTQu0XpqaNr0YhED2RaRA==" + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@actions/io/-/io-1.1.2.tgz", + "integrity": "sha512-d+RwPlMp+2qmBfeLYPLXuSRykDIFEwdTA0MMxzS9kh4kvP1ftrc/9fzy6pX6qAjthdXruHQ6/6kjT/DNo5ALuw==" }, "@ampproject/remapping": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.1.0.tgz", - "integrity": "sha512-d5RysTlJ7hmw5Tw4UxgxcY3lkMe92n8sXCcuLPAyIAHK6j8DefDwtGnVVDgOnv+RnEosulDJ9NPKQL27bDId0g==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz", + "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==", "dev": true, "requires": { - "@jridgewell/trace-mapping": "^0.3.0" + "@jridgewell/gen-mapping": "^0.1.0", + "@jridgewell/trace-mapping": "^0.3.9" } }, "@babel/code-frame": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz", - "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", + "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", "dev": true, "requires": { - "@babel/highlight": "^7.16.7" + "@babel/highlight": "^7.18.6" } }, "@babel/compat-data": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.17.0.tgz", - "integrity": "sha512-392byTlpGWXMv4FbyWw3sAZ/FrW/DrwqLGXpy0mbyNe9Taqv1mg9yON5/o0cnr8XYCkFTZbC1eV+c+LAROgrng==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.18.6.tgz", + "integrity": "sha512-tzulrgDT0QD6U7BJ4TKVk2SDDg7wlP39P9yAx1RfLy7vP/7rsDRlWVfbWxElslu56+r7QOhB2NSDsabYYruoZQ==", "dev": true }, "@babel/core": { - "version": "7.17.2", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.17.2.tgz", - "integrity": "sha512-R3VH5G42VSDolRHyUO4V2cfag8WHcZyxdq5Z/m8Xyb92lW/Erm/6kM+XtRFGf3Mulre3mveni2NHfEUws8wSvw==", - "dev": true, - "requires": { - "@ampproject/remapping": "^2.0.0", - "@babel/code-frame": "^7.16.7", - "@babel/generator": "^7.17.0", - "@babel/helper-compilation-targets": "^7.16.7", - "@babel/helper-module-transforms": "^7.16.7", - "@babel/helpers": "^7.17.2", - "@babel/parser": "^7.17.0", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.17.0", - "@babel/types": "^7.17.0", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.6.tgz", + "integrity": "sha512-cQbWBpxcbbs/IUredIPkHiAGULLV8iwgNRMFzvbhEXISp4f3rUUXE5+TIw6KwUWUR3DwyI6gmBRnmAtYaWehwQ==", + "dev": true, + "requires": { + "@ampproject/remapping": "^2.1.0", + "@babel/code-frame": "^7.18.6", + "@babel/generator": "^7.18.6", + "@babel/helper-compilation-targets": "^7.18.6", + "@babel/helper-module-transforms": "^7.18.6", + "@babel/helpers": "^7.18.6", + "@babel/parser": "^7.18.6", + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.6", + "@babel/types": "^7.18.6", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", - "json5": "^2.1.2", + "json5": "^2.2.1", "semver": "^6.3.0" }, "dependencies": { @@ -89,44 +90,57 @@ } }, "@babel/generator": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.17.0.tgz", - "integrity": "sha512-I3Omiv6FGOC29dtlZhkfXO6pgkmukJSlT26QjVvS1DGZe/NzSVCPG41X0tS21oZkJYlovfj9qDWgKP+Cn4bXxw==", + "version": "7.18.7", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.18.7.tgz", + "integrity": "sha512-shck+7VLlY72a2w9c3zYWuE1pwOKEiQHV7GTUbSnhyl5eu3i04t30tBY82ZRWrDfo3gkakCFtevExnxbkf2a3A==", "dev": true, "requires": { - "@babel/types": "^7.17.0", - "jsesc": "^2.5.1", - "source-map": "^0.5.0" + "@babel/types": "^7.18.7", + "@jridgewell/gen-mapping": "^0.3.2", + "jsesc": "^2.5.1" + }, + "dependencies": { + "@jridgewell/gen-mapping": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", + "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", + "dev": true, + "requires": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + } + } } }, "@babel/helper-annotate-as-pure": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.16.7.tgz", - "integrity": "sha512-s6t2w/IPQVTAET1HitoowRGXooX8mCgtuP5195wD/QJPV6wYjpujCGF7JuMODVX2ZAJOf1GT6DT9MHEZvLOFSw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz", + "integrity": "sha512-duORpUiYrEpzKIop6iNbjnwKLAKnJ47csTyRACyEmWj0QdUrm5aqNJGHSSEQSUAvNW0ojX0dOmK9dZduvkfeXA==", "dev": true, "requires": { - "@babel/types": "^7.16.7" + "@babel/types": "^7.18.6" } }, "@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.16.7.tgz", - "integrity": "sha512-C6FdbRaxYjwVu/geKW4ZeQ0Q31AftgRcdSnZ5/jsH6BzCJbtvXvhpfkbkThYSuutZA7nCXpPR6AD9zd1dprMkA==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.18.6.tgz", + "integrity": "sha512-KT10c1oWEpmrIRYnthbzHgoOf6B+Xd6a5yhdbNtdhtG7aO1or5HViuf1TQR36xY/QprXA5nvxO6nAjhJ4y38jw==", "dev": true, "requires": { - "@babel/helper-explode-assignable-expression": "^7.16.7", - "@babel/types": "^7.16.7" + "@babel/helper-explode-assignable-expression": "^7.18.6", + "@babel/types": "^7.18.6" } }, "@babel/helper-compilation-targets": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.7.tgz", - "integrity": "sha512-mGojBwIWcwGD6rfqgRXVlVYmPAv7eOpIemUG3dGnDdCY4Pae70ROij3XmfrH6Fa1h1aiDylpglbZyktfzyo/hA==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.18.6.tgz", + "integrity": "sha512-vFjbfhNCzqdeAtZflUFrG5YIFqGTqsctrtkZ1D/NB0mDW9TwW3GmmUepYY4G9wCET5rY5ugz4OGTcLd614IzQg==", "dev": true, "requires": { - "@babel/compat-data": "^7.16.4", - "@babel/helper-validator-option": "^7.16.7", - "browserslist": "^4.17.5", + "@babel/compat-data": "^7.18.6", + "@babel/helper-validator-option": "^7.18.6", + "browserslist": "^4.20.2", "semver": "^6.3.0" }, "dependencies": { @@ -139,28 +153,28 @@ } }, "@babel/helper-create-class-features-plugin": { - "version": "7.17.1", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.17.1.tgz", - "integrity": "sha512-JBdSr/LtyYIno/pNnJ75lBcqc3Z1XXujzPanHqjvvrhOA+DTceTFuJi8XjmWTZh4r3fsdfqaCMN0iZemdkxZHQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.18.6.tgz", + "integrity": "sha512-YfDzdnoxHGV8CzqHGyCbFvXg5QESPFkXlHtvdCkesLjjVMT2Adxe4FGUR5ChIb3DxSaXO12iIOCWoXdsUVwnqw==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-function-name": "^7.16.7", - "@babel/helper-member-expression-to-functions": "^7.16.7", - "@babel/helper-optimise-call-expression": "^7.16.7", - "@babel/helper-replace-supers": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7" + "@babel/helper-annotate-as-pure": "^7.18.6", + "@babel/helper-environment-visitor": "^7.18.6", + "@babel/helper-function-name": "^7.18.6", + "@babel/helper-member-expression-to-functions": "^7.18.6", + "@babel/helper-optimise-call-expression": "^7.18.6", + "@babel/helper-replace-supers": "^7.18.6", + "@babel/helper-split-export-declaration": "^7.18.6" } }, "@babel/helper-create-regexp-features-plugin": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.17.0.tgz", - "integrity": "sha512-awO2So99wG6KnlE+TPs6rn83gCz5WlEePJDTnLEqbchMVrBeAujURVphRdigsk094VhvZehFoNOihSlcBjwsXA==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.18.6.tgz", + "integrity": "sha512-7LcpH1wnQLGrI+4v+nPp+zUvIkF9x0ddv1Hkdue10tg3gmRnLy97DXh4STiOf1qeIInyD69Qv5kKSZzKD8B/7A==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "regexpu-core": "^5.0.1" + "@babel/helper-annotate-as-pure": "^7.18.6", + "regexpu-core": "^5.1.0" } }, "@babel/helper-define-polyfill-provider": { @@ -188,380 +202,369 @@ } }, "@babel/helper-environment-visitor": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz", - "integrity": "sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag==", - "dev": true, - "requires": { - "@babel/types": "^7.16.7" - } + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.6.tgz", + "integrity": "sha512-8n6gSfn2baOY+qlp+VSzsosjCVGFqWKmDF0cCWOybh52Dw3SEyoWR1KrhMJASjLwIEkkAufZ0xvr+SxLHSpy2Q==", + "dev": true }, "@babel/helper-explode-assignable-expression": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.16.7.tgz", - "integrity": "sha512-KyUenhWMC8VrxzkGP0Jizjo4/Zx+1nNZhgocs+gLzyZyB8SHidhoq9KK/8Ato4anhwsivfkBLftky7gvzbZMtQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.18.6.tgz", + "integrity": "sha512-eyAYAsQmB80jNfg4baAtLeWAQHfHFiR483rzFK+BhETlGZaQC9bsfrugfXDCbRHLQbIA7U5NxhhOxN7p/dWIcg==", "dev": true, "requires": { - "@babel/types": "^7.16.7" + "@babel/types": "^7.18.6" } }, "@babel/helper-function-name": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.7.tgz", - "integrity": "sha512-QfDfEnIUyyBSR3HtrtGECuZ6DAyCkYFp7GHl75vFtTnn6pjKeK0T1DB5lLkFvBea8MdaiUABx3osbgLyInoejA==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.18.6.tgz", + "integrity": "sha512-0mWMxV1aC97dhjCah5U5Ua7668r5ZmSC2DLfH2EZnf9c3/dHZKiFa5pRLMH5tjSl471tY6496ZWk/kjNONBxhw==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.16.7", - "@babel/template": "^7.16.7", - "@babel/types": "^7.16.7" - } - }, - "@babel/helper-get-function-arity": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.7.tgz", - "integrity": "sha512-flc+RLSOBXzNzVhcLu6ujeHUrD6tANAOU5ojrRx/as+tbzf8+stUCj7+IfRRoAbEZqj/ahXEMsjhOhgeZsrnTw==", - "dev": true, - "requires": { - "@babel/types": "^7.16.7" + "@babel/template": "^7.18.6", + "@babel/types": "^7.18.6" } }, "@babel/helper-hoist-variables": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz", - "integrity": "sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz", + "integrity": "sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q==", "dev": true, "requires": { - "@babel/types": "^7.16.7" + "@babel/types": "^7.18.6" } }, "@babel/helper-member-expression-to-functions": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.16.7.tgz", - "integrity": "sha512-VtJ/65tYiU/6AbMTDwyoXGPKHgTsfRarivm+YbB5uAzKUyuPjgZSgAFeG87FCigc7KNHu2Pegh1XIT3lXjvz3Q==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.18.6.tgz", + "integrity": "sha512-CeHxqwwipekotzPDUuJOfIMtcIHBuc7WAzLmTYWctVigqS5RktNMQ5bEwQSuGewzYnCtTWa3BARXeiLxDTv+Ng==", "dev": true, "requires": { - "@babel/types": "^7.16.7" + "@babel/types": "^7.18.6" } }, "@babel/helper-module-imports": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.7.tgz", - "integrity": "sha512-LVtS6TqjJHFc+nYeITRo6VLXve70xmq7wPhWTqDJusJEgGmkAACWwMiTNrvfoQo6hEhFwAIixNkvB0jPXDL8Wg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.18.6.tgz", + "integrity": "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA==", "dev": true, "requires": { - "@babel/types": "^7.16.7" + "@babel/types": "^7.18.6" } }, "@babel/helper-module-transforms": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.16.7.tgz", - "integrity": "sha512-gaqtLDxJEFCeQbYp9aLAefjhkKdjKcdh6DB7jniIGU3Pz52WAmP268zK0VgPz9hUNkMSYeH976K2/Y6yPadpng==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.18.6.tgz", + "integrity": "sha512-L//phhB4al5uucwzlimruukHB3jRd5JGClwRMD/ROrVjXfLqovYnvQrK/JK36WYyVwGGO7OD3kMyVTjx+WVPhw==", "dev": true, "requires": { - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-module-imports": "^7.16.7", - "@babel/helper-simple-access": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/helper-validator-identifier": "^7.16.7", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.16.7", - "@babel/types": "^7.16.7" + "@babel/helper-environment-visitor": "^7.18.6", + "@babel/helper-module-imports": "^7.18.6", + "@babel/helper-simple-access": "^7.18.6", + "@babel/helper-split-export-declaration": "^7.18.6", + "@babel/helper-validator-identifier": "^7.18.6", + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.6", + "@babel/types": "^7.18.6" } }, "@babel/helper-optimise-call-expression": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.7.tgz", - "integrity": "sha512-EtgBhg7rd/JcnpZFXpBy0ze1YRfdm7BnBX4uKMBd3ixa3RGAE002JZB66FJyNH7g0F38U05pXmA5P8cBh7z+1w==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz", + "integrity": "sha512-HP59oD9/fEHQkdcbgFCnbmgH5vIQTJbxh2yf+CdM89/glUNnuzr87Q8GIjGEnOktTROemO0Pe0iPAYbqZuOUiA==", "dev": true, "requires": { - "@babel/types": "^7.16.7" + "@babel/types": "^7.18.6" } }, "@babel/helper-plugin-utils": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.16.7.tgz", - "integrity": "sha512-Qg3Nk7ZxpgMrsox6HreY1ZNKdBq7K72tDSliA6dCl5f007jR4ne8iD5UzuNnCJH2xBf2BEEVGr+/OL6Gdp7RxA==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.18.6.tgz", + "integrity": "sha512-gvZnm1YAAxh13eJdkb9EWHBnF3eAub3XTLCZEehHT2kWxiKVRL64+ae5Y6Ivne0mVHmMYKT+xWgZO+gQhuLUBg==", "dev": true }, "@babel/helper-remap-async-to-generator": { - "version": "7.16.8", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.16.8.tgz", - "integrity": "sha512-fm0gH7Flb8H51LqJHy3HJ3wnE1+qtYR2A99K06ahwrawLdOFsCEWjZOrYricXJHoPSudNKxrMBUPEIPxiIIvBw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.18.6.tgz", + "integrity": "sha512-z5wbmV55TveUPZlCLZvxWHtrjuJd+8inFhk7DG0WW87/oJuGDcjDiu7HIvGcpf5464L6xKCg3vNkmlVVz9hwyQ==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "@babel/helper-wrap-function": "^7.16.8", - "@babel/types": "^7.16.8" + "@babel/helper-annotate-as-pure": "^7.18.6", + "@babel/helper-environment-visitor": "^7.18.6", + "@babel/helper-wrap-function": "^7.18.6", + "@babel/types": "^7.18.6" } }, "@babel/helper-replace-supers": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.16.7.tgz", - "integrity": "sha512-y9vsWilTNaVnVh6xiJfABzsNpgDPKev9HnAgz6Gb1p6UUwf9NepdlsV7VXGCftJM+jqD5f7JIEubcpLjZj5dBw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.18.6.tgz", + "integrity": "sha512-fTf7zoXnUGl9gF25fXCWE26t7Tvtyn6H4hkLSYhATwJvw2uYxd3aoXplMSe0g9XbwK7bmxNes7+FGO0rB/xC0g==", "dev": true, "requires": { - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-member-expression-to-functions": "^7.16.7", - "@babel/helper-optimise-call-expression": "^7.16.7", - "@babel/traverse": "^7.16.7", - "@babel/types": "^7.16.7" + "@babel/helper-environment-visitor": "^7.18.6", + "@babel/helper-member-expression-to-functions": "^7.18.6", + "@babel/helper-optimise-call-expression": "^7.18.6", + "@babel/traverse": "^7.18.6", + "@babel/types": "^7.18.6" } }, "@babel/helper-simple-access": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.16.7.tgz", - "integrity": "sha512-ZIzHVyoeLMvXMN/vok/a4LWRy8G2v205mNP0XOuf9XRLyX5/u9CnVulUtDgUTama3lT+bf/UqucuZjqiGuTS1g==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.18.6.tgz", + "integrity": "sha512-iNpIgTgyAvDQpDj76POqg+YEt8fPxx3yaNBg3S30dxNKm2SWfYhD0TGrK/Eu9wHpUW63VQU894TsTg+GLbUa1g==", "dev": true, "requires": { - "@babel/types": "^7.16.7" + "@babel/types": "^7.18.6" } }, "@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.16.0.tgz", - "integrity": "sha512-+il1gTy0oHwUsBQZyJvukbB4vPMdcYBrFHa0Uc4AizLxbq6BOYC51Rv4tWocX9BLBDLZ4kc6qUFpQ6HRgL+3zw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.18.6.tgz", + "integrity": "sha512-4KoLhwGS9vGethZpAhYnMejWkX64wsnHPDwvOsKWU6Fg4+AlK2Jz3TyjQLMEPvz+1zemi/WBdkYxCD0bAfIkiw==", "dev": true, "requires": { - "@babel/types": "^7.16.0" + "@babel/types": "^7.18.6" } }, "@babel/helper-split-export-declaration": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz", - "integrity": "sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz", + "integrity": "sha512-bde1etTx6ZyTmobl9LLMMQsaizFVZrquTEHOqKeQESMKo4PlObf+8+JA25ZsIpZhT/WEd39+vOdLXAFG/nELpA==", "dev": true, "requires": { - "@babel/types": "^7.16.7" + "@babel/types": "^7.18.6" } }, "@babel/helper-validator-identifier": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz", - "integrity": "sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.18.6.tgz", + "integrity": "sha512-MmetCkz9ej86nJQV+sFCxoGGrUbU3q02kgLciwkrt9QqEB7cP39oKEY0PakknEO0Gu20SskMRi+AYZ3b1TpN9g==", "dev": true }, "@babel/helper-validator-option": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.16.7.tgz", - "integrity": "sha512-TRtenOuRUVo9oIQGPC5G9DgK4743cdxvtOw0weQNpZXaS16SCBi5MNjZF8vba3ETURjZpTbVn7Vvcf2eAwFozQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz", + "integrity": "sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw==", "dev": true }, "@babel/helper-wrap-function": { - "version": "7.16.8", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.16.8.tgz", - "integrity": "sha512-8RpyRVIAW1RcDDGTA+GpPAwV22wXCfKOoM9bet6TLkGIFTkRQSkH1nMQ5Yet4MpoXe1ZwHPVtNasc2w0uZMqnw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.18.6.tgz", + "integrity": "sha512-I5/LZfozwMNbwr/b1vhhuYD+J/mU+gfGAj5td7l5Rv9WYmH6i3Om69WGKNmlIpsVW/mF6O5bvTKbvDQZVgjqOw==", "dev": true, "requires": { - "@babel/helper-function-name": "^7.16.7", - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.16.8", - "@babel/types": "^7.16.8" + "@babel/helper-function-name": "^7.18.6", + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.6", + "@babel/types": "^7.18.6" } }, "@babel/helpers": { - "version": "7.17.2", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.17.2.tgz", - "integrity": "sha512-0Qu7RLR1dILozr/6M0xgj+DFPmi6Bnulgm9M8BVa9ZCWxDqlSnqt3cf8IDPB5m45sVXUZ0kuQAgUrdSFFH79fQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.18.6.tgz", + "integrity": "sha512-vzSiiqbQOghPngUYt/zWGvK3LAsPhz55vc9XNN0xAl2gV4ieShI2OQli5duxWHD+72PZPTKAcfcZDE1Cwc5zsQ==", "dev": true, "requires": { - "@babel/template": "^7.16.7", - "@babel/traverse": "^7.17.0", - "@babel/types": "^7.17.0" + "@babel/template": "^7.18.6", + "@babel/traverse": "^7.18.6", + "@babel/types": "^7.18.6" } }, "@babel/highlight": { - "version": "7.16.10", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.10.tgz", - "integrity": "sha512-5FnTQLSLswEj6IkgVw5KusNUUFY9ZGqe/TRFnP/BKYHYgfh7tc+C7mwiy95/yNP7Dh9x580Vv8r7u7ZfTBFxdw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", + "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.16.7", + "@babel/helper-validator-identifier": "^7.18.6", "chalk": "^2.0.0", "js-tokens": "^4.0.0" } }, "@babel/parser": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.17.0.tgz", - "integrity": "sha512-VKXSCQx5D8S04ej+Dqsr1CzYvvWgf20jIw2D+YhQCrIlr2UZGaDds23Y0xg75/skOxpLCRpUZvk/1EAVkGoDOw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.18.6.tgz", + "integrity": "sha512-uQVSa9jJUe/G/304lXspfWVpKpK4euFLgGiMQFOCpM/bgcAdeoHwi/OQz23O9GK2osz26ZiXRRV9aV+Yl1O8tw==", "dev": true }, "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.16.7.tgz", - "integrity": "sha512-anv/DObl7waiGEnC24O9zqL0pSuI9hljihqiDuFHC8d7/bjr/4RLGPWuc8rYOff/QPzbEPSkzG8wGG9aDuhHRg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz", + "integrity": "sha512-Dgxsyg54Fx1d4Nge8UnvTrED63vrwOdPmyvPzlNN/boaliRP54pm3pGzZD1SJUwrBA+Cs/xdG8kXX6Mn/RfISQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.16.7.tgz", - "integrity": "sha512-di8vUHRdf+4aJ7ltXhaDbPoszdkh59AQtJM5soLsuHpQJdFQZOA4uGj0V2u/CZ8bJ/u8ULDL5yq6FO/bCXnKHw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.18.6.tgz", + "integrity": "sha512-Udgu8ZRgrBrttVz6A0EVL0SJ1z+RLbIeqsu632SA1hf0awEppD6TvdznoH+orIF8wtFFAV/Enmw9Y+9oV8TQcw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", - "@babel/plugin-proposal-optional-chaining": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6", + "@babel/helper-skip-transparent-expression-wrappers": "^7.18.6", + "@babel/plugin-proposal-optional-chaining": "^7.18.6" } }, "@babel/plugin-proposal-async-generator-functions": { - "version": "7.16.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.16.8.tgz", - "integrity": "sha512-71YHIvMuiuqWJQkebWJtdhQTfd4Q4mF76q2IX37uZPkG9+olBxsX+rH1vkhFto4UeJZ9dPY2s+mDvhDm1u2BGQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.18.6.tgz", + "integrity": "sha512-WAz4R9bvozx4qwf74M+sfqPMKfSqwM0phxPTR6iJIi8robgzXwkEgmeJG1gEKhm6sDqT/U9aV3lfcqybIpev8w==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/helper-remap-async-to-generator": "^7.16.8", + "@babel/helper-environment-visitor": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6", + "@babel/helper-remap-async-to-generator": "^7.18.6", "@babel/plugin-syntax-async-generators": "^7.8.4" } }, "@babel/plugin-proposal-class-properties": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.16.7.tgz", - "integrity": "sha512-IobU0Xme31ewjYOShSIqd/ZGM/r/cuOz2z0MDbNrhF5FW+ZVgi0f2lyeoj9KFPDOAqsYxmLWZte1WOwlvY9aww==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz", + "integrity": "sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ==", "dev": true, "requires": { - "@babel/helper-create-class-features-plugin": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-create-class-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-proposal-class-static-block": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.16.7.tgz", - "integrity": "sha512-dgqJJrcZoG/4CkMopzhPJjGxsIe9A8RlkQLnL/Vhhx8AA9ZuaRwGSlscSh42hazc7WSrya/IK7mTeoF0DP9tEw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.18.6.tgz", + "integrity": "sha512-+I3oIiNxrCpup3Gi8n5IGMwj0gOCAjcJUSQEcotNnCCPMEnixawOQ+KeJPlgfjzx+FKQ1QSyZOWe7wmoJp7vhw==", "dev": true, "requires": { - "@babel/helper-create-class-features-plugin": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-create-class-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6", "@babel/plugin-syntax-class-static-block": "^7.14.5" } }, "@babel/plugin-proposal-dynamic-import": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.16.7.tgz", - "integrity": "sha512-I8SW9Ho3/8DRSdmDdH3gORdyUuYnk1m4cMxUAdu5oy4n3OfN8flDEH+d60iG7dUfi0KkYwSvoalHzzdRzpWHTg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz", + "integrity": "sha512-1auuwmK+Rz13SJj36R+jqFPMJWyKEDd7lLSdOj4oJK0UTgGueSAtkrCvz9ewmgyU/P941Rv2fQwZJN8s6QruXw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-plugin-utils": "^7.18.6", "@babel/plugin-syntax-dynamic-import": "^7.8.3" } }, "@babel/plugin-proposal-export-namespace-from": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.16.7.tgz", - "integrity": "sha512-ZxdtqDXLRGBL64ocZcs7ovt71L3jhC1RGSyR996svrCi3PYqHNkb3SwPJCs8RIzD86s+WPpt2S73+EHCGO+NUA==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.6.tgz", + "integrity": "sha512-zr/QcUlUo7GPo6+X1wC98NJADqmy5QTFWWhqeQWiki4XHafJtLl/YMGkmRB2szDD2IYJCCdBTd4ElwhId9T7Xw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-plugin-utils": "^7.18.6", "@babel/plugin-syntax-export-namespace-from": "^7.8.3" } }, "@babel/plugin-proposal-json-strings": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.16.7.tgz", - "integrity": "sha512-lNZ3EEggsGY78JavgbHsK9u5P3pQaW7k4axlgFLYkMd7UBsiNahCITShLjNQschPyjtO6dADrL24757IdhBrsQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz", + "integrity": "sha512-lr1peyn9kOdbYc0xr0OdHTZ5FMqS6Di+H0Fz2I/JwMzGmzJETNeOFq2pBySw6X/KFL5EWDjlJuMsUGRFb8fQgQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-plugin-utils": "^7.18.6", "@babel/plugin-syntax-json-strings": "^7.8.3" } }, "@babel/plugin-proposal-logical-assignment-operators": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.16.7.tgz", - "integrity": "sha512-K3XzyZJGQCr00+EtYtrDjmwX7o7PLK6U9bi1nCwkQioRFVUv6dJoxbQjtWVtP+bCPy82bONBKG8NPyQ4+i6yjg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.18.6.tgz", + "integrity": "sha512-zMo66azZth/0tVd7gmkxOkOjs2rpHyhpcFo565PUP37hSp6hSd9uUKIfTDFMz58BwqgQKhJ9YxtM5XddjXVn+Q==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-plugin-utils": "^7.18.6", "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" } }, "@babel/plugin-proposal-nullish-coalescing-operator": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.16.7.tgz", - "integrity": "sha512-aUOrYU3EVtjf62jQrCj63pYZ7k6vns2h/DQvHPWGmsJRYzWXZ6/AsfgpiRy6XiuIDADhJzP2Q9MwSMKauBQ+UQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz", + "integrity": "sha512-wQxQzxYeJqHcfppzBDnm1yAY0jSRkUXR2z8RePZYrKwMKgMlE8+Z6LUno+bd6LvbGh8Gltvy74+9pIYkr+XkKA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-plugin-utils": "^7.18.6", "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" } }, "@babel/plugin-proposal-numeric-separator": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.16.7.tgz", - "integrity": "sha512-vQgPMknOIgiuVqbokToyXbkY/OmmjAzr/0lhSIbG/KmnzXPGwW/AdhdKpi+O4X/VkWiWjnkKOBiqJrTaC98VKw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz", + "integrity": "sha512-ozlZFogPqoLm8WBr5Z8UckIoE4YQ5KESVcNudyXOR8uqIkliTEgJ3RoketfG6pmzLdeZF0H/wjE9/cCEitBl7Q==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-plugin-utils": "^7.18.6", "@babel/plugin-syntax-numeric-separator": "^7.10.4" } }, "@babel/plugin-proposal-object-rest-spread": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.16.7.tgz", - "integrity": "sha512-3O0Y4+dw94HA86qSg9IHfyPktgR7q3gpNVAeiKQd+8jBKFaU5NQS1Yatgo4wY+UFNuLjvxcSmzcsHqrhgTyBUA==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.18.6.tgz", + "integrity": "sha512-9yuM6wr4rIsKa1wlUAbZEazkCrgw2sMPEXCr4Rnwetu7cEW1NydkCWytLuYletbf8vFxdJxFhwEZqMpOx2eZyw==", "dev": true, "requires": { - "@babel/compat-data": "^7.16.4", - "@babel/helper-compilation-targets": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7", + "@babel/compat-data": "^7.18.6", + "@babel/helper-compilation-targets": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6", "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.16.7" + "@babel/plugin-transform-parameters": "^7.18.6" } }, "@babel/plugin-proposal-optional-catch-binding": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.16.7.tgz", - "integrity": "sha512-eMOH/L4OvWSZAE1VkHbr1vckLG1WUcHGJSLqqQwl2GaUqG6QjddvrOaTUMNYiv77H5IKPMZ9U9P7EaHwvAShfA==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz", + "integrity": "sha512-Q40HEhs9DJQyaZfUjjn6vE8Cv4GmMHCYuMGIWUnlxH6400VGxOuwWsPt4FxXxJkC/5eOzgn0z21M9gMT4MOhbw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-plugin-utils": "^7.18.6", "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" } }, "@babel/plugin-proposal-optional-chaining": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.16.7.tgz", - "integrity": "sha512-eC3xy+ZrUcBtP7x+sq62Q/HYd674pPTb/77XZMb5wbDPGWIdUbSr4Agr052+zaUPSb+gGRnjxXfKFvx5iMJ+DA==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.18.6.tgz", + "integrity": "sha512-PatI6elL5eMzoypFAiYDpYQyMtXTn+iMhuxxQt5mAXD4fEmKorpSI3PHd+i3JXBJN3xyA6MvJv7at23HffFHwA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0", + "@babel/helper-plugin-utils": "^7.18.6", + "@babel/helper-skip-transparent-expression-wrappers": "^7.18.6", "@babel/plugin-syntax-optional-chaining": "^7.8.3" } }, "@babel/plugin-proposal-private-methods": { - "version": "7.16.11", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.16.11.tgz", - "integrity": "sha512-F/2uAkPlXDr8+BHpZvo19w3hLFKge+k75XUprE6jaqKxjGkSYcK+4c+bup5PdW/7W/Rpjwql7FTVEDW+fRAQsw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz", + "integrity": "sha512-nutsvktDItsNn4rpGItSNV2sz1XwS+nfU0Rg8aCx3W3NOKVzdMjJRu0O5OkgDp3ZGICSTbgRpxZoWsxoKRvbeA==", "dev": true, "requires": { - "@babel/helper-create-class-features-plugin": "^7.16.10", - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-create-class-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-proposal-private-property-in-object": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.16.7.tgz", - "integrity": "sha512-rMQkjcOFbm+ufe3bTZLyOfsOUOxyvLXZJCTARhJr+8UMSoZmqTe1K1BgkFcrW37rAchWg57yI69ORxiWvUINuQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.18.6.tgz", + "integrity": "sha512-9Rysx7FOctvT5ouj5JODjAFAkgGoudQuLPamZb0v1TGLpapdNaftzifU8NTWQm0IRjqoYypdrSmyWgkocDQ8Dw==", "dev": true, "requires": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "@babel/helper-create-class-features-plugin": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-annotate-as-pure": "^7.18.6", + "@babel/helper-create-class-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6", "@babel/plugin-syntax-private-property-in-object": "^7.14.5" } }, "@babel/plugin-proposal-unicode-property-regex": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.16.7.tgz", - "integrity": "sha512-QRK0YI/40VLhNVGIjRNAAQkEHws0cswSdFFjpFyt943YmJIU1da9uW63Iu6NFV6CxTZW5eTDCrwZUstBWgp/Rg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz", + "integrity": "sha512-2BShG/d5yoZyXZfVePH91urL5wTG6ASZU9M4o03lKK8u8UW1y08OMttBSOADTcJrnPMpvDXRG3G8fyLh4ovs8w==", "dev": true, "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-create-regexp-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-syntax-async-generators": { @@ -618,6 +621,15 @@ "@babel/helper-plugin-utils": "^7.8.3" } }, + "@babel/plugin-syntax-import-assertions": { + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.18.6.tgz", + "integrity": "sha512-/DU3RXad9+bZwrgWJQKbr39gYbJpLJHezqEzRzi/BHRlJ9zsQb4CK2CA/5apllXNomwA1qHwzvHl+AdEmC5krQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.18.6" + } + }, "@babel/plugin-syntax-import-meta": { "version": "7.10.4", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", @@ -709,368 +721,363 @@ } }, "@babel/plugin-syntax-typescript": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.16.7.tgz", - "integrity": "sha512-YhUIJHHGkqPgEcMYkPCKTyGUdoGKWtopIycQyjJH8OjvRgOYsXsaKehLVPScKJWAULPxMa4N1vCe6szREFlZ7A==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.18.6.tgz", + "integrity": "sha512-mAWAuq4rvOepWCBid55JuRNvpTNf2UGVgoz4JV0fXEKolsVZDzsa4NqCef758WZJj/GDu0gVGItjKFiClTAmZA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-arrow-functions": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.16.7.tgz", - "integrity": "sha512-9ffkFFMbvzTvv+7dTp/66xvZAWASuPD5Tl9LK3Z9vhOmANo6j94rik+5YMBt4CwHVMWLWpMsriIc2zsa3WW3xQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.18.6.tgz", + "integrity": "sha512-9S9X9RUefzrsHZmKMbDXxweEH+YlE8JJEuat9FdvW9Qh1cw7W64jELCtWNkPBPX5En45uy28KGvA/AySqUh8CQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-async-to-generator": { - "version": "7.16.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.16.8.tgz", - "integrity": "sha512-MtmUmTJQHCnyJVrScNzNlofQJ3dLFuobYn3mwOTKHnSCMtbNsqvF71GQmJfFjdrXSsAA7iysFmYWw4bXZ20hOg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.18.6.tgz", + "integrity": "sha512-ARE5wZLKnTgPW7/1ftQmSi1CmkqqHo2DNmtztFhvgtOWSDfq0Cq9/9L+KnZNYSNrydBekhW3rwShduf59RoXag==", "dev": true, "requires": { - "@babel/helper-module-imports": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/helper-remap-async-to-generator": "^7.16.8" + "@babel/helper-module-imports": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6", + "@babel/helper-remap-async-to-generator": "^7.18.6" } }, "@babel/plugin-transform-block-scoped-functions": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.16.7.tgz", - "integrity": "sha512-JUuzlzmF40Z9cXyytcbZEZKckgrQzChbQJw/5PuEHYeqzCsvebDx0K0jWnIIVcmmDOAVctCgnYs0pMcrYj2zJg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.18.6.tgz", + "integrity": "sha512-ExUcOqpPWnliRcPqves5HJcJOvHvIIWfuS4sroBUenPuMdmW+SMHDakmtS7qOo13sVppmUijqeTv7qqGsvURpQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-block-scoping": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.16.7.tgz", - "integrity": "sha512-ObZev2nxVAYA4bhyusELdo9hb3H+A56bxH3FZMbEImZFiEDYVHXQSJ1hQKFlDnlt8G9bBrCZ5ZpURZUrV4G5qQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.18.6.tgz", + "integrity": "sha512-pRqwb91C42vs1ahSAWJkxOxU1RHWDn16XAa6ggQ72wjLlWyYeAcLvTtE0aM8ph3KNydy9CQF2nLYcjq1WysgxQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-classes": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.16.7.tgz", - "integrity": "sha512-WY7og38SFAGYRe64BrjKf8OrE6ulEHtr5jEYaZMwox9KebgqPi67Zqz8K53EKk1fFEJgm96r32rkKZ3qA2nCWQ==", - "dev": true, - "requires": { - "@babel/helper-annotate-as-pure": "^7.16.7", - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-function-name": "^7.16.7", - "@babel/helper-optimise-call-expression": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/helper-replace-supers": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.18.6.tgz", + "integrity": "sha512-XTg8XW/mKpzAF3actL554Jl/dOYoJtv3l8fxaEczpgz84IeeVf+T1u2CSvPHuZbt0w3JkIx4rdn/MRQI7mo0HQ==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.18.6", + "@babel/helper-environment-visitor": "^7.18.6", + "@babel/helper-function-name": "^7.18.6", + "@babel/helper-optimise-call-expression": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6", + "@babel/helper-replace-supers": "^7.18.6", + "@babel/helper-split-export-declaration": "^7.18.6", "globals": "^11.1.0" - }, - "dependencies": { - "globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true - } } }, "@babel/plugin-transform-computed-properties": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.16.7.tgz", - "integrity": "sha512-gN72G9bcmenVILj//sv1zLNaPyYcOzUho2lIJBMh/iakJ9ygCo/hEF9cpGb61SCMEDxbbyBoVQxrt+bWKu5KGw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.18.6.tgz", + "integrity": "sha512-9repI4BhNrR0KenoR9vm3/cIc1tSBIo+u1WVjKCAynahj25O8zfbiE6JtAtHPGQSs4yZ+bA8mRasRP+qc+2R5A==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-destructuring": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.16.7.tgz", - "integrity": "sha512-VqAwhTHBnu5xBVDCvrvqJbtLUa++qZaWC0Fgr2mqokBlulZARGyIvZDoqbPlPaKImQ9dKAcCzbv+ul//uqu70A==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.18.6.tgz", + "integrity": "sha512-tgy3u6lRp17ilY8r1kP4i2+HDUwxlVqq3RTc943eAWSzGgpU1qhiKpqZ5CMyHReIYPHdo3Kg8v8edKtDqSVEyQ==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-dotall-regex": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.16.7.tgz", - "integrity": "sha512-Lyttaao2SjZF6Pf4vk1dVKv8YypMpomAbygW+mU5cYP3S5cWTfCJjG8xV6CFdzGFlfWK81IjL9viiTvpb6G7gQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.18.6.tgz", + "integrity": "sha512-6S3jpun1eEbAxq7TdjLotAsl4WpQI9DxfkycRcKrjhQYzU87qpXdknpBg/e+TdcMehqGnLFi7tnFUBR02Vq6wg==", "dev": true, "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-create-regexp-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-duplicate-keys": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.16.7.tgz", - "integrity": "sha512-03DvpbRfvWIXyK0/6QiR1KMTWeT6OcQ7tbhjrXyFS02kjuX/mu5Bvnh5SDSWHxyawit2g5aWhKwI86EE7GUnTw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.18.6.tgz", + "integrity": "sha512-NJU26U/208+sxYszf82nmGYqVF9QN8py2HFTblPT9hbawi8+1C5a9JubODLTGFuT0qlkqVinmkwOD13s0sZktg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-exponentiation-operator": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.16.7.tgz", - "integrity": "sha512-8UYLSlyLgRixQvlYH3J2ekXFHDFLQutdy7FfFAMm3CPZ6q9wHCwnUyiXpQCe3gVVnQlHc5nsuiEVziteRNTXEA==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.18.6.tgz", + "integrity": "sha512-wzEtc0+2c88FVR34aQmiz56dxEkxr2g8DQb/KfaFa1JYXOFVsbhvAonFN6PwVWj++fKmku8NP80plJ5Et4wqHw==", "dev": true, "requires": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-for-of": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.16.7.tgz", - "integrity": "sha512-/QZm9W92Ptpw7sjI9Nx1mbcsWz33+l8kuMIQnDwgQBG5s3fAfQvkRjQ7NqXhtNcKOnPkdICmUHyCaWW06HCsqg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.18.6.tgz", + "integrity": "sha512-WAjoMf4wIiSsy88KmG7tgj2nFdEK7E46tArVtcgED7Bkj6Fg/tG5SbvNIOKxbFS2VFgNh6+iaPswBeQZm4ox8w==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-function-name": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.16.7.tgz", - "integrity": "sha512-SU/C68YVwTRxqWj5kgsbKINakGag0KTgq9f2iZEXdStoAbOzLHEBRYzImmA6yFo8YZhJVflvXmIHUO7GWHmxxA==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.18.6.tgz", + "integrity": "sha512-kJha/Gbs5RjzIu0CxZwf5e3aTTSlhZnHMT8zPWnJMjNpLOUgqevg+PN5oMH68nMCXnfiMo4Bhgxqj59KHTlAnA==", "dev": true, "requires": { - "@babel/helper-compilation-targets": "^7.16.7", - "@babel/helper-function-name": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-compilation-targets": "^7.18.6", + "@babel/helper-function-name": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-literals": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.16.7.tgz", - "integrity": "sha512-6tH8RTpTWI0s2sV6uq3e/C9wPo4PTqqZps4uF0kzQ9/xPLFQtipynvmT1g/dOfEJ+0EQsHhkQ/zyRId8J2b8zQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.18.6.tgz", + "integrity": "sha512-x3HEw0cJZVDoENXOp20HlypIHfl0zMIhMVZEBVTfmqbObIpsMxMbmU5nOEO8R7LYT+z5RORKPlTI5Hj4OsO9/Q==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-member-expression-literals": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.16.7.tgz", - "integrity": "sha512-mBruRMbktKQwbxaJof32LT9KLy2f3gH+27a5XSuXo6h7R3vqltl0PgZ80C8ZMKw98Bf8bqt6BEVi3svOh2PzMw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.18.6.tgz", + "integrity": "sha512-qSF1ihLGO3q+/g48k85tUjD033C29TNTVB2paCwZPVmOsjn9pClvYYrM2VeJpBY2bcNkuny0YUyTNRyRxJ54KA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-modules-amd": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.16.7.tgz", - "integrity": "sha512-KaaEtgBL7FKYwjJ/teH63oAmE3lP34N3kshz8mm4VMAw7U3PxjVwwUmxEFksbgsNUaO3wId9R2AVQYSEGRa2+g==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.18.6.tgz", + "integrity": "sha512-Pra5aXsmTsOnjM3IajS8rTaLCy++nGM4v3YR4esk5PCsyg9z8NA5oQLwxzMUtDBd8F+UmVza3VxoAaWCbzH1rg==", "dev": true, "requires": { - "@babel/helper-module-transforms": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7", + "@babel/helper-module-transforms": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6", "babel-plugin-dynamic-import-node": "^2.3.3" } }, "@babel/plugin-transform-modules-commonjs": { - "version": "7.16.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.16.8.tgz", - "integrity": "sha512-oflKPvsLT2+uKQopesJt3ApiaIS2HW+hzHFcwRNtyDGieAeC/dIHZX8buJQ2J2X1rxGPy4eRcUijm3qcSPjYcA==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.18.6.tgz", + "integrity": "sha512-Qfv2ZOWikpvmedXQJDSbxNqy7Xr/j2Y8/KfijM0iJyKkBTmWuvCA1yeH1yDM7NJhBW/2aXxeucLj6i80/LAJ/Q==", "dev": true, "requires": { - "@babel/helper-module-transforms": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/helper-simple-access": "^7.16.7", + "@babel/helper-module-transforms": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6", + "@babel/helper-simple-access": "^7.18.6", "babel-plugin-dynamic-import-node": "^2.3.3" } }, "@babel/plugin-transform-modules-systemjs": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.16.7.tgz", - "integrity": "sha512-DuK5E3k+QQmnOqBR9UkusByy5WZWGRxfzV529s9nPra1GE7olmxfqO2FHobEOYSPIjPBTr4p66YDcjQnt8cBmw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.18.6.tgz", + "integrity": "sha512-UbPYpXxLjTw6w6yXX2BYNxF3p6QY225wcTkfQCy3OMnSlS/C3xGtwUjEzGkldb/sy6PWLiCQ3NbYfjWUTI3t4g==", "dev": true, "requires": { - "@babel/helper-hoist-variables": "^7.16.7", - "@babel/helper-module-transforms": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/helper-validator-identifier": "^7.16.7", + "@babel/helper-hoist-variables": "^7.18.6", + "@babel/helper-module-transforms": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6", + "@babel/helper-validator-identifier": "^7.18.6", "babel-plugin-dynamic-import-node": "^2.3.3" } }, "@babel/plugin-transform-modules-umd": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.16.7.tgz", - "integrity": "sha512-EMh7uolsC8O4xhudF2F6wedbSHm1HHZ0C6aJ7K67zcDNidMzVcxWdGr+htW9n21klm+bOn+Rx4CBsAntZd3rEQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.6.tgz", + "integrity": "sha512-dcegErExVeXcRqNtkRU/z8WlBLnvD4MRnHgNs3MytRO1Mn1sHRyhbcpYbVMGclAqOjdW+9cfkdZno9dFdfKLfQ==", "dev": true, "requires": { - "@babel/helper-module-transforms": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-module-transforms": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.16.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.16.8.tgz", - "integrity": "sha512-j3Jw+n5PvpmhRR+mrgIh04puSANCk/T/UA3m3P1MjJkhlK906+ApHhDIqBQDdOgL/r1UYpz4GNclTXxyZrYGSw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.18.6.tgz", + "integrity": "sha512-UmEOGF8XgaIqD74bC8g7iV3RYj8lMf0Bw7NJzvnS9qQhM4mg+1WHKotUIdjxgD2RGrgFLZZPCFPFj3P/kVDYhg==", "dev": true, "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.16.7" + "@babel/helper-create-regexp-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-new-target": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.16.7.tgz", - "integrity": "sha512-xiLDzWNMfKoGOpc6t3U+etCE2yRnn3SM09BXqWPIZOBpL2gvVrBWUKnsJx0K/ADi5F5YC5f8APFfWrz25TdlGg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.18.6.tgz", + "integrity": "sha512-DjwFA/9Iu3Z+vrAn+8pBUGcjhxKguSMlsFqeCKbhb9BAV756v0krzVK04CRDi/4aqmk8BsHb4a/gFcaA5joXRw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-object-super": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.16.7.tgz", - "integrity": "sha512-14J1feiQVWaGvRxj2WjyMuXS2jsBkgB3MdSN5HuC2G5nRspa5RK9COcs82Pwy5BuGcjb+fYaUj94mYcOj7rCvw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.18.6.tgz", + "integrity": "sha512-uvGz6zk+pZoS1aTZrOvrbj6Pp/kK2mp45t2B+bTDre2UgsZZ8EZLSJtUg7m/no0zOJUWgFONpB7Zv9W2tSaFlA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/helper-replace-supers": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6", + "@babel/helper-replace-supers": "^7.18.6" } }, "@babel/plugin-transform-parameters": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.7.tgz", - "integrity": "sha512-AT3MufQ7zZEhU2hwOA11axBnExW0Lszu4RL/tAlUJBuNoRak+wehQW8h6KcXOcgjY42fHtDxswuMhMjFEuv/aw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.18.6.tgz", + "integrity": "sha512-FjdqgMv37yVl/gwvzkcB+wfjRI8HQmc5EgOG9iGNvUY1ok+TjsoaMP7IqCDZBhkFcM5f3OPVMs6Dmp03C5k4/A==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-property-literals": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.16.7.tgz", - "integrity": "sha512-z4FGr9NMGdoIl1RqavCqGG+ZuYjfZ/hkCIeuH6Do7tXmSm0ls11nYVSJqFEUOSJbDab5wC6lRE/w6YjVcr6Hqw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.18.6.tgz", + "integrity": "sha512-cYcs6qlgafTud3PAzrrRNbQtfpQ8+y/+M5tKmksS9+M1ckbH6kzY8MrexEM9mcA6JDsukE19iIRvAyYl463sMg==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-regenerator": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.16.7.tgz", - "integrity": "sha512-mF7jOgGYCkSJagJ6XCujSQg+6xC1M77/03K2oBmVJWoFGNUtnVJO4WHKJk3dnPC8HCcj4xBQP1Egm8DWh3Pb3Q==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.18.6.tgz", + "integrity": "sha512-poqRI2+qiSdeldcz4wTSTXBRryoq3Gc70ye7m7UD5Ww0nE29IXqMl6r7Nd15WBgRd74vloEMlShtH6CKxVzfmQ==", "dev": true, "requires": { - "regenerator-transform": "^0.14.2" + "@babel/helper-plugin-utils": "^7.18.6", + "regenerator-transform": "^0.15.0" } }, "@babel/plugin-transform-reserved-words": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.16.7.tgz", - "integrity": "sha512-KQzzDnZ9hWQBjwi5lpY5v9shmm6IVG0U9pB18zvMu2i4H90xpT4gmqwPYsn8rObiadYe2M0gmgsiOIF5A/2rtg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.18.6.tgz", + "integrity": "sha512-oX/4MyMoypzHjFrT1CdivfKZ+XvIPMFXwwxHp/r0Ddy2Vuomt4HDFGmft1TAY2yiTKiNSsh3kjBAzcM8kSdsjA==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-shorthand-properties": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.16.7.tgz", - "integrity": "sha512-hah2+FEnoRoATdIb05IOXf+4GzXYTq75TVhIn1PewihbpyrNWUt2JbudKQOETWw6QpLe+AIUpJ5MVLYTQbeeUg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.18.6.tgz", + "integrity": "sha512-eCLXXJqv8okzg86ywZJbRn19YJHU4XUa55oz2wbHhaQVn/MM+XhukiT7SYqp/7o00dg52Rj51Ny+Ecw4oyoygw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-spread": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.16.7.tgz", - "integrity": "sha512-+pjJpgAngb53L0iaA5gU/1MLXJIfXcYepLgXB3esVRf4fqmj8f2cxM3/FKaHsZms08hFQJkFccEWuIpm429TXg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.18.6.tgz", + "integrity": "sha512-ayT53rT/ENF8WWexIRg9AiV9h0aIteyWn5ptfZTZQrjk/+f3WdrJGCY4c9wcgl2+MKkKPhzbYp97FTsquZpDCw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/helper-skip-transparent-expression-wrappers": "^7.16.0" + "@babel/helper-plugin-utils": "^7.18.6", + "@babel/helper-skip-transparent-expression-wrappers": "^7.18.6" } }, "@babel/plugin-transform-sticky-regex": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.16.7.tgz", - "integrity": "sha512-NJa0Bd/87QV5NZZzTuZG5BPJjLYadeSZ9fO6oOUoL4iQx+9EEuw/eEM92SrsT19Yc2jgB1u1hsjqDtH02c3Drw==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.18.6.tgz", + "integrity": "sha512-kfiDrDQ+PBsQDO85yj1icueWMfGfJFKN1KCkndygtu/C9+XUfydLC8Iv5UYJqRwy4zk8EcplRxEOeLyjq1gm6Q==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-template-literals": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.16.7.tgz", - "integrity": "sha512-VwbkDDUeenlIjmfNeDX/V0aWrQH2QiVyJtwymVQSzItFDTpxfyJh3EVaQiS0rIN/CqbLGr0VcGmuwyTdZtdIsA==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.18.6.tgz", + "integrity": "sha512-UuqlRrQmT2SWRvahW46cGSany0uTlcj8NYOS5sRGYi8FxPYPoLd5DDmMd32ZXEj2Jq+06uGVQKHxa/hJx2EzKw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-typeof-symbol": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.16.7.tgz", - "integrity": "sha512-p2rOixCKRJzpg9JB4gjnG4gjWkWa89ZoYUnl9snJ1cWIcTH/hvxZqfO+WjG6T8DRBpctEol5jw1O5rA8gkCokQ==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.18.6.tgz", + "integrity": "sha512-7m71iS/QhsPk85xSjFPovHPcH3H9qeyzsujhTc+vcdnsXavoWYJ74zx0lP5RhpC5+iDnVLO+PPMHzC11qels1g==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-unicode-escapes": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.16.7.tgz", - "integrity": "sha512-TAV5IGahIz3yZ9/Hfv35TV2xEm+kaBDaZQCn2S/hG9/CZ0DktxJv9eKfPc7yYCvOYR4JGx1h8C+jcSOvgaaI/Q==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.18.6.tgz", + "integrity": "sha512-XNRwQUXYMP7VLuy54cr/KS/WeL3AZeORhrmeZ7iewgu+X2eBqmpaLI/hzqr9ZxCeUoq0ASK4GUzSM0BDhZkLFw==", "dev": true, "requires": { - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/plugin-transform-unicode-regex": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.16.7.tgz", - "integrity": "sha512-oC5tYYKw56HO75KZVLQ+R/Nl3Hro9kf8iG0hXoaHP7tjAyCpvqBiSNe6vGrZni1Z6MggmUOC6A7VP7AVmw225Q==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.18.6.tgz", + "integrity": "sha512-gE7A6Lt7YLnNOL3Pb9BNeZvi+d8l7tcRrG4+pwJjK9hD2xX4mEvjlQW60G9EEmfXVYRPv9VRQcyegIVHCql/AA==", "dev": true, "requires": { - "@babel/helper-create-regexp-features-plugin": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7" + "@babel/helper-create-regexp-features-plugin": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6" } }, "@babel/preset-env": { - "version": "7.16.11", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.16.11.tgz", - "integrity": "sha512-qcmWG8R7ZW6WBRPZK//y+E3Cli151B20W1Rv7ln27vuPaXU/8TKms6jFdiJtF7UDTxcrb7mZd88tAeK9LjdT8g==", - "dev": true, - "requires": { - "@babel/compat-data": "^7.16.8", - "@babel/helper-compilation-targets": "^7.16.7", - "@babel/helper-plugin-utils": "^7.16.7", - "@babel/helper-validator-option": "^7.16.7", - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.16.7", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.16.7", - "@babel/plugin-proposal-async-generator-functions": "^7.16.8", - "@babel/plugin-proposal-class-properties": "^7.16.7", - "@babel/plugin-proposal-class-static-block": "^7.16.7", - "@babel/plugin-proposal-dynamic-import": "^7.16.7", - "@babel/plugin-proposal-export-namespace-from": "^7.16.7", - "@babel/plugin-proposal-json-strings": "^7.16.7", - "@babel/plugin-proposal-logical-assignment-operators": "^7.16.7", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7", - "@babel/plugin-proposal-numeric-separator": "^7.16.7", - "@babel/plugin-proposal-object-rest-spread": "^7.16.7", - "@babel/plugin-proposal-optional-catch-binding": "^7.16.7", - "@babel/plugin-proposal-optional-chaining": "^7.16.7", - "@babel/plugin-proposal-private-methods": "^7.16.11", - "@babel/plugin-proposal-private-property-in-object": "^7.16.7", - "@babel/plugin-proposal-unicode-property-regex": "^7.16.7", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.18.6.tgz", + "integrity": "sha512-WrthhuIIYKrEFAwttYzgRNQ5hULGmwTj+D6l7Zdfsv5M7IWV/OZbUfbeL++Qrzx1nVJwWROIFhCHRYQV4xbPNw==", + "dev": true, + "requires": { + "@babel/compat-data": "^7.18.6", + "@babel/helper-compilation-targets": "^7.18.6", + "@babel/helper-plugin-utils": "^7.18.6", + "@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.6", + "@babel/plugin-proposal-async-generator-functions": "^7.18.6", + "@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.6", + "@babel/plugin-proposal-json-strings": "^7.18.6", + "@babel/plugin-proposal-logical-assignment-operators": "^7.18.6", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6", + "@babel/plugin-proposal-numeric-separator": "^7.18.6", + "@babel/plugin-proposal-object-rest-spread": "^7.18.6", + "@babel/plugin-proposal-optional-catch-binding": "^7.18.6", + "@babel/plugin-proposal-optional-chaining": "^7.18.6", + "@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.18.6", "@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", @@ -1080,44 +1087,44 @@ "@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.16.7", - "@babel/plugin-transform-async-to-generator": "^7.16.8", - "@babel/plugin-transform-block-scoped-functions": "^7.16.7", - "@babel/plugin-transform-block-scoping": "^7.16.7", - "@babel/plugin-transform-classes": "^7.16.7", - "@babel/plugin-transform-computed-properties": "^7.16.7", - "@babel/plugin-transform-destructuring": "^7.16.7", - "@babel/plugin-transform-dotall-regex": "^7.16.7", - "@babel/plugin-transform-duplicate-keys": "^7.16.7", - "@babel/plugin-transform-exponentiation-operator": "^7.16.7", - "@babel/plugin-transform-for-of": "^7.16.7", - "@babel/plugin-transform-function-name": "^7.16.7", - "@babel/plugin-transform-literals": "^7.16.7", - "@babel/plugin-transform-member-expression-literals": "^7.16.7", - "@babel/plugin-transform-modules-amd": "^7.16.7", - "@babel/plugin-transform-modules-commonjs": "^7.16.8", - "@babel/plugin-transform-modules-systemjs": "^7.16.7", - "@babel/plugin-transform-modules-umd": "^7.16.7", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.16.8", - "@babel/plugin-transform-new-target": "^7.16.7", - "@babel/plugin-transform-object-super": "^7.16.7", - "@babel/plugin-transform-parameters": "^7.16.7", - "@babel/plugin-transform-property-literals": "^7.16.7", - "@babel/plugin-transform-regenerator": "^7.16.7", - "@babel/plugin-transform-reserved-words": "^7.16.7", - "@babel/plugin-transform-shorthand-properties": "^7.16.7", - "@babel/plugin-transform-spread": "^7.16.7", - "@babel/plugin-transform-sticky-regex": "^7.16.7", - "@babel/plugin-transform-template-literals": "^7.16.7", - "@babel/plugin-transform-typeof-symbol": "^7.16.7", - "@babel/plugin-transform-unicode-escapes": "^7.16.7", - "@babel/plugin-transform-unicode-regex": "^7.16.7", + "@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.18.6", + "@babel/plugin-transform-classes": "^7.18.6", + "@babel/plugin-transform-computed-properties": "^7.18.6", + "@babel/plugin-transform-destructuring": "^7.18.6", + "@babel/plugin-transform-dotall-regex": "^7.18.6", + "@babel/plugin-transform-duplicate-keys": "^7.18.6", + "@babel/plugin-transform-exponentiation-operator": "^7.18.6", + "@babel/plugin-transform-for-of": "^7.18.6", + "@babel/plugin-transform-function-name": "^7.18.6", + "@babel/plugin-transform-literals": "^7.18.6", + "@babel/plugin-transform-member-expression-literals": "^7.18.6", + "@babel/plugin-transform-modules-amd": "^7.18.6", + "@babel/plugin-transform-modules-commonjs": "^7.18.6", + "@babel/plugin-transform-modules-systemjs": "^7.18.6", + "@babel/plugin-transform-modules-umd": "^7.18.6", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.18.6", + "@babel/plugin-transform-new-target": "^7.18.6", + "@babel/plugin-transform-object-super": "^7.18.6", + "@babel/plugin-transform-parameters": "^7.18.6", + "@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.18.6", + "@babel/plugin-transform-sticky-regex": "^7.18.6", + "@babel/plugin-transform-template-literals": "^7.18.6", + "@babel/plugin-transform-typeof-symbol": "^7.18.6", + "@babel/plugin-transform-unicode-escapes": "^7.18.6", + "@babel/plugin-transform-unicode-regex": "^7.18.6", "@babel/preset-modules": "^0.1.5", - "@babel/types": "^7.16.8", - "babel-plugin-polyfill-corejs2": "^0.3.0", - "babel-plugin-polyfill-corejs3": "^0.5.0", - "babel-plugin-polyfill-regenerator": "^0.3.0", - "core-js-compat": "^3.20.2", + "@babel/types": "^7.18.6", + "babel-plugin-polyfill-corejs2": "^0.3.1", + "babel-plugin-polyfill-corejs3": "^0.5.2", + "babel-plugin-polyfill-regenerator": "^0.3.1", + "core-js-compat": "^3.22.1", "semver": "^6.3.0" }, "dependencies": { @@ -1143,58 +1150,50 @@ } }, "@babel/runtime": { - "version": "7.8.7", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.8.7.tgz", - "integrity": "sha512-+AATMUFppJDw6aiR5NVPHqIQBlV/Pj8wY/EZH+lmvRdUo9xBaz/rF3alAwFJQavvKfeOlPE7oaaDHVbcySbCsg==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.6.tgz", + "integrity": "sha512-t9wi7/AW6XtKahAe20Yw0/mMljKq0B1r2fPdvaAdV/KPDZewFXdaaa6K7lxmZBZ8FBNpCiAT6iHPmd6QO9bKfQ==", "dev": true, "requires": { "regenerator-runtime": "^0.13.4" } }, "@babel/template": { - "version": "7.16.7", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.7.tgz", - "integrity": "sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w==", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.18.6.tgz", + "integrity": "sha512-JoDWzPe+wgBsTTgdnIma3iHNFC7YVJoPssVBDjiHfNlyt4YcunDtcDOUmfVDfCK5MfdsaIoX9PkijPhjH3nYUw==", "dev": true, "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/parser": "^7.16.7", - "@babel/types": "^7.16.7" + "@babel/code-frame": "^7.18.6", + "@babel/parser": "^7.18.6", + "@babel/types": "^7.18.6" } }, "@babel/traverse": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.17.0.tgz", - "integrity": "sha512-fpFIXvqD6kC7c7PUNnZ0Z8cQXlarCLtCUpt2S1Dx7PjoRtCFffvOkHHSom+m5HIxMZn5bIBVb71lhabcmjEsqg==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.16.7", - "@babel/generator": "^7.17.0", - "@babel/helper-environment-visitor": "^7.16.7", - "@babel/helper-function-name": "^7.16.7", - "@babel/helper-hoist-variables": "^7.16.7", - "@babel/helper-split-export-declaration": "^7.16.7", - "@babel/parser": "^7.17.0", - "@babel/types": "^7.17.0", + "version": "7.18.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.18.6.tgz", + "integrity": "sha512-zS/OKyqmD7lslOtFqbscH6gMLFYOfG1YPqCKfAW5KrTeolKqvB8UelR49Fpr6y93kYkW2Ik00mT1LOGiAGvizw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.18.6", + "@babel/generator": "^7.18.6", + "@babel/helper-environment-visitor": "^7.18.6", + "@babel/helper-function-name": "^7.18.6", + "@babel/helper-hoist-variables": "^7.18.6", + "@babel/helper-split-export-declaration": "^7.18.6", + "@babel/parser": "^7.18.6", + "@babel/types": "^7.18.6", "debug": "^4.1.0", "globals": "^11.1.0" - }, - "dependencies": { - "globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true - } } }, "@babel/types": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.17.0.tgz", - "integrity": "sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw==", + "version": "7.18.7", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.18.7.tgz", + "integrity": "sha512-QG3yxTcTIBoAcQmkCs+wAPYZhu7Dk9rXKacINfNbdJDNERTbLQbHGyVG8q/YGMPeCJRIhSY0+fTc5+xuh6WPSQ==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.16.7", + "@babel/helper-validator-identifier": "^7.18.6", "to-fast-properties": "^2.0.0" } }, @@ -1226,16 +1225,6 @@ "sprintf-js": "~1.0.2" } }, - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, "js-yaml": { "version": "3.14.1", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", @@ -1245,51 +1234,6 @@ "argparse": "^1.0.7", "esprima": "^4.0.0" } - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - }, - "p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true - }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true - }, - "resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true } } }, @@ -1440,15 +1384,6 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, - "rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -1570,12 +1505,6 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -1596,14 +1525,6 @@ "callsites": "^3.0.0", "graceful-fs": "^4.2.9", "source-map": "^0.6.0" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } } }, "@jest/test-result": { @@ -1693,12 +1614,6 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -1774,54 +1689,44 @@ } } }, + "@jridgewell/gen-mapping": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", + "integrity": "sha512-sQXCasFk+U8lWYEe66WxRDOE9PjVz4vSM51fTu3Hw+ClTpUSQb718772vH3pyS5pShp6lvQM7SxgIDXXXmOX7w==", + "dev": true, + "requires": { + "@jridgewell/set-array": "^1.0.0", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, "@jridgewell/resolve-uri": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.4.tgz", - "integrity": "sha512-cz8HFjOFfUBtvN+NXYSFMHYRdxZMaEl0XypVrhzxBgadKIXhIkRd8aMeHhmF56Sl7SuS8OnUpQ73/k9LE4VnLg==", + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.0.8.tgz", + "integrity": "sha512-YK5G9LaddzGbcucK4c8h5tWFmMPBvRZ/uyWmN1/SbBdIvqGUdWGkJ5BAaccgs6XbzVLsqbPJrBSFwKv3kT9i7w==", + "dev": true + }, + "@jridgewell/set-array": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.1.2.tgz", + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", "dev": true }, "@jridgewell/sourcemap-codec": { - "version": "1.4.10", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.10.tgz", - "integrity": "sha512-Ht8wIW5v165atIX1p+JvKR5ONzUyF4Ac8DZIQ5kZs9zrb6M8SJNXpx1zn04rn65VjBMygRoMXcyYwNK0fT7bEg==", + "version": "1.4.14", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", + "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==", "dev": true }, "@jridgewell/trace-mapping": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.4.tgz", - "integrity": "sha512-vFv9ttIedivx0ux3QSjhgtCVjPZd5l46ZOMDSCwnH1yUO2e964gO8LZGyv2QkqcgR6TnBU1v+1IFqmeoG+0UJQ==", + "version": "0.3.14", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.14.tgz", + "integrity": "sha512-bJWEfQ9lPTvm3SneWwRFVLzrh6nhjwqw7TUFFBEMzwvg7t7PCDenf2lDwqo4NQXzdpgBXyFgDWnQA+2vkruksQ==", "dev": true, "requires": { "@jridgewell/resolve-uri": "^3.0.3", "@jridgewell/sourcemap-codec": "^1.4.10" } }, - "@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "dev": true, - "requires": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - } - }, - "@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "dev": true - }, - "@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "dev": true, - "requires": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - } - }, "@sinonjs/commons": { "version": "1.8.3", "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.8.3.tgz", @@ -1847,9 +1752,9 @@ "dev": true }, "@types/babel__core": { - "version": "7.1.18", - "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.18.tgz", - "integrity": "sha512-S7unDjm/C7z2A2R9NzfKCK1I+BAALDtxEmsJBwlB3EzNfb929ykjL++1CK9LO++EIp2fQrC8O+BwjKvz6UeDyQ==", + "version": "7.1.19", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.19.tgz", + "integrity": "sha512-WEOTgRsbYkvA/KCsDwVEGkd7WAr1e3g31VHQ8zy5gul/V1qKullU/BU5I68X5v7V3GnB9eotmom4v5a5gjxorw==", "dev": true, "requires": { "@babel/parser": "^7.1.0", @@ -1879,9 +1784,9 @@ } }, "@types/babel__traverse": { - "version": "7.14.2", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.14.2.tgz", - "integrity": "sha512-K2waXdXBi2302XUdcHcR1jCeU0LL4TD9HRs/gk0N2Xvrht+G/BfJa4QObBQZfhMdxiCpV3COl5Nfq4uKTeTnJA==", + "version": "7.17.1", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.17.1.tgz", + "integrity": "sha512-kVzjari1s2YVi77D3w1yuvohV2idweYXMCDzqBiVNN63TcDWrIlTVOYpqVrvbbyOE/IyzBoTKF0fdnLPEORFxA==", "dev": true, "requires": { "@babel/types": "^7.3.0" @@ -1921,12 +1826,12 @@ } }, "@types/jest": { - "version": "27.4.0", - "resolved": "https://registry.npmjs.org/@types/jest/-/jest-27.4.0.tgz", - "integrity": "sha512-gHl8XuC1RZ8H2j5sHv/JqsaxXkDDM9iDOgu0Wp8sjs4u/snb2PVehyWXJPr+ORA0RPpgw231mnutWI1+0hgjIQ==", + "version": "27.5.2", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-27.5.2.tgz", + "integrity": "sha512-mpT8LJJ4CMeeahobofYWIjFo0xonRS/HfxnVEPMPFSQdGUt1uHCnoPT7Zhb+sjDU2wz0oKV0OLUR0WzrHNgfeA==", "dev": true, "requires": { - "jest-diff": "^27.0.0", + "jest-matcher-utils": "^27.0.0", "pretty-format": "^27.0.0" } }, @@ -1937,21 +1842,21 @@ "dev": true }, "@types/node": { - "version": "17.0.17", - "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.17.tgz", - "integrity": "sha512-e8PUNQy1HgJGV3iU/Bp2+D/DXh3PYeyli8LgIwsQcs1Ar1LoaWHSIT6Rw+H2rNJmiq6SNWiDytfx8+gYj7wDHw==", + "version": "18.0.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.0.0.tgz", + "integrity": "sha512-cHlGmko4gWLVI27cGJntjs/Sj8th9aYwplmZFwmmgYQQvL5NUsgVJG7OddLvNfLqYS31KFN0s3qlaD9qCaxACA==", "dev": true }, "@types/prettier": { - "version": "2.4.4", - "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.4.4.tgz", - "integrity": "sha512-ReVR2rLTV1kvtlWFyuot+d1pkpG2Fw/XKE3PDAdj57rbM97ttSp9JZ2UsP+2EHTylra9cUf6JA7tGwW1INzUrA==", + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.6.3.tgz", + "integrity": "sha512-ymZk3LEC/fsut+/Q5qejp6R9O1rMxz3XaRHDV6kX8MrGAhOSPqVARbDi+EZvInBpw+BnCX3TD240byVkOfQsHg==", "dev": true }, "@types/semver": { - "version": "7.3.9", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.9.tgz", - "integrity": "sha512-L/TMpyURfBkf+o/526Zb6kd/tchUP3iBDEPjqjb+U2MAJhVRxxrmr2fwpe08E7QsV7YLcpq0tUaQ9O9x97ZIxQ==", + "version": "7.3.10", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.10.tgz", + "integrity": "sha512-zsv3fsC7S84NN6nPK06u79oWgrPVd0NvOyqgghV1haPaFcVxIrP4DLomRwGAXk0ui4HZA7mOcSFL98sMVW9viw==", "dev": true }, "@types/stack-utils": { @@ -1960,16 +1865,10 @@ "integrity": "sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==", "dev": true }, - "@types/uuid": { - "version": "3.4.10", - "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-3.4.10.tgz", - "integrity": "sha512-BgeaZuElf7DEYZhWYDTc/XcLZXdVgFkVSTa13BqKvbnmUrxr3TJFKofUxCtDO9UQOdhnV+HPOESdHiHKZOJV1A==", - "dev": true - }, "@types/validator": { - "version": "13.7.1", - "resolved": "https://registry.npmjs.org/@types/validator/-/validator-13.7.1.tgz", - "integrity": "sha512-I6OUIZ5cYRk5lp14xSOAiXjWrfVoMZVjDuevBYgQDYzZIjsf2CAISpEcXOkFAtpAHbmWIDLcZObejqny/9xq5Q==", + "version": "13.7.3", + "resolved": "https://registry.npmjs.org/@types/validator/-/validator-13.7.3.tgz", + "integrity": "sha512-DNviAE5OUcZ5s+XEQHRhERLg8fOp8gSgvyJ4aaFASx5wwaObm+PBwTIMXiOFm1QrSee5oYwEAYb7LMzX2O88gA==", "dev": true }, "@types/yargs": { @@ -1982,80 +1881,21 @@ } }, "@types/yargs-parser": { - "version": "20.2.1", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-20.2.1.tgz", - "integrity": "sha512-7tFImggNeNBVMsn0vLrpn1H1uPrUBdnARPTpZoitY37ZrdJREzf7I16tMrlK3hen349gr1NYh8CmZQa7CTG6Aw==", - "dev": true - }, - "@typescript-eslint/parser": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.11.0.tgz", - "integrity": "sha512-x0DCjetHZYBRovJdr3U0zG9OOdNXUaFLJ82ehr1AlkArljJuwEsgnud+Q7umlGDFLFrs8tU8ybQDFocp/eX8mQ==", - "dev": true, - "requires": { - "@typescript-eslint/scope-manager": "5.11.0", - "@typescript-eslint/types": "5.11.0", - "@typescript-eslint/typescript-estree": "5.11.0", - "debug": "^4.3.2" - } - }, - "@typescript-eslint/scope-manager": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.11.0.tgz", - "integrity": "sha512-z+K4LlahDFVMww20t/0zcA7gq/NgOawaLuxgqGRVKS0PiZlCTIUtX0EJbC0BK1JtR4CelmkPK67zuCgpdlF4EA==", - "dev": true, - "requires": { - "@typescript-eslint/types": "5.11.0", - "@typescript-eslint/visitor-keys": "5.11.0" - } - }, - "@typescript-eslint/types": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.11.0.tgz", - "integrity": "sha512-cxgBFGSRCoBEhvSVLkKw39+kMzUKHlJGVwwMbPcTZX3qEhuXhrjwaZXWMxVfxDgyMm+b5Q5b29Llo2yow8Y7xQ==", - "dev": true - }, - "@typescript-eslint/typescript-estree": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.11.0.tgz", - "integrity": "sha512-yVH9hKIv3ZN3lw8m/Jy5I4oXO4ZBMqijcXCdA4mY8ull6TPTAoQnKKrcZ0HDXg7Bsl0Unwwx7jcXMuNZc0m4lg==", - "dev": true, - "requires": { - "@typescript-eslint/types": "5.11.0", - "@typescript-eslint/visitor-keys": "5.11.0", - "debug": "^4.3.2", - "globby": "^11.0.4", - "is-glob": "^4.0.3", - "semver": "^7.3.5", - "tsutils": "^3.21.0" - } - }, - "@typescript-eslint/visitor-keys": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.11.0.tgz", - "integrity": "sha512-E8w/vJReMGuloGxJDkpPlGwhxocxOpSVgSvjiLO5IxZPmxZF30weOeJYyPSEACwM+X4NziYS9q+WkN/2DHYQwA==", - "dev": true, - "requires": { - "@typescript-eslint/types": "5.11.0", - "eslint-visitor-keys": "^3.0.0" - } - }, - "@vercel/ncc": { - "version": "0.33.1", - "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.33.1.tgz", - "integrity": "sha512-Mlsps/P0PLZwsCFtSol23FGqT3FhBGb4B1AuGQ52JTAtXhak+b0Fh/4T55r0/SVQPeRiX9pNItOEHwakGPmZYA==", + "version": "21.0.0", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.0.tgz", + "integrity": "sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==", "dev": true }, "abab": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz", - "integrity": "sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q==", + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.6.tgz", + "integrity": "sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==", "dev": true }, "acorn": { - "version": "8.7.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.0.tgz", - "integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==", + "version": "8.7.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", + "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", "dev": true }, "acorn-globals": { @@ -2098,14 +1938,6 @@ "dev": true, "requires": { "type-fest": "^0.21.3" - }, - "dependencies": { - "type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", - "dev": true - } } }, "ansi-regex": { @@ -2138,16 +1970,10 @@ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" }, - "array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true - }, "asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", "dev": true }, "babel-jest": { @@ -2351,16 +2177,15 @@ "dev": true }, "browserslist": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.19.1.tgz", - "integrity": "sha512-u2tbbG5PdKRTUoctO3NBD8FQ5HdPh1ZXPHzp1rwaa5jTc+RV9/+RlWiAIKmjRPQF+xbGM9Kklj5bZQFa2s/38A==", + "version": "4.21.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.1.tgz", + "integrity": "sha512-Nq8MFCSrnJXSc88yliwlzQe3qNe3VntIjhsArW9IJOEPSHNx23FalwApUVbzAWABLhYJJ7y8AynWI/XM8OdfjQ==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30001286", - "electron-to-chromium": "^1.4.17", - "escalade": "^3.1.1", - "node-releases": "^2.0.1", - "picocolors": "^1.0.0" + "caniuse-lite": "^1.0.30001359", + "electron-to-chromium": "^1.4.172", + "node-releases": "^2.0.5", + "update-browserslist-db": "^1.0.4" } }, "bs-logger": { @@ -2410,9 +2235,9 @@ "dev": true }, "caniuse-lite": { - "version": "1.0.30001311", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001311.tgz", - "integrity": "sha512-mleTFtFKfykEeW34EyfhGIFjGCqzhh38Y0LhdQ9aWF+HorZTtdgKV/1hEE0NlFkG2ubvisPV6l400tlbPys98A==", + "version": "1.0.30001361", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001361.tgz", + "integrity": "sha512-ybhCrjNtkFji1/Wto6SSJKkWk6kZgVQsDq5QI83SafsF6FXv2JB4df9eEdH6g8sdGgqTXrFLjAxqBGgYoU3azQ==", "dev": true }, "chalk": { @@ -2433,9 +2258,9 @@ "dev": true }, "ci-info": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.3.0.tgz", - "integrity": "sha512-riT/3vI5YpVH6/qomlDnJow6TBee2PBKSEpx3O32EGPYbWGIRsIlGRms3Sm74wYE1JMo8RnO04Hb12+v1J5ICw==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.3.2.tgz", + "integrity": "sha512-xmDt/QIAdeZ9+nfdPsaBCpMvHNLFiLdjj59qjqn+6iPe6YmHGQ35sBnQ8uslRBXFmXkiZQOJRjvQeoGppoTjjg==", "dev": true }, "cjs-module-lexer": { @@ -2467,7 +2292,7 @@ "co": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", - "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", + "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", "dev": true }, "collect-v8-coverage": { @@ -2488,7 +2313,7 @@ "color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", "dev": true }, "combined-stream": { @@ -2503,7 +2328,7 @@ "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", "dev": true }, "convert-source-map": { @@ -2516,12 +2341,12 @@ } }, "core-js-compat": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.21.0.tgz", - "integrity": "sha512-OSXseNPSK2OPJa6GdtkMz/XxeXx8/CJvfhQWTqd6neuUraujcL4jVsjkLQz1OWnax8xVQJnRPe0V2jqNWORA+A==", + "version": "3.23.3", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.23.3.tgz", + "integrity": "sha512-WSzUs2h2vvmKsacLHNTdpyOC9k43AEhcGoFlVgCY4L7aw98oSBKtPL6vD0/TqZjRWRQYdDSLkzZIni4Crbbiqw==", "dev": true, "requires": { - "browserslist": "^4.19.1", + "browserslist": "^4.21.0", "semver": "7.0.0" }, "dependencies": { @@ -2579,9 +2404,9 @@ } }, "debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", "dev": true, "requires": { "ms": "2.1.2" @@ -2596,7 +2421,7 @@ "dedent": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", - "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", + "integrity": "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==", "dev": true }, "deep-is": { @@ -2612,18 +2437,19 @@ "dev": true }, "define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", + "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", "dev": true, "requires": { - "object-keys": "^1.0.12" + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" } }, "delayed-stream": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", "dev": true }, "detect-newline": { @@ -2638,15 +2464,6 @@ "integrity": "sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ==", "dev": true }, - "dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "requires": { - "path-type": "^4.0.0" - } - }, "domexception": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz", @@ -2665,9 +2482,9 @@ } }, "electron-to-chromium": { - "version": "1.4.68", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.68.tgz", - "integrity": "sha512-cId+QwWrV8R1UawO6b9BR1hnkJ4EJPCPAr4h315vliHUtVUJDk39Sg1PMNnaWKfj5x+93ssjeJ9LKL6r8LaMiA==", + "version": "1.4.176", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.176.tgz", + "integrity": "sha512-92JdgyRlcNDwuy75MjuFSb3clt6DGJ2IXSpg0MCjKd3JV9eSmuUAIyWiGAp/EtT0z2D4rqbYqThQLV90maH3Zw==", "dev": true }, "emittery": { @@ -2700,7 +2517,7 @@ "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", "dev": true }, "escodegen": { @@ -2714,23 +2531,8 @@ "esutils": "^2.0.2", "optionator": "^0.8.1", "source-map": "~0.6.1" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "optional": true - } } }, - "eslint-visitor-keys": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.2.0.tgz", - "integrity": "sha512-IOzT0X126zn7ALX0dwFiUQEdsfzrm4+ISsQS8nukaJXwEyYKRSnEIIDULYg1mCtGp7UUXgfGl7BIolXREQK+XQ==", - "dev": true - }, "esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", @@ -2769,7 +2571,7 @@ "exit": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", - "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=", + "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==", "dev": true }, "expect": { @@ -2784,19 +2586,6 @@ "jest-message-util": "^27.5.1" } }, - "fast-glob": { - "version": "3.2.11", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.11.tgz", - "integrity": "sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==", - "dev": true, - "requires": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - } - }, "fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", @@ -2806,18 +2595,9 @@ "fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", "dev": true }, - "fastq": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", - "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", - "dev": true, - "requires": { - "reusify": "^1.0.4" - } - }, "fb-watchman": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.1.tgz", @@ -2836,6 +2616,16 @@ "to-regex-range": "^5.0.1" } }, + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, "form-data": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", @@ -2850,7 +2640,7 @@ "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", "dev": true }, "fsevents": { @@ -2879,14 +2669,14 @@ "dev": true }, "get-intrinsic": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.2.tgz", + "integrity": "sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==", "dev": true, "requires": { "function-bind": "^1.1.1", "has": "^1.0.3", - "has-symbols": "^1.0.1" + "has-symbols": "^1.0.3" } }, "get-package-type": { @@ -2902,46 +2692,29 @@ "dev": true }, "glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "dev": true, "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", - "minimatch": "^3.0.4", + "minimatch": "^3.1.1", "once": "^1.3.0", "path-is-absolute": "^1.0.0" } }, - "glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "requires": { - "is-glob": "^4.0.1" - } - }, - "globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "requires": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - } + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true }, "graceful-fs": { - "version": "4.2.9", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.9.tgz", - "integrity": "sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==", + "version": "4.2.10", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", "dev": true }, "has": { @@ -2956,13 +2729,22 @@ "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", "dev": true }, + "has-property-descriptors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", + "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "dev": true, + "requires": { + "get-intrinsic": "^1.1.1" + } + }, "has-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", - "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", "dev": true }, "html-encoding-sniffer": { @@ -2992,9 +2774,9 @@ } }, "https-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz", - "integrity": "sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", "dev": true, "requires": { "agent-base": "6", @@ -3016,12 +2798,6 @@ "safer-buffer": ">= 2.1.2 < 3" } }, - "ignore": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.0.tgz", - "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", - "dev": true - }, "import-local": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", @@ -3030,78 +2806,18 @@ "requires": { "pkg-dir": "^4.2.0", "resolve-cwd": "^3.0.0" - }, - "dependencies": { - "find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "requires": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - } - }, - "locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "requires": { - "p-locate": "^4.1.0" - } - }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "requires": { - "p-limit": "^2.2.0" - } - }, - "p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true - }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true - }, - "pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "requires": { - "find-up": "^4.0.0" - } - } } }, "imurmurhash": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", "dev": true }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", "dev": true, "requires": { "once": "^1.3.0", @@ -3117,24 +2833,18 @@ "is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", "dev": true }, "is-core-module": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.1.tgz", - "integrity": "sha512-SdNCUs284hr40hFTFP6l0IfZ/RSrMXF3qgoRHd3/79unUTvrFO/JoXwkGm+5J/Oe3E/b5GsnG330uUNgRpu1PA==", + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", + "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", "dev": true, "requires": { "has": "^1.0.3" } }, - "is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "dev": true - }, "is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", @@ -3147,15 +2857,6 @@ "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", "dev": true }, - "is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "requires": { - "is-extglob": "^2.1.1" - } - }, "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", @@ -3177,13 +2878,13 @@ "is-typedarray": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==", "dev": true }, "isexe": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", "dev": true }, "istanbul-lib-coverage": { @@ -3193,9 +2894,9 @@ "dev": true }, "istanbul-lib-instrument": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.1.0.tgz", - "integrity": "sha512-czwUz525rkOFDJxfKK6mYfIs9zBKILyrZQxjz3ABhjQXhbhFsSbo1HW/BFcsDnfJYJWA6thRR5/TUY2qs5W99Q==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.0.tgz", + "integrity": "sha512-6Lthe1hqXHBNsqvgDzGO6l03XNeu3CrG4RqQ1KM9+l5+jNGpEJfIELx1NS3SEHmJQA8np/u+E4EPRKRiu6m19A==", "dev": true, "requires": { "@babel/core": "^7.12.3", @@ -3250,14 +2951,6 @@ "debug": "^4.1.1", "istanbul-lib-coverage": "^3.0.0", "source-map": "^0.6.1" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } } }, "istanbul-reports": { @@ -3279,6 +2972,44 @@ "@jest/core": "^27.5.1", "import-local": "^3.0.2", "jest-cli": "^27.5.1" + } + }, + "jest-changed-files": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-27.5.1.tgz", + "integrity": "sha512-buBLMiByfWGCoMsLLzGUUSpAmIAGnbR2KJoMN10ziLhOLvP4e0SlypHnAel8iqQXTrcbmfEY9sSqae5sgUsTvw==", + "dev": true, + "requires": { + "@jest/types": "^27.5.1", + "execa": "^5.0.0", + "throat": "^6.0.1" + } + }, + "jest-circus": { + "version": "27.5.1", + "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-27.5.1.tgz", + "integrity": "sha512-D95R7x5UtlMA5iBYsOHFFbMD/GVA4R/Kdq15f7xYWUfWHBto9NYRsOvnSauTgdF+ogCpJ4tyKOXhUifxS65gdw==", + "dev": true, + "requires": { + "@jest/environment": "^27.5.1", + "@jest/test-result": "^27.5.1", + "@jest/types": "^27.5.1", + "@types/node": "*", + "chalk": "^4.0.0", + "co": "^4.6.0", + "dedent": "^0.7.0", + "expect": "^27.5.1", + "is-generator-fn": "^2.0.0", + "jest-each": "^27.5.1", + "jest-matcher-utils": "^27.5.1", + "jest-message-util": "^27.5.1", + "jest-runtime": "^27.5.1", + "jest-snapshot": "^27.5.1", + "jest-util": "^27.5.1", + "pretty-format": "^27.5.1", + "slash": "^3.0.0", + "stack-utils": "^2.0.3", + "throat": "^6.0.1" }, "dependencies": { "ansi-styles": { @@ -3321,26 +3052,6 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, - "jest-cli": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-27.5.1.tgz", - "integrity": "sha512-Hc6HOOwYq4/74/c62dEE3r5elx8wjYqxY0r0G/nFrLDPMFRu6RA/u8qINOIkvhxG7mMQ5EJsOGfRpI8L6eFUVw==", - "dev": true, - "requires": { - "@jest/core": "^27.5.1", - "@jest/test-result": "^27.5.1", - "@jest/types": "^27.5.1", - "chalk": "^4.0.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "import-local": "^3.0.2", - "jest-config": "^27.5.1", - "jest-util": "^27.5.1", - "jest-validate": "^27.5.1", - "prompts": "^2.0.1", - "yargs": "^16.2.0" - } - }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -3352,42 +3063,24 @@ } } }, - "jest-changed-files": { - "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-27.5.1.tgz", - "integrity": "sha512-buBLMiByfWGCoMsLLzGUUSpAmIAGnbR2KJoMN10ziLhOLvP4e0SlypHnAel8iqQXTrcbmfEY9sSqae5sgUsTvw==", - "dev": true, - "requires": { - "@jest/types": "^27.5.1", - "execa": "^5.0.0", - "throat": "^6.0.1" - } - }, - "jest-circus": { + "jest-cli": { "version": "27.5.1", - "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-27.5.1.tgz", - "integrity": "sha512-D95R7x5UtlMA5iBYsOHFFbMD/GVA4R/Kdq15f7xYWUfWHBto9NYRsOvnSauTgdF+ogCpJ4tyKOXhUifxS65gdw==", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-27.5.1.tgz", + "integrity": "sha512-Hc6HOOwYq4/74/c62dEE3r5elx8wjYqxY0r0G/nFrLDPMFRu6RA/u8qINOIkvhxG7mMQ5EJsOGfRpI8L6eFUVw==", "dev": true, "requires": { - "@jest/environment": "^27.5.1", + "@jest/core": "^27.5.1", "@jest/test-result": "^27.5.1", "@jest/types": "^27.5.1", - "@types/node": "*", "chalk": "^4.0.0", - "co": "^4.6.0", - "dedent": "^0.7.0", - "expect": "^27.5.1", - "is-generator-fn": "^2.0.0", - "jest-each": "^27.5.1", - "jest-matcher-utils": "^27.5.1", - "jest-message-util": "^27.5.1", - "jest-runtime": "^27.5.1", - "jest-snapshot": "^27.5.1", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "import-local": "^3.0.2", + "jest-config": "^27.5.1", "jest-util": "^27.5.1", - "pretty-format": "^27.5.1", - "slash": "^3.0.0", - "stack-utils": "^2.0.3", - "throat": "^6.0.1" + "jest-validate": "^27.5.1", + "prompts": "^2.0.1", + "yargs": "^16.2.0" }, "dependencies": { "ansi-styles": { @@ -3513,24 +3206,6 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, - "parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dev": true, - "requires": { - "@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" - } - }, - "strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "dev": true - }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -4203,12 +3878,6 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, - "strip-bom": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", - "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", - "dev": true - }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -4603,13 +4272,10 @@ "dev": true }, "json5": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", - "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", - "dev": true, - "requires": { - "minimist": "^1.2.5" - } + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", + "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", + "dev": true }, "kleur": { "version": "3.0.3", @@ -4626,7 +4292,7 @@ "levn": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", - "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==", "dev": true, "requires": { "prelude-ls": "~1.1.2", @@ -4634,16 +4300,25 @@ } }, "libphonenumber-js": { - "version": "1.9.49", - "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.9.49.tgz", - "integrity": "sha512-/wEOIONcVboFky+lWlCaF7glm1FhBz11M5PHeCApA+xDdVfmhKjHktHS8KjyGxouV5CSXIr4f3GvLSpJa4qMSg==" + "version": "1.10.7", + "resolved": "https://registry.npmjs.org/libphonenumber-js/-/libphonenumber-js-1.10.7.tgz", + "integrity": "sha512-jZXLCCWMe1b/HXkjiLeYt2JsytZMcqH26jLFIdzFDFF0xvSUWrYKyvPlyPG+XJzEyKUFbcZxLdWGMwQsWaHDxQ==" }, "lines-and-columns": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", - "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", "dev": true }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", @@ -4653,13 +4328,13 @@ "lodash.debounce": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", - "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=", + "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", "dev": true }, "lodash.memoize": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", - "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=", + "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", "dev": true }, "lru-cache": { @@ -4708,35 +4383,29 @@ "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", "dev": true }, - "merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true - }, "micromatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", - "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", "dev": true, "requires": { - "braces": "^3.0.1", - "picomatch": "^2.2.3" + "braces": "^3.0.2", + "picomatch": "^2.3.1" } }, "mime-db": { - "version": "1.51.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", - "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==", + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", "dev": true }, "mime-types": { - "version": "2.1.34", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", - "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", "dev": true, "requires": { - "mime-db": "1.51.0" + "mime-db": "1.52.0" } }, "mimic-fn": { @@ -4746,20 +4415,14 @@ "dev": true }, "minimatch": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz", - "integrity": "sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", "dev": true, "requires": { "brace-expansion": "^1.1.7" } }, - "minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", - "dev": true - }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -4769,19 +4432,19 @@ "natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", "dev": true }, "node-int64": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", - "integrity": "sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs=", + "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", "dev": true }, "node-releases": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.2.tgz", - "integrity": "sha512-XxYDdcQ6eKqp/YjI+tb2C5WM2LgjnZrfYg4vgQt49EK268b6gYCHsBLrK2qvJo4FmCtqmKezb0WZFK4fkrZNsg==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.5.tgz", + "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==", "dev": true }, "normalize-path": { @@ -4800,9 +4463,9 @@ } }, "nwsapi": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz", - "integrity": "sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.1.tgz", + "integrity": "sha512-JYOWTeFoS0Z93587vRJgASD5Ut11fYl5NyihP3KrYBvMe1FRRs6RN7m20SA/16GM4P6hTnZjT+UmDOt38UeXNg==", "dev": true }, "object-keys": { @@ -4826,7 +4489,7 @@ "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", "dev": true, "requires": { "wrappy": "1" @@ -4855,16 +4518,58 @@ "word-wrap": "~1.2.3" } }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, + "parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "requires": { + "@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" + } + }, "parse5": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==", "dev": true }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", "dev": true }, "path-key": { @@ -4879,12 +4584,6 @@ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", "dev": true }, - "path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true - }, "picocolors": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", @@ -4903,16 +4602,25 @@ "integrity": "sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==", "dev": true }, + "pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "requires": { + "find-up": "^4.0.0" + } + }, "prelude-ls": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", - "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", + "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==", "dev": true }, "prettier": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.5.1.tgz", - "integrity": "sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg==", + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", + "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", "dev": true }, "pretty-format": { @@ -4956,12 +4664,6 @@ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", "dev": true }, - "queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "dev": true - }, "react-is": { "version": "17.0.2", "resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz", @@ -4984,24 +4686,24 @@ } }, "regenerator-runtime": { - "version": "0.13.4", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.4.tgz", - "integrity": "sha512-plpwicqEzfEyTQohIKktWigcLzmNStMGwbOUbykx51/29Z3JOGYldaaNGK7ngNXV+UcoqvIMmloZ48Sr74sd+g==", + "version": "0.13.9", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", + "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==", "dev": true }, "regenerator-transform": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.5.tgz", - "integrity": "sha512-eOf6vka5IO151Jfsw2NO9WpGX58W6wWmefK3I1zEGr0lOD0u8rwPaNqQL1aRxUaxLeKO3ArNh3VYg1KbaD+FFw==", + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.15.0.tgz", + "integrity": "sha512-LsrGtPmbYg19bcPHwdtmXwbW+TqNvtY4riE3P83foeHRroMbH6/2ddFBfab3t7kbzc7v7p4wbkIecHImqt0QNg==", "dev": true, "requires": { "@babel/runtime": "^7.8.4" } }, "regexpu-core": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.0.1.tgz", - "integrity": "sha512-CriEZlrKK9VJw/xQGJpQM5rY88BtuL8DM+AEwvcThHilbxiTAy8vq4iJnd2tqq8wLmjbGZzP7ZcKFjbGkmEFrw==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.1.0.tgz", + "integrity": "sha512-bb6hk+xWd2PEOkj5It46A16zFMs2mv86Iwpdu94la4S3sJ7C973h2dHpYKwIBGaWSO7cIRJ+UX0IeMaWcO4qwA==", "dev": true, "requires": { "regenerate": "^1.4.2", @@ -5030,7 +4732,7 @@ "jsesc": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "integrity": "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==", "dev": true } } @@ -5038,16 +4740,16 @@ "require-directory": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", "dev": true }, "resolve": { - "version": "1.22.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.0.tgz", - "integrity": "sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw==", + "version": "1.22.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", + "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", "dev": true, "requires": { - "is-core-module": "^2.8.1", + "is-core-module": "^2.9.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" } @@ -5059,35 +4761,27 @@ "dev": true, "requires": { "resolve-from": "^5.0.0" - }, - "dependencies": { - "resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true - } } }, + "resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true + }, "resolve.exports": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-1.1.0.tgz", "integrity": "sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ==", "dev": true }, - "reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "dev": true - }, - "run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", "dev": true, "requires": { - "queue-microtask": "^1.2.2" + "glob": "^7.1.3" } }, "safe-buffer": { @@ -5112,9 +4806,9 @@ } }, "semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", + "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", "requires": { "lru-cache": "^6.0.0" } @@ -5153,9 +4847,9 @@ "dev": true }, "source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true }, "source-map-support": { @@ -5166,20 +4860,12 @@ "requires": { "buffer-from": "^1.0.0", "source-map": "^0.6.0" - }, - "dependencies": { - "source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true - } } }, "sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", "dev": true }, "stack-utils": { @@ -5229,12 +4915,24 @@ "ansi-regex": "^5.0.1" } }, + "strip-bom": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", + "dev": true + }, "strip-final-newline": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", "dev": true }, + "strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true + }, "supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", @@ -5319,7 +5017,7 @@ "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", "dev": true }, "to-regex-range": { @@ -5352,9 +5050,9 @@ } }, "ts-jest": { - "version": "27.1.3", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-27.1.3.tgz", - "integrity": "sha512-6Nlura7s6uM9BVUAoqLH7JHyMXjz8gluryjpPXxr3IxZdAXnU6FhjvVLHFtfd1vsE1p8zD1OJfskkc0jhTSnkA==", + "version": "27.1.5", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-27.1.5.tgz", + "integrity": "sha512-Xv6jBQPoBEvBq/5i2TeSG9tt/nqkbpcurrEG1b+2yfBrcJelOZF9Ml6dmyMh7bcW9JyFbRYpR5rxROSlBLTZHA==", "dev": true, "requires": { "bs-logger": "0.x", @@ -5367,21 +5065,6 @@ "yargs-parser": "20.x" } }, - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true - }, - "tsutils": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", - "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", - "dev": true, - "requires": { - "tslib": "^1.8.1" - } - }, "tunnel": { "version": "0.0.6", "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", @@ -5390,7 +5073,7 @@ "type-check": { "version": "0.3.2", "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", - "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==", "dev": true, "requires": { "prelude-ls": "~1.1.2" @@ -5402,6 +5085,12 @@ "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", "dev": true }, + "type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true + }, "typedarray-to-buffer": { "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", @@ -5412,9 +5101,9 @@ } }, "typescript": { - "version": "4.5.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz", - "integrity": "sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==", + "version": "4.7.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", + "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", "dev": true }, "unicode-canonical-property-names-ecmascript": { @@ -5451,6 +5140,16 @@ "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", "dev": true }, + "update-browserslist-db": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.4.tgz", + "integrity": "sha512-jnmO2BEGUjsMOe/Fg9u0oczOe/ppIDZPebzccl1yDWGLFP16Pa1/RM5wEoKYPG2zstNcDuAStejyxsOuKINdGA==", + "dev": true, + "requires": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + } + }, "v8-to-istanbul": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-8.1.1.tgz", @@ -5463,9 +5162,9 @@ }, "dependencies": { "source-map": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", - "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "version": "0.7.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.4.tgz", + "integrity": "sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==", "dev": true } } @@ -5589,7 +5288,7 @@ "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", "dev": true }, "write-file-atomic": { @@ -5605,9 +5304,9 @@ } }, "ws": { - "version": "7.5.7", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.7.tgz", - "integrity": "sha512-KMvVuFzpKBuiIXW3E4u3mySRO2/mCHSyZDJQM5NQ9Q9KHWHWh0NHgfbRMLLrceUK5qAL4ytALJbpRMjixFZh8A==", + "version": "7.5.8", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.5.8.tgz", + "integrity": "sha512-ri1Id1WinAX5Jqn9HejiGb8crfRio0Qgu8+MtL36rlTA6RLsMdWt1Az/19A2Qij6uSHUMphEFaTKa4WG+UNHNw==", "dev": true }, "xml-name-validator": { diff --git a/package.json b/package.json index 5fee65a..9bb0133 100644 --- a/package.json +++ b/package.json @@ -4,12 +4,19 @@ "description": "Build and publish an Ansible Collection to Ansible Galaxy.", "main": "dist/index.js", "scripts": { - "build": "tsc && ncc -m build lib/main.js", + "test": "npm run test:unit", + "test:unit": "jest --coverage", + "test:e2e": "act -j test_deploy -s GALAXY_API_KEY='fakekey' --container-architecture linux/amd64", + "build": "tsc", + "dev": "tsc -w", "format": "prettier --write **/*.ts", "format-check": "prettier --check **/*.ts", - "pack": "ncc build lib/main.js", - "test": "jest", - "all": "npm run build && npm run format" + "clean": "rm -rf node_modules", + "all": "npm run format && npm run build && git add . && git s", + "docker": "docker build -t arillso/action-ansible-collection:local ." + }, + "engines": { + "node": "~18" }, "repository": { "type": "git", @@ -22,29 +29,25 @@ }, "homepage": "https://github.com/arillso/action.ansible.collection#readme", "dependencies": { - "@actions/core": "^1.6.0", + "@actions/core": "^1.8.2", "@actions/exec": "^1.1.0", "@actions/io": "^1.1.1", "class-validator": "^0.13.2", "js-yaml": "^4.1.0", - "semver": "^7.3.5" + "semver": "^7.3.7" }, "devDependencies": { "@babel/core": "^7.16.12", - "@babel/preset-env": "^7.16.11", + "@babel/preset-env": "^7.18.2", "@types/jest": "^27.4.0", "@types/js-yaml": "^4.0.2", - "@types/node": "^17.0.14", + "@types/node": "^18.0.0", "@types/semver": "^7.3.8", - "@types/uuid": "^3.4.6", "@types/validator": "^13.7.1", - "@typescript-eslint/parser": "^5.1.0", - "@vercel/ncc": "^0.33.1", "jest": "^27.4.7", "jest-circus": "^27.4.6", - "js-yaml": "^3.13.1", "prettier": "^2.3.2", "ts-jest": "^27.1.3", - "typescript": "^4.5.5" + "typescript": "^4.7.2" } } diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..9e788b5 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +ansible==6.0.0 diff --git a/src/Collection.ts b/src/Collection.ts index db20bf1..45f108c 100644 --- a/src/Collection.ts +++ b/src/Collection.ts @@ -1,9 +1,9 @@ -import {IsNotEmpty} from 'class-validator' -import {ExecOptions} from '@actions/exec/lib/interfaces' +import { IsNotEmpty } from 'class-validator'; +import { ExecOptions } from '@actions/exec/lib/interfaces'; -import {CollectionInput} from './types' -import {IsSemver} from './decorators' -import {GalaxyConfig} from './GalaxyConfig' +import { CollectionInput } from './types'; +import { IsSemver } from './decorators'; +import { GalaxyConfig } from './GalaxyConfig'; /** * An Ansible Galaxy Collection. @@ -12,49 +12,49 @@ export class Collection { // Keep these parameters in this class, not passed through to the GalaxyConfig, to avoid tight class coupling. // Also, we can perform class-validator validations on the inputs this way. @IsNotEmpty() - namespace: string + namespace: string; @IsNotEmpty() - name: string - @IsSemver({message: '$value must be semver-compatible'}) + name: string; + @IsSemver({ message: '$value must be semver-compatible' }) @IsNotEmpty() - version: string - protected readonly customDir: string + version: string; + protected readonly customDir: string; @IsNotEmpty() - readonly apiKey: string - protected readonly config: GalaxyConfig + readonly apiKey: string; + protected readonly config: GalaxyConfig; /** * Validation of input is handled by decorators. */ - constructor({config, apiKey, customDir, customVersion}: CollectionInput) { - this.config = config + constructor({ config, apiKey, customDir, customVersion }: CollectionInput) { + this.config = config; - this.namespace = config.namespace || '' - this.name = config.name || '' - this.version = this.applyCustomVersion(customVersion) - this.apiKey = apiKey - this.customDir = customDir + this.namespace = config.namespace || ''; + this.name = config.name || ''; + this.version = this.applyCustomVersion(customVersion); + this.apiKey = apiKey; + this.customDir = customDir; } toString() { - return `${this.namespace}-${this.name}-${this.version}` + return `${this.namespace}-${this.name}-${this.version}`; } get path() { if (this.customDir.length > 0) { - return this.customDir + return this.customDir; } - return '' + return ''; } protected applyCustomVersion(customVersion: string | undefined): string { - let version = this.config.version + let version = this.config.version; if (customVersion !== '') { - version = customVersion - this.config.version = version + version = customVersion; + this.config.version = version; } - return version || '' + return version || ''; } /** @@ -64,15 +64,11 @@ export class Collection { */ async build( which: (tool: string, check?: boolean | undefined) => Promise, - exec: ( - commandLine: string, - args?: string[], - options?: ExecOptions - ) => Promise + exec: (commandLine: string, args?: string[], options?: ExecOptions) => Promise, ): Promise { - const galaxyCommandPath = await which('ansible-galaxy', true) + const galaxyCommandPath = await which('ansible-galaxy', true); // If a custom directory is passed in, use that. Otherwise, do not specify a custom location. - return exec(`${galaxyCommandPath} collection build ${this.path}`) + return exec(`${galaxyCommandPath} collection build ${this.path}`); } /** @@ -82,16 +78,10 @@ export class Collection { */ async publish( which: (tool: string, check?: boolean | undefined) => Promise, - exec: ( - commandLine: string, - args?: string[], - options?: ExecOptions - ) => Promise + exec: (commandLine: string, args?: string[], options?: ExecOptions) => Promise, ): Promise { - const galaxyCommandPath = await which('ansible-galaxy', true) + const galaxyCommandPath = await which('ansible-galaxy', true); // If a custom directory is passed in, use that. Otherwise, do not specify a custom location. - return exec( - `${galaxyCommandPath} collection publish ${this}.tar.gz --api-key=${this.apiKey}` - ) + return exec(`${galaxyCommandPath} collection publish ${this}.tar.gz --api-key=${this.apiKey}`); } } diff --git a/src/GalaxyConfig.ts b/src/GalaxyConfig.ts index 12a9f4e..ddae031 100644 --- a/src/GalaxyConfig.ts +++ b/src/GalaxyConfig.ts @@ -1,37 +1,37 @@ -import {valid} from 'semver' -import {GalaxyConfigFile} from './types' -import {dump as yamlDump} from 'js-yaml' -import {writeFileSync} from 'fs' +import { valid } from 'semver'; +import { GalaxyConfigFile } from './types'; +import { dump as yamlDump } from 'js-yaml'; +import { writeFileSync } from 'fs'; /** * Represents the contents of a galaxy.yml Ansible Galaxy config file. */ export class GalaxyConfig { - protected config: GalaxyConfigFile - protected changes = false + protected config: GalaxyConfigFile; + protected changes: boolean = false; constructor(config: GalaxyConfigFile) { - this.config = config + this.config = config; } get namespace() { - return this.config.namespace + return this.config.namespace; } get name() { - return this.config.name + return this.config.name; } get version() { - return this.config.version + return this.config.version; } set version(input: string | undefined) { if (valid(input)) { - this.config.version = input - this.changes = true + this.config.version = input; + this.changes = true; } else { - throw new Error(`${input} is not valid semver`) + throw new Error(`${input} is not valid semver`); } } @@ -40,8 +40,8 @@ export class GalaxyConfig { */ commit(filePath: string) { if (this.changes) { - const yamlAsString = yamlDump(this.config) - writeFileSync(filePath, yamlAsString, 'utf8') + const yamlAsString = yamlDump(this.config); + writeFileSync(filePath, yamlAsString, 'utf8'); } } } diff --git a/src/decorators.ts b/src/decorators.ts index 71a2a12..2921f65 100644 --- a/src/decorators.ts +++ b/src/decorators.ts @@ -1,24 +1,20 @@ -import { - ValidationArguments, - ValidationOptions, - registerDecorator -} from 'class-validator' -import {valid} from 'semver' +import { registerDecorator, ValidationOptions, ValidationArguments } from 'class-validator'; +import { valid } from 'semver'; export function IsSemver(validationOptions?: ValidationOptions) { return function (object: Object, propertyName: string) { registerDecorator({ name: 'isSemver', target: object.constructor, - propertyName, + propertyName: propertyName, options: validationOptions, constraints: [], validator: { validate(version: any, _args: ValidationArguments) { // Everything else is class-validator boilerplate, this is the real logic - return valid(version) !== null - } - } - }) - } + return valid(version) !== null; + }, + }, + }); + }; } diff --git a/src/enums.ts b/src/enums.ts index 68b0a0e..bc40be9 100644 --- a/src/enums.ts +++ b/src/enums.ts @@ -3,7 +3,7 @@ export enum ExitCodes { DeployFailed, ValidationFailed, BuildFailed, - PublishFailed + PublishFailed, } export enum PublishCommand { @@ -11,12 +11,12 @@ export enum PublishCommand { Collection, Command, Archive, - ApiKeyFlag + ApiKeyFlag, } export enum BuildCommand { Executable, Collection, Command, - Archive + Archive, } diff --git a/src/main.ts b/src/main.ts index ccef9eb..773e4ea 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,116 +1,95 @@ -import { - debug as coreDebug, - error as coreError, - getInput, - setFailed -} from '@actions/core' -import {which} from '@actions/io' -import {exec} from '@actions/exec' +import { debug as coreDebug, error as coreError, getInput, setFailed } from '@actions/core'; +import { which } from '@actions/io'; +import { exec } from '@actions/exec'; -import {Collection} from './Collection' -import {ExitCodes} from './enums' -import {validateSync} from 'class-validator' -import {join} from 'path' -import {GalaxyConfig} from './GalaxyConfig' -import {load as yamlLoad} from 'js-yaml' -import {readFileSync} from 'fs' -import {GalaxyConfigFile} from './types' +import { Collection } from './Collection'; +import { ExitCodes } from './enums'; +import { validateSync } from 'class-validator'; +import { join } from 'path'; +import { GalaxyConfig } from './GalaxyConfig'; +import { load as yamlLoad } from 'js-yaml'; +import { readFileSync } from 'fs'; +import { GalaxyConfigFile } from './types'; try { - const apiKey = getInput('api_key', {required: true}) - const collectionLocation: string = getInput('collection_dir') - const willBuild: boolean = - (getInput('build').toLowerCase().trim() || 'true') == 'true' - const willPublish: boolean = - (getInput('publish').toLowerCase().trim() || 'true') == 'true' + const apiKey = getInput('api_key', { required: true }); + const collectionLocation: string = getInput('collection_dir'); + const willBuild: boolean = (getInput('build').toLowerCase().trim() || 'true') == 'true'; + const willPublish: boolean = (getInput('publish').toLowerCase().trim() || 'true') == 'true'; // Will always be a string, but may be an empty string if the parameter is not defined - const maybeGalaxyVersion = getInput('galaxy_version') + const maybeGalaxyVersion = getInput('galaxy_version'); /** * @deprecated You probably want 'collection_dir,' not this parameter. */ - const galaxyConfigFile = getInput('galaxy_config_file') || 'galaxy.yml' + const galaxyConfigFile = getInput('galaxy_config_file') || 'galaxy.yml'; - const [galaxyConfigResolvedPath, galaxyConfig] = prepareConfig( - galaxyConfigFile, - collectionLocation - ) - let collection: Collection + const [galaxyConfigResolvedPath, galaxyConfig] = prepareConfig(galaxyConfigFile, collectionLocation); + let collection: Collection; try { collection = new Collection({ config: galaxyConfig, apiKey, customDir: collectionLocation, - customVersion: maybeGalaxyVersion - }) + customVersion: maybeGalaxyVersion, + }); } catch (err: any) { - setFailed(err) - process.exit(ExitCodes.ValidationFailed) + setFailed(err); + process.exit(ExitCodes.ValidationFailed); } - const validationErrors = validateSync(collection) + const validationErrors = validateSync(collection); if (validationErrors.length > 0) { - const errorMessages = validationErrors.map(error => error.constraints) - errorMessages.forEach(error => coreError(JSON.stringify(error))) - setFailed( - 'This action encountered validation failures. Inspect the output for all validation errors.' - ) - process.exit(ExitCodes.ValidationFailed) + const errorMessages = validationErrors.map(error => error.constraints); + errorMessages.forEach(error => coreError(JSON.stringify(error))); + setFailed('This action encountered validation failures. Inspect the output for all validation errors.'); + process.exit(ExitCodes.ValidationFailed); } - coreDebug(`Building collection ${collection}`) - galaxyConfig.commit(galaxyConfigResolvedPath) + coreDebug(`Building collection ${collection}`); + galaxyConfig.commit(galaxyConfigResolvedPath); new Promise(resolve => { - const done = resolve + const done = resolve; if (willBuild) { collection .build(which, exec) .then(result => { - coreDebug(`Successfully built local ${collection} archive.`) - done(result) - }) - .catch(({message}: Error) => { - setFailed(message) - process.exit(ExitCodes.BuildFailed) + coreDebug(`Successfully built local ${collection} archive.`); + done(result); }) + .catch(({ message }: Error) => { + setFailed(message); + process.exit(ExitCodes.BuildFailed); + }); } else { - done(null) + done(null); } }).then(() => { if (willPublish) { collection .publish(which, exec) - .then(() => - coreDebug(`Successfully published ${collection} to Ansible Galaxy.`) - ) - .catch(({message}: Error) => { - setFailed(message) - process.exit(ExitCodes.PublishFailed) - }) + .then(() => coreDebug(`Successfully published ${collection} to Ansible Galaxy.`)) + .catch(({ message }: Error) => { + setFailed(message); + process.exit(ExitCodes.PublishFailed); + }); } - }) + }); } catch (error: any) { - setFailed(error.message) + setFailed(error.message); } -function prepareConfig( - configFileName: string, - collectionLocation: string -): [string, GalaxyConfig] { - let galaxyConfigFilePath = configFileName +function prepareConfig(configFileName: string, collectionLocation: string): [string, GalaxyConfig] { + let galaxyConfigFilePath = configFileName; if (collectionLocation.length > 0) { - galaxyConfigFilePath = join(collectionLocation, configFileName) + galaxyConfigFilePath = join(collectionLocation, configFileName); } - coreDebug(`Using galaxy config file locate at: ${galaxyConfigFilePath}`) + coreDebug(`Using galaxy config file locate at: ${galaxyConfigFilePath}`); try { - const configContent: GalaxyConfigFile = yamlLoad( - readFileSync(galaxyConfigFilePath, 'utf8') - ) as GalaxyConfigFile - return [galaxyConfigFilePath, new GalaxyConfig(configContent)] + const configContent: GalaxyConfigFile = yamlLoad(readFileSync(galaxyConfigFilePath, 'utf8')) as GalaxyConfigFile; + return [galaxyConfigFilePath, new GalaxyConfig(configContent)]; } catch (e) { - setFailed( - `Was unable to read the galaxy.yml file at path: ${galaxyConfigFilePath}` - ) - throw e + setFailed(`Was unable to read the galaxy.yml file at path: ${galaxyConfigFilePath}`); + throw e; } } diff --git a/src/types.ts b/src/types.ts index 3dcf6d4..276e4fa 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,22 +1,22 @@ -import {GalaxyConfig} from './GalaxyConfig' +import { GalaxyConfig } from './GalaxyConfig'; export type GalaxyConfigFile = { - namespace?: string - name?: string - version?: string - readme?: string - authors?: string[] - description?: string - licenseFile?: string - tags?: string[] - repository?: string - documentation?: string - issues?: string -} + namespace?: string; + name?: string; + version?: string; + readme?: string; + authors?: Array; + description?: string; + licenseFile?: string; + tags?: Array; + repository?: string; + documentation?: string; + issues?: string; +}; export type CollectionInput = { - config: GalaxyConfig - apiKey: string - customDir: string - customVersion: string -} + config: GalaxyConfig; + apiKey: string; + customDir: string; + customVersion: string; +}; diff --git a/tests/action.yml b/tests/action.yml new file mode 100644 index 0000000..9386873 --- /dev/null +++ b/tests/action.yml @@ -0,0 +1,59 @@ +--- +name: "Publish Ansible Collection" +description: "Build and publish an Ansible Collection to Ansible Galaxy" +author: "Simon Baerlocher " +inputs: + api_key: + description: | + Ansible Galaxy API key. This should be stored in a Secret on Github. + + See https://help.github.com/en/github/automating-your-workflow-with-github-actions/virtual-environments-for-github-actions#creating-and-using-secrets-encrypted-variables. + required: true + collection_dir: + description: | + The directory in which the Ansible Collection is stored. This defaults to the project root. + required: false + default: "./" + build: + description: | + You can now choose to build a collection without publishing, and vice versa. + If you wish to disable building a collection, set this parameter to "false." + required: true + default: "true" + publish: + description: | + You can now choose to publish a collection without building (from a pre-built archive), and vice versa. + If you wish to disable publishing a collection, set this parameter to "false." + required: true + default: "true" + galaxy_version: + description: Dynamically inject a semver-compatible version into your galaxy.yml file. + required: false +# galaxy_version_commit: +# description: The Action will write the `galaxy_version` value into your `galaxy.yml` and commit it. +# required: false +# galaxy_version_increment: +# description: | +# The Action will read the version in galaxy.yml and increment it based on the value provided in this parameter. +# Valid values are: `major`, `minor`, `patch`. +# Defaults to `patch`. +# required: false +# default: patch + galaxy_config_file: + description: | + DEPRECATED. + + A collection must have a galaxy.yml file that contains the necessary information to build a + collection artifact. + + Defaults to "galaxy.yml" in the `collection_dir`, which is by default the project root. + + This parameter is deprecated as Ansible Galaxy requires the file to be named `galaxy.yml` and to exist in the root of your Collection. Use `collection_dir` to specify a non-root directory for your Collection. + required: false + default: "galaxy.yml" +runs: + using: "docker" + image: Dockerfile +branding: + icon: "box" + color: "purple" diff --git a/tests/collection/README.md b/tests/collection/README.md index 295a683..2216c1a 100644 --- a/tests/collection/README.md +++ b/tests/collection/README.md @@ -1 +1,3 @@ # test_do_not_use + +A readme stub for test artifacts to succeed being published to Ansible Galaxy. diff --git a/tests/collection/galaxy.yml b/tests/collection/galaxy.yml index 57ab81b..36870c0 100644 --- a/tests/collection/galaxy.yml +++ b/tests/collection/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: arillso name: test_do_not_use -version: 0.0.13 +version: 0.0.14 readme: README.md authors: - Simon Baerlocher (@sbaerlocher) diff --git a/tsconfig.json b/tsconfig.json index 639465f..46b93af 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "target": "ES2020", "module": "commonjs", - "outDir": "./lib", + "outDir": "./dist", "rootDir": "./src", "strict": true, "noUnusedLocals": true, @@ -14,8 +14,5 @@ "emitDecoratorMetadata": true, "forceConsistentCasingInFileNames": true }, - "exclude": [ - "node_modules", - "**/*.test.ts" - ] + "exclude": ["node_modules", "**/*.test.ts"] }