diff --git a/.nvmrc b/.nvmrc index 4adfbc35317..a77793ecc52 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.3.0 +lts/hydrogen diff --git a/README.md b/README.md index 6e03416d40d..be92920edd5 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,27 @@ +# Gataca Swagger-UI +Files to be modified +- dev-helper-initializer.js (For DEV purposes) +- Swagger-initializer.js (For production purposes) + +## Launch of DEV +``` +yarn +yarn dev +``` + +## Deployment +``` +yarn build +``` +Copy all the files included into `/dist` into S3 (api.gataca.io) + +Execute CloudFront invalidation `/*` + +## Update specification + +For update just the component specification, it's not necessary necessary to upload the new file version to the `/docs` folder. Then it's necessary to reset the CloudFront cache (Execute invalidation). + + # [![NPM version](https://badge.fury.io/js/swagger-ui.svg)](http://badge.fury.io/js/swagger-ui) diff --git a/dev-helpers/dev-helper-initializer.js b/dev-helpers/dev-helper-initializer.js index ec330dc6249..eb255fcc002 100644 --- a/dev-helpers/dev-helper-initializer.js +++ b/dev-helpers/dev-helper-initializer.js @@ -4,7 +4,13 @@ window.onload = function() { window["SwaggerUIStandalonePreset"] = window["swagger-ui-standalone-preset"] // Build a system const ui = SwaggerUIBundle({ - url: "https://petstore.swagger.io/v2/swagger.json", + url: "/docs/studio-swagger.json", + urls: [ + {url: "./docs/studio-swagger.json", name: "Gataca Studio"}, + {url: "./docs/nucleus-swagger.json", name: "Gataca Nucleus"}, + {url: "./docs/connect-swagger.json", name: "Gataca Connect"}, + {url: "/docs/certify-swagger.json", name: "Gataca Certify"}, + ], dom_id: "#swagger-ui", presets: [ SwaggerUIBundle.presets.apis, diff --git a/dev-helpers/docs/certify-swagger.json b/dev-helpers/docs/certify-swagger.json new file mode 100644 index 00000000000..dd7790bb421 --- /dev/null +++ b/dev-helpers/docs/certify-swagger.json @@ -0,0 +1,3512 @@ +{ + "swagger": "2.0", + "info": { + "description": "This is the full API of the Gataca Certify Issuer component for DeID\nThis API contains all the methods exposed, both for configuration and integration", + "title": "Gataca Certify API", + "termsOfService": "http://swagger.io/terms/", + "contact": { + "name": "Gataca", + "url": "https://gataca.io", + "email": "support@gataca.io" + }, + "version": "3.1.0" + }, + "host": "certify.gataca.io", + "paths": { + "/admin/v1/certificates": { + "get": { + "description": "Operation to recover a certificate stored by his identifier", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Certificates" + ], + "summary": "Get All Certificates", + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/models.Certificate" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + }, + "post": { + "description": "Operation to import a certificate in format PFX/P12", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Certificates" + ], + "summary": "Import Certificate", + "parameters": [ + { + "description": "certificate", + "name": "user", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.Certificate" + } + } + ], + "responses": { + "201": { + "description": "Success", + "schema": { + "$ref": "#/definitions/models.Certificate" + } + }, + "409": { + "description": "Already exist", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/certificates/:id": { + "get": { + "description": "Operation to recover a certificate stored by his identifier", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Certificates" + ], + "summary": "Get Certificate by ID", + "parameters": [ + { + "type": "string", + "description": "id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/models.Certificate" + } + }, + "404": { + "description": "Not Found", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + }, + "put": { + "description": "Operation to update a certificate format PFX/P12", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Certificates" + ], + "summary": "Update Certificate", + "parameters": [ + { + "description": "certificate", + "name": "user", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.Certificate" + } + }, + { + "type": "string", + "description": "id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/models.Certificate" + } + }, + "409": { + "description": "Already exist", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + }, + "delete": { + "description": "Operation to Delete a certificate by Id", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Certificates" + ], + "summary": "Delete Certificate", + "parameters": [ + { + "type": "string", + "description": "id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK" + }, + "404": { + "description": "Not found", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/credentials": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Get the credentials issued by the issuer and filtered by status.\nThe status can be PENDING, READY, VALIDATED or ACTIVE.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Credentials" + ], + "summary": "Get credential list. This endpoint its paginated", + "responses": { + "200": { + "description": "Credentials requested.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.ExtendedVerifiableCredential" + } + } + }, + "400": { + "description": "Invalid requested configurations.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Not Authorized to get credential list.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "404": { + "description": "Invalid requested configurations.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/credentials/{id}": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Get the credential identified by the ID", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Credentials" + ], + "summary": "Get credential by identifier", + "parameters": [ + { + "type": "string", + "description": "Credential Id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Credential requested.", + "schema": { + "$ref": "#/definitions/models.ExtendedVerifiableCredential" + } + }, + "400": { + "description": "Invalid requested configurations.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Not Authorized to get credential list.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "404": { + "description": "Not found.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + }, + "patch": { + "security": [ + { + "Token": [] + } + ], + "description": "Modify values of a concrete credential (identified by the ID).\nCurrently, is just allowed to change the status.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Credentials" + ], + "summary": "Update credential", + "responses": { + "200": { + "description": "Credential updated successfully.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "400": { + "description": "Invalid requested configurations.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Not Authorized to update credentials.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "404": { + "description": "Invalid requested configurations.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/credentials/{id}/issuanceRequest": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Get all the credentials associated by the same issuance ID", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Credentials" + ], + "summary": "Get all the credentials by issuance identifier", + "parameters": [ + { + "type": "string", + "description": "Issuance Id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Credential requested.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.ExtendedVerifiableCredential" + } + } + }, + "400": { + "description": "Invalid requested configurations.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Not Authorized to get credential list.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "404": { + "description": "Not found.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + }, + "patch": { + "security": [ + { + "Token": [] + } + ], + "description": "Modify values of all the credentials matching the same issuance Id provided.\nCurrently, just allowed to change the status.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Credentials" + ], + "summary": "Update credential by issuance Request", + "responses": { + "200": { + "description": "Credentials updated successfully.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "400": { + "description": "Invalid requested configurations.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Not Authorized to update credentials.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "404": { + "description": "Invalid requested configurations.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/issuanceConfigs": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "The process will get all issuance configs.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Issuance Configs" + ], + "summary": "Create the issuance config request . This endpoint supports pagination", + "responses": { + "200": { + "description": "List of Issuance Configs", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.IssuanceConfig" + } + } + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + }, + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "The process will create an issuance config.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Issuance Configs" + ], + "summary": "Create the issuance config request .", + "parameters": [ + { + "description": "Issuance Config", + "name": "config", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.IssuanceConfig" + } + } + ], + "responses": { + "201": { + "description": "Presentation response", + "schema": { + "$ref": "#/definitions/models.IssuanceRequest" + } + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/issuanceConfigs/{id}": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "The process will get the request issuance config.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Issuance Configs" + ], + "summary": "Retrieve a specific issuance config.", + "parameters": [ + { + "type": "string", + "description": "Issuance Config Id", + "name": "configId", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Requested Issuance Configs", + "schema": { + "$ref": "#/definitions/models.IssuanceConfig" + } + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "404": { + "description": "Issuance config doesn't exist", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + }, + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "The process will update an issuance config.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Issuance Configs" + ], + "summary": "Update the issuance config request.", + "parameters": [ + { + "type": "string", + "description": "Issuance Config Id", + "name": "configId", + "in": "path", + "required": true + }, + { + "description": "Updated Issuance Config data", + "name": "config", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.IssuanceConfig" + } + } + ], + "responses": { + "200": { + "description": "Config updated" + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "The process will delete an issuance config.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Issuance Configs" + ], + "summary": "Delete the issuance config request.", + "parameters": [ + { + "type": "string", + "description": "Issuance Config Id", + "name": "configId", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Config deleted" + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/issuanceRequests": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Get the Issuance Requests filtered by status. The status can be PENDING, READY, VALIDATED or ACTIVE.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Issuance Requests" + ], + "summary": "Get the Issuance Requests filtered by status. This endpoints supports pagination.", + "parameters": [ + { + "type": "string", + "description": "Status type", + "name": "status", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.IssuanceRequest" + } + } + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/issuanceRequests/{id}": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Get the Issuance Requests filtered by Id.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Issuance Requests" + ], + "summary": "Get the Issuance Requests filtered by Id.", + "parameters": [ + { + "type": "string", + "description": "Issuance request identifier", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/models.IssuanceRequest" + } + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/issuanceRequests/{id}/credentials": { + "patch": { + "security": [ + { + "Token": [] + } + ], + "description": "The process will verify the credential schema, sign the credentials and update the database with the new credentials and the issuance request filled with those too.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Issuance Requests" + ], + "summary": "Fill the issuance request credentials.", + "parameters": [ + { + "type": "string", + "description": "Issuance Request id", + "name": "id", + "in": "path", + "required": true + }, + { + "description": "list of Credentials to attach to issuance request", + "name": "credentials", + "in": "body", + "required": true, + "schema": { + "type": "array", + "items": {} + } + } + ], + "responses": { + "200": { + "description": "Issuance Request", + "schema": { + "$ref": "#/definitions/models.IssuanceRequest" + } + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/issuanceRequests/{id}/presentationRequest": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Get the Presentation request for a concrete Issuance Requests.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Issuance Requests" + ], + "summary": "Get the Presentation Request for a concrete Issuance Request.", + "parameters": [ + { + "type": "string", + "description": "Issuance Request id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Presentation request", + "schema": {} + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/issuanceRequests/{id}/validator": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Get the Presentation response for a concrete Issuance Requests.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Issuance Requests" + ], + "summary": "Get the Presentation Response for a concrete Issuance Request.", + "parameters": [ + { + "type": "string", + "description": "Issuance Request id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Presentation response", + "schema": {} + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/tir-info": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "The endpoint will create a new entry with VC in the body for the DID in the body on the EBSI TIR\nIf the DID its not published in the EBSI TIR endpoint will fail.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Trusted Issuer" + ], + "summary": "Insert info on the Trusted Issuer Registry", + "parameters": [ + { + "description": "TI Config", + "name": "config", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.TIConfig" + } + } + ], + "responses": { + "200": { + "description": "TI Config", + "schema": { + "$ref": "#/definitions/models.TIConfig" + } + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "404": { + "description": "DID not present on the TIR", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/tir-info/:id": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "The endpoint will recover the entry matching the did provider on the param id from the request.\nIf the DID its not published in the EBSI TIR endpoint will fail.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Trusted Issuer" + ], + "summary": "Get info on the Trusted Issuer Registry", + "parameters": [ + { + "type": "string", + "description": "DID to search", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "TI Config", + "schema": { + "$ref": "#/definitions/models.TIConfig" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "404": { + "description": "DID not present on the TIR", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + }, + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "The endpoint will update a the entry defined by the id in the param id, with the VC in the body for the DID in the body on the EBSI TIR\nIf the DID its not published in the EBSI TIR endpoint will fail.\n", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Trusted Issuer" + ], + "summary": "Update info on the Trusted Issuer Registry", + "parameters": [ + { + "type": "string", + "description": "Id of the entry to update inside the TIR", + "name": "id", + "in": "path", + "required": true + }, + { + "description": "TI Config", + "name": "config", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.TIConfig" + } + } + ], + "responses": { + "200": { + "description": "TI Config update", + "schema": { + "$ref": "#/definitions/models.TIConfig" + } + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "404": { + "description": "DID not present on the TIR", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/admin/v2/issuanceRequests/:id/credentials": { + "patch": { + "security": [ + { + "Token": [] + } + ], + "description": "The process will verify the credential schema, sign the credentials and update the database with the new credentials and the issuance request filled with those too.\nThe v2 introduce the validation of the context of each credential send to this endpoint", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Issuance Requests" + ], + "summary": "Fill the issuance request credentials.", + "parameters": [ + { + "type": "string", + "description": "Issuance Request id", + "name": "id", + "in": "path", + "required": true + }, + { + "description": "list of Credentials to attach to issuance request", + "name": "credentials", + "in": "body", + "required": true, + "schema": { + "type": "array", + "items": {} + } + } + ], + "responses": { + "200": { + "description": "Presentation response", + "schema": { + "$ref": "#/definitions/models.IssuanceRequest" + } + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/admin/v2/issuanceRequests/:id/status/:status": { + "patch": { + "description": "Change the status of an issuance request. Currently, it's only available to reject issuance requests in status, pending and ready", + "produces": [ + "application/json" + ], + "tags": [ + "Issuance Requests" + ], + "summary": "Change the status of an issuance request", + "parameters": [ + { + "type": "string", + "description": "Issuance request ID", + "name": "id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "Value of the status to be set in the issuance request", + "name": "status", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/models.IssuanceRequest" + } + }, + "400": { + "description": "given param is not valid", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "404": { + "description": "your requested item is not found", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/admin/v3/issuanceRequests/:id/credentials": { + "patch": { + "security": [ + { + "Token": [] + } + ], + "description": "The process will verify the credential schema, sign the credentials and update the database with the new credentials and the issuance request filled with those too.\nThe v3 introduce the validation of the context of each credential send to this endpoint", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Issuance Requests" + ], + "summary": "Fill the issuance request credentials.", + "parameters": [ + { + "type": "string", + "description": "Issuance Request id", + "name": "id", + "in": "path", + "required": true + }, + { + "description": "list of Credentials to attach to issuance request", + "name": "credentials", + "in": "body", + "required": true, + "schema": { + "type": "array", + "items": {} + } + } + ], + "responses": { + "200": { + "description": "Presentation response", + "schema": { + "$ref": "#/definitions/models.IssuanceRequest" + } + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/admin/v3/issuanceRequests/:id/status/:status": { + "patch": { + "description": "Change the status of an issuance request. Currently, it's only available to reject issuance requests in status, pending and ready", + "produces": [ + "application/json" + ], + "tags": [ + "Issuance Requests" + ], + "summary": "Change the status of an issuance request", + "parameters": [ + { + "type": "string", + "description": "Issuance request ID", + "name": "id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "Value of the status to be set in the issuance request", + "name": "status", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/models.IssuanceRequest" + } + }, + "400": { + "description": "given param is not valid", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "404": { + "description": "your requested item is not found", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/credentials/:id": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "The endpoint will delete the credential associated with the id on the path", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Credentials" + ], + "summary": "Delete the credentials by id", + "parameters": [ + { + "type": "string", + "description": "Credential Id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK" + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "404": { + "description": "Issuance request not found", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/issuanceRequests": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Create a new issuance request from a previously defined Issuance Config", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Issuance Requests" + ], + "summary": "Create an issuance request.", + "parameters": [ + { + "description": "Issuance Config Id", + "name": "group", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/controller.IssuanceRequest" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/models.PresentationRequest" + } + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/issuanceRequests/:id": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Ossue the credentials signed, previously validated.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Issuance Requests" + ], + "summary": "Issue the credentials signed.", + "parameters": [ + { + "type": "string", + "description": "Issuance request identifier", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": {} + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "404": { + "description": "Issuance request not found", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/issuanceRequests/:id/presentationRequests": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Recover a presentation request from his identifier with pending status.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Issuance Requests" + ], + "summary": "Recover a presentation request.", + "parameters": [ + { + "type": "string", + "description": "Issuance request identifier", + "name": "id", + "in": "path" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/models.PresentationRequest" + } + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "404": { + "description": "Issuance request not found", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/issuanceRequests/:id/presentationResponses": { + "post": { + "security": [ + { + "Token, AppToken": [] + } + ], + "description": "Fill an issuance request with the credentials requested previously defined as verifiablePresentation.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Issuance Requests" + ], + "summary": "Fill with the credentials requested.", + "parameters": [ + { + "type": "string", + "description": "Issuance request identifier", + "name": "id", + "in": "path", + "required": true + }, + { + "description": "Presentation", + "name": "pr", + "in": "body", + "required": true, + "schema": {} + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/models.ValidationProcessResponse" + } + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "404": { + "description": "Issuance request not found", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/status/:id": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "The endpoint will return all the info for the credential associated with the id on the path", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Status" + ], + "summary": "Recover the credentials status by id", + "parameters": [ + { + "type": "string", + "description": "Credential Id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/models.VerifiableStatus" + } + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "404": { + "description": "Issuance request not found", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/status/:id/status": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "The endpoint will return all the info for the credential associated with the group on the path", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Status" + ], + "summary": "Recover the credentials status by group", + "parameters": [ + { + "type": "string", + "description": "Group Id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/models.VerifiableStatus" + } + }, + "400": { + "description": "Invalid data send", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "404": { + "description": "Issuance request not found", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_certify_models.ResponseMessage" + } + } + } + } + } + }, + "definitions": { + "big.Int": { + "type": "object" + }, + "controller.IssuanceRequest": { + "type": "object", + "properties": { + "group": { + "type": "string" + } + } + }, + "github_com_gataca-io_certify_models.ResponseMessage": { + "type": "object", + "properties": { + "message": { + "type": "string", + "example": "Some description message" + } + } + }, + "models.Certificate": { + "type": "object", + "properties": { + "alias": { + "type": "string" + }, + "caCerts": { + "type": "array", + "items": { + "$ref": "#/definitions/x509.Certificate" + } + }, + "certificate": { + "$ref": "#/definitions/x509.Certificate" + }, + "createdAt": { + "type": "string" + }, + "id": { + "type": "string" + }, + "updateAt": { + "type": "string" + } + } + }, + "models.Claim": { + "type": "object", + "properties": { + "currentStatus": { + "type": "string" + }, + "id": { + "type": "string" + }, + "statusReason": { + "type": "string" + } + } + }, + "models.Constraints": { + "type": "object", + "properties": { + "fields": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Field" + } + }, + "limit_disclosure": { + "type": "boolean" + }, + "subject_is_holder": { + "$ref": "#/definitions/models.Preference" + }, + "subject_is_issuer": { + "$ref": "#/definitions/models.Preference" + } + } + }, + "models.CredentialRequest": { + "type": "object", + "properties": { + "mandatory": { + "type": "boolean", + "example": true + }, + "purpose": { + "type": "string", + "example": "Authentication" + }, + "trustLevel": { + "type": "integer", + "example": 1 + }, + "type": { + "type": "string", + "example": "emailCredential" + } + } + }, + "models.DataAgreement": { + "type": "object", + "properties": { + "@context": { + "$ref": "#/definitions/models.SSIContext" + }, + "data_holder": { + "type": "string" + }, + "data_receiver": { + "$ref": "#/definitions/models.DataReceiver" + }, + "data_subject": { + "type": "string" + }, + "dpia": { + "$ref": "#/definitions/models.Dpia" + }, + "event": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Event" + } + }, + "id": { + "type": "string" + }, + "personal_data": { + "type": "array", + "items": { + "$ref": "#/definitions/models.PersonalDatum" + } + }, + "purposes": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Purpose" + } + }, + "template_id": { + "type": "string" + }, + "template_version": { + "type": "string" + }, + "termination_timestamp": { + "type": "integer" + }, + "version": { + "type": "string" + } + } + }, + "models.DataAgreementRef": { + "type": "object", + "properties": { + "dataAgreement": { + "$ref": "#/definitions/models.DataAgreement" + }, + "ref": { + "type": "string" + } + } + }, + "models.DataPolicy": { + "type": "object", + "properties": { + "data_retention_period": { + "type": "integer" + }, + "geographic_restriction": { + "type": "string" + }, + "industry_scope": { + "type": "string" + }, + "jurisdictions": { + "type": "array", + "items": { + "type": "string" + } + }, + "policy_URL": { + "type": "string" + }, + "storage_location": { + "type": "string" + } + } + }, + "models.DataReceiver": { + "type": "object", + "properties": { + "consent_duration": { + "type": "integer" + }, + "form_of_consent": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "service": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, + "models.Dpia": { + "type": "object", + "properties": { + "dpia_date": { + "type": "string" + }, + "dpia_summary_url": { + "type": "string" + } + } + }, + "models.EBSIClaims": { + "type": "object", + "properties": { + "encryption_key": { + "$ref": "#/definitions/models.JWK" + }, + "id_token": { + "$ref": "#/definitions/models.IdToken" + }, + "verified_claims": { + "type": "string" + }, + "vp_token": { + "$ref": "#/definitions/models.VpToken" + } + } + }, + "models.Event": { + "type": "object", + "properties": { + "principle_did": { + "type": "string" + }, + "proof": { + "$ref": "#/definitions/models.SSIProof" + }, + "state": { + "type": "string" + }, + "timestamp": { + "type": "integer" + }, + "version": { + "type": "string" + } + } + }, + "models.ExtendedVerifiableCredential": { + "type": "object", + "properties": { + "coreModels.VerifiableCredential": {}, + "createdAt": { + "type": "string", + "example": "27-11-2020T12:45:23" + }, + "group": { + "type": "string", + "example": "university-1" + }, + "issuanceRequest": { + "$ref": "#/definitions/models.IssuanceRequest" + }, + "status": { + "type": "string", + "example": "ISSUED" + }, + "updatedAt": { + "type": "string", + "example": "06-12-2020T17:22:06" + }, + "vcFormat": { + "$ref": "#/definitions/models.VCFormat" + } + } + }, + "models.Field": { + "type": "object", + "required": [ + "path" + ], + "properties": { + "filter": { + "$ref": "#/definitions/models.Filter" + }, + "path": { + "type": "array", + "items": { + "type": "string" + } + }, + "predicate": { + "$ref": "#/definitions/models.Preference" + }, + "purpose": { + "type": "string" + } + } + }, + "models.Filter": { + "type": "object", + "required": [ + "type" + ], + "properties": { + "const": {}, + "enum": { + "type": "array", + "items": {} + }, + "exclusiveMaximum": {}, + "exclusiveMinimum": {}, + "format": { + "type": "string" + }, + "maxLength": { + "type": "integer" + }, + "maximum": {}, + "minLength": { + "type": "integer" + }, + "minimum": {}, + "not": { + "$ref": "#/definitions/models.Filter" + }, + "pattern": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "models.Format": { + "type": "object", + "properties": { + "jwt": { + "$ref": "#/definitions/models.JWTType" + }, + "jwt_vc": { + "$ref": "#/definitions/models.JWTType" + }, + "jwt_vp": { + "$ref": "#/definitions/models.JWTType" + }, + "ldp": { + "$ref": "#/definitions/models.LDPType" + }, + "ldp_vc": { + "$ref": "#/definitions/models.LDPType" + }, + "ldp_vp": { + "$ref": "#/definitions/models.LDPType" + } + } + }, + "models.IdToken": { + "type": "object", + "properties": { + "acr": {}, + "verifiable_presentations": { + "type": "object", + "properties": { + "presentation_definition": { + "$ref": "#/definitions/models.PresentationDefinition" + } + } + } + } + }, + "models.InputDescriptor": { + "type": "object", + "required": [ + "id", + "schema" + ], + "properties": { + "constraints": { + "$ref": "#/definitions/models.Constraints" + }, + "group": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "name": { + "type": "string" + }, + "purpose": { + "type": "string" + }, + "schema": { + "type": "array", + "minItems": 1, + "items": { + "$ref": "#/definitions/models.Schema" + } + } + } + }, + "models.IssuanceConfig": { + "type": "object", + "properties": { + "credentialGroup": { + "type": "string" + }, + "credentialTypes": { + "type": "array", + "items": { + "type": "string" + } + }, + "eidasSignature": { + "type": "boolean" + }, + "evidence": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "expirationTime": { + "type": "integer" + }, + "feedbackHook": { + "type": "string" + }, + "feedbackMessage": { + "type": "string" + }, + "id": { + "type": "string" + }, + "pollingFrequency": { + "type": "integer" + }, + "pollingMaxTime": { + "type": "integer" + }, + "prConfig": { + "$ref": "#/definitions/models.PrConfig" + }, + "sendNotification": { + "type": "boolean" + }, + "updatedAt": { + "type": "string" + }, + "validFrom": { + "type": "string" + }, + "validationHook": { + "type": "string" + } + } + }, + "models.IssuanceRequest": { + "type": "object", + "properties": { + "auth_request": { + "$ref": "#/definitions/models.JWTEBSIClaims" + }, + "createdAt": { + "type": "string" + }, + "data": { + "type": "array", + "items": {} + }, + "expiredAt": { + "$ref": "#/definitions/pq.NullTime" + }, + "group": { + "type": "string" + }, + "id": { + "type": "string" + }, + "presentationRequest": { + "$ref": "#/definitions/models.PresentationRequest" + }, + "status": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "validator": { + "$ref": "#/definitions/models.PresentationResponse" + } + } + }, + "models.JWK": { + "type": "object", + "properties": { + "alg": { + "type": "string", + "example": "jwa values: https://www.rfc-editor.org/rfc/rfc7518.html#page-6" + }, + "crv": { + "type": "string" + }, + "d": { + "type": "string" + }, + "dp": { + "type": "string" + }, + "dq": { + "type": "string" + }, + "e": { + "type": "string" + }, + "k": { + "type": "string" + }, + "kid": { + "type": "string" + }, + "kty": { + "type": "string" + }, + "n": { + "type": "string" + }, + "p": { + "type": "string" + }, + "q": { + "type": "string" + }, + "qi": { + "type": "string" + }, + "use": { + "type": "string", + "example": "sig,enc" + }, + "x": { + "type": "string" + }, + "y": { + "type": "string" + } + } + }, + "models.JWTEBSIClaims": { + "type": "object", + "properties": { + "aud": { + "type": "array", + "items": { + "type": "string" + } + }, + "claims": { + "$ref": "#/definitions/models.EBSIClaims" + }, + "client_id": { + "type": "string" + }, + "exp": { + "type": "integer" + }, + "iat": { + "type": "integer" + }, + "iss": { + "type": "string" + }, + "jti": { + "type": "string" + }, + "nbf": { + "type": "integer" + }, + "nonce": { + "type": "string" + }, + "redirect_uri": { + "type": "string" + }, + "registration": { + "type": "string" + }, + "response_mode": { + "type": "string" + }, + "response_type": { + "type": "string" + }, + "scope": { + "type": "string" + }, + "state": { + "type": "string" + }, + "sub": { + "type": "string" + }, + "sub_did_verification_method_uri": { + "type": "string" + }, + "sub_jwk": { + "$ref": "#/definitions/models.JWK" + }, + "vc": {}, + "vp": {} + } + }, + "models.JWTType": { + "type": "object", + "required": [ + "alg" + ], + "properties": { + "alg": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "models.LDPType": { + "type": "object", + "required": [ + "proof_type" + ], + "properties": { + "proof_type": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "models.LDPVerifiableCredential": { + "type": "object", + "properties": { + "@context": { + "$ref": "#/definitions/models.SSIContext" + }, + "credentialSchema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "credentialStatus": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "evidence": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "expirationDate": { + "type": "string", + "example": "2019-10-01T12:12:15.999Z" + }, + "id": { + "type": "string", + "example": "cred:gatc:2798d86b-21ce-4794-a06a-275d12b43e48" + }, + "issuanceDate": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + }, + "issued": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + }, + "issuer": { + "type": "string", + "example": "did:gatc:OWM3MzQ1NzYzZilliM2Q2MTg5NGYwNTQ3" + }, + "proof": { + "$ref": "#/definitions/models.SSIProof" + }, + "type": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "emailCredential" + ] + }, + "validFrom": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + } + } + }, + "models.MechanismId": { + "type": "integer", + "enum": [ + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "AuthNFactor", + "AppAuth", + "Credential" + ] + }, + "models.PersonalDatum": { + "type": "object", + "properties": { + "attribute_id": { + "type": "string" + }, + "attribute_location": { + "type": "string" + }, + "attribute_name": { + "type": "string" + }, + "attribute_sensitive": { + "type": "boolean" + }, + "purposes": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "models.PrConfig": { + "type": "object", + "properties": { + "certificateId": { + "type": "string" + }, + "credentials": { + "type": "array", + "items": { + "$ref": "#/definitions/models.CredentialRequest" + } + }, + "domain": { + "type": "string" + }, + "id": { + "type": "string" + }, + "security": { + "type": "array", + "items": { + "$ref": "#/definitions/models.SecMechanism" + } + }, + "sessionTTL": { + "type": "integer" + }, + "vmethodId": { + "type": "string" + } + } + }, + "models.Preference": { + "type": "string", + "enum": [ + "required", + "preferred" + ], + "x-enum-varnames": [ + "Required", + "Preferred" + ] + }, + "models.PresentationDefinition": { + "type": "object", + "required": [ + "id", + "input_descriptors" + ], + "properties": { + "dataAgreement": { + "$ref": "#/definitions/models.DataAgreementRef" + }, + "format": { + "$ref": "#/definitions/models.Format" + }, + "id": { + "type": "string" + }, + "input_descriptors": { + "type": "array", + "items": { + "$ref": "#/definitions/models.InputDescriptor" + } + }, + "locale": { + "type": "string" + }, + "name": { + "type": "string" + }, + "proof": { + "$ref": "#/definitions/models.SSIProof" + }, + "purpose": { + "type": "string" + }, + "submission_requirements": { + "type": "array", + "items": { + "$ref": "#/definitions/models.SubmissionRequirement" + } + } + } + }, + "models.PresentationRequest": { + "type": "object", + "properties": { + "additionalData": {}, + "auth": { + "description": "String to represent a concrete client", + "type": "array", + "items": { + "$ref": "#/definitions/models.SecMechanism" + } + }, + "callback": { + "description": "For retro-comp", + "type": "string", + "example": "https://connect.gataca.io:9090" + }, + "id": { + "type": "string", + "example": "pres:gatc:AzUcl2VkM1hSO7tmYjuisGpsjCbeiDrG" + }, + "nonce": { + "type": "string", + "example": "AzUcl2VkM1hSO7tmYjuisGpsjCbeiDrG" + }, + "proof": { + "$ref": "#/definitions/models.SSIProof" + }, + "redirect_uri": { + "type": "string" + }, + "requested": { + "description": "Session identifier", + "type": "array", + "items": { + "$ref": "#/definitions/models.CredentialRequest" + } + } + } + }, + "models.PresentationResponse": { + "type": "object", + "properties": { + "id": { + "type": "string", + "example": "pres:gatc:AzUcl2VkM1hSO7tmYjuisGpsjCbeiDrG" + }, + "securityMechanisms": { + "description": "Assuming always ldp_vp because this is v1 Gatc and will be deprecated" + }, + "verifiablePresentation": {} + } + }, + "models.Proof": { + "type": "object", + "properties": { + "@context": { + "$ref": "#/definitions/models.SSIContext" + }, + "cades": { + "type": "string", + "example": "308204c906092a864886f70d010702...266ad9fee3375d8095" + }, + "challenge": { + "type": "string", + "example": "TyYfomXjwPaQoSRzCZk7CxFYR8DwAigt" + }, + "created": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + }, + "creator": { + "type": "string", + "example": "did:gatc:yyyyyyyyyyyy#keys-1" + }, + "domain": { + "type": "string" + }, + "nonce": { + "type": "string", + "example": "TyYfomXjwPaQoSRzCZk7CxFYR8DwAigt" + }, + "proofPurpose": { + "type": "string", + "example": "Authentication" + }, + "proofValue": { + "type": "string", + "example": "bQ5AimlvOv6p5wa9pVlmjWgPMr7j9rKw_yjUL6yHlQNwnKk7HL8VQzIT0Xx" + }, + "signatureValue": { + "type": "string", + "example": "bQ5AimlvOv6p5wa9pVlmjWgPMr7j9rKw_yjUL6yHlQNwnKk7HL8VQzIT0Xx" + }, + "type": { + "type": "string", + "example": "Ed25519Signature2018" + }, + "verificationMethod": { + "type": "string", + "example": "did:gatc:yyyyyyyyyyyy#keys-1" + } + } + }, + "models.Purpose": { + "type": "object", + "properties": { + "data_policy": { + "$ref": "#/definitions/models.DataPolicy" + }, + "id": { + "type": "string" + }, + "legal_basis": { + "type": "string" + }, + "method_of_use": { + "type": "string" + }, + "purpose_category": { + "type": "string" + }, + "purpose_description": { + "type": "string" + } + } + }, + "models.SSIContext": { + "type": "object", + "properties": { + "context": { + "type": "string" + }, + "contexts": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "models.SSIProof": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/models.Proof" + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Proof" + } + } + } + }, + "models.Schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + }, + "uri": { + "type": "string" + } + } + }, + "models.SecMechanism": { + "type": "object", + "properties": { + "accepted": { + "type": "array", + "items": { + "type": "string" + } + }, + "type": { + "$ref": "#/definitions/models.MechanismId" + } + } + }, + "models.Selection": { + "type": "string", + "enum": [ + "all", + "pick" + ], + "x-enum-varnames": [ + "All", + "Pick" + ] + }, + "models.SubmissionRequirement": { + "type": "object", + "required": [ + "rule" + ], + "properties": { + "count": { + "type": "integer", + "minimum": 1 + }, + "from": { + "type": "string" + }, + "from_nested": { + "type": "array", + "items": { + "$ref": "#/definitions/models.SubmissionRequirement" + } + }, + "max": { + "type": "integer" + }, + "min": { + "description": "Can be zero", + "type": "integer" + }, + "name": { + "type": "string" + }, + "purpose": { + "type": "string" + }, + "rule": { + "$ref": "#/definitions/models.Selection" + } + } + }, + "models.TIConfig": { + "type": "object", + "properties": { + "did": { + "type": "string" + }, + "resultingHash": { + "type": "string" + }, + "vc": { + "$ref": "#/definitions/models.LDPVerifiableCredential" + } + } + }, + "models.VCFormat": { + "type": "string", + "enum": [ + "ldp_vc", + "jwt_vc" + ], + "x-enum-varnames": [ + "VCLDP", + "VCJWT" + ] + }, + "models.ValidationProcessResponse": { + "type": "object", + "properties": { + "feedbackHook": { + "type": "string" + }, + "feedbackMessage": { + "type": "string" + }, + "pollingFrequency": { + "description": "seconds", + "type": "integer" + }, + "pollingMaxTime": { + "description": "seconds", + "type": "string" + }, + "token": { + "description": "JWT", + "type": "string" + } + } + }, + "models.VerifiableCredentialStatus": { + "type": "object", + "properties": { + "claim": { + "$ref": "#/definitions/models.Claim" + }, + "issued": { + "type": "string" + }, + "issuer": { + "type": "string" + }, + "proof": { + "type": "string" + }, + "updated": { + "type": "string" + } + } + }, + "models.VerifiableStatus": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "issued": { + "type": "string" + }, + "verifiableCredential": { + "type": "array", + "items": { + "$ref": "#/definitions/models.VerifiableCredentialStatus" + } + } + } + }, + "models.VpToken": { + "type": "object", + "properties": { + "presentation_definition": { + "$ref": "#/definitions/models.PresentationDefinition" + } + } + }, + "net.IPNet": { + "type": "object", + "properties": { + "ip": { + "description": "network number", + "type": "array", + "items": { + "type": "integer" + } + }, + "mask": { + "description": "network mask", + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "pkix.AttributeTypeAndValue": { + "type": "object", + "properties": { + "type": { + "type": "array", + "items": { + "type": "integer" + } + }, + "value": {} + } + }, + "pkix.Extension": { + "type": "object", + "properties": { + "critical": { + "type": "boolean" + }, + "id": { + "type": "array", + "items": { + "type": "integer" + } + }, + "value": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "pkix.Name": { + "type": "object", + "properties": { + "country": { + "type": "array", + "items": { + "type": "string" + } + }, + "extraNames": { + "description": "ExtraNames contains attributes to be copied, raw, into any marshaled\ndistinguished names. Values override any attributes with the same OID.\nThe ExtraNames field is not populated when parsing, see Names.", + "type": "array", + "items": { + "$ref": "#/definitions/pkix.AttributeTypeAndValue" + } + }, + "locality": { + "type": "array", + "items": { + "type": "string" + } + }, + "names": { + "description": "Names contains all parsed attributes. When parsing distinguished names,\nthis can be used to extract non-standard attributes that are not parsed\nby this package. When marshaling to RDNSequences, the Names field is\nignored, see ExtraNames.", + "type": "array", + "items": { + "$ref": "#/definitions/pkix.AttributeTypeAndValue" + } + }, + "serialNumber": { + "type": "string" + }, + "streetAddress": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "pq.NullTime": { + "type": "object", + "properties": { + "time": { + "type": "string" + }, + "valid": { + "description": "Valid is true if Time is not NULL", + "type": "boolean" + } + } + }, + "url.URL": { + "type": "object", + "properties": { + "forceQuery": { + "description": "append a query ('?') even if RawQuery is empty", + "type": "boolean" + }, + "fragment": { + "description": "fragment for references, without '#'", + "type": "string" + }, + "host": { + "description": "host or host:port", + "type": "string" + }, + "opaque": { + "description": "encoded opaque data", + "type": "string" + }, + "path": { + "description": "path (relative paths may omit leading slash)", + "type": "string" + }, + "rawFragment": { + "description": "encoded fragment hint (see EscapedFragment method)", + "type": "string" + }, + "rawPath": { + "description": "encoded path hint (see EscapedPath method)", + "type": "string" + }, + "rawQuery": { + "description": "encoded query values, without '?'", + "type": "string" + }, + "scheme": { + "type": "string" + }, + "user": { + "description": "username and password information", + "allOf": [ + { + "$ref": "#/definitions/url.Userinfo" + } + ] + } + } + }, + "url.Userinfo": { + "type": "object" + }, + "x509.Certificate": { + "type": "object", + "properties": { + "authorityKeyId": { + "type": "array", + "items": { + "type": "integer" + } + }, + "basicConstraintsValid": { + "description": "BasicConstraintsValid indicates whether IsCA, MaxPathLen,\nand MaxPathLenZero are valid.", + "type": "boolean" + }, + "crldistributionPoints": { + "description": "CRL Distribution Points", + "type": "array", + "items": { + "type": "string" + } + }, + "dnsnames": { + "description": "Subject Alternate Name values. (Note that these values may not be valid\nif invalid values were contained within a parsed certificate. For\nexample, an element of DNSNames may not be a valid DNS domain name.)", + "type": "array", + "items": { + "type": "string" + } + }, + "emailAddresses": { + "type": "array", + "items": { + "type": "string" + } + }, + "excludedDNSDomains": { + "type": "array", + "items": { + "type": "string" + } + }, + "excludedEmailAddresses": { + "type": "array", + "items": { + "type": "string" + } + }, + "excludedIPRanges": { + "type": "array", + "items": { + "$ref": "#/definitions/net.IPNet" + } + }, + "excludedURIDomains": { + "type": "array", + "items": { + "type": "string" + } + }, + "extKeyUsage": { + "description": "Sequence of extended key usages.", + "type": "array", + "items": { + "type": "integer" + } + }, + "extensions": { + "description": "Extensions contains raw X.509 extensions. When parsing certificates,\nthis can be used to extract non-critical extensions that are not\nparsed by this package. When marshaling certificates, the Extensions\nfield is ignored, see ExtraExtensions.", + "type": "array", + "items": { + "$ref": "#/definitions/pkix.Extension" + } + }, + "extraExtensions": { + "description": "ExtraExtensions contains extensions to be copied, raw, into any\nmarshaled certificates. Values override any extensions that would\notherwise be produced based on the other fields. The ExtraExtensions\nfield is not populated when parsing certificates, see Extensions.", + "type": "array", + "items": { + "$ref": "#/definitions/pkix.Extension" + } + }, + "ipaddresses": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "integer" + } + } + }, + "isCA": { + "type": "boolean" + }, + "issuer": { + "$ref": "#/definitions/pkix.Name" + }, + "issuingCertificateURL": { + "type": "array", + "items": { + "type": "string" + } + }, + "keyUsage": { + "type": "integer" + }, + "maxPathLen": { + "description": "MaxPathLen and MaxPathLenZero indicate the presence and\nvalue of the BasicConstraints' \"pathLenConstraint\".\n\nWhen parsing a certificate, a positive non-zero MaxPathLen\nmeans that the field was specified, -1 means it was unset,\nand MaxPathLenZero being true mean that the field was\nexplicitly set to zero. The case of MaxPathLen==0 with MaxPathLenZero==false\nshould be treated equivalent to -1 (unset).\n\nWhen generating a certificate, an unset pathLenConstraint\ncan be requested with either MaxPathLen == -1 or using the\nzero value for both MaxPathLen and MaxPathLenZero.", + "type": "integer" + }, + "maxPathLenZero": { + "description": "MaxPathLenZero indicates that BasicConstraintsValid==true\nand MaxPathLen==0 should be interpreted as an actual\nmaximum path length of zero. Otherwise, that combination is\ninterpreted as MaxPathLen not being set.", + "type": "boolean" + }, + "notBefore": { + "description": "Validity bounds.", + "type": "string" + }, + "ocspserver": { + "description": "RFC 5280, 4.2.2.1 (Authority Information Access)", + "type": "array", + "items": { + "type": "string" + } + }, + "permittedDNSDomains": { + "type": "array", + "items": { + "type": "string" + } + }, + "permittedDNSDomainsCritical": { + "description": "Name constraints", + "type": "boolean" + }, + "permittedEmailAddresses": { + "type": "array", + "items": { + "type": "string" + } + }, + "permittedIPRanges": { + "type": "array", + "items": { + "$ref": "#/definitions/net.IPNet" + } + }, + "permittedURIDomains": { + "type": "array", + "items": { + "type": "string" + } + }, + "policyIdentifiers": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "integer" + } + } + }, + "publicKey": {}, + "publicKeyAlgorithm": { + "type": "integer" + }, + "raw": { + "description": "Complete ASN.1 DER content (certificate, signature algorithm and signature).", + "type": "array", + "items": { + "type": "integer" + } + }, + "rawIssuer": { + "description": "DER encoded Issuer", + "type": "array", + "items": { + "type": "integer" + } + }, + "rawSubject": { + "description": "DER encoded Subject", + "type": "array", + "items": { + "type": "integer" + } + }, + "rawSubjectPublicKeyInfo": { + "description": "DER encoded SubjectPublicKeyInfo.", + "type": "array", + "items": { + "type": "integer" + } + }, + "rawTBSCertificate": { + "description": "Certificate part of raw ASN.1 DER content.", + "type": "array", + "items": { + "type": "integer" + } + }, + "serialNumber": { + "$ref": "#/definitions/big.Int" + }, + "signature": { + "type": "array", + "items": { + "type": "integer" + } + }, + "signatureAlgorithm": { + "type": "integer" + }, + "subject": { + "$ref": "#/definitions/pkix.Name" + }, + "subjectKeyId": { + "type": "array", + "items": { + "type": "integer" + } + }, + "unhandledCriticalExtensions": { + "description": "UnhandledCriticalExtensions contains a list of extension IDs that\nwere not (fully) processed when parsing. Verify will fail if this\nslice is non-empty, unless verification is delegated to an OS\nlibrary which understands all the critical extensions.\n\nUsers can access these extensions using Extensions and can remove\nelements from this slice if they believe that they have been\nhandled.", + "type": "array", + "items": { + "type": "array", + "items": { + "type": "integer" + } + } + }, + "unknownExtKeyUsage": { + "description": "Encountered extended key usages unknown to this package.", + "type": "array", + "items": { + "type": "array", + "items": { + "type": "integer" + } + } + }, + "uris": { + "type": "array", + "items": { + "$ref": "#/definitions/url.URL" + } + }, + "version": { + "type": "integer" + } + } + } + }, + "securityDefinitions": { + "BasicAuth": { + "type": "basic" + }, + "Token": { + "type": "apiKey", + "name": "Authorization", + "in": "header" + } + }, + "tags": [ + { + "description": "API to manage Certificates", + "name": "Certificates" + }, + { + "description": "API to manage Credentials", + "name": "Credentials" + }, + { + "description": "API to manage Issuance Configs", + "name": "Issuance Configs" + }, + { + "description": "API to manage Issuance Requests", + "name": "Issuance Requests" + }, + { + "description": "API to manage Status", + "name": "Status" + }, + { + "description": "API to manage Trusted Issuer", + "name": "Trusted Issuer" + } + ] +} \ No newline at end of file diff --git a/dev-helpers/docs/connect-swagger.json b/dev-helpers/docs/connect-swagger.json new file mode 100644 index 00000000000..bff2a83032a --- /dev/null +++ b/dev-helpers/docs/connect-swagger.json @@ -0,0 +1,2941 @@ +{ + "swagger": "2.0", + "info": { + "description": "This is the full API of the Gataca Connect Verifier component for DeID\nThis API contains all the methods exposed, both for configuration and integration", + "title": "Gataca Connect API", + "contact": { + "name": "Gataca", + "url": "https://gataca.io", + "email": "it@gataca.io" + }, + "version": "4.0.2" + }, + "host": "https://connect.gataca.io", + "paths": { + "/admin/v1/config": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Declare a new Tenant to request a new type of Presentation Requests with all the associated requirements and configuration.\nThis API is not necessary for integration. Tenants can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Configs" + ], + "summary": "Create a new Tenant Configuration", + "parameters": [ + { + "description": "Tenant Configuration", + "name": "prConfig", + "in": "body", + "schema": { + "$ref": "#/definitions/models.PEXConfig" + } + } + ], + "responses": { + "201": { + "description": "Tenant configuration created.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "400": { + "description": "Invalid new Tenant configuration.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "403": { + "description": "Not Authorized to manage that tenant.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "409": { + "description": "Invalid new Tenant configuration.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/config/{id}": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Each Tenant represents a unique specific configuration for a Presentation Request. You can get one specific tenant or all your tenants.\nThis API is not necessary for integration. Tenants can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Configs" + ], + "summary": "Get Tenant Configurations", + "parameters": [ + { + "type": "string", + "description": "Tenant Id", + "name": "id", + "in": "path" + } + ], + "responses": { + "200": { + "description": "Tenant configurations requested.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.PEXConfig" + } + } + }, + "400": { + "description": "Invalid requested configurations.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "403": { + "description": "Not Authorized to manage that tenant.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "404": { + "description": "Invalid requested configurations.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Remove an existing tenant configuration and make it further unusable.\nThis API is not necessary for integration. Tenants can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Configs" + ], + "summary": "Delete a Tenant Configuration", + "parameters": [ + { + "type": "string", + "description": "Tenant Id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "201": { + "description": "Tenant configuration deleted.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "400": { + "description": "Invalid selected tenant.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "403": { + "description": "Not Authorized to manage that tenant.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "404": { + "description": "Invalid selected tenant.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + }, + "patch": { + "security": [ + { + "Token": [] + } + ], + "description": "Modify the Presentation Request configuration of an existing tenant.\nThis API is not necessary for integration. Tenants can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Configs" + ], + "summary": "Update an existing Tenant Configuration", + "parameters": [ + { + "description": "Tenant Configuration", + "name": "prConfig", + "in": "body", + "schema": { + "$ref": "#/definitions/models.PEXConfig" + } + }, + { + "type": "string", + "description": "Tenant Id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Tenant configuration updated.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "400": { + "description": "Invalid new Tenant configuration.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "403": { + "description": "Not Authorized to manage that tenant.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "404": { + "description": "Invalid new Tenant configuration.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "409": { + "description": "Invalid new Tenant configuration.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/admin/v2/data_agreements": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Returns all the consents you are allowed to see in your tenant or DID.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Data Agreements" + ], + "summary": "Retrieve all datta agreements \u0026 consents. This endpoints allows pagination.", + "responses": { + "200": { + "description": "Consents and data agreements accepted, stored and signed by the verifier", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.DataAgreement" + } + } + }, + "403": { + "description": "Not Authorized to query a consent or data agreement.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/admin/v2/data_agreements/purpose_templates": { + "get": { + "description": "Retrieve all of Purpose templates stored by tenant.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Data Agreements" + ], + "summary": "Retrieve all Purpose template.", + "responses": { + "200": { + "description": "Collection of Purpose templates", + "schema": { + "type": "array", + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/models.DataAgreement" + } + } + } + }, + "404": { + "description": "Inexistent process Id", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "409": { + "description": "Process Id cannot be retrieved", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/admin/v2/data_agreements/purpose_templates/{id}": { + "get": { + "description": "Retrieve a purpose template by id.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Data Agreements" + ], + "summary": "Retrieve an existing purpose template", + "parameters": [ + { + "type": "string", + "description": "Purpose template Id", + "name": "id", + "in": "path" + } + ], + "responses": { + "200": { + "description": "Purpose with that Id", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Purpose" + } + } + }, + "404": { + "description": "Inexistent process Id", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "409": { + "description": "Process Id cannot be retrieved", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/admin/v2/data_agreements/purpose_templates{id}": { + "delete": { + "description": "Use case not implemented yet", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Data Agreements" + ], + "summary": "Update a collection of purpose templates", + "parameters": [ + { + "description": "Purpose templates collection", + "name": "id", + "in": "body", + "required": true, + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Purpose" + } + } + } + ], + "responses": { + "200": { + "description": "Updated purpose template", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.DataAgreement" + } + } + }, + "404": { + "description": "Inexistent process Id", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "409": { + "description": "Process Id cannot be retrieved", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/admin/v2/data_agreements/{id}": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Returns all the consents you are allowed to see in your tenant or DID.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Data Agreements" + ], + "summary": "Retrieve info about a specific data agreement", + "parameters": [ + { + "type": "string", + "description": "Consent or data agreement Id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Consents and data agreements accepted", + "schema": { + "$ref": "#/definitions/models.DataAgreement" + } + }, + "403": { + "description": "Not Authorized to query a consent or data agreement.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Returns all the consents you are allowed to see in your tenant or DID.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Data Agreements" + ], + "summary": "Retrieve all datta agreements \u0026 consents", + "parameters": [ + { + "type": "string", + "description": "Purpose template Id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Consents and data agreements accepted, stored and signed by the verifier", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.DataAgreement" + } + } + }, + "403": { + "description": "Not Authorized to query a consent or data agreement.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/admin/v2/data_agreements/{id}/data": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Retrieve the last version of the data associated with a specific data agreement or consent", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Data Agreements" + ], + "summary": "Get the data allowed on a data agreement", + "parameters": [ + { + "type": "string", + "description": "Consent or data agreement Id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Most recent data from the required consent", + "schema": {} + }, + "403": { + "description": "Not Authorized to query a consent or data agreement.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "404": { + "description": "Data is not present in the server any more.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/consents": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Consents of use of verifiable credentials are needed to validate sessions containing those VCs. The Consent must be published using the same token allowing to patch the session.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Consents" + ], + "summary": "Create a new consent document", + "parameters": [ + { + "description": "Consent signed by the end user and the Pairwise DID", + "name": "consent", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.VerifiableConsent" + } + } + ], + "responses": { + "201": { + "description": "Consent accepted, stored and signed by the verifier", + "schema": { + "$ref": "#/definitions/models.VerifiableConsent" + } + }, + "403": { + "description": "Not Authorized to create a consent.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/sessions": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "To request user's data in the form of Verifiable Credentials, a specific session must be created.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Sessions" + ], + "summary": "Create a new unique Connect Session to perform a Presentation Exchange.", + "responses": { + "201": { + "description": "Session created", + "schema": { + "$ref": "#/definitions/models.PresentationRequest" + }, + "headers": { + "Set_Cookie": { + "type": "string", + "description": "Store the token as a cookie." + }, + "Token": { + "type": "string", + "description": "Token to consult the session status." + }, + "Token_type": { + "type": "string", + "description": "JWT" + } + } + }, + "403": { + "description": "Not Authorized to create sessions.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/sessions/{id}": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "To retrieve the user's data from a Session, the verification status must be queried.\nThere are three possibilities:\n1. The user has not shared his information yet\n2. The information was shared and valid (conforming to the requested)\n3. The information was shared but invalid", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Sessions" + ], + "summary": "Get the verification status and data of a credential sharing session", + "parameters": [ + { + "type": "string", + "description": "Session ID", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Session data validated successfully", + "schema": { + "$ref": "#/definitions/models.Session" + } + }, + "204": { + "description": "Empty response: Session data pending to be filled", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "403": { + "description": "Given Param is not valid", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Sessions may be deleted after usage to avoid long term persistence of the shared data.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Sessions" + ], + "summary": "Delete a session", + "parameters": [ + { + "type": "string", + "description": "Session ID", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Session Deleted Ok", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "403": { + "description": "Not Authorized to delete the session.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + }, + "patch": { + "security": [ + { + "Token": [] + } + ], + "description": "The user should fill the session data with a Presentation Response matching the requirements of the corresponding Presentation Request. He must use the corresponding token retrieved on the GetSessionToken operation.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Sessions" + ], + "summary": "Fill the session data with VCs", + "parameters": [ + { + "type": "string", + "description": "Session ID", + "name": "id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "AppAuthentication Signed Token", + "name": "AppAuthentication", + "in": "header" + }, + { + "description": "Presentation Response matching the requirements of the Presentation Request", + "name": "presentationResponse", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.PresentationResponse" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/models.Session" + } + }, + "403": { + "description": "Not Authorized to fill the session.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/sessions/{id}/token": { + "get": { + "description": "By receiving a Session Id, a Wallet can retrieve the full presentation request by querying this endpoint. A User token will be attached to allow updating the session with the requested data.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Sessions" + ], + "summary": "Retrieve a presentation request and a user token from an Id.", + "parameters": [ + { + "type": "string", + "description": "Session ID", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/models.PresentationRequest" + }, + "headers": { + "Token": { + "type": "string", + "description": "Token to consult the session status." + }, + "Token_type": { + "type": "string", + "description": "JWT" + } + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/api/v2/authentication_requests/{id}": { + "get": { + "description": "While using oidc, you can refer a request with its URI", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Authentication Requests" + ], + "summary": "Get OIDC Request", + "parameters": [ + { + "type": "string", + "description": "Auth request Id", + "name": "id", + "in": "path" + } + ], + "responses": { + "200": { + "description": "Tenant configurations requested.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.JWTEBSIClaims" + } + } + }, + "404": { + "description": "Inexistent process Id", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "409": { + "description": "Process Id cannot be retrieved", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/api/v2/authentication_requests/{id}/claims": { + "get": { + "description": "While using oidc, you can refer to the claims of a presentation just by its id", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Authentication Requests" + ], + "summary": "Get OIDC Claims", + "parameters": [ + { + "type": "string", + "description": "Auth request Id", + "name": "id", + "in": "path" + } + ], + "responses": { + "200": { + "description": "Authentication request claims", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.EBSIClaims" + } + } + }, + "404": { + "description": "Inexistent process Id", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "409": { + "description": "Process Id cannot be retrieved", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/api/v2/authentication_responses": { + "post": { + "description": "A Holder may submit a verifiable presentation in response to a given authentication_request in order to finish the exchange.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Authentication Responses" + ], + "summary": "Submit a Verifiable Presentation under the siop standard", + "parameters": [ + { + "description": "Verifiable Presentation token for DID SIOP", + "name": "submission", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/controller.sIOPSubmission" + } + } + ], + "responses": { + "200": { + "description": "Verification result.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.VerificationResult" + } + } + }, + "400": { + "description": "Request body malformed", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "403": { + "description": "Not Authorized to submit a presentation exchanges.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "404": { + "description": "Inexistent process Id", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "406": { + "description": "Presentation submission not acceptable", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "409": { + "description": "Process Id cannot be modified", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/api/v2/data_agreements": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Create a new data agreement to record by the Verifier, in order to hold the service", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Data Agreements" + ], + "summary": "Create Data Agreement", + "parameters": [ + { + "description": "Data Agreement of this service", + "name": "dataAgreement", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.DataAgreement" + } + } + ], + "responses": { + "201": { + "description": "Updated Data Agreement", + "schema": { + "$ref": "#/definitions/models.DataAgreement" + } + }, + "400": { + "description": "Invalid input data.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "403": { + "description": "Not Authorized to create data agreements.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/api/v2/data_agreements/{id}": { + "delete": { + "description": "Use case not implemented yet", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Data Agreements" + ], + "summary": "Delete a current data agreement", + "parameters": [ + { + "type": "string", + "description": "Data agreement Id", + "name": "id", + "in": "path" + } + ], + "responses": { + "200": { + "description": "Revocated Data Agreement", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.DataAgreement" + } + } + }, + "404": { + "description": "Inexistent process Id", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "409": { + "description": "Process Id cannot be retrieved", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + }, + "patch": { + "description": "Use cases not implemented yet", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Data Agreements" + ], + "summary": "Modify an existing data agreement", + "parameters": [ + { + "type": "string", + "description": "Data agreement Id", + "name": "id", + "in": "path" + }, + { + "description": "Data Agreement of this service", + "name": "dataAgreement", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.DataAgreement" + } + } + ], + "responses": { + "200": { + "description": "Updated data agreement", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.DataAgreement" + } + } + }, + "404": { + "description": "Inexistent process Id", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "409": { + "description": "Process Id cannot be retrieved", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/api/v2/data_agreements/{id}/{version}": { + "get": { + "description": "Retrieve the last version of a Data Agreement with all the corresponding events.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Data Agreements" + ], + "summary": "Retrieve an existing Data Agreement", + "parameters": [ + { + "type": "string", + "description": "Data agreement Id", + "name": "id", + "in": "path" + }, + { + "type": "string", + "description": "Optional: Version of the data agreement to recover. Default: last", + "name": "version", + "in": "path" + } + ], + "responses": { + "200": { + "description": "Data Agreement with that Id", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.DataAgreement" + } + } + }, + "404": { + "description": "Inexistent process Id", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "409": { + "description": "Process Id cannot be retrieved", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/api/v2/presentations": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Create a new presentation exchange process by providing it's presentation definition. Relying parties with due authentication can perform this operation.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Presentations" + ], + "summary": "Create Presentation Exchange", + "parameters": [ + { + "description": "Presentation definition of this exchange", + "name": "presentationDefinition", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.PresentationDefinition" + } + } + ], + "responses": { + "201": { + "description": "Reference to the exchange process", + "schema": { + "$ref": "#/definitions/controller.PECreationResponse" + } + }, + "400": { + "description": "Invalid input data.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "403": { + "description": "Not Authorized to create exchanges.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/api/v2/presentations/{id}": { + "get": { + "description": "The relying party may at any time query the status of a given exchange at any time to see if the data has been validated.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Presentations" + ], + "summary": "Check the status of a presentation exchange", + "parameters": [ + { + "type": "string", + "description": "Presentation exchange Id", + "name": "id", + "in": "path" + } + ], + "responses": { + "200": { + "description": "Valid verification result.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.VerificationResult" + } + } + }, + "202": { + "description": "Pending verification result. No submission in the exchange yet.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.VerificationResult" + } + } + }, + "400": { + "description": "Process Id cannot be retrieved", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "403": { + "description": "Not Authorized to retrieve the presentation exchange", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "404": { + "description": "Inexistent process Id", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "406": { + "description": "Presentation submission in valid", + "schema": { + "$ref": "#/definitions/models.VerificationResult" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/api/v2/presentations/{id}/data_agreement": { + "get": { + "description": "When expanding a presentation, the verifier may just offer the URI to the data agreement template linked to that service", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Presentations" + ], + "summary": "Get the data agreement template of a Presentation", + "parameters": [ + { + "type": "string", + "description": "Presentation exchange Id", + "name": "id", + "in": "path" + } + ], + "responses": { + "200": { + "description": "Data agreement requested.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.DataAgreement" + } + } + }, + "404": { + "description": "Inexistent process Id", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "409": { + "description": "Process Id cannot be retrieved", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/api/v2/presentations/{id}/definition": { + "get": { + "description": "Upon scanning a QR, a Holder may retrieve the presentation definition associated to the process identifier in order to perform an exchange.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Presentations" + ], + "summary": "Get a Presentation Definition", + "parameters": [ + { + "type": "string", + "description": "Presentation exchange Id", + "name": "id", + "in": "path" + } + ], + "responses": { + "200": { + "description": "Presentation Definition", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.PresentationDefinition" + } + } + }, + "404": { + "description": "Inexistent process Id", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "409": { + "description": "Process Id cannot be retrieved", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/api/v2/presentations/{id}/submission": { + "post": { + "description": "A Holder may submit a verifiable presentation in response to a given definition in order to fulfill the exchange.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Presentations" + ], + "summary": "Submit a Verifiable Presentation", + "parameters": [ + { + "type": "string", + "description": "Presentation exchange Id", + "name": "id", + "in": "path" + }, + { + "description": "Verifiable Presentation", + "name": "submission", + "in": "body", + "required": true, + "schema": {} + } + ], + "responses": { + "200": { + "description": "Verification result.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.VerificationResult" + } + } + }, + "400": { + "description": "Request body malformed", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "403": { + "description": "Not Authorized to submit a presentation exchanges.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "404": { + "description": "Inexistent process Id", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "406": { + "description": "Presentation submission not acceptable", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "409": { + "description": "Process Id cannot be modified", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/api/v2/sessions": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "This updates the previously existing endpoint by switching the data model and protocol to DIF PE + DIF Data Agreements.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Sessions" + ], + "summary": "Create a new presentation definition and data agreement to perform a new exchange.", + "responses": { + "201": { + "description": "Session created", + "schema": { + "$ref": "#/definitions/controller.CreateSessionv2Response" + } + }, + "403": { + "description": "Not Authorized to create sessions.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + }, + "/api/v2/sessions/{id}": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "The relying party may at any time query the status of a given exchange at any time to see if the data has been validated.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Sessions" + ], + "summary": "Check the status of a presentation exchange", + "parameters": [ + { + "type": "string", + "description": "Presentation exchange Id", + "name": "id", + "in": "path" + } + ], + "responses": { + "200": { + "description": "Presentation Exchange Data.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.PExchange" + } + } + }, + "202": { + "description": "Pending verification result. No submission in the exchange yet.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.VerificationResult" + } + } + }, + "400": { + "description": "Process Id cannot be retrieved", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "403": { + "description": "Not Authorized to retrieve the presentation exchange", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "404": { + "description": "Inexistent process Id", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "406": { + "description": "Presentation submission in valid", + "schema": { + "$ref": "#/definitions/models.VerificationResult" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "This allows to clean all data of a presentation exchange after it has been successfully performed.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Sessions" + ], + "summary": "Clean data of presentation exchange after validation", + "responses": { + "200": { + "description": "Session Deleted Ok", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "403": { + "description": "Not Authorized to delete the session.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_connect-api_models.ResponseMessage" + } + } + } + } + } + }, + "definitions": { + "controller.CreateSessionv2Response": { + "type": "object", + "properties": { + "authentication_request": { + "type": "string", + "example": "openid://scope=openid\u0026response_type=id_token\u0026response_mode=post\u0026client_id=https%3A%2F%2Fapi.test.intebsi.xyz%2Fconformance%2Fv1%2Fverifier-mock%2Fauthentication-responses\u0026redirect_uri=https%3A%2F%2Fapi.test.intebsi.xyz%2Fconformance%2Fv1%2Fverifier-mock%2Fauthentication-responses\u0026claims=%5Bobject+Object%5D" + }, + "presentation_definition": { + "$ref": "#/definitions/models.PresentationDefinition" + } + } + }, + "controller.PECreationResponse": { + "type": "object", + "properties": { + "id": { + "type": "string", + "example": "32f54163-7166-48f1-93d8-ff217bdb0653" + }, + "uri": { + "type": "string", + "example": "https://vui.gataca.io/api/presentations/v2/32f54163-7166-48f1-93d8-ff217bdb0653/definition" + } + } + }, + "controller.sIOPSubmission": { + "type": "object" + }, + "github_com_gataca-io_connect-api_models.ResponseMessage": { + "type": "object", + "properties": { + "message": { + "type": "string", + "example": "Some description message" + } + } + }, + "models.ConsentClaims": { + "type": "object", + "properties": { + "credentialId": { + "type": "string", + "example": "cred:gatc:xxxxxxxxxxxxxx" + }, + "location": { + "type": "string", + "example": "https://hub.gataca.io/api/v1/data/VzhKSzZ1R2xaQ0ExLy9wU1Yram9SN2hI" + }, + "purpose": { + "type": "string", + "example": "Authentication" + }, + "type": { + "type": "string", + "example": "emailCredential" + } + } + }, + "models.Constraints": { + "type": "object", + "properties": { + "fields": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Field" + } + }, + "limit_disclosure": { + "type": "boolean" + }, + "subject_is_holder": { + "$ref": "#/definitions/models.Preference" + }, + "subject_is_issuer": { + "$ref": "#/definitions/models.Preference" + } + } + }, + "models.CredentialRequest": { + "type": "object", + "properties": { + "mandatory": { + "type": "boolean", + "example": true + }, + "purpose": { + "type": "string", + "example": "Authentication" + }, + "trustLevel": { + "type": "integer", + "example": 1 + }, + "type": { + "type": "string", + "example": "emailCredential" + } + } + }, + "models.DataAgreement": { + "type": "object", + "properties": { + "@context": { + "$ref": "#/definitions/models.SSIContext" + }, + "data_holder": { + "type": "string" + }, + "data_receiver": { + "$ref": "#/definitions/models.DataReceiver" + }, + "data_subject": { + "type": "string" + }, + "dpia": { + "$ref": "#/definitions/models.Dpia" + }, + "event": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Event" + } + }, + "id": { + "type": "string" + }, + "personal_data": { + "type": "array", + "items": { + "$ref": "#/definitions/models.PersonalDatum" + } + }, + "purposes": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Purpose" + } + }, + "template_id": { + "type": "string" + }, + "template_version": { + "type": "string" + }, + "termination_timestamp": { + "type": "integer" + }, + "version": { + "type": "string" + } + } + }, + "models.DataAgreementRef": { + "type": "object", + "properties": { + "dataAgreement": { + "$ref": "#/definitions/models.DataAgreement" + }, + "ref": { + "type": "string" + } + } + }, + "models.DataPolicy": { + "type": "object", + "properties": { + "data_retention_period": { + "type": "integer" + }, + "geographic_restriction": { + "type": "string" + }, + "industry_scope": { + "type": "string" + }, + "jurisdictions": { + "type": "array", + "items": { + "type": "string" + } + }, + "policy_URL": { + "type": "string" + }, + "storage_location": { + "type": "string" + } + } + }, + "models.DataReceiver": { + "type": "object", + "properties": { + "consent_duration": { + "type": "integer" + }, + "form_of_consent": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "service": { + "type": "string" + }, + "url": { + "type": "string" + } + } + }, + "models.Dpia": { + "type": "object", + "properties": { + "dpia_date": { + "type": "string" + }, + "dpia_summary_url": { + "type": "string" + } + } + }, + "models.EBSIClaims": { + "type": "object", + "properties": { + "encryption_key": { + "$ref": "#/definitions/models.JWK" + }, + "id_token": { + "$ref": "#/definitions/models.IdToken" + }, + "verified_claims": { + "type": "string" + }, + "vp_token": { + "$ref": "#/definitions/models.VpToken" + } + } + }, + "models.Event": { + "type": "object", + "properties": { + "principle_did": { + "type": "string" + }, + "proof": { + "$ref": "#/definitions/models.SSIProof" + }, + "state": { + "type": "string" + }, + "timestamp": { + "type": "integer" + }, + "version": { + "type": "string" + } + } + }, + "models.Field": { + "type": "object", + "required": [ + "path" + ], + "properties": { + "filter": { + "$ref": "#/definitions/models.Filter" + }, + "path": { + "type": "array", + "items": { + "type": "string" + } + }, + "predicate": { + "$ref": "#/definitions/models.Preference" + }, + "purpose": { + "type": "string" + } + } + }, + "models.Filter": { + "type": "object", + "required": [ + "type" + ], + "properties": { + "const": {}, + "enum": { + "type": "array", + "items": {} + }, + "exclusiveMaximum": {}, + "exclusiveMinimum": {}, + "format": { + "type": "string" + }, + "maxLength": { + "type": "integer" + }, + "maximum": {}, + "minLength": { + "type": "integer" + }, + "minimum": {}, + "not": { + "$ref": "#/definitions/models.Filter" + }, + "pattern": { + "type": "string" + }, + "type": { + "type": "string" + } + } + }, + "models.Format": { + "type": "object", + "properties": { + "jwt": { + "$ref": "#/definitions/models.JWTType" + }, + "jwt_vc": { + "$ref": "#/definitions/models.JWTType" + }, + "jwt_vp": { + "$ref": "#/definitions/models.JWTType" + }, + "ldp": { + "$ref": "#/definitions/models.LDPType" + }, + "ldp_vc": { + "$ref": "#/definitions/models.LDPType" + }, + "ldp_vp": { + "$ref": "#/definitions/models.LDPType" + } + } + }, + "models.IdToken": { + "type": "object", + "properties": { + "acr": {}, + "verifiable_presentations": { + "type": "object", + "properties": { + "presentation_definition": { + "$ref": "#/definitions/models.PresentationDefinition" + } + } + } + } + }, + "models.InputDescriptor": { + "type": "object", + "required": [ + "id", + "schema" + ], + "properties": { + "constraints": { + "$ref": "#/definitions/models.Constraints" + }, + "group": { + "type": "array", + "items": { + "type": "string" + } + }, + "id": { + "type": "string" + }, + "metadata": { + "type": "string" + }, + "name": { + "type": "string" + }, + "purpose": { + "type": "string" + }, + "schema": { + "type": "array", + "minItems": 1, + "items": { + "$ref": "#/definitions/models.Schema" + } + } + } + }, + "models.JWK": { + "type": "object", + "properties": { + "alg": { + "type": "string", + "example": "jwa values: https://www.rfc-editor.org/rfc/rfc7518.html#page-6" + }, + "crv": { + "type": "string" + }, + "d": { + "type": "string" + }, + "dp": { + "type": "string" + }, + "dq": { + "type": "string" + }, + "e": { + "type": "string" + }, + "k": { + "type": "string" + }, + "kid": { + "type": "string" + }, + "kty": { + "type": "string" + }, + "n": { + "type": "string" + }, + "p": { + "type": "string" + }, + "q": { + "type": "string" + }, + "qi": { + "type": "string" + }, + "use": { + "type": "string", + "example": "sig,enc" + }, + "x": { + "type": "string" + }, + "y": { + "type": "string" + } + } + }, + "models.JWTEBSIClaims": { + "type": "object", + "properties": { + "aud": { + "type": "array", + "items": { + "type": "string" + } + }, + "claims": { + "$ref": "#/definitions/models.EBSIClaims" + }, + "client_id": { + "type": "string" + }, + "exp": { + "type": "integer" + }, + "iat": { + "type": "integer" + }, + "iss": { + "type": "string" + }, + "jti": { + "type": "string" + }, + "nbf": { + "type": "integer" + }, + "nonce": { + "type": "string" + }, + "redirect_uri": { + "type": "string" + }, + "registration": { + "type": "string" + }, + "response_mode": { + "type": "string" + }, + "response_type": { + "type": "string" + }, + "scope": { + "type": "string" + }, + "state": { + "type": "string" + }, + "sub": { + "type": "string" + }, + "sub_did_verification_method_uri": { + "type": "string" + }, + "sub_jwk": { + "$ref": "#/definitions/models.JWK" + }, + "vc": {}, + "vp": {} + } + }, + "models.JWTType": { + "type": "object", + "required": [ + "alg" + ], + "properties": { + "alg": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "models.LDPType": { + "type": "object", + "required": [ + "proof_type" + ], + "properties": { + "proof_type": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "models.MechanismId": { + "type": "integer", + "enum": [ + 1, + 2, + 3 + ], + "x-enum-varnames": [ + "AuthNFactor", + "AppAuth", + "Credential" + ] + }, + "models.PEXConfig": { + "type": "object", + "properties": { + "advancedDefinition": { + "$ref": "#/definitions/models.PresentationDefinition" + }, + "callback": { + "type": "string" + }, + "credentials": { + "type": "array", + "items": { + "$ref": "#/definitions/models.CredentialRequest" + } + }, + "dataAgreementTemplate": { + "$ref": "#/definitions/models.DataAgreement" + }, + "domain": { + "type": "string", + "example": "https://host.domain.com" + }, + "id": { + "type": "string", + "example": "my-tenant" + }, + "qrId": { + "type": "string" + }, + "security": { + "type": "array", + "items": { + "$ref": "#/definitions/models.SecMechanism" + } + }, + "service": { + "type": "string" + }, + "sessionTTL": { + "type": "integer" + }, + "vmethodId": { + "type": "string", + "example": "did:example:xxxxxxxxxxxx" + } + } + }, + "models.PExchange": { + "type": "object", + "properties": { + "authRequest": { + "$ref": "#/definitions/models.JWTEBSIClaims" + }, + "callback": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "deletedAt": { + "$ref": "#/definitions/pq.NullTime" + }, + "expiredAt": { + "type": "string" + }, + "id": { + "description": "Session identifier", + "type": "string" + }, + "presentationDefinition": { + "$ref": "#/definitions/models.PresentationDefinition" + }, + "presentationSubmission": {}, + "presentationSubmissionFormat": { + "$ref": "#/definitions/models.VPFormat" + }, + "requestedAt": { + "type": "string" + }, + "sourceWallet": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "validations": { + "$ref": "#/definitions/models.VerificationResult" + } + } + }, + "models.PersonalDatum": { + "type": "object", + "properties": { + "attribute_id": { + "type": "string" + }, + "attribute_location": { + "type": "string" + }, + "attribute_name": { + "type": "string" + }, + "attribute_sensitive": { + "type": "boolean" + }, + "purposes": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "models.Preference": { + "type": "string", + "enum": [ + "required", + "preferred" + ], + "x-enum-varnames": [ + "Required", + "Preferred" + ] + }, + "models.PresentationDefinition": { + "type": "object", + "required": [ + "id", + "input_descriptors" + ], + "properties": { + "dataAgreement": { + "$ref": "#/definitions/models.DataAgreementRef" + }, + "format": { + "$ref": "#/definitions/models.Format" + }, + "id": { + "type": "string" + }, + "input_descriptors": { + "type": "array", + "items": { + "$ref": "#/definitions/models.InputDescriptor" + } + }, + "locale": { + "type": "string" + }, + "name": { + "type": "string" + }, + "proof": { + "$ref": "#/definitions/models.SSIProof" + }, + "purpose": { + "type": "string" + }, + "submission_requirements": { + "type": "array", + "items": { + "$ref": "#/definitions/models.SubmissionRequirement" + } + } + } + }, + "models.PresentationRequest": { + "type": "object", + "properties": { + "additionalData": {}, + "auth": { + "description": "String to represent a concrete client", + "type": "array", + "items": { + "$ref": "#/definitions/models.SecMechanism" + } + }, + "callback": { + "description": "For retro-comp", + "type": "string", + "example": "https://connect.gataca.io:9090" + }, + "id": { + "type": "string", + "example": "pres:gatc:AzUcl2VkM1hSO7tmYjuisGpsjCbeiDrG" + }, + "nonce": { + "type": "string", + "example": "AzUcl2VkM1hSO7tmYjuisGpsjCbeiDrG" + }, + "proof": { + "$ref": "#/definitions/models.SSIProof" + }, + "redirect_uri": { + "type": "string" + }, + "requested": { + "description": "Session identifier", + "type": "array", + "items": { + "$ref": "#/definitions/models.CredentialRequest" + } + } + } + }, + "models.PresentationResponse": { + "type": "object", + "properties": { + "id": { + "type": "string", + "example": "pres:gatc:AzUcl2VkM1hSO7tmYjuisGpsjCbeiDrG" + }, + "securityMechanisms": { + "description": "Assuming always ldp_vp because this is v1 Gatc and will be deprecated" + }, + "verifiablePresentation": {} + } + }, + "models.Proof": { + "type": "object", + "properties": { + "@context": { + "$ref": "#/definitions/models.SSIContext" + }, + "cades": { + "type": "string", + "example": "308204c906092a864886f70d010702...266ad9fee3375d8095" + }, + "challenge": { + "type": "string", + "example": "TyYfomXjwPaQoSRzCZk7CxFYR8DwAigt" + }, + "created": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + }, + "creator": { + "type": "string", + "example": "did:gatc:yyyyyyyyyyyy#keys-1" + }, + "domain": { + "type": "string" + }, + "nonce": { + "type": "string", + "example": "TyYfomXjwPaQoSRzCZk7CxFYR8DwAigt" + }, + "proofPurpose": { + "type": "string", + "example": "Authentication" + }, + "proofValue": { + "type": "string", + "example": "bQ5AimlvOv6p5wa9pVlmjWgPMr7j9rKw_yjUL6yHlQNwnKk7HL8VQzIT0Xx" + }, + "signatureValue": { + "type": "string", + "example": "bQ5AimlvOv6p5wa9pVlmjWgPMr7j9rKw_yjUL6yHlQNwnKk7HL8VQzIT0Xx" + }, + "type": { + "type": "string", + "example": "Ed25519Signature2018" + }, + "verificationMethod": { + "type": "string", + "example": "did:gatc:yyyyyyyyyyyy#keys-1" + } + } + }, + "models.Purpose": { + "type": "object", + "properties": { + "data_policy": { + "$ref": "#/definitions/models.DataPolicy" + }, + "id": { + "type": "string" + }, + "legal_basis": { + "type": "string" + }, + "method_of_use": { + "type": "string" + }, + "purpose_category": { + "type": "string" + }, + "purpose_description": { + "type": "string" + } + } + }, + "models.SSIContext": { + "type": "object", + "properties": { + "context": { + "type": "string" + }, + "contexts": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "models.SSIProof": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/models.Proof" + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Proof" + } + } + } + }, + "models.Schema": { + "type": "object", + "properties": { + "required": { + "type": "boolean" + }, + "uri": { + "type": "string" + } + } + }, + "models.SecMechanism": { + "type": "object", + "properties": { + "accepted": { + "type": "array", + "items": { + "type": "string" + } + }, + "type": { + "$ref": "#/definitions/models.MechanismId" + } + } + }, + "models.Selection": { + "type": "string", + "enum": [ + "all", + "pick" + ], + "x-enum-varnames": [ + "All", + "Pick" + ] + }, + "models.Session": { + "type": "object", + "properties": { + "callback": { + "type": "string" + }, + "createdAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + }, + "data": {}, + "dataFormat": { + "$ref": "#/definitions/models.VPFormat" + }, + "expiredAt": { + "type": "string", + "example": "2019-10-01T12:12:08.999Z" + }, + "id": { + "description": "Session identifier", + "type": "string", + "example": "U7wDbXbwsGjbNr3nIDpZuwC94PiDzXLL" + }, + "nonce": { + "description": "Session nonce", + "type": "string", + "example": "j0mLD5K3x7yXjyAv1ZhWFzi22NIf5iZn" + }, + "presentationRequest": { + "$ref": "#/definitions/models.PresentationRequest" + }, + "sourceWallet": { + "type": "string" + }, + "updatedAt": { + "type": "string", + "example": "2019-10-01T12:12:16.396Z" + }, + "valid": { + "type": "boolean" + }, + "validations": { + "$ref": "#/definitions/models.VerificationResult" + } + } + }, + "models.SubmissionRequirement": { + "type": "object", + "required": [ + "rule" + ], + "properties": { + "count": { + "type": "integer", + "minimum": 1 + }, + "from": { + "type": "string" + }, + "from_nested": { + "type": "array", + "items": { + "$ref": "#/definitions/models.SubmissionRequirement" + } + }, + "max": { + "type": "integer" + }, + "min": { + "description": "Can be zero", + "type": "integer" + }, + "name": { + "type": "string" + }, + "purpose": { + "type": "string" + }, + "rule": { + "$ref": "#/definitions/models.Selection" + } + } + }, + "models.VPFormat": { + "type": "string", + "enum": [ + "ldp_vp", + "jwt_vp" + ], + "x-enum-varnames": [ + "VPLDP", + "VPJWT" + ] + }, + "models.VerifiableConsent": { + "type": "object", + "properties": { + "approverSubject": { + "type": "string", + "example": "did:example:xxxxxxxxxxxx" + }, + "authorizedEntity": { + "type": "string", + "example": "did:example:yyyyyyyyyyyy" + }, + "claims": { + "type": "array", + "items": { + "$ref": "#/definitions/models.ConsentClaims" + } + }, + "createdAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + }, + "id": { + "type": "string", + "example": "did:example:zzzzzzzz" + }, + "proofChain": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Proof" + } + } + } + }, + "models.VerificationResult": { + "type": "object", + "properties": { + "checks": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "['proof']" + ] + }, + "errors": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "[]" + ] + }, + "warnings": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "['Context not verified']" + ] + } + } + }, + "models.VpToken": { + "type": "object", + "properties": { + "presentation_definition": { + "$ref": "#/definitions/models.PresentationDefinition" + } + } + }, + "pq.NullTime": { + "type": "object", + "properties": { + "time": { + "type": "string" + }, + "valid": { + "description": "Valid is true if Time is not NULL", + "type": "boolean" + } + } + } + }, + "securityDefinitions": { + "BasicAuth": { + "type": "basic" + }, + "Token": { + "type": "apiKey", + "name": "Authorization", + "in": "header" + } + }, + "tags": [ + { + "description": "API to manage Authentication Requests", + "name": "Authentication Requests" + }, + { + "description": "API to manage Authentication Responses", + "name": "Authentication Responses" + }, + { + "description": "API to manage Connect Tenants", + "name": "Configs" + }, + { + "description": "API to manage Verifiable Consents", + "name": "Consents" + }, + { + "description": "API to manage Data Agreements", + "name": "Data Agreements" + }, + { + "description": "API to manage Presentations", + "name": "Presentations" + }, + { + "description": "API to manage presentation exchange Sessions", + "name": "Sessions" + } + ] +} \ No newline at end of file diff --git a/dev-helpers/docs/core-swagger.json b/dev-helpers/docs/core-swagger.json new file mode 100644 index 00000000000..804e64c002c --- /dev/null +++ b/dev-helpers/docs/core-swagger.json @@ -0,0 +1,3704 @@ +{ + "swagger": "2.0", + "info": { + "description": "This is the full API of the GATACA Core Library.\nThis API contains common models, data and information to be used by GATACA Components.", + "title": "GATACA Core API", + "contact": { + "name": "GATACA", + "url": "https://gataca.io", + "email": "it@gataca.io" + }, + "version": "1.0" + }, + "host": "connect.gataca.io:9090", + "paths": { + "/admin/v1/api_keys": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Retrieve all the loggable entities (Admin ApiKeys and Applications) that can be managed by the logged in Administrator.\nThis API is not necessary for integration. ApiKeys can be managed through Gataca Admin Portal.\nQuery params allowed: did, ssiConfig.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Api-Keys" + ], + "summary": "Get all the managed Admin ApiKeys and Applications. This endpoint is paginated and has filters.", + "responses": { + "200": { + "description": "List of api_keys managed by the requester.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.ApiKey" + } + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Create a new ApiKey using a previously obtained registration token.\nThis API is not necessary for integration. ApiKeys can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Api-Keys" + ], + "summary": "Sign Up a new ApiKey.", + "parameters": [ + { + "description": "ApiKey", + "name": "apiKey", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.ApiKey" + } + } + ], + "responses": { + "201": { + "description": "Admin apiKeys correctly created.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + }, + "headers": { + "Token": { + "type": "string", + "description": "Access token for the new created apiKey" + }, + "Token_type": { + "type": "string", + "description": "JWT" + } + } + }, + "400": { + "description": "Invalid apiKey data.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid registration token", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/api_keys/login": { + "post": { + "security": [ + { + "BasicAuth": [] + } + ], + "description": "Login for aplications using an API_KEY with Basic Auth", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Auth" + ], + "summary": "Basic Admin Login with Api_Key_id:Api_Key", + "parameters": [ + { + "type": "string", + "description": "SSI Config to login", + "name": "tenant", + "in": "header", + "required": true + } + ], + "responses": { + "200": { + "description": "Login Succesful", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + }, + "headers": { + "Token": { + "type": "string", + "description": "ApiKey Token" + }, + "Token_type": { + "type": "string", + "description": "JWT" + } + } + }, + "403": { + "description": "Invalid credentials", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/api_keys/{id}": { + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "Update the data of a given Admin apiKey or Application to change his login, roles or tenants.\nThis API is not necessary for integration. ApiKeys can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Api-Keys" + ], + "summary": "Update an Admin ApiKey or an Application", + "parameters": [ + { + "type": "string", + "description": "ApiKey Id", + "name": "apiKeyID", + "in": "path", + "required": true + }, + { + "description": "ApiKey Data", + "name": "newApiKeyData", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.ApiKey" + } + } + ], + "responses": { + "200": { + "description": "ApiKey updated", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid apiKey data", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to update that apiKey", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Delete all the data of a given Admin apiKey or Application making him unable to login again.\nThis API is not necessary for integration. ApiKeys can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Api-Keys" + ], + "summary": "Delete an Admin ApiKey or an Application", + "parameters": [ + { + "type": "string", + "description": "ApiKey Id", + "name": "apiKeyID", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "ApiKey deleted", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid apiKey data", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to delete that ApiKey or Application", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/api_keys/{id}/password": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Update the password of the logged ApiKey (if his an admin) by proving the knowledge of the existent one, or change the password of any managed application by an Administrator.\nThis API is not necessary for integration. ApiKeys can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Api-Keys" + ], + "summary": "Update the password of an Admin ApiKey or Application", + "parameters": [ + { + "type": "string", + "description": "ApiKey Id", + "name": "apiKeyID", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Password updated", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid apiKey data", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to manage that apiKey", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/keys": { + "get": { + "description": "Retrieve the JSON representation of all the keys that can be used for signing the tokens issued by the component", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Retrieve all present Json Web Keys", + "responses": { + "200": { + "description": "All Json Web Keys", + "schema": { + "$ref": "#/definitions/models.JWKeySet" + } + }, + "404": { + "description": "No keys found", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error retrieving the keys. Possible misconfiguration.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/keys/{keyid}": { + "get": { + "description": "Retrieve the JSON representation of all the keys that can be used for signing the tokens issued by the component", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Retrieve all present Json Web Keys", + "parameters": [ + { + "type": "string", + "description": "JWK Id", + "name": "keyid", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "DID Configuration Modified", + "schema": {} + }, + "404": { + "description": "Non existing Keyid", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error retrieving the Key. Possible missconfiguration", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/login/basic": { + "post": { + "security": [ + { + "BasicAuth": [] + } + ], + "description": "Login for aplications using an API_KEY with Basic Auth", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Auth" + ], + "summary": "Basic Admin Login with Api_Key_id:Api_Key", + "parameters": [ + { + "type": "string", + "description": "SSI Config to login", + "name": "tenant", + "in": "header", + "required": true + } + ], + "responses": { + "200": { + "description": "Login Succesful", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + }, + "headers": { + "Token": { + "type": "string", + "description": "ApiKey Token" + }, + "Token_type": { + "type": "string", + "description": "JWT" + } + } + }, + "403": { + "description": "Invalid credentials", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/login/gataca": { + "post": { + "description": "Validate the second step of the Gataca login process and obtain a valid access Token\nThis API is not necessary for integration. Access can be managed on the Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Auth" + ], + "summary": "Finish the GatacaLogin process", + "parameters": [ + { + "type": "string", + "description": "Session Id", + "name": "session_id", + "in": "header", + "required": true + }, + { + "type": "string", + "description": "Session Id", + "name": "connect_token", + "in": "header", + "required": true + }, + { + "type": "string", + "description": "User Tenant to Login", + "name": "tenant", + "in": "header", + "required": true + } + ], + "responses": { + "200": { + "description": "Authentication succesfull for this user", + "schema": { + "$ref": "#/definitions/controller.GatacaLoginResponse" + }, + "headers": { + "Token": { + "type": "string", + "description": "Admin Access Token" + }, + "Token_Type": { + "type": "string", + "description": "JWT" + } + } + }, + "403": { + "description": "Invalid authentication.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "428": { + "description": "Authentication still in process.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/login/request": { + "get": { + "description": "Admin Users can access using GATACA Login. That login process is performed in two-steps, where you have first to request a login session and then validate it.\nThis API is not necessary for integration. Access can be managed on the Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Auth" + ], + "summary": "Start a new GatacaLogin process", + "responses": { + "200": { + "description": "Requested Session generated", + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "headers": { + "connect_token": { + "type": "string", + "description": "Ciphered connect Token" + }, + "session_id": { + "type": "string", + "description": "Session Id" + } + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/providers": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "This API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Tenants" + ], + "summary": "Retrieve the list of all existing providers", + "responses": { + "200": { + "description": "Names of all the providers", + "schema": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "400": { + "description": "Invalid or non-existing providers.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to obtain the tenanst.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Invalid or non-existing providers.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/roles": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Recover all the roles in the tenant.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Roles" + ], + "summary": "Get all custom roles in tenant.", + "responses": { + "200": { + "description": "Role for the tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid role data.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid registration token", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Check if a role with the same id already exist, if not created it.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Roles" + ], + "summary": "Register a new custom role.", + "parameters": [ + { + "description": "Role", + "name": "role", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.Role" + } + } + ], + "responses": { + "201": { + "description": "Custom role correctly created.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid role data.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid registration token", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/roles/:id": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Check if a role with the same id exist.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Roles" + ], + "summary": "Get a new custom role.", + "parameters": [ + { + "type": "string", + "description": "Role ID", + "name": "roleId", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Role for the Id.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid role data.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid registration token", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "Check if a role with the same id already exist and updates it.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Roles" + ], + "summary": "Update an existing custom role.", + "parameters": [ + { + "type": "string", + "description": "Role Id", + "name": "roleId", + "in": "path", + "required": true + }, + { + "description": "Role", + "name": "role", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.Role" + } + } + ], + "responses": { + "201": { + "description": "Custom role correctly updated.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid role data.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid registration token", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Check if a role exists, and delete it.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Roles" + ], + "summary": "Delete a custom role.", + "parameters": [ + { + "type": "string", + "description": "Role ID", + "name": "roleId", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Custom role correctly deleted.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid role data.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid registration token", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/roles/scopes": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Recover all the valid scopes for the current user requesting it.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Roles" + ], + "summary": "Get all valid scopes.", + "responses": { + "200": { + "description": "Scopes for the user.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid role data.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid registration token", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/setup": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Retrieve all the current configurations\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Get all the current setups. This endpoints allows pagination.", + "responses": { + "200": { + "description": "Current configurations.", + "schema": { + "$ref": "#/definitions/controller.SetupResponse" + } + }, + "206": { + "description": "VM Configurations only.", + "schema": { + "$ref": "#/definitions/controller.SetupResponse" + } + }, + "500": { + "description": "Serverside error checking the application. Possible misconfiguration.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "503": { + "description": "Application not initialized.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "Modify the current setup of the application.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Update the current Setup", + "parameters": [ + { + "description": "Application Configuration", + "name": "Setup", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.SetupRequest" + } + } + ], + "responses": { + "200": { + "description": "Generated DID Document", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid configuration", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to manage configurations.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error generating the DID. Possible invalid registration token.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/setup/auto": { + "post": { + "description": "Create a new Setup with autogenerated keys. Keys will be stored on the database.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.\nOnly tenant and backbone token are mandatory.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Automatically generate a new Setup", + "parameters": [ + { + "description": "AutoSetupRequest", + "name": "AutoConfig", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/controller.DidRequest" + } + }, + { + "type": "string", + "description": "Registration token for the DID", + "name": "backbone_token", + "in": "header", + "required": true + } + ], + "responses": { + "200": { + "description": "Application Setup automatically", + "schema": { + "$ref": "#/definitions/models.DIDDocument" + } + }, + "400": { + "description": "Invalid setup request", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error generating the DID. Possible invalid registration token.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/setup/did": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Create a new DID configuration and register the DID document and the new did will be enrolled with the license + tenant.\nIf the app hasn't been initialized yet, no authentication is required.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Create and register a new DID", + "parameters": [ + { + "description": "DID Configuration", + "name": "alias", + "in": "body", + "schema": { + "type": "string" + } + }, + { + "type": "string", + "description": "Registration token for the DID", + "name": "backbone_token", + "in": "header", + "required": true + } + ], + "responses": { + "200": { + "description": "Generated DID Document", + "schema": { + "$ref": "#/definitions/models.DIDDocument" + } + }, + "400": { + "description": "Invalid configuration", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to manage DIDs.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error generating the DID. Possible invalid registration token.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/setup/did/{did}": { + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "Update a configuration associated to an existing DID. This does not modify the registered DID Document.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Update an existing DID Config", + "parameters": [ + { + "type": "string", + "description": "Config Id", + "name": "did", + "in": "path", + "required": true + }, + { + "description": "DID Configuration", + "name": "DIDConfig", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.DidConfig" + } + } + ], + "responses": { + "200": { + "description": "DID Configuration Modified", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid configuration", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to manage DIDs.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error generating the DID. Possible invalid registration token.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Delete and revoke an existing DID. This makes the did not reusable anymore.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Remove an existing DID Config", + "parameters": [ + { + "type": "string", + "description": "Config Id", + "name": "did", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "DID Deleted", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid configuration", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to manage DIDs.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error generating the DID. Possible invalid registration token.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/setup/eos/:did": { + "post": { + "description": "This endpoints allows to set a did as an ebsi eos, or swap the actual value for new one provided on the request.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Swap the did configured as ebsi eos.", + "responses": { + "200": { + "description": "Did swapped", + "schema": { + "$ref": "#/definitions/controller.StatusResponse" + } + }, + "404": { + "description": "not found.", + "schema": { + "$ref": "#/definitions/controller.StatusResponse" + } + }, + "409": { + "description": "conflict", + "schema": { + "$ref": "#/definitions/controller.StatusResponse" + } + } + } + } + }, + "/admin/v1/setup/init": { + "post": { + "description": "Generate a first setup only if the application has never been initialized before. Configuration can be specifically specified.\nThe specified DID must have been previously created.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Create a first Setup Configuration", + "parameters": [ + { + "description": "Application Configuration", + "name": "Setup", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.SetupRequest" + } + } + ], + "responses": { + "200": { + "description": "Application Configured", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid configuration", + "schema": { + "$ref": "#/definitions/controller.StatusResponse" + } + }, + "403": { + "description": "Application already initialized: not authorized to reinitialize it", + "schema": { + "$ref": "#/definitions/controller.StatusResponse" + } + }, + "500": { + "description": "Serverside error generating the DID. Possible invalid registration token.", + "schema": { + "$ref": "#/definitions/controller.StatusResponse" + } + } + } + } + }, + "/admin/v1/setup/keys": { + "get": { + "description": "Tool to generate an ED25519 Keypair\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Generate a keypair", + "responses": { + "200": { + "description": "PublicKey and SecretKey base58 encoded.", + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "500": { + "description": "Serverside error generating the keys the application.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/setup/secret": { + "get": { + "description": "Tool to create a secret for symmetric encryption\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Generate a secret", + "responses": { + "200": { + "description": "Secret", + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + } + }, + "/admin/v1/setup/status": { + "get": { + "description": "Check if the application has been initialized and is ready to be used.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Check the status of the current setup.", + "responses": { + "200": { + "description": "Application initialized.", + "schema": { + "$ref": "#/definitions/controller.StatusResponse" + } + }, + "503": { + "description": "Application not initialized.", + "schema": { + "$ref": "#/definitions/controller.StatusResponse" + } + } + } + } + }, + "/admin/v1/tenants": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "This API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Tenants" + ], + "summary": "Retrieve the list of all existing tenants", + "responses": { + "200": { + "description": "Names of all the tenants", + "schema": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "400": { + "description": "Invalid or non-existing tenants.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to obtain the tenanst.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Invalid or non-existing tenants.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Create a new tenant with empty data.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Tenants" + ], + "summary": "Create a new tenant.", + "parameters": [ + { + "description": "New tenant data", + "name": "tenant", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.Tenant" + } + } + ], + "responses": { + "200": { + "description": "Tenant data", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Tenant" + } + } + }, + "400": { + "description": "Invalid or non-existing tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to modify the tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Invalid or non-existing tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/tenants/{id}": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "This API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Tenants" + ], + "summary": "Retrieve the information of a given tenant", + "parameters": [ + { + "type": "string", + "description": "tenant Id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Tenant information", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Tenant" + } + } + }, + "400": { + "description": "Invalid or non-existing tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to obtain the tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Invalid or non-existing tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Delete a Tenant and all information related to it.\nThis deletes users, applications, sessions, dids, configurations and all the information related.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Tenants" + ], + "summary": "Remove an existing tenant.", + "parameters": [ + { + "type": "string", + "description": "tenant Id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Tenant deleted correctly", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + }, + "400": { + "description": "Invalid or non-existing tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to modify the tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Invalid or non-existing tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "patch": { + "security": [ + { + "Token": [] + } + ], + "description": "Modify the contents of a given Tenant.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Tenants" + ], + "summary": "Modify a tenant.", + "parameters": [ + { + "type": "string", + "description": "tenant Id", + "name": "id", + "in": "path", + "required": true + }, + { + "description": "New tenant data", + "name": "tenant", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.Tenant" + } + } + ], + "responses": { + "200": { + "description": "Tenant data updated", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Tenant" + } + } + }, + "400": { + "description": "Invalid or non-existing tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to modify the tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Invalid or non-existing tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/users": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Retrieve all the loggable entities (Admin Users and Applications) that can be managed by the logged in Administrator.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Get all teh managed Admin Users and Applications.", + "responses": { + "200": { + "description": "List of users managed by the requester.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.User" + } + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Create a new Admin User or an Application using a previously obtained registration token.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Sign Up a new Admin User or Application.", + "parameters": [ + { + "description": "User", + "name": "user", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.User" + } + } + ], + "responses": { + "201": { + "description": "Admin users correctly created.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + }, + "headers": { + "Token": { + "type": "string", + "description": "Access token for the new created user" + }, + "Token_type": { + "type": "string", + "description": "JWT" + } + } + }, + "400": { + "description": "Invalid user data.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid registration token", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/users/login": { + "post": { + "security": [ + { + "BasicAuth": [] + } + ], + "description": "Login for admin users with Basic Auth\nThis API is not necessary for integration. Access can be managed on the Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Auth" + ], + "summary": "Basic Admin Login with User:Password", + "parameters": [ + { + "type": "string", + "description": "User Tenant to login", + "name": "tenant", + "in": "header", + "required": true + } + ], + "responses": { + "200": { + "description": "Login Succesful", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + }, + "headers": { + "Token": { + "type": "string", + "description": "Admin User Token" + }, + "Token_type": { + "type": "string", + "description": "JWT" + } + } + }, + "403": { + "description": "Invalid credentials", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/users/login/switch": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Endpoint to switch the tenant of the current session for the new one provided.\nThis API is not necessary for integration.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Auth" + ], + "summary": "Switch tenant for the current user loged.", + "parameters": [ + { + "type": "string", + "description": "User Tenant to switch", + "name": "tenant", + "in": "header", + "required": true + } + ], + "responses": { + "200": { + "description": "Switch Succesful", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + }, + "headers": { + "Token": { + "type": "string", + "description": "Admin User Token" + }, + "Token_type": { + "type": "string", + "description": "JWT" + } + } + }, + "403": { + "description": "Invalid credentials", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/users/register": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "In order to signup a new Admin User or an Application, a token must be first obtained.\nThe token will indicate his roles and tenants, so that the User himself can set up freely the rest of his data upon Registration\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Obtain a signup token for an Admin User or an Appplication", + "parameters": [ + { + "description": "Tenant for the new user", + "name": "user", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.User" + } + } + ], + "responses": { + "200": { + "description": "Token succesfully generated", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + }, + "headers": { + "Token": { + "type": "string", + "description": "Registration token for the new user" + }, + "Token_type": { + "type": "string", + "description": "JWT" + } + } + }, + "400": { + "description": "Invalid requested user data", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to signup other users", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/users/status": { + "get": { + "description": "Check if there are registered users in order to create a first one or not.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Check the status of the current Admin Users.", + "responses": { + "200": { + "description": "Admin users correctly initialized.", + "schema": { + "$ref": "#/definitions/controller.StatusResponse" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/controller.StatusResponse" + } + }, + "503": { + "description": "No Admin users initialized", + "schema": { + "$ref": "#/definitions/controller.StatusResponse" + }, + "headers": { + "Token": { + "type": "string", + "description": "Registration token to create the first admin User" + }, + "Token_type": { + "type": "string", + "description": "JWT" + } + } + } + } + } + }, + "/admin/v1/users/{id}": { + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "Update the data of a given Admin user or Application to change his login, roles or tenants.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Update an Admin User or an Application", + "parameters": [ + { + "type": "string", + "description": "User Id", + "name": "userID", + "in": "path", + "required": true + }, + { + "description": "User Data", + "name": "newUserData", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.User" + } + } + ], + "responses": { + "200": { + "description": "User updated", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid user data", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to update that user", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Delete all the data of a given Admin user or Application making him unable to login again.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Delete an Admin User or an Application", + "parameters": [ + { + "type": "string", + "description": "User Id", + "name": "userID", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "User deleted", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid user data", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to delete that User or Application", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/users/{id}/password": { + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "Update the password of the logged User (if his an admin) by proving the knowledge of the existent one, or change the password of any managed application by an Administrator.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Update the password of an Admin User or Application", + "parameters": [ + { + "type": "string", + "description": "User Id", + "name": "userID", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Password updated", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid user data", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to manage that user", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/api/v1/credentials/derive": { + "post": { + "description": "Derive a credential and its proofs for selective disclosure. This Function is not available yet.\nThis API follows the [VC-HTTP-APIs](https://w3c-ccg.github.io/vc-http-api) standard. It is not necessary for integration, but may be used for interoperability with other providers.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "VCAPIs", + "Core", + "Holder" + ], + "summary": "Derive a credential.", + "responses": { + "201": { + "description": "Credential derived successfully.", + "schema": {} + }, + "400": { + "description": "Invalid input", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "501": { + "description": "Not implemented", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/api/v1/credentials/issue": { + "post": { + "description": "Sign and issue a new credential received on the body.\nThis API follows the [VC-HTTP-APIs](https://w3c-ccg.github.io/vc-http-api) standard. It is not necessary for integration, but may be used for interoperability with other providers.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "VCAPIs", + "Core", + "Issuer" + ], + "summary": "Sign and issue a new credential.", + "responses": { + "201": { + "description": "Credential issued correctly.", + "schema": {} + }, + "400": { + "description": "Invalid input", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/api/v1/credentials/status": { + "post": { + "description": "Modify the status of a credential following the [Revocation List 2020](https://w3c-ccg.github.io/vc-status-rl-2020) standard. This is not available yet.\nThis API follows the [VC-HTTP-APIs](https://w3c-ccg.github.io/vc-http-api) standard. It is not necessary for integration, but may be used for interoperability with other providers.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "VCAPIs", + "Core", + "Issuer" + ], + "summary": "Modify the status of a credential.", + "responses": { + "200": { + "description": "Credential status updated correctly.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid input", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Credential not found", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "501": { + "description": "Not implemented", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/api/v1/credentials/verify": { + "post": { + "description": "Verify a single verifiable credential validity.\nThis API follows the [VC-HTTP-APIs](https://w3c-ccg.github.io/vc-http-api) standard. It is not necessary for integration, but may be used for interoperability with other providers.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "VCAPIs", + "Core", + "Verifier" + ], + "summary": "Verify cryptographically a credential.", + "responses": { + "200": { + "description": "Credential validated successfully.", + "schema": { + "$ref": "#/definitions/models.VerificationResult" + } + }, + "400": { + "description": "Invalid input", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/api/v1/health": { + "get": { + "description": "For monitoring purposes. Returns 200 if the service is up and running.", + "produces": [ + "application/json" + ], + "tags": [ + "Monitoring" + ], + "summary": "Check the health of the server.", + "responses": { + "200": { + "description": "RUNNING", + "schema": { + "$ref": "#/definitions/controller.StatusResponse" + } + } + } + } + }, + "/api/v1/presentations/prove": { + "post": { + "description": "Verify a single verifiable credential validity.\nThis API follows the [VC-HTTP-APIs](https://w3c-ccg.github.io/vc-http-api) standard. It is not necessary for integration, but may be used for interoperability with other providers.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "VCAPIs", + "Core", + "Holder" + ], + "summary": "Sign a verifiable presentation.", + "responses": { + "201": { + "description": "Presentation proved by holder.", + "schema": {} + }, + "400": { + "description": "Invalid input", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/api/v1/presentations/verify": { + "post": { + "description": "Verify the validity of a presentation with all its credentials.\nThis API follows the [VC-HTTP-APIs](https://w3c-ccg.github.io/vc-http-api) standard. It is not necessary for integration, but may be used for interoperability with other providers.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "VCAPIs", + "Core", + "Verifier" + ], + "summary": "Verify cryptographically a presentation.", + "responses": { + "200": { + "description": "Presentation verified correctly.", + "schema": { + "$ref": "#/definitions/models.VerificationResult" + } + }, + "400": { + "description": "Invalid or malformed input", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "413": { + "description": "Payload too large", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "429": { + "description": "Rate Limit exceeded", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/api/v1/qrconfigs": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Create a new QR Config and indicate the permissions to update it or delete it", + "produces": [ + "application/json" + ], + "tags": [ + "QRConfigs" + ], + "summary": "Create QR Config.", + "parameters": [ + { + "description": "Config to create", + "name": "config", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.QRConfig" + } + } + ], + "responses": { + "200": { + "description": "Created configuration", + "schema": { + "$ref": "#/definitions/models.QRConfig" + } + }, + "403": { + "description": "Invalid authorization to create that config", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Config not existing", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error creating your config", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/api/v1/qrconfigs/{id}": { + "get": { + "description": "Retrieve an existing qr config", + "produces": [ + "application/json" + ], + "tags": [ + "QRConfigs" + ], + "summary": "Get QR Config", + "parameters": [ + { + "type": "string", + "description": "Config Id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Current configuration", + "schema": { + "$ref": "#/definitions/models.QRConfig" + } + }, + "404": { + "description": "Config not existing", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error retrieving your config", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "Update an existing QR Config.", + "produces": [ + "application/json" + ], + "tags": [ + "QRConfigs" + ], + "summary": "Update QR Config.", + "parameters": [ + { + "type": "string", + "description": "Config Id", + "name": "id", + "in": "path", + "required": true + }, + { + "description": "New config data", + "name": "config", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.QRConfig" + } + } + ], + "responses": { + "200": { + "description": "Updated configuration", + "schema": { + "$ref": "#/definitions/models.QRConfig" + } + }, + "403": { + "description": "Invalid authorization to create that config", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Config not existing", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error retrieving your config", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Delete an existing QR Config.", + "produces": [ + "application/json" + ], + "tags": [ + "QRConfigs" + ], + "summary": "Delete QR Config", + "parameters": [ + { + "type": "string", + "description": "Config Id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Success message", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to create that config", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Config not existing", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error retrieving your config", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/api/v1/version": { + "get": { + "description": "For monitoring purposes. Returns the current version of the service", + "produces": [ + "application/json" + ], + "tags": [ + "Monitoring" + ], + "summary": "Check the current version of the service.", + "responses": { + "200": { + "description": "1.0.0", + "schema": { + "$ref": "#/definitions/controller.VersionResponse" + } + } + } + } + }, + "/ws/v1/login/gataca": { + "post": { + "description": "Perform a full login using web sockets", + "tags": [ + "Auth" + ], + "summary": "Perform a gataca login using websockets", + "responses": {} + } + } + }, + "definitions": { + "controller.DidRequest": { + "type": "object", + "properties": { + "alias": { + "type": "string" + }, + "omitempty": { + "$ref": "#/definitions/models.VerificationMethodConfig" + }, + "provider": { + "type": "string" + }, + "tenant": { + "type": "string" + } + } + }, + "controller.GatacaLoginResponse": { + "type": "object", + "properties": { + "data": { + "type": "string", + "example": "admin@domain.com" + } + } + }, + "controller.SetupResponse": { + "type": "object", + "properties": { + "connectLoginConfig": { + "$ref": "#/definitions/models.ConnectLoginConfig" + }, + "defaultDid": { + "type": "string", + "example": "did:example:xxxxxxxxxxxxxxx" + }, + "didConfigs": {} + } + }, + "controller.StatusResponse": { + "type": "object", + "properties": { + "status": { + "type": "string", + "example": "Ok" + } + } + }, + "controller.VersionResponse": { + "type": "object", + "properties": { + "releaseDate": { + "type": "string", + "example": "2021-08-11T11:05:20Z" + }, + "version": { + "type": "string", + "example": "1.0.0" + } + } + }, + "models.ActorType": { + "type": "string", + "enum": [ + "ADMIN_USER", + "ADMIN_APP", + "ISSUER", + "VERIFIER", + "VALIDATOR", + "HOLDER", + "SERVICE_PROVIDER" + ], + "x-enum-varnames": [ + "ActorUser", + "ActorApp", + "ActorIssuer", + "ActorVerifier", + "ActorValidator", + "ActorHolder", + "ActorServiceProvider" + ] + }, + "models.ApiKey": { + "type": "object", + "properties": { + "alias": { + "type": "string", + "example": "MyAPIKey" + }, + "createdAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + }, + "did": { + "type": "string", + "example": "did:gatc:4yu9274yq9gr8yw9423" + }, + "id": { + "type": "string", + "example": "iqZRLv6L071bwXcJaQdj0msi3pflDxaH" + }, + "password": { + "type": "string", + "example": "S3cuR3p4$sW0rD!" + }, + "ssi_operations": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "[\"verifications-qr1\"", + " \"issuance-qr2\"]" + ] + }, + "status": { + "type": "string", + "example": "ACTIVE" + }, + "tenant": { + "description": "This should not be necessary, the tenant is managed by context. It's just for info and traceability.", + "type": "string", + "example": "gataca" + }, + "updatedAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + } + } + }, + "models.ConnectLoginConfig": { + "type": "object", + "properties": { + "connectClient": { + "type": "string", + "example": "GatacaConnect" + }, + "connectHost": { + "type": "string", + "example": "https://connect.gataca.io" + }, + "connectSecret": { + "type": "string", + "example": "************" + }, + "connectTenant": { + "type": "string", + "example": "Admin" + }, + "secret": { + "description": "For Gataca Login", + "type": "string", + "example": "VZGUJw6eAzRP3APQyyEWPShJ6ex0AI7X" + } + } + }, + "models.DIDDocument": { + "type": "object", + "properties": { + "@context": { + "$ref": "#/definitions/models.SSIContext" + }, + "assertionMethod": { + "type": "array", + "items": { + "$ref": "#/definitions/models.VerificationMethod" + } + }, + "authentication": { + "type": "array", + "items": { + "$ref": "#/definitions/models.VerificationMethod" + } + }, + "capabilityDelegation": { + "type": "array", + "items": { + "$ref": "#/definitions/models.VerificationMethod" + } + }, + "capabilityInvocation": { + "type": "array", + "items": { + "$ref": "#/definitions/models.VerificationMethod" + } + }, + "ebsiToken": { + "type": "string" + }, + "id": { + "type": "string", + "example": "did:example:xxxxxxxxxxxxx" + }, + "keyAgreement": { + "type": "array", + "items": { + "$ref": "#/definitions/models.VerificationMethod" + } + }, + "proof": { + "$ref": "#/definitions/models.SSIProof" + }, + "publicKey": { + "type": "array", + "items": { + "$ref": "#/definitions/models.PublicKey" + } + }, + "verificationMethod": { + "type": "array", + "items": { + "$ref": "#/definitions/models.PublicKey" + } + } + } + }, + "models.DidConfig": { + "type": "object", + "properties": { + "alias": { + "type": "string", + "example": "Service_X" + }, + "createdAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + }, + "default": { + "type": "boolean", + "example": false + }, + "didId": { + "type": "string", + "example": "did:example:xxxxxxxxx" + }, + "isEbsiEOS": { + "type": "boolean" + }, + "ledger": { + "type": "string", + "example": "ETH" + }, + "updatedAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + } + } + }, + "models.JWK": { + "type": "object", + "properties": { + "alg": { + "type": "string", + "example": "jwa values: https://www.rfc-editor.org/rfc/rfc7518.html#page-6" + }, + "crv": { + "type": "string" + }, + "d": { + "type": "string" + }, + "dp": { + "type": "string" + }, + "dq": { + "type": "string" + }, + "e": { + "type": "string" + }, + "k": { + "type": "string" + }, + "kid": { + "type": "string" + }, + "kty": { + "type": "string" + }, + "n": { + "type": "string" + }, + "p": { + "type": "string" + }, + "q": { + "type": "string" + }, + "qi": { + "type": "string" + }, + "use": { + "type": "string", + "example": "sig,enc" + }, + "x": { + "type": "string" + }, + "y": { + "type": "string" + } + } + }, + "models.JWKeySet": { + "type": "object", + "properties": { + "keys": { + "type": "array", + "items": { + "$ref": "#/definitions/models.JWK" + } + } + } + }, + "models.Permission": { + "type": "object", + "properties": { + "actor": { + "allOf": [ + { + "$ref": "#/definitions/models.ActorType" + } + ], + "example": "ADMIN_USER" + }, + "api_keys": { + "type": "array", + "items": { + "type": "string" + } + }, + "dids": { + "type": "array", + "items": { + "type": "string" + } + }, + "org": { + "type": "string" + }, + "role": { + "$ref": "#/definitions/models.RoleID" + }, + "scopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "ssi_operations": { + "type": "array", + "items": { + "type": "string" + } + }, + "tenant": { + "type": "string" + } + } + }, + "models.Proof": { + "type": "object", + "properties": { + "@context": { + "$ref": "#/definitions/models.SSIContext" + }, + "cades": { + "type": "string", + "example": "308204c906092a864886f70d010702...266ad9fee3375d8095" + }, + "challenge": { + "type": "string", + "example": "TyYfomXjwPaQoSRzCZk7CxFYR8DwAigt" + }, + "created": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + }, + "creator": { + "type": "string", + "example": "did:gatc:yyyyyyyyyyyy#keys-1" + }, + "domain": { + "type": "string" + }, + "nonce": { + "type": "string", + "example": "TyYfomXjwPaQoSRzCZk7CxFYR8DwAigt" + }, + "proofPurpose": { + "type": "string", + "example": "Authentication" + }, + "proofValue": { + "type": "string", + "example": "bQ5AimlvOv6p5wa9pVlmjWgPMr7j9rKw_yjUL6yHlQNwnKk7HL8VQzIT0Xx" + }, + "signatureValue": { + "type": "string", + "example": "bQ5AimlvOv6p5wa9pVlmjWgPMr7j9rKw_yjUL6yHlQNwnKk7HL8VQzIT0Xx" + }, + "type": { + "type": "string", + "example": "Ed25519Signature2018" + }, + "verificationMethod": { + "type": "string", + "example": "did:gatc:yyyyyyyyyyyy#keys-1" + } + } + }, + "models.PublicKey": { + "type": "object", + "properties": { + "@context": { + "$ref": "#/definitions/models.SSIContext" + }, + "controller": { + "type": "string", + "example": "did:example:xxxxxxxxxxxxx" + }, + "ethereumAddress": { + "type": "string", + "example": "0x89a932207c485f85226d86f7cd486a89a24fcc12" + }, + "id": { + "type": "string", + "example": "did:example:xxxxxxxxxxxxx#keys-1" + }, + "publicKeyBase58": { + "type": "string", + "example": "2pju8d2E3LWkDJaJpm6BBf73v5DzSRyVNVf3JQwgV7DW" + }, + "publicKeyGpg": { + "type": "string", + "example": "-----BEGIN PGP PUBLIC KEY BLOCK-----\r\nVersion: OpenPGP.js v4.9.0\r\nComment: https://openpgpjs.org\r\n\r\nxjMEXkm5LRYJKwYBBAHaRw8BAQdASmfrjYr7vrjwHNiBsdcImK397Vc3t4BL\r\nE8rnN......v6\r\nDw==\r\n=wSoi\r\n-----END PGP PUBLIC KEY BLOCK-----\r\n" + }, + "publicKeyHex": { + "description": "Unsupported on DID-Core but widely used", + "type": "string" + }, + "publicKeyJwk": { + "$ref": "#/definitions/models.JWK" + }, + "publicKeyPem": { + "type": "string" + }, + "type": { + "description": "Ed25519VerificationKey2018", + "type": "string", + "example": "Ed25519VerificationKey2018" + }, + "usage": { + "type": "string", + "example": "signing,recovery" + } + } + }, + "models.QRConfig": { + "type": "object", + "properties": { + "autorefresh": { + "type": "boolean" + }, + "autostart": { + "type": "boolean" + }, + "buttonText": { + "description": "Just for buttons", + "type": "string" + }, + "callbackServer": { + "description": "Just for v1", + "type": "string" + }, + "checkStatus": { + "type": "string" + }, + "createSession": { + "type": "string" + }, + "domains": { + "type": "array", + "items": { + "type": "string" + } + }, + "dynamicLink": { + "type": "boolean" + }, + "errorCallback": { + "type": "string" + }, + "hideBrandTitle": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "permissions": { + "$ref": "#/definitions/models.Permission" + }, + "pollingFrequency": { + "description": "Just for Polling", + "type": "integer" + }, + "qrModalDescription": { + "type": "string" + }, + "qrModalTitle": { + "type": "string" + }, + "qrRole": { + "description": "Common for any QR", + "allOf": [ + { + "$ref": "#/definitions/models.QRRole" + } + ] + }, + "sessionTimeout": { + "description": "Recommended on v1, mandatory on v2", + "type": "integer" + }, + "socketEndpoint": { + "description": "Just for websockets", + "type": "string" + }, + "successCallback": { + "type": "string" + }, + "useButton": { + "type": "boolean" + }, + "useWs": { + "type": "boolean" + }, + "v2": { + "description": "Just for v2", + "type": "boolean" + }, + "wsOnMessage": { + "type": "string" + }, + "wsOnOpen": { + "type": "string" + } + } + }, + "models.QRRole": { + "type": "string", + "enum": [ + "connect", + "certify" + ], + "x-enum-varnames": [ + "ConnectRole", + "CertifyRole" + ] + }, + "models.ResponseMessage": { + "type": "object", + "properties": { + "errorCode": { + "type": "integer" + }, + "message": { + "type": "string", + "example": "Some description message" + } + } + }, + "models.Role": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + }, + "role_id": { + "allOf": [ + { + "$ref": "#/definitions/models.RoleID" + } + ], + "example": "iqZRLv6L071bwXcJaQdj0msi3pflDxaH" + }, + "scopes": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "[create_apikeys", + " delete_apikeys", + " modify_apikeys]" + ] + }, + "updatedAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + } + } + }, + "models.RoleID": { + "type": "string", + "enum": [ + "SuperAdmin", + "ProviderAdmin", + "TenantAdmin", + "DIDOwner", + "SSIConfigManager", + "APIKeyManager", + "OrganizationOwner", + "ClientApplication", + "HolderWallet", + "Operator" + ], + "x-enum-varnames": [ + "SuperAdmin", + "ProviderAdmin", + "TenantAdmin", + "DIDOwner", + "SSIConfigManager", + "APIKeyManager", + "OrganizationOwner", + "ClientApplication", + "HolderWallet", + "Operator" + ] + }, + "models.SSIContext": { + "type": "object", + "properties": { + "context": { + "type": "string" + }, + "contexts": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "models.SSIProof": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/models.Proof" + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Proof" + } + } + } + }, + "models.SetupRequest": { + "type": "object", + "properties": { + "connectLogin": { + "$ref": "#/definitions/models.ConnectLoginConfig" + }, + "provider": { + "type": "string" + }, + "tenant_id": { + "type": "string" + }, + "vmConfigs": { + "type": "array", + "items": { + "$ref": "#/definitions/models.VerificationMethodConfig" + } + } + } + }, + "models.Tenant": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + }, + "dids": { + "description": "Tenant DIDs are not the same as license DIDs. Tenants are the ones present on this database. License DIDs are all dids for the license. An OnPremise may not have any dids in SaaS Tenant.", + "type": "string", + "example": "[Admin, MyTenant]" + }, + "id": { + "type": "string", + "example": "gataca" + }, + "isDefault": { + "type": "boolean", + "example": false + }, + "provider": { + "type": "string", + "example": "Gataca" + }, + "updatedAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + } + } + }, + "models.User": { + "type": "object", + "properties": { + "api_keys": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "[\"iqZRLv6L071bwXcJaQdj0msi3pflDxaH\"", + " \"MDFVdHhnSm82VDFtMkVtdm5BN0hhMGpC\"]" + ] + }, + "createdAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + }, + "dids": { + "type": "string", + "example": "[did:gatc:4yu9274yq9gr8yw9423, did:gatc:V1U3V0x1b2hEVDJscGZXYXhaa0thMWRn]" + }, + "email": { + "type": "string", + "example": "admin@domain.com" + }, + "orgId": { + "type": "string", + "example": "ADDWQEWQE-QWEQ-QWEE-EEQQ-12312312312" + }, + "password": { + "type": "string", + "example": "S3cuR3p4$sW0rD!" + }, + "phone": { + "type": "string", + "example": "+34 666 66 66 66" + }, + "provider": { + "type": "string", + "example": "Gataca" + }, + "role": { + "allOf": [ + { + "$ref": "#/definitions/models.RoleID" + } + ], + "example": "ADMIN" + }, + "sandbox_id": { + "type": "string", + "example": "A3FB058B-821D-4CFC-8D3F-67567BBA3E1C" + }, + "ssi_operations": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "[\"verifications-qr1\"", + " \"issuance-qr2\"]" + ] + }, + "status": { + "type": "string", + "example": "ACTIVE" + }, + "tenants": { + "type": "string", + "example": "[gataca]" + }, + "updatedAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + } + } + }, + "models.VerificationMethod": { + "type": "object", + "properties": { + "method": { + "$ref": "#/definitions/models.PublicKey" + }, + "reference": { + "type": "string" + } + } + }, + "models.VerificationMethodConfig": { + "type": "object", + "properties": { + "did": { + "type": "string", + "example": "did:example:xxxxxxxxx#keys-1" + }, + "didId": { + "type": "string", + "example": "did:example:xxxxxxxxx" + }, + "privateKeyAlg": { + "type": "string", + "example": "RSAPrivate,ECDSAPrivate" + }, + "privateKeyData": { + "description": "Do not expose private keys on API!", + "type": "string", + "example": "/secrets/secret.pem" + }, + "privateKeyType": { + "type": "string", + "example": "FILE,DB" + }, + "publicKey": { + "type": "string", + "example": "3scaYXugqXQdG4QpVFYbzanT3bmxZQfXbg8B69T4ZZWJKrZnahZ48Hw3SKctAQU1bnMBNwt6Gb6Es4ALqfAiNRmn" + }, + "updatedAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + } + } + }, + "models.VerificationResult": { + "type": "object", + "properties": { + "checks": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "['proof']" + ] + }, + "errors": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "[]" + ] + }, + "warnings": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "['Context not verified']" + ] + } + } + } + }, + "securityDefinitions": { + "BasicAuth": { + "type": "basic" + }, + "Token": { + "type": "apiKey", + "name": "Authorization", + "in": "header" + } + }, + "tags": [ + { + "description": "API to manage Access to the Administration Module", + "name": "Access" + }, + { + "description": "API to manage Admin Users and Applications", + "name": "Users" + }, + { + "description": "API to retrieve manage the public and private Issuers and Schemas Catalogs", + "name": "Catalog" + }, + { + "description": "API to manage the component DIDs and configuration", + "name": "Setup" + }, + { + "description": "All common APIs", + "name": "Core" + } + ] +} \ No newline at end of file diff --git a/dev-helpers/docs/nucleus-swagger.json b/dev-helpers/docs/nucleus-swagger.json new file mode 100644 index 00000000000..ea112d30a3f --- /dev/null +++ b/dev-helpers/docs/nucleus-swagger.json @@ -0,0 +1,4045 @@ +{ + "swagger": "2.0", + "info": { + "description": "This is the full API of the Nucleus Management component.\nThis API contains common models, data and information to be used to manage any Gataca Component.", + "title": "Gataca Nucleus API", + "contact": { + "name": "Gataca", + "url": "https://gataca.io", + "email": "it@gataca.io" + }, + "version": "1.1.4" + }, + "host": "nucleus.gataca.io", + "paths": { + "/admin/v1/api_keys": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Retrieve all the loggable entities (Admin ApiKeys and Applications) that can be managed by the logged in Administrator.\nThis API is not necessary for integration. ApiKeys can be managed through Gataca Admin Portal.\nQuery params allowed: did, ssiConfig.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Api-Keys" + ], + "summary": "Get all the managed Admin ApiKeys and Applications. This endpoint is paginated and has filters.", + "responses": { + "200": { + "description": "List of api_keys managed by the requester.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.ApiKey" + } + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Create a new ApiKey using a previously obtained registration token.\nThis API is not necessary for integration. ApiKeys can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Api-Keys" + ], + "summary": "Sign Up a new ApiKey.", + "parameters": [ + { + "description": "ApiKey", + "name": "apiKey", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.ApiKey" + } + } + ], + "responses": { + "201": { + "description": "Admin apiKeys correctly created.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + }, + "headers": { + "Token": { + "type": "string", + "description": "Access token for the new created apiKey" + }, + "Token_type": { + "type": "string", + "description": "JWT" + } + } + }, + "400": { + "description": "Invalid apiKey data.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid registration token", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/api_keys/login": { + "post": { + "security": [ + { + "BasicAuth": [] + } + ], + "description": "Login for aplications using an API_KEY with Basic Auth", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Api-Keys" + ], + "summary": "Basic Admin Login with Api_Key_id:Api_Key", + "parameters": [ + { + "type": "string", + "description": "SSI Config to login", + "name": "tenant", + "in": "header", + "required": true + } + ], + "responses": { + "200": { + "description": "Login Succesful", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + }, + "headers": { + "Token": { + "type": "string", + "description": "ApiKey Token" + }, + "Token_type": { + "type": "string", + "description": "JWT" + } + } + }, + "403": { + "description": "Invalid credentials", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/api_keys/{id}": { + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "Update the data of a given Admin apiKey or Application to change his login, roles or tenants.\nThis API is not necessary for integration. ApiKeys can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Api-Keys" + ], + "summary": "Update an Admin ApiKey or an Application", + "parameters": [ + { + "type": "string", + "description": "ApiKey Id", + "name": "apiKeyID", + "in": "path", + "required": true + }, + { + "description": "ApiKey Data", + "name": "newApiKeyData", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.ApiKey" + } + } + ], + "responses": { + "200": { + "description": "ApiKey updated", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid apiKey data", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to update that apiKey", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Delete all the data of a given Admin apiKey or Application making him unable to login again.\nThis API is not necessary for integration. ApiKeys can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Api-Keys" + ], + "summary": "Delete an Admin ApiKey or an Application", + "parameters": [ + { + "type": "string", + "description": "ApiKey Id", + "name": "apiKeyID", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "ApiKey deleted", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid apiKey data", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to delete that ApiKey or Application", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/api_keys/{id}/password": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Update the password of the logged ApiKey (if his an admin) by proving the knowledge of the existent one, or change the password of any managed application by an Administrator.\nThis API is not necessary for integration. ApiKeys can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Api-Keys" + ], + "summary": "Update the password of an Admin ApiKey or Application", + "parameters": [ + { + "type": "string", + "description": "ApiKey Id", + "name": "apiKeyID", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Password updated", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid apiKey data", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to manage that apiKey", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/auth": { + "get": { + "description": "Check if you are authenticated and get the current authentication info\nThis API is not necessary for integration.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Auth" + ], + "summary": "Check the information about the currently authenticated user", + "responses": { + "200": { + "description": "Authentication Data", + "schema": { + "$ref": "#/definitions/models.TokenClaims" + } + }, + "403": { + "description": "User not authenticated", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_nucleus_apps_admin_controller.StatusResponse" + } + } + } + } + }, + "/admin/v1/catalog": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Retrieve the merge of the public and private catalogs for all catalog\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Catalog" + ], + "summary": "Retrieve the status of full Catalog", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.FullCatalog" + } + } + }, + "400": { + "description": "Invalid or non-existing Catalog.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to obtain the catalog.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Invalid or non-existing Catalog.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/catalog/{key}": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Retrieve the merge of the public and private catalogs for one specific catalog\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Catalog" + ], + "summary": "Retrieve the status of a single Catalogs", + "parameters": [ + { + "type": "string", + "description": "Catalog Id", + "name": "key", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Merged private and public Catalogs in case", + "schema": { + "type": "array", + "items": {} + } + }, + "400": { + "description": "Invalid or non-existing Catalog.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to obtain the catalog.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Invalid or non-existing Catalog.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/keys": { + "get": { + "description": "Retrieve the JSON representation of all the keys that can be used for signing the tokens issued by the component", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Retrieve all present Json Web Keys", + "responses": { + "200": { + "description": "All Json Web Keys", + "schema": { + "$ref": "#/definitions/models.JWKeySet" + } + }, + "404": { + "description": "No keys found", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error retrieving the keys. Possible misconfiguration.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/keys/{keyid}": { + "get": { + "description": "Retrieve the JSON representation of all the keys that can be used for signing the tokens issued by the component", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Retrieve all present Json Web Keys", + "parameters": [ + { + "type": "string", + "description": "JWK Id", + "name": "keyid", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "DID Configuration Modified", + "schema": {} + }, + "404": { + "description": "Non existing Keyid", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error retrieving the Key. Possible missconfiguration", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/login/gataca": { + "post": { + "description": "Validate the second step of the Gataca login process and obtain a valid access Token\nThis API is not necessary for integration. Access can be managed on the Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Auth" + ], + "summary": "Finish the GatacaLogin process", + "parameters": [ + { + "type": "string", + "description": "Session Id", + "name": "session_id", + "in": "header", + "required": true + }, + { + "type": "string", + "description": "Session Id", + "name": "connect_token", + "in": "header", + "required": true + }, + { + "type": "string", + "description": "User Tenant to Login", + "name": "tenant", + "in": "header", + "required": true + } + ], + "responses": { + "200": { + "description": "Authentication succesfull for this user", + "schema": { + "$ref": "#/definitions/controller.GatacaLoginResponse" + }, + "headers": { + "Token": { + "type": "string", + "description": "Admin Access Token" + }, + "Token_Type": { + "type": "string", + "description": "JWT" + } + } + }, + "403": { + "description": "Invalid authentication.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "428": { + "description": "Authentication still in process.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/login/request": { + "get": { + "description": "Admin Users can access using Gataca Login. That login process is performed in two-steps, where you have first to request a login session and then validate it.\nThis API is not necessary for integration. Access can be managed on the Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Auth" + ], + "summary": "Start a new GatacaLogin process", + "responses": { + "200": { + "description": "Requested Session generated", + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "headers": { + "connect_token": { + "type": "string", + "description": "Ciphered connect Token" + }, + "session_id": { + "type": "string", + "description": "Session Id" + } + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/private/catalog": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Retrieve just the private catalogs for all catalogs\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Catalog" + ], + "summary": "Retrieve the status of full private Catalog", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.FullCatalog" + } + } + }, + "400": { + "description": "Invalid or non-existing Catalog.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to obtain the catalog.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Invalid or non-existing Catalog.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/private/catalog/{key}": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Retrieve just the private catalogs for one specific catalog\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Catalog" + ], + "summary": "Retrieve the status of your private version of a single Catalog", + "parameters": [ + { + "type": "string", + "description": "Catalog Id", + "name": "key", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Merged private and public Catalogs in case", + "schema": { + "type": "array", + "items": {} + } + }, + "400": { + "description": "Invalid or non-existing Catalog.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to obtain the catalog.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Invalid or non-existing Catalog.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/providers": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "This API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Providers" + ], + "summary": "Retrieve the list of all existing providers", + "responses": { + "200": { + "description": "Names of all the providers", + "schema": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "400": { + "description": "Invalid or non-existing providers.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to obtain the tenanst.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Invalid or non-existing providers.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/roles": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Recover all the roles in the tenant.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Roles" + ], + "summary": "Get all custom roles in tenant.", + "responses": { + "200": { + "description": "Role for the tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid role data.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid registration token", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Check if a role with the same id already exist, if not created it.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Roles" + ], + "summary": "Register a new custom role.", + "parameters": [ + { + "description": "Role", + "name": "role", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/permissions.Role" + } + } + ], + "responses": { + "201": { + "description": "Custom role correctly created.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid role data.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid registration token", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/roles/:id": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Check if a role with the same id exist.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Roles" + ], + "summary": "Get a new custom role.", + "parameters": [ + { + "type": "string", + "description": "Role ID", + "name": "roleId", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Role for the Id.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid role data.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid registration token", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "Check if a role with the same id already exist and updates it.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Roles" + ], + "summary": "Update an existing custom role.", + "parameters": [ + { + "type": "string", + "description": "Role Id", + "name": "roleId", + "in": "path", + "required": true + }, + { + "description": "Role", + "name": "role", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/permissions.Role" + } + } + ], + "responses": { + "201": { + "description": "Custom role correctly updated.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid role data.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid registration token", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Check if a role exists, and delete it.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Roles" + ], + "summary": "Delete a custom role.", + "parameters": [ + { + "type": "string", + "description": "Role ID", + "name": "roleId", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Custom role correctly deleted.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid role data.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid registration token", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/roles/scopes": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Recover all the valid scopes for the current user requesting it.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Roles" + ], + "summary": "Get all valid scopes.", + "responses": { + "200": { + "description": "Scopes for the user.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid role data.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid registration token", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/setup": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Retrieve all the current configurations\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Get all the current setups. This endpoints allows pagination.", + "responses": { + "200": { + "description": "Current configurations.", + "schema": { + "$ref": "#/definitions/controller.SetupResponse" + } + }, + "206": { + "description": "VM Configurations only.", + "schema": { + "$ref": "#/definitions/controller.SetupResponse" + } + }, + "500": { + "description": "Serverside error checking the application. Possible misconfiguration.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "503": { + "description": "Application not initialized.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "Modify the current setup of the application.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Update the current Setup", + "parameters": [ + { + "description": "Application Configuration", + "name": "Setup", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.SetupRequest" + } + } + ], + "responses": { + "200": { + "description": "Generated DID Document", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid configuration", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to manage configurations.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error generating the DID. Possible invalid registration token.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/setup/auto": { + "post": { + "description": "Create a new Setup with autogenerated keys. Keys will be stored on the database.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.\nOnly tenant and backbone token are mandatory.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Automatically generate a new Setup", + "parameters": [ + { + "description": "AutoSetupRequest", + "name": "AutoConfig", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/controller.DidRequest" + } + }, + { + "type": "string", + "description": "Registration token for the DID", + "name": "backbone_token", + "in": "header", + "required": true + } + ], + "responses": { + "200": { + "description": "Application Setup automatically", + "schema": { + "$ref": "#/definitions/models.DIDDocument" + } + }, + "400": { + "description": "Invalid setup request", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error generating the DID. Possible invalid registration token.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/setup/auto/login": { + "post": { + "description": "This API is not necessary for integration. Users can be managed through Gataca Admin Portal.\nOnly tenant and backbone token are mandatory.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Automatically generate a config for connect config", + "parameters": [ + { + "description": "AutoLogin Setup request", + "name": "AutoLoginConfig", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/controller.DidRequest" + } + }, + { + "type": "string", + "description": "Registration token for the DID", + "name": "backbone_token", + "in": "header", + "required": true + } + ], + "responses": { + "200": { + "description": "Application Login Setup automatically", + "schema": { + "$ref": "#/definitions/models.DIDDocument" + } + }, + "400": { + "description": "Invalid setup request", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error generating the DID. Possible invalid registration token.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/setup/did": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Create a new DID configuration and register the DID document and the new did will be enrolled with the license + tenant.\nIf the app hasn't been initialized yet, no authentication is required.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Create and register a new DID", + "parameters": [ + { + "description": "DID Configuration", + "name": "alias", + "in": "body", + "schema": { + "type": "string" + } + }, + { + "type": "string", + "description": "Registration token for the DID", + "name": "backbone_token", + "in": "header", + "required": true + } + ], + "responses": { + "200": { + "description": "Generated DID Document", + "schema": { + "$ref": "#/definitions/models.DIDDocument" + } + }, + "400": { + "description": "Invalid configuration", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to manage DIDs.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error generating the DID. Possible invalid registration token.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/setup/did/{did}": { + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "Update a configuration associated to an existing DID. This does not modify the registered DID Document.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Update an existing DID Config", + "parameters": [ + { + "type": "string", + "description": "Config Id", + "name": "did", + "in": "path", + "required": true + }, + { + "description": "DID Configuration", + "name": "DIDConfig", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.DidConfig" + } + } + ], + "responses": { + "200": { + "description": "DID Configuration Modified", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid configuration", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to manage DIDs.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error generating the DID. Possible invalid registration token.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Delete and revoke an existing DID. This makes the did not reusable anymore.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Remove an existing DID Config", + "parameters": [ + { + "type": "string", + "description": "Config Id", + "name": "did", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "DID Deleted", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid configuration", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to manage DIDs.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error generating the DID. Possible invalid registration token.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/setup/eos/:did": { + "post": { + "description": "This endpoints allows to set a did as an ebsi eos, or swap the actual value for new one provided on the request.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Swap the did configured as ebsi eos.", + "responses": { + "200": { + "description": "Did swapped", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_nucleus_apps_admin_controller.StatusResponse" + } + }, + "404": { + "description": "not found.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_nucleus_apps_admin_controller.StatusResponse" + } + }, + "409": { + "description": "conflict", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_nucleus_apps_admin_controller.StatusResponse" + } + } + } + } + }, + "/admin/v1/setup/init": { + "post": { + "description": "Generate a first setup only if the application has never been initialized before. Configuration can be specifically specified.\nThe specified DID must have been previously created.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Create a first Setup Configuration", + "parameters": [ + { + "description": "Application Configuration", + "name": "Setup", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.SetupRequest" + } + } + ], + "responses": { + "200": { + "description": "Application Configured", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid configuration", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_nucleus_apps_admin_controller.StatusResponse" + } + }, + "403": { + "description": "Application already initialized: not authorized to reinitialize it", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_nucleus_apps_admin_controller.StatusResponse" + } + }, + "500": { + "description": "Serverside error generating the DID. Possible invalid registration token.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_nucleus_apps_admin_controller.StatusResponse" + } + } + } + } + }, + "/admin/v1/setup/keys": { + "get": { + "description": "Tool to generate an ED25519 Keypair\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Generate a keypair", + "responses": { + "200": { + "description": "PublicKey and SecretKey base58 encoded.", + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "500": { + "description": "Serverside error generating the keys the application.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/setup/secret": { + "get": { + "description": "Tool to create a secret for symmetric encryption\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Generate a secret", + "responses": { + "200": { + "description": "Secret", + "schema": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + } + } + }, + "/admin/v1/setup/status": { + "get": { + "description": "Check if the application has been initialized and is ready to be used.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Setup" + ], + "summary": "Check the status of the current setup.", + "responses": { + "200": { + "description": "Application initialized.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_nucleus_apps_admin_controller.StatusResponse" + } + }, + "503": { + "description": "Application not initialized.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_nucleus_apps_admin_controller.StatusResponse" + } + } + } + } + }, + "/admin/v1/tenants": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "This API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Tenants" + ], + "summary": "Retrieve the list of all existing tenants", + "responses": { + "200": { + "description": "Names of all the tenants", + "schema": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "400": { + "description": "Invalid or non-existing tenants.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to obtain the tenanst.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Invalid or non-existing tenants.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Create a new tenant with empty data.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Tenants" + ], + "summary": "Create a new tenant.", + "parameters": [ + { + "description": "New tenant data", + "name": "tenant", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.Tenant" + } + } + ], + "responses": { + "200": { + "description": "Tenant data", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Tenant" + } + } + }, + "400": { + "description": "Invalid or non-existing tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to modify the tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Invalid or non-existing tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/tenants/{id}": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "This API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Tenants" + ], + "summary": "Retrieve the information of a given tenant", + "parameters": [ + { + "type": "string", + "description": "tenant Id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Tenant information", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Tenant" + } + } + }, + "400": { + "description": "Invalid or non-existing tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to obtain the tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Invalid or non-existing tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Delete a Tenant and all information related to it.\nThis deletes users, applications, sessions, dids, configurations and all the information related.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Tenants" + ], + "summary": "Remove an existing tenant.", + "parameters": [ + { + "type": "string", + "description": "tenant Id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Tenant deleted correctly", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + }, + "400": { + "description": "Invalid or non-existing tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to modify the tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Invalid or non-existing tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "patch": { + "security": [ + { + "Token": [] + } + ], + "description": "Modify the contents of a given Tenant.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Tenants" + ], + "summary": "Modify a tenant.", + "parameters": [ + { + "type": "string", + "description": "tenant Id", + "name": "id", + "in": "path", + "required": true + }, + { + "description": "New tenant data", + "name": "tenant", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.Tenant" + } + } + ], + "responses": { + "200": { + "description": "Tenant data updated", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Tenant" + } + } + }, + "400": { + "description": "Invalid or non-existing tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to modify the tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Invalid or non-existing tenant.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/users": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Retrieve all the loggable entities (Admin Users and Applications) that can be managed by the logged in Administrator.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Get all the managed Admin Users and Applications.", + "responses": { + "200": { + "description": "List of users managed by the requester.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.User" + } + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Create a new Admin User or an Application using a previously obtained registration token.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Sign Up a new Admin User or Application.", + "parameters": [ + { + "description": "User", + "name": "user", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.User" + } + } + ], + "responses": { + "201": { + "description": "Admin users correctly created.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + }, + "headers": { + "Token": { + "type": "string", + "description": "Access token for the new created user" + }, + "Token_type": { + "type": "string", + "description": "JWT" + } + } + }, + "400": { + "description": "Invalid user data.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid registration token", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/users/login": { + "post": { + "security": [ + { + "BasicAuth": [] + } + ], + "description": "Login for admin users with Basic Auth\nThis API is not necessary for integration. Access can be managed on the Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Basic Admin Login with User:Password", + "parameters": [ + { + "type": "string", + "description": "User Tenant to login", + "name": "tenant", + "in": "header", + "required": true + } + ], + "responses": { + "200": { + "description": "Login Succesful", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + }, + "headers": { + "Token": { + "type": "string", + "description": "Admin User Token" + }, + "Token_type": { + "type": "string", + "description": "JWT" + } + } + }, + "403": { + "description": "Invalid credentials", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/users/login/switch": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Endpoint to switch the tenant of the current session for the new one provided.\nThis API is not necessary for integration.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Switch tenant for the current user loged.", + "parameters": [ + { + "type": "string", + "description": "User Tenant to switch", + "name": "tenant", + "in": "header", + "required": true + } + ], + "responses": { + "200": { + "description": "Switch Succesful", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + }, + "headers": { + "Token": { + "type": "string", + "description": "Admin User Token" + }, + "Token_type": { + "type": "string", + "description": "JWT" + } + } + }, + "403": { + "description": "Invalid credentials", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/users/logout": { + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Logout for admin users with their authentication\nThis API is not necessary for integration. Access can be managed on the Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Logout from session", + "responses": { + "200": { + "description": "Logout Successful", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid credentials", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/users/register": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "In order to signup a new Admin User or an Application, a token must be first obtained.\nThe token will indicate his roles and tenants, so that the User himself can set up freely the rest of his data upon Registration\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Obtain a signup token for an Admin User or an Appplication", + "parameters": [ + { + "description": "Tenant for the new user", + "name": "user", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.User" + } + } + ], + "responses": { + "200": { + "description": "Token succesfully generated", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + }, + "headers": { + "Token": { + "type": "string", + "description": "Registration token for the new user" + }, + "Token_type": { + "type": "string", + "description": "JWT" + } + } + }, + "400": { + "description": "Invalid requested user data", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to signup other users", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/users/status": { + "get": { + "description": "Check if there are registered users in order to create a first one or not.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Check the status of the current Admin Users.", + "responses": { + "200": { + "description": "Admin users correctly initialized.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_nucleus_apps_admin_controller.StatusResponse" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_nucleus_apps_admin_controller.StatusResponse" + } + }, + "503": { + "description": "No Admin users initialized", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_nucleus_apps_admin_controller.StatusResponse" + }, + "headers": { + "Token": { + "type": "string", + "description": "Registration token to create the first admin User" + }, + "Token_type": { + "type": "string", + "description": "JWT" + } + } + } + } + } + }, + "/admin/v1/users/{id}": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "This API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Get the requested user data.", + "responses": { + "200": { + "description": "Requested user", + "schema": { + "$ref": "#/definitions/models.User" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "Update the data of a given Admin user or Application to change his login, roles or tenants.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Update an Admin User or an Application", + "parameters": [ + { + "type": "string", + "description": "User Id", + "name": "userID", + "in": "path", + "required": true + }, + { + "description": "User Data", + "name": "newUserData", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.User" + } + } + ], + "responses": { + "200": { + "description": "User updated", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid user data", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to update that user", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Delete all the data of a given Admin user or Application making him unable to login again.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Delete an Admin User or an Application", + "parameters": [ + { + "type": "string", + "description": "User Id", + "name": "userID", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "User deleted", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid user data", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Unauthorized to delete that User or Application", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/users/{id}/password": { + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "Update the password of the logged User (if his an admin) by proving the knowledge of the existent one, or change the password of any managed application by an Administrator.\nThis API is not necessary for integration. Users can be managed through Gataca Admin Portal.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Update the password of an Admin User or Application", + "parameters": [ + { + "type": "string", + "description": "User Id", + "name": "userID", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Password updated", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid user data", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to manage that user", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/api/v1/credentials/derive": { + "post": { + "description": "Derive a credential and its proofs for selective disclosure. This Function is not available yet.\nThis API follows the [VC-HTTP-APIs](https://w3c-ccg.github.io/vc-http-api) standard. It is not necessary for integration, but may be used for interoperability with other providers.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "VCAPIs" + ], + "summary": "Derive a credential.", + "responses": { + "201": { + "description": "Credential derived successfully.", + "schema": {} + }, + "400": { + "description": "Invalid input", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "501": { + "description": "Not implemented", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/api/v1/credentials/issue": { + "post": { + "description": "Sign and issue a new credential received on the body.\nThis API follows the [VC-HTTP-APIs](https://w3c-ccg.github.io/vc-http-api) standard. It is not necessary for integration, but may be used for interoperability with other providers.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "VCAPIs" + ], + "summary": "Sign and issue a new credential.", + "responses": { + "201": { + "description": "Credential issued correctly.", + "schema": {} + }, + "400": { + "description": "Invalid input", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/api/v1/credentials/status": { + "post": { + "description": "Modify the status of a credential following the [Revocation List 2020](https://w3c-ccg.github.io/vc-status-rl-2020) standard. This is not available yet.\nThis API follows the [VC-HTTP-APIs](https://w3c-ccg.github.io/vc-http-api) standard. It is not necessary for integration, but may be used for interoperability with other providers.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "VCAPIs" + ], + "summary": "Modify the status of a credential.", + "responses": { + "200": { + "description": "Credential status updated correctly.", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "400": { + "description": "Invalid input", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Credential not found", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "501": { + "description": "Not implemented", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/api/v1/credentials/verify": { + "post": { + "description": "Verify a single verifiable credential validity.\nThis API follows the [VC-HTTP-APIs](https://w3c-ccg.github.io/vc-http-api) standard. It is not necessary for integration, but may be used for interoperability with other providers.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "VCAPIs" + ], + "summary": "Verify cryptographically a credential.", + "responses": { + "200": { + "description": "Credential validated successfully.", + "schema": { + "$ref": "#/definitions/models.VerificationResult" + } + }, + "400": { + "description": "Invalid input", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/api/v1/presentations/prove": { + "post": { + "description": "Verify a single verifiable credential validity.\nThis API follows the [VC-HTTP-APIs](https://w3c-ccg.github.io/vc-http-api) standard. It is not necessary for integration, but may be used for interoperability with other providers.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "VCAPIs" + ], + "summary": "Sign a verifiable presentation.", + "responses": { + "201": { + "description": "Presentation proved by holder.", + "schema": {} + }, + "400": { + "description": "Invalid input", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/api/v1/presentations/verify": { + "post": { + "description": "Verify the validity of a presentation with all its credentials.\nThis API follows the [VC-HTTP-APIs](https://w3c-ccg.github.io/vc-http-api) standard. It is not necessary for integration, but may be used for interoperability with other providers.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "VCAPIs" + ], + "summary": "Verify cryptographically a presentation.", + "responses": { + "200": { + "description": "Presentation verified correctly.", + "schema": { + "$ref": "#/definitions/models.VerificationResult" + } + }, + "400": { + "description": "Invalid or malformed input", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "413": { + "description": "Payload too large", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "429": { + "description": "Rate Limit exceeded", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/api/v1/qrconfigs": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Create a new QR Config and indicate the permissions to update it or delete it", + "produces": [ + "application/json" + ], + "tags": [ + "QRConfigs" + ], + "summary": "Create QR Config.", + "parameters": [ + { + "description": "Config to create", + "name": "config", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.QRConfig" + } + } + ], + "responses": { + "200": { + "description": "Created configuration", + "schema": { + "$ref": "#/definitions/models.QRConfig" + } + }, + "403": { + "description": "Invalid authorization to create that config", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Config not existing", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error creating your config", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/api/v1/qrconfigs/{id}": { + "get": { + "description": "Retrieve an existing qr config", + "produces": [ + "application/json" + ], + "tags": [ + "QRConfigs" + ], + "summary": "Get QR Config", + "parameters": [ + { + "type": "string", + "description": "Config Id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Current configuration", + "schema": { + "$ref": "#/definitions/models.QRConfig" + } + }, + "404": { + "description": "Config not existing", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error retrieving your config", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "Update an existing QR Config.", + "produces": [ + "application/json" + ], + "tags": [ + "QRConfigs" + ], + "summary": "Update QR Config.", + "parameters": [ + { + "type": "string", + "description": "Config Id", + "name": "id", + "in": "path", + "required": true + }, + { + "description": "New config data", + "name": "config", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.QRConfig" + } + } + ], + "responses": { + "200": { + "description": "Updated configuration", + "schema": { + "$ref": "#/definitions/models.QRConfig" + } + }, + "403": { + "description": "Invalid authorization to create that config", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Config not existing", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error retrieving your config", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Delete an existing QR Config.", + "produces": [ + "application/json" + ], + "tags": [ + "QRConfigs" + ], + "summary": "Delete QR Config", + "parameters": [ + { + "type": "string", + "description": "Config Id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Success message", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authorization to create that config", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "404": { + "description": "Config not existing", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error retrieving your config", + "schema": { + "$ref": "#/definitions/models.ResponseMessage" + } + } + } + } + }, + "/ws/v1/login/gataca": { + "post": { + "description": "Perform a full login using web sockets", + "tags": [ + "Auth" + ], + "summary": "Perform a gataca login using websockets", + "responses": {} + } + } + }, + "definitions": { + "controller.DidRequest": { + "type": "object", + "properties": { + "alias": { + "type": "string" + }, + "omitempty": { + "$ref": "#/definitions/models.VerificationMethodConfig" + }, + "provider": { + "type": "string" + }, + "tenant": { + "type": "string" + } + } + }, + "controller.GatacaLoginResponse": { + "type": "object", + "properties": { + "data": { + "type": "string", + "example": "admin@domain.com" + } + } + }, + "controller.SetupResponse": { + "type": "object", + "properties": { + "connectLoginConfig": { + "$ref": "#/definitions/models.ConnectLoginConfig" + }, + "defaultDid": { + "type": "string", + "example": "did:example:xxxxxxxxxxxxxxx" + }, + "didConfigs": {} + } + }, + "github_com_gataca-io_nucleus_apps_admin_controller.StatusResponse": { + "type": "object", + "properties": { + "status": { + "type": "string", + "example": "Ok" + } + } + }, + "models.ApiKey": { + "type": "object", + "properties": { + "alias": { + "type": "string", + "example": "MyAPIKey" + }, + "createdAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + }, + "did": { + "type": "string", + "example": "did:gatc:4yu9274yq9gr8yw9423" + }, + "id": { + "type": "string", + "example": "iqZRLv6L071bwXcJaQdj0msi3pflDxaH" + }, + "password": { + "type": "string", + "example": "S3cuR3p4$sW0rD!" + }, + "ssi_operations": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "[\"verifications-qr1\"", + " \"issuance-qr2\"]" + ] + }, + "status": { + "type": "string", + "example": "ACTIVE" + }, + "tenant": { + "description": "This should not be necessary, the tenant is managed by context. It's just for info and traceability.", + "type": "string", + "example": "gataca" + }, + "updatedAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + } + } + }, + "models.ConnectLoginConfig": { + "type": "object", + "properties": { + "connectClient": { + "type": "string", + "example": "GatacaConnect" + }, + "connectHost": { + "type": "string", + "example": "https://connect.gataca.io" + }, + "connectSecret": { + "type": "string", + "example": "************" + }, + "connectTenant": { + "type": "string", + "example": "Admin" + }, + "provider": { + "type": "string", + "example": "gataca" + }, + "secret": { + "description": "For Gataca Login", + "type": "string", + "example": "VZGUJw6eAzRP3APQyyEWPShJ6ex0AI7X" + } + } + }, + "models.DIDDocument": { + "type": "object", + "properties": { + "@context": { + "$ref": "#/definitions/models.SSIContext" + }, + "assertionMethod": { + "type": "array", + "items": { + "$ref": "#/definitions/models.VerificationMethod" + } + }, + "authentication": { + "type": "array", + "items": { + "$ref": "#/definitions/models.VerificationMethod" + } + }, + "capabilityDelegation": { + "type": "array", + "items": { + "$ref": "#/definitions/models.VerificationMethod" + } + }, + "capabilityInvocation": { + "type": "array", + "items": { + "$ref": "#/definitions/models.VerificationMethod" + } + }, + "ebsiToken": { + "type": "string" + }, + "id": { + "type": "string", + "example": "did:example:xxxxxxxxxxxxx" + }, + "keyAgreement": { + "type": "array", + "items": { + "$ref": "#/definitions/models.VerificationMethod" + } + }, + "proof": { + "$ref": "#/definitions/models.SSIProof" + }, + "publicKey": { + "type": "array", + "items": { + "$ref": "#/definitions/models.PublicKey" + } + }, + "verificationMethod": { + "type": "array", + "items": { + "$ref": "#/definitions/models.PublicKey" + } + } + } + }, + "models.DidConfig": { + "type": "object", + "properties": { + "alias": { + "type": "string", + "example": "Service_X" + }, + "createdAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + }, + "default": { + "type": "boolean", + "example": false + }, + "didId": { + "type": "string", + "example": "did:example:xxxxxxxxx" + }, + "isEbsiEOS": { + "type": "boolean" + }, + "ledger": { + "type": "string", + "example": "ETH" + }, + "updatedAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + } + } + }, + "models.FullCatalog": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": {} + } + }, + "models.JWK": { + "type": "object", + "properties": { + "alg": { + "type": "string", + "example": "jwa values: https://www.rfc-editor.org/rfc/rfc7518.html#page-6" + }, + "crv": { + "type": "string" + }, + "d": { + "type": "string" + }, + "dp": { + "type": "string" + }, + "dq": { + "type": "string" + }, + "e": { + "type": "string" + }, + "k": { + "type": "string" + }, + "kid": { + "type": "string" + }, + "kty": { + "type": "string" + }, + "n": { + "type": "string" + }, + "p": { + "type": "string" + }, + "q": { + "type": "string" + }, + "qi": { + "type": "string" + }, + "use": { + "type": "string", + "example": "sig,enc" + }, + "x": { + "type": "string" + }, + "y": { + "type": "string" + } + } + }, + "models.JWKeySet": { + "type": "object", + "properties": { + "keys": { + "type": "array", + "items": { + "$ref": "#/definitions/models.JWK" + } + } + } + }, + "models.Proof": { + "type": "object", + "properties": { + "@context": { + "$ref": "#/definitions/models.SSIContext" + }, + "cades": { + "type": "string", + "example": "308204c906092a864886f70d010702...266ad9fee3375d8095" + }, + "challenge": { + "type": "string", + "example": "TyYfomXjwPaQoSRzCZk7CxFYR8DwAigt" + }, + "created": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + }, + "creator": { + "type": "string", + "example": "did:gatc:yyyyyyyyyyyy#keys-1" + }, + "domain": { + "type": "string" + }, + "nonce": { + "type": "string", + "example": "TyYfomXjwPaQoSRzCZk7CxFYR8DwAigt" + }, + "proofPurpose": { + "type": "string", + "example": "Authentication" + }, + "proofValue": { + "type": "string", + "example": "bQ5AimlvOv6p5wa9pVlmjWgPMr7j9rKw_yjUL6yHlQNwnKk7HL8VQzIT0Xx" + }, + "signatureValue": { + "type": "string", + "example": "bQ5AimlvOv6p5wa9pVlmjWgPMr7j9rKw_yjUL6yHlQNwnKk7HL8VQzIT0Xx" + }, + "type": { + "type": "string", + "example": "Ed25519Signature2018" + }, + "verificationMethod": { + "type": "string", + "example": "did:gatc:yyyyyyyyyyyy#keys-1" + } + } + }, + "models.PublicKey": { + "type": "object", + "properties": { + "@context": { + "$ref": "#/definitions/models.SSIContext" + }, + "controller": { + "type": "string", + "example": "did:example:xxxxxxxxxxxxx" + }, + "ethereumAddress": { + "type": "string", + "example": "0x89a932207c485f85226d86f7cd486a89a24fcc12" + }, + "id": { + "type": "string", + "example": "did:example:xxxxxxxxxxxxx#keys-1" + }, + "publicKeyBase58": { + "type": "string", + "example": "2pju8d2E3LWkDJaJpm6BBf73v5DzSRyVNVf3JQwgV7DW" + }, + "publicKeyGpg": { + "type": "string", + "example": "-----BEGIN PGP PUBLIC KEY BLOCK-----\r\nVersion: OpenPGP.js v4.9.0\r\nComment: https://openpgpjs.org\r\n\r\nxjMEXkm5LRYJKwYBBAHaRw8BAQdASmfrjYr7vrjwHNiBsdcImK397Vc3t4BL\r\nE8rnN......v6\r\nDw==\r\n=wSoi\r\n-----END PGP PUBLIC KEY BLOCK-----\r\n" + }, + "publicKeyHex": { + "description": "Unsupported on DID-Core but widely used", + "type": "string" + }, + "publicKeyJwk": { + "$ref": "#/definitions/models.JWK" + }, + "publicKeyPem": { + "type": "string" + }, + "type": { + "description": "Ed25519VerificationKey2018", + "type": "string", + "example": "Ed25519VerificationKey2018" + }, + "usage": { + "type": "string", + "example": "signing,recovery" + } + } + }, + "models.QRConfig": { + "type": "object", + "properties": { + "autorefresh": { + "type": "boolean" + }, + "autostart": { + "type": "boolean" + }, + "buttonText": { + "description": "Just for buttons", + "type": "string" + }, + "callbackServer": { + "description": "Just for v1", + "type": "string" + }, + "checkStatus": { + "type": "string" + }, + "createSession": { + "type": "string" + }, + "domains": { + "type": "array", + "items": { + "type": "string" + } + }, + "dynamicLink": { + "type": "boolean" + }, + "errorCallback": { + "type": "string" + }, + "hideBrandTitle": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "permissions": { + "$ref": "#/definitions/permissions.Permission" + }, + "pollingFrequency": { + "description": "Just for Polling", + "type": "integer" + }, + "qrModalDescription": { + "type": "string" + }, + "qrModalTitle": { + "type": "string" + }, + "qrRole": { + "description": "Common for any QR", + "allOf": [ + { + "$ref": "#/definitions/models.QRRole" + } + ] + }, + "sessionTimeout": { + "description": "Recommended on v1, mandatory on v2", + "type": "integer" + }, + "socketEndpoint": { + "description": "Just for websockets", + "type": "string" + }, + "successCallback": { + "type": "string" + }, + "useButton": { + "type": "boolean" + }, + "useWs": { + "type": "boolean" + }, + "v2": { + "description": "Just for v2", + "type": "boolean" + }, + "wsOnMessage": { + "type": "string" + }, + "wsOnOpen": { + "type": "string" + } + } + }, + "models.QRRole": { + "type": "string", + "enum": [ + "connect", + "certify" + ], + "x-enum-varnames": [ + "ConnectRole", + "CertifyRole" + ] + }, + "models.ResponseMessage": { + "type": "object", + "properties": { + "errorCode": { + "type": "integer" + }, + "message": { + "type": "string", + "example": "Some description message" + } + } + }, + "models.SSIContext": { + "type": "object", + "properties": { + "context": { + "type": "string" + }, + "contexts": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "models.SSIProof": { + "type": "object", + "properties": { + "value": { + "$ref": "#/definitions/models.Proof" + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Proof" + } + } + } + }, + "models.SetupRequest": { + "type": "object", + "properties": { + "connectLogin": { + "$ref": "#/definitions/models.ConnectLoginConfig" + }, + "provider": { + "type": "string" + }, + "tenant_id": { + "type": "string" + }, + "vmConfigs": { + "type": "array", + "items": { + "$ref": "#/definitions/models.VerificationMethodConfig" + } + } + } + }, + "models.Tenant": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + }, + "dids": { + "description": "Tenant DIDs are not the same as license DIDs. Tenants are the ones present on this database. License DIDs are all dids for the license. An OnPremise may not have any dids in SaaS Tenant.", + "type": "string", + "example": "[Admin, MyTenant]" + }, + "id": { + "type": "string", + "example": "gataca" + }, + "isDefault": { + "type": "boolean", + "example": false + }, + "provider": { + "type": "string", + "example": "Gataca" + }, + "updatedAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + } + } + }, + "models.TokenClaims": { + "type": "object", + "properties": { + "account_id": { + "type": "string" + }, + "act": { + "type": "string" + }, + "aud": { + "type": "array", + "items": { + "type": "string" + } + }, + "callback": { + "type": "string" + }, + "exp": { + "type": "integer" + }, + "iat": { + "type": "integer" + }, + "iss": { + "type": "string" + }, + "jti": { + "type": "string" + }, + "nbf": { + "type": "integer" + }, + "orgId": { + "type": "string" + }, + "permissions": { + "$ref": "#/definitions/permissions.Permission" + }, + "sbx": { + "type": "string" + }, + "sub": { + "type": "string" + }, + "type": { + "type": "string" + }, + "wallet_aud": { + "type": "string" + } + } + }, + "models.User": { + "type": "object", + "properties": { + "api_keys": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "[\"iqZRLv6L071bwXcJaQdj0msi3pflDxaH\"", + " \"MDFVdHhnSm82VDFtMkVtdm5BN0hhMGpC\"]" + ] + }, + "createdAt": { + "description": "SandboxId string `gorm:\"\" json:\"sandbox_id\" example:\"A3FB058B-821D-4CFC-8D3F-67567BBA3E1C\" description:\"Sandbox identifier\"`\nOrgId string `gorm:\"\" json:\"orgId\" example:\"ADDWQEWQE-QWEQ-QWEE-EEQQ-12312312312\" description:\"Org identifier used on Gaas\"`", + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + }, + "dids": { + "type": "string", + "example": "[did:gatc:4yu9274yq9gr8yw9423, did:gatc:V1U3V0x1b2hEVDJscGZXYXhaa0thMWRn]" + }, + "email": { + "type": "string", + "example": "admin@domain.com" + }, + "password": { + "type": "string", + "example": "S3cuR3p4$sW0rD!" + }, + "phone": { + "type": "string", + "example": "+34 666 66 66 66" + }, + "provider": { + "type": "string", + "example": "Gataca" + }, + "role": { + "allOf": [ + { + "$ref": "#/definitions/permissions.RoleID" + } + ], + "example": "ADMIN" + }, + "ssi_operations": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "[\"verifications-qr1\"", + " \"issuance-qr2\"]" + ] + }, + "status": { + "type": "string", + "example": "ACTIVE" + }, + "tenants": { + "type": "string", + "example": "[gataca]" + }, + "updatedAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + } + } + }, + "models.VerificationMethod": { + "type": "object", + "properties": { + "method": { + "$ref": "#/definitions/models.PublicKey" + }, + "reference": { + "type": "string" + } + } + }, + "models.VerificationMethodConfig": { + "type": "object", + "properties": { + "did": { + "type": "string", + "example": "did:example:xxxxxxxxx#keys-1" + }, + "didId": { + "type": "string", + "example": "did:example:xxxxxxxxx" + }, + "privateKeyAlg": { + "type": "string", + "example": "RSAPrivate,ECDSAPrivate" + }, + "privateKeyData": { + "description": "Do not expose private keys on API!", + "type": "string", + "example": "/secrets/secret.pem" + }, + "privateKeyType": { + "type": "string", + "example": "FILE,DB" + }, + "publicKey": { + "type": "string", + "example": "3scaYXugqXQdG4QpVFYbzanT3bmxZQfXbg8B69T4ZZWJKrZnahZ48Hw3SKctAQU1bnMBNwt6Gb6Es4ALqfAiNRmn" + }, + "updatedAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + } + } + }, + "models.VerificationResult": { + "type": "object", + "properties": { + "checks": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "['proof']" + ] + }, + "errors": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "[]" + ] + }, + "warnings": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "['Context not verified']" + ] + } + } + }, + "permissions.ActorType": { + "type": "string", + "enum": [ + "ADMIN_USER", + "ADMIN_APP", + "ISSUER", + "VERIFIER", + "VALIDATOR", + "HOLDER", + "SERVICE_PROVIDER" + ], + "x-enum-varnames": [ + "ActorUser", + "ActorApp", + "ActorIssuer", + "ActorVerifier", + "ActorValidator", + "ActorHolder", + "ActorServiceProvider" + ] + }, + "permissions.Permission": { + "type": "object", + "properties": { + "actor": { + "allOf": [ + { + "$ref": "#/definitions/permissions.ActorType" + } + ], + "example": "ADMIN_USER" + }, + "api_keys": { + "type": "array", + "items": { + "type": "string" + } + }, + "dids": { + "type": "array", + "items": { + "type": "string" + } + }, + "org": { + "type": "string" + }, + "role": { + "$ref": "#/definitions/permissions.RoleID" + }, + "scopes": { + "type": "array", + "items": { + "type": "string" + } + }, + "ssi_operations": { + "type": "array", + "items": { + "type": "string" + } + }, + "tenant": { + "type": "string" + } + } + }, + "permissions.Role": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + }, + "role_id": { + "allOf": [ + { + "$ref": "#/definitions/permissions.RoleID" + } + ], + "example": "iqZRLv6L071bwXcJaQdj0msi3pflDxaH" + }, + "scopes": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "[create_apikeys", + " delete_apikeys", + " modify_apikeys]" + ] + }, + "updatedAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + } + } + }, + "permissions.RoleID": { + "type": "string", + "enum": [ + "SuperAdmin", + "ProviderAdmin", + "TenantAdmin", + "DIDOwner", + "SSIConfigManager", + "APIKeyManager", + "OrganizationOwner", + "ClientApplication", + "HolderWallet", + "Operator" + ], + "x-enum-varnames": [ + "SuperAdmin", + "ProviderAdmin", + "TenantAdmin", + "DIDOwner", + "SSIConfigManager", + "APIKeyManager", + "OrganizationOwner", + "ClientApplication", + "HolderWallet", + "Operator" + ] + } + }, + "securityDefinitions": { + "BasicAuth": { + "type": "basic" + }, + "Token": { + "type": "apiKey", + "name": "Authorization", + "in": "header" + } + }, + "tags": [ + { + "description": "API to manage API-Keys", + "name": "Api-Keys" + }, + { + "description": "API to manage Authentication flows", + "name": "Auth" + }, + { + "description": "API to manage the catalog", + "name": "Catalog" + }, + { + "description": "API to manage the VCAPIs", + "name": "VCAPIs" + }, + { + "description": "API to manage the providers", + "name": "Providers" + }, + { + "description": "API to manage the QRConfigs", + "name": "QRConfigs" + }, + { + "description": "API to manage the Roles", + "name": "Roles" + }, + { + "description": "API to manage the component DIDs and configuration", + "name": "Setup" + }, + { + "description": "API to manage the tenants", + "name": "Tenants" + }, + { + "description": "API to manage Admin Users and Applications", + "name": "Users" + } + ] +} \ No newline at end of file diff --git a/dev-helpers/docs/studio-swagger.json b/dev-helpers/docs/studio-swagger.json new file mode 100644 index 00000000000..06b705102e4 --- /dev/null +++ b/dev-helpers/docs/studio-swagger.json @@ -0,0 +1,3492 @@ +{ + "swagger": "2.0", + "info": { + "description": "This is the full API of the Gataca Studio", + "title": "Gataca Studio API", + "termsOfService": "https://www.gataca.io/terms-of-service-studio", + "contact": { + "name": "Gataca", + "url": "https://gataca.io", + "email": "help@gataca.io" + }, + "version": "3.0.3" + }, + "host": "studio.gataca.io", + "basePath": "/api/v1", + "paths": { + "/admin/v1/events": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Get a list of events filtering by tenant or author", + "tags": [ + "Events" + ], + "summary": "Get a list of events.", + "responses": { + "200": { + "description": "List of Events", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.Event" + } + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "404": { + "description": "not found", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/events/:id": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Get the data of a concrete event", + "tags": [ + "Events" + ], + "summary": "Get a concrete event", + "responses": { + "200": { + "description": "Event data", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.Event" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "404": { + "description": "not found", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/gaas/did/:id": { + "delete": { + "description": "Delete did\nThis operation removes the did from the license and tenant too.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Gaas" + ], + "summary": "Delete did", + "responses": { + "200": { + "description": "Did deleted", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "404": { + "description": "Did not found", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/gaas/signup": { + "post": { + "description": "Operation to register a new user in Studio\nThis operation must be called when the user does not exist in the platform", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Gaas" + ], + "summary": "Sign up", + "parameters": [ + { + "description": "User", + "name": "user", + "in": "body", + "schema": { + "$ref": "#/definitions/models.User" + } + } + ], + "responses": { + "200": { + "description": "User signed up", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "409": { + "description": "Duplicate user", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/gaas/user-invitation": { + "post": { + "description": "Operation to invite a new user to an org on Studio\nThis operation must be called when the user does not exist in the platform", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Gaas" + ], + "summary": "Invite user", + "parameters": [ + { + "description": "User", + "name": "user", + "in": "body", + "schema": { + "$ref": "#/definitions/models.User" + } + } + ], + "responses": { + "200": { + "description": "User invited", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "409": { + "description": "Duplicate user", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/groups/private": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Create or update a credential group in his own private catalog.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Groups" + ], + "summary": "Upsert a credential group in his private catalog", + "parameters": [ + { + "description": "Group", + "name": "authority", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.CredentialGroup" + } + } + ], + "responses": { + "200": { + "description": "Group correctly upserted.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "422": { + "description": "Invalid Group data.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/groups/private/:id": { + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Delete a credential group from his own private catalog.", + "tags": [ + "Groups" + ], + "summary": "Delete a credential group entry from his private catalog", + "parameters": [ + { + "type": "string", + "description": "id of the group", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Group correctly upserted.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "400": { + "description": "missing id param", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/issuers/private": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Create or update an issuer in his own private catalog.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Issuers" + ], + "summary": "Upsert an issuer in his private catalog", + "parameters": [ + { + "description": "Authority", + "name": "authority", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.Authority" + } + } + ], + "responses": { + "200": { + "description": "Issuer correctly upserted.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "422": { + "description": "Invalid issuer data.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/issuers/private/:id": { + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Delete a issuer from his own private catalog.", + "tags": [ + "Issuers" + ], + "summary": "Delete a issuer from his private catalog", + "parameters": [ + { + "type": "string", + "description": "Did of the entity", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Provider correctly upserted.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "400": { + "description": "missing id param", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/licenses": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "By calling this endpoint, you will get all the licenses that you are allow to see.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Licenses" + ], + "summary": "Get all the licenses.", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.License" + } + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/licenses/:id/did/:did": { + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "By calling this endpoint, you will remove the did from the license.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Licenses" + ], + "summary": "Remove a did from license.", + "responses": { + "200": { + "description": "OK" + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/licenses/{id}": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "By calling this endpoint, you will get the license matching the id. Íf not id provided, it will get the one on the authorization token.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Licenses" + ], + "summary": "Get the license by the id provided", + "parameters": [ + { + "type": "string", + "description": "OrgId", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/models.License" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/licenses/{id}/tenant": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "By calling this endpoint, you will get the license matching the id. Íf not id provided, it will get the one on the authorization token.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Licenses" + ], + "summary": "Get the license by the id provided", + "parameters": [ + { + "type": "string", + "description": "Tenant", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/models.License" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/licenses/{id}/usage": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Send a new telemetry value voluntarely to allow updating the computed value of the license", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Licenses" + ], + "summary": "Update the license usage", + "parameters": [ + { + "description": "Telemetry", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.Telemetry" + } + } + ], + "responses": { + "200": { + "description": "Updated license usage", + "schema": { + "$ref": "#/definitions/models.LicenseUsage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/limits": { + "get": { + "description": "By receiving a valid orgId as param, this endpoint will update or create the custom limits of the license associated to the orgId provided.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Limits" + ], + "summary": "Retrieve all the license limits of the platform", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.LicenseLimits" + } + }, + "headers": { + "Token": { + "type": "string", + "description": "Token to consult the limits." + }, + "Token_type": { + "type": "string", + "description": "JWT" + } + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + }, + "post": { + "description": "By receiving a definition of license limit, we will update, if code + type already present, or create the new limit.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Limits" + ], + "summary": "Create or update the custom base limits for license by Gataca.", + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/models.LicenseLimits" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/limits/{id}": { + "put": { + "description": "By calling this endpoint, you will get all the license limits configured, even if they are no longer active.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Limits" + ], + "summary": "Update or create the custom limits for a license", + "parameters": [ + { + "type": "string", + "description": "OrgId", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.LicenseLimits" + } + }, + "headers": { + "Token": { + "type": "string", + "description": "Token to upsert the limits." + }, + "Token_type": { + "type": "string", + "description": "JWT" + } + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/onboards": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "The endpoint will return a valid signed Verifiable Authorization from a valid va_init provided through the authorization header token\nThe verifiable authorization its mainly used by the EBSI Onboarding Service to serve as login to recover an authorization token to perform write operations.\nThe endpoint will be consumed programatically, does not need further integration.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Onboards" + ], + "summary": "Get a Verifiable Authorization from a va_init.", + "responses": { + "200": { + "description": "Verifiable Authorization", + "schema": {} + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/onboards/enroll": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "If the user logged its a SaaS user, the did will be created and enrolled on license automatically. If on premise, this endpoint will return a token in the response header for the UI to be displayed.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Onboards" + ], + "summary": "Create a request for the logged user to create a new did.", + "parameters": [ + { + "description": "Organization", + "name": "organization", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.Organization" + } + } + ], + "responses": { + "200": { + "description": "Sandbox Invitation", + "schema": { + "$ref": "#/definitions/controller.SandboxInvitation" + } + }, + "400": { + "description": "Invalid organization data.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/onboards/enroll/:orgId": { + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "The did will be linked to the license of the organization of the logged user. This endpoint will be consumed by the components automatically.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Onboards" + ], + "summary": "Enroll a did to a valid License.", + "parameters": [ + { + "type": "string", + "description": "OrgId", + "name": "id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "Did to be enrolled", + "name": "did", + "in": "path", + "required": true + } + ], + "responses": { + "201": { + "description": "Created" + }, + "400": { + "description": "Invalid organization data.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/onboards/on-premise": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "The OnPremise user uses a different flow than the rest of the licenses.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Onboards" + ], + "summary": "Create a user with an organization and on premise license.", + "parameters": [ + { + "description": "Payload", + "name": "organization", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/controller.enrollEntity" + } + } + ], + "responses": { + "201": { + "description": "Created" + }, + "400": { + "description": "Invalid data", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/onboards/provider": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "The provider user needs a different flow than the rest of the clients.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Onboards" + ], + "summary": "Create a provider with an organization and on premise license and did.", + "parameters": [ + { + "description": "Payload", + "name": "organization", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/controller.enrollEntity" + } + } + ], + "responses": { + "201": { + "description": "Created" + }, + "400": { + "description": "Invalid data", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/onboards/sandbox": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "The invitation may be displayed on a QR inside the gaas and read by the wallet to request to join the onboard.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Onboards" + ], + "summary": "Create an invitation for a given wallet to join your sandbox", + "parameters": [ + { + "description": "Organization", + "name": "organization", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.Organization" + } + } + ], + "responses": { + "200": { + "description": "Sandbox Invitation", + "schema": { + "$ref": "#/definitions/controller.SandboxInvitation" + } + }, + "400": { + "description": "Invalid organization data.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/organizations": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Get all organizations.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Organizations" + ], + "summary": "Get all organizations", + "responses": { + "201": { + "description": "Organization correctly created.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Organization" + } + } + }, + "400": { + "description": "Invalid organization data.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + }, + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Create a organization. If the org exists already in the database, the service return error.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Organizations" + ], + "summary": "Create organization", + "parameters": [ + { + "description": "Organization", + "name": "organization", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.Organization" + } + } + ], + "responses": { + "201": { + "description": "Organization correctly created.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + }, + "headers": { + "Token": { + "type": "string", + "description": "Updated access token for the user" + }, + "Token_type": { + "type": "string", + "description": "jwt" + } + } + }, + "400": { + "description": "Invalid organization data.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/organizations/:id": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Get a organization by his ID. If the org Id its invalid or does not exist, a error will be returned.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Organizations" + ], + "summary": "Get organization by Id", + "parameters": [ + { + "type": "string", + "description": "Organization id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "201": { + "description": "Organization data", + "schema": { + "$ref": "#/definitions/models.Organization" + } + }, + "400": { + "description": "Invalid organization data.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "404": { + "description": "NotFound organization.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Delete a organization by his ID. If the org Id its invalid or does not exist, a error will be returned.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Organizations" + ], + "summary": "Delete organization by Id", + "parameters": [ + { + "type": "string", + "description": "Organization id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "OK" + }, + "400": { + "description": "Invalid organization data.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "404": { + "description": "NotFound organization.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/organizations/:oid": { + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "Update a organization. If the org does not exists already in the database, the service return error.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Organizations" + ], + "summary": "Update organization", + "parameters": [ + { + "description": "Organization", + "name": "organization", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.Organization" + } + } + ], + "responses": { + "200": { + "description": "OK" + }, + "400": { + "description": "Invalid organization data.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "404": { + "description": "NotFound organization.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/providers/private": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Create or update a service provider in his own private catalog. ServiceProvider.Id its mandatory. ServiceProdiver.Endpoint should be present.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Providers" + ], + "summary": "Upsert a service provider in his private catalog", + "parameters": [ + { + "description": "Provider", + "name": "authority", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.ServiceProvider" + } + } + ], + "responses": { + "200": { + "description": "Provider correctly upserted.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "422": { + "description": "Invalid provider data.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/providers/private/:id": { + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Delete a service provider from his own private catalog.", + "tags": [ + "Providers" + ], + "summary": "Delete a service provider from his private catalog", + "parameters": [ + { + "type": "string", + "description": "Did of the entity", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "Provider correctly upserted.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "400": { + "description": "missing id param", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/subscriptions/:id/cancel": { + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "By calling this endpoint, you will cancel the current subscription at the current period end", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Subscriptions" + ], + "summary": "Cancel subscription at period end", + "responses": { + "200": { + "description": "OK" + }, + "404": { + "description": "Subscription not found", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/subscriptions/:id/period": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "By calling this endpoint, you will establish an active subscription and new period end optional.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Subscriptions" + ], + "summary": "Confirm the subscription for an orgId", + "responses": { + "200": { + "description": "OK" + }, + "422": { + "description": "Stripe error", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/subscriptions/products": { + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "By calling this endpoint, you will establish a list of products with prices to be use by subscriptions.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Subscriptions" + ], + "summary": "Create the list of products for the provider", + "responses": { + "200": { + "description": "OK" + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/token": { + "post": { + "description": "Operation to authenticate", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Token" + ], + "summary": "TokenPost", + "parameters": [ + { + "description": "Token request", + "name": "user", + "in": "body", + "schema": { + "$ref": "#/definitions/models.TokenRequest" + } + } + ], + "responses": { + "200": { + "description": "User signed up", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "409": { + "description": "Duplicate user", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/admin/v1/users/{{id}}/profile": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Retrieves the profile from the user invoking the request", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Get the user profile", + "responses": { + "200": { + "description": "User profile", + "schema": { + "$ref": "#/definitions/models.UserProfile" + } + }, + "400": { + "description": "Request is malformed", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "User not authenticated", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "404": { + "description": "User not existing in db", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Update the profile of the currently authenticated used with no data", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Update your profile", + "responses": { + "200": { + "description": "Updated User profile", + "schema": { + "$ref": "#/definitions/models.UserProfile" + } + }, + "400": { + "description": "Request is malformed", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "User not authenticated", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "404": { + "description": "User not existing in db", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + }, + "patch": { + "security": [ + { + "Token": [] + } + ], + "description": "Update the profile of the currently authenticated used with no data", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Users" + ], + "summary": "Update your profile", + "parameters": [ + { + "description": "New User Profile", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.UserProfile" + } + } + ], + "responses": { + "200": { + "description": "Updated User profile", + "schema": { + "$ref": "#/definitions/models.UserProfile" + } + }, + "400": { + "description": "Request is malformed", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "User not authenticated", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "404": { + "description": "User not existing in db", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/events": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Get a list of events filtering by tenant or author", + "tags": [ + "Events" + ], + "summary": "Get a list of events.", + "responses": { + "200": { + "description": "list of events", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.Event" + } + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "404": { + "description": "not found", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/events/:id": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Get the data of a concrete event", + "tags": [ + "Events" + ], + "summary": "Get a concrete event", + "responses": { + "200": { + "description": "event data", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.Event" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "404": { + "description": "not found", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/products": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "By calling this endpoint, you will get all the products that you are allow to see.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Products" + ], + "summary": "Get all the products.", + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Product" + } + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/requests": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Get all the information associated to the requests generated in a concrete tenant", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Requests" + ], + "summary": "Get all the requests associated to a tenant", + "responses": { + "200": { + "description": "request list", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Request" + } + } + }, + "400": { + "description": "invalid request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "serverside error", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + }, + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "Create a request to perform an operation not allowed to perform automatically.\nRequests are analyzed by the administrators and then they are performed accordingly to the organization.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Requests" + ], + "summary": "Create a request to perform an operation", + "parameters": [ + { + "description": "Request", + "name": "request", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.Request" + } + } + ], + "responses": { + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/models.Request" + } + }, + "400": { + "description": "invalid request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "serverside error", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/requests/:id": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "Get the information associated to a concrete request", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Requests" + ], + "summary": "Get the information fo a concrete request", + "parameters": [ + { + "type": "string", + "description": "Request ID", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "request data", + "schema": { + "$ref": "#/definitions/models.Request" + } + }, + "400": { + "description": "invalid request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "serverside error", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + }, + "delete": { + "security": [ + { + "Token": [] + } + ], + "description": "Delete a request", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Requests" + ], + "summary": "Delete a request", + "parameters": [ + { + "type": "string", + "description": "Request ID", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "request data", + "schema": { + "$ref": "#/definitions/models.Request" + } + }, + "400": { + "description": "invalid request", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "serverside error", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/statistics": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "By calling this endpoint, you will get all the statistics for the current user's organization.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Statistics" + ], + "summary": "Returns all the statistics for the current user.", + "parameters": [ + { + "type": "string", + "description": "Organization Id", + "name": "org", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "Begin date of the time window", + "name": "begin", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "End date of the time window", + "name": "end", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/models.Statistics" + } + }, + "400": { + "description": "Invalid Metric Code.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "404": { + "description": "NotFound metrics for organization.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/statistics/:id": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "By calling this endpoint, you will get all the historic with time of the requested metric code.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Statistics" + ], + "summary": "Returns the historic for the given metric.", + "parameters": [ + { + "type": "string", + "description": "Metric Code", + "name": "id", + "in": "path", + "required": true + }, + { + "type": "string", + "description": "Organization Id", + "name": "org", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "Begin date of the time window", + "name": "begin", + "in": "query", + "required": true + }, + { + "type": "string", + "description": "End date of the time window", + "name": "end", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/models.MetricStatistics" + } + }, + "400": { + "description": "Invalid Metric Code.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "403": { + "description": "Invalid authentication", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "404": { + "description": "NotFound metrics for organization.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/subscriptions": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "By calling this endpoint, you will get info about the subscription of the current user", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Subscriptions" + ], + "summary": "Get subscription info", + "responses": { + "200": { + "description": "Subscription data", + "schema": { + "$ref": "#/definitions/models.SubscriptionInfo" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/subscriptions/card": { + "get": { + "security": [ + { + "Token": [] + } + ], + "description": "By calling this endpoint, you will cancel the current subscription at the current period end", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Subscriptions" + ], + "summary": "Cancel subscription at period end", + "responses": { + "200": { + "description": "OK" + }, + "422": { + "description": "Stripe error", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + }, + "post": { + "security": [ + { + "Token": [] + } + ], + "description": "By calling this endpoint, you will set the payment method for the client", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Subscriptions" + ], + "summary": "Set the payment method.", + "responses": { + "200": { + "description": "Card", + "schema": { + "type": "string" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + }, + "/api/v1/subscriptions/{id}": { + "put": { + "security": [ + { + "Token": [] + } + ], + "description": "By calling this endpoint, you will change your price for a higher interval or another product on your subscription.", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Subscriptions" + ], + "summary": "Update the subscription with the new price.", + "parameters": [ + { + "description": "License", + "name": "data", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/controller.updateLicenseData" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/models.SubscriptionInfo" + } + }, + "500": { + "description": "Serverside error processing the request.", + "schema": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.ResponseMessage" + } + } + } + } + } + }, + "definitions": { + "controller.SandboxInvitation": { + "type": "object", + "properties": { + "invitation": { + "type": "string" + }, + "sandboxId": { + "type": "string" + } + } + }, + "controller.enrollEntity": { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "orgInfo": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.OrganizationInfo" + }, + "password": { + "type": "string" + }, + "providerId": { + "type": "string" + } + } + }, + "controller.updateLicenseData": { + "type": "object", + "properties": { + "priceId": { + "type": "string" + } + } + }, + "github_com_gataca-io_gaas_models.Event": { + "type": "object", + "properties": { + "author": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "elementId": { + "type": "string" + }, + "id": { + "type": "string" + }, + "tenant": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/models.EventType" + } + } + }, + "github_com_gataca-io_gaas_models.OrganizationInfo": { + "type": "object", + "properties": { + "EORI": { + "type": "string" + }, + "LEI": { + "type": "string" + }, + "SEED": { + "type": "string" + }, + "SIC": { + "type": "string" + }, + "areaGroup": { + "type": "string" + }, + "discoveryURL": { + "type": "string" + }, + "display": { + "$ref": "#/definitions/models.PreferredDisplay" + }, + "domainName": { + "type": "string", + "example": "education" + }, + "identifierBag": { + "type": "string" + }, + "legalPersonalIdentifier": { + "type": "string" + }, + "name": { + "type": "string" + }, + "services": { + "type": "array", + "items": { + "$ref": "#/definitions/models.ServiceEndpoint" + } + } + } + }, + "github_com_gataca-io_gaas_models.ResponseMessage": { + "type": "object", + "properties": { + "message": { + "type": "string", + "example": "Some description message" + } + } + }, + "models.Authority": { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "domain": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ledger": { + "type": "string" + }, + "level": { + "type": "integer" + }, + "name": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "models.Background": { + "type": "object", + "properties": { + "color": { + "type": "string" + }, + "uri": { + "type": "string" + } + } + }, + "models.BillingInfo": { + "type": "object", + "properties": { + "LegalAddress": { + "type": "string" + }, + "LegalName": { + "type": "string" + }, + "legalAddress": { + "$ref": "#/definitions/models.LegalAddress" + }, + "taxReference": { + "type": "string" + }, + "vatRegistration": { + "type": "string" + } + } + }, + "models.CatalogChanges": { + "type": "object", + "properties": { + "catalogType": { + "$ref": "#/definitions/models.CatalogKey" + }, + "elementId": { + "type": "string" + } + } + }, + "models.CatalogKey": { + "type": "string", + "enum": [ + "authority", + "credentialType", + "credentialGroup", + "serviceProvider" + ], + "x-enum-comments": { + "CredentialGroup_Key": "#nosec G101", + "CredentialType_Key": "#nosec G101" + }, + "x-enum-varnames": [ + "Authority_Key", + "CredentialType_Key", + "CredentialGroup_Key", + "ServiceProvider_Key" + ] + }, + "models.CredentialGroup": { + "type": "object", + "properties": { + "hidden": { + "type": "boolean" + }, + "id": { + "type": "string" + }, + "issuerList": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Issuer" + } + }, + "mainClaim": { + "type": "string" + }, + "mainCredential": { + "type": "string" + }, + "name": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "models.CustomLimits": { + "type": "object", + "properties": { + "limits": { + "type": "array", + "items": { + "$ref": "#/definitions/models.LicenseLimits" + } + }, + "validFrom": { + "$ref": "#/definitions/models.TimeWithFormat" + }, + "validUntil": { + "$ref": "#/definitions/models.TimeWithFormat" + } + } + }, + "models.EventType": { + "type": "string", + "enum": [ + "OrganizationCreation", + "OrganizationModification", + "OrganizationDeletion", + "TenantCreation", + "TenantModification", + "TenantDeletion", + "DidCreation", + "DidModification", + "DidDeletion", + "RequestCatalogModification", + "ApproveCatalogModification", + "RejectCatalogModification", + "RequestExternalProviderSubscriptionModification", + "ApproveExternalProviderSubscriptionModification", + "RejectExternalProviderSubscriptionModification", + "RequestSubscriptionStripeTroubleshooting", + "CancelRequest" + ], + "x-enum-varnames": [ + "EventOrganizationCreation", + "EventOrganizationModification", + "EventOrganizationDeletion", + "EventTenantCreation", + "EventTenantModification", + "EventTenantDeletion", + "EventDidCreation", + "EventDidModification", + "EventDidDeletion", + "EventRequestCatalogModification", + "EventApproveCatalogModification", + "EventRejectCatalogModification", + "EventRequestExternalProviderSubscriptionModification", + "EventApproveExternalProviderSubscriptionModification", + "EventRejectExternalProviderSubscriptionModification", + "EventRequestSubscriptionStripeTroubleshooting", + "EventCancelRequest" + ] + }, + "models.Issuer": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "publicRequest": {} + } + }, + "models.LegalAddress": { + "type": "object", + "properties": { + "country": { + "type": "string" + }, + "locality": { + "type": "string" + }, + "number": { + "type": "string" + }, + "postalCode": { + "type": "string" + }, + "region": { + "type": "string" + }, + "street": { + "type": "string" + }, + "suite": { + "type": "string" + } + } + }, + "models.License": { + "type": "object", + "properties": { + "createdAt": { + "type": "string" + }, + "customLimits": { + "$ref": "#/definitions/models.CustomLimits" + }, + "dids": { + "description": "ScheduledType LicenseType `json:\"scheduledType,omitempty\"`\nTenant DIDs are not the same as license DIDs. Tenants are the ones present on this database. License DIDs are all dids for the license. An OnPremise may not have any dids in SaaS Tenant but the license must have all its dids.", + "type": "array", + "items": { + "type": "string" + } + }, + "licenseType": { + "description": "Deprecated, use subscription model instead. Left here to be migrated", + "type": "string" + }, + "orgId": { + "type": "string" + }, + "paymentOutside": { + "type": "boolean" + }, + "providerId": { + "type": "string" + }, + "sbxId": { + "type": "string" + }, + "tenants": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "[gataca]" + ] + }, + "updatedAt": { + "type": "string" + }, + "usage": { + "$ref": "#/definitions/models.LicenseUsage" + } + } + }, + "models.LicenseLimits": { + "type": "object", + "properties": { + "active": { + "type": "boolean" + }, + "code": { + "type": "string" + }, + "description": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "timeRange": { + "$ref": "#/definitions/models.TimeRange" + }, + "type": { + "type": "string" + }, + "value": { + "description": "Assuming only int limits for the moment.", + "type": "integer" + } + } + }, + "models.LicenseUsage": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/models.Usage" + } + }, + "models.MetricStatistic": { + "type": "object", + "properties": { + "time": { + "$ref": "#/definitions/models.TimeWithFormat" + }, + "value": { + "type": "integer" + } + } + }, + "models.MetricStatistics": { + "type": "object", + "properties": { + "begin": { + "$ref": "#/definitions/models.TimeWithFormat" + }, + "end": { + "$ref": "#/definitions/models.TimeWithFormat" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/models.MetricStatistic" + } + } + } + }, + "models.Organization": { + "type": "object", + "properties": { + "billingInfo": { + "$ref": "#/definitions/models.BillingInfo" + }, + "createdAt": { + "description": "PaymentMethod *PaymentMethod `gorm:\"embedded;embeddedPrefix:payment_\" json:\"paymentMethod,omitempty\"`", + "type": "string" + }, + "id": { + "type": "string" + }, + "orgInfo": { + "$ref": "#/definitions/github_com_gataca-io_gaas_models.OrganizationInfo" + }, + "providerId": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "models.PaymentMethod": { + "type": "object", + "properties": { + "ccvCheck": { + "type": "string" + }, + "creditCardNumber": { + "type": "string" + }, + "email": { + "type": "string" + }, + "expiration": { + "type": "string", + "example": "01/2050" + }, + "holderName": { + "type": "string" + }, + "id": { + "type": "string" + } + } + }, + "models.PreferredDisplay": { + "type": "object", + "properties": { + "background": { + "$ref": "#/definitions/models.Background" + }, + "logo": { + "type": "string" + }, + "preferredName": { + "type": "string" + }, + "style": { + "$ref": "#/definitions/models.Style" + } + } + }, + "models.Price": { + "type": "object", + "properties": { + "amount": { + "type": "integer" + }, + "currency": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "recurringInterval": { + "$ref": "#/definitions/models.PriceRecurringInterval" + }, + "type": { + "type": "string" + } + } + }, + "models.PriceRecurringInterval": { + "type": "string", + "enum": [ + "day", + "week", + "month", + "year" + ], + "x-enum-varnames": [ + "PriceRecurringIntervalDay", + "PriceRecurringIntervalWeek", + "PriceRecurringIntervalMonth", + "PriceRecurringIntervalYear" + ] + }, + "models.Product": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "licenseType": { + "type": "string" + }, + "name": { + "type": "string" + }, + "prices": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Price" + } + }, + "provider": { + "type": "string" + } + } + }, + "models.Request": { + "type": "object", + "properties": { + "createdAt": { + "type": "string" + }, + "data": { + "$ref": "#/definitions/models.RequestData" + }, + "id": { + "type": "string" + }, + "processedAt": { + "type": "string" + }, + "processor": { + "type": "string" + }, + "provider": { + "type": "string" + }, + "requester": { + "type": "string" + }, + "status": { + "$ref": "#/definitions/models.RequestStatus" + }, + "tenant": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/models.RequestType" + }, + "updatedAt": { + "type": "string" + } + } + }, + "models.RequestData": { + "type": "object", + "properties": { + "currentLicense": { + "type": "string" + }, + "licenseId": { + "type": "string" + }, + "modifications": { + "type": "array", + "items": { + "$ref": "#/definitions/models.CatalogChanges" + } + }, + "orgId": { + "type": "string" + }, + "priceId": { + "type": "string" + }, + "problemDescription": { + "type": "string" + }, + "requestedLicense": { + "type": "string" + }, + "sbxId": { + "type": "string" + } + } + }, + "models.RequestStatus": { + "type": "string", + "enum": [ + "PENDING", + "APPLIED", + "REJECTED" + ], + "x-enum-varnames": [ + "RequestStatusPending", + "RequestStatusApplied", + "RequestStatusRejected" + ] + }, + "models.RequestType": { + "type": "string", + "enum": [ + "SubscriptionStripeTroubleshooting", + "CatalogModification", + "SubscriptionExternalProviderManagement", + "DeleteRequest" + ], + "x-enum-varnames": [ + "RequestTypeSubscriptionStripeTroubleshooting", + "RequestTypeCatalogModification", + "RequestTypeSubscriptionExternalProviderManagement", + "RequestTypeDelete" + ] + }, + "models.ServiceEndpoint": { + "type": "object", + "properties": { + "id": { + "type": "string" + }, + "serviceEndpoint": { + "type": "string" + }, + "type": { + "$ref": "#/definitions/models.ServiceType" + } + } + }, + "models.ServiceProvider": { + "type": "object", + "properties": { + "address": { + "type": "string" + }, + "advertised": { + "type": "boolean" + }, + "domain": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "id": { + "type": "string" + }, + "ledger": { + "type": "string" + }, + "name": { + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "models.ServiceType": { + "type": "string", + "enum": [ + "Verifier", + "Issuer" + ], + "x-enum-varnames": [ + "ServiceTypeVerifier", + "ServiceTypeIssuer" + ] + }, + "models.Statistics": { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/models.MetricStatistics" + } + }, + "models.Style": { + "type": "object", + "properties": { + "color": { + "type": "string" + }, + "fontFamily": { + "type": "string" + } + } + }, + "models.SubscriptionInfo": { + "type": "object", + "properties": { + "cancelAtPeriodEnd": { + "type": "boolean" + }, + "currentLicenseType": { + "type": "string" + }, + "currentPeriodEnd": { + "type": "string" + }, + "currentPeriodStart": { + "type": "string" + }, + "currentPriceId": { + "type": "string" + }, + "currentProductId": { + "type": "string" + }, + "orgId": { + "type": "string" + }, + "paymentMethod": { + "$ref": "#/definitions/models.PaymentMethod" + }, + "paymentOutsideStripe": { + "type": "boolean" + }, + "provider": { + "type": "string" + }, + "subscriptionSchedule": { + "$ref": "#/definitions/models.SubscriptionSchedule" + }, + "subscriptionStatus": { + "$ref": "#/definitions/models.SubscriptionStatus" + } + } + }, + "models.SubscriptionSchedule": { + "type": "object", + "properties": { + "scheduledLicenseType": { + "type": "string" + }, + "scheduledPriceId": { + "type": "string" + }, + "scheduledProductId": { + "type": "string" + } + } + }, + "models.SubscriptionStatus": { + "type": "string", + "enum": [ + "active", + "canceled", + "incomplete", + "incomplete_expired", + "past_due", + "trialing", + "unpaid" + ], + "x-enum-comments": { + "SubscriptionStatusIncompleteExpired": "This is a terminal state for Stripe." + }, + "x-enum-varnames": [ + "SubscriptionStatusActive", + "SubscriptionStatusCanceled", + "SubscriptionStatusIncomplete", + "SubscriptionStatusIncompleteExpired", + "SubscriptionStatusPastDue", + "SubscriptionStatusTrialing", + "SubscriptionStatusUnpaid" + ] + }, + "models.Telemetry": { + "type": "object", + "additionalProperties": { + "type": "integer" + } + }, + "models.TimeRange": { + "type": "string", + "enum": [ + "Hourly", + "DAILY", + "WEEKLY", + "MONTHLY", + "QUARTERLY", + "YEARLY" + ], + "x-enum-comments": { + "Quarterly": "Quarters begin first day of Jan, Apr, Jul \u0026 Oct" + }, + "x-enum-varnames": [ + "Hourly", + "Daily", + "Weekly", + "Monthly", + "Quarterly", + "Yearly" + ] + }, + "models.TimeWithFormat": { + "type": "object", + "properties": { + "tenants": { + "description": "embedded time value", + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + } + } + }, + "models.TokenRequest": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "scope": { + "type": "string" + }, + "state": { + "type": "string" + } + } + }, + "models.Usage": { + "type": "object", + "properties": { + "current": { + "type": "integer" + }, + "max": { + "type": "integer" + } + } + }, + "models.User": { + "type": "object", + "properties": { + "api_keys": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "[\"iqZRLv6L071bwXcJaQdj0msi3pflDxaH\"", + " \"MDFVdHhnSm82VDFtMkVtdm5BN0hhMGpC\"]" + ] + }, + "createdAt": { + "description": "SandboxId string `gorm:\"\" json:\"sandbox_id\" example:\"A3FB058B-821D-4CFC-8D3F-67567BBA3E1C\" description:\"Sandbox identifier\"`\nOrgId string `gorm:\"\" json:\"orgId\" example:\"ADDWQEWQE-QWEQ-QWEE-EEQQ-12312312312\" description:\"Org identifier used on Gaas\"`", + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + }, + "dids": { + "type": "string", + "example": "[did:gatc:4yu9274yq9gr8yw9423, did:gatc:V1U3V0x1b2hEVDJscGZXYXhaa0thMWRn]" + }, + "email": { + "type": "string", + "example": "admin@domain.com" + }, + "password": { + "type": "string", + "example": "S3cuR3p4$sW0rD!" + }, + "phone": { + "type": "string", + "example": "+34 666 66 66 66" + }, + "provider": { + "type": "string", + "example": "Gataca" + }, + "role": { + "allOf": [ + { + "$ref": "#/definitions/permissions.RoleID" + } + ], + "example": "ADMIN" + }, + "ssi_operations": { + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "[\"verifications-qr1\"", + " \"issuance-qr2\"]" + ] + }, + "status": { + "type": "string", + "example": "ACTIVE" + }, + "tenants": { + "type": "string", + "example": "[gataca]" + }, + "updatedAt": { + "type": "string", + "example": "2019-10-01T12:12:05.999Z" + } + } + }, + "models.UserProfile": { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/models.User" + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "profilePic": { + "type": "array", + "items": { + "type": "integer" + } + } + } + }, + "permissions.RoleID": { + "type": "string", + "enum": [ + "SuperAdmin", + "ProviderAdmin", + "TenantAdmin", + "DIDOwner", + "SSIConfigManager", + "APIKeyManager", + "OrganizationOwner", + "ClientApplication", + "HolderWallet", + "Operator" + ], + "x-enum-varnames": [ + "SuperAdmin", + "ProviderAdmin", + "TenantAdmin", + "DIDOwner", + "SSIConfigManager", + "APIKeyManager", + "OrganizationOwner", + "ClientApplication", + "HolderWallet", + "Operator" + ] + } + }, + "securityDefinitions": { + "BasicAuth": { + "type": "basic" + }, + "Token": { + "type": "apiKey", + "name": "Authorization", + "in": "header" + } + }, + "tags": [ + { + "description": "API to manage the events", + "name": "Events" + }, + { + "description": "API to manage the Gaas", + "name": "Gaas" + }, + { + "description": "API to manage the groups", + "name": "Groups" + }, + { + "description": "API to manage the issuers", + "name": "Issuers" + }, + { + "description": "API to manage the licence", + "name": "Licenses" + }, + { + "description": "API to manage the licence limits", + "name": "Limits" + }, + { + "description": "API to manage the onboards", + "name": "Onboards" + }, + { + "description": "API to manage the organization configuration", + "name": "Organizations" + }, + { + "description": "API to manage the products", + "name": "Products" + }, + { + "description": "API to manage the providers", + "name": "Providers" + }, + { + "description": "API to manage the statistics", + "name": "Statistics" + }, + { + "description": "API to manage the subscriptions", + "name": "Subscriptions" + }, + { + "description": "API to manage the requests", + "name": "Requests" + }, + { + "description": "API to manage tokens. NOT AVAILABLE YET", + "name": "Token" + }, + { + "description": "API to manage the users", + "name": "Users" + } + ] +} \ No newline at end of file diff --git a/dist/swagger-initializer.js b/dist/swagger-initializer.js index 8ea0ea3afc3..f38c2421dc8 100644 --- a/dist/swagger-initializer.js +++ b/dist/swagger-initializer.js @@ -3,7 +3,13 @@ window.onload = function() { // the following lines will be replaced by docker/configurator, when it runs in a docker-container window.ui = SwaggerUIBundle({ - url: "https://petstore.swagger.io/v2/swagger.json", + url: "/docs/studio-swagger.json", + urls: [ + {url: "./docs/studio-swagger.json", name: "Gataca Studio"}, + {url: "./docs/nucleus-swagger.json", name: "Gataca Nucleus"}, + {url: "./docs/connect-swagger.json", name: "Gataca Connect"}, + {url: "/docs/certify-swagger.json", name: "Gataca Certify"}, + ], dom_id: '#swagger-ui', deepLinking: true, presets: [ diff --git a/dist/swagger-ui-bundle.js b/dist/swagger-ui-bundle.js index 8dbca51ef4c..e66cdd1c17f 100644 --- a/dist/swagger-ui-bundle.js +++ b/dist/swagger-ui-bundle.js @@ -1,3 +1,3 @@ /*! For license information please see swagger-ui-bundle.js.LICENSE.txt */ -!function webpackUniversalModuleDefinition(i,s){"object"==typeof exports&&"object"==typeof module?module.exports=s():"function"==typeof define&&define.amd?define([],s):"object"==typeof exports?exports.SwaggerUIBundle=s():i.SwaggerUIBundle=s()}(this,(()=>(()=>{var i={17967:(i,s)=>{"use strict";s.Nm=s.Rq=void 0;var u=/^([^\w]*)(javascript|data|vbscript)/im,m=/&#(\w+)(^\w|;)?/g,v=/&(newline|tab);/gi,_=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,j=/^.+(:|:)/gim,M=[".","/"];s.Rq="about:blank",s.Nm=function sanitizeUrl(i){if(!i)return s.Rq;var $=function decodeHtmlCharacters(i){return i.replace(_,"").replace(m,(function(i,s){return String.fromCharCode(s)}))}(i).replace(v,"").replace(_,"").trim();if(!$)return s.Rq;if(function isRelativeUrlWithoutProtocol(i){return M.indexOf(i[0])>-1}($))return $;var W=$.match(j);if(!W)return $;var X=W[0];return u.test(X)?s.Rq:$}},79742:(i,s)=>{"use strict";s.byteLength=function byteLength(i){var s=getLens(i),u=s[0],m=s[1];return 3*(u+m)/4-m},s.toByteArray=function toByteArray(i){var s,u,_=getLens(i),j=_[0],M=_[1],$=new v(function _byteLength(i,s,u){return 3*(s+u)/4-u}(0,j,M)),W=0,X=M>0?j-4:j;for(u=0;u>16&255,$[W++]=s>>8&255,$[W++]=255&s;2===M&&(s=m[i.charCodeAt(u)]<<2|m[i.charCodeAt(u+1)]>>4,$[W++]=255&s);1===M&&(s=m[i.charCodeAt(u)]<<10|m[i.charCodeAt(u+1)]<<4|m[i.charCodeAt(u+2)]>>2,$[W++]=s>>8&255,$[W++]=255&s);return $},s.fromByteArray=function fromByteArray(i){for(var s,m=i.length,v=m%3,_=[],j=16383,M=0,$=m-v;M<$;M+=j)_.push(encodeChunk(i,M,M+j>$?$:M+j));1===v?(s=i[m-1],_.push(u[s>>2]+u[s<<4&63]+"==")):2===v&&(s=(i[m-2]<<8)+i[m-1],_.push(u[s>>10]+u[s>>4&63]+u[s<<2&63]+"="));return _.join("")};for(var u=[],m=[],v="undefined"!=typeof Uint8Array?Uint8Array:Array,_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",j=0;j<64;++j)u[j]=_[j],m[_.charCodeAt(j)]=j;function getLens(i){var s=i.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var u=i.indexOf("=");return-1===u&&(u=s),[u,u===s?0:4-u%4]}function encodeChunk(i,s,m){for(var v,_,j=[],M=s;M>18&63]+u[_>>12&63]+u[_>>6&63]+u[63&_]);return j.join("")}m["-".charCodeAt(0)]=62,m["_".charCodeAt(0)]=63},48764:(i,s,u)=>{"use strict";const m=u(79742),v=u(80645),_="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;s.Buffer=Buffer,s.SlowBuffer=function SlowBuffer(i){+i!=i&&(i=0);return Buffer.alloc(+i)},s.INSPECT_MAX_BYTES=50;const j=2147483647;function createBuffer(i){if(i>j)throw new RangeError('The value "'+i+'" is invalid for option "size"');const s=new Uint8Array(i);return Object.setPrototypeOf(s,Buffer.prototype),s}function Buffer(i,s,u){if("number"==typeof i){if("string"==typeof s)throw new TypeError('The "string" argument must be of type string. Received type number');return allocUnsafe(i)}return from(i,s,u)}function from(i,s,u){if("string"==typeof i)return function fromString(i,s){"string"==typeof s&&""!==s||(s="utf8");if(!Buffer.isEncoding(s))throw new TypeError("Unknown encoding: "+s);const u=0|byteLength(i,s);let m=createBuffer(u);const v=m.write(i,s);v!==u&&(m=m.slice(0,v));return m}(i,s);if(ArrayBuffer.isView(i))return function fromArrayView(i){if(isInstance(i,Uint8Array)){const s=new Uint8Array(i);return fromArrayBuffer(s.buffer,s.byteOffset,s.byteLength)}return fromArrayLike(i)}(i);if(null==i)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof i);if(isInstance(i,ArrayBuffer)||i&&isInstance(i.buffer,ArrayBuffer))return fromArrayBuffer(i,s,u);if("undefined"!=typeof SharedArrayBuffer&&(isInstance(i,SharedArrayBuffer)||i&&isInstance(i.buffer,SharedArrayBuffer)))return fromArrayBuffer(i,s,u);if("number"==typeof i)throw new TypeError('The "value" argument must not be of type number. Received type number');const m=i.valueOf&&i.valueOf();if(null!=m&&m!==i)return Buffer.from(m,s,u);const v=function fromObject(i){if(Buffer.isBuffer(i)){const s=0|checked(i.length),u=createBuffer(s);return 0===u.length||i.copy(u,0,0,s),u}if(void 0!==i.length)return"number"!=typeof i.length||numberIsNaN(i.length)?createBuffer(0):fromArrayLike(i);if("Buffer"===i.type&&Array.isArray(i.data))return fromArrayLike(i.data)}(i);if(v)return v;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof i[Symbol.toPrimitive])return Buffer.from(i[Symbol.toPrimitive]("string"),s,u);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof i)}function assertSize(i){if("number"!=typeof i)throw new TypeError('"size" argument must be of type number');if(i<0)throw new RangeError('The value "'+i+'" is invalid for option "size"')}function allocUnsafe(i){return assertSize(i),createBuffer(i<0?0:0|checked(i))}function fromArrayLike(i){const s=i.length<0?0:0|checked(i.length),u=createBuffer(s);for(let m=0;m=j)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+j.toString(16)+" bytes");return 0|i}function byteLength(i,s){if(Buffer.isBuffer(i))return i.length;if(ArrayBuffer.isView(i)||isInstance(i,ArrayBuffer))return i.byteLength;if("string"!=typeof i)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof i);const u=i.length,m=arguments.length>2&&!0===arguments[2];if(!m&&0===u)return 0;let v=!1;for(;;)switch(s){case"ascii":case"latin1":case"binary":return u;case"utf8":case"utf-8":return utf8ToBytes(i).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*u;case"hex":return u>>>1;case"base64":return base64ToBytes(i).length;default:if(v)return m?-1:utf8ToBytes(i).length;s=(""+s).toLowerCase(),v=!0}}function slowToString(i,s,u){let m=!1;if((void 0===s||s<0)&&(s=0),s>this.length)return"";if((void 0===u||u>this.length)&&(u=this.length),u<=0)return"";if((u>>>=0)<=(s>>>=0))return"";for(i||(i="utf8");;)switch(i){case"hex":return hexSlice(this,s,u);case"utf8":case"utf-8":return utf8Slice(this,s,u);case"ascii":return asciiSlice(this,s,u);case"latin1":case"binary":return latin1Slice(this,s,u);case"base64":return base64Slice(this,s,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return utf16leSlice(this,s,u);default:if(m)throw new TypeError("Unknown encoding: "+i);i=(i+"").toLowerCase(),m=!0}}function swap(i,s,u){const m=i[s];i[s]=i[u],i[u]=m}function bidirectionalIndexOf(i,s,u,m,v){if(0===i.length)return-1;if("string"==typeof u?(m=u,u=0):u>2147483647?u=2147483647:u<-2147483648&&(u=-2147483648),numberIsNaN(u=+u)&&(u=v?0:i.length-1),u<0&&(u=i.length+u),u>=i.length){if(v)return-1;u=i.length-1}else if(u<0){if(!v)return-1;u=0}if("string"==typeof s&&(s=Buffer.from(s,m)),Buffer.isBuffer(s))return 0===s.length?-1:arrayIndexOf(i,s,u,m,v);if("number"==typeof s)return s&=255,"function"==typeof Uint8Array.prototype.indexOf?v?Uint8Array.prototype.indexOf.call(i,s,u):Uint8Array.prototype.lastIndexOf.call(i,s,u):arrayIndexOf(i,[s],u,m,v);throw new TypeError("val must be string, number or Buffer")}function arrayIndexOf(i,s,u,m,v){let _,j=1,M=i.length,$=s.length;if(void 0!==m&&("ucs2"===(m=String(m).toLowerCase())||"ucs-2"===m||"utf16le"===m||"utf-16le"===m)){if(i.length<2||s.length<2)return-1;j=2,M/=2,$/=2,u/=2}function read(i,s){return 1===j?i[s]:i.readUInt16BE(s*j)}if(v){let m=-1;for(_=u;_M&&(u=M-$),_=u;_>=0;_--){let u=!0;for(let m=0;m<$;m++)if(read(i,_+m)!==read(s,m)){u=!1;break}if(u)return _}return-1}function hexWrite(i,s,u,m){u=Number(u)||0;const v=i.length-u;m?(m=Number(m))>v&&(m=v):m=v;const _=s.length;let j;for(m>_/2&&(m=_/2),j=0;j>8,v=u%256,_.push(v),_.push(m);return _}(s,i.length-u),i,u,m)}function base64Slice(i,s,u){return 0===s&&u===i.length?m.fromByteArray(i):m.fromByteArray(i.slice(s,u))}function utf8Slice(i,s,u){u=Math.min(i.length,u);const m=[];let v=s;for(;v239?4:s>223?3:s>191?2:1;if(v+j<=u){let u,m,M,$;switch(j){case 1:s<128&&(_=s);break;case 2:u=i[v+1],128==(192&u)&&($=(31&s)<<6|63&u,$>127&&(_=$));break;case 3:u=i[v+1],m=i[v+2],128==(192&u)&&128==(192&m)&&($=(15&s)<<12|(63&u)<<6|63&m,$>2047&&($<55296||$>57343)&&(_=$));break;case 4:u=i[v+1],m=i[v+2],M=i[v+3],128==(192&u)&&128==(192&m)&&128==(192&M)&&($=(15&s)<<18|(63&u)<<12|(63&m)<<6|63&M,$>65535&&$<1114112&&(_=$))}}null===_?(_=65533,j=1):_>65535&&(_-=65536,m.push(_>>>10&1023|55296),_=56320|1023&_),m.push(_),v+=j}return function decodeCodePointsArray(i){const s=i.length;if(s<=M)return String.fromCharCode.apply(String,i);let u="",m=0;for(;mm.length?(Buffer.isBuffer(s)||(s=Buffer.from(s)),s.copy(m,v)):Uint8Array.prototype.set.call(m,s,v);else{if(!Buffer.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(m,v)}v+=s.length}return m},Buffer.byteLength=byteLength,Buffer.prototype._isBuffer=!0,Buffer.prototype.swap16=function swap16(){const i=this.length;if(i%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let s=0;su&&(i+=" ... "),""},_&&(Buffer.prototype[_]=Buffer.prototype.inspect),Buffer.prototype.compare=function compare(i,s,u,m,v){if(isInstance(i,Uint8Array)&&(i=Buffer.from(i,i.offset,i.byteLength)),!Buffer.isBuffer(i))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof i);if(void 0===s&&(s=0),void 0===u&&(u=i?i.length:0),void 0===m&&(m=0),void 0===v&&(v=this.length),s<0||u>i.length||m<0||v>this.length)throw new RangeError("out of range index");if(m>=v&&s>=u)return 0;if(m>=v)return-1;if(s>=u)return 1;if(this===i)return 0;let _=(v>>>=0)-(m>>>=0),j=(u>>>=0)-(s>>>=0);const M=Math.min(_,j),$=this.slice(m,v),W=i.slice(s,u);for(let i=0;i>>=0,isFinite(u)?(u>>>=0,void 0===m&&(m="utf8")):(m=u,u=void 0)}const v=this.length-s;if((void 0===u||u>v)&&(u=v),i.length>0&&(u<0||s<0)||s>this.length)throw new RangeError("Attempt to write outside buffer bounds");m||(m="utf8");let _=!1;for(;;)switch(m){case"hex":return hexWrite(this,i,s,u);case"utf8":case"utf-8":return utf8Write(this,i,s,u);case"ascii":case"latin1":case"binary":return asciiWrite(this,i,s,u);case"base64":return base64Write(this,i,s,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,i,s,u);default:if(_)throw new TypeError("Unknown encoding: "+m);m=(""+m).toLowerCase(),_=!0}},Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const M=4096;function asciiSlice(i,s,u){let m="";u=Math.min(i.length,u);for(let v=s;vm)&&(u=m);let v="";for(let m=s;mu)throw new RangeError("Trying to access beyond buffer length")}function checkInt(i,s,u,m,v,_){if(!Buffer.isBuffer(i))throw new TypeError('"buffer" argument must be a Buffer instance');if(s>v||s<_)throw new RangeError('"value" argument is out of bounds');if(u+m>i.length)throw new RangeError("Index out of range")}function wrtBigUInt64LE(i,s,u,m,v){checkIntBI(s,m,v,i,u,7);let _=Number(s&BigInt(4294967295));i[u++]=_,_>>=8,i[u++]=_,_>>=8,i[u++]=_,_>>=8,i[u++]=_;let j=Number(s>>BigInt(32)&BigInt(4294967295));return i[u++]=j,j>>=8,i[u++]=j,j>>=8,i[u++]=j,j>>=8,i[u++]=j,u}function wrtBigUInt64BE(i,s,u,m,v){checkIntBI(s,m,v,i,u,7);let _=Number(s&BigInt(4294967295));i[u+7]=_,_>>=8,i[u+6]=_,_>>=8,i[u+5]=_,_>>=8,i[u+4]=_;let j=Number(s>>BigInt(32)&BigInt(4294967295));return i[u+3]=j,j>>=8,i[u+2]=j,j>>=8,i[u+1]=j,j>>=8,i[u]=j,u+8}function checkIEEE754(i,s,u,m,v,_){if(u+m>i.length)throw new RangeError("Index out of range");if(u<0)throw new RangeError("Index out of range")}function writeFloat(i,s,u,m,_){return s=+s,u>>>=0,_||checkIEEE754(i,0,u,4),v.write(i,s,u,m,23,4),u+4}function writeDouble(i,s,u,m,_){return s=+s,u>>>=0,_||checkIEEE754(i,0,u,8),v.write(i,s,u,m,52,8),u+8}Buffer.prototype.slice=function slice(i,s){const u=this.length;(i=~~i)<0?(i+=u)<0&&(i=0):i>u&&(i=u),(s=void 0===s?u:~~s)<0?(s+=u)<0&&(s=0):s>u&&(s=u),s>>=0,s>>>=0,u||checkOffset(i,s,this.length);let m=this[i],v=1,_=0;for(;++_>>=0,s>>>=0,u||checkOffset(i,s,this.length);let m=this[i+--s],v=1;for(;s>0&&(v*=256);)m+=this[i+--s]*v;return m},Buffer.prototype.readUint8=Buffer.prototype.readUInt8=function readUInt8(i,s){return i>>>=0,s||checkOffset(i,1,this.length),this[i]},Buffer.prototype.readUint16LE=Buffer.prototype.readUInt16LE=function readUInt16LE(i,s){return i>>>=0,s||checkOffset(i,2,this.length),this[i]|this[i+1]<<8},Buffer.prototype.readUint16BE=Buffer.prototype.readUInt16BE=function readUInt16BE(i,s){return i>>>=0,s||checkOffset(i,2,this.length),this[i]<<8|this[i+1]},Buffer.prototype.readUint32LE=Buffer.prototype.readUInt32LE=function readUInt32LE(i,s){return i>>>=0,s||checkOffset(i,4,this.length),(this[i]|this[i+1]<<8|this[i+2]<<16)+16777216*this[i+3]},Buffer.prototype.readUint32BE=Buffer.prototype.readUInt32BE=function readUInt32BE(i,s){return i>>>=0,s||checkOffset(i,4,this.length),16777216*this[i]+(this[i+1]<<16|this[i+2]<<8|this[i+3])},Buffer.prototype.readBigUInt64LE=defineBigIntMethod((function readBigUInt64LE(i){validateNumber(i>>>=0,"offset");const s=this[i],u=this[i+7];void 0!==s&&void 0!==u||boundsError(i,this.length-8);const m=s+256*this[++i]+65536*this[++i]+this[++i]*2**24,v=this[++i]+256*this[++i]+65536*this[++i]+u*2**24;return BigInt(m)+(BigInt(v)<>>=0,"offset");const s=this[i],u=this[i+7];void 0!==s&&void 0!==u||boundsError(i,this.length-8);const m=s*2**24+65536*this[++i]+256*this[++i]+this[++i],v=this[++i]*2**24+65536*this[++i]+256*this[++i]+u;return(BigInt(m)<>>=0,s>>>=0,u||checkOffset(i,s,this.length);let m=this[i],v=1,_=0;for(;++_=v&&(m-=Math.pow(2,8*s)),m},Buffer.prototype.readIntBE=function readIntBE(i,s,u){i>>>=0,s>>>=0,u||checkOffset(i,s,this.length);let m=s,v=1,_=this[i+--m];for(;m>0&&(v*=256);)_+=this[i+--m]*v;return v*=128,_>=v&&(_-=Math.pow(2,8*s)),_},Buffer.prototype.readInt8=function readInt8(i,s){return i>>>=0,s||checkOffset(i,1,this.length),128&this[i]?-1*(255-this[i]+1):this[i]},Buffer.prototype.readInt16LE=function readInt16LE(i,s){i>>>=0,s||checkOffset(i,2,this.length);const u=this[i]|this[i+1]<<8;return 32768&u?4294901760|u:u},Buffer.prototype.readInt16BE=function readInt16BE(i,s){i>>>=0,s||checkOffset(i,2,this.length);const u=this[i+1]|this[i]<<8;return 32768&u?4294901760|u:u},Buffer.prototype.readInt32LE=function readInt32LE(i,s){return i>>>=0,s||checkOffset(i,4,this.length),this[i]|this[i+1]<<8|this[i+2]<<16|this[i+3]<<24},Buffer.prototype.readInt32BE=function readInt32BE(i,s){return i>>>=0,s||checkOffset(i,4,this.length),this[i]<<24|this[i+1]<<16|this[i+2]<<8|this[i+3]},Buffer.prototype.readBigInt64LE=defineBigIntMethod((function readBigInt64LE(i){validateNumber(i>>>=0,"offset");const s=this[i],u=this[i+7];void 0!==s&&void 0!==u||boundsError(i,this.length-8);const m=this[i+4]+256*this[i+5]+65536*this[i+6]+(u<<24);return(BigInt(m)<>>=0,"offset");const s=this[i],u=this[i+7];void 0!==s&&void 0!==u||boundsError(i,this.length-8);const m=(s<<24)+65536*this[++i]+256*this[++i]+this[++i];return(BigInt(m)<>>=0,s||checkOffset(i,4,this.length),v.read(this,i,!0,23,4)},Buffer.prototype.readFloatBE=function readFloatBE(i,s){return i>>>=0,s||checkOffset(i,4,this.length),v.read(this,i,!1,23,4)},Buffer.prototype.readDoubleLE=function readDoubleLE(i,s){return i>>>=0,s||checkOffset(i,8,this.length),v.read(this,i,!0,52,8)},Buffer.prototype.readDoubleBE=function readDoubleBE(i,s){return i>>>=0,s||checkOffset(i,8,this.length),v.read(this,i,!1,52,8)},Buffer.prototype.writeUintLE=Buffer.prototype.writeUIntLE=function writeUIntLE(i,s,u,m){if(i=+i,s>>>=0,u>>>=0,!m){checkInt(this,i,s,u,Math.pow(2,8*u)-1,0)}let v=1,_=0;for(this[s]=255&i;++_>>=0,u>>>=0,!m){checkInt(this,i,s,u,Math.pow(2,8*u)-1,0)}let v=u-1,_=1;for(this[s+v]=255&i;--v>=0&&(_*=256);)this[s+v]=i/_&255;return s+u},Buffer.prototype.writeUint8=Buffer.prototype.writeUInt8=function writeUInt8(i,s,u){return i=+i,s>>>=0,u||checkInt(this,i,s,1,255,0),this[s]=255&i,s+1},Buffer.prototype.writeUint16LE=Buffer.prototype.writeUInt16LE=function writeUInt16LE(i,s,u){return i=+i,s>>>=0,u||checkInt(this,i,s,2,65535,0),this[s]=255&i,this[s+1]=i>>>8,s+2},Buffer.prototype.writeUint16BE=Buffer.prototype.writeUInt16BE=function writeUInt16BE(i,s,u){return i=+i,s>>>=0,u||checkInt(this,i,s,2,65535,0),this[s]=i>>>8,this[s+1]=255&i,s+2},Buffer.prototype.writeUint32LE=Buffer.prototype.writeUInt32LE=function writeUInt32LE(i,s,u){return i=+i,s>>>=0,u||checkInt(this,i,s,4,4294967295,0),this[s+3]=i>>>24,this[s+2]=i>>>16,this[s+1]=i>>>8,this[s]=255&i,s+4},Buffer.prototype.writeUint32BE=Buffer.prototype.writeUInt32BE=function writeUInt32BE(i,s,u){return i=+i,s>>>=0,u||checkInt(this,i,s,4,4294967295,0),this[s]=i>>>24,this[s+1]=i>>>16,this[s+2]=i>>>8,this[s+3]=255&i,s+4},Buffer.prototype.writeBigUInt64LE=defineBigIntMethod((function writeBigUInt64LE(i,s=0){return wrtBigUInt64LE(this,i,s,BigInt(0),BigInt("0xffffffffffffffff"))})),Buffer.prototype.writeBigUInt64BE=defineBigIntMethod((function writeBigUInt64BE(i,s=0){return wrtBigUInt64BE(this,i,s,BigInt(0),BigInt("0xffffffffffffffff"))})),Buffer.prototype.writeIntLE=function writeIntLE(i,s,u,m){if(i=+i,s>>>=0,!m){const m=Math.pow(2,8*u-1);checkInt(this,i,s,u,m-1,-m)}let v=0,_=1,j=0;for(this[s]=255&i;++v>0)-j&255;return s+u},Buffer.prototype.writeIntBE=function writeIntBE(i,s,u,m){if(i=+i,s>>>=0,!m){const m=Math.pow(2,8*u-1);checkInt(this,i,s,u,m-1,-m)}let v=u-1,_=1,j=0;for(this[s+v]=255&i;--v>=0&&(_*=256);)i<0&&0===j&&0!==this[s+v+1]&&(j=1),this[s+v]=(i/_>>0)-j&255;return s+u},Buffer.prototype.writeInt8=function writeInt8(i,s,u){return i=+i,s>>>=0,u||checkInt(this,i,s,1,127,-128),i<0&&(i=255+i+1),this[s]=255&i,s+1},Buffer.prototype.writeInt16LE=function writeInt16LE(i,s,u){return i=+i,s>>>=0,u||checkInt(this,i,s,2,32767,-32768),this[s]=255&i,this[s+1]=i>>>8,s+2},Buffer.prototype.writeInt16BE=function writeInt16BE(i,s,u){return i=+i,s>>>=0,u||checkInt(this,i,s,2,32767,-32768),this[s]=i>>>8,this[s+1]=255&i,s+2},Buffer.prototype.writeInt32LE=function writeInt32LE(i,s,u){return i=+i,s>>>=0,u||checkInt(this,i,s,4,2147483647,-2147483648),this[s]=255&i,this[s+1]=i>>>8,this[s+2]=i>>>16,this[s+3]=i>>>24,s+4},Buffer.prototype.writeInt32BE=function writeInt32BE(i,s,u){return i=+i,s>>>=0,u||checkInt(this,i,s,4,2147483647,-2147483648),i<0&&(i=4294967295+i+1),this[s]=i>>>24,this[s+1]=i>>>16,this[s+2]=i>>>8,this[s+3]=255&i,s+4},Buffer.prototype.writeBigInt64LE=defineBigIntMethod((function writeBigInt64LE(i,s=0){return wrtBigUInt64LE(this,i,s,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),Buffer.prototype.writeBigInt64BE=defineBigIntMethod((function writeBigInt64BE(i,s=0){return wrtBigUInt64BE(this,i,s,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),Buffer.prototype.writeFloatLE=function writeFloatLE(i,s,u){return writeFloat(this,i,s,!0,u)},Buffer.prototype.writeFloatBE=function writeFloatBE(i,s,u){return writeFloat(this,i,s,!1,u)},Buffer.prototype.writeDoubleLE=function writeDoubleLE(i,s,u){return writeDouble(this,i,s,!0,u)},Buffer.prototype.writeDoubleBE=function writeDoubleBE(i,s,u){return writeDouble(this,i,s,!1,u)},Buffer.prototype.copy=function copy(i,s,u,m){if(!Buffer.isBuffer(i))throw new TypeError("argument should be a Buffer");if(u||(u=0),m||0===m||(m=this.length),s>=i.length&&(s=i.length),s||(s=0),m>0&&m=this.length)throw new RangeError("Index out of range");if(m<0)throw new RangeError("sourceEnd out of bounds");m>this.length&&(m=this.length),i.length-s>>=0,u=void 0===u?this.length:u>>>0,i||(i=0),"number"==typeof i)for(v=s;v=m+4;u-=3)s=`_${i.slice(u-3,u)}${s}`;return`${i.slice(0,u)}${s}`}function checkIntBI(i,s,u,m,v,_){if(i>u||i3?0===s||s===BigInt(0)?`>= 0${m} and < 2${m} ** ${8*(_+1)}${m}`:`>= -(2${m} ** ${8*(_+1)-1}${m}) and < 2 ** ${8*(_+1)-1}${m}`:`>= ${s}${m} and <= ${u}${m}`,new $.ERR_OUT_OF_RANGE("value",v,i)}!function checkBounds(i,s,u){validateNumber(s,"offset"),void 0!==i[s]&&void 0!==i[s+u]||boundsError(s,i.length-(u+1))}(m,v,_)}function validateNumber(i,s){if("number"!=typeof i)throw new $.ERR_INVALID_ARG_TYPE(s,"number",i)}function boundsError(i,s,u){if(Math.floor(i)!==i)throw validateNumber(i,u),new $.ERR_OUT_OF_RANGE(u||"offset","an integer",i);if(s<0)throw new $.ERR_BUFFER_OUT_OF_BOUNDS;throw new $.ERR_OUT_OF_RANGE(u||"offset",`>= ${u?1:0} and <= ${s}`,i)}E("ERR_BUFFER_OUT_OF_BOUNDS",(function(i){return i?`${i} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),E("ERR_INVALID_ARG_TYPE",(function(i,s){return`The "${i}" argument must be of type number. Received type ${typeof s}`}),TypeError),E("ERR_OUT_OF_RANGE",(function(i,s,u){let m=`The value of "${i}" is out of range.`,v=u;return Number.isInteger(u)&&Math.abs(u)>2**32?v=addNumericalSeparator(String(u)):"bigint"==typeof u&&(v=String(u),(u>BigInt(2)**BigInt(32)||u<-(BigInt(2)**BigInt(32)))&&(v=addNumericalSeparator(v)),v+="n"),m+=` It must be ${s}. Received ${v}`,m}),RangeError);const W=/[^+/0-9A-Za-z-_]/g;function utf8ToBytes(i,s){let u;s=s||1/0;const m=i.length;let v=null;const _=[];for(let j=0;j55295&&u<57344){if(!v){if(u>56319){(s-=3)>-1&&_.push(239,191,189);continue}if(j+1===m){(s-=3)>-1&&_.push(239,191,189);continue}v=u;continue}if(u<56320){(s-=3)>-1&&_.push(239,191,189),v=u;continue}u=65536+(v-55296<<10|u-56320)}else v&&(s-=3)>-1&&_.push(239,191,189);if(v=null,u<128){if((s-=1)<0)break;_.push(u)}else if(u<2048){if((s-=2)<0)break;_.push(u>>6|192,63&u|128)}else if(u<65536){if((s-=3)<0)break;_.push(u>>12|224,u>>6&63|128,63&u|128)}else{if(!(u<1114112))throw new Error("Invalid code point");if((s-=4)<0)break;_.push(u>>18|240,u>>12&63|128,u>>6&63|128,63&u|128)}}return _}function base64ToBytes(i){return m.toByteArray(function base64clean(i){if((i=(i=i.split("=")[0]).trim().replace(W,"")).length<2)return"";for(;i.length%4!=0;)i+="=";return i}(i))}function blitBuffer(i,s,u,m){let v;for(v=0;v=s.length||v>=i.length);++v)s[v+u]=i[v];return v}function isInstance(i,s){return i instanceof s||null!=i&&null!=i.constructor&&null!=i.constructor.name&&i.constructor.name===s.name}function numberIsNaN(i){return i!=i}const X=function(){const i="0123456789abcdef",s=new Array(256);for(let u=0;u<16;++u){const m=16*u;for(let v=0;v<16;++v)s[m+v]=i[u]+i[v]}return s}();function defineBigIntMethod(i){return"undefined"==typeof BigInt?BufferBigIntNotDefined:i}function BufferBigIntNotDefined(){throw new Error("BigInt not supported")}},21924:(i,s,u)=>{"use strict";var m=u(40210),v=u(55559),_=v(m("String.prototype.indexOf"));i.exports=function callBoundIntrinsic(i,s){var u=m(i,!!s);return"function"==typeof u&&_(i,".prototype.")>-1?v(u):u}},55559:(i,s,u)=>{"use strict";var m=u(58612),v=u(40210),_=v("%Function.prototype.apply%"),j=v("%Function.prototype.call%"),M=v("%Reflect.apply%",!0)||m.call(j,_),$=v("%Object.getOwnPropertyDescriptor%",!0),W=v("%Object.defineProperty%",!0),X=v("%Math.max%");if(W)try{W({},"a",{value:1})}catch(i){W=null}i.exports=function callBind(i){var s=M(m,j,arguments);$&&W&&($(s,"length").configurable&&W(s,"length",{value:1+X(0,i.length-(arguments.length-1))}));return s};var Y=function applyBind(){return M(m,_,arguments)};W?W(i.exports,"apply",{value:Y}):i.exports.apply=Y},94184:(i,s)=>{var u;!function(){"use strict";var m={}.hasOwnProperty;function classNames(){for(var i=[],s=0;s{"use strict";s.parse=function parse(i,s){if("string"!=typeof i)throw new TypeError("argument str must be a string");var u={},m=(s||{}).decode||decode,v=0;for(;v{"use strict";var m=u(11742),v={"text/plain":"Text","text/html":"Url",default:"Text"};i.exports=function copy(i,s){var u,_,j,M,$,W,X=!1;s||(s={}),u=s.debug||!1;try{if(j=m(),M=document.createRange(),$=document.getSelection(),(W=document.createElement("span")).textContent=i,W.ariaHidden="true",W.style.all="unset",W.style.position="fixed",W.style.top=0,W.style.clip="rect(0, 0, 0, 0)",W.style.whiteSpace="pre",W.style.webkitUserSelect="text",W.style.MozUserSelect="text",W.style.msUserSelect="text",W.style.userSelect="text",W.addEventListener("copy",(function(m){if(m.stopPropagation(),s.format)if(m.preventDefault(),void 0===m.clipboardData){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var _=v[s.format]||v.default;window.clipboardData.setData(_,i)}else m.clipboardData.clearData(),m.clipboardData.setData(s.format,i);s.onCopy&&(m.preventDefault(),s.onCopy(m.clipboardData))})),document.body.appendChild(W),M.selectNodeContents(W),$.addRange(M),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");X=!0}catch(m){u&&console.error("unable to copy using execCommand: ",m),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(s.format||"text",i),s.onCopy&&s.onCopy(window.clipboardData),X=!0}catch(m){u&&console.error("unable to copy using clipboardData: ",m),u&&console.error("falling back to prompt"),_=function format(i){var s=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return i.replace(/#{\s*key\s*}/g,s)}("message"in s?s.message:"Copy to clipboard: #{key}, Enter"),window.prompt(_,i)}}finally{$&&("function"==typeof $.removeRange?$.removeRange(M):$.removeAllRanges()),W&&document.body.removeChild(W),j()}return X}},44101:(i,s,u)=>{var m=u(18957);i.exports=m},90093:(i,s,u)=>{var m=u(28196);i.exports=m},65362:(i,s,u)=>{var m=u(63383);i.exports=m},50415:(i,s,u)=>{u(61181),u(47627),u(24415),u(66274),u(77971);var m=u(54058);i.exports=m.AggregateError},27700:(i,s,u)=>{u(73381);var m=u(35703);i.exports=m("Function").bind},16246:(i,s,u)=>{var m=u(7046),v=u(27700),_=Function.prototype;i.exports=function(i){var s=i.bind;return i===_||m(_,i)&&s===_.bind?v:s}},45999:(i,s,u)=>{u(49221);var m=u(54058);i.exports=m.Object.assign},16121:(i,s,u)=>{i.exports=u(38644)},14122:(i,s,u)=>{i.exports=u(89097)},60269:(i,s,u)=>{i.exports=u(76936)},38644:(i,s,u)=>{u(89731);var m=u(44101);i.exports=m},89097:(i,s,u)=>{var m=u(90093);i.exports=m},76936:(i,s,u)=>{var m=u(65362);i.exports=m},24883:(i,s,u)=>{var m=u(57475),v=u(69826),_=TypeError;i.exports=function(i){if(m(i))return i;throw _(v(i)+" is not a function")}},11851:(i,s,u)=>{var m=u(57475),v=String,_=TypeError;i.exports=function(i){if("object"==typeof i||m(i))return i;throw _("Can't set "+v(i)+" as a prototype")}},18479:i=>{i.exports=function(){}},96059:(i,s,u)=>{var m=u(10941),v=String,_=TypeError;i.exports=function(i){if(m(i))return i;throw _(v(i)+" is not an object")}},31692:(i,s,u)=>{var m=u(74529),v=u(59413),_=u(10623),createMethod=function(i){return function(s,u,j){var M,$=m(s),W=_($),X=v(j,W);if(i&&u!=u){for(;W>X;)if((M=$[X++])!=M)return!0}else for(;W>X;X++)if((i||X in $)&&$[X]===u)return i||X||0;return!i&&-1}};i.exports={includes:createMethod(!0),indexOf:createMethod(!1)}},93765:(i,s,u)=>{var m=u(95329);i.exports=m([].slice)},82532:(i,s,u)=>{var m=u(95329),v=m({}.toString),_=m("".slice);i.exports=function(i){return _(v(i),8,-1)}},9697:(i,s,u)=>{var m=u(22885),v=u(57475),_=u(82532),j=u(99813)("toStringTag"),M=Object,$="Arguments"==_(function(){return arguments}());i.exports=m?_:function(i){var s,u,m;return void 0===i?"Undefined":null===i?"Null":"string"==typeof(u=function(i,s){try{return i[s]}catch(i){}}(s=M(i),j))?u:$?_(s):"Object"==(m=_(s))&&v(s.callee)?"Arguments":m}},23489:(i,s,u)=>{var m=u(90953),v=u(31136),_=u(49677),j=u(65988);i.exports=function(i,s,u){for(var M=v(s),$=j.f,W=_.f,X=0;X{var m=u(95981);i.exports=!m((function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype}))},23538:i=>{i.exports=function(i,s){return{value:i,done:s}}},32029:(i,s,u)=>{var m=u(55746),v=u(65988),_=u(31887);i.exports=m?function(i,s,u){return v.f(i,s,_(1,u))}:function(i,s,u){return i[s]=u,i}},31887:i=>{i.exports=function(i,s){return{enumerable:!(1&i),configurable:!(2&i),writable:!(4&i),value:s}}},95929:(i,s,u)=>{var m=u(32029);i.exports=function(i,s,u,v){return v&&v.enumerable?i[s]=u:m(i,s,u),i}},75609:(i,s,u)=>{var m=u(21899),v=Object.defineProperty;i.exports=function(i,s){try{v(m,i,{value:s,configurable:!0,writable:!0})}catch(u){m[i]=s}return s}},55746:(i,s,u)=>{var m=u(95981);i.exports=!m((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},76616:i=>{var s="object"==typeof document&&document.all,u=void 0===s&&void 0!==s;i.exports={all:s,IS_HTMLDDA:u}},61333:(i,s,u)=>{var m=u(21899),v=u(10941),_=m.document,j=v(_)&&v(_.createElement);i.exports=function(i){return j?_.createElement(i):{}}},63281:i=>{i.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},2861:i=>{i.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},53385:(i,s,u)=>{var m,v,_=u(21899),j=u(2861),M=_.process,$=_.Deno,W=M&&M.versions||$&&$.version,X=W&&W.v8;X&&(v=(m=X.split("."))[0]>0&&m[0]<4?1:+(m[0]+m[1])),!v&&j&&(!(m=j.match(/Edge\/(\d+)/))||m[1]>=74)&&(m=j.match(/Chrome\/(\d+)/))&&(v=+m[1]),i.exports=v},35703:(i,s,u)=>{var m=u(54058);i.exports=function(i){return m[i+"Prototype"]}},56759:i=>{i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},53995:(i,s,u)=>{var m=u(95329),v=Error,_=m("".replace),j=String(v("zxcasd").stack),M=/\n\s*at [^:]*:[^\n]*/,$=M.test(j);i.exports=function(i,s){if($&&"string"==typeof i&&!v.prepareStackTrace)for(;s--;)i=_(i,M,"");return i}},79585:(i,s,u)=>{var m=u(32029),v=u(53995),_=u(18780),j=Error.captureStackTrace;i.exports=function(i,s,u,M){_&&(j?j(i,s):m(i,"stack",v(u,M)))}},18780:(i,s,u)=>{var m=u(95981),v=u(31887);i.exports=!m((function(){var i=Error("a");return!("stack"in i)||(Object.defineProperty(i,"stack",v(1,7)),7!==i.stack)}))},76887:(i,s,u)=>{"use strict";var m=u(21899),v=u(79730),_=u(97484),j=u(57475),M=u(49677).f,$=u(37252),W=u(54058),X=u(86843),Y=u(32029),Z=u(90953),wrapConstructor=function(i){var Wrapper=function(s,u,m){if(this instanceof Wrapper){switch(arguments.length){case 0:return new i;case 1:return new i(s);case 2:return new i(s,u)}return new i(s,u,m)}return v(i,this,arguments)};return Wrapper.prototype=i.prototype,Wrapper};i.exports=function(i,s){var u,v,ee,ae,ie,le,ce,pe,de,fe=i.target,ye=i.global,be=i.stat,_e=i.proto,we=ye?m:be?m[fe]:(m[fe]||{}).prototype,Se=ye?W:W[fe]||Y(W,fe,{})[fe],xe=Se.prototype;for(ae in s)v=!(u=$(ye?ae:fe+(be?".":"#")+ae,i.forced))&&we&&Z(we,ae),le=Se[ae],v&&(ce=i.dontCallGetSet?(de=M(we,ae))&&de.value:we[ae]),ie=v&&ce?ce:s[ae],v&&typeof le==typeof ie||(pe=i.bind&&v?X(ie,m):i.wrap&&v?wrapConstructor(ie):_e&&j(ie)?_(ie):ie,(i.sham||ie&&ie.sham||le&&le.sham)&&Y(pe,"sham",!0),Y(Se,ae,pe),_e&&(Z(W,ee=fe+"Prototype")||Y(W,ee,{}),Y(W[ee],ae,ie),i.real&&xe&&(u||!xe[ae])&&Y(xe,ae,ie)))}},95981:i=>{i.exports=function(i){try{return!!i()}catch(i){return!0}}},79730:(i,s,u)=>{var m=u(18285),v=Function.prototype,_=v.apply,j=v.call;i.exports="object"==typeof Reflect&&Reflect.apply||(m?j.bind(_):function(){return j.apply(_,arguments)})},86843:(i,s,u)=>{var m=u(97484),v=u(24883),_=u(18285),j=m(m.bind);i.exports=function(i,s){return v(i),void 0===s?i:_?j(i,s):function(){return i.apply(s,arguments)}}},18285:(i,s,u)=>{var m=u(95981);i.exports=!m((function(){var i=function(){}.bind();return"function"!=typeof i||i.hasOwnProperty("prototype")}))},98308:(i,s,u)=>{"use strict";var m=u(95329),v=u(24883),_=u(10941),j=u(90953),M=u(93765),$=u(18285),W=Function,X=m([].concat),Y=m([].join),Z={};i.exports=$?W.bind:function bind(i){var s=v(this),u=s.prototype,m=M(arguments,1),$=function bound(){var u=X(m,M(arguments));return this instanceof $?function(i,s,u){if(!j(Z,s)){for(var m=[],v=0;v{var m=u(18285),v=Function.prototype.call;i.exports=m?v.bind(v):function(){return v.apply(v,arguments)}},79417:(i,s,u)=>{var m=u(55746),v=u(90953),_=Function.prototype,j=m&&Object.getOwnPropertyDescriptor,M=v(_,"name"),$=M&&"something"===function something(){}.name,W=M&&(!m||m&&j(_,"name").configurable);i.exports={EXISTS:M,PROPER:$,CONFIGURABLE:W}},45526:(i,s,u)=>{var m=u(95329),v=u(24883);i.exports=function(i,s,u){try{return m(v(Object.getOwnPropertyDescriptor(i,s)[u]))}catch(i){}}},97484:(i,s,u)=>{var m=u(82532),v=u(95329);i.exports=function(i){if("Function"===m(i))return v(i)}},95329:(i,s,u)=>{var m=u(18285),v=Function.prototype,_=v.call,j=m&&v.bind.bind(_,_);i.exports=m?j:function(i){return function(){return _.apply(i,arguments)}}},626:(i,s,u)=>{var m=u(54058),v=u(21899),_=u(57475),aFunction=function(i){return _(i)?i:void 0};i.exports=function(i,s){return arguments.length<2?aFunction(m[i])||aFunction(v[i]):m[i]&&m[i][s]||v[i]&&v[i][s]}},22902:(i,s,u)=>{var m=u(9697),v=u(14229),_=u(82119),j=u(12077),M=u(99813)("iterator");i.exports=function(i){if(!_(i))return v(i,M)||v(i,"@@iterator")||j[m(i)]}},53476:(i,s,u)=>{var m=u(78834),v=u(24883),_=u(96059),j=u(69826),M=u(22902),$=TypeError;i.exports=function(i,s){var u=arguments.length<2?M(i):s;if(v(u))return _(m(u,i));throw $(j(i)+" is not iterable")}},14229:(i,s,u)=>{var m=u(24883),v=u(82119);i.exports=function(i,s){var u=i[s];return v(u)?void 0:m(u)}},21899:function(i,s,u){var check=function(i){return i&&i.Math==Math&&i};i.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof u.g&&u.g)||function(){return this}()||this||Function("return this")()},90953:(i,s,u)=>{var m=u(95329),v=u(89678),_=m({}.hasOwnProperty);i.exports=Object.hasOwn||function hasOwn(i,s){return _(v(i),s)}},27748:i=>{i.exports={}},15463:(i,s,u)=>{var m=u(626);i.exports=m("document","documentElement")},2840:(i,s,u)=>{var m=u(55746),v=u(95981),_=u(61333);i.exports=!m&&!v((function(){return 7!=Object.defineProperty(_("div"),"a",{get:function(){return 7}}).a}))},37026:(i,s,u)=>{var m=u(95329),v=u(95981),_=u(82532),j=Object,M=m("".split);i.exports=v((function(){return!j("z").propertyIsEnumerable(0)}))?function(i){return"String"==_(i)?M(i,""):j(i)}:j},70926:(i,s,u)=>{var m=u(57475),v=u(10941),_=u(88929);i.exports=function(i,s,u){var j,M;return _&&m(j=s.constructor)&&j!==u&&v(M=j.prototype)&&M!==u.prototype&&_(i,M),i}},53794:(i,s,u)=>{var m=u(10941),v=u(32029);i.exports=function(i,s){m(s)&&"cause"in s&&v(i,"cause",s.cause)}},45402:(i,s,u)=>{var m,v,_,j=u(47093),M=u(21899),$=u(10941),W=u(32029),X=u(90953),Y=u(63030),Z=u(44262),ee=u(27748),ae="Object already initialized",ie=M.TypeError,le=M.WeakMap;if(j||Y.state){var ce=Y.state||(Y.state=new le);ce.get=ce.get,ce.has=ce.has,ce.set=ce.set,m=function(i,s){if(ce.has(i))throw ie(ae);return s.facade=i,ce.set(i,s),s},v=function(i){return ce.get(i)||{}},_=function(i){return ce.has(i)}}else{var pe=Z("state");ee[pe]=!0,m=function(i,s){if(X(i,pe))throw ie(ae);return s.facade=i,W(i,pe,s),s},v=function(i){return X(i,pe)?i[pe]:{}},_=function(i){return X(i,pe)}}i.exports={set:m,get:v,has:_,enforce:function(i){return _(i)?v(i):m(i,{})},getterFor:function(i){return function(s){var u;if(!$(s)||(u=v(s)).type!==i)throw ie("Incompatible receiver, "+i+" required");return u}}}},6782:(i,s,u)=>{var m=u(99813),v=u(12077),_=m("iterator"),j=Array.prototype;i.exports=function(i){return void 0!==i&&(v.Array===i||j[_]===i)}},57475:(i,s,u)=>{var m=u(76616),v=m.all;i.exports=m.IS_HTMLDDA?function(i){return"function"==typeof i||i===v}:function(i){return"function"==typeof i}},37252:(i,s,u)=>{var m=u(95981),v=u(57475),_=/#|\.prototype\./,isForced=function(i,s){var u=M[j(i)];return u==W||u!=$&&(v(s)?m(s):!!s)},j=isForced.normalize=function(i){return String(i).replace(_,".").toLowerCase()},M=isForced.data={},$=isForced.NATIVE="N",W=isForced.POLYFILL="P";i.exports=isForced},82119:i=>{i.exports=function(i){return null==i}},10941:(i,s,u)=>{var m=u(57475),v=u(76616),_=v.all;i.exports=v.IS_HTMLDDA?function(i){return"object"==typeof i?null!==i:m(i)||i===_}:function(i){return"object"==typeof i?null!==i:m(i)}},82529:i=>{i.exports=!0},56664:(i,s,u)=>{var m=u(626),v=u(57475),_=u(7046),j=u(32302),M=Object;i.exports=j?function(i){return"symbol"==typeof i}:function(i){var s=m("Symbol");return v(s)&&_(s.prototype,M(i))}},93091:(i,s,u)=>{var m=u(86843),v=u(78834),_=u(96059),j=u(69826),M=u(6782),$=u(10623),W=u(7046),X=u(53476),Y=u(22902),Z=u(7609),ee=TypeError,Result=function(i,s){this.stopped=i,this.result=s},ae=Result.prototype;i.exports=function(i,s,u){var ie,le,ce,pe,de,fe,ye,be=u&&u.that,_e=!(!u||!u.AS_ENTRIES),we=!(!u||!u.IS_RECORD),Se=!(!u||!u.IS_ITERATOR),xe=!(!u||!u.INTERRUPTED),Pe=m(s,be),stop=function(i){return ie&&Z(ie,"normal",i),new Result(!0,i)},callFn=function(i){return _e?(_(i),xe?Pe(i[0],i[1],stop):Pe(i[0],i[1])):xe?Pe(i,stop):Pe(i)};if(we)ie=i.iterator;else if(Se)ie=i;else{if(!(le=Y(i)))throw ee(j(i)+" is not iterable");if(M(le)){for(ce=0,pe=$(i);pe>ce;ce++)if((de=callFn(i[ce]))&&W(ae,de))return de;return new Result(!1)}ie=X(i,le)}for(fe=we?i.next:ie.next;!(ye=v(fe,ie)).done;){try{de=callFn(ye.value)}catch(i){Z(ie,"throw",i)}if("object"==typeof de&&de&&W(ae,de))return de}return new Result(!1)}},7609:(i,s,u)=>{var m=u(78834),v=u(96059),_=u(14229);i.exports=function(i,s,u){var j,M;v(i);try{if(!(j=_(i,"return"))){if("throw"===s)throw u;return u}j=m(j,i)}catch(i){M=!0,j=i}if("throw"===s)throw u;if(M)throw j;return v(j),u}},53847:(i,s,u)=>{"use strict";var m=u(35143).IteratorPrototype,v=u(29290),_=u(31887),j=u(90904),M=u(12077),returnThis=function(){return this};i.exports=function(i,s,u,$){var W=s+" Iterator";return i.prototype=v(m,{next:_(+!$,u)}),j(i,W,!1,!0),M[W]=returnThis,i}},75105:(i,s,u)=>{"use strict";var m=u(76887),v=u(78834),_=u(82529),j=u(79417),M=u(57475),$=u(53847),W=u(249),X=u(88929),Y=u(90904),Z=u(32029),ee=u(95929),ae=u(99813),ie=u(12077),le=u(35143),ce=j.PROPER,pe=j.CONFIGURABLE,de=le.IteratorPrototype,fe=le.BUGGY_SAFARI_ITERATORS,ye=ae("iterator"),be="keys",_e="values",we="entries",returnThis=function(){return this};i.exports=function(i,s,u,j,ae,le,Se){$(u,s,j);var xe,Pe,Ie,getIterationMethod=function(i){if(i===ae&&Ve)return Ve;if(!fe&&i in qe)return qe[i];switch(i){case be:return function keys(){return new u(this,i)};case _e:return function values(){return new u(this,i)};case we:return function entries(){return new u(this,i)}}return function(){return new u(this)}},Te=s+" Iterator",Re=!1,qe=i.prototype,ze=qe[ye]||qe["@@iterator"]||ae&&qe[ae],Ve=!fe&&ze||getIterationMethod(ae),We="Array"==s&&qe.entries||ze;if(We&&(xe=W(We.call(new i)))!==Object.prototype&&xe.next&&(_||W(xe)===de||(X?X(xe,de):M(xe[ye])||ee(xe,ye,returnThis)),Y(xe,Te,!0,!0),_&&(ie[Te]=returnThis)),ce&&ae==_e&&ze&&ze.name!==_e&&(!_&&pe?Z(qe,"name",_e):(Re=!0,Ve=function values(){return v(ze,this)})),ae)if(Pe={values:getIterationMethod(_e),keys:le?Ve:getIterationMethod(be),entries:getIterationMethod(we)},Se)for(Ie in Pe)(fe||Re||!(Ie in qe))&&ee(qe,Ie,Pe[Ie]);else m({target:s,proto:!0,forced:fe||Re},Pe);return _&&!Se||qe[ye]===Ve||ee(qe,ye,Ve,{name:ae}),ie[s]=Ve,Pe}},35143:(i,s,u)=>{"use strict";var m,v,_,j=u(95981),M=u(57475),$=u(10941),W=u(29290),X=u(249),Y=u(95929),Z=u(99813),ee=u(82529),ae=Z("iterator"),ie=!1;[].keys&&("next"in(_=[].keys())?(v=X(X(_)))!==Object.prototype&&(m=v):ie=!0),!$(m)||j((function(){var i={};return m[ae].call(i)!==i}))?m={}:ee&&(m=W(m)),M(m[ae])||Y(m,ae,(function(){return this})),i.exports={IteratorPrototype:m,BUGGY_SAFARI_ITERATORS:ie}},12077:i=>{i.exports={}},10623:(i,s,u)=>{var m=u(43057);i.exports=function(i){return m(i.length)}},35331:i=>{var s=Math.ceil,u=Math.floor;i.exports=Math.trunc||function trunc(i){var m=+i;return(m>0?u:s)(m)}},14649:(i,s,u)=>{var m=u(85803);i.exports=function(i,s){return void 0===i?arguments.length<2?"":s:m(i)}},24420:(i,s,u)=>{"use strict";var m=u(55746),v=u(95329),_=u(78834),j=u(95981),M=u(14771),$=u(87857),W=u(36760),X=u(89678),Y=u(37026),Z=Object.assign,ee=Object.defineProperty,ae=v([].concat);i.exports=!Z||j((function(){if(m&&1!==Z({b:1},Z(ee({},"a",{enumerable:!0,get:function(){ee(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var i={},s={},u=Symbol(),v="abcdefghijklmnopqrst";return i[u]=7,v.split("").forEach((function(i){s[i]=i})),7!=Z({},i)[u]||M(Z({},s)).join("")!=v}))?function assign(i,s){for(var u=X(i),v=arguments.length,j=1,Z=$.f,ee=W.f;v>j;)for(var ie,le=Y(arguments[j++]),ce=Z?ae(M(le),Z(le)):M(le),pe=ce.length,de=0;pe>de;)ie=ce[de++],m&&!_(ee,le,ie)||(u[ie]=le[ie]);return u}:Z},29290:(i,s,u)=>{var m,v=u(96059),_=u(59938),j=u(56759),M=u(27748),$=u(15463),W=u(61333),X=u(44262),Y="prototype",Z="script",ee=X("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(i){return"<"+Z+">"+i+""},NullProtoObjectViaActiveX=function(i){i.write(scriptTag("")),i.close();var s=i.parentWindow.Object;return i=null,s},NullProtoObject=function(){try{m=new ActiveXObject("htmlfile")}catch(i){}var i,s,u;NullProtoObject="undefined"!=typeof document?document.domain&&m?NullProtoObjectViaActiveX(m):(s=W("iframe"),u="java"+Z+":",s.style.display="none",$.appendChild(s),s.src=String(u),(i=s.contentWindow.document).open(),i.write(scriptTag("document.F=Object")),i.close(),i.F):NullProtoObjectViaActiveX(m);for(var v=j.length;v--;)delete NullProtoObject[Y][j[v]];return NullProtoObject()};M[ee]=!0,i.exports=Object.create||function create(i,s){var u;return null!==i?(EmptyConstructor[Y]=v(i),u=new EmptyConstructor,EmptyConstructor[Y]=null,u[ee]=i):u=NullProtoObject(),void 0===s?u:_.f(u,s)}},59938:(i,s,u)=>{var m=u(55746),v=u(83937),_=u(65988),j=u(96059),M=u(74529),$=u(14771);s.f=m&&!v?Object.defineProperties:function defineProperties(i,s){j(i);for(var u,m=M(s),v=$(s),W=v.length,X=0;W>X;)_.f(i,u=v[X++],m[u]);return i}},65988:(i,s,u)=>{var m=u(55746),v=u(2840),_=u(83937),j=u(96059),M=u(83894),$=TypeError,W=Object.defineProperty,X=Object.getOwnPropertyDescriptor,Y="enumerable",Z="configurable",ee="writable";s.f=m?_?function defineProperty(i,s,u){if(j(i),s=M(s),j(u),"function"==typeof i&&"prototype"===s&&"value"in u&&ee in u&&!u[ee]){var m=X(i,s);m&&m[ee]&&(i[s]=u.value,u={configurable:Z in u?u[Z]:m[Z],enumerable:Y in u?u[Y]:m[Y],writable:!1})}return W(i,s,u)}:W:function defineProperty(i,s,u){if(j(i),s=M(s),j(u),v)try{return W(i,s,u)}catch(i){}if("get"in u||"set"in u)throw $("Accessors not supported");return"value"in u&&(i[s]=u.value),i}},49677:(i,s,u)=>{var m=u(55746),v=u(78834),_=u(36760),j=u(31887),M=u(74529),$=u(83894),W=u(90953),X=u(2840),Y=Object.getOwnPropertyDescriptor;s.f=m?Y:function getOwnPropertyDescriptor(i,s){if(i=M(i),s=$(s),X)try{return Y(i,s)}catch(i){}if(W(i,s))return j(!v(_.f,i,s),i[s])}},10946:(i,s,u)=>{var m=u(55629),v=u(56759).concat("length","prototype");s.f=Object.getOwnPropertyNames||function getOwnPropertyNames(i){return m(i,v)}},87857:(i,s)=>{s.f=Object.getOwnPropertySymbols},249:(i,s,u)=>{var m=u(90953),v=u(57475),_=u(89678),j=u(44262),M=u(91310),$=j("IE_PROTO"),W=Object,X=W.prototype;i.exports=M?W.getPrototypeOf:function(i){var s=_(i);if(m(s,$))return s[$];var u=s.constructor;return v(u)&&s instanceof u?u.prototype:s instanceof W?X:null}},7046:(i,s,u)=>{var m=u(95329);i.exports=m({}.isPrototypeOf)},55629:(i,s,u)=>{var m=u(95329),v=u(90953),_=u(74529),j=u(31692).indexOf,M=u(27748),$=m([].push);i.exports=function(i,s){var u,m=_(i),W=0,X=[];for(u in m)!v(M,u)&&v(m,u)&&$(X,u);for(;s.length>W;)v(m,u=s[W++])&&(~j(X,u)||$(X,u));return X}},14771:(i,s,u)=>{var m=u(55629),v=u(56759);i.exports=Object.keys||function keys(i){return m(i,v)}},36760:(i,s)=>{"use strict";var u={}.propertyIsEnumerable,m=Object.getOwnPropertyDescriptor,v=m&&!u.call({1:2},1);s.f=v?function propertyIsEnumerable(i){var s=m(this,i);return!!s&&s.enumerable}:u},88929:(i,s,u)=>{var m=u(45526),v=u(96059),_=u(11851);i.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i,s=!1,u={};try{(i=m(Object.prototype,"__proto__","set"))(u,[]),s=u instanceof Array}catch(i){}return function setPrototypeOf(u,m){return v(u),_(m),s?i(u,m):u.__proto__=m,u}}():void 0)},95623:(i,s,u)=>{"use strict";var m=u(22885),v=u(9697);i.exports=m?{}.toString:function toString(){return"[object "+v(this)+"]"}},39811:(i,s,u)=>{var m=u(78834),v=u(57475),_=u(10941),j=TypeError;i.exports=function(i,s){var u,M;if("string"===s&&v(u=i.toString)&&!_(M=m(u,i)))return M;if(v(u=i.valueOf)&&!_(M=m(u,i)))return M;if("string"!==s&&v(u=i.toString)&&!_(M=m(u,i)))return M;throw j("Can't convert object to primitive value")}},31136:(i,s,u)=>{var m=u(626),v=u(95329),_=u(10946),j=u(87857),M=u(96059),$=v([].concat);i.exports=m("Reflect","ownKeys")||function ownKeys(i){var s=_.f(M(i)),u=j.f;return u?$(s,u(i)):s}},54058:i=>{i.exports={}},9056:(i,s,u)=>{var m=u(65988).f;i.exports=function(i,s,u){u in i||m(i,u,{configurable:!0,get:function(){return s[u]},set:function(i){s[u]=i}})}},48219:(i,s,u)=>{var m=u(82119),v=TypeError;i.exports=function(i){if(m(i))throw v("Can't call method on "+i);return i}},90904:(i,s,u)=>{var m=u(22885),v=u(65988).f,_=u(32029),j=u(90953),M=u(95623),$=u(99813)("toStringTag");i.exports=function(i,s,u,W){if(i){var X=u?i:i.prototype;j(X,$)||v(X,$,{configurable:!0,value:s}),W&&!m&&_(X,"toString",M)}}},44262:(i,s,u)=>{var m=u(68726),v=u(99418),_=m("keys");i.exports=function(i){return _[i]||(_[i]=v(i))}},63030:(i,s,u)=>{var m=u(21899),v=u(75609),_="__core-js_shared__",j=m[_]||v(_,{});i.exports=j},68726:(i,s,u)=>{var m=u(82529),v=u(63030);(i.exports=function(i,s){return v[i]||(v[i]=void 0!==s?s:{})})("versions",[]).push({version:"3.31.1",mode:m?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.31.1/LICENSE",source:"https://github.com/zloirock/core-js"})},64620:(i,s,u)=>{var m=u(95329),v=u(62435),_=u(85803),j=u(48219),M=m("".charAt),$=m("".charCodeAt),W=m("".slice),createMethod=function(i){return function(s,u){var m,X,Y=_(j(s)),Z=v(u),ee=Y.length;return Z<0||Z>=ee?i?"":void 0:(m=$(Y,Z))<55296||m>56319||Z+1===ee||(X=$(Y,Z+1))<56320||X>57343?i?M(Y,Z):m:i?W(Y,Z,Z+2):X-56320+(m-55296<<10)+65536}};i.exports={codeAt:createMethod(!1),charAt:createMethod(!0)}},63405:(i,s,u)=>{var m=u(53385),v=u(95981),_=u(21899).String;i.exports=!!Object.getOwnPropertySymbols&&!v((function(){var i=Symbol();return!_(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&m&&m<41}))},59413:(i,s,u)=>{var m=u(62435),v=Math.max,_=Math.min;i.exports=function(i,s){var u=m(i);return u<0?v(u+s,0):_(u,s)}},74529:(i,s,u)=>{var m=u(37026),v=u(48219);i.exports=function(i){return m(v(i))}},62435:(i,s,u)=>{var m=u(35331);i.exports=function(i){var s=+i;return s!=s||0===s?0:m(s)}},43057:(i,s,u)=>{var m=u(62435),v=Math.min;i.exports=function(i){return i>0?v(m(i),9007199254740991):0}},89678:(i,s,u)=>{var m=u(48219),v=Object;i.exports=function(i){return v(m(i))}},46935:(i,s,u)=>{var m=u(78834),v=u(10941),_=u(56664),j=u(14229),M=u(39811),$=u(99813),W=TypeError,X=$("toPrimitive");i.exports=function(i,s){if(!v(i)||_(i))return i;var u,$=j(i,X);if($){if(void 0===s&&(s="default"),u=m($,i,s),!v(u)||_(u))return u;throw W("Can't convert object to primitive value")}return void 0===s&&(s="number"),M(i,s)}},83894:(i,s,u)=>{var m=u(46935),v=u(56664);i.exports=function(i){var s=m(i,"string");return v(s)?s:s+""}},22885:(i,s,u)=>{var m={};m[u(99813)("toStringTag")]="z",i.exports="[object z]"===String(m)},85803:(i,s,u)=>{var m=u(9697),v=String;i.exports=function(i){if("Symbol"===m(i))throw TypeError("Cannot convert a Symbol value to a string");return v(i)}},69826:i=>{var s=String;i.exports=function(i){try{return s(i)}catch(i){return"Object"}}},99418:(i,s,u)=>{var m=u(95329),v=0,_=Math.random(),j=m(1..toString);i.exports=function(i){return"Symbol("+(void 0===i?"":i)+")_"+j(++v+_,36)}},32302:(i,s,u)=>{var m=u(63405);i.exports=m&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},83937:(i,s,u)=>{var m=u(55746),v=u(95981);i.exports=m&&v((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},47093:(i,s,u)=>{var m=u(21899),v=u(57475),_=m.WeakMap;i.exports=v(_)&&/native code/.test(String(_))},99813:(i,s,u)=>{var m=u(21899),v=u(68726),_=u(90953),j=u(99418),M=u(63405),$=u(32302),W=m.Symbol,X=v("wks"),Y=$?W.for||W:W&&W.withoutSetter||j;i.exports=function(i){return _(X,i)||(X[i]=M&&_(W,i)?W[i]:Y("Symbol."+i)),X[i]}},62864:(i,s,u)=>{"use strict";var m=u(626),v=u(90953),_=u(32029),j=u(7046),M=u(88929),$=u(23489),W=u(9056),X=u(70926),Y=u(14649),Z=u(53794),ee=u(79585),ae=u(55746),ie=u(82529);i.exports=function(i,s,u,le){var ce="stackTraceLimit",pe=le?2:1,de=i.split("."),fe=de[de.length-1],ye=m.apply(null,de);if(ye){var be=ye.prototype;if(!ie&&v(be,"cause")&&delete be.cause,!u)return ye;var _e=m("Error"),we=s((function(i,s){var u=Y(le?s:i,void 0),m=le?new ye(i):new ye;return void 0!==u&&_(m,"message",u),ee(m,we,m.stack,2),this&&j(be,this)&&X(m,this,we),arguments.length>pe&&Z(m,arguments[pe]),m}));if(we.prototype=be,"Error"!==fe?M?M(we,_e):$(we,_e,{name:!0}):ae&&ce in ye&&(W(we,ye,ce),W(we,ye,"prepareStackTrace")),$(we,ye),!ie)try{be.name!==fe&&_(be,"name",fe),be.constructor=we}catch(i){}return we}}},24415:(i,s,u)=>{var m=u(76887),v=u(626),_=u(79730),j=u(95981),M=u(62864),$="AggregateError",W=v($),X=!j((function(){return 1!==W([1]).errors[0]}))&&j((function(){return 7!==W([1],$,{cause:7}).cause}));m({global:!0,constructor:!0,arity:2,forced:X},{AggregateError:M($,(function(i){return function AggregateError(s,u){return _(i,this,arguments)}}),X,!0)})},49812:(i,s,u)=>{"use strict";var m=u(76887),v=u(7046),_=u(249),j=u(88929),M=u(23489),$=u(29290),W=u(32029),X=u(31887),Y=u(53794),Z=u(79585),ee=u(93091),ae=u(14649),ie=u(99813)("toStringTag"),le=Error,ce=[].push,pe=function AggregateError(i,s){var u,m=v(de,this);j?u=j(le(),m?_(this):de):(u=m?this:$(de),W(u,ie,"Error")),void 0!==s&&W(u,"message",ae(s)),Z(u,pe,u.stack,1),arguments.length>2&&Y(u,arguments[2]);var M=[];return ee(i,ce,{that:M}),W(u,"errors",M),u};j?j(pe,le):M(pe,le,{name:!0});var de=pe.prototype=$(le.prototype,{constructor:X(1,pe),message:X(1,""),name:X(1,"AggregateError")});m({global:!0,constructor:!0,arity:2},{AggregateError:pe})},47627:(i,s,u)=>{u(49812)},66274:(i,s,u)=>{"use strict";var m=u(74529),v=u(18479),_=u(12077),j=u(45402),M=u(65988).f,$=u(75105),W=u(23538),X=u(82529),Y=u(55746),Z="Array Iterator",ee=j.set,ae=j.getterFor(Z);i.exports=$(Array,"Array",(function(i,s){ee(this,{type:Z,target:m(i),index:0,kind:s})}),(function(){var i=ae(this),s=i.target,u=i.kind,m=i.index++;return!s||m>=s.length?(i.target=void 0,W(void 0,!0)):W("keys"==u?m:"values"==u?s[m]:[m,s[m]],!1)}),"values");var ie=_.Arguments=_.Array;if(v("keys"),v("values"),v("entries"),!X&&Y&&"values"!==ie.name)try{M(ie,"name",{value:"values"})}catch(i){}},61181:(i,s,u)=>{var m=u(76887),v=u(21899),_=u(79730),j=u(62864),M="WebAssembly",$=v[M],W=7!==Error("e",{cause:7}).cause,exportGlobalErrorCauseWrapper=function(i,s){var u={};u[i]=j(i,s,W),m({global:!0,constructor:!0,arity:1,forced:W},u)},exportWebAssemblyErrorCauseWrapper=function(i,s){if($&&$[i]){var u={};u[i]=j(M+"."+i,s,W),m({target:M,stat:!0,constructor:!0,arity:1,forced:W},u)}};exportGlobalErrorCauseWrapper("Error",(function(i){return function Error(s){return _(i,this,arguments)}})),exportGlobalErrorCauseWrapper("EvalError",(function(i){return function EvalError(s){return _(i,this,arguments)}})),exportGlobalErrorCauseWrapper("RangeError",(function(i){return function RangeError(s){return _(i,this,arguments)}})),exportGlobalErrorCauseWrapper("ReferenceError",(function(i){return function ReferenceError(s){return _(i,this,arguments)}})),exportGlobalErrorCauseWrapper("SyntaxError",(function(i){return function SyntaxError(s){return _(i,this,arguments)}})),exportGlobalErrorCauseWrapper("TypeError",(function(i){return function TypeError(s){return _(i,this,arguments)}})),exportGlobalErrorCauseWrapper("URIError",(function(i){return function URIError(s){return _(i,this,arguments)}})),exportWebAssemblyErrorCauseWrapper("CompileError",(function(i){return function CompileError(s){return _(i,this,arguments)}})),exportWebAssemblyErrorCauseWrapper("LinkError",(function(i){return function LinkError(s){return _(i,this,arguments)}})),exportWebAssemblyErrorCauseWrapper("RuntimeError",(function(i){return function RuntimeError(s){return _(i,this,arguments)}}))},73381:(i,s,u)=>{var m=u(76887),v=u(98308);m({target:"Function",proto:!0,forced:Function.bind!==v},{bind:v})},49221:(i,s,u)=>{var m=u(76887),v=u(24420);m({target:"Object",stat:!0,arity:2,forced:Object.assign!==v},{assign:v})},77971:(i,s,u)=>{"use strict";var m=u(64620).charAt,v=u(85803),_=u(45402),j=u(75105),M=u(23538),$="String Iterator",W=_.set,X=_.getterFor($);j(String,"String",(function(i){W(this,{type:$,string:v(i),index:0})}),(function next(){var i,s=X(this),u=s.string,v=s.index;return v>=u.length?M(void 0,!0):(i=m(u,v),s.index+=i.length,M(i,!1))}))},89731:(i,s,u)=>{u(47627)},7634:(i,s,u)=>{u(66274);var m=u(63281),v=u(21899),_=u(9697),j=u(32029),M=u(12077),$=u(99813)("toStringTag");for(var W in m){var X=v[W],Y=X&&X.prototype;Y&&_(Y)!==$&&j(Y,$,W),M[W]=M.Array}},18957:(i,s,u)=>{u(89731);var m=u(50415);u(7634),i.exports=m},28196:(i,s,u)=>{var m=u(16246);i.exports=m},63383:(i,s,u)=>{var m=u(45999);i.exports=m},8269:function(i,s,u){var m;m=void 0!==u.g?u.g:this,i.exports=function(i){if(i.CSS&&i.CSS.escape)return i.CSS.escape;var cssEscape=function(i){if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(var s,u=String(i),m=u.length,v=-1,_="",j=u.charCodeAt(0);++v=1&&s<=31||127==s||0==v&&s>=48&&s<=57||1==v&&s>=48&&s<=57&&45==j?"\\"+s.toString(16)+" ":0==v&&1==m&&45==s||!(s>=128||45==s||95==s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122)?"\\"+u.charAt(v):u.charAt(v):_+="�";return _};return i.CSS||(i.CSS={}),i.CSS.escape=cssEscape,cssEscape}(m)},27698:(i,s,u)=>{"use strict";var m=u(48764).Buffer;function isSpecificValue(i){return i instanceof m||i instanceof Date||i instanceof RegExp}function cloneSpecificValue(i){if(i instanceof m){var s=m.alloc?m.alloc(i.length):new m(i.length);return i.copy(s),s}if(i instanceof Date)return new Date(i.getTime());if(i instanceof RegExp)return new RegExp(i);throw new Error("Unexpected situation")}function deepCloneArray(i){var s=[];return i.forEach((function(i,u){"object"==typeof i&&null!==i?Array.isArray(i)?s[u]=deepCloneArray(i):isSpecificValue(i)?s[u]=cloneSpecificValue(i):s[u]=v({},i):s[u]=i})),s}function safeGetProperty(i,s){return"__proto__"===s?void 0:i[s]}var v=i.exports=function(){if(arguments.length<1||"object"!=typeof arguments[0])return!1;if(arguments.length<2)return arguments[0];var i,s,u=arguments[0];return Array.prototype.slice.call(arguments,1).forEach((function(m){"object"!=typeof m||null===m||Array.isArray(m)||Object.keys(m).forEach((function(_){return s=safeGetProperty(u,_),(i=safeGetProperty(m,_))===u?void 0:"object"!=typeof i||null===i?void(u[_]=i):Array.isArray(i)?void(u[_]=deepCloneArray(i)):isSpecificValue(i)?void(u[_]=cloneSpecificValue(i)):"object"!=typeof s||null===s||Array.isArray(s)?void(u[_]=v({},i)):void(u[_]=v(s,i))}))})),u}},9996:i=>{"use strict";var s=function isMergeableObject(i){return function isNonNullObject(i){return!!i&&"object"==typeof i}(i)&&!function isSpecial(i){var s=Object.prototype.toString.call(i);return"[object RegExp]"===s||"[object Date]"===s||function isReactElement(i){return i.$$typeof===u}(i)}(i)};var u="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function cloneUnlessOtherwiseSpecified(i,s){return!1!==s.clone&&s.isMergeableObject(i)?deepmerge(function emptyTarget(i){return Array.isArray(i)?[]:{}}(i),i,s):i}function defaultArrayMerge(i,s,u){return i.concat(s).map((function(i){return cloneUnlessOtherwiseSpecified(i,u)}))}function getKeys(i){return Object.keys(i).concat(function getEnumerableOwnPropertySymbols(i){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(i).filter((function(s){return Object.propertyIsEnumerable.call(i,s)})):[]}(i))}function propertyIsOnObject(i,s){try{return s in i}catch(i){return!1}}function mergeObject(i,s,u){var m={};return u.isMergeableObject(i)&&getKeys(i).forEach((function(s){m[s]=cloneUnlessOtherwiseSpecified(i[s],u)})),getKeys(s).forEach((function(v){(function propertyIsUnsafe(i,s){return propertyIsOnObject(i,s)&&!(Object.hasOwnProperty.call(i,s)&&Object.propertyIsEnumerable.call(i,s))})(i,v)||(propertyIsOnObject(i,v)&&u.isMergeableObject(s[v])?m[v]=function getMergeFunction(i,s){if(!s.customMerge)return deepmerge;var u=s.customMerge(i);return"function"==typeof u?u:deepmerge}(v,u)(i[v],s[v],u):m[v]=cloneUnlessOtherwiseSpecified(s[v],u))})),m}function deepmerge(i,u,m){(m=m||{}).arrayMerge=m.arrayMerge||defaultArrayMerge,m.isMergeableObject=m.isMergeableObject||s,m.cloneUnlessOtherwiseSpecified=cloneUnlessOtherwiseSpecified;var v=Array.isArray(u);return v===Array.isArray(i)?v?m.arrayMerge(i,u,m):mergeObject(i,u,m):cloneUnlessOtherwiseSpecified(u,m)}deepmerge.all=function deepmergeAll(i,s){if(!Array.isArray(i))throw new Error("first argument should be an array");return i.reduce((function(i,u){return deepmerge(i,u,s)}),{})};var m=deepmerge;i.exports=m},27856:function(i){i.exports=function(){"use strict";const{entries:i,setPrototypeOf:s,isFrozen:u,getPrototypeOf:m,getOwnPropertyDescriptor:v}=Object;let{freeze:_,seal:j,create:M}=Object,{apply:$,construct:W}="undefined"!=typeof Reflect&&Reflect;_||(_=function freeze(i){return i}),j||(j=function seal(i){return i}),$||($=function apply(i,s,u){return i.apply(s,u)}),W||(W=function construct(i,s){return new i(...s)});const X=unapply(Array.prototype.forEach),Y=unapply(Array.prototype.pop),Z=unapply(Array.prototype.push),ee=unapply(String.prototype.toLowerCase),ae=unapply(String.prototype.toString),ie=unapply(String.prototype.match),le=unapply(String.prototype.replace),ce=unapply(String.prototype.indexOf),pe=unapply(String.prototype.trim),de=unapply(RegExp.prototype.test),fe=unconstruct(TypeError);function unapply(i){return function(s){for(var u=arguments.length,m=new Array(u>1?u-1:0),v=1;v2&&void 0!==arguments[2]?arguments[2]:ee;s&&s(i,null);let _=m.length;for(;_--;){let s=m[_];if("string"==typeof s){const i=v(s);i!==s&&(u(m)||(m[_]=i),s=i)}i[s]=!0}return i}function clone(s){const u=M(null);for(const[m,_]of i(s))void 0!==v(s,m)&&(u[m]=_);return u}function lookupGetter(i,s){for(;null!==i;){const u=v(i,s);if(u){if(u.get)return unapply(u.get);if("function"==typeof u.value)return unapply(u.value)}i=m(i)}function fallbackValue(i){return console.warn("fallback value for",i),null}return fallbackValue}const ye=_(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),be=_(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),_e=_(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),we=_(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Se=_(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),xe=_(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Pe=_(["#text"]),Ie=_(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Te=_(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Re=_(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),qe=_(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ze=j(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Ve=j(/<%[\w\W]*|[\w\W]*%>/gm),We=j(/\${[\w\W]*}/gm),He=j(/^data-[\-\w.\u00B7-\uFFFF]/),Xe=j(/^aria-[\-\w]+$/),Ye=j(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Qe=j(/^(?:\w+script|data):/i),et=j(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),tt=j(/^html$/i);var rt=Object.freeze({__proto__:null,MUSTACHE_EXPR:ze,ERB_EXPR:Ve,TMPLIT_EXPR:We,DATA_ATTR:He,ARIA_ATTR:Xe,IS_ALLOWED_URI:Ye,IS_SCRIPT_OR_DATA:Qe,ATTR_WHITESPACE:et,DOCTYPE_NAME:tt});const nt=function getGlobal(){return"undefined"==typeof window?null:window},ot=function _createTrustedTypesPolicy(i,s){if("object"!=typeof i||"function"!=typeof i.createPolicy)return null;let u=null;const m="data-tt-policy-suffix";s&&s.hasAttribute(m)&&(u=s.getAttribute(m));const v="dompurify"+(u?"#"+u:"");try{return i.createPolicy(v,{createHTML:i=>i,createScriptURL:i=>i})}catch(i){return console.warn("TrustedTypes policy "+v+" could not be created."),null}};function createDOMPurify(){let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:nt();const DOMPurify=i=>createDOMPurify(i);if(DOMPurify.version="3.0.6",DOMPurify.removed=[],!s||!s.document||9!==s.document.nodeType)return DOMPurify.isSupported=!1,DOMPurify;let{document:u}=s;const m=u,v=m.currentScript,{DocumentFragment:j,HTMLTemplateElement:$,Node:W,Element:ze,NodeFilter:Ve,NamedNodeMap:We=s.NamedNodeMap||s.MozNamedAttrMap,HTMLFormElement:He,DOMParser:Xe,trustedTypes:Qe}=s,et=ze.prototype,at=lookupGetter(et,"cloneNode"),it=lookupGetter(et,"nextSibling"),st=lookupGetter(et,"childNodes"),lt=lookupGetter(et,"parentNode");if("function"==typeof $){const i=u.createElement("template");i.content&&i.content.ownerDocument&&(u=i.content.ownerDocument)}let ct,ut="";const{implementation:pt,createNodeIterator:ht,createDocumentFragment:dt,getElementsByTagName:mt}=u,{importNode:gt}=m;let yt={};DOMPurify.isSupported="function"==typeof i&&"function"==typeof lt&&pt&&void 0!==pt.createHTMLDocument;const{MUSTACHE_EXPR:vt,ERB_EXPR:bt,TMPLIT_EXPR:_t,DATA_ATTR:Et,ARIA_ATTR:wt,IS_SCRIPT_OR_DATA:St,ATTR_WHITESPACE:xt}=rt;let{IS_ALLOWED_URI:kt}=rt,Ot=null;const At=addToSet({},[...ye,...be,..._e,...Se,...Pe]);let Ct=null;const jt=addToSet({},[...Ie,...Te,...Re,...qe]);let Pt=Object.seal(M(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),It=null,Nt=null,Tt=!0,Mt=!0,Rt=!1,Bt=!0,Dt=!1,Lt=!1,Ft=!1,qt=!1,$t=!1,zt=!1,Ut=!1,Vt=!0,Wt=!1;const Kt="user-content-";let Ht=!0,Jt=!1,Gt={},Xt=null;const Yt=addToSet({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Qt=null;const Zt=addToSet({},["audio","video","img","source","image","track"]);let er=null;const tr=addToSet({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),rr="http://www.w3.org/1998/Math/MathML",nr="http://www.w3.org/2000/svg",ar="http://www.w3.org/1999/xhtml";let ir=ar,sr=!1,lr=null;const cr=addToSet({},[rr,nr,ar],ae);let ur=null;const pr=["application/xhtml+xml","text/html"],dr="text/html";let fr=null,mr=null;const gr=u.createElement("form"),yr=function isRegexOrFunction(i){return i instanceof RegExp||i instanceof Function},vr=function _parseConfig(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!mr||mr!==i){if(i&&"object"==typeof i||(i={}),i=clone(i),ur=ur=-1===pr.indexOf(i.PARSER_MEDIA_TYPE)?dr:i.PARSER_MEDIA_TYPE,fr="application/xhtml+xml"===ur?ae:ee,Ot="ALLOWED_TAGS"in i?addToSet({},i.ALLOWED_TAGS,fr):At,Ct="ALLOWED_ATTR"in i?addToSet({},i.ALLOWED_ATTR,fr):jt,lr="ALLOWED_NAMESPACES"in i?addToSet({},i.ALLOWED_NAMESPACES,ae):cr,er="ADD_URI_SAFE_ATTR"in i?addToSet(clone(tr),i.ADD_URI_SAFE_ATTR,fr):tr,Qt="ADD_DATA_URI_TAGS"in i?addToSet(clone(Zt),i.ADD_DATA_URI_TAGS,fr):Zt,Xt="FORBID_CONTENTS"in i?addToSet({},i.FORBID_CONTENTS,fr):Yt,It="FORBID_TAGS"in i?addToSet({},i.FORBID_TAGS,fr):{},Nt="FORBID_ATTR"in i?addToSet({},i.FORBID_ATTR,fr):{},Gt="USE_PROFILES"in i&&i.USE_PROFILES,Tt=!1!==i.ALLOW_ARIA_ATTR,Mt=!1!==i.ALLOW_DATA_ATTR,Rt=i.ALLOW_UNKNOWN_PROTOCOLS||!1,Bt=!1!==i.ALLOW_SELF_CLOSE_IN_ATTR,Dt=i.SAFE_FOR_TEMPLATES||!1,Lt=i.WHOLE_DOCUMENT||!1,$t=i.RETURN_DOM||!1,zt=i.RETURN_DOM_FRAGMENT||!1,Ut=i.RETURN_TRUSTED_TYPE||!1,qt=i.FORCE_BODY||!1,Vt=!1!==i.SANITIZE_DOM,Wt=i.SANITIZE_NAMED_PROPS||!1,Ht=!1!==i.KEEP_CONTENT,Jt=i.IN_PLACE||!1,kt=i.ALLOWED_URI_REGEXP||Ye,ir=i.NAMESPACE||ar,Pt=i.CUSTOM_ELEMENT_HANDLING||{},i.CUSTOM_ELEMENT_HANDLING&&yr(i.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Pt.tagNameCheck=i.CUSTOM_ELEMENT_HANDLING.tagNameCheck),i.CUSTOM_ELEMENT_HANDLING&&yr(i.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Pt.attributeNameCheck=i.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),i.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof i.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Pt.allowCustomizedBuiltInElements=i.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Dt&&(Mt=!1),zt&&($t=!0),Gt&&(Ot=addToSet({},[...Pe]),Ct=[],!0===Gt.html&&(addToSet(Ot,ye),addToSet(Ct,Ie)),!0===Gt.svg&&(addToSet(Ot,be),addToSet(Ct,Te),addToSet(Ct,qe)),!0===Gt.svgFilters&&(addToSet(Ot,_e),addToSet(Ct,Te),addToSet(Ct,qe)),!0===Gt.mathMl&&(addToSet(Ot,Se),addToSet(Ct,Re),addToSet(Ct,qe))),i.ADD_TAGS&&(Ot===At&&(Ot=clone(Ot)),addToSet(Ot,i.ADD_TAGS,fr)),i.ADD_ATTR&&(Ct===jt&&(Ct=clone(Ct)),addToSet(Ct,i.ADD_ATTR,fr)),i.ADD_URI_SAFE_ATTR&&addToSet(er,i.ADD_URI_SAFE_ATTR,fr),i.FORBID_CONTENTS&&(Xt===Yt&&(Xt=clone(Xt)),addToSet(Xt,i.FORBID_CONTENTS,fr)),Ht&&(Ot["#text"]=!0),Lt&&addToSet(Ot,["html","head","body"]),Ot.table&&(addToSet(Ot,["tbody"]),delete It.tbody),i.TRUSTED_TYPES_POLICY){if("function"!=typeof i.TRUSTED_TYPES_POLICY.createHTML)throw fe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof i.TRUSTED_TYPES_POLICY.createScriptURL)throw fe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ct=i.TRUSTED_TYPES_POLICY,ut=ct.createHTML("")}else void 0===ct&&(ct=ot(Qe,v)),null!==ct&&"string"==typeof ut&&(ut=ct.createHTML(""));_&&_(i),mr=i}},br=addToSet({},["mi","mo","mn","ms","mtext"]),_r=addToSet({},["foreignobject","desc","title","annotation-xml"]),Er=addToSet({},["title","style","font","a","script"]),wr=addToSet({},be);addToSet(wr,_e),addToSet(wr,we);const Sr=addToSet({},Se);addToSet(Sr,xe);const xr=function _checkValidNamespace(i){let s=lt(i);s&&s.tagName||(s={namespaceURI:ir,tagName:"template"});const u=ee(i.tagName),m=ee(s.tagName);return!!lr[i.namespaceURI]&&(i.namespaceURI===nr?s.namespaceURI===ar?"svg"===u:s.namespaceURI===rr?"svg"===u&&("annotation-xml"===m||br[m]):Boolean(wr[u]):i.namespaceURI===rr?s.namespaceURI===ar?"math"===u:s.namespaceURI===nr?"math"===u&&_r[m]:Boolean(Sr[u]):i.namespaceURI===ar?!(s.namespaceURI===nr&&!_r[m])&&!(s.namespaceURI===rr&&!br[m])&&!Sr[u]&&(Er[u]||!wr[u]):!("application/xhtml+xml"!==ur||!lr[i.namespaceURI]))},kr=function _forceRemove(i){Z(DOMPurify.removed,{element:i});try{i.parentNode.removeChild(i)}catch(s){i.remove()}},Or=function _removeAttribute(i,s){try{Z(DOMPurify.removed,{attribute:s.getAttributeNode(i),from:s})}catch(i){Z(DOMPurify.removed,{attribute:null,from:s})}if(s.removeAttribute(i),"is"===i&&!Ct[i])if($t||zt)try{kr(s)}catch(i){}else try{s.setAttribute(i,"")}catch(i){}},Ar=function _initDocument(i){let s=null,m=null;if(qt)i=""+i;else{const s=ie(i,/^[\r\n\t ]+/);m=s&&s[0]}"application/xhtml+xml"===ur&&ir===ar&&(i=''+i+"");const v=ct?ct.createHTML(i):i;if(ir===ar)try{s=(new Xe).parseFromString(v,ur)}catch(i){}if(!s||!s.documentElement){s=pt.createDocument(ir,"template",null);try{s.documentElement.innerHTML=sr?ut:v}catch(i){}}const _=s.body||s.documentElement;return i&&m&&_.insertBefore(u.createTextNode(m),_.childNodes[0]||null),ir===ar?mt.call(s,Lt?"html":"body")[0]:Lt?s.documentElement:_},Cr=function _createNodeIterator(i){return ht.call(i.ownerDocument||i,i,Ve.SHOW_ELEMENT|Ve.SHOW_COMMENT|Ve.SHOW_TEXT,null)},jr=function _isClobbered(i){return i instanceof He&&("string"!=typeof i.nodeName||"string"!=typeof i.textContent||"function"!=typeof i.removeChild||!(i.attributes instanceof We)||"function"!=typeof i.removeAttribute||"function"!=typeof i.setAttribute||"string"!=typeof i.namespaceURI||"function"!=typeof i.insertBefore||"function"!=typeof i.hasChildNodes)},Pr=function _isNode(i){return"function"==typeof W&&i instanceof W},Ir=function _executeHook(i,s,u){yt[i]&&X(yt[i],(i=>{i.call(DOMPurify,s,u,mr)}))},Nr=function _sanitizeElements(i){let s=null;if(Ir("beforeSanitizeElements",i,null),jr(i))return kr(i),!0;const u=fr(i.nodeName);if(Ir("uponSanitizeElement",i,{tagName:u,allowedTags:Ot}),i.hasChildNodes()&&!Pr(i.firstElementChild)&&de(/<[/\w]/g,i.innerHTML)&&de(/<[/\w]/g,i.textContent))return kr(i),!0;if(!Ot[u]||It[u]){if(!It[u]&&Mr(u)){if(Pt.tagNameCheck instanceof RegExp&&de(Pt.tagNameCheck,u))return!1;if(Pt.tagNameCheck instanceof Function&&Pt.tagNameCheck(u))return!1}if(Ht&&!Xt[u]){const s=lt(i)||i.parentNode,u=st(i)||i.childNodes;if(u&&s)for(let m=u.length-1;m>=0;--m)s.insertBefore(at(u[m],!0),it(i))}return kr(i),!0}return i instanceof ze&&!xr(i)?(kr(i),!0):"noscript"!==u&&"noembed"!==u&&"noframes"!==u||!de(/<\/no(script|embed|frames)/i,i.innerHTML)?(Dt&&3===i.nodeType&&(s=i.textContent,X([vt,bt,_t],(i=>{s=le(s,i," ")})),i.textContent!==s&&(Z(DOMPurify.removed,{element:i.cloneNode()}),i.textContent=s)),Ir("afterSanitizeElements",i,null),!1):(kr(i),!0)},Tr=function _isValidAttribute(i,s,m){if(Vt&&("id"===s||"name"===s)&&(m in u||m in gr))return!1;if(Mt&&!Nt[s]&&de(Et,s));else if(Tt&&de(wt,s));else if(!Ct[s]||Nt[s]){if(!(Mr(i)&&(Pt.tagNameCheck instanceof RegExp&&de(Pt.tagNameCheck,i)||Pt.tagNameCheck instanceof Function&&Pt.tagNameCheck(i))&&(Pt.attributeNameCheck instanceof RegExp&&de(Pt.attributeNameCheck,s)||Pt.attributeNameCheck instanceof Function&&Pt.attributeNameCheck(s))||"is"===s&&Pt.allowCustomizedBuiltInElements&&(Pt.tagNameCheck instanceof RegExp&&de(Pt.tagNameCheck,m)||Pt.tagNameCheck instanceof Function&&Pt.tagNameCheck(m))))return!1}else if(er[s]);else if(de(kt,le(m,xt,"")));else if("src"!==s&&"xlink:href"!==s&&"href"!==s||"script"===i||0!==ce(m,"data:")||!Qt[i])if(Rt&&!de(St,le(m,xt,"")));else if(m)return!1;return!0},Mr=function _isBasicCustomElement(i){return i.indexOf("-")>0},Rr=function _sanitizeAttributes(i){Ir("beforeSanitizeAttributes",i,null);const{attributes:s}=i;if(!s)return;const u={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ct};let m=s.length;for(;m--;){const v=s[m],{name:_,namespaceURI:j,value:M}=v,$=fr(_);let W="value"===_?M:pe(M);if(u.attrName=$,u.attrValue=W,u.keepAttr=!0,u.forceKeepAttr=void 0,Ir("uponSanitizeAttribute",i,u),W=u.attrValue,u.forceKeepAttr)continue;if(Or(_,i),!u.keepAttr)continue;if(!Bt&&de(/\/>/i,W)){Or(_,i);continue}Dt&&X([vt,bt,_t],(i=>{W=le(W,i," ")}));const Z=fr(i.nodeName);if(Tr(Z,$,W)){if(!Wt||"id"!==$&&"name"!==$||(Or(_,i),W=Kt+W),ct&&"object"==typeof Qe&&"function"==typeof Qe.getAttributeType)if(j);else switch(Qe.getAttributeType(Z,$)){case"TrustedHTML":W=ct.createHTML(W);break;case"TrustedScriptURL":W=ct.createScriptURL(W)}try{j?i.setAttributeNS(j,_,W):i.setAttribute(_,W),Y(DOMPurify.removed)}catch(i){}}}Ir("afterSanitizeAttributes",i,null)},Br=function _sanitizeShadowDOM(i){let s=null;const u=Cr(i);for(Ir("beforeSanitizeShadowDOM",i,null);s=u.nextNode();)Ir("uponSanitizeShadowNode",s,null),Nr(s)||(s.content instanceof j&&_sanitizeShadowDOM(s.content),Rr(s));Ir("afterSanitizeShadowDOM",i,null)};return DOMPurify.sanitize=function(i){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=null,v=null,_=null,M=null;if(sr=!i,sr&&(i="\x3c!--\x3e"),"string"!=typeof i&&!Pr(i)){if("function"!=typeof i.toString)throw fe("toString is not a function");if("string"!=typeof(i=i.toString()))throw fe("dirty is not a string, aborting")}if(!DOMPurify.isSupported)return i;if(Ft||vr(s),DOMPurify.removed=[],"string"==typeof i&&(Jt=!1),Jt){if(i.nodeName){const s=fr(i.nodeName);if(!Ot[s]||It[s])throw fe("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof W)u=Ar("\x3c!----\x3e"),v=u.ownerDocument.importNode(i,!0),1===v.nodeType&&"BODY"===v.nodeName||"HTML"===v.nodeName?u=v:u.appendChild(v);else{if(!$t&&!Dt&&!Lt&&-1===i.indexOf("<"))return ct&&Ut?ct.createHTML(i):i;if(u=Ar(i),!u)return $t?null:Ut?ut:""}u&&qt&&kr(u.firstChild);const $=Cr(Jt?i:u);for(;_=$.nextNode();)Nr(_)||(_.content instanceof j&&Br(_.content),Rr(_));if(Jt)return i;if($t){if(zt)for(M=dt.call(u.ownerDocument);u.firstChild;)M.appendChild(u.firstChild);else M=u;return(Ct.shadowroot||Ct.shadowrootmode)&&(M=gt.call(m,M,!0)),M}let Y=Lt?u.outerHTML:u.innerHTML;return Lt&&Ot["!doctype"]&&u.ownerDocument&&u.ownerDocument.doctype&&u.ownerDocument.doctype.name&&de(tt,u.ownerDocument.doctype.name)&&(Y="\n"+Y),Dt&&X([vt,bt,_t],(i=>{Y=le(Y,i," ")})),ct&&Ut?ct.createHTML(Y):Y},DOMPurify.setConfig=function(){vr(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ft=!0},DOMPurify.clearConfig=function(){mr=null,Ft=!1},DOMPurify.isValidAttribute=function(i,s,u){mr||vr({});const m=fr(i),v=fr(s);return Tr(m,v,u)},DOMPurify.addHook=function(i,s){"function"==typeof s&&(yt[i]=yt[i]||[],Z(yt[i],s))},DOMPurify.removeHook=function(i){if(yt[i])return Y(yt[i])},DOMPurify.removeHooks=function(i){yt[i]&&(yt[i]=[])},DOMPurify.removeAllHooks=function(){yt={}},DOMPurify}return createDOMPurify()}()},69450:i=>{"use strict";class SubRange{constructor(i,s){this.low=i,this.high=s,this.length=1+s-i}overlaps(i){return!(this.highi.high)}touches(i){return!(this.high+1i.high)}add(i){return new SubRange(Math.min(this.low,i.low),Math.max(this.high,i.high))}subtract(i){return i.low<=this.low&&i.high>=this.high?[]:i.low>this.low&&i.highi+s.length),0)}add(i,s){var _add=i=>{for(var s=0;s{for(var s=0;s{for(var s=0;s{for(var u=s.low;u<=s.high;)i.push(u),u++;return i}),[])}subranges(){return this.ranges.map((i=>({low:i.low,high:i.high,length:1+i.high-i.low})))}}i.exports=DRange},17187:i=>{"use strict";var s,u="object"==typeof Reflect?Reflect:null,m=u&&"function"==typeof u.apply?u.apply:function ReflectApply(i,s,u){return Function.prototype.apply.call(i,s,u)};s=u&&"function"==typeof u.ownKeys?u.ownKeys:Object.getOwnPropertySymbols?function ReflectOwnKeys(i){return Object.getOwnPropertyNames(i).concat(Object.getOwnPropertySymbols(i))}:function ReflectOwnKeys(i){return Object.getOwnPropertyNames(i)};var v=Number.isNaN||function NumberIsNaN(i){return i!=i};function EventEmitter(){EventEmitter.init.call(this)}i.exports=EventEmitter,i.exports.once=function once(i,s){return new Promise((function(u,m){function errorListener(u){i.removeListener(s,resolver),m(u)}function resolver(){"function"==typeof i.removeListener&&i.removeListener("error",errorListener),u([].slice.call(arguments))}eventTargetAgnosticAddListener(i,s,resolver,{once:!0}),"error"!==s&&function addErrorHandlerIfEventEmitter(i,s,u){"function"==typeof i.on&&eventTargetAgnosticAddListener(i,"error",s,u)}(i,errorListener,{once:!0})}))},EventEmitter.EventEmitter=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._eventsCount=0,EventEmitter.prototype._maxListeners=void 0;var _=10;function checkListener(i){if("function"!=typeof i)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof i)}function _getMaxListeners(i){return void 0===i._maxListeners?EventEmitter.defaultMaxListeners:i._maxListeners}function _addListener(i,s,u,m){var v,_,j;if(checkListener(u),void 0===(_=i._events)?(_=i._events=Object.create(null),i._eventsCount=0):(void 0!==_.newListener&&(i.emit("newListener",s,u.listener?u.listener:u),_=i._events),j=_[s]),void 0===j)j=_[s]=u,++i._eventsCount;else if("function"==typeof j?j=_[s]=m?[u,j]:[j,u]:m?j.unshift(u):j.push(u),(v=_getMaxListeners(i))>0&&j.length>v&&!j.warned){j.warned=!0;var M=new Error("Possible EventEmitter memory leak detected. "+j.length+" "+String(s)+" listeners added. Use emitter.setMaxListeners() to increase limit");M.name="MaxListenersExceededWarning",M.emitter=i,M.type=s,M.count=j.length,function ProcessEmitWarning(i){console&&console.warn&&console.warn(i)}(M)}return i}function onceWrapper(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function _onceWrap(i,s,u){var m={fired:!1,wrapFn:void 0,target:i,type:s,listener:u},v=onceWrapper.bind(m);return v.listener=u,m.wrapFn=v,v}function _listeners(i,s,u){var m=i._events;if(void 0===m)return[];var v=m[s];return void 0===v?[]:"function"==typeof v?u?[v.listener||v]:[v]:u?function unwrapListeners(i){for(var s=new Array(i.length),u=0;u0&&(j=s[0]),j instanceof Error)throw j;var M=new Error("Unhandled error."+(j?" ("+j.message+")":""));throw M.context=j,M}var $=_[i];if(void 0===$)return!1;if("function"==typeof $)m($,this,s);else{var W=$.length,X=arrayClone($,W);for(u=0;u=0;_--)if(u[_]===s||u[_].listener===s){j=u[_].listener,v=_;break}if(v<0)return this;0===v?u.shift():function spliceOne(i,s){for(;s+1=0;m--)this.removeListener(i,s[m]);return this},EventEmitter.prototype.listeners=function listeners(i){return _listeners(this,i,!0)},EventEmitter.prototype.rawListeners=function rawListeners(i){return _listeners(this,i,!1)},EventEmitter.listenerCount=function(i,s){return"function"==typeof i.listenerCount?i.listenerCount(s):listenerCount.call(i,s)},EventEmitter.prototype.listenerCount=listenerCount,EventEmitter.prototype.eventNames=function eventNames(){return this._eventsCount>0?s(this._events):[]}},21102:(i,s,u)=>{"use strict";var m=u(46291),v=create(Error);function create(i){return FormattedError.displayName=i.displayName||i.name,FormattedError;function FormattedError(s){return s&&(s=m.apply(null,arguments)),new i(s)}}i.exports=v,v.eval=create(EvalError),v.range=create(RangeError),v.reference=create(ReferenceError),v.syntax=create(SyntaxError),v.type=create(TypeError),v.uri=create(URIError),v.create=create},46291:i=>{!function(){var s;function format(i){for(var s,u,m,v,_=1,j=[].slice.call(arguments),M=0,$=i.length,W="",X=!1,Y=!1,nextArg=function(){return j[_++]},slurpNumber=function(){for(var u="";/\d/.test(i[M]);)u+=i[M++],s=i[M];return u.length>0?parseInt(u):null};M<$;++M)if(s=i[M],X)switch(X=!1,"."==s?(Y=!1,s=i[++M]):"0"==s&&"."==i[M+1]?(Y=!0,s=i[M+=2]):Y=!0,v=slurpNumber(),s){case"b":W+=parseInt(nextArg(),10).toString(2);break;case"c":W+="string"==typeof(u=nextArg())||u instanceof String?u:String.fromCharCode(parseInt(u,10));break;case"d":W+=parseInt(nextArg(),10);break;case"f":m=String(parseFloat(nextArg()).toFixed(v||6)),W+=Y?m:m.replace(/^0/,"");break;case"j":W+=JSON.stringify(nextArg());break;case"o":W+="0"+parseInt(nextArg(),10).toString(8);break;case"s":W+=nextArg();break;case"x":W+="0x"+parseInt(nextArg(),10).toString(16);break;case"X":W+="0x"+parseInt(nextArg(),10).toString(16).toUpperCase();break;default:W+=s}else"%"===s?X=!0:W+=s;return W}(s=i.exports=format).format=format,s.vsprintf=function vsprintf(i,s){return format.apply(null,[i].concat(s))},"undefined"!=typeof console&&"function"==typeof console.log&&(s.printf=function printf(){console.log(format.apply(null,arguments))})}()},17648:i=>{"use strict";var s=Array.prototype.slice,u=Object.prototype.toString;i.exports=function bind(i){var m=this;if("function"!=typeof m||"[object Function]"!==u.call(m))throw new TypeError("Function.prototype.bind called on incompatible "+m);for(var v,_=s.call(arguments,1),j=Math.max(0,m.length-_.length),M=[],$=0;${"use strict";var m=u(17648);i.exports=Function.prototype.bind||m},40210:(i,s,u)=>{"use strict";var m,v=SyntaxError,_=Function,j=TypeError,getEvalledConstructor=function(i){try{return _('"use strict"; return ('+i+").constructor;")()}catch(i){}},M=Object.getOwnPropertyDescriptor;if(M)try{M({},"")}catch(i){M=null}var throwTypeError=function(){throw new j},$=M?function(){try{return throwTypeError}catch(i){try{return M(arguments,"callee").get}catch(i){return throwTypeError}}}():throwTypeError,W=u(41405)(),X=u(28185)(),Y=Object.getPrototypeOf||(X?function(i){return i.__proto__}:null),Z={},ee="undefined"!=typeof Uint8Array&&Y?Y(Uint8Array):m,ae={"%AggregateError%":"undefined"==typeof AggregateError?m:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?m:ArrayBuffer,"%ArrayIteratorPrototype%":W&&Y?Y([][Symbol.iterator]()):m,"%AsyncFromSyncIteratorPrototype%":m,"%AsyncFunction%":Z,"%AsyncGenerator%":Z,"%AsyncGeneratorFunction%":Z,"%AsyncIteratorPrototype%":Z,"%Atomics%":"undefined"==typeof Atomics?m:Atomics,"%BigInt%":"undefined"==typeof BigInt?m:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?m:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?m:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?m:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?m:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?m:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?m:FinalizationRegistry,"%Function%":_,"%GeneratorFunction%":Z,"%Int8Array%":"undefined"==typeof Int8Array?m:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?m:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?m:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":W&&Y?Y(Y([][Symbol.iterator]())):m,"%JSON%":"object"==typeof JSON?JSON:m,"%Map%":"undefined"==typeof Map?m:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&W&&Y?Y((new Map)[Symbol.iterator]()):m,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?m:Promise,"%Proxy%":"undefined"==typeof Proxy?m:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?m:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?m:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&W&&Y?Y((new Set)[Symbol.iterator]()):m,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?m:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":W&&Y?Y(""[Symbol.iterator]()):m,"%Symbol%":W?Symbol:m,"%SyntaxError%":v,"%ThrowTypeError%":$,"%TypedArray%":ee,"%TypeError%":j,"%Uint8Array%":"undefined"==typeof Uint8Array?m:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?m:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?m:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?m:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?m:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?m:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?m:WeakSet};if(Y)try{null.error}catch(i){var ie=Y(Y(i));ae["%Error.prototype%"]=ie}var le=function doEval(i){var s;if("%AsyncFunction%"===i)s=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===i)s=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===i)s=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===i){var u=doEval("%AsyncGeneratorFunction%");u&&(s=u.prototype)}else if("%AsyncIteratorPrototype%"===i){var m=doEval("%AsyncGenerator%");m&&Y&&(s=Y(m.prototype))}return ae[i]=s,s},ce={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},pe=u(58612),de=u(17642),fe=pe.call(Function.call,Array.prototype.concat),ye=pe.call(Function.apply,Array.prototype.splice),be=pe.call(Function.call,String.prototype.replace),_e=pe.call(Function.call,String.prototype.slice),we=pe.call(Function.call,RegExp.prototype.exec),Se=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,xe=/\\(\\)?/g,Pe=function getBaseIntrinsic(i,s){var u,m=i;if(de(ce,m)&&(m="%"+(u=ce[m])[0]+"%"),de(ae,m)){var _=ae[m];if(_===Z&&(_=le(m)),void 0===_&&!s)throw new j("intrinsic "+i+" exists, but is not available. Please file an issue!");return{alias:u,name:m,value:_}}throw new v("intrinsic "+i+" does not exist!")};i.exports=function GetIntrinsic(i,s){if("string"!=typeof i||0===i.length)throw new j("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof s)throw new j('"allowMissing" argument must be a boolean');if(null===we(/^%?[^%]*%?$/,i))throw new v("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var u=function stringToPath(i){var s=_e(i,0,1),u=_e(i,-1);if("%"===s&&"%"!==u)throw new v("invalid intrinsic syntax, expected closing `%`");if("%"===u&&"%"!==s)throw new v("invalid intrinsic syntax, expected opening `%`");var m=[];return be(i,Se,(function(i,s,u,v){m[m.length]=u?be(v,xe,"$1"):s||i})),m}(i),m=u.length>0?u[0]:"",_=Pe("%"+m+"%",s),$=_.name,W=_.value,X=!1,Y=_.alias;Y&&(m=Y[0],ye(u,fe([0,1],Y)));for(var Z=1,ee=!0;Z=u.length){var pe=M(W,ie);W=(ee=!!pe)&&"get"in pe&&!("originalValue"in pe.get)?pe.get:W[ie]}else ee=de(W,ie),W=W[ie];ee&&!X&&(ae[$]=W)}}return W}},28185:i=>{"use strict";var s={foo:{}},u=Object;i.exports=function hasProto(){return{__proto__:s}.foo===s.foo&&!({__proto__:null}instanceof u)}},41405:(i,s,u)=>{"use strict";var m="undefined"!=typeof Symbol&&Symbol,v=u(55419);i.exports=function hasNativeSymbols(){return"function"==typeof m&&("function"==typeof Symbol&&("symbol"==typeof m("foo")&&("symbol"==typeof Symbol("bar")&&v())))}},55419:i=>{"use strict";i.exports=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var i={},s=Symbol("test"),u=Object(s);if("string"==typeof s)return!1;if("[object Symbol]"!==Object.prototype.toString.call(s))return!1;if("[object Symbol]"!==Object.prototype.toString.call(u))return!1;for(s in i[s]=42,i)return!1;if("function"==typeof Object.keys&&0!==Object.keys(i).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(i).length)return!1;var m=Object.getOwnPropertySymbols(i);if(1!==m.length||m[0]!==s)return!1;if(!Object.prototype.propertyIsEnumerable.call(i,s))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var v=Object.getOwnPropertyDescriptor(i,s);if(42!==v.value||!0!==v.enumerable)return!1}return!0}},17642:(i,s,u)=>{"use strict";var m=u(58612);i.exports=m.call(Function.call,Object.prototype.hasOwnProperty)},47802:i=>{function deepFreeze(i){return i instanceof Map?i.clear=i.delete=i.set=function(){throw new Error("map is read-only")}:i instanceof Set&&(i.add=i.clear=i.delete=function(){throw new Error("set is read-only")}),Object.freeze(i),Object.getOwnPropertyNames(i).forEach((function(s){var u=i[s];"object"!=typeof u||Object.isFrozen(u)||deepFreeze(u)})),i}var s=deepFreeze,u=deepFreeze;s.default=u;class Response{constructor(i){void 0===i.data&&(i.data={}),this.data=i.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function escapeHTML(i){return i.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function inherit(i,...s){const u=Object.create(null);for(const s in i)u[s]=i[s];return s.forEach((function(i){for(const s in i)u[s]=i[s]})),u}const emitsWrappingTags=i=>!!i.kind;class HTMLRenderer{constructor(i,s){this.buffer="",this.classPrefix=s.classPrefix,i.walk(this)}addText(i){this.buffer+=escapeHTML(i)}openNode(i){if(!emitsWrappingTags(i))return;let s=i.kind;i.sublanguage||(s=`${this.classPrefix}${s}`),this.span(s)}closeNode(i){emitsWrappingTags(i)&&(this.buffer+="")}value(){return this.buffer}span(i){this.buffer+=``}}class TokenTree{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(i){this.top.children.push(i)}openNode(i){const s={kind:i,children:[]};this.add(s),this.stack.push(s)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(i){return this.constructor._walk(i,this.rootNode)}static _walk(i,s){return"string"==typeof s?i.addText(s):s.children&&(i.openNode(s),s.children.forEach((s=>this._walk(i,s))),i.closeNode(s)),i}static _collapse(i){"string"!=typeof i&&i.children&&(i.children.every((i=>"string"==typeof i))?i.children=[i.children.join("")]:i.children.forEach((i=>{TokenTree._collapse(i)})))}}class TokenTreeEmitter extends TokenTree{constructor(i){super(),this.options=i}addKeyword(i,s){""!==i&&(this.openNode(s),this.addText(i),this.closeNode())}addText(i){""!==i&&this.add(i)}addSublanguage(i,s){const u=i.root;u.kind=s,u.sublanguage=!0,this.add(u)}toHTML(){return new HTMLRenderer(this,this.options).value()}finalize(){return!0}}function source(i){return i?"string"==typeof i?i:i.source:null}const m=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;const v="[a-zA-Z]\\w*",_="[a-zA-Z_]\\w*",j="\\b\\d+(\\.\\d+)?",M="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",$="\\b(0b[01]+)",W={begin:"\\\\[\\s\\S]",relevance:0},X={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[W]},Y={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[W]},Z={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT=function(i,s,u={}){const m=inherit({className:"comment",begin:i,end:s,contains:[]},u);return m.contains.push(Z),m.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),m},ee=COMMENT("//","$"),ae=COMMENT("/\\*","\\*/"),ie=COMMENT("#","$"),le={className:"number",begin:j,relevance:0},ce={className:"number",begin:M,relevance:0},pe={className:"number",begin:$,relevance:0},de={className:"number",begin:j+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},fe={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[W,{begin:/\[/,end:/\]/,relevance:0,contains:[W]}]}]},ye={className:"title",begin:v,relevance:0},be={className:"title",begin:_,relevance:0},_e={begin:"\\.\\s*"+_,relevance:0};var we=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:v,UNDERSCORE_IDENT_RE:_,NUMBER_RE:j,C_NUMBER_RE:M,BINARY_NUMBER_RE:$,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(i={})=>{const s=/^#![ ]*\//;return i.binary&&(i.begin=function concat(...i){return i.map((i=>source(i))).join("")}(s,/.*\b/,i.binary,/\b.*/)),inherit({className:"meta",begin:s,end:/$/,relevance:0,"on:begin":(i,s)=>{0!==i.index&&s.ignoreMatch()}},i)},BACKSLASH_ESCAPE:W,APOS_STRING_MODE:X,QUOTE_STRING_MODE:Y,PHRASAL_WORDS_MODE:Z,COMMENT,C_LINE_COMMENT_MODE:ee,C_BLOCK_COMMENT_MODE:ae,HASH_COMMENT_MODE:ie,NUMBER_MODE:le,C_NUMBER_MODE:ce,BINARY_NUMBER_MODE:pe,CSS_NUMBER_MODE:de,REGEXP_MODE:fe,TITLE_MODE:ye,UNDERSCORE_TITLE_MODE:be,METHOD_GUARD:_e,END_SAME_AS_BEGIN:function(i){return Object.assign(i,{"on:begin":(i,s)=>{s.data._beginMatch=i[1]},"on:end":(i,s)=>{s.data._beginMatch!==i[1]&&s.ignoreMatch()}})}});function skipIfhasPrecedingDot(i,s){"."===i.input[i.index-1]&&s.ignoreMatch()}function beginKeywords(i,s){s&&i.beginKeywords&&(i.begin="\\b("+i.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",i.__beforeBegin=skipIfhasPrecedingDot,i.keywords=i.keywords||i.beginKeywords,delete i.beginKeywords,void 0===i.relevance&&(i.relevance=0))}function compileIllegal(i,s){Array.isArray(i.illegal)&&(i.illegal=function either(...i){return"("+i.map((i=>source(i))).join("|")+")"}(...i.illegal))}function compileMatch(i,s){if(i.match){if(i.begin||i.end)throw new Error("begin & end are not supported with match");i.begin=i.match,delete i.match}}function compileRelevance(i,s){void 0===i.relevance&&(i.relevance=1)}const Se=["of","and","for","in","not","or","if","then","parent","list","value"],xe="keyword";function compileKeywords(i,s,u=xe){const m={};return"string"==typeof i?compileList(u,i.split(" ")):Array.isArray(i)?compileList(u,i):Object.keys(i).forEach((function(u){Object.assign(m,compileKeywords(i[u],s,u))})),m;function compileList(i,u){s&&(u=u.map((i=>i.toLowerCase()))),u.forEach((function(s){const u=s.split("|");m[u[0]]=[i,scoreForKeyword(u[0],u[1])]}))}}function scoreForKeyword(i,s){return s?Number(s):function commonKeyword(i){return Se.includes(i.toLowerCase())}(i)?0:1}function compileLanguage(i,{plugins:s}){function langRe(s,u){return new RegExp(source(s),"m"+(i.case_insensitive?"i":"")+(u?"g":""))}class MultiRegex{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(i,s){s.position=this.position++,this.matchIndexes[this.matchAt]=s,this.regexes.push([s,i]),this.matchAt+=function countMatchGroups(i){return new RegExp(i.toString()+"|").exec("").length-1}(i)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const i=this.regexes.map((i=>i[1]));this.matcherRe=langRe(function join(i,s="|"){let u=0;return i.map((i=>{u+=1;const s=u;let v=source(i),_="";for(;v.length>0;){const i=m.exec(v);if(!i){_+=v;break}_+=v.substring(0,i.index),v=v.substring(i.index+i[0].length),"\\"===i[0][0]&&i[1]?_+="\\"+String(Number(i[1])+s):(_+=i[0],"("===i[0]&&u++)}return _})).map((i=>`(${i})`)).join(s)}(i),!0),this.lastIndex=0}exec(i){this.matcherRe.lastIndex=this.lastIndex;const s=this.matcherRe.exec(i);if(!s)return null;const u=s.findIndex(((i,s)=>s>0&&void 0!==i)),m=this.matchIndexes[u];return s.splice(0,u),Object.assign(s,m)}}class ResumableMultiRegex{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(i){if(this.multiRegexes[i])return this.multiRegexes[i];const s=new MultiRegex;return this.rules.slice(i).forEach((([i,u])=>s.addRule(i,u))),s.compile(),this.multiRegexes[i]=s,s}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(i,s){this.rules.push([i,s]),"begin"===s.type&&this.count++}exec(i){const s=this.getMatcher(this.regexIndex);s.lastIndex=this.lastIndex;let u=s.exec(i);if(this.resumingScanAtSamePosition())if(u&&u.index===this.lastIndex);else{const s=this.getMatcher(0);s.lastIndex=this.lastIndex+1,u=s.exec(i)}return u&&(this.regexIndex+=u.position+1,this.regexIndex===this.count&&this.considerAll()),u}}if(i.compilerExtensions||(i.compilerExtensions=[]),i.contains&&i.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return i.classNameAliases=inherit(i.classNameAliases||{}),function compileMode(s,u){const m=s;if(s.isCompiled)return m;[compileMatch].forEach((i=>i(s,u))),i.compilerExtensions.forEach((i=>i(s,u))),s.__beforeBegin=null,[beginKeywords,compileIllegal,compileRelevance].forEach((i=>i(s,u))),s.isCompiled=!0;let v=null;if("object"==typeof s.keywords&&(v=s.keywords.$pattern,delete s.keywords.$pattern),s.keywords&&(s.keywords=compileKeywords(s.keywords,i.case_insensitive)),s.lexemes&&v)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return v=v||s.lexemes||/\w+/,m.keywordPatternRe=langRe(v,!0),u&&(s.begin||(s.begin=/\B|\b/),m.beginRe=langRe(s.begin),s.endSameAsBegin&&(s.end=s.begin),s.end||s.endsWithParent||(s.end=/\B|\b/),s.end&&(m.endRe=langRe(s.end)),m.terminatorEnd=source(s.end)||"",s.endsWithParent&&u.terminatorEnd&&(m.terminatorEnd+=(s.end?"|":"")+u.terminatorEnd)),s.illegal&&(m.illegalRe=langRe(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map((function(i){return function expandOrCloneMode(i){i.variants&&!i.cachedVariants&&(i.cachedVariants=i.variants.map((function(s){return inherit(i,{variants:null},s)})));if(i.cachedVariants)return i.cachedVariants;if(dependencyOnParent(i))return inherit(i,{starts:i.starts?inherit(i.starts):null});if(Object.isFrozen(i))return inherit(i);return i}("self"===i?s:i)}))),s.contains.forEach((function(i){compileMode(i,m)})),s.starts&&compileMode(s.starts,u),m.matcher=function buildModeRegex(i){const s=new ResumableMultiRegex;return i.contains.forEach((i=>s.addRule(i.begin,{rule:i,type:"begin"}))),i.terminatorEnd&&s.addRule(i.terminatorEnd,{type:"end"}),i.illegal&&s.addRule(i.illegal,{type:"illegal"}),s}(m),m}(i)}function dependencyOnParent(i){return!!i&&(i.endsWithParent||dependencyOnParent(i.starts))}function BuildVuePlugin(i){const s={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!i.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,escapeHTML(this.code);let s={};return this.autoDetect?(s=i.highlightAuto(this.code),this.detectedLanguage=s.language):(s=i.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),s.value},autoDetect(){return!this.language||function hasValueOrEmptyAttribute(i){return Boolean(i||""===i)}(this.autodetect)},ignoreIllegals:()=>!0},render(i){return i("pre",{},[i("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:s,VuePlugin:{install(i){i.component("highlightjs",s)}}}}const Pe={"after:highlightElement":({el:i,result:s,text:u})=>{const m=nodeStream(i);if(!m.length)return;const v=document.createElement("div");v.innerHTML=s.value,s.value=function mergeStreams(i,s,u){let m=0,v="";const _=[];function selectStream(){return i.length&&s.length?i[0].offset!==s[0].offset?i[0].offset"}function close(i){v+=""}function render(i){("start"===i.event?open:close)(i.node)}for(;i.length||s.length;){let s=selectStream();if(v+=escapeHTML(u.substring(m,s[0].offset)),m=s[0].offset,s===i){_.reverse().forEach(close);do{render(s.splice(0,1)[0]),s=selectStream()}while(s===i&&s.length&&s[0].offset===m);_.reverse().forEach(open)}else"start"===s[0].event?_.push(s[0].node):_.pop(),render(s.splice(0,1)[0])}return v+escapeHTML(u.substr(m))}(m,nodeStream(v),u)}};function tag(i){return i.nodeName.toLowerCase()}function nodeStream(i){const s=[];return function _nodeStream(i,u){for(let m=i.firstChild;m;m=m.nextSibling)3===m.nodeType?u+=m.nodeValue.length:1===m.nodeType&&(s.push({event:"start",offset:u,node:m}),u=_nodeStream(m,u),tag(m).match(/br|hr|img|input/)||s.push({event:"stop",offset:u,node:m}));return u}(i,0),s}const Ie={},error=i=>{console.error(i)},warn=(i,...s)=>{console.log(`WARN: ${i}`,...s)},deprecated=(i,s)=>{Ie[`${i}/${s}`]||(console.log(`Deprecated as of ${i}. ${s}`),Ie[`${i}/${s}`]=!0)},Te=escapeHTML,Re=inherit,qe=Symbol("nomatch");var ze=function(i){const u=Object.create(null),m=Object.create(null),v=[];let _=!0;const j=/(^(<[^>]+>|\t|)+|\n)/gm,M="Could not find the language '{}', did you forget to load/include a language module?",$={disableAutodetect:!0,name:"Plain text",contains:[]};let W={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:TokenTreeEmitter};function shouldNotHighlight(i){return W.noHighlightRe.test(i)}function highlight(i,s,u,m){let v="",_="";"object"==typeof s?(v=i,u=s.ignoreIllegals,_=s.language,m=void 0):(deprecated("10.7.0","highlight(lang, code, ...args) has been deprecated."),deprecated("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),_=i,v=s);const j={code:v,language:_};fire("before:highlight",j);const M=j.result?j.result:_highlight(j.language,j.code,u,m);return M.code=j.code,fire("after:highlight",M),M}function _highlight(i,s,m,j){function keywordData(i,s){const u=X.case_insensitive?s[0].toLowerCase():s[0];return Object.prototype.hasOwnProperty.call(i.keywords,u)&&i.keywords[u]}function processBuffer(){null!=ee.subLanguage?function processSubLanguage(){if(""===le)return;let i=null;if("string"==typeof ee.subLanguage){if(!u[ee.subLanguage])return void ie.addText(le);i=_highlight(ee.subLanguage,le,!0,ae[ee.subLanguage]),ae[ee.subLanguage]=i.top}else i=highlightAuto(le,ee.subLanguage.length?ee.subLanguage:null);ee.relevance>0&&(ce+=i.relevance),ie.addSublanguage(i.emitter,i.language)}():function processKeywords(){if(!ee.keywords)return void ie.addText(le);let i=0;ee.keywordPatternRe.lastIndex=0;let s=ee.keywordPatternRe.exec(le),u="";for(;s;){u+=le.substring(i,s.index);const m=keywordData(ee,s);if(m){const[i,v]=m;if(ie.addText(u),u="",ce+=v,i.startsWith("_"))u+=s[0];else{const u=X.classNameAliases[i]||i;ie.addKeyword(s[0],u)}}else u+=s[0];i=ee.keywordPatternRe.lastIndex,s=ee.keywordPatternRe.exec(le)}u+=le.substr(i),ie.addText(u)}(),le=""}function startNewMode(i){return i.className&&ie.openNode(X.classNameAliases[i.className]||i.className),ee=Object.create(i,{parent:{value:ee}}),ee}function endOfMode(i,s,u){let m=function startsWith(i,s){const u=i&&i.exec(s);return u&&0===u.index}(i.endRe,u);if(m){if(i["on:end"]){const u=new Response(i);i["on:end"](s,u),u.isMatchIgnored&&(m=!1)}if(m){for(;i.endsParent&&i.parent;)i=i.parent;return i}}if(i.endsWithParent)return endOfMode(i.parent,s,u)}function doIgnore(i){return 0===ee.matcher.regexIndex?(le+=i[0],1):(fe=!0,0)}function doBeginMatch(i){const s=i[0],u=i.rule,m=new Response(u),v=[u.__beforeBegin,u["on:begin"]];for(const u of v)if(u&&(u(i,m),m.isMatchIgnored))return doIgnore(s);return u&&u.endSameAsBegin&&(u.endRe=function escape(i){return new RegExp(i.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}(s)),u.skip?le+=s:(u.excludeBegin&&(le+=s),processBuffer(),u.returnBegin||u.excludeBegin||(le=s)),startNewMode(u),u.returnBegin?0:s.length}function doEndMatch(i){const u=i[0],m=s.substr(i.index),v=endOfMode(ee,i,m);if(!v)return qe;const _=ee;_.skip?le+=u:(_.returnEnd||_.excludeEnd||(le+=u),processBuffer(),_.excludeEnd&&(le=u));do{ee.className&&ie.closeNode(),ee.skip||ee.subLanguage||(ce+=ee.relevance),ee=ee.parent}while(ee!==v.parent);return v.starts&&(v.endSameAsBegin&&(v.starts.endRe=v.endRe),startNewMode(v.starts)),_.returnEnd?0:u.length}let $={};function processLexeme(u,v){const j=v&&v[0];if(le+=u,null==j)return processBuffer(),0;if("begin"===$.type&&"end"===v.type&&$.index===v.index&&""===j){if(le+=s.slice(v.index,v.index+1),!_){const s=new Error("0 width match regex");throw s.languageName=i,s.badRule=$.rule,s}return 1}if($=v,"begin"===v.type)return doBeginMatch(v);if("illegal"===v.type&&!m){const i=new Error('Illegal lexeme "'+j+'" for mode "'+(ee.className||"")+'"');throw i.mode=ee,i}if("end"===v.type){const i=doEndMatch(v);if(i!==qe)return i}if("illegal"===v.type&&""===j)return 1;if(de>1e5&&de>3*v.index){throw new Error("potential infinite loop, way more iterations than matches")}return le+=j,j.length}const X=getLanguage(i);if(!X)throw error(M.replace("{}",i)),new Error('Unknown language: "'+i+'"');const Y=compileLanguage(X,{plugins:v});let Z="",ee=j||Y;const ae={},ie=new W.__emitter(W);!function processContinuations(){const i=[];for(let s=ee;s!==X;s=s.parent)s.className&&i.unshift(s.className);i.forEach((i=>ie.openNode(i)))}();let le="",ce=0,pe=0,de=0,fe=!1;try{for(ee.matcher.considerAll();;){de++,fe?fe=!1:ee.matcher.considerAll(),ee.matcher.lastIndex=pe;const i=ee.matcher.exec(s);if(!i)break;const u=processLexeme(s.substring(pe,i.index),i);pe=i.index+u}return processLexeme(s.substr(pe)),ie.closeAllNodes(),ie.finalize(),Z=ie.toHTML(),{relevance:Math.floor(ce),value:Z,language:i,illegal:!1,emitter:ie,top:ee}}catch(u){if(u.message&&u.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:u.message,context:s.slice(pe-100,pe+100),mode:u.mode},sofar:Z,relevance:0,value:Te(s),emitter:ie};if(_)return{illegal:!1,relevance:0,value:Te(s),emitter:ie,language:i,top:ee,errorRaised:u};throw u}}function highlightAuto(i,s){s=s||W.languages||Object.keys(u);const m=function justTextHighlightResult(i){const s={relevance:0,emitter:new W.__emitter(W),value:Te(i),illegal:!1,top:$};return s.emitter.addText(i),s}(i),v=s.filter(getLanguage).filter(autoDetection).map((s=>_highlight(s,i,!1)));v.unshift(m);const _=v.sort(((i,s)=>{if(i.relevance!==s.relevance)return s.relevance-i.relevance;if(i.language&&s.language){if(getLanguage(i.language).supersetOf===s.language)return 1;if(getLanguage(s.language).supersetOf===i.language)return-1}return 0})),[j,M]=_,X=j;return X.second_best=M,X}const X={"before:highlightElement":({el:i})=>{W.useBR&&(i.innerHTML=i.innerHTML.replace(/\n/g,"").replace(//g,"\n"))},"after:highlightElement":({result:i})=>{W.useBR&&(i.value=i.value.replace(/\n/g,"
"))}},Y=/^(<[^>]+>|\t)+/gm,Z={"after:highlightElement":({result:i})=>{W.tabReplace&&(i.value=i.value.replace(Y,(i=>i.replace(/\t/g,W.tabReplace))))}};function highlightElement(i){let s=null;const u=function blockLanguage(i){let s=i.className+" ";s+=i.parentNode?i.parentNode.className:"";const u=W.languageDetectRe.exec(s);if(u){const s=getLanguage(u[1]);return s||(warn(M.replace("{}",u[1])),warn("Falling back to no-highlight mode for this block.",i)),s?u[1]:"no-highlight"}return s.split(/\s+/).find((i=>shouldNotHighlight(i)||getLanguage(i)))}(i);if(shouldNotHighlight(u))return;fire("before:highlightElement",{el:i,language:u}),s=i;const v=s.textContent,_=u?highlight(v,{language:u,ignoreIllegals:!0}):highlightAuto(v);fire("after:highlightElement",{el:i,result:_,text:v}),i.innerHTML=_.value,function updateClassName(i,s,u){const v=s?m[s]:u;i.classList.add("hljs"),v&&i.classList.add(v)}(i,u,_.language),i.result={language:_.language,re:_.relevance,relavance:_.relevance},_.second_best&&(i.second_best={language:_.second_best.language,re:_.second_best.relevance,relavance:_.second_best.relevance})}const initHighlighting=()=>{if(initHighlighting.called)return;initHighlighting.called=!0,deprecated("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead.");document.querySelectorAll("pre code").forEach(highlightElement)};let ee=!1;function highlightAll(){if("loading"===document.readyState)return void(ee=!0);document.querySelectorAll("pre code").forEach(highlightElement)}function getLanguage(i){return i=(i||"").toLowerCase(),u[i]||u[m[i]]}function registerAliases(i,{languageName:s}){"string"==typeof i&&(i=[i]),i.forEach((i=>{m[i.toLowerCase()]=s}))}function autoDetection(i){const s=getLanguage(i);return s&&!s.disableAutodetect}function fire(i,s){const u=i;v.forEach((function(i){i[u]&&i[u](s)}))}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function boot(){ee&&highlightAll()}),!1),Object.assign(i,{highlight,highlightAuto,highlightAll,fixMarkup:function deprecateFixMarkup(i){return deprecated("10.2.0","fixMarkup will be removed entirely in v11.0"),deprecated("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),function fixMarkup(i){return W.tabReplace||W.useBR?i.replace(j,(i=>"\n"===i?W.useBR?"
":i:W.tabReplace?i.replace(/\t/g,W.tabReplace):i)):i}(i)},highlightElement,highlightBlock:function deprecateHighlightBlock(i){return deprecated("10.7.0","highlightBlock will be removed entirely in v12.0"),deprecated("10.7.0","Please use highlightElement now."),highlightElement(i)},configure:function configure(i){i.useBR&&(deprecated("10.3.0","'useBR' will be removed entirely in v11.0"),deprecated("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),W=Re(W,i)},initHighlighting,initHighlightingOnLoad:function initHighlightingOnLoad(){deprecated("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),ee=!0},registerLanguage:function registerLanguage(s,m){let v=null;try{v=m(i)}catch(i){if(error("Language definition for '{}' could not be registered.".replace("{}",s)),!_)throw i;error(i),v=$}v.name||(v.name=s),u[s]=v,v.rawDefinition=m.bind(null,i),v.aliases&®isterAliases(v.aliases,{languageName:s})},unregisterLanguage:function unregisterLanguage(i){delete u[i];for(const s of Object.keys(m))m[s]===i&&delete m[s]},listLanguages:function listLanguages(){return Object.keys(u)},getLanguage,registerAliases,requireLanguage:function requireLanguage(i){deprecated("10.4.0","requireLanguage will be removed entirely in v11."),deprecated("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const s=getLanguage(i);if(s)return s;throw new Error("The '{}' language is required, but not loaded.".replace("{}",i))},autoDetection,inherit:Re,addPlugin:function addPlugin(i){!function upgradePluginAPI(i){i["before:highlightBlock"]&&!i["before:highlightElement"]&&(i["before:highlightElement"]=s=>{i["before:highlightBlock"](Object.assign({block:s.el},s))}),i["after:highlightBlock"]&&!i["after:highlightElement"]&&(i["after:highlightElement"]=s=>{i["after:highlightBlock"](Object.assign({block:s.el},s))})}(i),v.push(i)},vuePlugin:BuildVuePlugin(i).VuePlugin}),i.debugMode=function(){_=!1},i.safeMode=function(){_=!0},i.versionString="10.7.3";for(const i in we)"object"==typeof we[i]&&s(we[i]);return Object.assign(i,we),i.addPlugin(X),i.addPlugin(Pe),i.addPlugin(Z),i}({});i.exports=ze},61519:i=>{function concat(...i){return i.map((i=>function source(i){return i?"string"==typeof i?i:i.source:null}(i))).join("")}i.exports=function bash(i){const s={},u={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[s]}]};Object.assign(s,{className:"variable",variants:[{begin:concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},u]});const m={className:"subst",begin:/\$\(/,end:/\)/,contains:[i.BACKSLASH_ESCAPE]},v={begin:/<<-?\s*(?=\w+)/,starts:{contains:[i.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},_={className:"string",begin:/"/,end:/"/,contains:[i.BACKSLASH_ESCAPE,s,m]};m.contains.push(_);const j={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},i.NUMBER_MODE,s]},M=i.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),$={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[i.inherit(i.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[M,i.SHEBANG(),$,j,i.HASH_COMMENT_MODE,v,_,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},s]}}},30786:i=>{function concat(...i){return i.map((i=>function source(i){return i?"string"==typeof i?i:i.source:null}(i))).join("")}i.exports=function http(i){const s="HTTP/(2|1\\.[01])",u={className:"attribute",begin:concat("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},m=[u,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+s+" \\d{3})",end:/$/,contains:[{className:"meta",begin:s},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:m}},{begin:"(?=^[A-Z]+ (.*?) "+s+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:s},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:m}},i.inherit(u,{relevance:0})]}}},96344:i=>{const s="[A-Za-z$_][0-9A-Za-z$_]*",u=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],m=["true","false","null","undefined","NaN","Infinity"],v=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function lookahead(i){return concat("(?=",i,")")}function concat(...i){return i.map((i=>function source(i){return i?"string"==typeof i?i:i.source:null}(i))).join("")}i.exports=function javascript(i){const _=s,j="<>",M="",$={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(i,s)=>{const u=i[0].length+i.index,m=i.input[u];"<"!==m?">"===m&&(((i,{after:s})=>{const u="",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:i.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:W,contains:ye}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:j,end:M},{begin:$.begin,"on:begin":$.isTrulyOpeningTag,end:$.end}],subLanguage:"xml",contains:[{begin:$.begin,end:$.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:W,contains:["self",i.inherit(i.TITLE_MODE,{begin:_}),be],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:i.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[be,i.inherit(i.TITLE_MODE,{begin:_})]},{variants:[{begin:"\\."+_},{begin:"\\$"+_}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},i.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[i.inherit(i.TITLE_MODE,{begin:_}),"self",be]},{begin:"(get|set)\\s+(?="+_+"\\()",end:/\{/,keywords:"get set",contains:[i.inherit(i.TITLE_MODE,{begin:_}),{begin:/\(\)/},be]},{begin:/\$[(.]/}]}}},82026:i=>{i.exports=function json(i){const s={literal:"true false null"},u=[i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE],m=[i.QUOTE_STRING_MODE,i.C_NUMBER_MODE],v={end:",",endsWithParent:!0,excludeEnd:!0,contains:m,keywords:s},_={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[i.BACKSLASH_ESCAPE],illegal:"\\n"},i.inherit(v,{begin:/:/})].concat(u),illegal:"\\S"},j={begin:"\\[",end:"\\]",contains:[i.inherit(v)],illegal:"\\S"};return m.push(_,j),u.forEach((function(i){m.push(i)})),{name:"JSON",contains:m,keywords:s,illegal:"\\S"}}},66336:i=>{i.exports=function powershell(i){const s={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},u={begin:"`[\\s\\S]",relevance:0},m={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},v={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[u,m,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},_={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},j=i.inherit(i.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),M={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},$={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[i.TITLE_MODE]},W={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[m]}]},X={begin:/using\s/,end:/$/,returnBegin:!0,contains:[v,_,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},Y={variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},Z={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(s.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},i.inherit(i.TITLE_MODE,{endsParent:!0})]},ee=[Z,j,u,i.NUMBER_MODE,v,_,M,m,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],ae={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",ee,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return Z.contains.unshift(ae),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:s,contains:ee.concat($,W,X,Y,ae)}}},42157:i=>{function source(i){return i?"string"==typeof i?i:i.source:null}function lookahead(i){return concat("(?=",i,")")}function concat(...i){return i.map((i=>source(i))).join("")}function either(...i){return"("+i.map((i=>source(i))).join("|")+")"}i.exports=function xml(i){const s=concat(/[A-Z_]/,function optional(i){return concat("(",i,")?")}(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),u={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},m={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},v=i.inherit(m,{begin:/\(/,end:/\)/}),_=i.inherit(i.APOS_STRING_MODE,{className:"meta-string"}),j=i.inherit(i.QUOTE_STRING_MODE,{className:"meta-string"}),M={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[m,j,_,v,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[m,v,j,_]}]}]},i.COMMENT(//,{relevance:10}),{begin://,relevance:10},u,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[M],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[M],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:M}]},{className:"tag",begin:concat(/<\//,lookahead(concat(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},54587:i=>{i.exports=function yaml(i){var s="true false yes no null",u="[\\w#;/?:@&=+$,.~*'()[\\]]+",m={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[i.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},v=i.inherit(m,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),_={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},j={end:",",endsWithParent:!0,excludeEnd:!0,keywords:s,relevance:0},M={begin:/\{/,end:/\}/,contains:[j],illegal:"\\n",relevance:0},$={begin:"\\[",end:"\\]",contains:[j],illegal:"\\n",relevance:0},W=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+u},{className:"type",begin:"!<"+u+">"},{className:"type",begin:"!"+u},{className:"type",begin:"!!"+u},{className:"meta",begin:"&"+i.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+i.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},i.HASH_COMMENT_MODE,{beginKeywords:s,keywords:{literal:s}},_,{className:"number",begin:i.C_NUMBER_RE+"\\b",relevance:0},M,$,m],X=[...W];return X.pop(),X.push(v),j.contains=X,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:W}}},8679:(i,s,u)=>{"use strict";var m=u(59864),v={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},_={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},j={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},M={};function getStatics(i){return m.isMemo(i)?j:M[i.$$typeof]||v}M[m.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},M[m.Memo]=j;var $=Object.defineProperty,W=Object.getOwnPropertyNames,X=Object.getOwnPropertySymbols,Y=Object.getOwnPropertyDescriptor,Z=Object.getPrototypeOf,ee=Object.prototype;i.exports=function hoistNonReactStatics(i,s,u){if("string"!=typeof s){if(ee){var m=Z(s);m&&m!==ee&&hoistNonReactStatics(i,m,u)}var v=W(s);X&&(v=v.concat(X(s)));for(var j=getStatics(i),M=getStatics(s),ae=0;ae{s.read=function(i,s,u,m,v){var _,j,M=8*v-m-1,$=(1<>1,X=-7,Y=u?v-1:0,Z=u?-1:1,ee=i[s+Y];for(Y+=Z,_=ee&(1<<-X)-1,ee>>=-X,X+=M;X>0;_=256*_+i[s+Y],Y+=Z,X-=8);for(j=_&(1<<-X)-1,_>>=-X,X+=m;X>0;j=256*j+i[s+Y],Y+=Z,X-=8);if(0===_)_=1-W;else{if(_===$)return j?NaN:1/0*(ee?-1:1);j+=Math.pow(2,m),_-=W}return(ee?-1:1)*j*Math.pow(2,_-m)},s.write=function(i,s,u,m,v,_){var j,M,$,W=8*_-v-1,X=(1<>1,Z=23===v?Math.pow(2,-24)-Math.pow(2,-77):0,ee=m?0:_-1,ae=m?1:-1,ie=s<0||0===s&&1/s<0?1:0;for(s=Math.abs(s),isNaN(s)||s===1/0?(M=isNaN(s)?1:0,j=X):(j=Math.floor(Math.log(s)/Math.LN2),s*($=Math.pow(2,-j))<1&&(j--,$*=2),(s+=j+Y>=1?Z/$:Z*Math.pow(2,1-Y))*$>=2&&(j++,$/=2),j+Y>=X?(M=0,j=X):j+Y>=1?(M=(s*$-1)*Math.pow(2,v),j+=Y):(M=s*Math.pow(2,Y-1)*Math.pow(2,v),j=0));v>=8;i[u+ee]=255&M,ee+=ae,M/=256,v-=8);for(j=j<0;i[u+ee]=255&j,ee+=ae,j/=256,W-=8);i[u+ee-ae]|=128*ie}},43393:function(i){i.exports=function(){"use strict";var i=Array.prototype.slice;function createClass(i,s){s&&(i.prototype=Object.create(s.prototype)),i.prototype.constructor=i}function Iterable(i){return isIterable(i)?i:Seq(i)}function KeyedIterable(i){return isKeyed(i)?i:KeyedSeq(i)}function IndexedIterable(i){return isIndexed(i)?i:IndexedSeq(i)}function SetIterable(i){return isIterable(i)&&!isAssociative(i)?i:SetSeq(i)}function isIterable(i){return!(!i||!i[s])}function isKeyed(i){return!(!i||!i[u])}function isIndexed(i){return!(!i||!i[m])}function isAssociative(i){return isKeyed(i)||isIndexed(i)}function isOrdered(i){return!(!i||!i[v])}createClass(KeyedIterable,Iterable),createClass(IndexedIterable,Iterable),createClass(SetIterable,Iterable),Iterable.isIterable=isIterable,Iterable.isKeyed=isKeyed,Iterable.isIndexed=isIndexed,Iterable.isAssociative=isAssociative,Iterable.isOrdered=isOrdered,Iterable.Keyed=KeyedIterable,Iterable.Indexed=IndexedIterable,Iterable.Set=SetIterable;var s="@@__IMMUTABLE_ITERABLE__@@",u="@@__IMMUTABLE_KEYED__@@",m="@@__IMMUTABLE_INDEXED__@@",v="@@__IMMUTABLE_ORDERED__@@",_="delete",j=5,M=1<>>0;if(""+u!==s||4294967295===u)return NaN;s=u}return s<0?ensureSize(i)+s:s}function returnTrue(){return!0}function wholeSlice(i,s,u){return(0===i||void 0!==u&&i<=-u)&&(void 0===s||void 0!==u&&s>=u)}function resolveBegin(i,s){return resolveIndex(i,s,0)}function resolveEnd(i,s){return resolveIndex(i,s,s)}function resolveIndex(i,s,u){return void 0===i?u:i<0?Math.max(0,s+i):void 0===s?i:Math.min(s,i)}var Z=0,ee=1,ae=2,ie="function"==typeof Symbol&&Symbol.iterator,le="@@iterator",ce=ie||le;function Iterator(i){this.next=i}function iteratorValue(i,s,u,m){var v=0===i?s:1===i?u:[s,u];return m?m.value=v:m={value:v,done:!1},m}function iteratorDone(){return{value:void 0,done:!0}}function hasIterator(i){return!!getIteratorFn(i)}function isIterator(i){return i&&"function"==typeof i.next}function getIterator(i){var s=getIteratorFn(i);return s&&s.call(i)}function getIteratorFn(i){var s=i&&(ie&&i[ie]||i[le]);if("function"==typeof s)return s}function isArrayLike(i){return i&&"number"==typeof i.length}function Seq(i){return null==i?emptySequence():isIterable(i)?i.toSeq():seqFromValue(i)}function KeyedSeq(i){return null==i?emptySequence().toKeyedSeq():isIterable(i)?isKeyed(i)?i.toSeq():i.fromEntrySeq():keyedSeqFromValue(i)}function IndexedSeq(i){return null==i?emptySequence():isIterable(i)?isKeyed(i)?i.entrySeq():i.toIndexedSeq():indexedSeqFromValue(i)}function SetSeq(i){return(null==i?emptySequence():isIterable(i)?isKeyed(i)?i.entrySeq():i:indexedSeqFromValue(i)).toSetSeq()}Iterator.prototype.toString=function(){return"[Iterator]"},Iterator.KEYS=Z,Iterator.VALUES=ee,Iterator.ENTRIES=ae,Iterator.prototype.inspect=Iterator.prototype.toSource=function(){return this.toString()},Iterator.prototype[ce]=function(){return this},createClass(Seq,Iterable),Seq.of=function(){return Seq(arguments)},Seq.prototype.toSeq=function(){return this},Seq.prototype.toString=function(){return this.__toString("Seq {","}")},Seq.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Seq.prototype.__iterate=function(i,s){return seqIterate(this,i,s,!0)},Seq.prototype.__iterator=function(i,s){return seqIterator(this,i,s,!0)},createClass(KeyedSeq,Seq),KeyedSeq.prototype.toKeyedSeq=function(){return this},createClass(IndexedSeq,Seq),IndexedSeq.of=function(){return IndexedSeq(arguments)},IndexedSeq.prototype.toIndexedSeq=function(){return this},IndexedSeq.prototype.toString=function(){return this.__toString("Seq [","]")},IndexedSeq.prototype.__iterate=function(i,s){return seqIterate(this,i,s,!1)},IndexedSeq.prototype.__iterator=function(i,s){return seqIterator(this,i,s,!1)},createClass(SetSeq,Seq),SetSeq.of=function(){return SetSeq(arguments)},SetSeq.prototype.toSetSeq=function(){return this},Seq.isSeq=isSeq,Seq.Keyed=KeyedSeq,Seq.Set=SetSeq,Seq.Indexed=IndexedSeq;var pe,de,fe,ye="@@__IMMUTABLE_SEQ__@@";function ArraySeq(i){this._array=i,this.size=i.length}function ObjectSeq(i){var s=Object.keys(i);this._object=i,this._keys=s,this.size=s.length}function IterableSeq(i){this._iterable=i,this.size=i.length||i.size}function IteratorSeq(i){this._iterator=i,this._iteratorCache=[]}function isSeq(i){return!(!i||!i[ye])}function emptySequence(){return pe||(pe=new ArraySeq([]))}function keyedSeqFromValue(i){var s=Array.isArray(i)?new ArraySeq(i).fromEntrySeq():isIterator(i)?new IteratorSeq(i).fromEntrySeq():hasIterator(i)?new IterableSeq(i).fromEntrySeq():"object"==typeof i?new ObjectSeq(i):void 0;if(!s)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+i);return s}function indexedSeqFromValue(i){var s=maybeIndexedSeqFromValue(i);if(!s)throw new TypeError("Expected Array or iterable object of values: "+i);return s}function seqFromValue(i){var s=maybeIndexedSeqFromValue(i)||"object"==typeof i&&new ObjectSeq(i);if(!s)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+i);return s}function maybeIndexedSeqFromValue(i){return isArrayLike(i)?new ArraySeq(i):isIterator(i)?new IteratorSeq(i):hasIterator(i)?new IterableSeq(i):void 0}function seqIterate(i,s,u,m){var v=i._cache;if(v){for(var _=v.length-1,j=0;j<=_;j++){var M=v[u?_-j:j];if(!1===s(M[1],m?M[0]:j,i))return j+1}return j}return i.__iterateUncached(s,u)}function seqIterator(i,s,u,m){var v=i._cache;if(v){var _=v.length-1,j=0;return new Iterator((function(){var i=v[u?_-j:j];return j++>_?iteratorDone():iteratorValue(s,m?i[0]:j-1,i[1])}))}return i.__iteratorUncached(s,u)}function fromJS(i,s){return s?fromJSWith(s,i,"",{"":i}):fromJSDefault(i)}function fromJSWith(i,s,u,m){return Array.isArray(s)?i.call(m,u,IndexedSeq(s).map((function(u,m){return fromJSWith(i,u,m,s)}))):isPlainObj(s)?i.call(m,u,KeyedSeq(s).map((function(u,m){return fromJSWith(i,u,m,s)}))):s}function fromJSDefault(i){return Array.isArray(i)?IndexedSeq(i).map(fromJSDefault).toList():isPlainObj(i)?KeyedSeq(i).map(fromJSDefault).toMap():i}function isPlainObj(i){return i&&(i.constructor===Object||void 0===i.constructor)}function is(i,s){if(i===s||i!=i&&s!=s)return!0;if(!i||!s)return!1;if("function"==typeof i.valueOf&&"function"==typeof s.valueOf){if((i=i.valueOf())===(s=s.valueOf())||i!=i&&s!=s)return!0;if(!i||!s)return!1}return!("function"!=typeof i.equals||"function"!=typeof s.equals||!i.equals(s))}function deepEqual(i,s){if(i===s)return!0;if(!isIterable(s)||void 0!==i.size&&void 0!==s.size&&i.size!==s.size||void 0!==i.__hash&&void 0!==s.__hash&&i.__hash!==s.__hash||isKeyed(i)!==isKeyed(s)||isIndexed(i)!==isIndexed(s)||isOrdered(i)!==isOrdered(s))return!1;if(0===i.size&&0===s.size)return!0;var u=!isAssociative(i);if(isOrdered(i)){var m=i.entries();return s.every((function(i,s){var v=m.next().value;return v&&is(v[1],i)&&(u||is(v[0],s))}))&&m.next().done}var v=!1;if(void 0===i.size)if(void 0===s.size)"function"==typeof i.cacheResult&&i.cacheResult();else{v=!0;var _=i;i=s,s=_}var j=!0,M=s.__iterate((function(s,m){if(u?!i.has(s):v?!is(s,i.get(m,W)):!is(i.get(m,W),s))return j=!1,!1}));return j&&i.size===M}function Repeat(i,s){if(!(this instanceof Repeat))return new Repeat(i,s);if(this._value=i,this.size=void 0===s?1/0:Math.max(0,s),0===this.size){if(de)return de;de=this}}function invariant(i,s){if(!i)throw new Error(s)}function Range(i,s,u){if(!(this instanceof Range))return new Range(i,s,u);if(invariant(0!==u,"Cannot step a Range by 0"),i=i||0,void 0===s&&(s=1/0),u=void 0===u?1:Math.abs(u),sm?iteratorDone():iteratorValue(i,v,u[s?m-v++:v++])}))},createClass(ObjectSeq,KeyedSeq),ObjectSeq.prototype.get=function(i,s){return void 0===s||this.has(i)?this._object[i]:s},ObjectSeq.prototype.has=function(i){return this._object.hasOwnProperty(i)},ObjectSeq.prototype.__iterate=function(i,s){for(var u=this._object,m=this._keys,v=m.length-1,_=0;_<=v;_++){var j=m[s?v-_:_];if(!1===i(u[j],j,this))return _+1}return _},ObjectSeq.prototype.__iterator=function(i,s){var u=this._object,m=this._keys,v=m.length-1,_=0;return new Iterator((function(){var j=m[s?v-_:_];return _++>v?iteratorDone():iteratorValue(i,j,u[j])}))},ObjectSeq.prototype[v]=!0,createClass(IterableSeq,IndexedSeq),IterableSeq.prototype.__iterateUncached=function(i,s){if(s)return this.cacheResult().__iterate(i,s);var u=getIterator(this._iterable),m=0;if(isIterator(u))for(var v;!(v=u.next()).done&&!1!==i(v.value,m++,this););return m},IterableSeq.prototype.__iteratorUncached=function(i,s){if(s)return this.cacheResult().__iterator(i,s);var u=getIterator(this._iterable);if(!isIterator(u))return new Iterator(iteratorDone);var m=0;return new Iterator((function(){var s=u.next();return s.done?s:iteratorValue(i,m++,s.value)}))},createClass(IteratorSeq,IndexedSeq),IteratorSeq.prototype.__iterateUncached=function(i,s){if(s)return this.cacheResult().__iterate(i,s);for(var u,m=this._iterator,v=this._iteratorCache,_=0;_=m.length){var s=u.next();if(s.done)return s;m[v]=s.value}return iteratorValue(i,v,m[v++])}))},createClass(Repeat,IndexedSeq),Repeat.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Repeat.prototype.get=function(i,s){return this.has(i)?this._value:s},Repeat.prototype.includes=function(i){return is(this._value,i)},Repeat.prototype.slice=function(i,s){var u=this.size;return wholeSlice(i,s,u)?this:new Repeat(this._value,resolveEnd(s,u)-resolveBegin(i,u))},Repeat.prototype.reverse=function(){return this},Repeat.prototype.indexOf=function(i){return is(this._value,i)?0:-1},Repeat.prototype.lastIndexOf=function(i){return is(this._value,i)?this.size:-1},Repeat.prototype.__iterate=function(i,s){for(var u=0;u=0&&s=0&&uu?iteratorDone():iteratorValue(i,_++,j)}))},Range.prototype.equals=function(i){return i instanceof Range?this._start===i._start&&this._end===i._end&&this._step===i._step:deepEqual(this,i)},createClass(Collection,Iterable),createClass(KeyedCollection,Collection),createClass(IndexedCollection,Collection),createClass(SetCollection,Collection),Collection.Keyed=KeyedCollection,Collection.Indexed=IndexedCollection,Collection.Set=SetCollection;var be="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function imul(i,s){var u=65535&(i|=0),m=65535&(s|=0);return u*m+((i>>>16)*m+u*(s>>>16)<<16>>>0)|0};function smi(i){return i>>>1&1073741824|3221225471&i}function hash(i){if(!1===i||null==i)return 0;if("function"==typeof i.valueOf&&(!1===(i=i.valueOf())||null==i))return 0;if(!0===i)return 1;var s=typeof i;if("number"===s){if(i!=i||i===1/0)return 0;var u=0|i;for(u!==i&&(u^=4294967295*i);i>4294967295;)u^=i/=4294967295;return smi(u)}if("string"===s)return i.length>Te?cachedHashString(i):hashString(i);if("function"==typeof i.hashCode)return i.hashCode();if("object"===s)return hashJSObj(i);if("function"==typeof i.toString)return hashString(i.toString());throw new Error("Value type "+s+" cannot be hashed.")}function cachedHashString(i){var s=ze[i];return void 0===s&&(s=hashString(i),qe===Re&&(qe=0,ze={}),qe++,ze[i]=s),s}function hashString(i){for(var s=0,u=0;u0)switch(i.nodeType){case 1:return i.uniqueID;case 9:return i.documentElement&&i.documentElement.uniqueID}}var Se,xe="function"==typeof WeakMap;xe&&(Se=new WeakMap);var Pe=0,Ie="__immutablehash__";"function"==typeof Symbol&&(Ie=Symbol(Ie));var Te=16,Re=255,qe=0,ze={};function assertNotInfinite(i){invariant(i!==1/0,"Cannot perform this action with an infinite size.")}function Map(i){return null==i?emptyMap():isMap(i)&&!isOrdered(i)?i:emptyMap().withMutations((function(s){var u=KeyedIterable(i);assertNotInfinite(u.size),u.forEach((function(i,u){return s.set(u,i)}))}))}function isMap(i){return!(!i||!i[We])}createClass(Map,KeyedCollection),Map.of=function(){var s=i.call(arguments,0);return emptyMap().withMutations((function(i){for(var u=0;u=s.length)throw new Error("Missing value for key: "+s[u]);i.set(s[u],s[u+1])}}))},Map.prototype.toString=function(){return this.__toString("Map {","}")},Map.prototype.get=function(i,s){return this._root?this._root.get(0,void 0,i,s):s},Map.prototype.set=function(i,s){return updateMap(this,i,s)},Map.prototype.setIn=function(i,s){return this.updateIn(i,W,(function(){return s}))},Map.prototype.remove=function(i){return updateMap(this,i,W)},Map.prototype.deleteIn=function(i){return this.updateIn(i,(function(){return W}))},Map.prototype.update=function(i,s,u){return 1===arguments.length?i(this):this.updateIn([i],s,u)},Map.prototype.updateIn=function(i,s,u){u||(u=s,s=void 0);var m=updateInDeepMap(this,forceIterator(i),s,u);return m===W?void 0:m},Map.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):emptyMap()},Map.prototype.merge=function(){return mergeIntoMapWith(this,void 0,arguments)},Map.prototype.mergeWith=function(s){return mergeIntoMapWith(this,s,i.call(arguments,1))},Map.prototype.mergeIn=function(s){var u=i.call(arguments,1);return this.updateIn(s,emptyMap(),(function(i){return"function"==typeof i.merge?i.merge.apply(i,u):u[u.length-1]}))},Map.prototype.mergeDeep=function(){return mergeIntoMapWith(this,deepMerger,arguments)},Map.prototype.mergeDeepWith=function(s){var u=i.call(arguments,1);return mergeIntoMapWith(this,deepMergerWith(s),u)},Map.prototype.mergeDeepIn=function(s){var u=i.call(arguments,1);return this.updateIn(s,emptyMap(),(function(i){return"function"==typeof i.mergeDeep?i.mergeDeep.apply(i,u):u[u.length-1]}))},Map.prototype.sort=function(i){return OrderedMap(sortFactory(this,i))},Map.prototype.sortBy=function(i,s){return OrderedMap(sortFactory(this,s,i))},Map.prototype.withMutations=function(i){var s=this.asMutable();return i(s),s.wasAltered()?s.__ensureOwner(this.__ownerID):this},Map.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new OwnerID)},Map.prototype.asImmutable=function(){return this.__ensureOwner()},Map.prototype.wasAltered=function(){return this.__altered},Map.prototype.__iterator=function(i,s){return new MapIterator(this,i,s)},Map.prototype.__iterate=function(i,s){var u=this,m=0;return this._root&&this._root.iterate((function(s){return m++,i(s[1],s[0],u)}),s),m},Map.prototype.__ensureOwner=function(i){return i===this.__ownerID?this:i?makeMap(this.size,this._root,i,this.__hash):(this.__ownerID=i,this.__altered=!1,this)},Map.isMap=isMap;var Ve,We="@@__IMMUTABLE_MAP__@@",He=Map.prototype;function ArrayMapNode(i,s){this.ownerID=i,this.entries=s}function BitmapIndexedNode(i,s,u){this.ownerID=i,this.bitmap=s,this.nodes=u}function HashArrayMapNode(i,s,u){this.ownerID=i,this.count=s,this.nodes=u}function HashCollisionNode(i,s,u){this.ownerID=i,this.keyHash=s,this.entries=u}function ValueNode(i,s,u){this.ownerID=i,this.keyHash=s,this.entry=u}function MapIterator(i,s,u){this._type=s,this._reverse=u,this._stack=i._root&&mapIteratorFrame(i._root)}function mapIteratorValue(i,s){return iteratorValue(i,s[0],s[1])}function mapIteratorFrame(i,s){return{node:i,index:0,__prev:s}}function makeMap(i,s,u,m){var v=Object.create(He);return v.size=i,v._root=s,v.__ownerID=u,v.__hash=m,v.__altered=!1,v}function emptyMap(){return Ve||(Ve=makeMap(0))}function updateMap(i,s,u){var m,v;if(i._root){var _=MakeRef(X),j=MakeRef(Y);if(m=updateNode(i._root,i.__ownerID,0,void 0,s,u,_,j),!j.value)return i;v=i.size+(_.value?u===W?-1:1:0)}else{if(u===W)return i;v=1,m=new ArrayMapNode(i.__ownerID,[[s,u]])}return i.__ownerID?(i.size=v,i._root=m,i.__hash=void 0,i.__altered=!0,i):m?makeMap(v,m):emptyMap()}function updateNode(i,s,u,m,v,_,j,M){return i?i.update(s,u,m,v,_,j,M):_===W?i:(SetRef(M),SetRef(j),new ValueNode(s,m,[v,_]))}function isLeafNode(i){return i.constructor===ValueNode||i.constructor===HashCollisionNode}function mergeIntoNode(i,s,u,m,v){if(i.keyHash===m)return new HashCollisionNode(s,m,[i.entry,v]);var _,M=(0===u?i.keyHash:i.keyHash>>>u)&$,W=(0===u?m:m>>>u)&$;return new BitmapIndexedNode(s,1<>>=1)j[$]=1&u?s[_++]:void 0;return j[m]=v,new HashArrayMapNode(i,_+1,j)}function mergeIntoMapWith(i,s,u){for(var m=[],v=0;v>1&1431655765))+(i>>2&858993459))+(i>>4)&252645135,i+=i>>8,127&(i+=i>>16)}function setIn(i,s,u,m){var v=m?i:arrCopy(i);return v[s]=u,v}function spliceIn(i,s,u,m){var v=i.length+1;if(m&&s+1===v)return i[s]=u,i;for(var _=new Array(v),j=0,M=0;M=Xe)return createNodes(i,$,m,v);var ee=i&&i===this.ownerID,ae=ee?$:arrCopy($);return Z?M?X===Y-1?ae.pop():ae[X]=ae.pop():ae[X]=[m,v]:ae.push([m,v]),ee?(this.entries=ae,this):new ArrayMapNode(i,ae)}},BitmapIndexedNode.prototype.get=function(i,s,u,m){void 0===s&&(s=hash(u));var v=1<<((0===i?s:s>>>i)&$),_=this.bitmap;return 0==(_&v)?m:this.nodes[popCount(_&v-1)].get(i+j,s,u,m)},BitmapIndexedNode.prototype.update=function(i,s,u,m,v,_,M){void 0===u&&(u=hash(m));var X=(0===s?u:u>>>s)&$,Y=1<=Ye)return expandNodes(i,ie,Z,X,ce);if(ee&&!ce&&2===ie.length&&isLeafNode(ie[1^ae]))return ie[1^ae];if(ee&&ce&&1===ie.length&&isLeafNode(ce))return ce;var pe=i&&i===this.ownerID,de=ee?ce?Z:Z^Y:Z|Y,fe=ee?ce?setIn(ie,ae,ce,pe):spliceOut(ie,ae,pe):spliceIn(ie,ae,ce,pe);return pe?(this.bitmap=de,this.nodes=fe,this):new BitmapIndexedNode(i,de,fe)},HashArrayMapNode.prototype.get=function(i,s,u,m){void 0===s&&(s=hash(u));var v=(0===i?s:s>>>i)&$,_=this.nodes[v];return _?_.get(i+j,s,u,m):m},HashArrayMapNode.prototype.update=function(i,s,u,m,v,_,M){void 0===u&&(u=hash(m));var X=(0===s?u:u>>>s)&$,Y=v===W,Z=this.nodes,ee=Z[X];if(Y&&!ee)return this;var ae=updateNode(ee,i,s+j,u,m,v,_,M);if(ae===ee)return this;var ie=this.count;if(ee){if(!ae&&--ie0&&m=0&&i>>s&$;if(m>=this.array.length)return new VNode([],i);var v,_=0===m;if(s>0){var M=this.array[m];if((v=M&&M.removeBefore(i,s-j,u))===M&&_)return this}if(_&&!v)return this;var W=editableVNode(this,i);if(!_)for(var X=0;X>>s&$;if(v>=this.array.length)return this;if(s>0){var _=this.array[v];if((m=_&&_.removeAfter(i,s-j,u))===_&&v===this.array.length-1)return this}var M=editableVNode(this,i);return M.array.splice(v+1),m&&(M.array[v]=m),M};var rt,nt,ot={};function iterateList(i,s){var u=i._origin,m=i._capacity,v=getTailOffset(m),_=i._tail;return iterateNodeOrLeaf(i._root,i._level,0);function iterateNodeOrLeaf(i,s,u){return 0===s?iterateLeaf(i,u):iterateNode(i,s,u)}function iterateLeaf(i,j){var $=j===v?_&&_.array:i&&i.array,W=j>u?0:u-j,X=m-j;return X>M&&(X=M),function(){if(W===X)return ot;var i=s?--X:W++;return $&&$[i]}}function iterateNode(i,v,_){var $,W=i&&i.array,X=_>u?0:u-_>>v,Y=1+(m-_>>v);return Y>M&&(Y=M),function(){for(;;){if($){var i=$();if(i!==ot)return i;$=null}if(X===Y)return ot;var u=s?--Y:X++;$=iterateNodeOrLeaf(W&&W[u],v-j,_+(u<=i.size||s<0)return i.withMutations((function(i){s<0?setListBounds(i,s).set(0,u):setListBounds(i,0,s+1).set(s,u)}));s+=i._origin;var m=i._tail,v=i._root,_=MakeRef(Y);return s>=getTailOffset(i._capacity)?m=updateVNode(m,i.__ownerID,0,s,u,_):v=updateVNode(v,i.__ownerID,i._level,s,u,_),_.value?i.__ownerID?(i._root=v,i._tail=m,i.__hash=void 0,i.__altered=!0,i):makeList(i._origin,i._capacity,i._level,v,m):i}function updateVNode(i,s,u,m,v,_){var M,W=m>>>u&$,X=i&&W0){var Y=i&&i.array[W],Z=updateVNode(Y,s,u-j,m,v,_);return Z===Y?i:((M=editableVNode(i,s)).array[W]=Z,M)}return X&&i.array[W]===v?i:(SetRef(_),M=editableVNode(i,s),void 0===v&&W===M.array.length-1?M.array.pop():M.array[W]=v,M)}function editableVNode(i,s){return s&&i&&s===i.ownerID?i:new VNode(i?i.array.slice():[],s)}function listNodeFor(i,s){if(s>=getTailOffset(i._capacity))return i._tail;if(s<1<0;)u=u.array[s>>>m&$],m-=j;return u}}function setListBounds(i,s,u){void 0!==s&&(s|=0),void 0!==u&&(u|=0);var m=i.__ownerID||new OwnerID,v=i._origin,_=i._capacity,M=v+s,W=void 0===u?_:u<0?_+u:v+u;if(M===v&&W===_)return i;if(M>=W)return i.clear();for(var X=i._level,Y=i._root,Z=0;M+Z<0;)Y=new VNode(Y&&Y.array.length?[void 0,Y]:[],m),Z+=1<<(X+=j);Z&&(M+=Z,v+=Z,W+=Z,_+=Z);for(var ee=getTailOffset(_),ae=getTailOffset(W);ae>=1<ee?new VNode([],m):ie;if(ie&&ae>ee&&M<_&&ie.array.length){for(var ce=Y=editableVNode(Y,m),pe=X;pe>j;pe-=j){var de=ee>>>pe&$;ce=ce.array[de]=editableVNode(ce.array[de],m)}ce.array[ee>>>j&$]=ie}if(W<_&&(le=le&&le.removeAfter(m,0,W)),M>=ae)M-=ae,W-=ae,X=j,Y=null,le=le&&le.removeBefore(m,0,M);else if(M>v||ae>>X&$;if(fe!==ae>>>X&$)break;fe&&(Z+=(1<v&&(Y=Y.removeBefore(m,X,M-Z)),Y&&aev&&(v=M.size),isIterable(j)||(M=M.map((function(i){return fromJS(i)}))),m.push(M)}return v>i.size&&(i=i.setSize(v)),mergeIntoCollectionWith(i,s,m)}function getTailOffset(i){return i>>j<=M&&j.size>=2*_.size?(m=(v=j.filter((function(i,s){return void 0!==i&&$!==s}))).toKeyedSeq().map((function(i){return i[0]})).flip().toMap(),i.__ownerID&&(m.__ownerID=v.__ownerID=i.__ownerID)):(m=_.remove(s),v=$===j.size-1?j.pop():j.set($,void 0))}else if(X){if(u===j.get($)[1])return i;m=_,v=j.set($,[s,u])}else m=_.set(s,j.size),v=j.set(j.size,[s,u]);return i.__ownerID?(i.size=m.size,i._map=m,i._list=v,i.__hash=void 0,i):makeOrderedMap(m,v)}function ToKeyedSequence(i,s){this._iter=i,this._useKeys=s,this.size=i.size}function ToIndexedSequence(i){this._iter=i,this.size=i.size}function ToSetSequence(i){this._iter=i,this.size=i.size}function FromEntriesSequence(i){this._iter=i,this.size=i.size}function flipFactory(i){var s=makeSequence(i);return s._iter=i,s.size=i.size,s.flip=function(){return i},s.reverse=function(){var s=i.reverse.apply(this);return s.flip=function(){return i.reverse()},s},s.has=function(s){return i.includes(s)},s.includes=function(s){return i.has(s)},s.cacheResult=cacheResultThrough,s.__iterateUncached=function(s,u){var m=this;return i.__iterate((function(i,u){return!1!==s(u,i,m)}),u)},s.__iteratorUncached=function(s,u){if(s===ae){var m=i.__iterator(s,u);return new Iterator((function(){var i=m.next();if(!i.done){var s=i.value[0];i.value[0]=i.value[1],i.value[1]=s}return i}))}return i.__iterator(s===ee?Z:ee,u)},s}function mapFactory(i,s,u){var m=makeSequence(i);return m.size=i.size,m.has=function(s){return i.has(s)},m.get=function(m,v){var _=i.get(m,W);return _===W?v:s.call(u,_,m,i)},m.__iterateUncached=function(m,v){var _=this;return i.__iterate((function(i,v,j){return!1!==m(s.call(u,i,v,j),v,_)}),v)},m.__iteratorUncached=function(m,v){var _=i.__iterator(ae,v);return new Iterator((function(){var v=_.next();if(v.done)return v;var j=v.value,M=j[0];return iteratorValue(m,M,s.call(u,j[1],M,i),v)}))},m}function reverseFactory(i,s){var u=makeSequence(i);return u._iter=i,u.size=i.size,u.reverse=function(){return i},i.flip&&(u.flip=function(){var s=flipFactory(i);return s.reverse=function(){return i.flip()},s}),u.get=function(u,m){return i.get(s?u:-1-u,m)},u.has=function(u){return i.has(s?u:-1-u)},u.includes=function(s){return i.includes(s)},u.cacheResult=cacheResultThrough,u.__iterate=function(s,u){var m=this;return i.__iterate((function(i,u){return s(i,u,m)}),!u)},u.__iterator=function(s,u){return i.__iterator(s,!u)},u}function filterFactory(i,s,u,m){var v=makeSequence(i);return m&&(v.has=function(m){var v=i.get(m,W);return v!==W&&!!s.call(u,v,m,i)},v.get=function(m,v){var _=i.get(m,W);return _!==W&&s.call(u,_,m,i)?_:v}),v.__iterateUncached=function(v,_){var j=this,M=0;return i.__iterate((function(i,_,$){if(s.call(u,i,_,$))return M++,v(i,m?_:M-1,j)}),_),M},v.__iteratorUncached=function(v,_){var j=i.__iterator(ae,_),M=0;return new Iterator((function(){for(;;){var _=j.next();if(_.done)return _;var $=_.value,W=$[0],X=$[1];if(s.call(u,X,W,i))return iteratorValue(v,m?W:M++,X,_)}}))},v}function countByFactory(i,s,u){var m=Map().asMutable();return i.__iterate((function(v,_){m.update(s.call(u,v,_,i),0,(function(i){return i+1}))})),m.asImmutable()}function groupByFactory(i,s,u){var m=isKeyed(i),v=(isOrdered(i)?OrderedMap():Map()).asMutable();i.__iterate((function(_,j){v.update(s.call(u,_,j,i),(function(i){return(i=i||[]).push(m?[j,_]:_),i}))}));var _=iterableClass(i);return v.map((function(s){return reify(i,_(s))}))}function sliceFactory(i,s,u,m){var v=i.size;if(void 0!==s&&(s|=0),void 0!==u&&(u===1/0?u=v:u|=0),wholeSlice(s,u,v))return i;var _=resolveBegin(s,v),j=resolveEnd(u,v);if(_!=_||j!=j)return sliceFactory(i.toSeq().cacheResult(),s,u,m);var M,$=j-_;$==$&&(M=$<0?0:$);var W=makeSequence(i);return W.size=0===M?M:i.size&&M||void 0,!m&&isSeq(i)&&M>=0&&(W.get=function(s,u){return(s=wrapIndex(this,s))>=0&&sM)return iteratorDone();var i=v.next();return m||s===ee?i:iteratorValue(s,$-1,s===Z?void 0:i.value[1],i)}))},W}function takeWhileFactory(i,s,u){var m=makeSequence(i);return m.__iterateUncached=function(m,v){var _=this;if(v)return this.cacheResult().__iterate(m,v);var j=0;return i.__iterate((function(i,v,M){return s.call(u,i,v,M)&&++j&&m(i,v,_)})),j},m.__iteratorUncached=function(m,v){var _=this;if(v)return this.cacheResult().__iterator(m,v);var j=i.__iterator(ae,v),M=!0;return new Iterator((function(){if(!M)return iteratorDone();var i=j.next();if(i.done)return i;var v=i.value,$=v[0],W=v[1];return s.call(u,W,$,_)?m===ae?i:iteratorValue(m,$,W,i):(M=!1,iteratorDone())}))},m}function skipWhileFactory(i,s,u,m){var v=makeSequence(i);return v.__iterateUncached=function(v,_){var j=this;if(_)return this.cacheResult().__iterate(v,_);var M=!0,$=0;return i.__iterate((function(i,_,W){if(!M||!(M=s.call(u,i,_,W)))return $++,v(i,m?_:$-1,j)})),$},v.__iteratorUncached=function(v,_){var j=this;if(_)return this.cacheResult().__iterator(v,_);var M=i.__iterator(ae,_),$=!0,W=0;return new Iterator((function(){var i,_,X;do{if((i=M.next()).done)return m||v===ee?i:iteratorValue(v,W++,v===Z?void 0:i.value[1],i);var Y=i.value;_=Y[0],X=Y[1],$&&($=s.call(u,X,_,j))}while($);return v===ae?i:iteratorValue(v,_,X,i)}))},v}function concatFactory(i,s){var u=isKeyed(i),m=[i].concat(s).map((function(i){return isIterable(i)?u&&(i=KeyedIterable(i)):i=u?keyedSeqFromValue(i):indexedSeqFromValue(Array.isArray(i)?i:[i]),i})).filter((function(i){return 0!==i.size}));if(0===m.length)return i;if(1===m.length){var v=m[0];if(v===i||u&&isKeyed(v)||isIndexed(i)&&isIndexed(v))return v}var _=new ArraySeq(m);return u?_=_.toKeyedSeq():isIndexed(i)||(_=_.toSetSeq()),(_=_.flatten(!0)).size=m.reduce((function(i,s){if(void 0!==i){var u=s.size;if(void 0!==u)return i+u}}),0),_}function flattenFactory(i,s,u){var m=makeSequence(i);return m.__iterateUncached=function(m,v){var _=0,j=!1;function flatDeep(i,M){var $=this;i.__iterate((function(i,v){return(!s||M0}function zipWithFactory(i,s,u){var m=makeSequence(i);return m.size=new ArraySeq(u).map((function(i){return i.size})).min(),m.__iterate=function(i,s){for(var u,m=this.__iterator(ee,s),v=0;!(u=m.next()).done&&!1!==i(u.value,v++,this););return v},m.__iteratorUncached=function(i,m){var v=u.map((function(i){return i=Iterable(i),getIterator(m?i.reverse():i)})),_=0,j=!1;return new Iterator((function(){var u;return j||(u=v.map((function(i){return i.next()})),j=u.some((function(i){return i.done}))),j?iteratorDone():iteratorValue(i,_++,s.apply(null,u.map((function(i){return i.value}))))}))},m}function reify(i,s){return isSeq(i)?s:i.constructor(s)}function validateEntry(i){if(i!==Object(i))throw new TypeError("Expected [K, V] tuple: "+i)}function resolveSize(i){return assertNotInfinite(i.size),ensureSize(i)}function iterableClass(i){return isKeyed(i)?KeyedIterable:isIndexed(i)?IndexedIterable:SetIterable}function makeSequence(i){return Object.create((isKeyed(i)?KeyedSeq:isIndexed(i)?IndexedSeq:SetSeq).prototype)}function cacheResultThrough(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Seq.prototype.cacheResult.call(this)}function defaultComparator(i,s){return i>s?1:i=0;u--)s={value:arguments[u],next:s};return this.__ownerID?(this.size=i,this._head=s,this.__hash=void 0,this.__altered=!0,this):makeStack(i,s)},Stack.prototype.pushAll=function(i){if(0===(i=IndexedIterable(i)).size)return this;assertNotInfinite(i.size);var s=this.size,u=this._head;return i.reverse().forEach((function(i){s++,u={value:i,next:u}})),this.__ownerID?(this.size=s,this._head=u,this.__hash=void 0,this.__altered=!0,this):makeStack(s,u)},Stack.prototype.pop=function(){return this.slice(1)},Stack.prototype.unshift=function(){return this.push.apply(this,arguments)},Stack.prototype.unshiftAll=function(i){return this.pushAll(i)},Stack.prototype.shift=function(){return this.pop.apply(this,arguments)},Stack.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):emptyStack()},Stack.prototype.slice=function(i,s){if(wholeSlice(i,s,this.size))return this;var u=resolveBegin(i,this.size);if(resolveEnd(s,this.size)!==this.size)return IndexedCollection.prototype.slice.call(this,i,s);for(var m=this.size-u,v=this._head;u--;)v=v.next;return this.__ownerID?(this.size=m,this._head=v,this.__hash=void 0,this.__altered=!0,this):makeStack(m,v)},Stack.prototype.__ensureOwner=function(i){return i===this.__ownerID?this:i?makeStack(this.size,this._head,i,this.__hash):(this.__ownerID=i,this.__altered=!1,this)},Stack.prototype.__iterate=function(i,s){if(s)return this.reverse().__iterate(i);for(var u=0,m=this._head;m&&!1!==i(m.value,u++,this);)m=m.next;return u},Stack.prototype.__iterator=function(i,s){if(s)return this.reverse().__iterator(i);var u=0,m=this._head;return new Iterator((function(){if(m){var s=m.value;return m=m.next,iteratorValue(i,u++,s)}return iteratorDone()}))},Stack.isStack=isStack;var pt,ht="@@__IMMUTABLE_STACK__@@",dt=Stack.prototype;function makeStack(i,s,u,m){var v=Object.create(dt);return v.size=i,v._head=s,v.__ownerID=u,v.__hash=m,v.__altered=!1,v}function emptyStack(){return pt||(pt=makeStack(0))}function mixin(i,s){var keyCopier=function(u){i.prototype[u]=s[u]};return Object.keys(s).forEach(keyCopier),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(s).forEach(keyCopier),i}dt[ht]=!0,dt.withMutations=He.withMutations,dt.asMutable=He.asMutable,dt.asImmutable=He.asImmutable,dt.wasAltered=He.wasAltered,Iterable.Iterator=Iterator,mixin(Iterable,{toArray:function(){assertNotInfinite(this.size);var i=new Array(this.size||0);return this.valueSeq().__iterate((function(s,u){i[u]=s})),i},toIndexedSeq:function(){return new ToIndexedSequence(this)},toJS:function(){return this.toSeq().map((function(i){return i&&"function"==typeof i.toJS?i.toJS():i})).__toJS()},toJSON:function(){return this.toSeq().map((function(i){return i&&"function"==typeof i.toJSON?i.toJSON():i})).__toJS()},toKeyedSeq:function(){return new ToKeyedSequence(this,!0)},toMap:function(){return Map(this.toKeyedSeq())},toObject:function(){assertNotInfinite(this.size);var i={};return this.__iterate((function(s,u){i[u]=s})),i},toOrderedMap:function(){return OrderedMap(this.toKeyedSeq())},toOrderedSet:function(){return OrderedSet(isKeyed(this)?this.valueSeq():this)},toSet:function(){return Set(isKeyed(this)?this.valueSeq():this)},toSetSeq:function(){return new ToSetSequence(this)},toSeq:function(){return isIndexed(this)?this.toIndexedSeq():isKeyed(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Stack(isKeyed(this)?this.valueSeq():this)},toList:function(){return List(isKeyed(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(i,s){return 0===this.size?i+s:i+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+s},concat:function(){return reify(this,concatFactory(this,i.call(arguments,0)))},includes:function(i){return this.some((function(s){return is(s,i)}))},entries:function(){return this.__iterator(ae)},every:function(i,s){assertNotInfinite(this.size);var u=!0;return this.__iterate((function(m,v,_){if(!i.call(s,m,v,_))return u=!1,!1})),u},filter:function(i,s){return reify(this,filterFactory(this,i,s,!0))},find:function(i,s,u){var m=this.findEntry(i,s);return m?m[1]:u},forEach:function(i,s){return assertNotInfinite(this.size),this.__iterate(s?i.bind(s):i)},join:function(i){assertNotInfinite(this.size),i=void 0!==i?""+i:",";var s="",u=!0;return this.__iterate((function(m){u?u=!1:s+=i,s+=null!=m?m.toString():""})),s},keys:function(){return this.__iterator(Z)},map:function(i,s){return reify(this,mapFactory(this,i,s))},reduce:function(i,s,u){var m,v;return assertNotInfinite(this.size),arguments.length<2?v=!0:m=s,this.__iterate((function(s,_,j){v?(v=!1,m=s):m=i.call(u,m,s,_,j)})),m},reduceRight:function(i,s,u){var m=this.toKeyedSeq().reverse();return m.reduce.apply(m,arguments)},reverse:function(){return reify(this,reverseFactory(this,!0))},slice:function(i,s){return reify(this,sliceFactory(this,i,s,!0))},some:function(i,s){return!this.every(not(i),s)},sort:function(i){return reify(this,sortFactory(this,i))},values:function(){return this.__iterator(ee)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(i,s){return ensureSize(i?this.toSeq().filter(i,s):this)},countBy:function(i,s){return countByFactory(this,i,s)},equals:function(i){return deepEqual(this,i)},entrySeq:function(){var i=this;if(i._cache)return new ArraySeq(i._cache);var s=i.toSeq().map(entryMapper).toIndexedSeq();return s.fromEntrySeq=function(){return i.toSeq()},s},filterNot:function(i,s){return this.filter(not(i),s)},findEntry:function(i,s,u){var m=u;return this.__iterate((function(u,v,_){if(i.call(s,u,v,_))return m=[v,u],!1})),m},findKey:function(i,s){var u=this.findEntry(i,s);return u&&u[0]},findLast:function(i,s,u){return this.toKeyedSeq().reverse().find(i,s,u)},findLastEntry:function(i,s,u){return this.toKeyedSeq().reverse().findEntry(i,s,u)},findLastKey:function(i,s){return this.toKeyedSeq().reverse().findKey(i,s)},first:function(){return this.find(returnTrue)},flatMap:function(i,s){return reify(this,flatMapFactory(this,i,s))},flatten:function(i){return reify(this,flattenFactory(this,i,!0))},fromEntrySeq:function(){return new FromEntriesSequence(this)},get:function(i,s){return this.find((function(s,u){return is(u,i)}),void 0,s)},getIn:function(i,s){for(var u,m=this,v=forceIterator(i);!(u=v.next()).done;){var _=u.value;if((m=m&&m.get?m.get(_,W):W)===W)return s}return m},groupBy:function(i,s){return groupByFactory(this,i,s)},has:function(i){return this.get(i,W)!==W},hasIn:function(i){return this.getIn(i,W)!==W},isSubset:function(i){return i="function"==typeof i.includes?i:Iterable(i),this.every((function(s){return i.includes(s)}))},isSuperset:function(i){return(i="function"==typeof i.isSubset?i:Iterable(i)).isSubset(this)},keyOf:function(i){return this.findKey((function(s){return is(s,i)}))},keySeq:function(){return this.toSeq().map(keyMapper).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(i){return this.toKeyedSeq().reverse().keyOf(i)},max:function(i){return maxFactory(this,i)},maxBy:function(i,s){return maxFactory(this,s,i)},min:function(i){return maxFactory(this,i?neg(i):defaultNegComparator)},minBy:function(i,s){return maxFactory(this,s?neg(s):defaultNegComparator,i)},rest:function(){return this.slice(1)},skip:function(i){return this.slice(Math.max(0,i))},skipLast:function(i){return reify(this,this.toSeq().reverse().skip(i).reverse())},skipWhile:function(i,s){return reify(this,skipWhileFactory(this,i,s,!0))},skipUntil:function(i,s){return this.skipWhile(not(i),s)},sortBy:function(i,s){return reify(this,sortFactory(this,s,i))},take:function(i){return this.slice(0,Math.max(0,i))},takeLast:function(i){return reify(this,this.toSeq().reverse().take(i).reverse())},takeWhile:function(i,s){return reify(this,takeWhileFactory(this,i,s))},takeUntil:function(i,s){return this.takeWhile(not(i),s)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=hashIterable(this))}});var mt=Iterable.prototype;mt[s]=!0,mt[ce]=mt.values,mt.__toJS=mt.toArray,mt.__toStringMapper=quoteString,mt.inspect=mt.toSource=function(){return this.toString()},mt.chain=mt.flatMap,mt.contains=mt.includes,mixin(KeyedIterable,{flip:function(){return reify(this,flipFactory(this))},mapEntries:function(i,s){var u=this,m=0;return reify(this,this.toSeq().map((function(v,_){return i.call(s,[_,v],m++,u)})).fromEntrySeq())},mapKeys:function(i,s){var u=this;return reify(this,this.toSeq().flip().map((function(m,v){return i.call(s,m,v,u)})).flip())}});var gt=KeyedIterable.prototype;function keyMapper(i,s){return s}function entryMapper(i,s){return[s,i]}function not(i){return function(){return!i.apply(this,arguments)}}function neg(i){return function(){return-i.apply(this,arguments)}}function quoteString(i){return"string"==typeof i?JSON.stringify(i):String(i)}function defaultZipper(){return arrCopy(arguments)}function defaultNegComparator(i,s){return is?-1:0}function hashIterable(i){if(i.size===1/0)return 0;var s=isOrdered(i),u=isKeyed(i),m=s?1:0;return murmurHashOfSize(i.__iterate(u?s?function(i,s){m=31*m+hashMerge(hash(i),hash(s))|0}:function(i,s){m=m+hashMerge(hash(i),hash(s))|0}:s?function(i){m=31*m+hash(i)|0}:function(i){m=m+hash(i)|0}),m)}function murmurHashOfSize(i,s){return s=be(s,3432918353),s=be(s<<15|s>>>-15,461845907),s=be(s<<13|s>>>-13,5),s=be((s=(s+3864292196|0)^i)^s>>>16,2246822507),s=smi((s=be(s^s>>>13,3266489909))^s>>>16)}function hashMerge(i,s){return i^s+2654435769+(i<<6)+(i>>2)|0}return gt[u]=!0,gt[ce]=mt.entries,gt.__toJS=mt.toObject,gt.__toStringMapper=function(i,s){return JSON.stringify(s)+": "+quoteString(i)},mixin(IndexedIterable,{toKeyedSeq:function(){return new ToKeyedSequence(this,!1)},filter:function(i,s){return reify(this,filterFactory(this,i,s,!1))},findIndex:function(i,s){var u=this.findEntry(i,s);return u?u[0]:-1},indexOf:function(i){var s=this.keyOf(i);return void 0===s?-1:s},lastIndexOf:function(i){var s=this.lastKeyOf(i);return void 0===s?-1:s},reverse:function(){return reify(this,reverseFactory(this,!1))},slice:function(i,s){return reify(this,sliceFactory(this,i,s,!1))},splice:function(i,s){var u=arguments.length;if(s=Math.max(0|s,0),0===u||2===u&&!s)return this;i=resolveBegin(i,i<0?this.count():this.size);var m=this.slice(0,i);return reify(this,1===u?m:m.concat(arrCopy(arguments,2),this.slice(i+s)))},findLastIndex:function(i,s){var u=this.findLastEntry(i,s);return u?u[0]:-1},first:function(){return this.get(0)},flatten:function(i){return reify(this,flattenFactory(this,i,!1))},get:function(i,s){return(i=wrapIndex(this,i))<0||this.size===1/0||void 0!==this.size&&i>this.size?s:this.find((function(s,u){return u===i}),void 0,s)},has:function(i){return(i=wrapIndex(this,i))>=0&&(void 0!==this.size?this.size===1/0||i{"function"==typeof Object.create?i.exports=function inherits(i,s){s&&(i.super_=s,i.prototype=Object.create(s.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}))}:i.exports=function inherits(i,s){if(s){i.super_=s;var TempCtor=function(){};TempCtor.prototype=s.prototype,i.prototype=new TempCtor,i.prototype.constructor=i}}},35823:i=>{i.exports=function(i,s,u,m){var v=new Blob(void 0!==m?[m,i]:[i],{type:u||"application/octet-stream"});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(v,s);else{var _=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(v):window.webkitURL.createObjectURL(v),j=document.createElement("a");j.style.display="none",j.href=_,j.setAttribute("download",s),void 0===j.download&&j.setAttribute("target","_blank"),document.body.appendChild(j),j.click(),setTimeout((function(){document.body.removeChild(j),window.URL.revokeObjectURL(_)}),200)}}},91296:(i,s,u)=>{var m=NaN,v="[object Symbol]",_=/^\s+|\s+$/g,j=/^[-+]0x[0-9a-f]+$/i,M=/^0b[01]+$/i,$=/^0o[0-7]+$/i,W=parseInt,X="object"==typeof u.g&&u.g&&u.g.Object===Object&&u.g,Y="object"==typeof self&&self&&self.Object===Object&&self,Z=X||Y||Function("return this")(),ee=Object.prototype.toString,ae=Math.max,ie=Math.min,now=function(){return Z.Date.now()};function isObject(i){var s=typeof i;return!!i&&("object"==s||"function"==s)}function toNumber(i){if("number"==typeof i)return i;if(function isSymbol(i){return"symbol"==typeof i||function isObjectLike(i){return!!i&&"object"==typeof i}(i)&&ee.call(i)==v}(i))return m;if(isObject(i)){var s="function"==typeof i.valueOf?i.valueOf():i;i=isObject(s)?s+"":s}if("string"!=typeof i)return 0===i?i:+i;i=i.replace(_,"");var u=M.test(i);return u||$.test(i)?W(i.slice(2),u?2:8):j.test(i)?m:+i}i.exports=function debounce(i,s,u){var m,v,_,j,M,$,W=0,X=!1,Y=!1,Z=!0;if("function"!=typeof i)throw new TypeError("Expected a function");function invokeFunc(s){var u=m,_=v;return m=v=void 0,W=s,j=i.apply(_,u)}function shouldInvoke(i){var u=i-$;return void 0===$||u>=s||u<0||Y&&i-W>=_}function timerExpired(){var i=now();if(shouldInvoke(i))return trailingEdge(i);M=setTimeout(timerExpired,function remainingWait(i){var u=s-(i-$);return Y?ie(u,_-(i-W)):u}(i))}function trailingEdge(i){return M=void 0,Z&&m?invokeFunc(i):(m=v=void 0,j)}function debounced(){var i=now(),u=shouldInvoke(i);if(m=arguments,v=this,$=i,u){if(void 0===M)return function leadingEdge(i){return W=i,M=setTimeout(timerExpired,s),X?invokeFunc(i):j}($);if(Y)return M=setTimeout(timerExpired,s),invokeFunc($)}return void 0===M&&(M=setTimeout(timerExpired,s)),j}return s=toNumber(s)||0,isObject(u)&&(X=!!u.leading,_=(Y="maxWait"in u)?ae(toNumber(u.maxWait)||0,s):_,Z="trailing"in u?!!u.trailing:Z),debounced.cancel=function cancel(){void 0!==M&&clearTimeout(M),W=0,m=$=v=M=void 0},debounced.flush=function flush(){return void 0===M?j:trailingEdge(now())},debounced}},18552:(i,s,u)=>{var m=u(10852)(u(55639),"DataView");i.exports=m},1989:(i,s,u)=>{var m=u(51789),v=u(80401),_=u(57667),j=u(21327),M=u(81866);function Hash(i){var s=-1,u=null==i?0:i.length;for(this.clear();++s{var m=u(3118),v=u(9435);function LazyWrapper(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}LazyWrapper.prototype=m(v.prototype),LazyWrapper.prototype.constructor=LazyWrapper,i.exports=LazyWrapper},38407:(i,s,u)=>{var m=u(27040),v=u(14125),_=u(82117),j=u(67518),M=u(54705);function ListCache(i){var s=-1,u=null==i?0:i.length;for(this.clear();++s{var m=u(3118),v=u(9435);function LodashWrapper(i,s){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=void 0}LodashWrapper.prototype=m(v.prototype),LodashWrapper.prototype.constructor=LodashWrapper,i.exports=LodashWrapper},57071:(i,s,u)=>{var m=u(10852)(u(55639),"Map");i.exports=m},83369:(i,s,u)=>{var m=u(24785),v=u(11285),_=u(96e3),j=u(49916),M=u(95265);function MapCache(i){var s=-1,u=null==i?0:i.length;for(this.clear();++s{var m=u(10852)(u(55639),"Promise");i.exports=m},58525:(i,s,u)=>{var m=u(10852)(u(55639),"Set");i.exports=m},88668:(i,s,u)=>{var m=u(83369),v=u(90619),_=u(72385);function SetCache(i){var s=-1,u=null==i?0:i.length;for(this.__data__=new m;++s{var m=u(38407),v=u(37465),_=u(63779),j=u(67599),M=u(44758),$=u(34309);function Stack(i){var s=this.__data__=new m(i);this.size=s.size}Stack.prototype.clear=v,Stack.prototype.delete=_,Stack.prototype.get=j,Stack.prototype.has=M,Stack.prototype.set=$,i.exports=Stack},62705:(i,s,u)=>{var m=u(55639).Symbol;i.exports=m},11149:(i,s,u)=>{var m=u(55639).Uint8Array;i.exports=m},70577:(i,s,u)=>{var m=u(10852)(u(55639),"WeakMap");i.exports=m},96874:i=>{i.exports=function apply(i,s,u){switch(u.length){case 0:return i.call(s);case 1:return i.call(s,u[0]);case 2:return i.call(s,u[0],u[1]);case 3:return i.call(s,u[0],u[1],u[2])}return i.apply(s,u)}},77412:i=>{i.exports=function arrayEach(i,s){for(var u=-1,m=null==i?0:i.length;++u{i.exports=function arrayFilter(i,s){for(var u=-1,m=null==i?0:i.length,v=0,_=[];++u{var m=u(42118);i.exports=function arrayIncludes(i,s){return!!(null==i?0:i.length)&&m(i,s,0)>-1}},14636:(i,s,u)=>{var m=u(22545),v=u(35694),_=u(1469),j=u(44144),M=u(65776),$=u(36719),W=Object.prototype.hasOwnProperty;i.exports=function arrayLikeKeys(i,s){var u=_(i),X=!u&&v(i),Y=!u&&!X&&j(i),Z=!u&&!X&&!Y&&$(i),ee=u||X||Y||Z,ae=ee?m(i.length,String):[],ie=ae.length;for(var le in i)!s&&!W.call(i,le)||ee&&("length"==le||Y&&("offset"==le||"parent"==le)||Z&&("buffer"==le||"byteLength"==le||"byteOffset"==le)||M(le,ie))||ae.push(le);return ae}},29932:i=>{i.exports=function arrayMap(i,s){for(var u=-1,m=null==i?0:i.length,v=Array(m);++u{i.exports=function arrayPush(i,s){for(var u=-1,m=s.length,v=i.length;++u{i.exports=function arrayReduce(i,s,u,m){var v=-1,_=null==i?0:i.length;for(m&&_&&(u=i[++v]);++v<_;)u=s(u,i[v],v,i);return u}},82908:i=>{i.exports=function arraySome(i,s){for(var u=-1,m=null==i?0:i.length;++u{i.exports=function asciiToArray(i){return i.split("")}},49029:i=>{var s=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;i.exports=function asciiWords(i){return i.match(s)||[]}},86556:(i,s,u)=>{var m=u(89465),v=u(77813);i.exports=function assignMergeValue(i,s,u){(void 0!==u&&!v(i[s],u)||void 0===u&&!(s in i))&&m(i,s,u)}},34865:(i,s,u)=>{var m=u(89465),v=u(77813),_=Object.prototype.hasOwnProperty;i.exports=function assignValue(i,s,u){var j=i[s];_.call(i,s)&&v(j,u)&&(void 0!==u||s in i)||m(i,s,u)}},18470:(i,s,u)=>{var m=u(77813);i.exports=function assocIndexOf(i,s){for(var u=i.length;u--;)if(m(i[u][0],s))return u;return-1}},44037:(i,s,u)=>{var m=u(98363),v=u(3674);i.exports=function baseAssign(i,s){return i&&m(s,v(s),i)}},63886:(i,s,u)=>{var m=u(98363),v=u(81704);i.exports=function baseAssignIn(i,s){return i&&m(s,v(s),i)}},89465:(i,s,u)=>{var m=u(38777);i.exports=function baseAssignValue(i,s,u){"__proto__"==s&&m?m(i,s,{configurable:!0,enumerable:!0,value:u,writable:!0}):i[s]=u}},85990:(i,s,u)=>{var m=u(46384),v=u(77412),_=u(34865),j=u(44037),M=u(63886),$=u(64626),W=u(278),X=u(18805),Y=u(1911),Z=u(58234),ee=u(46904),ae=u(64160),ie=u(43824),le=u(29148),ce=u(38517),pe=u(1469),de=u(44144),fe=u(56688),ye=u(13218),be=u(72928),_e=u(3674),we=u(81704),Se="[object Arguments]",xe="[object Function]",Pe="[object Object]",Ie={};Ie[Se]=Ie["[object Array]"]=Ie["[object ArrayBuffer]"]=Ie["[object DataView]"]=Ie["[object Boolean]"]=Ie["[object Date]"]=Ie["[object Float32Array]"]=Ie["[object Float64Array]"]=Ie["[object Int8Array]"]=Ie["[object Int16Array]"]=Ie["[object Int32Array]"]=Ie["[object Map]"]=Ie["[object Number]"]=Ie[Pe]=Ie["[object RegExp]"]=Ie["[object Set]"]=Ie["[object String]"]=Ie["[object Symbol]"]=Ie["[object Uint8Array]"]=Ie["[object Uint8ClampedArray]"]=Ie["[object Uint16Array]"]=Ie["[object Uint32Array]"]=!0,Ie["[object Error]"]=Ie[xe]=Ie["[object WeakMap]"]=!1,i.exports=function baseClone(i,s,u,Te,Re,qe){var ze,Ve=1&s,We=2&s,He=4&s;if(u&&(ze=Re?u(i,Te,Re,qe):u(i)),void 0!==ze)return ze;if(!ye(i))return i;var Xe=pe(i);if(Xe){if(ze=ie(i),!Ve)return W(i,ze)}else{var Ye=ae(i),Qe=Ye==xe||"[object GeneratorFunction]"==Ye;if(de(i))return $(i,Ve);if(Ye==Pe||Ye==Se||Qe&&!Re){if(ze=We||Qe?{}:ce(i),!Ve)return We?Y(i,M(ze,i)):X(i,j(ze,i))}else{if(!Ie[Ye])return Re?i:{};ze=le(i,Ye,Ve)}}qe||(qe=new m);var et=qe.get(i);if(et)return et;qe.set(i,ze),be(i)?i.forEach((function(m){ze.add(baseClone(m,s,u,m,i,qe))})):fe(i)&&i.forEach((function(m,v){ze.set(v,baseClone(m,s,u,v,i,qe))}));var tt=Xe?void 0:(He?We?ee:Z:We?we:_e)(i);return v(tt||i,(function(m,v){tt&&(m=i[v=m]),_(ze,v,baseClone(m,s,u,v,i,qe))})),ze}},3118:(i,s,u)=>{var m=u(13218),v=Object.create,_=function(){function object(){}return function(i){if(!m(i))return{};if(v)return v(i);object.prototype=i;var s=new object;return object.prototype=void 0,s}}();i.exports=_},89881:(i,s,u)=>{var m=u(47816),v=u(99291)(m);i.exports=v},41848:i=>{i.exports=function baseFindIndex(i,s,u,m){for(var v=i.length,_=u+(m?1:-1);m?_--:++_{var m=u(62488),v=u(37285);i.exports=function baseFlatten(i,s,u,_,j){var M=-1,$=i.length;for(u||(u=v),j||(j=[]);++M<$;){var W=i[M];s>0&&u(W)?s>1?baseFlatten(W,s-1,u,_,j):m(j,W):_||(j[j.length]=W)}return j}},28483:(i,s,u)=>{var m=u(25063)();i.exports=m},47816:(i,s,u)=>{var m=u(28483),v=u(3674);i.exports=function baseForOwn(i,s){return i&&m(i,s,v)}},97786:(i,s,u)=>{var m=u(71811),v=u(40327);i.exports=function baseGet(i,s){for(var u=0,_=(s=m(s,i)).length;null!=i&&u<_;)i=i[v(s[u++])];return u&&u==_?i:void 0}},68866:(i,s,u)=>{var m=u(62488),v=u(1469);i.exports=function baseGetAllKeys(i,s,u){var _=s(i);return v(i)?_:m(_,u(i))}},44239:(i,s,u)=>{var m=u(62705),v=u(89607),_=u(2333),j=m?m.toStringTag:void 0;i.exports=function baseGetTag(i){return null==i?void 0===i?"[object Undefined]":"[object Null]":j&&j in Object(i)?v(i):_(i)}},13:i=>{i.exports=function baseHasIn(i,s){return null!=i&&s in Object(i)}},42118:(i,s,u)=>{var m=u(41848),v=u(62722),_=u(42351);i.exports=function baseIndexOf(i,s,u){return s==s?_(i,s,u):m(i,v,u)}},9454:(i,s,u)=>{var m=u(44239),v=u(37005);i.exports=function baseIsArguments(i){return v(i)&&"[object Arguments]"==m(i)}},90939:(i,s,u)=>{var m=u(2492),v=u(37005);i.exports=function baseIsEqual(i,s,u,_,j){return i===s||(null==i||null==s||!v(i)&&!v(s)?i!=i&&s!=s:m(i,s,u,_,baseIsEqual,j))}},2492:(i,s,u)=>{var m=u(46384),v=u(67114),_=u(18351),j=u(16096),M=u(64160),$=u(1469),W=u(44144),X=u(36719),Y="[object Arguments]",Z="[object Array]",ee="[object Object]",ae=Object.prototype.hasOwnProperty;i.exports=function baseIsEqualDeep(i,s,u,ie,le,ce){var pe=$(i),de=$(s),fe=pe?Z:M(i),ye=de?Z:M(s),be=(fe=fe==Y?ee:fe)==ee,_e=(ye=ye==Y?ee:ye)==ee,we=fe==ye;if(we&&W(i)){if(!W(s))return!1;pe=!0,be=!1}if(we&&!be)return ce||(ce=new m),pe||X(i)?v(i,s,u,ie,le,ce):_(i,s,fe,u,ie,le,ce);if(!(1&u)){var Se=be&&ae.call(i,"__wrapped__"),xe=_e&&ae.call(s,"__wrapped__");if(Se||xe){var Pe=Se?i.value():i,Ie=xe?s.value():s;return ce||(ce=new m),le(Pe,Ie,u,ie,ce)}}return!!we&&(ce||(ce=new m),j(i,s,u,ie,le,ce))}},25588:(i,s,u)=>{var m=u(64160),v=u(37005);i.exports=function baseIsMap(i){return v(i)&&"[object Map]"==m(i)}},2958:(i,s,u)=>{var m=u(46384),v=u(90939);i.exports=function baseIsMatch(i,s,u,_){var j=u.length,M=j,$=!_;if(null==i)return!M;for(i=Object(i);j--;){var W=u[j];if($&&W[2]?W[1]!==i[W[0]]:!(W[0]in i))return!1}for(;++j{i.exports=function baseIsNaN(i){return i!=i}},28458:(i,s,u)=>{var m=u(23560),v=u(15346),_=u(13218),j=u(80346),M=/^\[object .+?Constructor\]$/,$=Function.prototype,W=Object.prototype,X=$.toString,Y=W.hasOwnProperty,Z=RegExp("^"+X.call(Y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");i.exports=function baseIsNative(i){return!(!_(i)||v(i))&&(m(i)?Z:M).test(j(i))}},29221:(i,s,u)=>{var m=u(64160),v=u(37005);i.exports=function baseIsSet(i){return v(i)&&"[object Set]"==m(i)}},38749:(i,s,u)=>{var m=u(44239),v=u(41780),_=u(37005),j={};j["[object Float32Array]"]=j["[object Float64Array]"]=j["[object Int8Array]"]=j["[object Int16Array]"]=j["[object Int32Array]"]=j["[object Uint8Array]"]=j["[object Uint8ClampedArray]"]=j["[object Uint16Array]"]=j["[object Uint32Array]"]=!0,j["[object Arguments]"]=j["[object Array]"]=j["[object ArrayBuffer]"]=j["[object Boolean]"]=j["[object DataView]"]=j["[object Date]"]=j["[object Error]"]=j["[object Function]"]=j["[object Map]"]=j["[object Number]"]=j["[object Object]"]=j["[object RegExp]"]=j["[object Set]"]=j["[object String]"]=j["[object WeakMap]"]=!1,i.exports=function baseIsTypedArray(i){return _(i)&&v(i.length)&&!!j[m(i)]}},67206:(i,s,u)=>{var m=u(91573),v=u(16432),_=u(6557),j=u(1469),M=u(39601);i.exports=function baseIteratee(i){return"function"==typeof i?i:null==i?_:"object"==typeof i?j(i)?v(i[0],i[1]):m(i):M(i)}},280:(i,s,u)=>{var m=u(25726),v=u(86916),_=Object.prototype.hasOwnProperty;i.exports=function baseKeys(i){if(!m(i))return v(i);var s=[];for(var u in Object(i))_.call(i,u)&&"constructor"!=u&&s.push(u);return s}},10313:(i,s,u)=>{var m=u(13218),v=u(25726),_=u(33498),j=Object.prototype.hasOwnProperty;i.exports=function baseKeysIn(i){if(!m(i))return _(i);var s=v(i),u=[];for(var M in i)("constructor"!=M||!s&&j.call(i,M))&&u.push(M);return u}},9435:i=>{i.exports=function baseLodash(){}},91573:(i,s,u)=>{var m=u(2958),v=u(1499),_=u(42634);i.exports=function baseMatches(i){var s=v(i);return 1==s.length&&s[0][2]?_(s[0][0],s[0][1]):function(u){return u===i||m(u,i,s)}}},16432:(i,s,u)=>{var m=u(90939),v=u(27361),_=u(79095),j=u(15403),M=u(89162),$=u(42634),W=u(40327);i.exports=function baseMatchesProperty(i,s){return j(i)&&M(s)?$(W(i),s):function(u){var j=v(u,i);return void 0===j&&j===s?_(u,i):m(s,j,3)}}},42980:(i,s,u)=>{var m=u(46384),v=u(86556),_=u(28483),j=u(59783),M=u(13218),$=u(81704),W=u(36390);i.exports=function baseMerge(i,s,u,X,Y){i!==s&&_(s,(function(_,$){if(Y||(Y=new m),M(_))j(i,s,$,u,baseMerge,X,Y);else{var Z=X?X(W(i,$),_,$+"",i,s,Y):void 0;void 0===Z&&(Z=_),v(i,$,Z)}}),$)}},59783:(i,s,u)=>{var m=u(86556),v=u(64626),_=u(77133),j=u(278),M=u(38517),$=u(35694),W=u(1469),X=u(29246),Y=u(44144),Z=u(23560),ee=u(13218),ae=u(68630),ie=u(36719),le=u(36390),ce=u(59881);i.exports=function baseMergeDeep(i,s,u,pe,de,fe,ye){var be=le(i,u),_e=le(s,u),we=ye.get(_e);if(we)m(i,u,we);else{var Se=fe?fe(be,_e,u+"",i,s,ye):void 0,xe=void 0===Se;if(xe){var Pe=W(_e),Ie=!Pe&&Y(_e),Te=!Pe&&!Ie&&ie(_e);Se=_e,Pe||Ie||Te?W(be)?Se=be:X(be)?Se=j(be):Ie?(xe=!1,Se=v(_e,!0)):Te?(xe=!1,Se=_(_e,!0)):Se=[]:ae(_e)||$(_e)?(Se=be,$(be)?Se=ce(be):ee(be)&&!Z(be)||(Se=M(_e))):xe=!1}xe&&(ye.set(_e,Se),de(Se,_e,pe,fe,ye),ye.delete(_e)),m(i,u,Se)}}},40371:i=>{i.exports=function baseProperty(i){return function(s){return null==s?void 0:s[i]}}},79152:(i,s,u)=>{var m=u(97786);i.exports=function basePropertyDeep(i){return function(s){return m(s,i)}}},18674:i=>{i.exports=function basePropertyOf(i){return function(s){return null==i?void 0:i[s]}}},10107:i=>{i.exports=function baseReduce(i,s,u,m,v){return v(i,(function(i,v,_){u=m?(m=!1,i):s(u,i,v,_)})),u}},5976:(i,s,u)=>{var m=u(6557),v=u(45357),_=u(30061);i.exports=function baseRest(i,s){return _(v(i,s,m),i+"")}},10611:(i,s,u)=>{var m=u(34865),v=u(71811),_=u(65776),j=u(13218),M=u(40327);i.exports=function baseSet(i,s,u,$){if(!j(i))return i;for(var W=-1,X=(s=v(s,i)).length,Y=X-1,Z=i;null!=Z&&++W{var m=u(6557),v=u(89250),_=v?function(i,s){return v.set(i,s),i}:m;i.exports=_},56560:(i,s,u)=>{var m=u(75703),v=u(38777),_=u(6557),j=v?function(i,s){return v(i,"toString",{configurable:!0,enumerable:!1,value:m(s),writable:!0})}:_;i.exports=j},14259:i=>{i.exports=function baseSlice(i,s,u){var m=-1,v=i.length;s<0&&(s=-s>v?0:v+s),(u=u>v?v:u)<0&&(u+=v),v=s>u?0:u-s>>>0,s>>>=0;for(var _=Array(v);++m{var m=u(89881);i.exports=function baseSome(i,s){var u;return m(i,(function(i,m,v){return!(u=s(i,m,v))})),!!u}},22545:i=>{i.exports=function baseTimes(i,s){for(var u=-1,m=Array(i);++u{var m=u(62705),v=u(29932),_=u(1469),j=u(33448),M=m?m.prototype:void 0,$=M?M.toString:void 0;i.exports=function baseToString(i){if("string"==typeof i)return i;if(_(i))return v(i,baseToString)+"";if(j(i))return $?$.call(i):"";var s=i+"";return"0"==s&&1/i==-Infinity?"-0":s}},27561:(i,s,u)=>{var m=u(67990),v=/^\s+/;i.exports=function baseTrim(i){return i?i.slice(0,m(i)+1).replace(v,""):i}},7518:i=>{i.exports=function baseUnary(i){return function(s){return i(s)}}},57406:(i,s,u)=>{var m=u(71811),v=u(10928),_=u(40292),j=u(40327);i.exports=function baseUnset(i,s){return s=m(s,i),null==(i=_(i,s))||delete i[j(v(s))]}},1757:i=>{i.exports=function baseZipObject(i,s,u){for(var m=-1,v=i.length,_=s.length,j={};++m{i.exports=function cacheHas(i,s){return i.has(s)}},71811:(i,s,u)=>{var m=u(1469),v=u(15403),_=u(55514),j=u(79833);i.exports=function castPath(i,s){return m(i)?i:v(i,s)?[i]:_(j(i))}},40180:(i,s,u)=>{var m=u(14259);i.exports=function castSlice(i,s,u){var v=i.length;return u=void 0===u?v:u,!s&&u>=v?i:m(i,s,u)}},74318:(i,s,u)=>{var m=u(11149);i.exports=function cloneArrayBuffer(i){var s=new i.constructor(i.byteLength);return new m(s).set(new m(i)),s}},64626:(i,s,u)=>{i=u.nmd(i);var m=u(55639),v=s&&!s.nodeType&&s,_=v&&i&&!i.nodeType&&i,j=_&&_.exports===v?m.Buffer:void 0,M=j?j.allocUnsafe:void 0;i.exports=function cloneBuffer(i,s){if(s)return i.slice();var u=i.length,m=M?M(u):new i.constructor(u);return i.copy(m),m}},57157:(i,s,u)=>{var m=u(74318);i.exports=function cloneDataView(i,s){var u=s?m(i.buffer):i.buffer;return new i.constructor(u,i.byteOffset,i.byteLength)}},93147:i=>{var s=/\w*$/;i.exports=function cloneRegExp(i){var u=new i.constructor(i.source,s.exec(i));return u.lastIndex=i.lastIndex,u}},40419:(i,s,u)=>{var m=u(62705),v=m?m.prototype:void 0,_=v?v.valueOf:void 0;i.exports=function cloneSymbol(i){return _?Object(_.call(i)):{}}},77133:(i,s,u)=>{var m=u(74318);i.exports=function cloneTypedArray(i,s){var u=s?m(i.buffer):i.buffer;return new i.constructor(u,i.byteOffset,i.length)}},52157:i=>{var s=Math.max;i.exports=function composeArgs(i,u,m,v){for(var _=-1,j=i.length,M=m.length,$=-1,W=u.length,X=s(j-M,0),Y=Array(W+X),Z=!v;++${var s=Math.max;i.exports=function composeArgsRight(i,u,m,v){for(var _=-1,j=i.length,M=-1,$=m.length,W=-1,X=u.length,Y=s(j-$,0),Z=Array(Y+X),ee=!v;++_{i.exports=function copyArray(i,s){var u=-1,m=i.length;for(s||(s=Array(m));++u{var m=u(34865),v=u(89465);i.exports=function copyObject(i,s,u,_){var j=!u;u||(u={});for(var M=-1,$=s.length;++M<$;){var W=s[M],X=_?_(u[W],i[W],W,u,i):void 0;void 0===X&&(X=i[W]),j?v(u,W,X):m(u,W,X)}return u}},18805:(i,s,u)=>{var m=u(98363),v=u(99551);i.exports=function copySymbols(i,s){return m(i,v(i),s)}},1911:(i,s,u)=>{var m=u(98363),v=u(51442);i.exports=function copySymbolsIn(i,s){return m(i,v(i),s)}},14429:(i,s,u)=>{var m=u(55639)["__core-js_shared__"];i.exports=m},97991:i=>{i.exports=function countHolders(i,s){for(var u=i.length,m=0;u--;)i[u]===s&&++m;return m}},21463:(i,s,u)=>{var m=u(5976),v=u(16612);i.exports=function createAssigner(i){return m((function(s,u){var m=-1,_=u.length,j=_>1?u[_-1]:void 0,M=_>2?u[2]:void 0;for(j=i.length>3&&"function"==typeof j?(_--,j):void 0,M&&v(u[0],u[1],M)&&(j=_<3?void 0:j,_=1),s=Object(s);++m<_;){var $=u[m];$&&i(s,$,m,j)}return s}))}},99291:(i,s,u)=>{var m=u(98612);i.exports=function createBaseEach(i,s){return function(u,v){if(null==u)return u;if(!m(u))return i(u,v);for(var _=u.length,j=s?_:-1,M=Object(u);(s?j--:++j<_)&&!1!==v(M[j],j,M););return u}}},25063:i=>{i.exports=function createBaseFor(i){return function(s,u,m){for(var v=-1,_=Object(s),j=m(s),M=j.length;M--;){var $=j[i?M:++v];if(!1===u(_[$],$,_))break}return s}}},22402:(i,s,u)=>{var m=u(71774),v=u(55639);i.exports=function createBind(i,s,u){var _=1&s,j=m(i);return function wrapper(){return(this&&this!==v&&this instanceof wrapper?j:i).apply(_?u:this,arguments)}}},98805:(i,s,u)=>{var m=u(40180),v=u(62689),_=u(83140),j=u(79833);i.exports=function createCaseFirst(i){return function(s){s=j(s);var u=v(s)?_(s):void 0,M=u?u[0]:s.charAt(0),$=u?m(u,1).join(""):s.slice(1);return M[i]()+$}}},35393:(i,s,u)=>{var m=u(62663),v=u(53816),_=u(58748),j=RegExp("['’]","g");i.exports=function createCompounder(i){return function(s){return m(_(v(s).replace(j,"")),i,"")}}},71774:(i,s,u)=>{var m=u(3118),v=u(13218);i.exports=function createCtor(i){return function(){var s=arguments;switch(s.length){case 0:return new i;case 1:return new i(s[0]);case 2:return new i(s[0],s[1]);case 3:return new i(s[0],s[1],s[2]);case 4:return new i(s[0],s[1],s[2],s[3]);case 5:return new i(s[0],s[1],s[2],s[3],s[4]);case 6:return new i(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new i(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var u=m(i.prototype),_=i.apply(u,s);return v(_)?_:u}}},46347:(i,s,u)=>{var m=u(96874),v=u(71774),_=u(86935),j=u(94487),M=u(20893),$=u(46460),W=u(55639);i.exports=function createCurry(i,s,u){var X=v(i);return function wrapper(){for(var v=arguments.length,Y=Array(v),Z=v,ee=M(wrapper);Z--;)Y[Z]=arguments[Z];var ae=v<3&&Y[0]!==ee&&Y[v-1]!==ee?[]:$(Y,ee);return(v-=ae.length){var m=u(67206),v=u(98612),_=u(3674);i.exports=function createFind(i){return function(s,u,j){var M=Object(s);if(!v(s)){var $=m(u,3);s=_(s),u=function(i){return $(M[i],i,M)}}var W=i(s,u,j);return W>-1?M[$?s[W]:W]:void 0}}},86935:(i,s,u)=>{var m=u(52157),v=u(14054),_=u(97991),j=u(71774),M=u(94487),$=u(20893),W=u(90451),X=u(46460),Y=u(55639);i.exports=function createHybrid(i,s,u,Z,ee,ae,ie,le,ce,pe){var de=128&s,fe=1&s,ye=2&s,be=24&s,_e=512&s,we=ye?void 0:j(i);return function wrapper(){for(var Se=arguments.length,xe=Array(Se),Pe=Se;Pe--;)xe[Pe]=arguments[Pe];if(be)var Ie=$(wrapper),Te=_(xe,Ie);if(Z&&(xe=m(xe,Z,ee,be)),ae&&(xe=v(xe,ae,ie,be)),Se-=Te,be&&Se1&&xe.reverse(),de&&ce{var m=u(96874),v=u(71774),_=u(55639);i.exports=function createPartial(i,s,u,j){var M=1&s,$=v(i);return function wrapper(){for(var s=-1,v=arguments.length,W=-1,X=j.length,Y=Array(X+v),Z=this&&this!==_&&this instanceof wrapper?$:i;++W{var m=u(86528),v=u(258),_=u(69255);i.exports=function createRecurry(i,s,u,j,M,$,W,X,Y,Z){var ee=8&s;s|=ee?32:64,4&(s&=~(ee?64:32))||(s&=-4);var ae=[i,s,M,ee?$:void 0,ee?W:void 0,ee?void 0:$,ee?void 0:W,X,Y,Z],ie=u.apply(void 0,ae);return m(i)&&v(ie,ae),ie.placeholder=j,_(ie,i,s)}},97727:(i,s,u)=>{var m=u(28045),v=u(22402),_=u(46347),j=u(86935),M=u(84375),$=u(66833),W=u(63833),X=u(258),Y=u(69255),Z=u(40554),ee=Math.max;i.exports=function createWrap(i,s,u,ae,ie,le,ce,pe){var de=2&s;if(!de&&"function"!=typeof i)throw new TypeError("Expected a function");var fe=ae?ae.length:0;if(fe||(s&=-97,ae=ie=void 0),ce=void 0===ce?ce:ee(Z(ce),0),pe=void 0===pe?pe:Z(pe),fe-=ie?ie.length:0,64&s){var ye=ae,be=ie;ae=ie=void 0}var _e=de?void 0:$(i),we=[i,s,u,ae,ie,ye,be,le,ce,pe];if(_e&&W(we,_e),i=we[0],s=we[1],u=we[2],ae=we[3],ie=we[4],!(pe=we[9]=void 0===we[9]?de?0:i.length:ee(we[9]-fe,0))&&24&s&&(s&=-25),s&&1!=s)Se=8==s||16==s?_(i,s,pe):32!=s&&33!=s||ie.length?j.apply(void 0,we):M(i,s,u,ae);else var Se=v(i,s,u);return Y((_e?m:X)(Se,we),i,s)}},60696:(i,s,u)=>{var m=u(68630);i.exports=function customOmitClone(i){return m(i)?void 0:i}},69389:(i,s,u)=>{var m=u(18674)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});i.exports=m},38777:(i,s,u)=>{var m=u(10852),v=function(){try{var i=m(Object,"defineProperty");return i({},"",{}),i}catch(i){}}();i.exports=v},67114:(i,s,u)=>{var m=u(88668),v=u(82908),_=u(74757);i.exports=function equalArrays(i,s,u,j,M,$){var W=1&u,X=i.length,Y=s.length;if(X!=Y&&!(W&&Y>X))return!1;var Z=$.get(i),ee=$.get(s);if(Z&&ee)return Z==s&&ee==i;var ae=-1,ie=!0,le=2&u?new m:void 0;for($.set(i,s),$.set(s,i);++ae{var m=u(62705),v=u(11149),_=u(77813),j=u(67114),M=u(68776),$=u(21814),W=m?m.prototype:void 0,X=W?W.valueOf:void 0;i.exports=function equalByTag(i,s,u,m,W,Y,Z){switch(u){case"[object DataView]":if(i.byteLength!=s.byteLength||i.byteOffset!=s.byteOffset)return!1;i=i.buffer,s=s.buffer;case"[object ArrayBuffer]":return!(i.byteLength!=s.byteLength||!Y(new v(i),new v(s)));case"[object Boolean]":case"[object Date]":case"[object Number]":return _(+i,+s);case"[object Error]":return i.name==s.name&&i.message==s.message;case"[object RegExp]":case"[object String]":return i==s+"";case"[object Map]":var ee=M;case"[object Set]":var ae=1&m;if(ee||(ee=$),i.size!=s.size&&!ae)return!1;var ie=Z.get(i);if(ie)return ie==s;m|=2,Z.set(i,s);var le=j(ee(i),ee(s),m,W,Y,Z);return Z.delete(i),le;case"[object Symbol]":if(X)return X.call(i)==X.call(s)}return!1}},16096:(i,s,u)=>{var m=u(58234),v=Object.prototype.hasOwnProperty;i.exports=function equalObjects(i,s,u,_,j,M){var $=1&u,W=m(i),X=W.length;if(X!=m(s).length&&!$)return!1;for(var Y=X;Y--;){var Z=W[Y];if(!($?Z in s:v.call(s,Z)))return!1}var ee=M.get(i),ae=M.get(s);if(ee&&ae)return ee==s&&ae==i;var ie=!0;M.set(i,s),M.set(s,i);for(var le=$;++Y{var m=u(85564),v=u(45357),_=u(30061);i.exports=function flatRest(i){return _(v(i,void 0,m),i+"")}},31957:(i,s,u)=>{var m="object"==typeof u.g&&u.g&&u.g.Object===Object&&u.g;i.exports=m},58234:(i,s,u)=>{var m=u(68866),v=u(99551),_=u(3674);i.exports=function getAllKeys(i){return m(i,_,v)}},46904:(i,s,u)=>{var m=u(68866),v=u(51442),_=u(81704);i.exports=function getAllKeysIn(i){return m(i,_,v)}},66833:(i,s,u)=>{var m=u(89250),v=u(50308),_=m?function(i){return m.get(i)}:v;i.exports=_},97658:(i,s,u)=>{var m=u(52060),v=Object.prototype.hasOwnProperty;i.exports=function getFuncName(i){for(var s=i.name+"",u=m[s],_=v.call(m,s)?u.length:0;_--;){var j=u[_],M=j.func;if(null==M||M==i)return j.name}return s}},20893:i=>{i.exports=function getHolder(i){return i.placeholder}},45050:(i,s,u)=>{var m=u(37019);i.exports=function getMapData(i,s){var u=i.__data__;return m(s)?u["string"==typeof s?"string":"hash"]:u.map}},1499:(i,s,u)=>{var m=u(89162),v=u(3674);i.exports=function getMatchData(i){for(var s=v(i),u=s.length;u--;){var _=s[u],j=i[_];s[u]=[_,j,m(j)]}return s}},10852:(i,s,u)=>{var m=u(28458),v=u(47801);i.exports=function getNative(i,s){var u=v(i,s);return m(u)?u:void 0}},85924:(i,s,u)=>{var m=u(5569)(Object.getPrototypeOf,Object);i.exports=m},89607:(i,s,u)=>{var m=u(62705),v=Object.prototype,_=v.hasOwnProperty,j=v.toString,M=m?m.toStringTag:void 0;i.exports=function getRawTag(i){var s=_.call(i,M),u=i[M];try{i[M]=void 0;var m=!0}catch(i){}var v=j.call(i);return m&&(s?i[M]=u:delete i[M]),v}},99551:(i,s,u)=>{var m=u(34963),v=u(70479),_=Object.prototype.propertyIsEnumerable,j=Object.getOwnPropertySymbols,M=j?function(i){return null==i?[]:(i=Object(i),m(j(i),(function(s){return _.call(i,s)})))}:v;i.exports=M},51442:(i,s,u)=>{var m=u(62488),v=u(85924),_=u(99551),j=u(70479),M=Object.getOwnPropertySymbols?function(i){for(var s=[];i;)m(s,_(i)),i=v(i);return s}:j;i.exports=M},64160:(i,s,u)=>{var m=u(18552),v=u(57071),_=u(53818),j=u(58525),M=u(70577),$=u(44239),W=u(80346),X="[object Map]",Y="[object Promise]",Z="[object Set]",ee="[object WeakMap]",ae="[object DataView]",ie=W(m),le=W(v),ce=W(_),pe=W(j),de=W(M),fe=$;(m&&fe(new m(new ArrayBuffer(1)))!=ae||v&&fe(new v)!=X||_&&fe(_.resolve())!=Y||j&&fe(new j)!=Z||M&&fe(new M)!=ee)&&(fe=function(i){var s=$(i),u="[object Object]"==s?i.constructor:void 0,m=u?W(u):"";if(m)switch(m){case ie:return ae;case le:return X;case ce:return Y;case pe:return Z;case de:return ee}return s}),i.exports=fe},47801:i=>{i.exports=function getValue(i,s){return null==i?void 0:i[s]}},58775:i=>{var s=/\{\n\/\* \[wrapped with (.+)\] \*/,u=/,? & /;i.exports=function getWrapDetails(i){var m=i.match(s);return m?m[1].split(u):[]}},222:(i,s,u)=>{var m=u(71811),v=u(35694),_=u(1469),j=u(65776),M=u(41780),$=u(40327);i.exports=function hasPath(i,s,u){for(var W=-1,X=(s=m(s,i)).length,Y=!1;++W{var s=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");i.exports=function hasUnicode(i){return s.test(i)}},93157:i=>{var s=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;i.exports=function hasUnicodeWord(i){return s.test(i)}},51789:(i,s,u)=>{var m=u(94536);i.exports=function hashClear(){this.__data__=m?m(null):{},this.size=0}},80401:i=>{i.exports=function hashDelete(i){var s=this.has(i)&&delete this.__data__[i];return this.size-=s?1:0,s}},57667:(i,s,u)=>{var m=u(94536),v=Object.prototype.hasOwnProperty;i.exports=function hashGet(i){var s=this.__data__;if(m){var u=s[i];return"__lodash_hash_undefined__"===u?void 0:u}return v.call(s,i)?s[i]:void 0}},21327:(i,s,u)=>{var m=u(94536),v=Object.prototype.hasOwnProperty;i.exports=function hashHas(i){var s=this.__data__;return m?void 0!==s[i]:v.call(s,i)}},81866:(i,s,u)=>{var m=u(94536);i.exports=function hashSet(i,s){var u=this.__data__;return this.size+=this.has(i)?0:1,u[i]=m&&void 0===s?"__lodash_hash_undefined__":s,this}},43824:i=>{var s=Object.prototype.hasOwnProperty;i.exports=function initCloneArray(i){var u=i.length,m=new i.constructor(u);return u&&"string"==typeof i[0]&&s.call(i,"index")&&(m.index=i.index,m.input=i.input),m}},29148:(i,s,u)=>{var m=u(74318),v=u(57157),_=u(93147),j=u(40419),M=u(77133);i.exports=function initCloneByTag(i,s,u){var $=i.constructor;switch(s){case"[object ArrayBuffer]":return m(i);case"[object Boolean]":case"[object Date]":return new $(+i);case"[object DataView]":return v(i,u);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return M(i,u);case"[object Map]":case"[object Set]":return new $;case"[object Number]":case"[object String]":return new $(i);case"[object RegExp]":return _(i);case"[object Symbol]":return j(i)}}},38517:(i,s,u)=>{var m=u(3118),v=u(85924),_=u(25726);i.exports=function initCloneObject(i){return"function"!=typeof i.constructor||_(i)?{}:m(v(i))}},83112:i=>{var s=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;i.exports=function insertWrapDetails(i,u){var m=u.length;if(!m)return i;var v=m-1;return u[v]=(m>1?"& ":"")+u[v],u=u.join(m>2?", ":" "),i.replace(s,"{\n/* [wrapped with "+u+"] */\n")}},37285:(i,s,u)=>{var m=u(62705),v=u(35694),_=u(1469),j=m?m.isConcatSpreadable:void 0;i.exports=function isFlattenable(i){return _(i)||v(i)||!!(j&&i&&i[j])}},65776:i=>{var s=/^(?:0|[1-9]\d*)$/;i.exports=function isIndex(i,u){var m=typeof i;return!!(u=null==u?9007199254740991:u)&&("number"==m||"symbol"!=m&&s.test(i))&&i>-1&&i%1==0&&i{var m=u(77813),v=u(98612),_=u(65776),j=u(13218);i.exports=function isIterateeCall(i,s,u){if(!j(u))return!1;var M=typeof s;return!!("number"==M?v(u)&&_(s,u.length):"string"==M&&s in u)&&m(u[s],i)}},15403:(i,s,u)=>{var m=u(1469),v=u(33448),_=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;i.exports=function isKey(i,s){if(m(i))return!1;var u=typeof i;return!("number"!=u&&"symbol"!=u&&"boolean"!=u&&null!=i&&!v(i))||(j.test(i)||!_.test(i)||null!=s&&i in Object(s))}},37019:i=>{i.exports=function isKeyable(i){var s=typeof i;return"string"==s||"number"==s||"symbol"==s||"boolean"==s?"__proto__"!==i:null===i}},86528:(i,s,u)=>{var m=u(96425),v=u(66833),_=u(97658),j=u(8111);i.exports=function isLaziable(i){var s=_(i),u=j[s];if("function"!=typeof u||!(s in m.prototype))return!1;if(i===u)return!0;var M=v(u);return!!M&&i===M[0]}},15346:(i,s,u)=>{var m,v=u(14429),_=(m=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"";i.exports=function isMasked(i){return!!_&&_ in i}},25726:i=>{var s=Object.prototype;i.exports=function isPrototype(i){var u=i&&i.constructor;return i===("function"==typeof u&&u.prototype||s)}},89162:(i,s,u)=>{var m=u(13218);i.exports=function isStrictComparable(i){return i==i&&!m(i)}},27040:i=>{i.exports=function listCacheClear(){this.__data__=[],this.size=0}},14125:(i,s,u)=>{var m=u(18470),v=Array.prototype.splice;i.exports=function listCacheDelete(i){var s=this.__data__,u=m(s,i);return!(u<0)&&(u==s.length-1?s.pop():v.call(s,u,1),--this.size,!0)}},82117:(i,s,u)=>{var m=u(18470);i.exports=function listCacheGet(i){var s=this.__data__,u=m(s,i);return u<0?void 0:s[u][1]}},67518:(i,s,u)=>{var m=u(18470);i.exports=function listCacheHas(i){return m(this.__data__,i)>-1}},54705:(i,s,u)=>{var m=u(18470);i.exports=function listCacheSet(i,s){var u=this.__data__,v=m(u,i);return v<0?(++this.size,u.push([i,s])):u[v][1]=s,this}},24785:(i,s,u)=>{var m=u(1989),v=u(38407),_=u(57071);i.exports=function mapCacheClear(){this.size=0,this.__data__={hash:new m,map:new(_||v),string:new m}}},11285:(i,s,u)=>{var m=u(45050);i.exports=function mapCacheDelete(i){var s=m(this,i).delete(i);return this.size-=s?1:0,s}},96e3:(i,s,u)=>{var m=u(45050);i.exports=function mapCacheGet(i){return m(this,i).get(i)}},49916:(i,s,u)=>{var m=u(45050);i.exports=function mapCacheHas(i){return m(this,i).has(i)}},95265:(i,s,u)=>{var m=u(45050);i.exports=function mapCacheSet(i,s){var u=m(this,i),v=u.size;return u.set(i,s),this.size+=u.size==v?0:1,this}},68776:i=>{i.exports=function mapToArray(i){var s=-1,u=Array(i.size);return i.forEach((function(i,m){u[++s]=[m,i]})),u}},42634:i=>{i.exports=function matchesStrictComparable(i,s){return function(u){return null!=u&&(u[i]===s&&(void 0!==s||i in Object(u)))}}},24523:(i,s,u)=>{var m=u(88306);i.exports=function memoizeCapped(i){var s=m(i,(function(i){return 500===u.size&&u.clear(),i})),u=s.cache;return s}},63833:(i,s,u)=>{var m=u(52157),v=u(14054),_=u(46460),j="__lodash_placeholder__",M=128,$=Math.min;i.exports=function mergeData(i,s){var u=i[1],W=s[1],X=u|W,Y=X<131,Z=W==M&&8==u||W==M&&256==u&&i[7].length<=s[8]||384==W&&s[7].length<=s[8]&&8==u;if(!Y&&!Z)return i;1&W&&(i[2]=s[2],X|=1&u?0:4);var ee=s[3];if(ee){var ae=i[3];i[3]=ae?m(ae,ee,s[4]):ee,i[4]=ae?_(i[3],j):s[4]}return(ee=s[5])&&(ae=i[5],i[5]=ae?v(ae,ee,s[6]):ee,i[6]=ae?_(i[5],j):s[6]),(ee=s[7])&&(i[7]=ee),W&M&&(i[8]=null==i[8]?s[8]:$(i[8],s[8])),null==i[9]&&(i[9]=s[9]),i[0]=s[0],i[1]=X,i}},89250:(i,s,u)=>{var m=u(70577),v=m&&new m;i.exports=v},94536:(i,s,u)=>{var m=u(10852)(Object,"create");i.exports=m},86916:(i,s,u)=>{var m=u(5569)(Object.keys,Object);i.exports=m},33498:i=>{i.exports=function nativeKeysIn(i){var s=[];if(null!=i)for(var u in Object(i))s.push(u);return s}},31167:(i,s,u)=>{i=u.nmd(i);var m=u(31957),v=s&&!s.nodeType&&s,_=v&&i&&!i.nodeType&&i,j=_&&_.exports===v&&m.process,M=function(){try{var i=_&&_.require&&_.require("util").types;return i||j&&j.binding&&j.binding("util")}catch(i){}}();i.exports=M},2333:i=>{var s=Object.prototype.toString;i.exports=function objectToString(i){return s.call(i)}},5569:i=>{i.exports=function overArg(i,s){return function(u){return i(s(u))}}},45357:(i,s,u)=>{var m=u(96874),v=Math.max;i.exports=function overRest(i,s,u){return s=v(void 0===s?i.length-1:s,0),function(){for(var _=arguments,j=-1,M=v(_.length-s,0),$=Array(M);++j{var m=u(97786),v=u(14259);i.exports=function parent(i,s){return s.length<2?i:m(i,v(s,0,-1))}},52060:i=>{i.exports={}},90451:(i,s,u)=>{var m=u(278),v=u(65776),_=Math.min;i.exports=function reorder(i,s){for(var u=i.length,j=_(s.length,u),M=m(i);j--;){var $=s[j];i[j]=v($,u)?M[$]:void 0}return i}},46460:i=>{var s="__lodash_placeholder__";i.exports=function replaceHolders(i,u){for(var m=-1,v=i.length,_=0,j=[];++m{var m=u(31957),v="object"==typeof self&&self&&self.Object===Object&&self,_=m||v||Function("return this")();i.exports=_},36390:i=>{i.exports=function safeGet(i,s){if(("constructor"!==s||"function"!=typeof i[s])&&"__proto__"!=s)return i[s]}},90619:i=>{i.exports=function setCacheAdd(i){return this.__data__.set(i,"__lodash_hash_undefined__"),this}},72385:i=>{i.exports=function setCacheHas(i){return this.__data__.has(i)}},258:(i,s,u)=>{var m=u(28045),v=u(21275)(m);i.exports=v},21814:i=>{i.exports=function setToArray(i){var s=-1,u=Array(i.size);return i.forEach((function(i){u[++s]=i})),u}},30061:(i,s,u)=>{var m=u(56560),v=u(21275)(m);i.exports=v},69255:(i,s,u)=>{var m=u(58775),v=u(83112),_=u(30061),j=u(87241);i.exports=function setWrapToString(i,s,u){var M=s+"";return _(i,v(M,j(m(M),u)))}},21275:i=>{var s=Date.now;i.exports=function shortOut(i){var u=0,m=0;return function(){var v=s(),_=16-(v-m);if(m=v,_>0){if(++u>=800)return arguments[0]}else u=0;return i.apply(void 0,arguments)}}},37465:(i,s,u)=>{var m=u(38407);i.exports=function stackClear(){this.__data__=new m,this.size=0}},63779:i=>{i.exports=function stackDelete(i){var s=this.__data__,u=s.delete(i);return this.size=s.size,u}},67599:i=>{i.exports=function stackGet(i){return this.__data__.get(i)}},44758:i=>{i.exports=function stackHas(i){return this.__data__.has(i)}},34309:(i,s,u)=>{var m=u(38407),v=u(57071),_=u(83369);i.exports=function stackSet(i,s){var u=this.__data__;if(u instanceof m){var j=u.__data__;if(!v||j.length<199)return j.push([i,s]),this.size=++u.size,this;u=this.__data__=new _(j)}return u.set(i,s),this.size=u.size,this}},42351:i=>{i.exports=function strictIndexOf(i,s,u){for(var m=u-1,v=i.length;++m{var m=u(44286),v=u(62689),_=u(676);i.exports=function stringToArray(i){return v(i)?_(i):m(i)}},55514:(i,s,u)=>{var m=u(24523),v=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,_=/\\(\\)?/g,j=m((function(i){var s=[];return 46===i.charCodeAt(0)&&s.push(""),i.replace(v,(function(i,u,m,v){s.push(m?v.replace(_,"$1"):u||i)})),s}));i.exports=j},40327:(i,s,u)=>{var m=u(33448);i.exports=function toKey(i){if("string"==typeof i||m(i))return i;var s=i+"";return"0"==s&&1/i==-Infinity?"-0":s}},80346:i=>{var s=Function.prototype.toString;i.exports=function toSource(i){if(null!=i){try{return s.call(i)}catch(i){}try{return i+""}catch(i){}}return""}},67990:i=>{var s=/\s/;i.exports=function trimmedEndIndex(i){for(var u=i.length;u--&&s.test(i.charAt(u)););return u}},676:i=>{var s="\\ud800-\\udfff",u="["+s+"]",m="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",v="\\ud83c[\\udffb-\\udfff]",_="[^"+s+"]",j="(?:\\ud83c[\\udde6-\\uddff]){2}",M="[\\ud800-\\udbff][\\udc00-\\udfff]",$="(?:"+m+"|"+v+")"+"?",W="[\\ufe0e\\ufe0f]?",X=W+$+("(?:\\u200d(?:"+[_,j,M].join("|")+")"+W+$+")*"),Y="(?:"+[_+m+"?",m,j,M,u].join("|")+")",Z=RegExp(v+"(?="+v+")|"+Y+X,"g");i.exports=function unicodeToArray(i){return i.match(Z)||[]}},2757:i=>{var s="\\ud800-\\udfff",u="\\u2700-\\u27bf",m="a-z\\xdf-\\xf6\\xf8-\\xff",v="A-Z\\xc0-\\xd6\\xd8-\\xde",_="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",j="["+_+"]",M="\\d+",$="["+u+"]",W="["+m+"]",X="[^"+s+_+M+u+m+v+"]",Y="(?:\\ud83c[\\udde6-\\uddff]){2}",Z="[\\ud800-\\udbff][\\udc00-\\udfff]",ee="["+v+"]",ae="(?:"+W+"|"+X+")",ie="(?:"+ee+"|"+X+")",le="(?:['’](?:d|ll|m|re|s|t|ve))?",ce="(?:['’](?:D|LL|M|RE|S|T|VE))?",pe="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",de="[\\ufe0e\\ufe0f]?",fe=de+pe+("(?:\\u200d(?:"+["[^"+s+"]",Y,Z].join("|")+")"+de+pe+")*"),ye="(?:"+[$,Y,Z].join("|")+")"+fe,be=RegExp([ee+"?"+W+"+"+le+"(?="+[j,ee,"$"].join("|")+")",ie+"+"+ce+"(?="+[j,ee+ae,"$"].join("|")+")",ee+"?"+ae+"+"+le,ee+"+"+ce,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",M,ye].join("|"),"g");i.exports=function unicodeWords(i){return i.match(be)||[]}},87241:(i,s,u)=>{var m=u(77412),v=u(47443),_=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];i.exports=function updateWrapDetails(i,s){return m(_,(function(u){var m="_."+u[0];s&u[1]&&!v(i,m)&&i.push(m)})),i.sort()}},21913:(i,s,u)=>{var m=u(96425),v=u(7548),_=u(278);i.exports=function wrapperClone(i){if(i instanceof m)return i.clone();var s=new v(i.__wrapped__,i.__chain__);return s.__actions__=_(i.__actions__),s.__index__=i.__index__,s.__values__=i.__values__,s}},39514:(i,s,u)=>{var m=u(97727);i.exports=function ary(i,s,u){return s=u?void 0:s,s=i&&null==s?i.length:s,m(i,128,void 0,void 0,void 0,void 0,s)}},68929:(i,s,u)=>{var m=u(48403),v=u(35393)((function(i,s,u){return s=s.toLowerCase(),i+(u?m(s):s)}));i.exports=v},48403:(i,s,u)=>{var m=u(79833),v=u(11700);i.exports=function capitalize(i){return v(m(i).toLowerCase())}},66678:(i,s,u)=>{var m=u(85990);i.exports=function clone(i){return m(i,4)}},75703:i=>{i.exports=function constant(i){return function(){return i}}},40087:(i,s,u)=>{var m=u(97727);function curry(i,s,u){var v=m(i,8,void 0,void 0,void 0,void 0,void 0,s=u?void 0:s);return v.placeholder=curry.placeholder,v}curry.placeholder={},i.exports=curry},23279:(i,s,u)=>{var m=u(13218),v=u(7771),_=u(14841),j=Math.max,M=Math.min;i.exports=function debounce(i,s,u){var $,W,X,Y,Z,ee,ae=0,ie=!1,le=!1,ce=!0;if("function"!=typeof i)throw new TypeError("Expected a function");function invokeFunc(s){var u=$,m=W;return $=W=void 0,ae=s,Y=i.apply(m,u)}function shouldInvoke(i){var u=i-ee;return void 0===ee||u>=s||u<0||le&&i-ae>=X}function timerExpired(){var i=v();if(shouldInvoke(i))return trailingEdge(i);Z=setTimeout(timerExpired,function remainingWait(i){var u=s-(i-ee);return le?M(u,X-(i-ae)):u}(i))}function trailingEdge(i){return Z=void 0,ce&&$?invokeFunc(i):($=W=void 0,Y)}function debounced(){var i=v(),u=shouldInvoke(i);if($=arguments,W=this,ee=i,u){if(void 0===Z)return function leadingEdge(i){return ae=i,Z=setTimeout(timerExpired,s),ie?invokeFunc(i):Y}(ee);if(le)return clearTimeout(Z),Z=setTimeout(timerExpired,s),invokeFunc(ee)}return void 0===Z&&(Z=setTimeout(timerExpired,s)),Y}return s=_(s)||0,m(u)&&(ie=!!u.leading,X=(le="maxWait"in u)?j(_(u.maxWait)||0,s):X,ce="trailing"in u?!!u.trailing:ce),debounced.cancel=function cancel(){void 0!==Z&&clearTimeout(Z),ae=0,$=ee=W=Z=void 0},debounced.flush=function flush(){return void 0===Z?Y:trailingEdge(v())},debounced}},53816:(i,s,u)=>{var m=u(69389),v=u(79833),_=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,j=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");i.exports=function deburr(i){return(i=v(i))&&i.replace(_,m).replace(j,"")}},77813:i=>{i.exports=function eq(i,s){return i===s||i!=i&&s!=s}},13311:(i,s,u)=>{var m=u(67740)(u(30998));i.exports=m},30998:(i,s,u)=>{var m=u(41848),v=u(67206),_=u(40554),j=Math.max;i.exports=function findIndex(i,s,u){var M=null==i?0:i.length;if(!M)return-1;var $=null==u?0:_(u);return $<0&&($=j(M+$,0)),m(i,v(s,3),$)}},85564:(i,s,u)=>{var m=u(21078);i.exports=function flatten(i){return(null==i?0:i.length)?m(i,1):[]}},84599:(i,s,u)=>{var m=u(68836),v=u(69306),_=Array.prototype.push;function baseAry(i,s){return 2==s?function(s,u){return i(s,u)}:function(s){return i(s)}}function cloneArray(i){for(var s=i?i.length:0,u=Array(s);s--;)u[s]=i[s];return u}function wrapImmutable(i,s){return function(){var u=arguments.length;if(u){for(var m=Array(u);u--;)m[u]=arguments[u];var v=m[0]=s.apply(void 0,m);return i.apply(void 0,m),v}}}i.exports=function baseConvert(i,s,u,j){var M="function"==typeof s,$=s===Object(s);if($&&(j=u,u=s,s=void 0),null==u)throw new TypeError;j||(j={});var W={cap:!("cap"in j)||j.cap,curry:!("curry"in j)||j.curry,fixed:!("fixed"in j)||j.fixed,immutable:!("immutable"in j)||j.immutable,rearg:!("rearg"in j)||j.rearg},X=M?u:v,Y="curry"in j&&j.curry,Z="fixed"in j&&j.fixed,ee="rearg"in j&&j.rearg,ae=M?u.runInContext():void 0,ie=M?u:{ary:i.ary,assign:i.assign,clone:i.clone,curry:i.curry,forEach:i.forEach,isArray:i.isArray,isError:i.isError,isFunction:i.isFunction,isWeakMap:i.isWeakMap,iteratee:i.iteratee,keys:i.keys,rearg:i.rearg,toInteger:i.toInteger,toPath:i.toPath},le=ie.ary,ce=ie.assign,pe=ie.clone,de=ie.curry,fe=ie.forEach,ye=ie.isArray,be=ie.isError,_e=ie.isFunction,we=ie.isWeakMap,Se=ie.keys,xe=ie.rearg,Pe=ie.toInteger,Ie=ie.toPath,Te=Se(m.aryMethod),Re={castArray:function(i){return function(){var s=arguments[0];return ye(s)?i(cloneArray(s)):i.apply(void 0,arguments)}},iteratee:function(i){return function(){var s=arguments[1],u=i(arguments[0],s),m=u.length;return W.cap&&"number"==typeof s?(s=s>2?s-2:1,m&&m<=s?u:baseAry(u,s)):u}},mixin:function(i){return function(s){var u=this;if(!_e(u))return i(u,Object(s));var m=[];return fe(Se(s),(function(i){_e(s[i])&&m.push([i,u.prototype[i]])})),i(u,Object(s)),fe(m,(function(i){var s=i[1];_e(s)?u.prototype[i[0]]=s:delete u.prototype[i[0]]})),u}},nthArg:function(i){return function(s){var u=s<0?1:Pe(s)+1;return de(i(s),u)}},rearg:function(i){return function(s,u){var m=u?u.length:0;return de(i(s,u),m)}},runInContext:function(s){return function(u){return baseConvert(i,s(u),j)}}};function castCap(i,s){if(W.cap){var u=m.iterateeRearg[i];if(u)return function iterateeRearg(i,s){return overArg(i,(function(i){var u=s.length;return function baseArity(i,s){return 2==s?function(s,u){return i.apply(void 0,arguments)}:function(s){return i.apply(void 0,arguments)}}(xe(baseAry(i,u),s),u)}))}(s,u);var v=!M&&m.iterateeAry[i];if(v)return function iterateeAry(i,s){return overArg(i,(function(i){return"function"==typeof i?baseAry(i,s):i}))}(s,v)}return s}function castFixed(i,s,u){if(W.fixed&&(Z||!m.skipFixed[i])){var v=m.methodSpread[i],j=v&&v.start;return void 0===j?le(s,u):function flatSpread(i,s){return function(){for(var u=arguments.length,m=u-1,v=Array(u);u--;)v[u]=arguments[u];var j=v[s],M=v.slice(0,s);return j&&_.apply(M,j),s!=m&&_.apply(M,v.slice(s+1)),i.apply(this,M)}}(s,j)}return s}function castRearg(i,s,u){return W.rearg&&u>1&&(ee||!m.skipRearg[i])?xe(s,m.methodRearg[i]||m.aryRearg[u]):s}function cloneByPath(i,s){for(var u=-1,m=(s=Ie(s)).length,v=m-1,_=pe(Object(i)),j=_;null!=j&&++u1?de(s,u):s}(0,v=castCap(_,v),i),!1}})),!v})),v||(v=j),v==s&&(v=Y?de(v,1):function(){return s.apply(this,arguments)}),v.convert=createConverter(_,s),v.placeholder=s.placeholder=u,v}if(!$)return wrap(s,u,X);var qe=u,ze=[];return fe(Te,(function(i){fe(m.aryMethod[i],(function(i){var s=qe[m.remap[i]||i];s&&ze.push([i,wrap(i,s,qe)])}))})),fe(Se(qe),(function(i){var s=qe[i];if("function"==typeof s){for(var u=ze.length;u--;)if(ze[u][0]==i)return;s.convert=createConverter(i,s),ze.push([i,s])}})),fe(ze,(function(i){qe[i[0]]=i[1]})),qe.convert=function convertLib(i){return qe.runInContext.convert(i)(void 0)},qe.placeholder=qe,fe(Se(qe),(function(i){fe(m.realToAlias[i]||[],(function(s){qe[s]=qe[i]}))})),qe}},68836:(i,s)=>{s.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},s.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},s.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},s.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},s.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},s.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},s.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},s.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},s.realToAlias=function(){var i=Object.prototype.hasOwnProperty,u=s.aliasToReal,m={};for(var v in u){var _=u[v];i.call(m,_)?m[_].push(v):m[_]=[v]}return m}(),s.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},s.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},s.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},4269:(i,s,u)=>{i.exports={ary:u(39514),assign:u(44037),clone:u(66678),curry:u(40087),forEach:u(77412),isArray:u(1469),isError:u(64647),isFunction:u(23560),isWeakMap:u(81018),iteratee:u(72594),keys:u(280),rearg:u(4963),toInteger:u(40554),toPath:u(30084)}},72700:(i,s,u)=>{i.exports=u(28252)},92822:(i,s,u)=>{var m=u(84599),v=u(4269);i.exports=function convert(i,s,u){return m(v,i,s,u)}},69306:i=>{i.exports={}},28252:(i,s,u)=>{var m=u(92822)("set",u(36968));m.placeholder=u(69306),i.exports=m},27361:(i,s,u)=>{var m=u(97786);i.exports=function get(i,s,u){var v=null==i?void 0:m(i,s);return void 0===v?u:v}},79095:(i,s,u)=>{var m=u(13),v=u(222);i.exports=function hasIn(i,s){return null!=i&&v(i,s,m)}},6557:i=>{i.exports=function identity(i){return i}},35694:(i,s,u)=>{var m=u(9454),v=u(37005),_=Object.prototype,j=_.hasOwnProperty,M=_.propertyIsEnumerable,$=m(function(){return arguments}())?m:function(i){return v(i)&&j.call(i,"callee")&&!M.call(i,"callee")};i.exports=$},1469:i=>{var s=Array.isArray;i.exports=s},98612:(i,s,u)=>{var m=u(23560),v=u(41780);i.exports=function isArrayLike(i){return null!=i&&v(i.length)&&!m(i)}},29246:(i,s,u)=>{var m=u(98612),v=u(37005);i.exports=function isArrayLikeObject(i){return v(i)&&m(i)}},51584:(i,s,u)=>{var m=u(44239),v=u(37005);i.exports=function isBoolean(i){return!0===i||!1===i||v(i)&&"[object Boolean]"==m(i)}},44144:(i,s,u)=>{i=u.nmd(i);var m=u(55639),v=u(95062),_=s&&!s.nodeType&&s,j=_&&i&&!i.nodeType&&i,M=j&&j.exports===_?m.Buffer:void 0,$=(M?M.isBuffer:void 0)||v;i.exports=$},41609:(i,s,u)=>{var m=u(280),v=u(64160),_=u(35694),j=u(1469),M=u(98612),$=u(44144),W=u(25726),X=u(36719),Y=Object.prototype.hasOwnProperty;i.exports=function isEmpty(i){if(null==i)return!0;if(M(i)&&(j(i)||"string"==typeof i||"function"==typeof i.splice||$(i)||X(i)||_(i)))return!i.length;var s=v(i);if("[object Map]"==s||"[object Set]"==s)return!i.size;if(W(i))return!m(i).length;for(var u in i)if(Y.call(i,u))return!1;return!0}},18446:(i,s,u)=>{var m=u(90939);i.exports=function isEqual(i,s){return m(i,s)}},64647:(i,s,u)=>{var m=u(44239),v=u(37005),_=u(68630);i.exports=function isError(i){if(!v(i))return!1;var s=m(i);return"[object Error]"==s||"[object DOMException]"==s||"string"==typeof i.message&&"string"==typeof i.name&&!_(i)}},23560:(i,s,u)=>{var m=u(44239),v=u(13218);i.exports=function isFunction(i){if(!v(i))return!1;var s=m(i);return"[object Function]"==s||"[object GeneratorFunction]"==s||"[object AsyncFunction]"==s||"[object Proxy]"==s}},41780:i=>{i.exports=function isLength(i){return"number"==typeof i&&i>-1&&i%1==0&&i<=9007199254740991}},56688:(i,s,u)=>{var m=u(25588),v=u(7518),_=u(31167),j=_&&_.isMap,M=j?v(j):m;i.exports=M},45220:i=>{i.exports=function isNull(i){return null===i}},81763:(i,s,u)=>{var m=u(44239),v=u(37005);i.exports=function isNumber(i){return"number"==typeof i||v(i)&&"[object Number]"==m(i)}},13218:i=>{i.exports=function isObject(i){var s=typeof i;return null!=i&&("object"==s||"function"==s)}},37005:i=>{i.exports=function isObjectLike(i){return null!=i&&"object"==typeof i}},68630:(i,s,u)=>{var m=u(44239),v=u(85924),_=u(37005),j=Function.prototype,M=Object.prototype,$=j.toString,W=M.hasOwnProperty,X=$.call(Object);i.exports=function isPlainObject(i){if(!_(i)||"[object Object]"!=m(i))return!1;var s=v(i);if(null===s)return!0;var u=W.call(s,"constructor")&&s.constructor;return"function"==typeof u&&u instanceof u&&$.call(u)==X}},72928:(i,s,u)=>{var m=u(29221),v=u(7518),_=u(31167),j=_&&_.isSet,M=j?v(j):m;i.exports=M},47037:(i,s,u)=>{var m=u(44239),v=u(1469),_=u(37005);i.exports=function isString(i){return"string"==typeof i||!v(i)&&_(i)&&"[object String]"==m(i)}},33448:(i,s,u)=>{var m=u(44239),v=u(37005);i.exports=function isSymbol(i){return"symbol"==typeof i||v(i)&&"[object Symbol]"==m(i)}},36719:(i,s,u)=>{var m=u(38749),v=u(7518),_=u(31167),j=_&&_.isTypedArray,M=j?v(j):m;i.exports=M},81018:(i,s,u)=>{var m=u(64160),v=u(37005);i.exports=function isWeakMap(i){return v(i)&&"[object WeakMap]"==m(i)}},72594:(i,s,u)=>{var m=u(85990),v=u(67206);i.exports=function iteratee(i){return v("function"==typeof i?i:m(i,1))}},3674:(i,s,u)=>{var m=u(14636),v=u(280),_=u(98612);i.exports=function keys(i){return _(i)?m(i):v(i)}},81704:(i,s,u)=>{var m=u(14636),v=u(10313),_=u(98612);i.exports=function keysIn(i){return _(i)?m(i,!0):v(i)}},10928:i=>{i.exports=function last(i){var s=null==i?0:i.length;return s?i[s-1]:void 0}},88306:(i,s,u)=>{var m=u(83369);function memoize(i,s){if("function"!=typeof i||null!=s&&"function"!=typeof s)throw new TypeError("Expected a function");var memoized=function(){var u=arguments,m=s?s.apply(this,u):u[0],v=memoized.cache;if(v.has(m))return v.get(m);var _=i.apply(this,u);return memoized.cache=v.set(m,_)||v,_};return memoized.cache=new(memoize.Cache||m),memoized}memoize.Cache=m,i.exports=memoize},82492:(i,s,u)=>{var m=u(42980),v=u(21463)((function(i,s,u){m(i,s,u)}));i.exports=v},94885:i=>{i.exports=function negate(i){if("function"!=typeof i)throw new TypeError("Expected a function");return function(){var s=arguments;switch(s.length){case 0:return!i.call(this);case 1:return!i.call(this,s[0]);case 2:return!i.call(this,s[0],s[1]);case 3:return!i.call(this,s[0],s[1],s[2])}return!i.apply(this,s)}}},50308:i=>{i.exports=function noop(){}},7771:(i,s,u)=>{var m=u(55639);i.exports=function(){return m.Date.now()}},57557:(i,s,u)=>{var m=u(29932),v=u(85990),_=u(57406),j=u(71811),M=u(98363),$=u(60696),W=u(99021),X=u(46904),Y=W((function(i,s){var u={};if(null==i)return u;var W=!1;s=m(s,(function(s){return s=j(s,i),W||(W=s.length>1),s})),M(i,X(i),u),W&&(u=v(u,7,$));for(var Y=s.length;Y--;)_(u,s[Y]);return u}));i.exports=Y},39601:(i,s,u)=>{var m=u(40371),v=u(79152),_=u(15403),j=u(40327);i.exports=function property(i){return _(i)?m(j(i)):v(i)}},4963:(i,s,u)=>{var m=u(97727),v=u(99021),_=v((function(i,s){return m(i,256,void 0,void 0,void 0,s)}));i.exports=_},54061:(i,s,u)=>{var m=u(62663),v=u(89881),_=u(67206),j=u(10107),M=u(1469);i.exports=function reduce(i,s,u){var $=M(i)?m:j,W=arguments.length<3;return $(i,_(s,4),u,W,v)}},36968:(i,s,u)=>{var m=u(10611);i.exports=function set(i,s,u){return null==i?i:m(i,s,u)}},59704:(i,s,u)=>{var m=u(82908),v=u(67206),_=u(5076),j=u(1469),M=u(16612);i.exports=function some(i,s,u){var $=j(i)?m:_;return u&&M(i,s,u)&&(s=void 0),$(i,v(s,3))}},70479:i=>{i.exports=function stubArray(){return[]}},95062:i=>{i.exports=function stubFalse(){return!1}},18601:(i,s,u)=>{var m=u(14841),v=1/0;i.exports=function toFinite(i){return i?(i=m(i))===v||i===-1/0?17976931348623157e292*(i<0?-1:1):i==i?i:0:0===i?i:0}},40554:(i,s,u)=>{var m=u(18601);i.exports=function toInteger(i){var s=m(i),u=s%1;return s==s?u?s-u:s:0}},7334:(i,s,u)=>{var m=u(79833);i.exports=function toLower(i){return m(i).toLowerCase()}},14841:(i,s,u)=>{var m=u(27561),v=u(13218),_=u(33448),j=/^[-+]0x[0-9a-f]+$/i,M=/^0b[01]+$/i,$=/^0o[0-7]+$/i,W=parseInt;i.exports=function toNumber(i){if("number"==typeof i)return i;if(_(i))return NaN;if(v(i)){var s="function"==typeof i.valueOf?i.valueOf():i;i=v(s)?s+"":s}if("string"!=typeof i)return 0===i?i:+i;i=m(i);var u=M.test(i);return u||$.test(i)?W(i.slice(2),u?2:8):j.test(i)?NaN:+i}},30084:(i,s,u)=>{var m=u(29932),v=u(278),_=u(1469),j=u(33448),M=u(55514),$=u(40327),W=u(79833);i.exports=function toPath(i){return _(i)?m(i,$):j(i)?[i]:v(M(W(i)))}},59881:(i,s,u)=>{var m=u(98363),v=u(81704);i.exports=function toPlainObject(i){return m(i,v(i))}},79833:(i,s,u)=>{var m=u(80531);i.exports=function toString(i){return null==i?"":m(i)}},11700:(i,s,u)=>{var m=u(98805)("toUpperCase");i.exports=m},58748:(i,s,u)=>{var m=u(49029),v=u(93157),_=u(79833),j=u(2757);i.exports=function words(i,s,u){return i=_(i),void 0===(s=u?void 0:s)?v(i)?j(i):m(i):i.match(s)||[]}},8111:(i,s,u)=>{var m=u(96425),v=u(7548),_=u(9435),j=u(1469),M=u(37005),$=u(21913),W=Object.prototype.hasOwnProperty;function lodash(i){if(M(i)&&!j(i)&&!(i instanceof m)){if(i instanceof v)return i;if(W.call(i,"__wrapped__"))return $(i)}return new v(i)}lodash.prototype=_.prototype,lodash.prototype.constructor=lodash,i.exports=lodash},7287:(i,s,u)=>{var m=u(34865),v=u(1757);i.exports=function zipObject(i,s){return v(i||[],s||[],m)}},96470:(i,s,u)=>{"use strict";var m=u(47802),v=u(21102);s.highlight=highlight,s.highlightAuto=function highlightAuto(i,s){var u,j,M,$,W=s||{},X=W.subset||m.listLanguages(),Y=W.prefix,Z=X.length,ee=-1;null==Y&&(Y=_);if("string"!=typeof i)throw v("Expected `string` for value, got `%s`",i);j={relevance:0,language:null,value:[]},u={relevance:0,language:null,value:[]};for(;++eej.relevance&&(j=M),M.relevance>u.relevance&&(j=u,u=M));j.language&&(u.secondBest=j);return u},s.registerLanguage=function registerLanguage(i,s){m.registerLanguage(i,s)},s.listLanguages=function listLanguages(){return m.listLanguages()},s.registerAlias=function registerAlias(i,s){var u,v=i;s&&((v={})[i]=s);for(u in v)m.registerAliases(v[u],{languageName:u})},Emitter.prototype.addText=function text(i){var s,u,m=this.stack;if(""===i)return;s=m[m.length-1],(u=s.children[s.children.length-1])&&"text"===u.type?u.value+=i:s.children.push({type:"text",value:i})},Emitter.prototype.addKeyword=function addKeyword(i,s){this.openNode(s),this.addText(i),this.closeNode()},Emitter.prototype.addSublanguage=function addSublanguage(i,s){var u=this.stack,m=u[u.length-1],v=i.rootNode.children,_=s?{type:"element",tagName:"span",properties:{className:[s]},children:v}:v;m.children=m.children.concat(_)},Emitter.prototype.openNode=function open(i){var s=this.stack,u=this.options.classPrefix+i,m=s[s.length-1],v={type:"element",tagName:"span",properties:{className:[u]},children:[]};m.children.push(v),s.push(v)},Emitter.prototype.closeNode=function close(){this.stack.pop()},Emitter.prototype.closeAllNodes=noop,Emitter.prototype.finalize=noop,Emitter.prototype.toHTML=function toHtmlNoop(){return""};var _="hljs-";function highlight(i,s,u){var j,M=m.configure({}),$=(u||{}).prefix;if("string"!=typeof i)throw v("Expected `string` for name, got `%s`",i);if(!m.getLanguage(i))throw v("Unknown language: `%s` is not registered",i);if("string"!=typeof s)throw v("Expected `string` for value, got `%s`",s);if(null==$&&($=_),m.configure({__emitter:Emitter,classPrefix:$}),j=m.highlight(s,{language:i,ignoreIllegals:!0}),m.configure(M||{}),j.errorRaised)throw j.errorRaised;return{relevance:j.relevance,language:j.language,value:j.emitter.rootNode.children}}function Emitter(i){this.options=i,this.rootNode={children:[]},this.stack=[this.rootNode]}function noop(){}},42566:(i,s,u)=>{const m=u(94885);function coerceElementMatchingCallback(i){return"string"==typeof i?s=>s.element===i:i.constructor&&i.extend?s=>s instanceof i:i}class ArraySlice{constructor(i){this.elements=i||[]}toValue(){return this.elements.map((i=>i.toValue()))}map(i,s){return this.elements.map(i,s)}flatMap(i,s){return this.map(i,s).reduce(((i,s)=>i.concat(s)),[])}compactMap(i,s){const u=[];return this.forEach((m=>{const v=i.bind(s)(m);v&&u.push(v)})),u}filter(i,s){return i=coerceElementMatchingCallback(i),new ArraySlice(this.elements.filter(i,s))}reject(i,s){return i=coerceElementMatchingCallback(i),new ArraySlice(this.elements.filter(m(i),s))}find(i,s){return i=coerceElementMatchingCallback(i),this.elements.find(i,s)}forEach(i,s){this.elements.forEach(i,s)}reduce(i,s){return this.elements.reduce(i,s)}includes(i){return this.elements.some((s=>s.equals(i)))}shift(){return this.elements.shift()}unshift(i){this.elements.unshift(this.refract(i))}push(i){return this.elements.push(this.refract(i)),this}add(i){this.push(i)}get(i){return this.elements[i]}getValue(i){const s=this.elements[i];if(s)return s.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(ArraySlice.prototype[Symbol.iterator]=function symbol(){return this.elements[Symbol.iterator]()}),i.exports=ArraySlice},17645:i=>{class KeyValuePair{constructor(i,s){this.key=i,this.value=s}clone(){const i=new KeyValuePair;return this.key&&(i.key=this.key.clone()),this.value&&(i.value=this.value.clone()),i}}i.exports=KeyValuePair},78520:(i,s,u)=>{const m=u(45220),v=u(47037),_=u(81763),j=u(51584),M=u(13218),$=u(28219),W=u(99829);class Namespace{constructor(i){this.elementMap={},this.elementDetection=[],this.Element=W.Element,this.KeyValuePair=W.KeyValuePair,i&&i.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(i){return i.namespace&&i.namespace({base:this}),i.load&&i.load({base:this}),this}useDefault(){return this.register("null",W.NullElement).register("string",W.StringElement).register("number",W.NumberElement).register("boolean",W.BooleanElement).register("array",W.ArrayElement).register("object",W.ObjectElement).register("member",W.MemberElement).register("ref",W.RefElement).register("link",W.LinkElement),this.detect(m,W.NullElement,!1).detect(v,W.StringElement,!1).detect(_,W.NumberElement,!1).detect(j,W.BooleanElement,!1).detect(Array.isArray,W.ArrayElement,!1).detect(M,W.ObjectElement,!1),this}register(i,s){return this._elements=void 0,this.elementMap[i]=s,this}unregister(i){return this._elements=void 0,delete this.elementMap[i],this}detect(i,s,u){return void 0===u||u?this.elementDetection.unshift([i,s]):this.elementDetection.push([i,s]),this}toElement(i){if(i instanceof this.Element)return i;let s;for(let u=0;u{const s=i[0].toUpperCase()+i.substr(1);this._elements[s]=this.elementMap[i]}))),this._elements}get serialiser(){return new $(this)}}$.prototype.Namespace=Namespace,i.exports=Namespace},87526:(i,s,u)=>{const m=u(94885),v=u(42566);class ObjectSlice extends v{map(i,s){return this.elements.map((u=>i.bind(s)(u.value,u.key,u)))}filter(i,s){return new ObjectSlice(this.elements.filter((u=>i.bind(s)(u.value,u.key,u))))}reject(i,s){return this.filter(m(i.bind(s)))}forEach(i,s){return this.elements.forEach(((u,m)=>{i.bind(s)(u.value,u.key,u,m)}))}keys(){return this.map(((i,s)=>s.toValue()))}values(){return this.map((i=>i.toValue()))}}i.exports=ObjectSlice},99829:(i,s,u)=>{const m=u(3079),v=u(96295),_=u(16036),j=u(91090),M=u(18866),$=u(35804),W=u(5946),X=u(76735),Y=u(59964),Z=u(38588),ee=u(42566),ae=u(87526),ie=u(17645);function refract(i){if(i instanceof m)return i;if("string"==typeof i)return new _(i);if("number"==typeof i)return new j(i);if("boolean"==typeof i)return new M(i);if(null===i)return new v;if(Array.isArray(i))return new $(i.map(refract));if("object"==typeof i){return new X(i)}return i}m.prototype.ObjectElement=X,m.prototype.RefElement=Z,m.prototype.MemberElement=W,m.prototype.refract=refract,ee.prototype.refract=refract,i.exports={Element:m,NullElement:v,StringElement:_,NumberElement:j,BooleanElement:M,ArrayElement:$,MemberElement:W,ObjectElement:X,LinkElement:Y,RefElement:Z,refract,ArraySlice:ee,ObjectSlice:ae,KeyValuePair:ie}},59964:(i,s,u)=>{const m=u(3079);i.exports=class LinkElement extends m{constructor(i,s,u){super(i||[],s,u),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(i){this.attributes.set("relation",i)}get href(){return this.attributes.get("href")}set href(i){this.attributes.set("href",i)}}},38588:(i,s,u)=>{const m=u(3079);i.exports=class RefElement extends m{constructor(i,s,u){super(i||[],s,u),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(i){this.attributes.set("path",i)}}},43500:(i,s,u)=>{const m=u(78520),v=u(99829);s.lS=m,u(17645),s.O4=v.ArraySlice,v.ObjectSlice,s.W_=v.Element,s.RP=v.StringElement,s.VL=v.NumberElement,s.hh=v.BooleanElement,s.zr=v.NullElement,s.ON=v.ArrayElement,s.Sb=v.ObjectElement,s.c6=v.MemberElement,s.tK=v.RefElement,s.EA=v.LinkElement,s.Qc=v.refract,u(28219),u(3414)},35804:(i,s,u)=>{const m=u(94885),v=u(3079),_=u(42566);class ArrayElement extends v{constructor(i,s,u){super(i||[],s,u),this.element="array"}primitive(){return"array"}get(i){return this.content[i]}getValue(i){const s=this.get(i);if(s)return s.toValue()}getIndex(i){return this.content[i]}set(i,s){return this.content[i]=this.refract(s),this}remove(i){const s=this.content.splice(i,1);return s.length?s[0]:null}map(i,s){return this.content.map(i,s)}flatMap(i,s){return this.map(i,s).reduce(((i,s)=>i.concat(s)),[])}compactMap(i,s){const u=[];return this.forEach((m=>{const v=i.bind(s)(m);v&&u.push(v)})),u}filter(i,s){return new _(this.content.filter(i,s))}reject(i,s){return this.filter(m(i),s)}reduce(i,s){let u,m;void 0!==s?(u=0,m=this.refract(s)):(u=1,m="object"===this.primitive()?this.first.value:this.first);for(let s=u;s{i.bind(s)(u,this.refract(m))}))}shift(){return this.content.shift()}unshift(i){this.content.unshift(this.refract(i))}push(i){return this.content.push(this.refract(i)),this}add(i){this.push(i)}findElements(i,s){const u=s||{},m=!!u.recursive,v=void 0===u.results?[]:u.results;return this.forEach(((s,u,_)=>{m&&void 0!==s.findElements&&s.findElements(i,{results:v,recursive:m}),i(s,u,_)&&v.push(s)})),v}find(i){return new _(this.findElements(i,{recursive:!0}))}findByElement(i){return this.find((s=>s.element===i))}findByClass(i){return this.find((s=>s.classes.includes(i)))}getById(i){return this.find((s=>s.id.toValue()===i)).first}includes(i){return this.content.some((s=>s.equals(i)))}contains(i){return this.includes(i)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(i){return new this.constructor(this.content.concat(i.content))}"fantasy-land/concat"(i){return this.concat(i)}"fantasy-land/map"(i){return new this.constructor(this.map(i))}"fantasy-land/chain"(i){return this.map((s=>i(s)),this).reduce(((i,s)=>i.concat(s)),this.empty())}"fantasy-land/filter"(i){return new this.constructor(this.content.filter(i))}"fantasy-land/reduce"(i,s){return this.content.reduce(i,s)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}ArrayElement.empty=function empty(){return new this},ArrayElement["fantasy-land/empty"]=ArrayElement.empty,"undefined"!=typeof Symbol&&(ArrayElement.prototype[Symbol.iterator]=function symbol(){return this.content[Symbol.iterator]()}),i.exports=ArrayElement},18866:(i,s,u)=>{const m=u(3079);i.exports=class BooleanElement extends m{constructor(i,s,u){super(i,s,u),this.element="boolean"}primitive(){return"boolean"}}},3079:(i,s,u)=>{const m=u(18446),v=u(17645),_=u(42566);class Element{constructor(i,s,u){s&&(this.meta=s),u&&(this.attributes=u),this.content=i}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((i=>{i.parent=this,i.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const i=new this.constructor;return i.element=this.element,this.meta.length&&(i._meta=this.meta.clone()),this.attributes.length&&(i._attributes=this.attributes.clone()),this.content?this.content.clone?i.content=this.content.clone():Array.isArray(this.content)?i.content=this.content.map((i=>i.clone())):i.content=this.content:i.content=this.content,i}toValue(){return this.content instanceof Element?this.content.toValue():this.content instanceof v?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((i=>i.toValue()),this):this.content}toRef(i){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const s=new this.RefElement(this.id.toValue());return i&&(s.path=i),s}findRecursive(...i){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const s=i.pop();let u=new _;const append=(i,s)=>(i.push(s),i),checkElement=(i,u)=>{u.element===s&&i.push(u);const m=u.findRecursive(s);return m&&m.reduce(append,i),u.content instanceof v&&(u.content.key&&checkElement(i,u.content.key),u.content.value&&checkElement(i,u.content.value)),i};return this.content&&(this.content.element&&checkElement(u,this.content),Array.isArray(this.content)&&this.content.reduce(checkElement,u)),i.isEmpty||(u=u.filter((s=>{let u=s.parents.map((i=>i.element));for(const s in i){const m=i[s],v=u.indexOf(m);if(-1===v)return!1;u=u.splice(0,v)}return!0}))),u}set(i){return this.content=i,this}equals(i){return m(this.toValue(),i)}getMetaProperty(i,s){if(!this.meta.hasKey(i)){if(this.isFrozen){const i=this.refract(s);return i.freeze(),i}this.meta.set(i,s)}return this.meta.get(i)}setMetaProperty(i,s){this.meta.set(i,s)}get element(){return this._storedElement||"element"}set element(i){this._storedElement=i}get content(){return this._content}set content(i){if(i instanceof Element)this._content=i;else if(i instanceof _)this.content=i.elements;else if("string"==typeof i||"number"==typeof i||"boolean"==typeof i||"null"===i||null==i)this._content=i;else if(i instanceof v)this._content=i;else if(Array.isArray(i))this._content=i.map(this.refract);else{if("object"!=typeof i)throw new Error("Cannot set content to given value");this._content=Object.keys(i).map((s=>new this.MemberElement(s,i[s])))}}get meta(){if(!this._meta){if(this.isFrozen){const i=new this.ObjectElement;return i.freeze(),i}this._meta=new this.ObjectElement}return this._meta}set meta(i){i instanceof this.ObjectElement?this._meta=i:this.meta.set(i||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const i=new this.ObjectElement;return i.freeze(),i}this._attributes=new this.ObjectElement}return this._attributes}set attributes(i){i instanceof this.ObjectElement?this._attributes=i:this.attributes.set(i||{})}get id(){return this.getMetaProperty("id","")}set id(i){this.setMetaProperty("id",i)}get classes(){return this.getMetaProperty("classes",[])}set classes(i){this.setMetaProperty("classes",i)}get title(){return this.getMetaProperty("title","")}set title(i){this.setMetaProperty("title",i)}get description(){return this.getMetaProperty("description","")}set description(i){this.setMetaProperty("description",i)}get links(){return this.getMetaProperty("links",[])}set links(i){this.setMetaProperty("links",i)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:i}=this;const s=new _;for(;i;)s.push(i),i=i.parent;return s}get children(){if(Array.isArray(this.content))return new _(this.content);if(this.content instanceof v){const i=new _([this.content.key]);return this.content.value&&i.push(this.content.value),i}return this.content instanceof Element?new _([this.content]):new _}get recursiveChildren(){const i=new _;return this.children.forEach((s=>{i.push(s),s.recursiveChildren.forEach((s=>{i.push(s)}))})),i}}i.exports=Element},5946:(i,s,u)=>{const m=u(17645),v=u(3079);i.exports=class MemberElement extends v{constructor(i,s,u,v){super(new m,u,v),this.element="member",this.key=i,this.value=s}get key(){return this.content.key}set key(i){this.content.key=this.refract(i)}get value(){return this.content.value}set value(i){this.content.value=this.refract(i)}}},96295:(i,s,u)=>{const m=u(3079);i.exports=class NullElement extends m{constructor(i,s,u){super(i||null,s,u),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},91090:(i,s,u)=>{const m=u(3079);i.exports=class NumberElement extends m{constructor(i,s,u){super(i,s,u),this.element="number"}primitive(){return"number"}}},76735:(i,s,u)=>{const m=u(94885),v=u(13218),_=u(35804),j=u(5946),M=u(87526);i.exports=class ObjectElement extends _{constructor(i,s,u){super(i||[],s,u),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((i,s)=>(i[s.key.toValue()]=s.value?s.value.toValue():void 0,i)),{})}get(i){const s=this.getMember(i);if(s)return s.value}getMember(i){if(void 0!==i)return this.content.find((s=>s.key.toValue()===i))}remove(i){let s=null;return this.content=this.content.filter((u=>u.key.toValue()!==i||(s=u,!1))),s}getKey(i){const s=this.getMember(i);if(s)return s.key}set(i,s){if(v(i))return Object.keys(i).forEach((s=>{this.set(s,i[s])})),this;const u=i,m=this.getMember(u);return m?m.value=s:this.content.push(new j(u,s)),this}keys(){return this.content.map((i=>i.key.toValue()))}values(){return this.content.map((i=>i.value.toValue()))}hasKey(i){return this.content.some((s=>s.key.equals(i)))}items(){return this.content.map((i=>[i.key.toValue(),i.value.toValue()]))}map(i,s){return this.content.map((u=>i.bind(s)(u.value,u.key,u)))}compactMap(i,s){const u=[];return this.forEach(((m,v,_)=>{const j=i.bind(s)(m,v,_);j&&u.push(j)})),u}filter(i,s){return new M(this.content).filter(i,s)}reject(i,s){return this.filter(m(i),s)}forEach(i,s){return this.content.forEach((u=>i.bind(s)(u.value,u.key,u)))}}},16036:(i,s,u)=>{const m=u(3079);i.exports=class StringElement extends m{constructor(i,s,u){super(i,s,u),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},3414:(i,s,u)=>{const m=u(28219);i.exports=class JSON06Serialiser extends m{serialise(i){if(!(i instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${i}\` is not an Element instance`);let s;i._attributes&&i.attributes.get("variable")&&(s=i.attributes.get("variable"));const u={element:i.element};i._meta&&i._meta.length>0&&(u.meta=this.serialiseObject(i.meta));const m="enum"===i.element||-1!==i.attributes.keys().indexOf("enumerations");if(m){const s=this.enumSerialiseAttributes(i);s&&(u.attributes=s)}else if(i._attributes&&i._attributes.length>0){let{attributes:m}=i;m.get("metadata")&&(m=m.clone(),m.set("meta",m.get("metadata")),m.remove("metadata")),"member"===i.element&&s&&(m=m.clone(),m.remove("variable")),m.length>0&&(u.attributes=this.serialiseObject(m))}if(m)u.content=this.enumSerialiseContent(i,u);else if(this[`${i.element}SerialiseContent`])u.content=this[`${i.element}SerialiseContent`](i,u);else if(void 0!==i.content){let m;s&&i.content.key?(m=i.content.clone(),m.key.attributes.set("variable",s),m=this.serialiseContent(m)):m=this.serialiseContent(i.content),this.shouldSerialiseContent(i,m)&&(u.content=m)}else this.shouldSerialiseContent(i,i.content)&&i instanceof this.namespace.elements.Array&&(u.content=[]);return u}shouldSerialiseContent(i,s){return"parseResult"===i.element||"httpRequest"===i.element||"httpResponse"===i.element||"category"===i.element||"link"===i.element||void 0!==s&&(!Array.isArray(s)||0!==s.length)}refSerialiseContent(i,s){return delete s.attributes,{href:i.toValue(),path:i.path.toValue()}}sourceMapSerialiseContent(i){return i.toValue()}dataStructureSerialiseContent(i){return[this.serialiseContent(i.content)]}enumSerialiseAttributes(i){const s=i.attributes.clone(),u=s.remove("enumerations")||new this.namespace.elements.Array([]),m=s.get("default");let v=s.get("samples")||new this.namespace.elements.Array([]);if(m&&m.content&&(m.content.attributes&&m.content.attributes.remove("typeAttributes"),s.set("default",new this.namespace.elements.Array([m.content]))),v.forEach((i=>{i.content&&i.content.element&&i.content.attributes.remove("typeAttributes")})),i.content&&0!==u.length&&v.unshift(i.content),v=v.map((i=>i instanceof this.namespace.elements.Array?[i]:new this.namespace.elements.Array([i.content]))),v.length&&s.set("samples",v),s.length>0)return this.serialiseObject(s)}enumSerialiseContent(i){if(i._attributes){const s=i.attributes.get("enumerations");if(s&&s.length>0)return s.content.map((i=>{const s=i.clone();return s.attributes.remove("typeAttributes"),this.serialise(s)}))}if(i.content){const s=i.content.clone();return s.attributes.remove("typeAttributes"),[this.serialise(s)]}return[]}deserialise(i){if("string"==typeof i)return new this.namespace.elements.String(i);if("number"==typeof i)return new this.namespace.elements.Number(i);if("boolean"==typeof i)return new this.namespace.elements.Boolean(i);if(null===i)return new this.namespace.elements.Null;if(Array.isArray(i))return new this.namespace.elements.Array(i.map(this.deserialise,this));const s=this.namespace.getElementClass(i.element),u=new s;u.element!==i.element&&(u.element=i.element),i.meta&&this.deserialiseObject(i.meta,u.meta),i.attributes&&this.deserialiseObject(i.attributes,u.attributes);const m=this.deserialiseContent(i.content);if(void 0===m&&null!==u.content||(u.content=m),"enum"===u.element){u.content&&u.attributes.set("enumerations",u.content);let i=u.attributes.get("samples");if(u.attributes.remove("samples"),i){const m=i;i=new this.namespace.elements.Array,m.forEach((m=>{m.forEach((m=>{const v=new s(m);v.element=u.element,i.push(v)}))}));const v=i.shift();u.content=v?v.content:void 0,u.attributes.set("samples",i)}else u.content=void 0;let m=u.attributes.get("default");if(m&&m.length>0){m=m.get(0);const i=new s(m);i.element=u.element,u.attributes.set("default",i)}}else if("dataStructure"===u.element&&Array.isArray(u.content))[u.content]=u.content;else if("category"===u.element){const i=u.attributes.get("meta");i&&(u.attributes.set("metadata",i),u.attributes.remove("meta"))}else"member"===u.element&&u.key&&u.key._attributes&&u.key._attributes.getValue("variable")&&(u.attributes.set("variable",u.key.attributes.get("variable")),u.key.attributes.remove("variable"));return u}serialiseContent(i){if(i instanceof this.namespace.elements.Element)return this.serialise(i);if(i instanceof this.namespace.KeyValuePair){const s={key:this.serialise(i.key)};return i.value&&(s.value=this.serialise(i.value)),s}return i&&i.map?i.map(this.serialise,this):i}deserialiseContent(i){if(i){if(i.element)return this.deserialise(i);if(i.key){const s=new this.namespace.KeyValuePair(this.deserialise(i.key));return i.value&&(s.value=this.deserialise(i.value)),s}if(i.map)return i.map(this.deserialise,this)}return i}shouldRefract(i){return!!(i._attributes&&i.attributes.keys().length||i._meta&&i.meta.keys().length)||"enum"!==i.element&&(i.element!==i.primitive()||"member"===i.element)}convertKeyToRefract(i,s){return this.shouldRefract(s)?this.serialise(s):"enum"===s.element?this.serialiseEnum(s):"array"===s.element?s.map((s=>this.shouldRefract(s)||"default"===i?this.serialise(s):"array"===s.element||"object"===s.element||"enum"===s.element?s.children.map((i=>this.serialise(i))):s.toValue())):"object"===s.element?(s.content||[]).map(this.serialise,this):s.toValue()}serialiseEnum(i){return i.children.map((i=>this.serialise(i)))}serialiseObject(i){const s={};return i.forEach(((i,u)=>{if(i){const m=u.toValue();s[m]=this.convertKeyToRefract(m,i)}})),s}deserialiseObject(i,s){Object.keys(i).forEach((u=>{s.set(u,this.deserialise(i[u]))}))}}},28219:i=>{i.exports=class JSONSerialiser{constructor(i){this.namespace=i||new this.Namespace}serialise(i){if(!(i instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${i}\` is not an Element instance`);const s={element:i.element};i._meta&&i._meta.length>0&&(s.meta=this.serialiseObject(i.meta)),i._attributes&&i._attributes.length>0&&(s.attributes=this.serialiseObject(i.attributes));const u=this.serialiseContent(i.content);return void 0!==u&&(s.content=u),s}deserialise(i){if(!i.element)throw new Error("Given value is not an object containing an element name");const s=new(this.namespace.getElementClass(i.element));s.element!==i.element&&(s.element=i.element),i.meta&&this.deserialiseObject(i.meta,s.meta),i.attributes&&this.deserialiseObject(i.attributes,s.attributes);const u=this.deserialiseContent(i.content);return void 0===u&&null!==s.content||(s.content=u),s}serialiseContent(i){if(i instanceof this.namespace.elements.Element)return this.serialise(i);if(i instanceof this.namespace.KeyValuePair){const s={key:this.serialise(i.key)};return i.value&&(s.value=this.serialise(i.value)),s}if(i&&i.map){if(0===i.length)return;return i.map(this.serialise,this)}return i}deserialiseContent(i){if(i){if(i.element)return this.deserialise(i);if(i.key){const s=new this.namespace.KeyValuePair(this.deserialise(i.key));return i.value&&(s.value=this.deserialise(i.value)),s}if(i.map)return i.map(this.deserialise,this)}return i}serialiseObject(i){const s={};if(i.forEach(((i,u)=>{i&&(s[u.toValue()]=this.serialise(i))})),0!==Object.keys(s).length)return s}deserialiseObject(i,s){Object.keys(i).forEach((u=>{s.set(u,this.deserialise(i[u]))}))}}},27418:i=>{"use strict";var s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;i.exports=function shouldUseNative(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de","5"===Object.getOwnPropertyNames(i)[0])return!1;for(var s={},u=0;u<10;u++)s["_"+String.fromCharCode(u)]=u;if("0123456789"!==Object.getOwnPropertyNames(s).map((function(i){return s[i]})).join(""))return!1;var m={};return"abcdefghijklmnopqrst".split("").forEach((function(i){m[i]=i})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},m)).join("")}catch(i){return!1}}()?Object.assign:function(i,v){for(var _,j,M=function toObject(i){if(null==i)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}(i),$=1;${var m="function"==typeof Map&&Map.prototype,v=Object.getOwnPropertyDescriptor&&m?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,_=m&&v&&"function"==typeof v.get?v.get:null,j=m&&Map.prototype.forEach,M="function"==typeof Set&&Set.prototype,$=Object.getOwnPropertyDescriptor&&M?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,W=M&&$&&"function"==typeof $.get?$.get:null,X=M&&Set.prototype.forEach,Y="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,Z="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,ee="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,ae=Boolean.prototype.valueOf,ie=Object.prototype.toString,le=Function.prototype.toString,ce=String.prototype.match,pe=String.prototype.slice,de=String.prototype.replace,fe=String.prototype.toUpperCase,ye=String.prototype.toLowerCase,be=RegExp.prototype.test,_e=Array.prototype.concat,we=Array.prototype.join,Se=Array.prototype.slice,xe=Math.floor,Pe="function"==typeof BigInt?BigInt.prototype.valueOf:null,Ie=Object.getOwnPropertySymbols,Te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Re="function"==typeof Symbol&&"object"==typeof Symbol.iterator,qe="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Re||"symbol")?Symbol.toStringTag:null,ze=Object.prototype.propertyIsEnumerable,Ve=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(i){return i.__proto__}:null);function addNumericSeparator(i,s){if(i===1/0||i===-1/0||i!=i||i&&i>-1e3&&i<1e3||be.call(/e/,s))return s;var u=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof i){var m=i<0?-xe(-i):xe(i);if(m!==i){var v=String(m),_=pe.call(s,v.length+1);return de.call(v,u,"$&_")+"."+de.call(de.call(_,/([0-9]{3})/g,"$&_"),/_$/,"")}}return de.call(s,u,"$&_")}var We=u(24654),He=We.custom,Xe=isSymbol(He)?He:null;function wrapQuotes(i,s,u){var m="double"===(u.quoteStyle||s)?'"':"'";return m+i+m}function quote(i){return de.call(String(i),/"/g,""")}function isArray(i){return!("[object Array]"!==toStr(i)||qe&&"object"==typeof i&&qe in i)}function isRegExp(i){return!("[object RegExp]"!==toStr(i)||qe&&"object"==typeof i&&qe in i)}function isSymbol(i){if(Re)return i&&"object"==typeof i&&i instanceof Symbol;if("symbol"==typeof i)return!0;if(!i||"object"!=typeof i||!Te)return!1;try{return Te.call(i),!0}catch(i){}return!1}i.exports=function inspect_(i,s,u,m){var v=s||{};if(has(v,"quoteStyle")&&"single"!==v.quoteStyle&&"double"!==v.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has(v,"maxStringLength")&&("number"==typeof v.maxStringLength?v.maxStringLength<0&&v.maxStringLength!==1/0:null!==v.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var M=!has(v,"customInspect")||v.customInspect;if("boolean"!=typeof M&&"symbol"!==M)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has(v,"indent")&&null!==v.indent&&"\t"!==v.indent&&!(parseInt(v.indent,10)===v.indent&&v.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has(v,"numericSeparator")&&"boolean"!=typeof v.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var $=v.numericSeparator;if(void 0===i)return"undefined";if(null===i)return"null";if("boolean"==typeof i)return i?"true":"false";if("string"==typeof i)return inspectString(i,v);if("number"==typeof i){if(0===i)return 1/0/i>0?"0":"-0";var ie=String(i);return $?addNumericSeparator(i,ie):ie}if("bigint"==typeof i){var fe=String(i)+"n";return $?addNumericSeparator(i,fe):fe}var be=void 0===v.depth?5:v.depth;if(void 0===u&&(u=0),u>=be&&be>0&&"object"==typeof i)return isArray(i)?"[Array]":"[Object]";var xe=function getIndent(i,s){var u;if("\t"===i.indent)u="\t";else{if(!("number"==typeof i.indent&&i.indent>0))return null;u=we.call(Array(i.indent+1)," ")}return{base:u,prev:we.call(Array(s+1),u)}}(v,u);if(void 0===m)m=[];else if(indexOf(m,i)>=0)return"[Circular]";function inspect(i,s,_){if(s&&(m=Se.call(m)).push(s),_){var j={depth:v.depth};return has(v,"quoteStyle")&&(j.quoteStyle=v.quoteStyle),inspect_(i,j,u+1,m)}return inspect_(i,v,u+1,m)}if("function"==typeof i&&!isRegExp(i)){var Ie=function nameOf(i){if(i.name)return i.name;var s=ce.call(le.call(i),/^function\s*([\w$]+)/);if(s)return s[1];return null}(i),He=arrObjKeys(i,inspect);return"[Function"+(Ie?": "+Ie:" (anonymous)")+"]"+(He.length>0?" { "+we.call(He,", ")+" }":"")}if(isSymbol(i)){var Ye=Re?de.call(String(i),/^(Symbol\(.*\))_[^)]*$/,"$1"):Te.call(i);return"object"!=typeof i||Re?Ye:markBoxed(Ye)}if(function isElement(i){if(!i||"object"!=typeof i)return!1;if("undefined"!=typeof HTMLElement&&i instanceof HTMLElement)return!0;return"string"==typeof i.nodeName&&"function"==typeof i.getAttribute}(i)){for(var Qe="<"+ye.call(String(i.nodeName)),et=i.attributes||[],tt=0;tt"}if(isArray(i)){if(0===i.length)return"[]";var rt=arrObjKeys(i,inspect);return xe&&!function singleLineValues(i){for(var s=0;s=0)return!1;return!0}(rt)?"["+indentedJoin(rt,xe)+"]":"[ "+we.call(rt,", ")+" ]"}if(function isError(i){return!("[object Error]"!==toStr(i)||qe&&"object"==typeof i&&qe in i)}(i)){var nt=arrObjKeys(i,inspect);return"cause"in Error.prototype||!("cause"in i)||ze.call(i,"cause")?0===nt.length?"["+String(i)+"]":"{ ["+String(i)+"] "+we.call(nt,", ")+" }":"{ ["+String(i)+"] "+we.call(_e.call("[cause]: "+inspect(i.cause),nt),", ")+" }"}if("object"==typeof i&&M){if(Xe&&"function"==typeof i[Xe]&&We)return We(i,{depth:be-u});if("symbol"!==M&&"function"==typeof i.inspect)return i.inspect()}if(function isMap(i){if(!_||!i||"object"!=typeof i)return!1;try{_.call(i);try{W.call(i)}catch(i){return!0}return i instanceof Map}catch(i){}return!1}(i)){var ot=[];return j&&j.call(i,(function(s,u){ot.push(inspect(u,i,!0)+" => "+inspect(s,i))})),collectionOf("Map",_.call(i),ot,xe)}if(function isSet(i){if(!W||!i||"object"!=typeof i)return!1;try{W.call(i);try{_.call(i)}catch(i){return!0}return i instanceof Set}catch(i){}return!1}(i)){var at=[];return X&&X.call(i,(function(s){at.push(inspect(s,i))})),collectionOf("Set",W.call(i),at,xe)}if(function isWeakMap(i){if(!Y||!i||"object"!=typeof i)return!1;try{Y.call(i,Y);try{Z.call(i,Z)}catch(i){return!0}return i instanceof WeakMap}catch(i){}return!1}(i))return weakCollectionOf("WeakMap");if(function isWeakSet(i){if(!Z||!i||"object"!=typeof i)return!1;try{Z.call(i,Z);try{Y.call(i,Y)}catch(i){return!0}return i instanceof WeakSet}catch(i){}return!1}(i))return weakCollectionOf("WeakSet");if(function isWeakRef(i){if(!ee||!i||"object"!=typeof i)return!1;try{return ee.call(i),!0}catch(i){}return!1}(i))return weakCollectionOf("WeakRef");if(function isNumber(i){return!("[object Number]"!==toStr(i)||qe&&"object"==typeof i&&qe in i)}(i))return markBoxed(inspect(Number(i)));if(function isBigInt(i){if(!i||"object"!=typeof i||!Pe)return!1;try{return Pe.call(i),!0}catch(i){}return!1}(i))return markBoxed(inspect(Pe.call(i)));if(function isBoolean(i){return!("[object Boolean]"!==toStr(i)||qe&&"object"==typeof i&&qe in i)}(i))return markBoxed(ae.call(i));if(function isString(i){return!("[object String]"!==toStr(i)||qe&&"object"==typeof i&&qe in i)}(i))return markBoxed(inspect(String(i)));if(!function isDate(i){return!("[object Date]"!==toStr(i)||qe&&"object"==typeof i&&qe in i)}(i)&&!isRegExp(i)){var it=arrObjKeys(i,inspect),st=Ve?Ve(i)===Object.prototype:i instanceof Object||i.constructor===Object,lt=i instanceof Object?"":"null prototype",ct=!st&&qe&&Object(i)===i&&qe in i?pe.call(toStr(i),8,-1):lt?"Object":"",ut=(st||"function"!=typeof i.constructor?"":i.constructor.name?i.constructor.name+" ":"")+(ct||lt?"["+we.call(_e.call([],ct||[],lt||[]),": ")+"] ":"");return 0===it.length?ut+"{}":xe?ut+"{"+indentedJoin(it,xe)+"}":ut+"{ "+we.call(it,", ")+" }"}return String(i)};var Ye=Object.prototype.hasOwnProperty||function(i){return i in this};function has(i,s){return Ye.call(i,s)}function toStr(i){return ie.call(i)}function indexOf(i,s){if(i.indexOf)return i.indexOf(s);for(var u=0,m=i.length;us.maxStringLength){var u=i.length-s.maxStringLength,m="... "+u+" more character"+(u>1?"s":"");return inspectString(pe.call(i,0,s.maxStringLength),s)+m}return wrapQuotes(de.call(de.call(i,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte),"single",s)}function lowbyte(i){var s=i.charCodeAt(0),u={8:"b",9:"t",10:"n",12:"f",13:"r"}[s];return u?"\\"+u:"\\x"+(s<16?"0":"")+fe.call(s.toString(16))}function markBoxed(i){return"Object("+i+")"}function weakCollectionOf(i){return i+" { ? }"}function collectionOf(i,s,u,m){return i+" ("+s+") {"+(m?indentedJoin(u,m):we.call(u,", "))+"}"}function indentedJoin(i,s){if(0===i.length)return"";var u="\n"+s.prev+s.base;return u+we.call(i,","+u)+"\n"+s.prev}function arrObjKeys(i,s){var u=isArray(i),m=[];if(u){m.length=i.length;for(var v=0;v{var s,u,m=i.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(i){if(s===setTimeout)return setTimeout(i,0);if((s===defaultSetTimout||!s)&&setTimeout)return s=setTimeout,setTimeout(i,0);try{return s(i,0)}catch(u){try{return s.call(null,i,0)}catch(u){return s.call(this,i,0)}}}!function(){try{s="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(i){s=defaultSetTimout}try{u="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(i){u=defaultClearTimeout}}();var v,_=[],j=!1,M=-1;function cleanUpNextTick(){j&&v&&(j=!1,v.length?_=v.concat(_):M=-1,_.length&&drainQueue())}function drainQueue(){if(!j){var i=runTimeout(cleanUpNextTick);j=!0;for(var s=_.length;s;){for(v=_,_=[];++M1)for(var u=1;u{"use strict";var m=u(50414);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,i.exports=function(){function shim(i,s,u,v,_,j){if(j!==m){var M=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw M.name="Invariant Violation",M}}function getShim(){return shim}shim.isRequired=shim;var i={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return i.PropTypes=i,i}},45697:(i,s,u)=>{i.exports=u(92703)()},50414:i=>{"use strict";i.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},55798:i=>{"use strict";var s=String.prototype.replace,u=/%20/g,m="RFC1738",v="RFC3986";i.exports={default:v,formatters:{RFC1738:function(i){return s.call(i,u,"+")},RFC3986:function(i){return String(i)}},RFC1738:m,RFC3986:v}},80129:(i,s,u)=>{"use strict";var m=u(58261),v=u(55235),_=u(55798);i.exports={formats:_,parse:v,stringify:m}},55235:(i,s,u)=>{"use strict";var m=u(12769),v=Object.prototype.hasOwnProperty,_=Array.isArray,j={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:m.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},interpretNumericEntities=function(i){return i.replace(/&#(\d+);/g,(function(i,s){return String.fromCharCode(parseInt(s,10))}))},parseArrayValue=function(i,s){return i&&"string"==typeof i&&s.comma&&i.indexOf(",")>-1?i.split(","):i},M=function parseQueryStringKeys(i,s,u,m){if(i){var _=u.allowDots?i.replace(/\.([^.[]+)/g,"[$1]"):i,j=/(\[[^[\]]*])/g,M=u.depth>0&&/(\[[^[\]]*])/.exec(_),$=M?_.slice(0,M.index):_,W=[];if($){if(!u.plainObjects&&v.call(Object.prototype,$)&&!u.allowPrototypes)return;W.push($)}for(var X=0;u.depth>0&&null!==(M=j.exec(_))&&X=0;--_){var j,M=i[_];if("[]"===M&&u.parseArrays)j=[].concat(v);else{j=u.plainObjects?Object.create(null):{};var $="["===M.charAt(0)&&"]"===M.charAt(M.length-1)?M.slice(1,-1):M,W=parseInt($,10);u.parseArrays||""!==$?!isNaN(W)&&M!==$&&String(W)===$&&W>=0&&u.parseArrays&&W<=u.arrayLimit?(j=[])[W]=v:"__proto__"!==$&&(j[$]=v):j={0:v}}v=j}return v}(W,s,u,m)}};i.exports=function(i,s){var u=function normalizeParseOptions(i){if(!i)return j;if(null!==i.decoder&&void 0!==i.decoder&&"function"!=typeof i.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==i.charset&&"utf-8"!==i.charset&&"iso-8859-1"!==i.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var s=void 0===i.charset?j.charset:i.charset;return{allowDots:void 0===i.allowDots?j.allowDots:!!i.allowDots,allowPrototypes:"boolean"==typeof i.allowPrototypes?i.allowPrototypes:j.allowPrototypes,allowSparse:"boolean"==typeof i.allowSparse?i.allowSparse:j.allowSparse,arrayLimit:"number"==typeof i.arrayLimit?i.arrayLimit:j.arrayLimit,charset:s,charsetSentinel:"boolean"==typeof i.charsetSentinel?i.charsetSentinel:j.charsetSentinel,comma:"boolean"==typeof i.comma?i.comma:j.comma,decoder:"function"==typeof i.decoder?i.decoder:j.decoder,delimiter:"string"==typeof i.delimiter||m.isRegExp(i.delimiter)?i.delimiter:j.delimiter,depth:"number"==typeof i.depth||!1===i.depth?+i.depth:j.depth,ignoreQueryPrefix:!0===i.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof i.interpretNumericEntities?i.interpretNumericEntities:j.interpretNumericEntities,parameterLimit:"number"==typeof i.parameterLimit?i.parameterLimit:j.parameterLimit,parseArrays:!1!==i.parseArrays,plainObjects:"boolean"==typeof i.plainObjects?i.plainObjects:j.plainObjects,strictNullHandling:"boolean"==typeof i.strictNullHandling?i.strictNullHandling:j.strictNullHandling}}(s);if(""===i||null==i)return u.plainObjects?Object.create(null):{};for(var $="string"==typeof i?function parseQueryStringValues(i,s){var u,M={},$=s.ignoreQueryPrefix?i.replace(/^\?/,""):i,W=s.parameterLimit===1/0?void 0:s.parameterLimit,X=$.split(s.delimiter,W),Y=-1,Z=s.charset;if(s.charsetSentinel)for(u=0;u-1&&(ae=_(ae)?[ae]:ae),v.call(M,ee)?M[ee]=m.combine(M[ee],ae):M[ee]=ae}return M}(i,u):i,W=u.plainObjects?Object.create(null):{},X=Object.keys($),Y=0;Y{"use strict";var m=u(37478),v=u(12769),_=u(55798),j=Object.prototype.hasOwnProperty,M={brackets:function brackets(i){return i+"[]"},comma:"comma",indices:function indices(i,s){return i+"["+s+"]"},repeat:function repeat(i){return i}},$=Array.isArray,W=String.prototype.split,X=Array.prototype.push,pushToArray=function(i,s){X.apply(i,$(s)?s:[s])},Y=Date.prototype.toISOString,Z=_.default,ee={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:v.encode,encodeValuesOnly:!1,format:Z,formatter:_.formatters[Z],indices:!1,serializeDate:function serializeDate(i){return Y.call(i)},skipNulls:!1,strictNullHandling:!1},ae={},ie=function stringify(i,s,u,_,j,M,X,Y,Z,ie,le,ce,pe,de,fe,ye){for(var be=i,_e=ye,we=0,Se=!1;void 0!==(_e=_e.get(ae))&&!Se;){var xe=_e.get(i);if(we+=1,void 0!==xe){if(xe===we)throw new RangeError("Cyclic object value");Se=!0}void 0===_e.get(ae)&&(we=0)}if("function"==typeof Y?be=Y(s,be):be instanceof Date?be=le(be):"comma"===u&&$(be)&&(be=v.maybeMap(be,(function(i){return i instanceof Date?le(i):i}))),null===be){if(j)return X&&!de?X(s,ee.encoder,fe,"key",ce):s;be=""}if(function isNonNullishPrimitive(i){return"string"==typeof i||"number"==typeof i||"boolean"==typeof i||"symbol"==typeof i||"bigint"==typeof i}(be)||v.isBuffer(be)){if(X){var Pe=de?s:X(s,ee.encoder,fe,"key",ce);if("comma"===u&&de){for(var Ie=W.call(String(be),","),Te="",Re=0;Re0?be.join(",")||null:void 0}];else if($(Y))qe=Y;else{var Ve=Object.keys(be);qe=Z?Ve.sort(Z):Ve}for(var We=_&&$(be)&&1===be.length?s+"[]":s,He=0;He0?fe+de:""}},12769:(i,s,u)=>{"use strict";var m=u(55798),v=Object.prototype.hasOwnProperty,_=Array.isArray,j=function(){for(var i=[],s=0;s<256;++s)i.push("%"+((s<16?"0":"")+s.toString(16)).toUpperCase());return i}(),M=function arrayToObject(i,s){for(var u=s&&s.plainObjects?Object.create(null):{},m=0;m1;){var s=i.pop(),u=s.obj[s.prop];if(_(u)){for(var m=[],v=0;v=48&&X<=57||X>=65&&X<=90||X>=97&&X<=122||_===m.RFC1738&&(40===X||41===X)?$+=M.charAt(W):X<128?$+=j[X]:X<2048?$+=j[192|X>>6]+j[128|63&X]:X<55296||X>=57344?$+=j[224|X>>12]+j[128|X>>6&63]+j[128|63&X]:(W+=1,X=65536+((1023&X)<<10|1023&M.charCodeAt(W)),$+=j[240|X>>18]+j[128|X>>12&63]+j[128|X>>6&63]+j[128|63&X])}return $},isBuffer:function isBuffer(i){return!(!i||"object"!=typeof i)&&!!(i.constructor&&i.constructor.isBuffer&&i.constructor.isBuffer(i))},isRegExp:function isRegExp(i){return"[object RegExp]"===Object.prototype.toString.call(i)},maybeMap:function maybeMap(i,s){if(_(i)){for(var u=[],m=0;m{"use strict";var u=Object.prototype.hasOwnProperty;function decode(i){try{return decodeURIComponent(i.replace(/\+/g," "))}catch(i){return null}}function encode(i){try{return encodeURIComponent(i)}catch(i){return null}}s.stringify=function querystringify(i,s){s=s||"";var m,v,_=[];for(v in"string"!=typeof s&&(s="?"),i)if(u.call(i,v)){if((m=i[v])||null!=m&&!isNaN(m)||(m=""),v=encode(v),m=encode(m),null===v||null===m)continue;_.push(v+"="+m)}return _.length?s+_.join("&"):""},s.parse=function querystring(i){for(var s,u=/([^=?#&]+)=?([^&]*)/g,m={};s=u.exec(i);){var v=decode(s[1]),_=decode(s[2]);null===v||null===_||v in m||(m[v]=_)}return m}},14419:(i,s,u)=>{const m=u(60697),v=u(69450),_=m.types;i.exports=class RandExp{constructor(i,s){if(this._setDefaults(i),i instanceof RegExp)this.ignoreCase=i.ignoreCase,this.multiline=i.multiline,i=i.source;else{if("string"!=typeof i)throw new Error("Expected a regexp or string");this.ignoreCase=s&&-1!==s.indexOf("i"),this.multiline=s&&-1!==s.indexOf("m")}this.tokens=m(i)}_setDefaults(i){this.max=null!=i.max?i.max:null!=RandExp.prototype.max?RandExp.prototype.max:100,this.defaultRange=i.defaultRange?i.defaultRange:this.defaultRange.clone(),i.randInt&&(this.randInt=i.randInt)}gen(){return this._gen(this.tokens,[])}_gen(i,s){var u,m,v,j,M;switch(i.type){case _.ROOT:case _.GROUP:if(i.followedBy||i.notFollowedBy)return"";for(i.remember&&void 0===i.groupNumber&&(i.groupNumber=s.push(null)-1),m="",j=0,M=(u=i.options?this._randSelect(i.options):i.stack).length;j{"use strict";var m=u(34155),v=65536,_=4294967295;var j=u(89509).Buffer,M=u.g.crypto||u.g.msCrypto;M&&M.getRandomValues?i.exports=function randomBytes(i,s){if(i>_)throw new RangeError("requested too many random bytes");var u=j.allocUnsafe(i);if(i>0)if(i>v)for(var $=0;${"use strict";function _typeof(i){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"==typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof(i)}Object.defineProperty(s,"__esModule",{value:!0}),s.CopyToClipboard=void 0;var m=_interopRequireDefault(u(67294)),v=_interopRequireDefault(u(20640)),_=["text","onCopy","options","children"];function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}function ownKeys(i,s){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(i);s&&(m=m.filter((function(s){return Object.getOwnPropertyDescriptor(i,s).enumerable}))),u.push.apply(u,m)}return u}function _objectSpread(i){for(var s=1;s=0||(v[u]=i[u]);return v}(i,s);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(i);for(m=0;m<_.length;m++)u=_[m],s.indexOf(u)>=0||Object.prototype.propertyIsEnumerable.call(i,u)&&(v[u]=i[u])}return v}function _defineProperties(i,s){for(var u=0;u{"use strict";var m=u(74300).CopyToClipboard;m.CopyToClipboard=m,i.exports=m},53441:(i,s,u)=>{"use strict";function _typeof(i){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"==typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof(i)}Object.defineProperty(s,"__esModule",{value:!0}),s.DebounceInput=void 0;var m=_interopRequireDefault(u(67294)),v=_interopRequireDefault(u(91296)),_=["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"];function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}function _objectWithoutProperties(i,s){if(null==i)return{};var u,m,v=function _objectWithoutPropertiesLoose(i,s){if(null==i)return{};var u,m,v={},_=Object.keys(i);for(m=0;m<_.length;m++)u=_[m],s.indexOf(u)>=0||(v[u]=i[u]);return v}(i,s);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(i);for(m=0;m<_.length;m++)u=_[m],s.indexOf(u)>=0||Object.prototype.propertyIsEnumerable.call(i,u)&&(v[u]=i[u])}return v}function ownKeys(i,s){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(i);s&&(m=m.filter((function(s){return Object.getOwnPropertyDescriptor(i,s).enumerable}))),u.push.apply(u,m)}return u}function _objectSpread(i){for(var s=1;s=m?u.notify(i):s.length>v.length&&u.notify(_objectSpread(_objectSpread({},i),{},{target:_objectSpread(_objectSpread({},i.target),{},{value:""})}))}))})),_defineProperty(_assertThisInitialized(u),"onKeyDown",(function(i){"Enter"===i.key&&u.forceNotify(i);var s=u.props.onKeyDown;s&&(i.persist(),s(i))})),_defineProperty(_assertThisInitialized(u),"onBlur",(function(i){u.forceNotify(i);var s=u.props.onBlur;s&&(i.persist(),s(i))})),_defineProperty(_assertThisInitialized(u),"createNotifier",(function(i){if(i<0)u.notify=function(){return null};else if(0===i)u.notify=u.doNotify;else{var s=(0,v.default)((function(i){u.isDebouncing=!1,u.doNotify(i)}),i);u.notify=function(i){u.isDebouncing=!0,s(i)},u.flush=function(){return s.flush()},u.cancel=function(){u.isDebouncing=!1,s.cancel()}}})),_defineProperty(_assertThisInitialized(u),"doNotify",(function(){u.props.onChange.apply(void 0,arguments)})),_defineProperty(_assertThisInitialized(u),"forceNotify",(function(i){var s=u.props.debounceTimeout;if(u.isDebouncing||!(s>0)){u.cancel&&u.cancel();var m=u.state.value,v=u.props.minLength;m.length>=v?u.doNotify(i):u.doNotify(_objectSpread(_objectSpread({},i),{},{target:_objectSpread(_objectSpread({},i.target),{},{value:m})}))}})),u.isDebouncing=!1,u.state={value:void 0===i.value||null===i.value?"":i.value};var m=u.props.debounceTimeout;return u.createNotifier(m),u}return function _createClass(i,s,u){return s&&_defineProperties(i.prototype,s),u&&_defineProperties(i,u),Object.defineProperty(i,"prototype",{writable:!1}),i}(DebounceInput,[{key:"componentDidUpdate",value:function componentDidUpdate(i){if(!this.isDebouncing){var s=this.props,u=s.value,m=s.debounceTimeout,v=i.debounceTimeout,_=i.value,j=this.state.value;void 0!==u&&_!==u&&j!==u&&this.setState({value:u}),m!==v&&this.createNotifier(m)}}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.flush&&this.flush()}},{key:"render",value:function render(){var i,s,u=this.props,v=u.element,j=(u.onChange,u.value,u.minLength,u.debounceTimeout,u.forceNotifyByEnter),M=u.forceNotifyOnBlur,$=u.onKeyDown,W=u.onBlur,X=u.inputRef,Y=_objectWithoutProperties(u,_),Z=this.state.value;i=j?{onKeyDown:this.onKeyDown}:$?{onKeyDown:$}:{},s=M?{onBlur:this.onBlur}:W?{onBlur:W}:{};var ee=X?{ref:X}:{};return m.default.createElement(v,_objectSpread(_objectSpread(_objectSpread(_objectSpread({},Y),{},{onChange:this.onChange,value:Z},i),s),ee))}}]),DebounceInput}(m.default.PureComponent);s.DebounceInput=j,_defineProperty(j,"defaultProps",{element:"input",type:"text",onKeyDown:void 0,onBlur:void 0,value:void 0,minLength:0,debounceTimeout:100,forceNotifyByEnter:!0,forceNotifyOnBlur:!0,inputRef:void 0})},775:(i,s,u)=>{"use strict";var m=u(53441).DebounceInput;m.DebounceInput=m,i.exports=m},64448:(i,s,u)=>{"use strict";var m=u(67294),v=u(27418),_=u(63840);function y(i){for(var s="https://reactjs.org/docs/error-decoder.html?invariant="+i,u=1;u
")}value(){return this.buffer}span(i){this.buffer+=``}}class TokenTree{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(i){this.top.children.push(i)}openNode(i){const s={kind:i,children:[]};this.add(s),this.stack.push(s)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(i){return this.constructor._walk(i,this.rootNode)}static _walk(i,s){return"string"==typeof s?i.addText(s):s.children&&(i.openNode(s),s.children.forEach((s=>this._walk(i,s))),i.closeNode(s)),i}static _collapse(i){"string"!=typeof i&&i.children&&(i.children.every((i=>"string"==typeof i))?i.children=[i.children.join("")]:i.children.forEach((i=>{TokenTree._collapse(i)})))}}class TokenTreeEmitter extends TokenTree{constructor(i){super(),this.options=i}addKeyword(i,s){""!==i&&(this.openNode(s),this.addText(i),this.closeNode())}addText(i){""!==i&&this.add(i)}addSublanguage(i,s){const u=i.root;u.kind=s,u.sublanguage=!0,this.add(u)}toHTML(){return new HTMLRenderer(this,this.options).value()}finalize(){return!0}}function source(i){return i?"string"==typeof i?i:i.source:null}const m=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;const _="[a-zA-Z]\\w*",j="[a-zA-Z_]\\w*",M="\\b\\d+(\\.\\d+)?",$="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",W="\\b(0b[01]+)",X={begin:"\\\\[\\s\\S]",relevance:0},Y={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[X]},Z={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[X]},ee={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT=function(i,s,u={}){const m=inherit({className:"comment",begin:i,end:s,contains:[]},u);return m.contains.push(ee),m.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),m},ae=COMMENT("//","$"),ie=COMMENT("/\\*","\\*/"),le=COMMENT("#","$"),ce={className:"number",begin:M,relevance:0},pe={className:"number",begin:$,relevance:0},de={className:"number",begin:W,relevance:0},fe={className:"number",begin:M+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},ye={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[X,{begin:/\[/,end:/\]/,relevance:0,contains:[X]}]}]},be={className:"title",begin:_,relevance:0},_e={className:"title",begin:j,relevance:0},we={begin:"\\.\\s*"+j,relevance:0};var Se=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:_,UNDERSCORE_IDENT_RE:j,NUMBER_RE:M,C_NUMBER_RE:$,BINARY_NUMBER_RE:W,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(i={})=>{const s=/^#![ ]*\//;return i.binary&&(i.begin=function concat(...i){return i.map((i=>source(i))).join("")}(s,/.*\b/,i.binary,/\b.*/)),inherit({className:"meta",begin:s,end:/$/,relevance:0,"on:begin":(i,s)=>{0!==i.index&&s.ignoreMatch()}},i)},BACKSLASH_ESCAPE:X,APOS_STRING_MODE:Y,QUOTE_STRING_MODE:Z,PHRASAL_WORDS_MODE:ee,COMMENT,C_LINE_COMMENT_MODE:ae,C_BLOCK_COMMENT_MODE:ie,HASH_COMMENT_MODE:le,NUMBER_MODE:ce,C_NUMBER_MODE:pe,BINARY_NUMBER_MODE:de,CSS_NUMBER_MODE:fe,REGEXP_MODE:ye,TITLE_MODE:be,UNDERSCORE_TITLE_MODE:_e,METHOD_GUARD:we,END_SAME_AS_BEGIN:function(i){return Object.assign(i,{"on:begin":(i,s)=>{s.data._beginMatch=i[1]},"on:end":(i,s)=>{s.data._beginMatch!==i[1]&&s.ignoreMatch()}})}});function skipIfhasPrecedingDot(i,s){"."===i.input[i.index-1]&&s.ignoreMatch()}function beginKeywords(i,s){s&&i.beginKeywords&&(i.begin="\\b("+i.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",i.__beforeBegin=skipIfhasPrecedingDot,i.keywords=i.keywords||i.beginKeywords,delete i.beginKeywords,void 0===i.relevance&&(i.relevance=0))}function compileIllegal(i,s){Array.isArray(i.illegal)&&(i.illegal=function either(...i){return"("+i.map((i=>source(i))).join("|")+")"}(...i.illegal))}function compileMatch(i,s){if(i.match){if(i.begin||i.end)throw new Error("begin & end are not supported with match");i.begin=i.match,delete i.match}}function compileRelevance(i,s){void 0===i.relevance&&(i.relevance=1)}const xe=["of","and","for","in","not","or","if","then","parent","list","value"],Pe="keyword";function compileKeywords(i,s,u=Pe){const m={};return"string"==typeof i?compileList(u,i.split(" ")):Array.isArray(i)?compileList(u,i):Object.keys(i).forEach((function(u){Object.assign(m,compileKeywords(i[u],s,u))})),m;function compileList(i,u){s&&(u=u.map((i=>i.toLowerCase()))),u.forEach((function(s){const u=s.split("|");m[u[0]]=[i,scoreForKeyword(u[0],u[1])]}))}}function scoreForKeyword(i,s){return s?Number(s):function commonKeyword(i){return xe.includes(i.toLowerCase())}(i)?0:1}function compileLanguage(i,{plugins:s}){function langRe(s,u){return new RegExp(source(s),"m"+(i.case_insensitive?"i":"")+(u?"g":""))}class MultiRegex{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(i,s){s.position=this.position++,this.matchIndexes[this.matchAt]=s,this.regexes.push([s,i]),this.matchAt+=function countMatchGroups(i){return new RegExp(i.toString()+"|").exec("").length-1}(i)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const i=this.regexes.map((i=>i[1]));this.matcherRe=langRe(function join(i,s="|"){let u=0;return i.map((i=>{u+=1;const s=u;let _=source(i),j="";for(;_.length>0;){const i=m.exec(_);if(!i){j+=_;break}j+=_.substring(0,i.index),_=_.substring(i.index+i[0].length),"\\"===i[0][0]&&i[1]?j+="\\"+String(Number(i[1])+s):(j+=i[0],"("===i[0]&&u++)}return j})).map((i=>`(${i})`)).join(s)}(i),!0),this.lastIndex=0}exec(i){this.matcherRe.lastIndex=this.lastIndex;const s=this.matcherRe.exec(i);if(!s)return null;const u=s.findIndex(((i,s)=>s>0&&void 0!==i)),m=this.matchIndexes[u];return s.splice(0,u),Object.assign(s,m)}}class ResumableMultiRegex{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(i){if(this.multiRegexes[i])return this.multiRegexes[i];const s=new MultiRegex;return this.rules.slice(i).forEach((([i,u])=>s.addRule(i,u))),s.compile(),this.multiRegexes[i]=s,s}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(i,s){this.rules.push([i,s]),"begin"===s.type&&this.count++}exec(i){const s=this.getMatcher(this.regexIndex);s.lastIndex=this.lastIndex;let u=s.exec(i);if(this.resumingScanAtSamePosition())if(u&&u.index===this.lastIndex);else{const s=this.getMatcher(0);s.lastIndex=this.lastIndex+1,u=s.exec(i)}return u&&(this.regexIndex+=u.position+1,this.regexIndex===this.count&&this.considerAll()),u}}if(i.compilerExtensions||(i.compilerExtensions=[]),i.contains&&i.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return i.classNameAliases=inherit(i.classNameAliases||{}),function compileMode(s,u){const m=s;if(s.isCompiled)return m;[compileMatch].forEach((i=>i(s,u))),i.compilerExtensions.forEach((i=>i(s,u))),s.__beforeBegin=null,[beginKeywords,compileIllegal,compileRelevance].forEach((i=>i(s,u))),s.isCompiled=!0;let _=null;if("object"==typeof s.keywords&&(_=s.keywords.$pattern,delete s.keywords.$pattern),s.keywords&&(s.keywords=compileKeywords(s.keywords,i.case_insensitive)),s.lexemes&&_)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return _=_||s.lexemes||/\w+/,m.keywordPatternRe=langRe(_,!0),u&&(s.begin||(s.begin=/\B|\b/),m.beginRe=langRe(s.begin),s.endSameAsBegin&&(s.end=s.begin),s.end||s.endsWithParent||(s.end=/\B|\b/),s.end&&(m.endRe=langRe(s.end)),m.terminatorEnd=source(s.end)||"",s.endsWithParent&&u.terminatorEnd&&(m.terminatorEnd+=(s.end?"|":"")+u.terminatorEnd)),s.illegal&&(m.illegalRe=langRe(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map((function(i){return function expandOrCloneMode(i){i.variants&&!i.cachedVariants&&(i.cachedVariants=i.variants.map((function(s){return inherit(i,{variants:null},s)})));if(i.cachedVariants)return i.cachedVariants;if(dependencyOnParent(i))return inherit(i,{starts:i.starts?inherit(i.starts):null});if(Object.isFrozen(i))return inherit(i);return i}("self"===i?s:i)}))),s.contains.forEach((function(i){compileMode(i,m)})),s.starts&&compileMode(s.starts,u),m.matcher=function buildModeRegex(i){const s=new ResumableMultiRegex;return i.contains.forEach((i=>s.addRule(i.begin,{rule:i,type:"begin"}))),i.terminatorEnd&&s.addRule(i.terminatorEnd,{type:"end"}),i.illegal&&s.addRule(i.illegal,{type:"illegal"}),s}(m),m}(i)}function dependencyOnParent(i){return!!i&&(i.endsWithParent||dependencyOnParent(i.starts))}function BuildVuePlugin(i){const s={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!i.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,escapeHTML(this.code);let s={};return this.autoDetect?(s=i.highlightAuto(this.code),this.detectedLanguage=s.language):(s=i.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),s.value},autoDetect(){return!this.language||function hasValueOrEmptyAttribute(i){return Boolean(i||""===i)}(this.autodetect)},ignoreIllegals:()=>!0},render(i){return i("pre",{},[i("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:s,VuePlugin:{install(i){i.component("highlightjs",s)}}}}const Ie={"after:highlightElement":({el:i,result:s,text:u})=>{const m=nodeStream(i);if(!m.length)return;const _=document.createElement("div");_.innerHTML=s.value,s.value=function mergeStreams(i,s,u){let m=0,_="";const j=[];function selectStream(){return i.length&&s.length?i[0].offset!==s[0].offset?i[0].offset"}function close(i){_+=""}function render(i){("start"===i.event?open:close)(i.node)}for(;i.length||s.length;){let s=selectStream();if(_+=escapeHTML(u.substring(m,s[0].offset)),m=s[0].offset,s===i){j.reverse().forEach(close);do{render(s.splice(0,1)[0]),s=selectStream()}while(s===i&&s.length&&s[0].offset===m);j.reverse().forEach(open)}else"start"===s[0].event?j.push(s[0].node):j.pop(),render(s.splice(0,1)[0])}return _+escapeHTML(u.substr(m))}(m,nodeStream(_),u)}};function tag(i){return i.nodeName.toLowerCase()}function nodeStream(i){const s=[];return function _nodeStream(i,u){for(let m=i.firstChild;m;m=m.nextSibling)3===m.nodeType?u+=m.nodeValue.length:1===m.nodeType&&(s.push({event:"start",offset:u,node:m}),u=_nodeStream(m,u),tag(m).match(/br|hr|img|input/)||s.push({event:"stop",offset:u,node:m}));return u}(i,0),s}const Te={},error=i=>{console.error(i)},warn=(i,...s)=>{console.log(`WARN: ${i}`,...s)},deprecated=(i,s)=>{Te[`${i}/${s}`]||(console.log(`Deprecated as of ${i}. ${s}`),Te[`${i}/${s}`]=!0)},Re=escapeHTML,qe=inherit,ze=Symbol("nomatch");var Ve=function(i){const u=Object.create(null),m=Object.create(null),_=[];let j=!0;const M=/(^(<[^>]+>|\t|)+|\n)/gm,$="Could not find the language '{}', did you forget to load/include a language module?",W={disableAutodetect:!0,name:"Plain text",contains:[]};let X={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:TokenTreeEmitter};function shouldNotHighlight(i){return X.noHighlightRe.test(i)}function highlight(i,s,u,m){let _="",j="";"object"==typeof s?(_=i,u=s.ignoreIllegals,j=s.language,m=void 0):(deprecated("10.7.0","highlight(lang, code, ...args) has been deprecated."),deprecated("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),j=i,_=s);const M={code:_,language:j};fire("before:highlight",M);const $=M.result?M.result:_highlight(M.language,M.code,u,m);return $.code=M.code,fire("after:highlight",$),$}function _highlight(i,s,m,M){function keywordData(i,s){const u=Y.case_insensitive?s[0].toLowerCase():s[0];return Object.prototype.hasOwnProperty.call(i.keywords,u)&&i.keywords[u]}function processBuffer(){null!=ae.subLanguage?function processSubLanguage(){if(""===ce)return;let i=null;if("string"==typeof ae.subLanguage){if(!u[ae.subLanguage])return void le.addText(ce);i=_highlight(ae.subLanguage,ce,!0,ie[ae.subLanguage]),ie[ae.subLanguage]=i.top}else i=highlightAuto(ce,ae.subLanguage.length?ae.subLanguage:null);ae.relevance>0&&(pe+=i.relevance),le.addSublanguage(i.emitter,i.language)}():function processKeywords(){if(!ae.keywords)return void le.addText(ce);let i=0;ae.keywordPatternRe.lastIndex=0;let s=ae.keywordPatternRe.exec(ce),u="";for(;s;){u+=ce.substring(i,s.index);const m=keywordData(ae,s);if(m){const[i,_]=m;if(le.addText(u),u="",pe+=_,i.startsWith("_"))u+=s[0];else{const u=Y.classNameAliases[i]||i;le.addKeyword(s[0],u)}}else u+=s[0];i=ae.keywordPatternRe.lastIndex,s=ae.keywordPatternRe.exec(ce)}u+=ce.substr(i),le.addText(u)}(),ce=""}function startNewMode(i){return i.className&&le.openNode(Y.classNameAliases[i.className]||i.className),ae=Object.create(i,{parent:{value:ae}}),ae}function endOfMode(i,s,u){let m=function startsWith(i,s){const u=i&&i.exec(s);return u&&0===u.index}(i.endRe,u);if(m){if(i["on:end"]){const u=new Response(i);i["on:end"](s,u),u.isMatchIgnored&&(m=!1)}if(m){for(;i.endsParent&&i.parent;)i=i.parent;return i}}if(i.endsWithParent)return endOfMode(i.parent,s,u)}function doIgnore(i){return 0===ae.matcher.regexIndex?(ce+=i[0],1):(ye=!0,0)}function doBeginMatch(i){const s=i[0],u=i.rule,m=new Response(u),_=[u.__beforeBegin,u["on:begin"]];for(const u of _)if(u&&(u(i,m),m.isMatchIgnored))return doIgnore(s);return u&&u.endSameAsBegin&&(u.endRe=function escape(i){return new RegExp(i.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}(s)),u.skip?ce+=s:(u.excludeBegin&&(ce+=s),processBuffer(),u.returnBegin||u.excludeBegin||(ce=s)),startNewMode(u),u.returnBegin?0:s.length}function doEndMatch(i){const u=i[0],m=s.substr(i.index),_=endOfMode(ae,i,m);if(!_)return ze;const j=ae;j.skip?ce+=u:(j.returnEnd||j.excludeEnd||(ce+=u),processBuffer(),j.excludeEnd&&(ce=u));do{ae.className&&le.closeNode(),ae.skip||ae.subLanguage||(pe+=ae.relevance),ae=ae.parent}while(ae!==_.parent);return _.starts&&(_.endSameAsBegin&&(_.starts.endRe=_.endRe),startNewMode(_.starts)),j.returnEnd?0:u.length}let W={};function processLexeme(u,_){const M=_&&_[0];if(ce+=u,null==M)return processBuffer(),0;if("begin"===W.type&&"end"===_.type&&W.index===_.index&&""===M){if(ce+=s.slice(_.index,_.index+1),!j){const s=new Error("0 width match regex");throw s.languageName=i,s.badRule=W.rule,s}return 1}if(W=_,"begin"===_.type)return doBeginMatch(_);if("illegal"===_.type&&!m){const i=new Error('Illegal lexeme "'+M+'" for mode "'+(ae.className||"")+'"');throw i.mode=ae,i}if("end"===_.type){const i=doEndMatch(_);if(i!==ze)return i}if("illegal"===_.type&&""===M)return 1;if(fe>1e5&&fe>3*_.index){throw new Error("potential infinite loop, way more iterations than matches")}return ce+=M,M.length}const Y=getLanguage(i);if(!Y)throw error($.replace("{}",i)),new Error('Unknown language: "'+i+'"');const Z=compileLanguage(Y,{plugins:_});let ee="",ae=M||Z;const ie={},le=new X.__emitter(X);!function processContinuations(){const i=[];for(let s=ae;s!==Y;s=s.parent)s.className&&i.unshift(s.className);i.forEach((i=>le.openNode(i)))}();let ce="",pe=0,de=0,fe=0,ye=!1;try{for(ae.matcher.considerAll();;){fe++,ye?ye=!1:ae.matcher.considerAll(),ae.matcher.lastIndex=de;const i=ae.matcher.exec(s);if(!i)break;const u=processLexeme(s.substring(de,i.index),i);de=i.index+u}return processLexeme(s.substr(de)),le.closeAllNodes(),le.finalize(),ee=le.toHTML(),{relevance:Math.floor(pe),value:ee,language:i,illegal:!1,emitter:le,top:ae}}catch(u){if(u.message&&u.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:u.message,context:s.slice(de-100,de+100),mode:u.mode},sofar:ee,relevance:0,value:Re(s),emitter:le};if(j)return{illegal:!1,relevance:0,value:Re(s),emitter:le,language:i,top:ae,errorRaised:u};throw u}}function highlightAuto(i,s){s=s||X.languages||Object.keys(u);const m=function justTextHighlightResult(i){const s={relevance:0,emitter:new X.__emitter(X),value:Re(i),illegal:!1,top:W};return s.emitter.addText(i),s}(i),_=s.filter(getLanguage).filter(autoDetection).map((s=>_highlight(s,i,!1)));_.unshift(m);const j=_.sort(((i,s)=>{if(i.relevance!==s.relevance)return s.relevance-i.relevance;if(i.language&&s.language){if(getLanguage(i.language).supersetOf===s.language)return 1;if(getLanguage(s.language).supersetOf===i.language)return-1}return 0})),[M,$]=j,Y=M;return Y.second_best=$,Y}const Y={"before:highlightElement":({el:i})=>{X.useBR&&(i.innerHTML=i.innerHTML.replace(/\n/g,"").replace(//g,"\n"))},"after:highlightElement":({result:i})=>{X.useBR&&(i.value=i.value.replace(/\n/g,"
"))}},Z=/^(<[^>]+>|\t)+/gm,ee={"after:highlightElement":({result:i})=>{X.tabReplace&&(i.value=i.value.replace(Z,(i=>i.replace(/\t/g,X.tabReplace))))}};function highlightElement(i){let s=null;const u=function blockLanguage(i){let s=i.className+" ";s+=i.parentNode?i.parentNode.className:"";const u=X.languageDetectRe.exec(s);if(u){const s=getLanguage(u[1]);return s||(warn($.replace("{}",u[1])),warn("Falling back to no-highlight mode for this block.",i)),s?u[1]:"no-highlight"}return s.split(/\s+/).find((i=>shouldNotHighlight(i)||getLanguage(i)))}(i);if(shouldNotHighlight(u))return;fire("before:highlightElement",{el:i,language:u}),s=i;const _=s.textContent,j=u?highlight(_,{language:u,ignoreIllegals:!0}):highlightAuto(_);fire("after:highlightElement",{el:i,result:j,text:_}),i.innerHTML=j.value,function updateClassName(i,s,u){const _=s?m[s]:u;i.classList.add("hljs"),_&&i.classList.add(_)}(i,u,j.language),i.result={language:j.language,re:j.relevance,relavance:j.relevance},j.second_best&&(i.second_best={language:j.second_best.language,re:j.second_best.relevance,relavance:j.second_best.relevance})}const initHighlighting=()=>{if(initHighlighting.called)return;initHighlighting.called=!0,deprecated("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead.");document.querySelectorAll("pre code").forEach(highlightElement)};let ae=!1;function highlightAll(){if("loading"===document.readyState)return void(ae=!0);document.querySelectorAll("pre code").forEach(highlightElement)}function getLanguage(i){return i=(i||"").toLowerCase(),u[i]||u[m[i]]}function registerAliases(i,{languageName:s}){"string"==typeof i&&(i=[i]),i.forEach((i=>{m[i.toLowerCase()]=s}))}function autoDetection(i){const s=getLanguage(i);return s&&!s.disableAutodetect}function fire(i,s){const u=i;_.forEach((function(i){i[u]&&i[u](s)}))}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function boot(){ae&&highlightAll()}),!1),Object.assign(i,{highlight,highlightAuto,highlightAll,fixMarkup:function deprecateFixMarkup(i){return deprecated("10.2.0","fixMarkup will be removed entirely in v11.0"),deprecated("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),function fixMarkup(i){return X.tabReplace||X.useBR?i.replace(M,(i=>"\n"===i?X.useBR?"
":i:X.tabReplace?i.replace(/\t/g,X.tabReplace):i)):i}(i)},highlightElement,highlightBlock:function deprecateHighlightBlock(i){return deprecated("10.7.0","highlightBlock will be removed entirely in v12.0"),deprecated("10.7.0","Please use highlightElement now."),highlightElement(i)},configure:function configure(i){i.useBR&&(deprecated("10.3.0","'useBR' will be removed entirely in v11.0"),deprecated("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),X=qe(X,i)},initHighlighting,initHighlightingOnLoad:function initHighlightingOnLoad(){deprecated("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),ae=!0},registerLanguage:function registerLanguage(s,m){let _=null;try{_=m(i)}catch(i){if(error("Language definition for '{}' could not be registered.".replace("{}",s)),!j)throw i;error(i),_=W}_.name||(_.name=s),u[s]=_,_.rawDefinition=m.bind(null,i),_.aliases&®isterAliases(_.aliases,{languageName:s})},unregisterLanguage:function unregisterLanguage(i){delete u[i];for(const s of Object.keys(m))m[s]===i&&delete m[s]},listLanguages:function listLanguages(){return Object.keys(u)},getLanguage,registerAliases,requireLanguage:function requireLanguage(i){deprecated("10.4.0","requireLanguage will be removed entirely in v11."),deprecated("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const s=getLanguage(i);if(s)return s;throw new Error("The '{}' language is required, but not loaded.".replace("{}",i))},autoDetection,inherit:qe,addPlugin:function addPlugin(i){!function upgradePluginAPI(i){i["before:highlightBlock"]&&!i["before:highlightElement"]&&(i["before:highlightElement"]=s=>{i["before:highlightBlock"](Object.assign({block:s.el},s))}),i["after:highlightBlock"]&&!i["after:highlightElement"]&&(i["after:highlightElement"]=s=>{i["after:highlightBlock"](Object.assign({block:s.el},s))})}(i),_.push(i)},vuePlugin:BuildVuePlugin(i).VuePlugin}),i.debugMode=function(){j=!1},i.safeMode=function(){j=!0},i.versionString="10.7.3";for(const i in Se)"object"==typeof Se[i]&&s(Se[i]);return Object.assign(i,Se),i.addPlugin(Y),i.addPlugin(Ie),i.addPlugin(ee),i}({});i.exports=Ve},61519:i=>{function concat(...i){return i.map((i=>function source(i){return i?"string"==typeof i?i:i.source:null}(i))).join("")}i.exports=function bash(i){const s={},u={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[s]}]};Object.assign(s,{className:"variable",variants:[{begin:concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},u]});const m={className:"subst",begin:/\$\(/,end:/\)/,contains:[i.BACKSLASH_ESCAPE]},_={begin:/<<-?\s*(?=\w+)/,starts:{contains:[i.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},j={className:"string",begin:/"/,end:/"/,contains:[i.BACKSLASH_ESCAPE,s,m]};m.contains.push(j);const M={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},i.NUMBER_MODE,s]},$=i.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),W={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[i.inherit(i.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[$,i.SHEBANG(),W,M,i.HASH_COMMENT_MODE,_,j,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},s]}}},30786:i=>{function concat(...i){return i.map((i=>function source(i){return i?"string"==typeof i?i:i.source:null}(i))).join("")}i.exports=function http(i){const s="HTTP/(2|1\\.[01])",u={className:"attribute",begin:concat("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},m=[u,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+s+" \\d{3})",end:/$/,contains:[{className:"meta",begin:s},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:m}},{begin:"(?=^[A-Z]+ (.*?) "+s+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:s},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:m}},i.inherit(u,{relevance:0})]}}},96344:i=>{const s="[A-Za-z$_][0-9A-Za-z$_]*",u=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],m=["true","false","null","undefined","NaN","Infinity"],_=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function lookahead(i){return concat("(?=",i,")")}function concat(...i){return i.map((i=>function source(i){return i?"string"==typeof i?i:i.source:null}(i))).join("")}i.exports=function javascript(i){const j=s,M="<>",$="",W={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(i,s)=>{const u=i[0].length+i.index,m=i.input[u];"<"!==m?">"===m&&(((i,{after:s})=>{const u="",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:i.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:X,contains:be}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:M,end:$},{begin:W.begin,"on:begin":W.isTrulyOpeningTag,end:W.end}],subLanguage:"xml",contains:[{begin:W.begin,end:W.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:X,contains:["self",i.inherit(i.TITLE_MODE,{begin:j}),_e],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:i.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[_e,i.inherit(i.TITLE_MODE,{begin:j})]},{variants:[{begin:"\\."+j},{begin:"\\$"+j}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},i.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[i.inherit(i.TITLE_MODE,{begin:j}),"self",_e]},{begin:"(get|set)\\s+(?="+j+"\\()",end:/\{/,keywords:"get set",contains:[i.inherit(i.TITLE_MODE,{begin:j}),{begin:/\(\)/},_e]},{begin:/\$[(.]/}]}}},82026:i=>{i.exports=function json(i){const s={literal:"true false null"},u=[i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE],m=[i.QUOTE_STRING_MODE,i.C_NUMBER_MODE],_={end:",",endsWithParent:!0,excludeEnd:!0,contains:m,keywords:s},j={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[i.BACKSLASH_ESCAPE],illegal:"\\n"},i.inherit(_,{begin:/:/})].concat(u),illegal:"\\S"},M={begin:"\\[",end:"\\]",contains:[i.inherit(_)],illegal:"\\S"};return m.push(j,M),u.forEach((function(i){m.push(i)})),{name:"JSON",contains:m,keywords:s,illegal:"\\S"}}},66336:i=>{i.exports=function powershell(i){const s={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},u={begin:"`[\\s\\S]",relevance:0},m={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},_={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[u,m,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},j={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},M=i.inherit(i.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),$={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},W={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[i.TITLE_MODE]},X={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[m]}]},Y={begin:/using\s/,end:/$/,returnBegin:!0,contains:[_,j,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},Z={variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},ee={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(s.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},i.inherit(i.TITLE_MODE,{endsParent:!0})]},ae=[ee,M,u,i.NUMBER_MODE,_,j,$,m,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],ie={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",ae,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return ee.contains.unshift(ie),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:s,contains:ae.concat(W,X,Y,Z,ie)}}},42157:i=>{function source(i){return i?"string"==typeof i?i:i.source:null}function lookahead(i){return concat("(?=",i,")")}function concat(...i){return i.map((i=>source(i))).join("")}function either(...i){return"("+i.map((i=>source(i))).join("|")+")"}i.exports=function xml(i){const s=concat(/[A-Z_]/,function optional(i){return concat("(",i,")?")}(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),u={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},m={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},_=i.inherit(m,{begin:/\(/,end:/\)/}),j=i.inherit(i.APOS_STRING_MODE,{className:"meta-string"}),M=i.inherit(i.QUOTE_STRING_MODE,{className:"meta-string"}),$={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[m,M,j,_,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[m,_,M,j]}]}]},i.COMMENT(//,{relevance:10}),{begin://,relevance:10},u,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[$],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[$],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:$}]},{className:"tag",begin:concat(/<\//,lookahead(concat(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},54587:i=>{i.exports=function yaml(i){var s="true false yes no null",u="[\\w#;/?:@&=+$,.~*'()[\\]]+",m={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[i.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},_=i.inherit(m,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),j={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},M={end:",",endsWithParent:!0,excludeEnd:!0,keywords:s,relevance:0},$={begin:/\{/,end:/\}/,contains:[M],illegal:"\\n",relevance:0},W={begin:"\\[",end:"\\]",contains:[M],illegal:"\\n",relevance:0},X=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+u},{className:"type",begin:"!<"+u+">"},{className:"type",begin:"!"+u},{className:"type",begin:"!!"+u},{className:"meta",begin:"&"+i.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+i.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},i.HASH_COMMENT_MODE,{beginKeywords:s,keywords:{literal:s}},j,{className:"number",begin:i.C_NUMBER_RE+"\\b",relevance:0},$,W,m],Y=[...X];return Y.pop(),Y.push(_),M.contains=Y,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:X}}},8679:(i,s,u)=>{"use strict";var m=u(59864),_={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},j={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},M={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},$={};function getStatics(i){return m.isMemo(i)?M:$[i.$$typeof]||_}$[m.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},$[m.Memo]=M;var W=Object.defineProperty,X=Object.getOwnPropertyNames,Y=Object.getOwnPropertySymbols,Z=Object.getOwnPropertyDescriptor,ee=Object.getPrototypeOf,ae=Object.prototype;i.exports=function hoistNonReactStatics(i,s,u){if("string"!=typeof s){if(ae){var m=ee(s);m&&m!==ae&&hoistNonReactStatics(i,m,u)}var _=X(s);Y&&(_=_.concat(Y(s)));for(var M=getStatics(i),$=getStatics(s),ie=0;ie<_.length;++ie){var le=_[ie];if(!(j[le]||u&&u[le]||$&&$[le]||M&&M[le])){var ce=Z(s,le);try{W(i,le,ce)}catch(i){}}}}return i}},80645:(i,s)=>{s.read=function(i,s,u,m,_){var j,M,$=8*_-m-1,W=(1<<$)-1,X=W>>1,Y=-7,Z=u?_-1:0,ee=u?-1:1,ae=i[s+Z];for(Z+=ee,j=ae&(1<<-Y)-1,ae>>=-Y,Y+=$;Y>0;j=256*j+i[s+Z],Z+=ee,Y-=8);for(M=j&(1<<-Y)-1,j>>=-Y,Y+=m;Y>0;M=256*M+i[s+Z],Z+=ee,Y-=8);if(0===j)j=1-X;else{if(j===W)return M?NaN:1/0*(ae?-1:1);M+=Math.pow(2,m),j-=X}return(ae?-1:1)*M*Math.pow(2,j-m)},s.write=function(i,s,u,m,_,j){var M,$,W,X=8*j-_-1,Y=(1<>1,ee=23===_?Math.pow(2,-24)-Math.pow(2,-77):0,ae=m?0:j-1,ie=m?1:-1,le=s<0||0===s&&1/s<0?1:0;for(s=Math.abs(s),isNaN(s)||s===1/0?($=isNaN(s)?1:0,M=Y):(M=Math.floor(Math.log(s)/Math.LN2),s*(W=Math.pow(2,-M))<1&&(M--,W*=2),(s+=M+Z>=1?ee/W:ee*Math.pow(2,1-Z))*W>=2&&(M++,W/=2),M+Z>=Y?($=0,M=Y):M+Z>=1?($=(s*W-1)*Math.pow(2,_),M+=Z):($=s*Math.pow(2,Z-1)*Math.pow(2,_),M=0));_>=8;i[u+ae]=255&$,ae+=ie,$/=256,_-=8);for(M=M<<_|$,X+=_;X>0;i[u+ae]=255&M,ae+=ie,M/=256,X-=8);i[u+ae-ie]|=128*le}},43393:function(i){i.exports=function(){"use strict";var i=Array.prototype.slice;function createClass(i,s){s&&(i.prototype=Object.create(s.prototype)),i.prototype.constructor=i}function Iterable(i){return isIterable(i)?i:Seq(i)}function KeyedIterable(i){return isKeyed(i)?i:KeyedSeq(i)}function IndexedIterable(i){return isIndexed(i)?i:IndexedSeq(i)}function SetIterable(i){return isIterable(i)&&!isAssociative(i)?i:SetSeq(i)}function isIterable(i){return!(!i||!i[s])}function isKeyed(i){return!(!i||!i[u])}function isIndexed(i){return!(!i||!i[m])}function isAssociative(i){return isKeyed(i)||isIndexed(i)}function isOrdered(i){return!(!i||!i[_])}createClass(KeyedIterable,Iterable),createClass(IndexedIterable,Iterable),createClass(SetIterable,Iterable),Iterable.isIterable=isIterable,Iterable.isKeyed=isKeyed,Iterable.isIndexed=isIndexed,Iterable.isAssociative=isAssociative,Iterable.isOrdered=isOrdered,Iterable.Keyed=KeyedIterable,Iterable.Indexed=IndexedIterable,Iterable.Set=SetIterable;var s="@@__IMMUTABLE_ITERABLE__@@",u="@@__IMMUTABLE_KEYED__@@",m="@@__IMMUTABLE_INDEXED__@@",_="@@__IMMUTABLE_ORDERED__@@",j="delete",M=5,$=1<>>0;if(""+u!==s||4294967295===u)return NaN;s=u}return s<0?ensureSize(i)+s:s}function returnTrue(){return!0}function wholeSlice(i,s,u){return(0===i||void 0!==u&&i<=-u)&&(void 0===s||void 0!==u&&s>=u)}function resolveBegin(i,s){return resolveIndex(i,s,0)}function resolveEnd(i,s){return resolveIndex(i,s,s)}function resolveIndex(i,s,u){return void 0===i?u:i<0?Math.max(0,s+i):void 0===s?i:Math.min(s,i)}var ee=0,ae=1,ie=2,le="function"==typeof Symbol&&Symbol.iterator,ce="@@iterator",pe=le||ce;function Iterator(i){this.next=i}function iteratorValue(i,s,u,m){var _=0===i?s:1===i?u:[s,u];return m?m.value=_:m={value:_,done:!1},m}function iteratorDone(){return{value:void 0,done:!0}}function hasIterator(i){return!!getIteratorFn(i)}function isIterator(i){return i&&"function"==typeof i.next}function getIterator(i){var s=getIteratorFn(i);return s&&s.call(i)}function getIteratorFn(i){var s=i&&(le&&i[le]||i[ce]);if("function"==typeof s)return s}function isArrayLike(i){return i&&"number"==typeof i.length}function Seq(i){return null==i?emptySequence():isIterable(i)?i.toSeq():seqFromValue(i)}function KeyedSeq(i){return null==i?emptySequence().toKeyedSeq():isIterable(i)?isKeyed(i)?i.toSeq():i.fromEntrySeq():keyedSeqFromValue(i)}function IndexedSeq(i){return null==i?emptySequence():isIterable(i)?isKeyed(i)?i.entrySeq():i.toIndexedSeq():indexedSeqFromValue(i)}function SetSeq(i){return(null==i?emptySequence():isIterable(i)?isKeyed(i)?i.entrySeq():i:indexedSeqFromValue(i)).toSetSeq()}Iterator.prototype.toString=function(){return"[Iterator]"},Iterator.KEYS=ee,Iterator.VALUES=ae,Iterator.ENTRIES=ie,Iterator.prototype.inspect=Iterator.prototype.toSource=function(){return this.toString()},Iterator.prototype[pe]=function(){return this},createClass(Seq,Iterable),Seq.of=function(){return Seq(arguments)},Seq.prototype.toSeq=function(){return this},Seq.prototype.toString=function(){return this.__toString("Seq {","}")},Seq.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Seq.prototype.__iterate=function(i,s){return seqIterate(this,i,s,!0)},Seq.prototype.__iterator=function(i,s){return seqIterator(this,i,s,!0)},createClass(KeyedSeq,Seq),KeyedSeq.prototype.toKeyedSeq=function(){return this},createClass(IndexedSeq,Seq),IndexedSeq.of=function(){return IndexedSeq(arguments)},IndexedSeq.prototype.toIndexedSeq=function(){return this},IndexedSeq.prototype.toString=function(){return this.__toString("Seq [","]")},IndexedSeq.prototype.__iterate=function(i,s){return seqIterate(this,i,s,!1)},IndexedSeq.prototype.__iterator=function(i,s){return seqIterator(this,i,s,!1)},createClass(SetSeq,Seq),SetSeq.of=function(){return SetSeq(arguments)},SetSeq.prototype.toSetSeq=function(){return this},Seq.isSeq=isSeq,Seq.Keyed=KeyedSeq,Seq.Set=SetSeq,Seq.Indexed=IndexedSeq;var de,fe,ye,be="@@__IMMUTABLE_SEQ__@@";function ArraySeq(i){this._array=i,this.size=i.length}function ObjectSeq(i){var s=Object.keys(i);this._object=i,this._keys=s,this.size=s.length}function IterableSeq(i){this._iterable=i,this.size=i.length||i.size}function IteratorSeq(i){this._iterator=i,this._iteratorCache=[]}function isSeq(i){return!(!i||!i[be])}function emptySequence(){return de||(de=new ArraySeq([]))}function keyedSeqFromValue(i){var s=Array.isArray(i)?new ArraySeq(i).fromEntrySeq():isIterator(i)?new IteratorSeq(i).fromEntrySeq():hasIterator(i)?new IterableSeq(i).fromEntrySeq():"object"==typeof i?new ObjectSeq(i):void 0;if(!s)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+i);return s}function indexedSeqFromValue(i){var s=maybeIndexedSeqFromValue(i);if(!s)throw new TypeError("Expected Array or iterable object of values: "+i);return s}function seqFromValue(i){var s=maybeIndexedSeqFromValue(i)||"object"==typeof i&&new ObjectSeq(i);if(!s)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+i);return s}function maybeIndexedSeqFromValue(i){return isArrayLike(i)?new ArraySeq(i):isIterator(i)?new IteratorSeq(i):hasIterator(i)?new IterableSeq(i):void 0}function seqIterate(i,s,u,m){var _=i._cache;if(_){for(var j=_.length-1,M=0;M<=j;M++){var $=_[u?j-M:M];if(!1===s($[1],m?$[0]:M,i))return M+1}return M}return i.__iterateUncached(s,u)}function seqIterator(i,s,u,m){var _=i._cache;if(_){var j=_.length-1,M=0;return new Iterator((function(){var i=_[u?j-M:M];return M++>j?iteratorDone():iteratorValue(s,m?i[0]:M-1,i[1])}))}return i.__iteratorUncached(s,u)}function fromJS(i,s){return s?fromJSWith(s,i,"",{"":i}):fromJSDefault(i)}function fromJSWith(i,s,u,m){return Array.isArray(s)?i.call(m,u,IndexedSeq(s).map((function(u,m){return fromJSWith(i,u,m,s)}))):isPlainObj(s)?i.call(m,u,KeyedSeq(s).map((function(u,m){return fromJSWith(i,u,m,s)}))):s}function fromJSDefault(i){return Array.isArray(i)?IndexedSeq(i).map(fromJSDefault).toList():isPlainObj(i)?KeyedSeq(i).map(fromJSDefault).toMap():i}function isPlainObj(i){return i&&(i.constructor===Object||void 0===i.constructor)}function is(i,s){if(i===s||i!=i&&s!=s)return!0;if(!i||!s)return!1;if("function"==typeof i.valueOf&&"function"==typeof s.valueOf){if((i=i.valueOf())===(s=s.valueOf())||i!=i&&s!=s)return!0;if(!i||!s)return!1}return!("function"!=typeof i.equals||"function"!=typeof s.equals||!i.equals(s))}function deepEqual(i,s){if(i===s)return!0;if(!isIterable(s)||void 0!==i.size&&void 0!==s.size&&i.size!==s.size||void 0!==i.__hash&&void 0!==s.__hash&&i.__hash!==s.__hash||isKeyed(i)!==isKeyed(s)||isIndexed(i)!==isIndexed(s)||isOrdered(i)!==isOrdered(s))return!1;if(0===i.size&&0===s.size)return!0;var u=!isAssociative(i);if(isOrdered(i)){var m=i.entries();return s.every((function(i,s){var _=m.next().value;return _&&is(_[1],i)&&(u||is(_[0],s))}))&&m.next().done}var _=!1;if(void 0===i.size)if(void 0===s.size)"function"==typeof i.cacheResult&&i.cacheResult();else{_=!0;var j=i;i=s,s=j}var M=!0,$=s.__iterate((function(s,m){if(u?!i.has(s):_?!is(s,i.get(m,X)):!is(i.get(m,X),s))return M=!1,!1}));return M&&i.size===$}function Repeat(i,s){if(!(this instanceof Repeat))return new Repeat(i,s);if(this._value=i,this.size=void 0===s?1/0:Math.max(0,s),0===this.size){if(fe)return fe;fe=this}}function invariant(i,s){if(!i)throw new Error(s)}function Range(i,s,u){if(!(this instanceof Range))return new Range(i,s,u);if(invariant(0!==u,"Cannot step a Range by 0"),i=i||0,void 0===s&&(s=1/0),u=void 0===u?1:Math.abs(u),sm?iteratorDone():iteratorValue(i,_,u[s?m-_++:_++])}))},createClass(ObjectSeq,KeyedSeq),ObjectSeq.prototype.get=function(i,s){return void 0===s||this.has(i)?this._object[i]:s},ObjectSeq.prototype.has=function(i){return this._object.hasOwnProperty(i)},ObjectSeq.prototype.__iterate=function(i,s){for(var u=this._object,m=this._keys,_=m.length-1,j=0;j<=_;j++){var M=m[s?_-j:j];if(!1===i(u[M],M,this))return j+1}return j},ObjectSeq.prototype.__iterator=function(i,s){var u=this._object,m=this._keys,_=m.length-1,j=0;return new Iterator((function(){var M=m[s?_-j:j];return j++>_?iteratorDone():iteratorValue(i,M,u[M])}))},ObjectSeq.prototype[_]=!0,createClass(IterableSeq,IndexedSeq),IterableSeq.prototype.__iterateUncached=function(i,s){if(s)return this.cacheResult().__iterate(i,s);var u=getIterator(this._iterable),m=0;if(isIterator(u))for(var _;!(_=u.next()).done&&!1!==i(_.value,m++,this););return m},IterableSeq.prototype.__iteratorUncached=function(i,s){if(s)return this.cacheResult().__iterator(i,s);var u=getIterator(this._iterable);if(!isIterator(u))return new Iterator(iteratorDone);var m=0;return new Iterator((function(){var s=u.next();return s.done?s:iteratorValue(i,m++,s.value)}))},createClass(IteratorSeq,IndexedSeq),IteratorSeq.prototype.__iterateUncached=function(i,s){if(s)return this.cacheResult().__iterate(i,s);for(var u,m=this._iterator,_=this._iteratorCache,j=0;j<_.length;)if(!1===i(_[j],j++,this))return j;for(;!(u=m.next()).done;){var M=u.value;if(_[j]=M,!1===i(M,j++,this))break}return j},IteratorSeq.prototype.__iteratorUncached=function(i,s){if(s)return this.cacheResult().__iterator(i,s);var u=this._iterator,m=this._iteratorCache,_=0;return new Iterator((function(){if(_>=m.length){var s=u.next();if(s.done)return s;m[_]=s.value}return iteratorValue(i,_,m[_++])}))},createClass(Repeat,IndexedSeq),Repeat.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Repeat.prototype.get=function(i,s){return this.has(i)?this._value:s},Repeat.prototype.includes=function(i){return is(this._value,i)},Repeat.prototype.slice=function(i,s){var u=this.size;return wholeSlice(i,s,u)?this:new Repeat(this._value,resolveEnd(s,u)-resolveBegin(i,u))},Repeat.prototype.reverse=function(){return this},Repeat.prototype.indexOf=function(i){return is(this._value,i)?0:-1},Repeat.prototype.lastIndexOf=function(i){return is(this._value,i)?this.size:-1},Repeat.prototype.__iterate=function(i,s){for(var u=0;u=0&&s=0&&uu?iteratorDone():iteratorValue(i,j++,M)}))},Range.prototype.equals=function(i){return i instanceof Range?this._start===i._start&&this._end===i._end&&this._step===i._step:deepEqual(this,i)},createClass(Collection,Iterable),createClass(KeyedCollection,Collection),createClass(IndexedCollection,Collection),createClass(SetCollection,Collection),Collection.Keyed=KeyedCollection,Collection.Indexed=IndexedCollection,Collection.Set=SetCollection;var _e="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function imul(i,s){var u=65535&(i|=0),m=65535&(s|=0);return u*m+((i>>>16)*m+u*(s>>>16)<<16>>>0)|0};function smi(i){return i>>>1&1073741824|3221225471&i}function hash(i){if(!1===i||null==i)return 0;if("function"==typeof i.valueOf&&(!1===(i=i.valueOf())||null==i))return 0;if(!0===i)return 1;var s=typeof i;if("number"===s){if(i!=i||i===1/0)return 0;var u=0|i;for(u!==i&&(u^=4294967295*i);i>4294967295;)u^=i/=4294967295;return smi(u)}if("string"===s)return i.length>Re?cachedHashString(i):hashString(i);if("function"==typeof i.hashCode)return i.hashCode();if("object"===s)return hashJSObj(i);if("function"==typeof i.toString)return hashString(i.toString());throw new Error("Value type "+s+" cannot be hashed.")}function cachedHashString(i){var s=Ve[i];return void 0===s&&(s=hashString(i),ze===qe&&(ze=0,Ve={}),ze++,Ve[i]=s),s}function hashString(i){for(var s=0,u=0;u0)switch(i.nodeType){case 1:return i.uniqueID;case 9:return i.documentElement&&i.documentElement.uniqueID}}var xe,Pe="function"==typeof WeakMap;Pe&&(xe=new WeakMap);var Ie=0,Te="__immutablehash__";"function"==typeof Symbol&&(Te=Symbol(Te));var Re=16,qe=255,ze=0,Ve={};function assertNotInfinite(i){invariant(i!==1/0,"Cannot perform this action with an infinite size.")}function Map(i){return null==i?emptyMap():isMap(i)&&!isOrdered(i)?i:emptyMap().withMutations((function(s){var u=KeyedIterable(i);assertNotInfinite(u.size),u.forEach((function(i,u){return s.set(u,i)}))}))}function isMap(i){return!(!i||!i[He])}createClass(Map,KeyedCollection),Map.of=function(){var s=i.call(arguments,0);return emptyMap().withMutations((function(i){for(var u=0;u=s.length)throw new Error("Missing value for key: "+s[u]);i.set(s[u],s[u+1])}}))},Map.prototype.toString=function(){return this.__toString("Map {","}")},Map.prototype.get=function(i,s){return this._root?this._root.get(0,void 0,i,s):s},Map.prototype.set=function(i,s){return updateMap(this,i,s)},Map.prototype.setIn=function(i,s){return this.updateIn(i,X,(function(){return s}))},Map.prototype.remove=function(i){return updateMap(this,i,X)},Map.prototype.deleteIn=function(i){return this.updateIn(i,(function(){return X}))},Map.prototype.update=function(i,s,u){return 1===arguments.length?i(this):this.updateIn([i],s,u)},Map.prototype.updateIn=function(i,s,u){u||(u=s,s=void 0);var m=updateInDeepMap(this,forceIterator(i),s,u);return m===X?void 0:m},Map.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):emptyMap()},Map.prototype.merge=function(){return mergeIntoMapWith(this,void 0,arguments)},Map.prototype.mergeWith=function(s){return mergeIntoMapWith(this,s,i.call(arguments,1))},Map.prototype.mergeIn=function(s){var u=i.call(arguments,1);return this.updateIn(s,emptyMap(),(function(i){return"function"==typeof i.merge?i.merge.apply(i,u):u[u.length-1]}))},Map.prototype.mergeDeep=function(){return mergeIntoMapWith(this,deepMerger,arguments)},Map.prototype.mergeDeepWith=function(s){var u=i.call(arguments,1);return mergeIntoMapWith(this,deepMergerWith(s),u)},Map.prototype.mergeDeepIn=function(s){var u=i.call(arguments,1);return this.updateIn(s,emptyMap(),(function(i){return"function"==typeof i.mergeDeep?i.mergeDeep.apply(i,u):u[u.length-1]}))},Map.prototype.sort=function(i){return OrderedMap(sortFactory(this,i))},Map.prototype.sortBy=function(i,s){return OrderedMap(sortFactory(this,s,i))},Map.prototype.withMutations=function(i){var s=this.asMutable();return i(s),s.wasAltered()?s.__ensureOwner(this.__ownerID):this},Map.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new OwnerID)},Map.prototype.asImmutable=function(){return this.__ensureOwner()},Map.prototype.wasAltered=function(){return this.__altered},Map.prototype.__iterator=function(i,s){return new MapIterator(this,i,s)},Map.prototype.__iterate=function(i,s){var u=this,m=0;return this._root&&this._root.iterate((function(s){return m++,i(s[1],s[0],u)}),s),m},Map.prototype.__ensureOwner=function(i){return i===this.__ownerID?this:i?makeMap(this.size,this._root,i,this.__hash):(this.__ownerID=i,this.__altered=!1,this)},Map.isMap=isMap;var We,He="@@__IMMUTABLE_MAP__@@",Xe=Map.prototype;function ArrayMapNode(i,s){this.ownerID=i,this.entries=s}function BitmapIndexedNode(i,s,u){this.ownerID=i,this.bitmap=s,this.nodes=u}function HashArrayMapNode(i,s,u){this.ownerID=i,this.count=s,this.nodes=u}function HashCollisionNode(i,s,u){this.ownerID=i,this.keyHash=s,this.entries=u}function ValueNode(i,s,u){this.ownerID=i,this.keyHash=s,this.entry=u}function MapIterator(i,s,u){this._type=s,this._reverse=u,this._stack=i._root&&mapIteratorFrame(i._root)}function mapIteratorValue(i,s){return iteratorValue(i,s[0],s[1])}function mapIteratorFrame(i,s){return{node:i,index:0,__prev:s}}function makeMap(i,s,u,m){var _=Object.create(Xe);return _.size=i,_._root=s,_.__ownerID=u,_.__hash=m,_.__altered=!1,_}function emptyMap(){return We||(We=makeMap(0))}function updateMap(i,s,u){var m,_;if(i._root){var j=MakeRef(Y),M=MakeRef(Z);if(m=updateNode(i._root,i.__ownerID,0,void 0,s,u,j,M),!M.value)return i;_=i.size+(j.value?u===X?-1:1:0)}else{if(u===X)return i;_=1,m=new ArrayMapNode(i.__ownerID,[[s,u]])}return i.__ownerID?(i.size=_,i._root=m,i.__hash=void 0,i.__altered=!0,i):m?makeMap(_,m):emptyMap()}function updateNode(i,s,u,m,_,j,M,$){return i?i.update(s,u,m,_,j,M,$):j===X?i:(SetRef($),SetRef(M),new ValueNode(s,m,[_,j]))}function isLeafNode(i){return i.constructor===ValueNode||i.constructor===HashCollisionNode}function mergeIntoNode(i,s,u,m,_){if(i.keyHash===m)return new HashCollisionNode(s,m,[i.entry,_]);var j,$=(0===u?i.keyHash:i.keyHash>>>u)&W,X=(0===u?m:m>>>u)&W;return new BitmapIndexedNode(s,1<<$|1<>>=1)M[W]=1&u?s[j++]:void 0;return M[m]=_,new HashArrayMapNode(i,j+1,M)}function mergeIntoMapWith(i,s,u){for(var m=[],_=0;_>1&1431655765))+(i>>2&858993459))+(i>>4)&252645135,i+=i>>8,127&(i+=i>>16)}function setIn(i,s,u,m){var _=m?i:arrCopy(i);return _[s]=u,_}function spliceIn(i,s,u,m){var _=i.length+1;if(m&&s+1===_)return i[s]=u,i;for(var j=new Array(_),M=0,$=0;$<_;$++)$===s?(j[$]=u,M=-1):j[$]=i[$+M];return j}function spliceOut(i,s,u){var m=i.length-1;if(u&&s===m)return i.pop(),i;for(var _=new Array(m),j=0,M=0;M=Ye)return createNodes(i,W,m,_);var ae=i&&i===this.ownerID,ie=ae?W:arrCopy(W);return ee?$?Y===Z-1?ie.pop():ie[Y]=ie.pop():ie[Y]=[m,_]:ie.push([m,_]),ae?(this.entries=ie,this):new ArrayMapNode(i,ie)}},BitmapIndexedNode.prototype.get=function(i,s,u,m){void 0===s&&(s=hash(u));var _=1<<((0===i?s:s>>>i)&W),j=this.bitmap;return 0==(j&_)?m:this.nodes[popCount(j&_-1)].get(i+M,s,u,m)},BitmapIndexedNode.prototype.update=function(i,s,u,m,_,j,$){void 0===u&&(u=hash(m));var Y=(0===s?u:u>>>s)&W,Z=1<=Qe)return expandNodes(i,le,ee,Y,pe);if(ae&&!pe&&2===le.length&&isLeafNode(le[1^ie]))return le[1^ie];if(ae&&pe&&1===le.length&&isLeafNode(pe))return pe;var de=i&&i===this.ownerID,fe=ae?pe?ee:ee^Z:ee|Z,ye=ae?pe?setIn(le,ie,pe,de):spliceOut(le,ie,de):spliceIn(le,ie,pe,de);return de?(this.bitmap=fe,this.nodes=ye,this):new BitmapIndexedNode(i,fe,ye)},HashArrayMapNode.prototype.get=function(i,s,u,m){void 0===s&&(s=hash(u));var _=(0===i?s:s>>>i)&W,j=this.nodes[_];return j?j.get(i+M,s,u,m):m},HashArrayMapNode.prototype.update=function(i,s,u,m,_,j,$){void 0===u&&(u=hash(m));var Y=(0===s?u:u>>>s)&W,Z=_===X,ee=this.nodes,ae=ee[Y];if(Z&&!ae)return this;var ie=updateNode(ae,i,s+M,u,m,_,j,$);if(ie===ae)return this;var le=this.count;if(ae){if(!ie&&--le0&&m<$?makeList(0,m,M,null,new VNode(u.toArray())):s.withMutations((function(i){i.setSize(m),u.forEach((function(s,u){return i.set(u,s)}))})))}function isList(i){return!(!i||!i[tt])}createClass(List,IndexedCollection),List.of=function(){return this(arguments)},List.prototype.toString=function(){return this.__toString("List [","]")},List.prototype.get=function(i,s){if((i=wrapIndex(this,i))>=0&&i>>s&W;if(m>=this.array.length)return new VNode([],i);var _,j=0===m;if(s>0){var $=this.array[m];if((_=$&&$.removeBefore(i,s-M,u))===$&&j)return this}if(j&&!_)return this;var X=editableVNode(this,i);if(!j)for(var Y=0;Y>>s&W;if(_>=this.array.length)return this;if(s>0){var j=this.array[_];if((m=j&&j.removeAfter(i,s-M,u))===j&&_===this.array.length-1)return this}var $=editableVNode(this,i);return $.array.splice(_+1),m&&($.array[_]=m),$};var nt,ot,at={};function iterateList(i,s){var u=i._origin,m=i._capacity,_=getTailOffset(m),j=i._tail;return iterateNodeOrLeaf(i._root,i._level,0);function iterateNodeOrLeaf(i,s,u){return 0===s?iterateLeaf(i,u):iterateNode(i,s,u)}function iterateLeaf(i,M){var W=M===_?j&&j.array:i&&i.array,X=M>u?0:u-M,Y=m-M;return Y>$&&(Y=$),function(){if(X===Y)return at;var i=s?--Y:X++;return W&&W[i]}}function iterateNode(i,_,j){var W,X=i&&i.array,Y=j>u?0:u-j>>_,Z=1+(m-j>>_);return Z>$&&(Z=$),function(){for(;;){if(W){var i=W();if(i!==at)return i;W=null}if(Y===Z)return at;var u=s?--Z:Y++;W=iterateNodeOrLeaf(X&&X[u],_-M,j+(u<<_))}}}}function makeList(i,s,u,m,_,j,M){var $=Object.create(rt);return $.size=s-i,$._origin=i,$._capacity=s,$._level=u,$._root=m,$._tail=_,$.__ownerID=j,$.__hash=M,$.__altered=!1,$}function emptyList(){return nt||(nt=makeList(0,0,M))}function updateList(i,s,u){if((s=wrapIndex(i,s))!=s)return i;if(s>=i.size||s<0)return i.withMutations((function(i){s<0?setListBounds(i,s).set(0,u):setListBounds(i,0,s+1).set(s,u)}));s+=i._origin;var m=i._tail,_=i._root,j=MakeRef(Z);return s>=getTailOffset(i._capacity)?m=updateVNode(m,i.__ownerID,0,s,u,j):_=updateVNode(_,i.__ownerID,i._level,s,u,j),j.value?i.__ownerID?(i._root=_,i._tail=m,i.__hash=void 0,i.__altered=!0,i):makeList(i._origin,i._capacity,i._level,_,m):i}function updateVNode(i,s,u,m,_,j){var $,X=m>>>u&W,Y=i&&X0){var Z=i&&i.array[X],ee=updateVNode(Z,s,u-M,m,_,j);return ee===Z?i:(($=editableVNode(i,s)).array[X]=ee,$)}return Y&&i.array[X]===_?i:(SetRef(j),$=editableVNode(i,s),void 0===_&&X===$.array.length-1?$.array.pop():$.array[X]=_,$)}function editableVNode(i,s){return s&&i&&s===i.ownerID?i:new VNode(i?i.array.slice():[],s)}function listNodeFor(i,s){if(s>=getTailOffset(i._capacity))return i._tail;if(s<1<0;)u=u.array[s>>>m&W],m-=M;return u}}function setListBounds(i,s,u){void 0!==s&&(s|=0),void 0!==u&&(u|=0);var m=i.__ownerID||new OwnerID,_=i._origin,j=i._capacity,$=_+s,X=void 0===u?j:u<0?j+u:_+u;if($===_&&X===j)return i;if($>=X)return i.clear();for(var Y=i._level,Z=i._root,ee=0;$+ee<0;)Z=new VNode(Z&&Z.array.length?[void 0,Z]:[],m),ee+=1<<(Y+=M);ee&&($+=ee,_+=ee,X+=ee,j+=ee);for(var ae=getTailOffset(j),ie=getTailOffset(X);ie>=1<ae?new VNode([],m):le;if(le&&ie>ae&&$M;de-=M){var fe=ae>>>de&W;pe=pe.array[fe]=editableVNode(pe.array[fe],m)}pe.array[ae>>>M&W]=le}if(X=ie)$-=ie,X-=ie,Y=M,Z=null,ce=ce&&ce.removeBefore(m,0,$);else if($>_||ie>>Y&W;if(ye!==ie>>>Y&W)break;ye&&(ee+=(1<_&&(Z=Z.removeBefore(m,Y,$-ee)),Z&&ie_&&(_=$.size),isIterable(M)||($=$.map((function(i){return fromJS(i)}))),m.push($)}return _>i.size&&(i=i.setSize(_)),mergeIntoCollectionWith(i,s,m)}function getTailOffset(i){return i<$?0:i-1>>>M<=$&&M.size>=2*j.size?(m=(_=M.filter((function(i,s){return void 0!==i&&W!==s}))).toKeyedSeq().map((function(i){return i[0]})).flip().toMap(),i.__ownerID&&(m.__ownerID=_.__ownerID=i.__ownerID)):(m=j.remove(s),_=W===M.size-1?M.pop():M.set(W,void 0))}else if(Y){if(u===M.get(W)[1])return i;m=j,_=M.set(W,[s,u])}else m=j.set(s,M.size),_=M.set(M.size,[s,u]);return i.__ownerID?(i.size=m.size,i._map=m,i._list=_,i.__hash=void 0,i):makeOrderedMap(m,_)}function ToKeyedSequence(i,s){this._iter=i,this._useKeys=s,this.size=i.size}function ToIndexedSequence(i){this._iter=i,this.size=i.size}function ToSetSequence(i){this._iter=i,this.size=i.size}function FromEntriesSequence(i){this._iter=i,this.size=i.size}function flipFactory(i){var s=makeSequence(i);return s._iter=i,s.size=i.size,s.flip=function(){return i},s.reverse=function(){var s=i.reverse.apply(this);return s.flip=function(){return i.reverse()},s},s.has=function(s){return i.includes(s)},s.includes=function(s){return i.has(s)},s.cacheResult=cacheResultThrough,s.__iterateUncached=function(s,u){var m=this;return i.__iterate((function(i,u){return!1!==s(u,i,m)}),u)},s.__iteratorUncached=function(s,u){if(s===ie){var m=i.__iterator(s,u);return new Iterator((function(){var i=m.next();if(!i.done){var s=i.value[0];i.value[0]=i.value[1],i.value[1]=s}return i}))}return i.__iterator(s===ae?ee:ae,u)},s}function mapFactory(i,s,u){var m=makeSequence(i);return m.size=i.size,m.has=function(s){return i.has(s)},m.get=function(m,_){var j=i.get(m,X);return j===X?_:s.call(u,j,m,i)},m.__iterateUncached=function(m,_){var j=this;return i.__iterate((function(i,_,M){return!1!==m(s.call(u,i,_,M),_,j)}),_)},m.__iteratorUncached=function(m,_){var j=i.__iterator(ie,_);return new Iterator((function(){var _=j.next();if(_.done)return _;var M=_.value,$=M[0];return iteratorValue(m,$,s.call(u,M[1],$,i),_)}))},m}function reverseFactory(i,s){var u=makeSequence(i);return u._iter=i,u.size=i.size,u.reverse=function(){return i},i.flip&&(u.flip=function(){var s=flipFactory(i);return s.reverse=function(){return i.flip()},s}),u.get=function(u,m){return i.get(s?u:-1-u,m)},u.has=function(u){return i.has(s?u:-1-u)},u.includes=function(s){return i.includes(s)},u.cacheResult=cacheResultThrough,u.__iterate=function(s,u){var m=this;return i.__iterate((function(i,u){return s(i,u,m)}),!u)},u.__iterator=function(s,u){return i.__iterator(s,!u)},u}function filterFactory(i,s,u,m){var _=makeSequence(i);return m&&(_.has=function(m){var _=i.get(m,X);return _!==X&&!!s.call(u,_,m,i)},_.get=function(m,_){var j=i.get(m,X);return j!==X&&s.call(u,j,m,i)?j:_}),_.__iterateUncached=function(_,j){var M=this,$=0;return i.__iterate((function(i,j,W){if(s.call(u,i,j,W))return $++,_(i,m?j:$-1,M)}),j),$},_.__iteratorUncached=function(_,j){var M=i.__iterator(ie,j),$=0;return new Iterator((function(){for(;;){var j=M.next();if(j.done)return j;var W=j.value,X=W[0],Y=W[1];if(s.call(u,Y,X,i))return iteratorValue(_,m?X:$++,Y,j)}}))},_}function countByFactory(i,s,u){var m=Map().asMutable();return i.__iterate((function(_,j){m.update(s.call(u,_,j,i),0,(function(i){return i+1}))})),m.asImmutable()}function groupByFactory(i,s,u){var m=isKeyed(i),_=(isOrdered(i)?OrderedMap():Map()).asMutable();i.__iterate((function(j,M){_.update(s.call(u,j,M,i),(function(i){return(i=i||[]).push(m?[M,j]:j),i}))}));var j=iterableClass(i);return _.map((function(s){return reify(i,j(s))}))}function sliceFactory(i,s,u,m){var _=i.size;if(void 0!==s&&(s|=0),void 0!==u&&(u===1/0?u=_:u|=0),wholeSlice(s,u,_))return i;var j=resolveBegin(s,_),M=resolveEnd(u,_);if(j!=j||M!=M)return sliceFactory(i.toSeq().cacheResult(),s,u,m);var $,W=M-j;W==W&&($=W<0?0:W);var X=makeSequence(i);return X.size=0===$?$:i.size&&$||void 0,!m&&isSeq(i)&&$>=0&&(X.get=function(s,u){return(s=wrapIndex(this,s))>=0&&s<$?i.get(s+j,u):u}),X.__iterateUncached=function(s,u){var _=this;if(0===$)return 0;if(u)return this.cacheResult().__iterate(s,u);var M=0,W=!0,X=0;return i.__iterate((function(i,u){if(!W||!(W=M++$)return iteratorDone();var i=_.next();return m||s===ae?i:iteratorValue(s,W-1,s===ee?void 0:i.value[1],i)}))},X}function takeWhileFactory(i,s,u){var m=makeSequence(i);return m.__iterateUncached=function(m,_){var j=this;if(_)return this.cacheResult().__iterate(m,_);var M=0;return i.__iterate((function(i,_,$){return s.call(u,i,_,$)&&++M&&m(i,_,j)})),M},m.__iteratorUncached=function(m,_){var j=this;if(_)return this.cacheResult().__iterator(m,_);var M=i.__iterator(ie,_),$=!0;return new Iterator((function(){if(!$)return iteratorDone();var i=M.next();if(i.done)return i;var _=i.value,W=_[0],X=_[1];return s.call(u,X,W,j)?m===ie?i:iteratorValue(m,W,X,i):($=!1,iteratorDone())}))},m}function skipWhileFactory(i,s,u,m){var _=makeSequence(i);return _.__iterateUncached=function(_,j){var M=this;if(j)return this.cacheResult().__iterate(_,j);var $=!0,W=0;return i.__iterate((function(i,j,X){if(!$||!($=s.call(u,i,j,X)))return W++,_(i,m?j:W-1,M)})),W},_.__iteratorUncached=function(_,j){var M=this;if(j)return this.cacheResult().__iterator(_,j);var $=i.__iterator(ie,j),W=!0,X=0;return new Iterator((function(){var i,j,Y;do{if((i=$.next()).done)return m||_===ae?i:iteratorValue(_,X++,_===ee?void 0:i.value[1],i);var Z=i.value;j=Z[0],Y=Z[1],W&&(W=s.call(u,Y,j,M))}while(W);return _===ie?i:iteratorValue(_,j,Y,i)}))},_}function concatFactory(i,s){var u=isKeyed(i),m=[i].concat(s).map((function(i){return isIterable(i)?u&&(i=KeyedIterable(i)):i=u?keyedSeqFromValue(i):indexedSeqFromValue(Array.isArray(i)?i:[i]),i})).filter((function(i){return 0!==i.size}));if(0===m.length)return i;if(1===m.length){var _=m[0];if(_===i||u&&isKeyed(_)||isIndexed(i)&&isIndexed(_))return _}var j=new ArraySeq(m);return u?j=j.toKeyedSeq():isIndexed(i)||(j=j.toSetSeq()),(j=j.flatten(!0)).size=m.reduce((function(i,s){if(void 0!==i){var u=s.size;if(void 0!==u)return i+u}}),0),j}function flattenFactory(i,s,u){var m=makeSequence(i);return m.__iterateUncached=function(m,_){var j=0,M=!1;function flatDeep(i,$){var W=this;i.__iterate((function(i,_){return(!s||$0}function zipWithFactory(i,s,u){var m=makeSequence(i);return m.size=new ArraySeq(u).map((function(i){return i.size})).min(),m.__iterate=function(i,s){for(var u,m=this.__iterator(ae,s),_=0;!(u=m.next()).done&&!1!==i(u.value,_++,this););return _},m.__iteratorUncached=function(i,m){var _=u.map((function(i){return i=Iterable(i),getIterator(m?i.reverse():i)})),j=0,M=!1;return new Iterator((function(){var u;return M||(u=_.map((function(i){return i.next()})),M=u.some((function(i){return i.done}))),M?iteratorDone():iteratorValue(i,j++,s.apply(null,u.map((function(i){return i.value}))))}))},m}function reify(i,s){return isSeq(i)?s:i.constructor(s)}function validateEntry(i){if(i!==Object(i))throw new TypeError("Expected [K, V] tuple: "+i)}function resolveSize(i){return assertNotInfinite(i.size),ensureSize(i)}function iterableClass(i){return isKeyed(i)?KeyedIterable:isIndexed(i)?IndexedIterable:SetIterable}function makeSequence(i){return Object.create((isKeyed(i)?KeyedSeq:isIndexed(i)?IndexedSeq:SetSeq).prototype)}function cacheResultThrough(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Seq.prototype.cacheResult.call(this)}function defaultComparator(i,s){return i>s?1:i=0;u--)s={value:arguments[u],next:s};return this.__ownerID?(this.size=i,this._head=s,this.__hash=void 0,this.__altered=!0,this):makeStack(i,s)},Stack.prototype.pushAll=function(i){if(0===(i=IndexedIterable(i)).size)return this;assertNotInfinite(i.size);var s=this.size,u=this._head;return i.reverse().forEach((function(i){s++,u={value:i,next:u}})),this.__ownerID?(this.size=s,this._head=u,this.__hash=void 0,this.__altered=!0,this):makeStack(s,u)},Stack.prototype.pop=function(){return this.slice(1)},Stack.prototype.unshift=function(){return this.push.apply(this,arguments)},Stack.prototype.unshiftAll=function(i){return this.pushAll(i)},Stack.prototype.shift=function(){return this.pop.apply(this,arguments)},Stack.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):emptyStack()},Stack.prototype.slice=function(i,s){if(wholeSlice(i,s,this.size))return this;var u=resolveBegin(i,this.size);if(resolveEnd(s,this.size)!==this.size)return IndexedCollection.prototype.slice.call(this,i,s);for(var m=this.size-u,_=this._head;u--;)_=_.next;return this.__ownerID?(this.size=m,this._head=_,this.__hash=void 0,this.__altered=!0,this):makeStack(m,_)},Stack.prototype.__ensureOwner=function(i){return i===this.__ownerID?this:i?makeStack(this.size,this._head,i,this.__hash):(this.__ownerID=i,this.__altered=!1,this)},Stack.prototype.__iterate=function(i,s){if(s)return this.reverse().__iterate(i);for(var u=0,m=this._head;m&&!1!==i(m.value,u++,this);)m=m.next;return u},Stack.prototype.__iterator=function(i,s){if(s)return this.reverse().__iterator(i);var u=0,m=this._head;return new Iterator((function(){if(m){var s=m.value;return m=m.next,iteratorValue(i,u++,s)}return iteratorDone()}))},Stack.isStack=isStack;var ht,dt="@@__IMMUTABLE_STACK__@@",mt=Stack.prototype;function makeStack(i,s,u,m){var _=Object.create(mt);return _.size=i,_._head=s,_.__ownerID=u,_.__hash=m,_.__altered=!1,_}function emptyStack(){return ht||(ht=makeStack(0))}function mixin(i,s){var keyCopier=function(u){i.prototype[u]=s[u]};return Object.keys(s).forEach(keyCopier),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(s).forEach(keyCopier),i}mt[dt]=!0,mt.withMutations=Xe.withMutations,mt.asMutable=Xe.asMutable,mt.asImmutable=Xe.asImmutable,mt.wasAltered=Xe.wasAltered,Iterable.Iterator=Iterator,mixin(Iterable,{toArray:function(){assertNotInfinite(this.size);var i=new Array(this.size||0);return this.valueSeq().__iterate((function(s,u){i[u]=s})),i},toIndexedSeq:function(){return new ToIndexedSequence(this)},toJS:function(){return this.toSeq().map((function(i){return i&&"function"==typeof i.toJS?i.toJS():i})).__toJS()},toJSON:function(){return this.toSeq().map((function(i){return i&&"function"==typeof i.toJSON?i.toJSON():i})).__toJS()},toKeyedSeq:function(){return new ToKeyedSequence(this,!0)},toMap:function(){return Map(this.toKeyedSeq())},toObject:function(){assertNotInfinite(this.size);var i={};return this.__iterate((function(s,u){i[u]=s})),i},toOrderedMap:function(){return OrderedMap(this.toKeyedSeq())},toOrderedSet:function(){return OrderedSet(isKeyed(this)?this.valueSeq():this)},toSet:function(){return Set(isKeyed(this)?this.valueSeq():this)},toSetSeq:function(){return new ToSetSequence(this)},toSeq:function(){return isIndexed(this)?this.toIndexedSeq():isKeyed(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Stack(isKeyed(this)?this.valueSeq():this)},toList:function(){return List(isKeyed(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(i,s){return 0===this.size?i+s:i+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+s},concat:function(){return reify(this,concatFactory(this,i.call(arguments,0)))},includes:function(i){return this.some((function(s){return is(s,i)}))},entries:function(){return this.__iterator(ie)},every:function(i,s){assertNotInfinite(this.size);var u=!0;return this.__iterate((function(m,_,j){if(!i.call(s,m,_,j))return u=!1,!1})),u},filter:function(i,s){return reify(this,filterFactory(this,i,s,!0))},find:function(i,s,u){var m=this.findEntry(i,s);return m?m[1]:u},forEach:function(i,s){return assertNotInfinite(this.size),this.__iterate(s?i.bind(s):i)},join:function(i){assertNotInfinite(this.size),i=void 0!==i?""+i:",";var s="",u=!0;return this.__iterate((function(m){u?u=!1:s+=i,s+=null!=m?m.toString():""})),s},keys:function(){return this.__iterator(ee)},map:function(i,s){return reify(this,mapFactory(this,i,s))},reduce:function(i,s,u){var m,_;return assertNotInfinite(this.size),arguments.length<2?_=!0:m=s,this.__iterate((function(s,j,M){_?(_=!1,m=s):m=i.call(u,m,s,j,M)})),m},reduceRight:function(i,s,u){var m=this.toKeyedSeq().reverse();return m.reduce.apply(m,arguments)},reverse:function(){return reify(this,reverseFactory(this,!0))},slice:function(i,s){return reify(this,sliceFactory(this,i,s,!0))},some:function(i,s){return!this.every(not(i),s)},sort:function(i){return reify(this,sortFactory(this,i))},values:function(){return this.__iterator(ae)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(i,s){return ensureSize(i?this.toSeq().filter(i,s):this)},countBy:function(i,s){return countByFactory(this,i,s)},equals:function(i){return deepEqual(this,i)},entrySeq:function(){var i=this;if(i._cache)return new ArraySeq(i._cache);var s=i.toSeq().map(entryMapper).toIndexedSeq();return s.fromEntrySeq=function(){return i.toSeq()},s},filterNot:function(i,s){return this.filter(not(i),s)},findEntry:function(i,s,u){var m=u;return this.__iterate((function(u,_,j){if(i.call(s,u,_,j))return m=[_,u],!1})),m},findKey:function(i,s){var u=this.findEntry(i,s);return u&&u[0]},findLast:function(i,s,u){return this.toKeyedSeq().reverse().find(i,s,u)},findLastEntry:function(i,s,u){return this.toKeyedSeq().reverse().findEntry(i,s,u)},findLastKey:function(i,s){return this.toKeyedSeq().reverse().findKey(i,s)},first:function(){return this.find(returnTrue)},flatMap:function(i,s){return reify(this,flatMapFactory(this,i,s))},flatten:function(i){return reify(this,flattenFactory(this,i,!0))},fromEntrySeq:function(){return new FromEntriesSequence(this)},get:function(i,s){return this.find((function(s,u){return is(u,i)}),void 0,s)},getIn:function(i,s){for(var u,m=this,_=forceIterator(i);!(u=_.next()).done;){var j=u.value;if((m=m&&m.get?m.get(j,X):X)===X)return s}return m},groupBy:function(i,s){return groupByFactory(this,i,s)},has:function(i){return this.get(i,X)!==X},hasIn:function(i){return this.getIn(i,X)!==X},isSubset:function(i){return i="function"==typeof i.includes?i:Iterable(i),this.every((function(s){return i.includes(s)}))},isSuperset:function(i){return(i="function"==typeof i.isSubset?i:Iterable(i)).isSubset(this)},keyOf:function(i){return this.findKey((function(s){return is(s,i)}))},keySeq:function(){return this.toSeq().map(keyMapper).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(i){return this.toKeyedSeq().reverse().keyOf(i)},max:function(i){return maxFactory(this,i)},maxBy:function(i,s){return maxFactory(this,s,i)},min:function(i){return maxFactory(this,i?neg(i):defaultNegComparator)},minBy:function(i,s){return maxFactory(this,s?neg(s):defaultNegComparator,i)},rest:function(){return this.slice(1)},skip:function(i){return this.slice(Math.max(0,i))},skipLast:function(i){return reify(this,this.toSeq().reverse().skip(i).reverse())},skipWhile:function(i,s){return reify(this,skipWhileFactory(this,i,s,!0))},skipUntil:function(i,s){return this.skipWhile(not(i),s)},sortBy:function(i,s){return reify(this,sortFactory(this,s,i))},take:function(i){return this.slice(0,Math.max(0,i))},takeLast:function(i){return reify(this,this.toSeq().reverse().take(i).reverse())},takeWhile:function(i,s){return reify(this,takeWhileFactory(this,i,s))},takeUntil:function(i,s){return this.takeWhile(not(i),s)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=hashIterable(this))}});var gt=Iterable.prototype;gt[s]=!0,gt[pe]=gt.values,gt.__toJS=gt.toArray,gt.__toStringMapper=quoteString,gt.inspect=gt.toSource=function(){return this.toString()},gt.chain=gt.flatMap,gt.contains=gt.includes,mixin(KeyedIterable,{flip:function(){return reify(this,flipFactory(this))},mapEntries:function(i,s){var u=this,m=0;return reify(this,this.toSeq().map((function(_,j){return i.call(s,[j,_],m++,u)})).fromEntrySeq())},mapKeys:function(i,s){var u=this;return reify(this,this.toSeq().flip().map((function(m,_){return i.call(s,m,_,u)})).flip())}});var yt=KeyedIterable.prototype;function keyMapper(i,s){return s}function entryMapper(i,s){return[s,i]}function not(i){return function(){return!i.apply(this,arguments)}}function neg(i){return function(){return-i.apply(this,arguments)}}function quoteString(i){return"string"==typeof i?JSON.stringify(i):String(i)}function defaultZipper(){return arrCopy(arguments)}function defaultNegComparator(i,s){return is?-1:0}function hashIterable(i){if(i.size===1/0)return 0;var s=isOrdered(i),u=isKeyed(i),m=s?1:0;return murmurHashOfSize(i.__iterate(u?s?function(i,s){m=31*m+hashMerge(hash(i),hash(s))|0}:function(i,s){m=m+hashMerge(hash(i),hash(s))|0}:s?function(i){m=31*m+hash(i)|0}:function(i){m=m+hash(i)|0}),m)}function murmurHashOfSize(i,s){return s=_e(s,3432918353),s=_e(s<<15|s>>>-15,461845907),s=_e(s<<13|s>>>-13,5),s=_e((s=(s+3864292196|0)^i)^s>>>16,2246822507),s=smi((s=_e(s^s>>>13,3266489909))^s>>>16)}function hashMerge(i,s){return i^s+2654435769+(i<<6)+(i>>2)|0}return yt[u]=!0,yt[pe]=gt.entries,yt.__toJS=gt.toObject,yt.__toStringMapper=function(i,s){return JSON.stringify(s)+": "+quoteString(i)},mixin(IndexedIterable,{toKeyedSeq:function(){return new ToKeyedSequence(this,!1)},filter:function(i,s){return reify(this,filterFactory(this,i,s,!1))},findIndex:function(i,s){var u=this.findEntry(i,s);return u?u[0]:-1},indexOf:function(i){var s=this.keyOf(i);return void 0===s?-1:s},lastIndexOf:function(i){var s=this.lastKeyOf(i);return void 0===s?-1:s},reverse:function(){return reify(this,reverseFactory(this,!1))},slice:function(i,s){return reify(this,sliceFactory(this,i,s,!1))},splice:function(i,s){var u=arguments.length;if(s=Math.max(0|s,0),0===u||2===u&&!s)return this;i=resolveBegin(i,i<0?this.count():this.size);var m=this.slice(0,i);return reify(this,1===u?m:m.concat(arrCopy(arguments,2),this.slice(i+s)))},findLastIndex:function(i,s){var u=this.findLastEntry(i,s);return u?u[0]:-1},first:function(){return this.get(0)},flatten:function(i){return reify(this,flattenFactory(this,i,!1))},get:function(i,s){return(i=wrapIndex(this,i))<0||this.size===1/0||void 0!==this.size&&i>this.size?s:this.find((function(s,u){return u===i}),void 0,s)},has:function(i){return(i=wrapIndex(this,i))>=0&&(void 0!==this.size?this.size===1/0||i{"function"==typeof Object.create?i.exports=function inherits(i,s){s&&(i.super_=s,i.prototype=Object.create(s.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}))}:i.exports=function inherits(i,s){if(s){i.super_=s;var TempCtor=function(){};TempCtor.prototype=s.prototype,i.prototype=new TempCtor,i.prototype.constructor=i}}},35823:i=>{i.exports=function(i,s,u,m){var _=new Blob(void 0!==m?[m,i]:[i],{type:u||"application/octet-stream"});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(_,s);else{var j=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(_):window.webkitURL.createObjectURL(_),M=document.createElement("a");M.style.display="none",M.href=j,M.setAttribute("download",s),void 0===M.download&&M.setAttribute("target","_blank"),document.body.appendChild(M),M.click(),setTimeout((function(){document.body.removeChild(M),window.URL.revokeObjectURL(j)}),200)}}},91296:(i,s,u)=>{var m=NaN,_="[object Symbol]",j=/^\s+|\s+$/g,M=/^[-+]0x[0-9a-f]+$/i,$=/^0b[01]+$/i,W=/^0o[0-7]+$/i,X=parseInt,Y="object"==typeof u.g&&u.g&&u.g.Object===Object&&u.g,Z="object"==typeof self&&self&&self.Object===Object&&self,ee=Y||Z||Function("return this")(),ae=Object.prototype.toString,ie=Math.max,le=Math.min,now=function(){return ee.Date.now()};function isObject(i){var s=typeof i;return!!i&&("object"==s||"function"==s)}function toNumber(i){if("number"==typeof i)return i;if(function isSymbol(i){return"symbol"==typeof i||function isObjectLike(i){return!!i&&"object"==typeof i}(i)&&ae.call(i)==_}(i))return m;if(isObject(i)){var s="function"==typeof i.valueOf?i.valueOf():i;i=isObject(s)?s+"":s}if("string"!=typeof i)return 0===i?i:+i;i=i.replace(j,"");var u=$.test(i);return u||W.test(i)?X(i.slice(2),u?2:8):M.test(i)?m:+i}i.exports=function debounce(i,s,u){var m,_,j,M,$,W,X=0,Y=!1,Z=!1,ee=!0;if("function"!=typeof i)throw new TypeError("Expected a function");function invokeFunc(s){var u=m,j=_;return m=_=void 0,X=s,M=i.apply(j,u)}function shouldInvoke(i){var u=i-W;return void 0===W||u>=s||u<0||Z&&i-X>=j}function timerExpired(){var i=now();if(shouldInvoke(i))return trailingEdge(i);$=setTimeout(timerExpired,function remainingWait(i){var u=s-(i-W);return Z?le(u,j-(i-X)):u}(i))}function trailingEdge(i){return $=void 0,ee&&m?invokeFunc(i):(m=_=void 0,M)}function debounced(){var i=now(),u=shouldInvoke(i);if(m=arguments,_=this,W=i,u){if(void 0===$)return function leadingEdge(i){return X=i,$=setTimeout(timerExpired,s),Y?invokeFunc(i):M}(W);if(Z)return $=setTimeout(timerExpired,s),invokeFunc(W)}return void 0===$&&($=setTimeout(timerExpired,s)),M}return s=toNumber(s)||0,isObject(u)&&(Y=!!u.leading,j=(Z="maxWait"in u)?ie(toNumber(u.maxWait)||0,s):j,ee="trailing"in u?!!u.trailing:ee),debounced.cancel=function cancel(){void 0!==$&&clearTimeout($),X=0,m=W=_=$=void 0},debounced.flush=function flush(){return void 0===$?M:trailingEdge(now())},debounced}},18552:(i,s,u)=>{var m=u(10852)(u(55639),"DataView");i.exports=m},1989:(i,s,u)=>{var m=u(51789),_=u(80401),j=u(57667),M=u(21327),$=u(81866);function Hash(i){var s=-1,u=null==i?0:i.length;for(this.clear();++s{var m=u(3118),_=u(9435);function LazyWrapper(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}LazyWrapper.prototype=m(_.prototype),LazyWrapper.prototype.constructor=LazyWrapper,i.exports=LazyWrapper},38407:(i,s,u)=>{var m=u(27040),_=u(14125),j=u(82117),M=u(67518),$=u(54705);function ListCache(i){var s=-1,u=null==i?0:i.length;for(this.clear();++s{var m=u(3118),_=u(9435);function LodashWrapper(i,s){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=void 0}LodashWrapper.prototype=m(_.prototype),LodashWrapper.prototype.constructor=LodashWrapper,i.exports=LodashWrapper},57071:(i,s,u)=>{var m=u(10852)(u(55639),"Map");i.exports=m},83369:(i,s,u)=>{var m=u(24785),_=u(11285),j=u(96e3),M=u(49916),$=u(95265);function MapCache(i){var s=-1,u=null==i?0:i.length;for(this.clear();++s{var m=u(10852)(u(55639),"Promise");i.exports=m},58525:(i,s,u)=>{var m=u(10852)(u(55639),"Set");i.exports=m},88668:(i,s,u)=>{var m=u(83369),_=u(90619),j=u(72385);function SetCache(i){var s=-1,u=null==i?0:i.length;for(this.__data__=new m;++s{var m=u(38407),_=u(37465),j=u(63779),M=u(67599),$=u(44758),W=u(34309);function Stack(i){var s=this.__data__=new m(i);this.size=s.size}Stack.prototype.clear=_,Stack.prototype.delete=j,Stack.prototype.get=M,Stack.prototype.has=$,Stack.prototype.set=W,i.exports=Stack},62705:(i,s,u)=>{var m=u(55639).Symbol;i.exports=m},11149:(i,s,u)=>{var m=u(55639).Uint8Array;i.exports=m},70577:(i,s,u)=>{var m=u(10852)(u(55639),"WeakMap");i.exports=m},96874:i=>{i.exports=function apply(i,s,u){switch(u.length){case 0:return i.call(s);case 1:return i.call(s,u[0]);case 2:return i.call(s,u[0],u[1]);case 3:return i.call(s,u[0],u[1],u[2])}return i.apply(s,u)}},77412:i=>{i.exports=function arrayEach(i,s){for(var u=-1,m=null==i?0:i.length;++u{i.exports=function arrayFilter(i,s){for(var u=-1,m=null==i?0:i.length,_=0,j=[];++u{var m=u(42118);i.exports=function arrayIncludes(i,s){return!!(null==i?0:i.length)&&m(i,s,0)>-1}},14636:(i,s,u)=>{var m=u(22545),_=u(35694),j=u(1469),M=u(44144),$=u(65776),W=u(36719),X=Object.prototype.hasOwnProperty;i.exports=function arrayLikeKeys(i,s){var u=j(i),Y=!u&&_(i),Z=!u&&!Y&&M(i),ee=!u&&!Y&&!Z&&W(i),ae=u||Y||Z||ee,ie=ae?m(i.length,String):[],le=ie.length;for(var ce in i)!s&&!X.call(i,ce)||ae&&("length"==ce||Z&&("offset"==ce||"parent"==ce)||ee&&("buffer"==ce||"byteLength"==ce||"byteOffset"==ce)||$(ce,le))||ie.push(ce);return ie}},29932:i=>{i.exports=function arrayMap(i,s){for(var u=-1,m=null==i?0:i.length,_=Array(m);++u{i.exports=function arrayPush(i,s){for(var u=-1,m=s.length,_=i.length;++u{i.exports=function arrayReduce(i,s,u,m){var _=-1,j=null==i?0:i.length;for(m&&j&&(u=i[++_]);++_{i.exports=function arraySome(i,s){for(var u=-1,m=null==i?0:i.length;++u{i.exports=function asciiToArray(i){return i.split("")}},49029:i=>{var s=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;i.exports=function asciiWords(i){return i.match(s)||[]}},86556:(i,s,u)=>{var m=u(89465),_=u(77813);i.exports=function assignMergeValue(i,s,u){(void 0!==u&&!_(i[s],u)||void 0===u&&!(s in i))&&m(i,s,u)}},34865:(i,s,u)=>{var m=u(89465),_=u(77813),j=Object.prototype.hasOwnProperty;i.exports=function assignValue(i,s,u){var M=i[s];j.call(i,s)&&_(M,u)&&(void 0!==u||s in i)||m(i,s,u)}},18470:(i,s,u)=>{var m=u(77813);i.exports=function assocIndexOf(i,s){for(var u=i.length;u--;)if(m(i[u][0],s))return u;return-1}},44037:(i,s,u)=>{var m=u(98363),_=u(3674);i.exports=function baseAssign(i,s){return i&&m(s,_(s),i)}},63886:(i,s,u)=>{var m=u(98363),_=u(81704);i.exports=function baseAssignIn(i,s){return i&&m(s,_(s),i)}},89465:(i,s,u)=>{var m=u(38777);i.exports=function baseAssignValue(i,s,u){"__proto__"==s&&m?m(i,s,{configurable:!0,enumerable:!0,value:u,writable:!0}):i[s]=u}},85990:(i,s,u)=>{var m=u(46384),_=u(77412),j=u(34865),M=u(44037),$=u(63886),W=u(64626),X=u(278),Y=u(18805),Z=u(1911),ee=u(58234),ae=u(46904),ie=u(64160),le=u(43824),ce=u(29148),pe=u(38517),de=u(1469),fe=u(44144),ye=u(56688),be=u(13218),_e=u(72928),we=u(3674),Se=u(81704),xe="[object Arguments]",Pe="[object Function]",Ie="[object Object]",Te={};Te[xe]=Te["[object Array]"]=Te["[object ArrayBuffer]"]=Te["[object DataView]"]=Te["[object Boolean]"]=Te["[object Date]"]=Te["[object Float32Array]"]=Te["[object Float64Array]"]=Te["[object Int8Array]"]=Te["[object Int16Array]"]=Te["[object Int32Array]"]=Te["[object Map]"]=Te["[object Number]"]=Te[Ie]=Te["[object RegExp]"]=Te["[object Set]"]=Te["[object String]"]=Te["[object Symbol]"]=Te["[object Uint8Array]"]=Te["[object Uint8ClampedArray]"]=Te["[object Uint16Array]"]=Te["[object Uint32Array]"]=!0,Te["[object Error]"]=Te[Pe]=Te["[object WeakMap]"]=!1,i.exports=function baseClone(i,s,u,Re,qe,ze){var Ve,We=1&s,He=2&s,Xe=4&s;if(u&&(Ve=qe?u(i,Re,qe,ze):u(i)),void 0!==Ve)return Ve;if(!be(i))return i;var Ye=de(i);if(Ye){if(Ve=le(i),!We)return X(i,Ve)}else{var Qe=ie(i),et=Qe==Pe||"[object GeneratorFunction]"==Qe;if(fe(i))return W(i,We);if(Qe==Ie||Qe==xe||et&&!qe){if(Ve=He||et?{}:pe(i),!We)return He?Z(i,$(Ve,i)):Y(i,M(Ve,i))}else{if(!Te[Qe])return qe?i:{};Ve=ce(i,Qe,We)}}ze||(ze=new m);var tt=ze.get(i);if(tt)return tt;ze.set(i,Ve),_e(i)?i.forEach((function(m){Ve.add(baseClone(m,s,u,m,i,ze))})):ye(i)&&i.forEach((function(m,_){Ve.set(_,baseClone(m,s,u,_,i,ze))}));var rt=Ye?void 0:(Xe?He?ae:ee:He?Se:we)(i);return _(rt||i,(function(m,_){rt&&(m=i[_=m]),j(Ve,_,baseClone(m,s,u,_,i,ze))})),Ve}},3118:(i,s,u)=>{var m=u(13218),_=Object.create,j=function(){function object(){}return function(i){if(!m(i))return{};if(_)return _(i);object.prototype=i;var s=new object;return object.prototype=void 0,s}}();i.exports=j},89881:(i,s,u)=>{var m=u(47816),_=u(99291)(m);i.exports=_},41848:i=>{i.exports=function baseFindIndex(i,s,u,m){for(var _=i.length,j=u+(m?1:-1);m?j--:++j<_;)if(s(i[j],j,i))return j;return-1}},21078:(i,s,u)=>{var m=u(62488),_=u(37285);i.exports=function baseFlatten(i,s,u,j,M){var $=-1,W=i.length;for(u||(u=_),M||(M=[]);++$0&&u(X)?s>1?baseFlatten(X,s-1,u,j,M):m(M,X):j||(M[M.length]=X)}return M}},28483:(i,s,u)=>{var m=u(25063)();i.exports=m},47816:(i,s,u)=>{var m=u(28483),_=u(3674);i.exports=function baseForOwn(i,s){return i&&m(i,s,_)}},97786:(i,s,u)=>{var m=u(71811),_=u(40327);i.exports=function baseGet(i,s){for(var u=0,j=(s=m(s,i)).length;null!=i&&u{var m=u(62488),_=u(1469);i.exports=function baseGetAllKeys(i,s,u){var j=s(i);return _(i)?j:m(j,u(i))}},44239:(i,s,u)=>{var m=u(62705),_=u(89607),j=u(2333),M=m?m.toStringTag:void 0;i.exports=function baseGetTag(i){return null==i?void 0===i?"[object Undefined]":"[object Null]":M&&M in Object(i)?_(i):j(i)}},13:i=>{i.exports=function baseHasIn(i,s){return null!=i&&s in Object(i)}},42118:(i,s,u)=>{var m=u(41848),_=u(62722),j=u(42351);i.exports=function baseIndexOf(i,s,u){return s==s?j(i,s,u):m(i,_,u)}},9454:(i,s,u)=>{var m=u(44239),_=u(37005);i.exports=function baseIsArguments(i){return _(i)&&"[object Arguments]"==m(i)}},90939:(i,s,u)=>{var m=u(2492),_=u(37005);i.exports=function baseIsEqual(i,s,u,j,M){return i===s||(null==i||null==s||!_(i)&&!_(s)?i!=i&&s!=s:m(i,s,u,j,baseIsEqual,M))}},2492:(i,s,u)=>{var m=u(46384),_=u(67114),j=u(18351),M=u(16096),$=u(64160),W=u(1469),X=u(44144),Y=u(36719),Z="[object Arguments]",ee="[object Array]",ae="[object Object]",ie=Object.prototype.hasOwnProperty;i.exports=function baseIsEqualDeep(i,s,u,le,ce,pe){var de=W(i),fe=W(s),ye=de?ee:$(i),be=fe?ee:$(s),_e=(ye=ye==Z?ae:ye)==ae,we=(be=be==Z?ae:be)==ae,Se=ye==be;if(Se&&X(i)){if(!X(s))return!1;de=!0,_e=!1}if(Se&&!_e)return pe||(pe=new m),de||Y(i)?_(i,s,u,le,ce,pe):j(i,s,ye,u,le,ce,pe);if(!(1&u)){var xe=_e&&ie.call(i,"__wrapped__"),Pe=we&&ie.call(s,"__wrapped__");if(xe||Pe){var Ie=xe?i.value():i,Te=Pe?s.value():s;return pe||(pe=new m),ce(Ie,Te,u,le,pe)}}return!!Se&&(pe||(pe=new m),M(i,s,u,le,ce,pe))}},25588:(i,s,u)=>{var m=u(64160),_=u(37005);i.exports=function baseIsMap(i){return _(i)&&"[object Map]"==m(i)}},2958:(i,s,u)=>{var m=u(46384),_=u(90939);i.exports=function baseIsMatch(i,s,u,j){var M=u.length,$=M,W=!j;if(null==i)return!$;for(i=Object(i);M--;){var X=u[M];if(W&&X[2]?X[1]!==i[X[0]]:!(X[0]in i))return!1}for(;++M<$;){var Y=(X=u[M])[0],Z=i[Y],ee=X[1];if(W&&X[2]){if(void 0===Z&&!(Y in i))return!1}else{var ae=new m;if(j)var ie=j(Z,ee,Y,i,s,ae);if(!(void 0===ie?_(ee,Z,3,j,ae):ie))return!1}}return!0}},62722:i=>{i.exports=function baseIsNaN(i){return i!=i}},28458:(i,s,u)=>{var m=u(23560),_=u(15346),j=u(13218),M=u(80346),$=/^\[object .+?Constructor\]$/,W=Function.prototype,X=Object.prototype,Y=W.toString,Z=X.hasOwnProperty,ee=RegExp("^"+Y.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");i.exports=function baseIsNative(i){return!(!j(i)||_(i))&&(m(i)?ee:$).test(M(i))}},29221:(i,s,u)=>{var m=u(64160),_=u(37005);i.exports=function baseIsSet(i){return _(i)&&"[object Set]"==m(i)}},38749:(i,s,u)=>{var m=u(44239),_=u(41780),j=u(37005),M={};M["[object Float32Array]"]=M["[object Float64Array]"]=M["[object Int8Array]"]=M["[object Int16Array]"]=M["[object Int32Array]"]=M["[object Uint8Array]"]=M["[object Uint8ClampedArray]"]=M["[object Uint16Array]"]=M["[object Uint32Array]"]=!0,M["[object Arguments]"]=M["[object Array]"]=M["[object ArrayBuffer]"]=M["[object Boolean]"]=M["[object DataView]"]=M["[object Date]"]=M["[object Error]"]=M["[object Function]"]=M["[object Map]"]=M["[object Number]"]=M["[object Object]"]=M["[object RegExp]"]=M["[object Set]"]=M["[object String]"]=M["[object WeakMap]"]=!1,i.exports=function baseIsTypedArray(i){return j(i)&&_(i.length)&&!!M[m(i)]}},67206:(i,s,u)=>{var m=u(91573),_=u(16432),j=u(6557),M=u(1469),$=u(39601);i.exports=function baseIteratee(i){return"function"==typeof i?i:null==i?j:"object"==typeof i?M(i)?_(i[0],i[1]):m(i):$(i)}},280:(i,s,u)=>{var m=u(25726),_=u(86916),j=Object.prototype.hasOwnProperty;i.exports=function baseKeys(i){if(!m(i))return _(i);var s=[];for(var u in Object(i))j.call(i,u)&&"constructor"!=u&&s.push(u);return s}},10313:(i,s,u)=>{var m=u(13218),_=u(25726),j=u(33498),M=Object.prototype.hasOwnProperty;i.exports=function baseKeysIn(i){if(!m(i))return j(i);var s=_(i),u=[];for(var $ in i)("constructor"!=$||!s&&M.call(i,$))&&u.push($);return u}},9435:i=>{i.exports=function baseLodash(){}},91573:(i,s,u)=>{var m=u(2958),_=u(1499),j=u(42634);i.exports=function baseMatches(i){var s=_(i);return 1==s.length&&s[0][2]?j(s[0][0],s[0][1]):function(u){return u===i||m(u,i,s)}}},16432:(i,s,u)=>{var m=u(90939),_=u(27361),j=u(79095),M=u(15403),$=u(89162),W=u(42634),X=u(40327);i.exports=function baseMatchesProperty(i,s){return M(i)&&$(s)?W(X(i),s):function(u){var M=_(u,i);return void 0===M&&M===s?j(u,i):m(s,M,3)}}},42980:(i,s,u)=>{var m=u(46384),_=u(86556),j=u(28483),M=u(59783),$=u(13218),W=u(81704),X=u(36390);i.exports=function baseMerge(i,s,u,Y,Z){i!==s&&j(s,(function(j,W){if(Z||(Z=new m),$(j))M(i,s,W,u,baseMerge,Y,Z);else{var ee=Y?Y(X(i,W),j,W+"",i,s,Z):void 0;void 0===ee&&(ee=j),_(i,W,ee)}}),W)}},59783:(i,s,u)=>{var m=u(86556),_=u(64626),j=u(77133),M=u(278),$=u(38517),W=u(35694),X=u(1469),Y=u(29246),Z=u(44144),ee=u(23560),ae=u(13218),ie=u(68630),le=u(36719),ce=u(36390),pe=u(59881);i.exports=function baseMergeDeep(i,s,u,de,fe,ye,be){var _e=ce(i,u),we=ce(s,u),Se=be.get(we);if(Se)m(i,u,Se);else{var xe=ye?ye(_e,we,u+"",i,s,be):void 0,Pe=void 0===xe;if(Pe){var Ie=X(we),Te=!Ie&&Z(we),Re=!Ie&&!Te&&le(we);xe=we,Ie||Te||Re?X(_e)?xe=_e:Y(_e)?xe=M(_e):Te?(Pe=!1,xe=_(we,!0)):Re?(Pe=!1,xe=j(we,!0)):xe=[]:ie(we)||W(we)?(xe=_e,W(_e)?xe=pe(_e):ae(_e)&&!ee(_e)||(xe=$(we))):Pe=!1}Pe&&(be.set(we,xe),fe(xe,we,de,ye,be),be.delete(we)),m(i,u,xe)}}},40371:i=>{i.exports=function baseProperty(i){return function(s){return null==s?void 0:s[i]}}},79152:(i,s,u)=>{var m=u(97786);i.exports=function basePropertyDeep(i){return function(s){return m(s,i)}}},18674:i=>{i.exports=function basePropertyOf(i){return function(s){return null==i?void 0:i[s]}}},10107:i=>{i.exports=function baseReduce(i,s,u,m,_){return _(i,(function(i,_,j){u=m?(m=!1,i):s(u,i,_,j)})),u}},5976:(i,s,u)=>{var m=u(6557),_=u(45357),j=u(30061);i.exports=function baseRest(i,s){return j(_(i,s,m),i+"")}},10611:(i,s,u)=>{var m=u(34865),_=u(71811),j=u(65776),M=u(13218),$=u(40327);i.exports=function baseSet(i,s,u,W){if(!M(i))return i;for(var X=-1,Y=(s=_(s,i)).length,Z=Y-1,ee=i;null!=ee&&++X{var m=u(6557),_=u(89250),j=_?function(i,s){return _.set(i,s),i}:m;i.exports=j},56560:(i,s,u)=>{var m=u(75703),_=u(38777),j=u(6557),M=_?function(i,s){return _(i,"toString",{configurable:!0,enumerable:!1,value:m(s),writable:!0})}:j;i.exports=M},14259:i=>{i.exports=function baseSlice(i,s,u){var m=-1,_=i.length;s<0&&(s=-s>_?0:_+s),(u=u>_?_:u)<0&&(u+=_),_=s>u?0:u-s>>>0,s>>>=0;for(var j=Array(_);++m<_;)j[m]=i[m+s];return j}},5076:(i,s,u)=>{var m=u(89881);i.exports=function baseSome(i,s){var u;return m(i,(function(i,m,_){return!(u=s(i,m,_))})),!!u}},22545:i=>{i.exports=function baseTimes(i,s){for(var u=-1,m=Array(i);++u{var m=u(62705),_=u(29932),j=u(1469),M=u(33448),$=m?m.prototype:void 0,W=$?$.toString:void 0;i.exports=function baseToString(i){if("string"==typeof i)return i;if(j(i))return _(i,baseToString)+"";if(M(i))return W?W.call(i):"";var s=i+"";return"0"==s&&1/i==-Infinity?"-0":s}},27561:(i,s,u)=>{var m=u(67990),_=/^\s+/;i.exports=function baseTrim(i){return i?i.slice(0,m(i)+1).replace(_,""):i}},7518:i=>{i.exports=function baseUnary(i){return function(s){return i(s)}}},57406:(i,s,u)=>{var m=u(71811),_=u(10928),j=u(40292),M=u(40327);i.exports=function baseUnset(i,s){return s=m(s,i),null==(i=j(i,s))||delete i[M(_(s))]}},1757:i=>{i.exports=function baseZipObject(i,s,u){for(var m=-1,_=i.length,j=s.length,M={};++m<_;){var $=m{i.exports=function cacheHas(i,s){return i.has(s)}},71811:(i,s,u)=>{var m=u(1469),_=u(15403),j=u(55514),M=u(79833);i.exports=function castPath(i,s){return m(i)?i:_(i,s)?[i]:j(M(i))}},40180:(i,s,u)=>{var m=u(14259);i.exports=function castSlice(i,s,u){var _=i.length;return u=void 0===u?_:u,!s&&u>=_?i:m(i,s,u)}},74318:(i,s,u)=>{var m=u(11149);i.exports=function cloneArrayBuffer(i){var s=new i.constructor(i.byteLength);return new m(s).set(new m(i)),s}},64626:(i,s,u)=>{i=u.nmd(i);var m=u(55639),_=s&&!s.nodeType&&s,j=_&&i&&!i.nodeType&&i,M=j&&j.exports===_?m.Buffer:void 0,$=M?M.allocUnsafe:void 0;i.exports=function cloneBuffer(i,s){if(s)return i.slice();var u=i.length,m=$?$(u):new i.constructor(u);return i.copy(m),m}},57157:(i,s,u)=>{var m=u(74318);i.exports=function cloneDataView(i,s){var u=s?m(i.buffer):i.buffer;return new i.constructor(u,i.byteOffset,i.byteLength)}},93147:i=>{var s=/\w*$/;i.exports=function cloneRegExp(i){var u=new i.constructor(i.source,s.exec(i));return u.lastIndex=i.lastIndex,u}},40419:(i,s,u)=>{var m=u(62705),_=m?m.prototype:void 0,j=_?_.valueOf:void 0;i.exports=function cloneSymbol(i){return j?Object(j.call(i)):{}}},77133:(i,s,u)=>{var m=u(74318);i.exports=function cloneTypedArray(i,s){var u=s?m(i.buffer):i.buffer;return new i.constructor(u,i.byteOffset,i.length)}},52157:i=>{var s=Math.max;i.exports=function composeArgs(i,u,m,_){for(var j=-1,M=i.length,$=m.length,W=-1,X=u.length,Y=s(M-$,0),Z=Array(X+Y),ee=!_;++W{var s=Math.max;i.exports=function composeArgsRight(i,u,m,_){for(var j=-1,M=i.length,$=-1,W=m.length,X=-1,Y=u.length,Z=s(M-W,0),ee=Array(Z+Y),ae=!_;++j{i.exports=function copyArray(i,s){var u=-1,m=i.length;for(s||(s=Array(m));++u{var m=u(34865),_=u(89465);i.exports=function copyObject(i,s,u,j){var M=!u;u||(u={});for(var $=-1,W=s.length;++${var m=u(98363),_=u(99551);i.exports=function copySymbols(i,s){return m(i,_(i),s)}},1911:(i,s,u)=>{var m=u(98363),_=u(51442);i.exports=function copySymbolsIn(i,s){return m(i,_(i),s)}},14429:(i,s,u)=>{var m=u(55639)["__core-js_shared__"];i.exports=m},97991:i=>{i.exports=function countHolders(i,s){for(var u=i.length,m=0;u--;)i[u]===s&&++m;return m}},21463:(i,s,u)=>{var m=u(5976),_=u(16612);i.exports=function createAssigner(i){return m((function(s,u){var m=-1,j=u.length,M=j>1?u[j-1]:void 0,$=j>2?u[2]:void 0;for(M=i.length>3&&"function"==typeof M?(j--,M):void 0,$&&_(u[0],u[1],$)&&(M=j<3?void 0:M,j=1),s=Object(s);++m{var m=u(98612);i.exports=function createBaseEach(i,s){return function(u,_){if(null==u)return u;if(!m(u))return i(u,_);for(var j=u.length,M=s?j:-1,$=Object(u);(s?M--:++M{i.exports=function createBaseFor(i){return function(s,u,m){for(var _=-1,j=Object(s),M=m(s),$=M.length;$--;){var W=M[i?$:++_];if(!1===u(j[W],W,j))break}return s}}},22402:(i,s,u)=>{var m=u(71774),_=u(55639);i.exports=function createBind(i,s,u){var j=1&s,M=m(i);return function wrapper(){return(this&&this!==_&&this instanceof wrapper?M:i).apply(j?u:this,arguments)}}},98805:(i,s,u)=>{var m=u(40180),_=u(62689),j=u(83140),M=u(79833);i.exports=function createCaseFirst(i){return function(s){s=M(s);var u=_(s)?j(s):void 0,$=u?u[0]:s.charAt(0),W=u?m(u,1).join(""):s.slice(1);return $[i]()+W}}},35393:(i,s,u)=>{var m=u(62663),_=u(53816),j=u(58748),M=RegExp("['’]","g");i.exports=function createCompounder(i){return function(s){return m(j(_(s).replace(M,"")),i,"")}}},71774:(i,s,u)=>{var m=u(3118),_=u(13218);i.exports=function createCtor(i){return function(){var s=arguments;switch(s.length){case 0:return new i;case 1:return new i(s[0]);case 2:return new i(s[0],s[1]);case 3:return new i(s[0],s[1],s[2]);case 4:return new i(s[0],s[1],s[2],s[3]);case 5:return new i(s[0],s[1],s[2],s[3],s[4]);case 6:return new i(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new i(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var u=m(i.prototype),j=i.apply(u,s);return _(j)?j:u}}},46347:(i,s,u)=>{var m=u(96874),_=u(71774),j=u(86935),M=u(94487),$=u(20893),W=u(46460),X=u(55639);i.exports=function createCurry(i,s,u){var Y=_(i);return function wrapper(){for(var _=arguments.length,Z=Array(_),ee=_,ae=$(wrapper);ee--;)Z[ee]=arguments[ee];var ie=_<3&&Z[0]!==ae&&Z[_-1]!==ae?[]:W(Z,ae);return(_-=ie.length){var m=u(67206),_=u(98612),j=u(3674);i.exports=function createFind(i){return function(s,u,M){var $=Object(s);if(!_(s)){var W=m(u,3);s=j(s),u=function(i){return W($[i],i,$)}}var X=i(s,u,M);return X>-1?$[W?s[X]:X]:void 0}}},86935:(i,s,u)=>{var m=u(52157),_=u(14054),j=u(97991),M=u(71774),$=u(94487),W=u(20893),X=u(90451),Y=u(46460),Z=u(55639);i.exports=function createHybrid(i,s,u,ee,ae,ie,le,ce,pe,de){var fe=128&s,ye=1&s,be=2&s,_e=24&s,we=512&s,Se=be?void 0:M(i);return function wrapper(){for(var xe=arguments.length,Pe=Array(xe),Ie=xe;Ie--;)Pe[Ie]=arguments[Ie];if(_e)var Te=W(wrapper),Re=j(Pe,Te);if(ee&&(Pe=m(Pe,ee,ae,_e)),ie&&(Pe=_(Pe,ie,le,_e)),xe-=Re,_e&&xe1&&Pe.reverse(),fe&&pe{var m=u(96874),_=u(71774),j=u(55639);i.exports=function createPartial(i,s,u,M){var $=1&s,W=_(i);return function wrapper(){for(var s=-1,_=arguments.length,X=-1,Y=M.length,Z=Array(Y+_),ee=this&&this!==j&&this instanceof wrapper?W:i;++X{var m=u(86528),_=u(258),j=u(69255);i.exports=function createRecurry(i,s,u,M,$,W,X,Y,Z,ee){var ae=8&s;s|=ae?32:64,4&(s&=~(ae?64:32))||(s&=-4);var ie=[i,s,$,ae?W:void 0,ae?X:void 0,ae?void 0:W,ae?void 0:X,Y,Z,ee],le=u.apply(void 0,ie);return m(i)&&_(le,ie),le.placeholder=M,j(le,i,s)}},97727:(i,s,u)=>{var m=u(28045),_=u(22402),j=u(46347),M=u(86935),$=u(84375),W=u(66833),X=u(63833),Y=u(258),Z=u(69255),ee=u(40554),ae=Math.max;i.exports=function createWrap(i,s,u,ie,le,ce,pe,de){var fe=2&s;if(!fe&&"function"!=typeof i)throw new TypeError("Expected a function");var ye=ie?ie.length:0;if(ye||(s&=-97,ie=le=void 0),pe=void 0===pe?pe:ae(ee(pe),0),de=void 0===de?de:ee(de),ye-=le?le.length:0,64&s){var be=ie,_e=le;ie=le=void 0}var we=fe?void 0:W(i),Se=[i,s,u,ie,le,be,_e,ce,pe,de];if(we&&X(Se,we),i=Se[0],s=Se[1],u=Se[2],ie=Se[3],le=Se[4],!(de=Se[9]=void 0===Se[9]?fe?0:i.length:ae(Se[9]-ye,0))&&24&s&&(s&=-25),s&&1!=s)xe=8==s||16==s?j(i,s,de):32!=s&&33!=s||le.length?M.apply(void 0,Se):$(i,s,u,ie);else var xe=_(i,s,u);return Z((we?m:Y)(xe,Se),i,s)}},60696:(i,s,u)=>{var m=u(68630);i.exports=function customOmitClone(i){return m(i)?void 0:i}},69389:(i,s,u)=>{var m=u(18674)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});i.exports=m},38777:(i,s,u)=>{var m=u(10852),_=function(){try{var i=m(Object,"defineProperty");return i({},"",{}),i}catch(i){}}();i.exports=_},67114:(i,s,u)=>{var m=u(88668),_=u(82908),j=u(74757);i.exports=function equalArrays(i,s,u,M,$,W){var X=1&u,Y=i.length,Z=s.length;if(Y!=Z&&!(X&&Z>Y))return!1;var ee=W.get(i),ae=W.get(s);if(ee&&ae)return ee==s&&ae==i;var ie=-1,le=!0,ce=2&u?new m:void 0;for(W.set(i,s),W.set(s,i);++ie{var m=u(62705),_=u(11149),j=u(77813),M=u(67114),$=u(68776),W=u(21814),X=m?m.prototype:void 0,Y=X?X.valueOf:void 0;i.exports=function equalByTag(i,s,u,m,X,Z,ee){switch(u){case"[object DataView]":if(i.byteLength!=s.byteLength||i.byteOffset!=s.byteOffset)return!1;i=i.buffer,s=s.buffer;case"[object ArrayBuffer]":return!(i.byteLength!=s.byteLength||!Z(new _(i),new _(s)));case"[object Boolean]":case"[object Date]":case"[object Number]":return j(+i,+s);case"[object Error]":return i.name==s.name&&i.message==s.message;case"[object RegExp]":case"[object String]":return i==s+"";case"[object Map]":var ae=$;case"[object Set]":var ie=1&m;if(ae||(ae=W),i.size!=s.size&&!ie)return!1;var le=ee.get(i);if(le)return le==s;m|=2,ee.set(i,s);var ce=M(ae(i),ae(s),m,X,Z,ee);return ee.delete(i),ce;case"[object Symbol]":if(Y)return Y.call(i)==Y.call(s)}return!1}},16096:(i,s,u)=>{var m=u(58234),_=Object.prototype.hasOwnProperty;i.exports=function equalObjects(i,s,u,j,M,$){var W=1&u,X=m(i),Y=X.length;if(Y!=m(s).length&&!W)return!1;for(var Z=Y;Z--;){var ee=X[Z];if(!(W?ee in s:_.call(s,ee)))return!1}var ae=$.get(i),ie=$.get(s);if(ae&&ie)return ae==s&&ie==i;var le=!0;$.set(i,s),$.set(s,i);for(var ce=W;++Z{var m=u(85564),_=u(45357),j=u(30061);i.exports=function flatRest(i){return j(_(i,void 0,m),i+"")}},31957:(i,s,u)=>{var m="object"==typeof u.g&&u.g&&u.g.Object===Object&&u.g;i.exports=m},58234:(i,s,u)=>{var m=u(68866),_=u(99551),j=u(3674);i.exports=function getAllKeys(i){return m(i,j,_)}},46904:(i,s,u)=>{var m=u(68866),_=u(51442),j=u(81704);i.exports=function getAllKeysIn(i){return m(i,j,_)}},66833:(i,s,u)=>{var m=u(89250),_=u(50308),j=m?function(i){return m.get(i)}:_;i.exports=j},97658:(i,s,u)=>{var m=u(52060),_=Object.prototype.hasOwnProperty;i.exports=function getFuncName(i){for(var s=i.name+"",u=m[s],j=_.call(m,s)?u.length:0;j--;){var M=u[j],$=M.func;if(null==$||$==i)return M.name}return s}},20893:i=>{i.exports=function getHolder(i){return i.placeholder}},45050:(i,s,u)=>{var m=u(37019);i.exports=function getMapData(i,s){var u=i.__data__;return m(s)?u["string"==typeof s?"string":"hash"]:u.map}},1499:(i,s,u)=>{var m=u(89162),_=u(3674);i.exports=function getMatchData(i){for(var s=_(i),u=s.length;u--;){var j=s[u],M=i[j];s[u]=[j,M,m(M)]}return s}},10852:(i,s,u)=>{var m=u(28458),_=u(47801);i.exports=function getNative(i,s){var u=_(i,s);return m(u)?u:void 0}},85924:(i,s,u)=>{var m=u(5569)(Object.getPrototypeOf,Object);i.exports=m},89607:(i,s,u)=>{var m=u(62705),_=Object.prototype,j=_.hasOwnProperty,M=_.toString,$=m?m.toStringTag:void 0;i.exports=function getRawTag(i){var s=j.call(i,$),u=i[$];try{i[$]=void 0;var m=!0}catch(i){}var _=M.call(i);return m&&(s?i[$]=u:delete i[$]),_}},99551:(i,s,u)=>{var m=u(34963),_=u(70479),j=Object.prototype.propertyIsEnumerable,M=Object.getOwnPropertySymbols,$=M?function(i){return null==i?[]:(i=Object(i),m(M(i),(function(s){return j.call(i,s)})))}:_;i.exports=$},51442:(i,s,u)=>{var m=u(62488),_=u(85924),j=u(99551),M=u(70479),$=Object.getOwnPropertySymbols?function(i){for(var s=[];i;)m(s,j(i)),i=_(i);return s}:M;i.exports=$},64160:(i,s,u)=>{var m=u(18552),_=u(57071),j=u(53818),M=u(58525),$=u(70577),W=u(44239),X=u(80346),Y="[object Map]",Z="[object Promise]",ee="[object Set]",ae="[object WeakMap]",ie="[object DataView]",le=X(m),ce=X(_),pe=X(j),de=X(M),fe=X($),ye=W;(m&&ye(new m(new ArrayBuffer(1)))!=ie||_&&ye(new _)!=Y||j&&ye(j.resolve())!=Z||M&&ye(new M)!=ee||$&&ye(new $)!=ae)&&(ye=function(i){var s=W(i),u="[object Object]"==s?i.constructor:void 0,m=u?X(u):"";if(m)switch(m){case le:return ie;case ce:return Y;case pe:return Z;case de:return ee;case fe:return ae}return s}),i.exports=ye},47801:i=>{i.exports=function getValue(i,s){return null==i?void 0:i[s]}},58775:i=>{var s=/\{\n\/\* \[wrapped with (.+)\] \*/,u=/,? & /;i.exports=function getWrapDetails(i){var m=i.match(s);return m?m[1].split(u):[]}},222:(i,s,u)=>{var m=u(71811),_=u(35694),j=u(1469),M=u(65776),$=u(41780),W=u(40327);i.exports=function hasPath(i,s,u){for(var X=-1,Y=(s=m(s,i)).length,Z=!1;++X{var s=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");i.exports=function hasUnicode(i){return s.test(i)}},93157:i=>{var s=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;i.exports=function hasUnicodeWord(i){return s.test(i)}},51789:(i,s,u)=>{var m=u(94536);i.exports=function hashClear(){this.__data__=m?m(null):{},this.size=0}},80401:i=>{i.exports=function hashDelete(i){var s=this.has(i)&&delete this.__data__[i];return this.size-=s?1:0,s}},57667:(i,s,u)=>{var m=u(94536),_=Object.prototype.hasOwnProperty;i.exports=function hashGet(i){var s=this.__data__;if(m){var u=s[i];return"__lodash_hash_undefined__"===u?void 0:u}return _.call(s,i)?s[i]:void 0}},21327:(i,s,u)=>{var m=u(94536),_=Object.prototype.hasOwnProperty;i.exports=function hashHas(i){var s=this.__data__;return m?void 0!==s[i]:_.call(s,i)}},81866:(i,s,u)=>{var m=u(94536);i.exports=function hashSet(i,s){var u=this.__data__;return this.size+=this.has(i)?0:1,u[i]=m&&void 0===s?"__lodash_hash_undefined__":s,this}},43824:i=>{var s=Object.prototype.hasOwnProperty;i.exports=function initCloneArray(i){var u=i.length,m=new i.constructor(u);return u&&"string"==typeof i[0]&&s.call(i,"index")&&(m.index=i.index,m.input=i.input),m}},29148:(i,s,u)=>{var m=u(74318),_=u(57157),j=u(93147),M=u(40419),$=u(77133);i.exports=function initCloneByTag(i,s,u){var W=i.constructor;switch(s){case"[object ArrayBuffer]":return m(i);case"[object Boolean]":case"[object Date]":return new W(+i);case"[object DataView]":return _(i,u);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return $(i,u);case"[object Map]":case"[object Set]":return new W;case"[object Number]":case"[object String]":return new W(i);case"[object RegExp]":return j(i);case"[object Symbol]":return M(i)}}},38517:(i,s,u)=>{var m=u(3118),_=u(85924),j=u(25726);i.exports=function initCloneObject(i){return"function"!=typeof i.constructor||j(i)?{}:m(_(i))}},83112:i=>{var s=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;i.exports=function insertWrapDetails(i,u){var m=u.length;if(!m)return i;var _=m-1;return u[_]=(m>1?"& ":"")+u[_],u=u.join(m>2?", ":" "),i.replace(s,"{\n/* [wrapped with "+u+"] */\n")}},37285:(i,s,u)=>{var m=u(62705),_=u(35694),j=u(1469),M=m?m.isConcatSpreadable:void 0;i.exports=function isFlattenable(i){return j(i)||_(i)||!!(M&&i&&i[M])}},65776:i=>{var s=/^(?:0|[1-9]\d*)$/;i.exports=function isIndex(i,u){var m=typeof i;return!!(u=null==u?9007199254740991:u)&&("number"==m||"symbol"!=m&&s.test(i))&&i>-1&&i%1==0&&i{var m=u(77813),_=u(98612),j=u(65776),M=u(13218);i.exports=function isIterateeCall(i,s,u){if(!M(u))return!1;var $=typeof s;return!!("number"==$?_(u)&&j(s,u.length):"string"==$&&s in u)&&m(u[s],i)}},15403:(i,s,u)=>{var m=u(1469),_=u(33448),j=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,M=/^\w*$/;i.exports=function isKey(i,s){if(m(i))return!1;var u=typeof i;return!("number"!=u&&"symbol"!=u&&"boolean"!=u&&null!=i&&!_(i))||(M.test(i)||!j.test(i)||null!=s&&i in Object(s))}},37019:i=>{i.exports=function isKeyable(i){var s=typeof i;return"string"==s||"number"==s||"symbol"==s||"boolean"==s?"__proto__"!==i:null===i}},86528:(i,s,u)=>{var m=u(96425),_=u(66833),j=u(97658),M=u(8111);i.exports=function isLaziable(i){var s=j(i),u=M[s];if("function"!=typeof u||!(s in m.prototype))return!1;if(i===u)return!0;var $=_(u);return!!$&&i===$[0]}},15346:(i,s,u)=>{var m,_=u(14429),j=(m=/[^.]+$/.exec(_&&_.keys&&_.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"";i.exports=function isMasked(i){return!!j&&j in i}},25726:i=>{var s=Object.prototype;i.exports=function isPrototype(i){var u=i&&i.constructor;return i===("function"==typeof u&&u.prototype||s)}},89162:(i,s,u)=>{var m=u(13218);i.exports=function isStrictComparable(i){return i==i&&!m(i)}},27040:i=>{i.exports=function listCacheClear(){this.__data__=[],this.size=0}},14125:(i,s,u)=>{var m=u(18470),_=Array.prototype.splice;i.exports=function listCacheDelete(i){var s=this.__data__,u=m(s,i);return!(u<0)&&(u==s.length-1?s.pop():_.call(s,u,1),--this.size,!0)}},82117:(i,s,u)=>{var m=u(18470);i.exports=function listCacheGet(i){var s=this.__data__,u=m(s,i);return u<0?void 0:s[u][1]}},67518:(i,s,u)=>{var m=u(18470);i.exports=function listCacheHas(i){return m(this.__data__,i)>-1}},54705:(i,s,u)=>{var m=u(18470);i.exports=function listCacheSet(i,s){var u=this.__data__,_=m(u,i);return _<0?(++this.size,u.push([i,s])):u[_][1]=s,this}},24785:(i,s,u)=>{var m=u(1989),_=u(38407),j=u(57071);i.exports=function mapCacheClear(){this.size=0,this.__data__={hash:new m,map:new(j||_),string:new m}}},11285:(i,s,u)=>{var m=u(45050);i.exports=function mapCacheDelete(i){var s=m(this,i).delete(i);return this.size-=s?1:0,s}},96e3:(i,s,u)=>{var m=u(45050);i.exports=function mapCacheGet(i){return m(this,i).get(i)}},49916:(i,s,u)=>{var m=u(45050);i.exports=function mapCacheHas(i){return m(this,i).has(i)}},95265:(i,s,u)=>{var m=u(45050);i.exports=function mapCacheSet(i,s){var u=m(this,i),_=u.size;return u.set(i,s),this.size+=u.size==_?0:1,this}},68776:i=>{i.exports=function mapToArray(i){var s=-1,u=Array(i.size);return i.forEach((function(i,m){u[++s]=[m,i]})),u}},42634:i=>{i.exports=function matchesStrictComparable(i,s){return function(u){return null!=u&&(u[i]===s&&(void 0!==s||i in Object(u)))}}},24523:(i,s,u)=>{var m=u(88306);i.exports=function memoizeCapped(i){var s=m(i,(function(i){return 500===u.size&&u.clear(),i})),u=s.cache;return s}},63833:(i,s,u)=>{var m=u(52157),_=u(14054),j=u(46460),M="__lodash_placeholder__",$=128,W=Math.min;i.exports=function mergeData(i,s){var u=i[1],X=s[1],Y=u|X,Z=Y<131,ee=X==$&&8==u||X==$&&256==u&&i[7].length<=s[8]||384==X&&s[7].length<=s[8]&&8==u;if(!Z&&!ee)return i;1&X&&(i[2]=s[2],Y|=1&u?0:4);var ae=s[3];if(ae){var ie=i[3];i[3]=ie?m(ie,ae,s[4]):ae,i[4]=ie?j(i[3],M):s[4]}return(ae=s[5])&&(ie=i[5],i[5]=ie?_(ie,ae,s[6]):ae,i[6]=ie?j(i[5],M):s[6]),(ae=s[7])&&(i[7]=ae),X&$&&(i[8]=null==i[8]?s[8]:W(i[8],s[8])),null==i[9]&&(i[9]=s[9]),i[0]=s[0],i[1]=Y,i}},89250:(i,s,u)=>{var m=u(70577),_=m&&new m;i.exports=_},94536:(i,s,u)=>{var m=u(10852)(Object,"create");i.exports=m},86916:(i,s,u)=>{var m=u(5569)(Object.keys,Object);i.exports=m},33498:i=>{i.exports=function nativeKeysIn(i){var s=[];if(null!=i)for(var u in Object(i))s.push(u);return s}},31167:(i,s,u)=>{i=u.nmd(i);var m=u(31957),_=s&&!s.nodeType&&s,j=_&&i&&!i.nodeType&&i,M=j&&j.exports===_&&m.process,$=function(){try{var i=j&&j.require&&j.require("util").types;return i||M&&M.binding&&M.binding("util")}catch(i){}}();i.exports=$},2333:i=>{var s=Object.prototype.toString;i.exports=function objectToString(i){return s.call(i)}},5569:i=>{i.exports=function overArg(i,s){return function(u){return i(s(u))}}},45357:(i,s,u)=>{var m=u(96874),_=Math.max;i.exports=function overRest(i,s,u){return s=_(void 0===s?i.length-1:s,0),function(){for(var j=arguments,M=-1,$=_(j.length-s,0),W=Array($);++M<$;)W[M]=j[s+M];M=-1;for(var X=Array(s+1);++M{var m=u(97786),_=u(14259);i.exports=function parent(i,s){return s.length<2?i:m(i,_(s,0,-1))}},52060:i=>{i.exports={}},90451:(i,s,u)=>{var m=u(278),_=u(65776),j=Math.min;i.exports=function reorder(i,s){for(var u=i.length,M=j(s.length,u),$=m(i);M--;){var W=s[M];i[M]=_(W,u)?$[W]:void 0}return i}},46460:i=>{var s="__lodash_placeholder__";i.exports=function replaceHolders(i,u){for(var m=-1,_=i.length,j=0,M=[];++m<_;){var $=i[m];$!==u&&$!==s||(i[m]=s,M[j++]=m)}return M}},55639:(i,s,u)=>{var m=u(31957),_="object"==typeof self&&self&&self.Object===Object&&self,j=m||_||Function("return this")();i.exports=j},36390:i=>{i.exports=function safeGet(i,s){if(("constructor"!==s||"function"!=typeof i[s])&&"__proto__"!=s)return i[s]}},90619:i=>{i.exports=function setCacheAdd(i){return this.__data__.set(i,"__lodash_hash_undefined__"),this}},72385:i=>{i.exports=function setCacheHas(i){return this.__data__.has(i)}},258:(i,s,u)=>{var m=u(28045),_=u(21275)(m);i.exports=_},21814:i=>{i.exports=function setToArray(i){var s=-1,u=Array(i.size);return i.forEach((function(i){u[++s]=i})),u}},30061:(i,s,u)=>{var m=u(56560),_=u(21275)(m);i.exports=_},69255:(i,s,u)=>{var m=u(58775),_=u(83112),j=u(30061),M=u(87241);i.exports=function setWrapToString(i,s,u){var $=s+"";return j(i,_($,M(m($),u)))}},21275:i=>{var s=Date.now;i.exports=function shortOut(i){var u=0,m=0;return function(){var _=s(),j=16-(_-m);if(m=_,j>0){if(++u>=800)return arguments[0]}else u=0;return i.apply(void 0,arguments)}}},37465:(i,s,u)=>{var m=u(38407);i.exports=function stackClear(){this.__data__=new m,this.size=0}},63779:i=>{i.exports=function stackDelete(i){var s=this.__data__,u=s.delete(i);return this.size=s.size,u}},67599:i=>{i.exports=function stackGet(i){return this.__data__.get(i)}},44758:i=>{i.exports=function stackHas(i){return this.__data__.has(i)}},34309:(i,s,u)=>{var m=u(38407),_=u(57071),j=u(83369);i.exports=function stackSet(i,s){var u=this.__data__;if(u instanceof m){var M=u.__data__;if(!_||M.length<199)return M.push([i,s]),this.size=++u.size,this;u=this.__data__=new j(M)}return u.set(i,s),this.size=u.size,this}},42351:i=>{i.exports=function strictIndexOf(i,s,u){for(var m=u-1,_=i.length;++m<_;)if(i[m]===s)return m;return-1}},83140:(i,s,u)=>{var m=u(44286),_=u(62689),j=u(676);i.exports=function stringToArray(i){return _(i)?j(i):m(i)}},55514:(i,s,u)=>{var m=u(24523),_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,j=/\\(\\)?/g,M=m((function(i){var s=[];return 46===i.charCodeAt(0)&&s.push(""),i.replace(_,(function(i,u,m,_){s.push(m?_.replace(j,"$1"):u||i)})),s}));i.exports=M},40327:(i,s,u)=>{var m=u(33448);i.exports=function toKey(i){if("string"==typeof i||m(i))return i;var s=i+"";return"0"==s&&1/i==-Infinity?"-0":s}},80346:i=>{var s=Function.prototype.toString;i.exports=function toSource(i){if(null!=i){try{return s.call(i)}catch(i){}try{return i+""}catch(i){}}return""}},67990:i=>{var s=/\s/;i.exports=function trimmedEndIndex(i){for(var u=i.length;u--&&s.test(i.charAt(u)););return u}},676:i=>{var s="\\ud800-\\udfff",u="["+s+"]",m="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",_="\\ud83c[\\udffb-\\udfff]",j="[^"+s+"]",M="(?:\\ud83c[\\udde6-\\uddff]){2}",$="[\\ud800-\\udbff][\\udc00-\\udfff]",W="(?:"+m+"|"+_+")"+"?",X="[\\ufe0e\\ufe0f]?",Y=X+W+("(?:\\u200d(?:"+[j,M,$].join("|")+")"+X+W+")*"),Z="(?:"+[j+m+"?",m,M,$,u].join("|")+")",ee=RegExp(_+"(?="+_+")|"+Z+Y,"g");i.exports=function unicodeToArray(i){return i.match(ee)||[]}},2757:i=>{var s="\\ud800-\\udfff",u="\\u2700-\\u27bf",m="a-z\\xdf-\\xf6\\xf8-\\xff",_="A-Z\\xc0-\\xd6\\xd8-\\xde",j="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",M="["+j+"]",$="\\d+",W="["+u+"]",X="["+m+"]",Y="[^"+s+j+$+u+m+_+"]",Z="(?:\\ud83c[\\udde6-\\uddff]){2}",ee="[\\ud800-\\udbff][\\udc00-\\udfff]",ae="["+_+"]",ie="(?:"+X+"|"+Y+")",le="(?:"+ae+"|"+Y+")",ce="(?:['’](?:d|ll|m|re|s|t|ve))?",pe="(?:['’](?:D|LL|M|RE|S|T|VE))?",de="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",fe="[\\ufe0e\\ufe0f]?",ye=fe+de+("(?:\\u200d(?:"+["[^"+s+"]",Z,ee].join("|")+")"+fe+de+")*"),be="(?:"+[W,Z,ee].join("|")+")"+ye,_e=RegExp([ae+"?"+X+"+"+ce+"(?="+[M,ae,"$"].join("|")+")",le+"+"+pe+"(?="+[M,ae+ie,"$"].join("|")+")",ae+"?"+ie+"+"+ce,ae+"+"+pe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",$,be].join("|"),"g");i.exports=function unicodeWords(i){return i.match(_e)||[]}},87241:(i,s,u)=>{var m=u(77412),_=u(47443),j=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];i.exports=function updateWrapDetails(i,s){return m(j,(function(u){var m="_."+u[0];s&u[1]&&!_(i,m)&&i.push(m)})),i.sort()}},21913:(i,s,u)=>{var m=u(96425),_=u(7548),j=u(278);i.exports=function wrapperClone(i){if(i instanceof m)return i.clone();var s=new _(i.__wrapped__,i.__chain__);return s.__actions__=j(i.__actions__),s.__index__=i.__index__,s.__values__=i.__values__,s}},39514:(i,s,u)=>{var m=u(97727);i.exports=function ary(i,s,u){return s=u?void 0:s,s=i&&null==s?i.length:s,m(i,128,void 0,void 0,void 0,void 0,s)}},68929:(i,s,u)=>{var m=u(48403),_=u(35393)((function(i,s,u){return s=s.toLowerCase(),i+(u?m(s):s)}));i.exports=_},48403:(i,s,u)=>{var m=u(79833),_=u(11700);i.exports=function capitalize(i){return _(m(i).toLowerCase())}},66678:(i,s,u)=>{var m=u(85990);i.exports=function clone(i){return m(i,4)}},75703:i=>{i.exports=function constant(i){return function(){return i}}},40087:(i,s,u)=>{var m=u(97727);function curry(i,s,u){var _=m(i,8,void 0,void 0,void 0,void 0,void 0,s=u?void 0:s);return _.placeholder=curry.placeholder,_}curry.placeholder={},i.exports=curry},23279:(i,s,u)=>{var m=u(13218),_=u(7771),j=u(14841),M=Math.max,$=Math.min;i.exports=function debounce(i,s,u){var W,X,Y,Z,ee,ae,ie=0,le=!1,ce=!1,pe=!0;if("function"!=typeof i)throw new TypeError("Expected a function");function invokeFunc(s){var u=W,m=X;return W=X=void 0,ie=s,Z=i.apply(m,u)}function shouldInvoke(i){var u=i-ae;return void 0===ae||u>=s||u<0||ce&&i-ie>=Y}function timerExpired(){var i=_();if(shouldInvoke(i))return trailingEdge(i);ee=setTimeout(timerExpired,function remainingWait(i){var u=s-(i-ae);return ce?$(u,Y-(i-ie)):u}(i))}function trailingEdge(i){return ee=void 0,pe&&W?invokeFunc(i):(W=X=void 0,Z)}function debounced(){var i=_(),u=shouldInvoke(i);if(W=arguments,X=this,ae=i,u){if(void 0===ee)return function leadingEdge(i){return ie=i,ee=setTimeout(timerExpired,s),le?invokeFunc(i):Z}(ae);if(ce)return clearTimeout(ee),ee=setTimeout(timerExpired,s),invokeFunc(ae)}return void 0===ee&&(ee=setTimeout(timerExpired,s)),Z}return s=j(s)||0,m(u)&&(le=!!u.leading,Y=(ce="maxWait"in u)?M(j(u.maxWait)||0,s):Y,pe="trailing"in u?!!u.trailing:pe),debounced.cancel=function cancel(){void 0!==ee&&clearTimeout(ee),ie=0,W=ae=X=ee=void 0},debounced.flush=function flush(){return void 0===ee?Z:trailingEdge(_())},debounced}},53816:(i,s,u)=>{var m=u(69389),_=u(79833),j=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,M=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");i.exports=function deburr(i){return(i=_(i))&&i.replace(j,m).replace(M,"")}},77813:i=>{i.exports=function eq(i,s){return i===s||i!=i&&s!=s}},13311:(i,s,u)=>{var m=u(67740)(u(30998));i.exports=m},30998:(i,s,u)=>{var m=u(41848),_=u(67206),j=u(40554),M=Math.max;i.exports=function findIndex(i,s,u){var $=null==i?0:i.length;if(!$)return-1;var W=null==u?0:j(u);return W<0&&(W=M($+W,0)),m(i,_(s,3),W)}},85564:(i,s,u)=>{var m=u(21078);i.exports=function flatten(i){return(null==i?0:i.length)?m(i,1):[]}},84599:(i,s,u)=>{var m=u(68836),_=u(69306),j=Array.prototype.push;function baseAry(i,s){return 2==s?function(s,u){return i(s,u)}:function(s){return i(s)}}function cloneArray(i){for(var s=i?i.length:0,u=Array(s);s--;)u[s]=i[s];return u}function wrapImmutable(i,s){return function(){var u=arguments.length;if(u){for(var m=Array(u);u--;)m[u]=arguments[u];var _=m[0]=s.apply(void 0,m);return i.apply(void 0,m),_}}}i.exports=function baseConvert(i,s,u,M){var $="function"==typeof s,W=s===Object(s);if(W&&(M=u,u=s,s=void 0),null==u)throw new TypeError;M||(M={});var X={cap:!("cap"in M)||M.cap,curry:!("curry"in M)||M.curry,fixed:!("fixed"in M)||M.fixed,immutable:!("immutable"in M)||M.immutable,rearg:!("rearg"in M)||M.rearg},Y=$?u:_,Z="curry"in M&&M.curry,ee="fixed"in M&&M.fixed,ae="rearg"in M&&M.rearg,ie=$?u.runInContext():void 0,le=$?u:{ary:i.ary,assign:i.assign,clone:i.clone,curry:i.curry,forEach:i.forEach,isArray:i.isArray,isError:i.isError,isFunction:i.isFunction,isWeakMap:i.isWeakMap,iteratee:i.iteratee,keys:i.keys,rearg:i.rearg,toInteger:i.toInteger,toPath:i.toPath},ce=le.ary,pe=le.assign,de=le.clone,fe=le.curry,ye=le.forEach,be=le.isArray,_e=le.isError,we=le.isFunction,Se=le.isWeakMap,xe=le.keys,Pe=le.rearg,Ie=le.toInteger,Te=le.toPath,Re=xe(m.aryMethod),qe={castArray:function(i){return function(){var s=arguments[0];return be(s)?i(cloneArray(s)):i.apply(void 0,arguments)}},iteratee:function(i){return function(){var s=arguments[1],u=i(arguments[0],s),m=u.length;return X.cap&&"number"==typeof s?(s=s>2?s-2:1,m&&m<=s?u:baseAry(u,s)):u}},mixin:function(i){return function(s){var u=this;if(!we(u))return i(u,Object(s));var m=[];return ye(xe(s),(function(i){we(s[i])&&m.push([i,u.prototype[i]])})),i(u,Object(s)),ye(m,(function(i){var s=i[1];we(s)?u.prototype[i[0]]=s:delete u.prototype[i[0]]})),u}},nthArg:function(i){return function(s){var u=s<0?1:Ie(s)+1;return fe(i(s),u)}},rearg:function(i){return function(s,u){var m=u?u.length:0;return fe(i(s,u),m)}},runInContext:function(s){return function(u){return baseConvert(i,s(u),M)}}};function castCap(i,s){if(X.cap){var u=m.iterateeRearg[i];if(u)return function iterateeRearg(i,s){return overArg(i,(function(i){var u=s.length;return function baseArity(i,s){return 2==s?function(s,u){return i.apply(void 0,arguments)}:function(s){return i.apply(void 0,arguments)}}(Pe(baseAry(i,u),s),u)}))}(s,u);var _=!$&&m.iterateeAry[i];if(_)return function iterateeAry(i,s){return overArg(i,(function(i){return"function"==typeof i?baseAry(i,s):i}))}(s,_)}return s}function castFixed(i,s,u){if(X.fixed&&(ee||!m.skipFixed[i])){var _=m.methodSpread[i],M=_&&_.start;return void 0===M?ce(s,u):function flatSpread(i,s){return function(){for(var u=arguments.length,m=u-1,_=Array(u);u--;)_[u]=arguments[u];var M=_[s],$=_.slice(0,s);return M&&j.apply($,M),s!=m&&j.apply($,_.slice(s+1)),i.apply(this,$)}}(s,M)}return s}function castRearg(i,s,u){return X.rearg&&u>1&&(ae||!m.skipRearg[i])?Pe(s,m.methodRearg[i]||m.aryRearg[u]):s}function cloneByPath(i,s){for(var u=-1,m=(s=Te(s)).length,_=m-1,j=de(Object(i)),M=j;null!=M&&++u1?fe(s,u):s}(0,_=castCap(j,_),i),!1}})),!_})),_||(_=M),_==s&&(_=Z?fe(_,1):function(){return s.apply(this,arguments)}),_.convert=createConverter(j,s),_.placeholder=s.placeholder=u,_}if(!W)return wrap(s,u,Y);var ze=u,Ve=[];return ye(Re,(function(i){ye(m.aryMethod[i],(function(i){var s=ze[m.remap[i]||i];s&&Ve.push([i,wrap(i,s,ze)])}))})),ye(xe(ze),(function(i){var s=ze[i];if("function"==typeof s){for(var u=Ve.length;u--;)if(Ve[u][0]==i)return;s.convert=createConverter(i,s),Ve.push([i,s])}})),ye(Ve,(function(i){ze[i[0]]=i[1]})),ze.convert=function convertLib(i){return ze.runInContext.convert(i)(void 0)},ze.placeholder=ze,ye(xe(ze),(function(i){ye(m.realToAlias[i]||[],(function(s){ze[s]=ze[i]}))})),ze}},68836:(i,s)=>{s.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},s.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},s.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},s.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},s.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},s.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},s.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},s.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},s.realToAlias=function(){var i=Object.prototype.hasOwnProperty,u=s.aliasToReal,m={};for(var _ in u){var j=u[_];i.call(m,j)?m[j].push(_):m[j]=[_]}return m}(),s.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},s.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},s.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},4269:(i,s,u)=>{i.exports={ary:u(39514),assign:u(44037),clone:u(66678),curry:u(40087),forEach:u(77412),isArray:u(1469),isError:u(64647),isFunction:u(23560),isWeakMap:u(81018),iteratee:u(72594),keys:u(280),rearg:u(4963),toInteger:u(40554),toPath:u(30084)}},72700:(i,s,u)=>{i.exports=u(28252)},92822:(i,s,u)=>{var m=u(84599),_=u(4269);i.exports=function convert(i,s,u){return m(_,i,s,u)}},69306:i=>{i.exports={}},28252:(i,s,u)=>{var m=u(92822)("set",u(36968));m.placeholder=u(69306),i.exports=m},27361:(i,s,u)=>{var m=u(97786);i.exports=function get(i,s,u){var _=null==i?void 0:m(i,s);return void 0===_?u:_}},79095:(i,s,u)=>{var m=u(13),_=u(222);i.exports=function hasIn(i,s){return null!=i&&_(i,s,m)}},6557:i=>{i.exports=function identity(i){return i}},35694:(i,s,u)=>{var m=u(9454),_=u(37005),j=Object.prototype,M=j.hasOwnProperty,$=j.propertyIsEnumerable,W=m(function(){return arguments}())?m:function(i){return _(i)&&M.call(i,"callee")&&!$.call(i,"callee")};i.exports=W},1469:i=>{var s=Array.isArray;i.exports=s},98612:(i,s,u)=>{var m=u(23560),_=u(41780);i.exports=function isArrayLike(i){return null!=i&&_(i.length)&&!m(i)}},29246:(i,s,u)=>{var m=u(98612),_=u(37005);i.exports=function isArrayLikeObject(i){return _(i)&&m(i)}},51584:(i,s,u)=>{var m=u(44239),_=u(37005);i.exports=function isBoolean(i){return!0===i||!1===i||_(i)&&"[object Boolean]"==m(i)}},44144:(i,s,u)=>{i=u.nmd(i);var m=u(55639),_=u(95062),j=s&&!s.nodeType&&s,M=j&&i&&!i.nodeType&&i,$=M&&M.exports===j?m.Buffer:void 0,W=($?$.isBuffer:void 0)||_;i.exports=W},41609:(i,s,u)=>{var m=u(280),_=u(64160),j=u(35694),M=u(1469),$=u(98612),W=u(44144),X=u(25726),Y=u(36719),Z=Object.prototype.hasOwnProperty;i.exports=function isEmpty(i){if(null==i)return!0;if($(i)&&(M(i)||"string"==typeof i||"function"==typeof i.splice||W(i)||Y(i)||j(i)))return!i.length;var s=_(i);if("[object Map]"==s||"[object Set]"==s)return!i.size;if(X(i))return!m(i).length;for(var u in i)if(Z.call(i,u))return!1;return!0}},18446:(i,s,u)=>{var m=u(90939);i.exports=function isEqual(i,s){return m(i,s)}},64647:(i,s,u)=>{var m=u(44239),_=u(37005),j=u(68630);i.exports=function isError(i){if(!_(i))return!1;var s=m(i);return"[object Error]"==s||"[object DOMException]"==s||"string"==typeof i.message&&"string"==typeof i.name&&!j(i)}},23560:(i,s,u)=>{var m=u(44239),_=u(13218);i.exports=function isFunction(i){if(!_(i))return!1;var s=m(i);return"[object Function]"==s||"[object GeneratorFunction]"==s||"[object AsyncFunction]"==s||"[object Proxy]"==s}},41780:i=>{i.exports=function isLength(i){return"number"==typeof i&&i>-1&&i%1==0&&i<=9007199254740991}},56688:(i,s,u)=>{var m=u(25588),_=u(7518),j=u(31167),M=j&&j.isMap,$=M?_(M):m;i.exports=$},45220:i=>{i.exports=function isNull(i){return null===i}},81763:(i,s,u)=>{var m=u(44239),_=u(37005);i.exports=function isNumber(i){return"number"==typeof i||_(i)&&"[object Number]"==m(i)}},13218:i=>{i.exports=function isObject(i){var s=typeof i;return null!=i&&("object"==s||"function"==s)}},37005:i=>{i.exports=function isObjectLike(i){return null!=i&&"object"==typeof i}},68630:(i,s,u)=>{var m=u(44239),_=u(85924),j=u(37005),M=Function.prototype,$=Object.prototype,W=M.toString,X=$.hasOwnProperty,Y=W.call(Object);i.exports=function isPlainObject(i){if(!j(i)||"[object Object]"!=m(i))return!1;var s=_(i);if(null===s)return!0;var u=X.call(s,"constructor")&&s.constructor;return"function"==typeof u&&u instanceof u&&W.call(u)==Y}},72928:(i,s,u)=>{var m=u(29221),_=u(7518),j=u(31167),M=j&&j.isSet,$=M?_(M):m;i.exports=$},47037:(i,s,u)=>{var m=u(44239),_=u(1469),j=u(37005);i.exports=function isString(i){return"string"==typeof i||!_(i)&&j(i)&&"[object String]"==m(i)}},33448:(i,s,u)=>{var m=u(44239),_=u(37005);i.exports=function isSymbol(i){return"symbol"==typeof i||_(i)&&"[object Symbol]"==m(i)}},36719:(i,s,u)=>{var m=u(38749),_=u(7518),j=u(31167),M=j&&j.isTypedArray,$=M?_(M):m;i.exports=$},81018:(i,s,u)=>{var m=u(64160),_=u(37005);i.exports=function isWeakMap(i){return _(i)&&"[object WeakMap]"==m(i)}},72594:(i,s,u)=>{var m=u(85990),_=u(67206);i.exports=function iteratee(i){return _("function"==typeof i?i:m(i,1))}},3674:(i,s,u)=>{var m=u(14636),_=u(280),j=u(98612);i.exports=function keys(i){return j(i)?m(i):_(i)}},81704:(i,s,u)=>{var m=u(14636),_=u(10313),j=u(98612);i.exports=function keysIn(i){return j(i)?m(i,!0):_(i)}},10928:i=>{i.exports=function last(i){var s=null==i?0:i.length;return s?i[s-1]:void 0}},88306:(i,s,u)=>{var m=u(83369);function memoize(i,s){if("function"!=typeof i||null!=s&&"function"!=typeof s)throw new TypeError("Expected a function");var memoized=function(){var u=arguments,m=s?s.apply(this,u):u[0],_=memoized.cache;if(_.has(m))return _.get(m);var j=i.apply(this,u);return memoized.cache=_.set(m,j)||_,j};return memoized.cache=new(memoize.Cache||m),memoized}memoize.Cache=m,i.exports=memoize},82492:(i,s,u)=>{var m=u(42980),_=u(21463)((function(i,s,u){m(i,s,u)}));i.exports=_},94885:i=>{i.exports=function negate(i){if("function"!=typeof i)throw new TypeError("Expected a function");return function(){var s=arguments;switch(s.length){case 0:return!i.call(this);case 1:return!i.call(this,s[0]);case 2:return!i.call(this,s[0],s[1]);case 3:return!i.call(this,s[0],s[1],s[2])}return!i.apply(this,s)}}},50308:i=>{i.exports=function noop(){}},7771:(i,s,u)=>{var m=u(55639);i.exports=function(){return m.Date.now()}},57557:(i,s,u)=>{var m=u(29932),_=u(85990),j=u(57406),M=u(71811),$=u(98363),W=u(60696),X=u(99021),Y=u(46904),Z=X((function(i,s){var u={};if(null==i)return u;var X=!1;s=m(s,(function(s){return s=M(s,i),X||(X=s.length>1),s})),$(i,Y(i),u),X&&(u=_(u,7,W));for(var Z=s.length;Z--;)j(u,s[Z]);return u}));i.exports=Z},39601:(i,s,u)=>{var m=u(40371),_=u(79152),j=u(15403),M=u(40327);i.exports=function property(i){return j(i)?m(M(i)):_(i)}},4963:(i,s,u)=>{var m=u(97727),_=u(99021),j=_((function(i,s){return m(i,256,void 0,void 0,void 0,s)}));i.exports=j},54061:(i,s,u)=>{var m=u(62663),_=u(89881),j=u(67206),M=u(10107),$=u(1469);i.exports=function reduce(i,s,u){var W=$(i)?m:M,X=arguments.length<3;return W(i,j(s,4),u,X,_)}},36968:(i,s,u)=>{var m=u(10611);i.exports=function set(i,s,u){return null==i?i:m(i,s,u)}},59704:(i,s,u)=>{var m=u(82908),_=u(67206),j=u(5076),M=u(1469),$=u(16612);i.exports=function some(i,s,u){var W=M(i)?m:j;return u&&$(i,s,u)&&(s=void 0),W(i,_(s,3))}},70479:i=>{i.exports=function stubArray(){return[]}},95062:i=>{i.exports=function stubFalse(){return!1}},18601:(i,s,u)=>{var m=u(14841),_=1/0;i.exports=function toFinite(i){return i?(i=m(i))===_||i===-1/0?17976931348623157e292*(i<0?-1:1):i==i?i:0:0===i?i:0}},40554:(i,s,u)=>{var m=u(18601);i.exports=function toInteger(i){var s=m(i),u=s%1;return s==s?u?s-u:s:0}},7334:(i,s,u)=>{var m=u(79833);i.exports=function toLower(i){return m(i).toLowerCase()}},14841:(i,s,u)=>{var m=u(27561),_=u(13218),j=u(33448),M=/^[-+]0x[0-9a-f]+$/i,$=/^0b[01]+$/i,W=/^0o[0-7]+$/i,X=parseInt;i.exports=function toNumber(i){if("number"==typeof i)return i;if(j(i))return NaN;if(_(i)){var s="function"==typeof i.valueOf?i.valueOf():i;i=_(s)?s+"":s}if("string"!=typeof i)return 0===i?i:+i;i=m(i);var u=$.test(i);return u||W.test(i)?X(i.slice(2),u?2:8):M.test(i)?NaN:+i}},30084:(i,s,u)=>{var m=u(29932),_=u(278),j=u(1469),M=u(33448),$=u(55514),W=u(40327),X=u(79833);i.exports=function toPath(i){return j(i)?m(i,W):M(i)?[i]:_($(X(i)))}},59881:(i,s,u)=>{var m=u(98363),_=u(81704);i.exports=function toPlainObject(i){return m(i,_(i))}},79833:(i,s,u)=>{var m=u(80531);i.exports=function toString(i){return null==i?"":m(i)}},11700:(i,s,u)=>{var m=u(98805)("toUpperCase");i.exports=m},58748:(i,s,u)=>{var m=u(49029),_=u(93157),j=u(79833),M=u(2757);i.exports=function words(i,s,u){return i=j(i),void 0===(s=u?void 0:s)?_(i)?M(i):m(i):i.match(s)||[]}},8111:(i,s,u)=>{var m=u(96425),_=u(7548),j=u(9435),M=u(1469),$=u(37005),W=u(21913),X=Object.prototype.hasOwnProperty;function lodash(i){if($(i)&&!M(i)&&!(i instanceof m)){if(i instanceof _)return i;if(X.call(i,"__wrapped__"))return W(i)}return new _(i)}lodash.prototype=j.prototype,lodash.prototype.constructor=lodash,i.exports=lodash},7287:(i,s,u)=>{var m=u(34865),_=u(1757);i.exports=function zipObject(i,s){return _(i||[],s||[],m)}},96470:(i,s,u)=>{"use strict";var m=u(47802),_=u(21102);s.highlight=highlight,s.highlightAuto=function highlightAuto(i,s){var u,M,$,W,X=s||{},Y=X.subset||m.listLanguages(),Z=X.prefix,ee=Y.length,ae=-1;null==Z&&(Z=j);if("string"!=typeof i)throw _("Expected `string` for value, got `%s`",i);M={relevance:0,language:null,value:[]},u={relevance:0,language:null,value:[]};for(;++aeM.relevance&&(M=$),$.relevance>u.relevance&&(M=u,u=$));M.language&&(u.secondBest=M);return u},s.registerLanguage=function registerLanguage(i,s){m.registerLanguage(i,s)},s.listLanguages=function listLanguages(){return m.listLanguages()},s.registerAlias=function registerAlias(i,s){var u,_=i;s&&((_={})[i]=s);for(u in _)m.registerAliases(_[u],{languageName:u})},Emitter.prototype.addText=function text(i){var s,u,m=this.stack;if(""===i)return;s=m[m.length-1],(u=s.children[s.children.length-1])&&"text"===u.type?u.value+=i:s.children.push({type:"text",value:i})},Emitter.prototype.addKeyword=function addKeyword(i,s){this.openNode(s),this.addText(i),this.closeNode()},Emitter.prototype.addSublanguage=function addSublanguage(i,s){var u=this.stack,m=u[u.length-1],_=i.rootNode.children,j=s?{type:"element",tagName:"span",properties:{className:[s]},children:_}:_;m.children=m.children.concat(j)},Emitter.prototype.openNode=function open(i){var s=this.stack,u=this.options.classPrefix+i,m=s[s.length-1],_={type:"element",tagName:"span",properties:{className:[u]},children:[]};m.children.push(_),s.push(_)},Emitter.prototype.closeNode=function close(){this.stack.pop()},Emitter.prototype.closeAllNodes=noop,Emitter.prototype.finalize=noop,Emitter.prototype.toHTML=function toHtmlNoop(){return""};var j="hljs-";function highlight(i,s,u){var M,$=m.configure({}),W=(u||{}).prefix;if("string"!=typeof i)throw _("Expected `string` for name, got `%s`",i);if(!m.getLanguage(i))throw _("Unknown language: `%s` is not registered",i);if("string"!=typeof s)throw _("Expected `string` for value, got `%s`",s);if(null==W&&(W=j),m.configure({__emitter:Emitter,classPrefix:W}),M=m.highlight(s,{language:i,ignoreIllegals:!0}),m.configure($||{}),M.errorRaised)throw M.errorRaised;return{relevance:M.relevance,language:M.language,value:M.emitter.rootNode.children}}function Emitter(i){this.options=i,this.rootNode={children:[]},this.stack=[this.rootNode]}function noop(){}},42566:(i,s,u)=>{const m=u(94885);function coerceElementMatchingCallback(i){return"string"==typeof i?s=>s.element===i:i.constructor&&i.extend?s=>s instanceof i:i}class ArraySlice{constructor(i){this.elements=i||[]}toValue(){return this.elements.map((i=>i.toValue()))}map(i,s){return this.elements.map(i,s)}flatMap(i,s){return this.map(i,s).reduce(((i,s)=>i.concat(s)),[])}compactMap(i,s){const u=[];return this.forEach((m=>{const _=i.bind(s)(m);_&&u.push(_)})),u}filter(i,s){return i=coerceElementMatchingCallback(i),new ArraySlice(this.elements.filter(i,s))}reject(i,s){return i=coerceElementMatchingCallback(i),new ArraySlice(this.elements.filter(m(i),s))}find(i,s){return i=coerceElementMatchingCallback(i),this.elements.find(i,s)}forEach(i,s){this.elements.forEach(i,s)}reduce(i,s){return this.elements.reduce(i,s)}includes(i){return this.elements.some((s=>s.equals(i)))}shift(){return this.elements.shift()}unshift(i){this.elements.unshift(this.refract(i))}push(i){return this.elements.push(this.refract(i)),this}add(i){this.push(i)}get(i){return this.elements[i]}getValue(i){const s=this.elements[i];if(s)return s.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(ArraySlice.prototype[Symbol.iterator]=function symbol(){return this.elements[Symbol.iterator]()}),i.exports=ArraySlice},17645:i=>{class KeyValuePair{constructor(i,s){this.key=i,this.value=s}clone(){const i=new KeyValuePair;return this.key&&(i.key=this.key.clone()),this.value&&(i.value=this.value.clone()),i}}i.exports=KeyValuePair},78520:(i,s,u)=>{const m=u(45220),_=u(47037),j=u(81763),M=u(51584),$=u(13218),W=u(28219),X=u(99829);class Namespace{constructor(i){this.elementMap={},this.elementDetection=[],this.Element=X.Element,this.KeyValuePair=X.KeyValuePair,i&&i.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(i){return i.namespace&&i.namespace({base:this}),i.load&&i.load({base:this}),this}useDefault(){return this.register("null",X.NullElement).register("string",X.StringElement).register("number",X.NumberElement).register("boolean",X.BooleanElement).register("array",X.ArrayElement).register("object",X.ObjectElement).register("member",X.MemberElement).register("ref",X.RefElement).register("link",X.LinkElement),this.detect(m,X.NullElement,!1).detect(_,X.StringElement,!1).detect(j,X.NumberElement,!1).detect(M,X.BooleanElement,!1).detect(Array.isArray,X.ArrayElement,!1).detect($,X.ObjectElement,!1),this}register(i,s){return this._elements=void 0,this.elementMap[i]=s,this}unregister(i){return this._elements=void 0,delete this.elementMap[i],this}detect(i,s,u){return void 0===u||u?this.elementDetection.unshift([i,s]):this.elementDetection.push([i,s]),this}toElement(i){if(i instanceof this.Element)return i;let s;for(let u=0;u{const s=i[0].toUpperCase()+i.substr(1);this._elements[s]=this.elementMap[i]}))),this._elements}get serialiser(){return new W(this)}}W.prototype.Namespace=Namespace,i.exports=Namespace},87526:(i,s,u)=>{const m=u(94885),_=u(42566);class ObjectSlice extends _{map(i,s){return this.elements.map((u=>i.bind(s)(u.value,u.key,u)))}filter(i,s){return new ObjectSlice(this.elements.filter((u=>i.bind(s)(u.value,u.key,u))))}reject(i,s){return this.filter(m(i.bind(s)))}forEach(i,s){return this.elements.forEach(((u,m)=>{i.bind(s)(u.value,u.key,u,m)}))}keys(){return this.map(((i,s)=>s.toValue()))}values(){return this.map((i=>i.toValue()))}}i.exports=ObjectSlice},99829:(i,s,u)=>{const m=u(3079),_=u(96295),j=u(16036),M=u(91090),$=u(18866),W=u(35804),X=u(5946),Y=u(76735),Z=u(59964),ee=u(38588),ae=u(42566),ie=u(87526),le=u(17645);function refract(i){if(i instanceof m)return i;if("string"==typeof i)return new j(i);if("number"==typeof i)return new M(i);if("boolean"==typeof i)return new $(i);if(null===i)return new _;if(Array.isArray(i))return new W(i.map(refract));if("object"==typeof i){return new Y(i)}return i}m.prototype.ObjectElement=Y,m.prototype.RefElement=ee,m.prototype.MemberElement=X,m.prototype.refract=refract,ae.prototype.refract=refract,i.exports={Element:m,NullElement:_,StringElement:j,NumberElement:M,BooleanElement:$,ArrayElement:W,MemberElement:X,ObjectElement:Y,LinkElement:Z,RefElement:ee,refract,ArraySlice:ae,ObjectSlice:ie,KeyValuePair:le}},59964:(i,s,u)=>{const m=u(3079);i.exports=class LinkElement extends m{constructor(i,s,u){super(i||[],s,u),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(i){this.attributes.set("relation",i)}get href(){return this.attributes.get("href")}set href(i){this.attributes.set("href",i)}}},38588:(i,s,u)=>{const m=u(3079);i.exports=class RefElement extends m{constructor(i,s,u){super(i||[],s,u),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(i){this.attributes.set("path",i)}}},43500:(i,s,u)=>{const m=u(78520),_=u(99829);s.lS=m,s.KeyValuePair=u(17645),s.O4=_.ArraySlice,s.rm=_.ObjectSlice,s.W_=_.Element,s.RP=_.StringElement,s.VL=_.NumberElement,s.hh=_.BooleanElement,s.zr=_.NullElement,s.ON=_.ArrayElement,s.Sb=_.ObjectElement,s.c6=_.MemberElement,s.tK=_.RefElement,s.EA=_.LinkElement,s.Qc=_.refract,u(28219),u(3414)},35804:(i,s,u)=>{const m=u(94885),_=u(3079),j=u(42566);class ArrayElement extends _{constructor(i,s,u){super(i||[],s,u),this.element="array"}primitive(){return"array"}get(i){return this.content[i]}getValue(i){const s=this.get(i);if(s)return s.toValue()}getIndex(i){return this.content[i]}set(i,s){return this.content[i]=this.refract(s),this}remove(i){const s=this.content.splice(i,1);return s.length?s[0]:null}map(i,s){return this.content.map(i,s)}flatMap(i,s){return this.map(i,s).reduce(((i,s)=>i.concat(s)),[])}compactMap(i,s){const u=[];return this.forEach((m=>{const _=i.bind(s)(m);_&&u.push(_)})),u}filter(i,s){return new j(this.content.filter(i,s))}reject(i,s){return this.filter(m(i),s)}reduce(i,s){let u,m;void 0!==s?(u=0,m=this.refract(s)):(u=1,m="object"===this.primitive()?this.first.value:this.first);for(let s=u;s{i.bind(s)(u,this.refract(m))}))}shift(){return this.content.shift()}unshift(i){this.content.unshift(this.refract(i))}push(i){return this.content.push(this.refract(i)),this}add(i){this.push(i)}findElements(i,s){const u=s||{},m=!!u.recursive,_=void 0===u.results?[]:u.results;return this.forEach(((s,u,j)=>{m&&void 0!==s.findElements&&s.findElements(i,{results:_,recursive:m}),i(s,u,j)&&_.push(s)})),_}find(i){return new j(this.findElements(i,{recursive:!0}))}findByElement(i){return this.find((s=>s.element===i))}findByClass(i){return this.find((s=>s.classes.includes(i)))}getById(i){return this.find((s=>s.id.toValue()===i)).first}includes(i){return this.content.some((s=>s.equals(i)))}contains(i){return this.includes(i)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(i){return new this.constructor(this.content.concat(i.content))}"fantasy-land/concat"(i){return this.concat(i)}"fantasy-land/map"(i){return new this.constructor(this.map(i))}"fantasy-land/chain"(i){return this.map((s=>i(s)),this).reduce(((i,s)=>i.concat(s)),this.empty())}"fantasy-land/filter"(i){return new this.constructor(this.content.filter(i))}"fantasy-land/reduce"(i,s){return this.content.reduce(i,s)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}ArrayElement.empty=function empty(){return new this},ArrayElement["fantasy-land/empty"]=ArrayElement.empty,"undefined"!=typeof Symbol&&(ArrayElement.prototype[Symbol.iterator]=function symbol(){return this.content[Symbol.iterator]()}),i.exports=ArrayElement},18866:(i,s,u)=>{const m=u(3079);i.exports=class BooleanElement extends m{constructor(i,s,u){super(i,s,u),this.element="boolean"}primitive(){return"boolean"}}},3079:(i,s,u)=>{const m=u(18446),_=u(17645),j=u(42566);class Element{constructor(i,s,u){s&&(this.meta=s),u&&(this.attributes=u),this.content=i}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((i=>{i.parent=this,i.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const i=new this.constructor;return i.element=this.element,this.meta.length&&(i._meta=this.meta.clone()),this.attributes.length&&(i._attributes=this.attributes.clone()),this.content?this.content.clone?i.content=this.content.clone():Array.isArray(this.content)?i.content=this.content.map((i=>i.clone())):i.content=this.content:i.content=this.content,i}toValue(){return this.content instanceof Element?this.content.toValue():this.content instanceof _?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((i=>i.toValue()),this):this.content}toRef(i){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const s=new this.RefElement(this.id.toValue());return i&&(s.path=i),s}findRecursive(...i){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const s=i.pop();let u=new j;const append=(i,s)=>(i.push(s),i),checkElement=(i,u)=>{u.element===s&&i.push(u);const m=u.findRecursive(s);return m&&m.reduce(append,i),u.content instanceof _&&(u.content.key&&checkElement(i,u.content.key),u.content.value&&checkElement(i,u.content.value)),i};return this.content&&(this.content.element&&checkElement(u,this.content),Array.isArray(this.content)&&this.content.reduce(checkElement,u)),i.isEmpty||(u=u.filter((s=>{let u=s.parents.map((i=>i.element));for(const s in i){const m=i[s],_=u.indexOf(m);if(-1===_)return!1;u=u.splice(0,_)}return!0}))),u}set(i){return this.content=i,this}equals(i){return m(this.toValue(),i)}getMetaProperty(i,s){if(!this.meta.hasKey(i)){if(this.isFrozen){const i=this.refract(s);return i.freeze(),i}this.meta.set(i,s)}return this.meta.get(i)}setMetaProperty(i,s){this.meta.set(i,s)}get element(){return this._storedElement||"element"}set element(i){this._storedElement=i}get content(){return this._content}set content(i){if(i instanceof Element)this._content=i;else if(i instanceof j)this.content=i.elements;else if("string"==typeof i||"number"==typeof i||"boolean"==typeof i||"null"===i||null==i)this._content=i;else if(i instanceof _)this._content=i;else if(Array.isArray(i))this._content=i.map(this.refract);else{if("object"!=typeof i)throw new Error("Cannot set content to given value");this._content=Object.keys(i).map((s=>new this.MemberElement(s,i[s])))}}get meta(){if(!this._meta){if(this.isFrozen){const i=new this.ObjectElement;return i.freeze(),i}this._meta=new this.ObjectElement}return this._meta}set meta(i){i instanceof this.ObjectElement?this._meta=i:this.meta.set(i||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const i=new this.ObjectElement;return i.freeze(),i}this._attributes=new this.ObjectElement}return this._attributes}set attributes(i){i instanceof this.ObjectElement?this._attributes=i:this.attributes.set(i||{})}get id(){return this.getMetaProperty("id","")}set id(i){this.setMetaProperty("id",i)}get classes(){return this.getMetaProperty("classes",[])}set classes(i){this.setMetaProperty("classes",i)}get title(){return this.getMetaProperty("title","")}set title(i){this.setMetaProperty("title",i)}get description(){return this.getMetaProperty("description","")}set description(i){this.setMetaProperty("description",i)}get links(){return this.getMetaProperty("links",[])}set links(i){this.setMetaProperty("links",i)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:i}=this;const s=new j;for(;i;)s.push(i),i=i.parent;return s}get children(){if(Array.isArray(this.content))return new j(this.content);if(this.content instanceof _){const i=new j([this.content.key]);return this.content.value&&i.push(this.content.value),i}return this.content instanceof Element?new j([this.content]):new j}get recursiveChildren(){const i=new j;return this.children.forEach((s=>{i.push(s),s.recursiveChildren.forEach((s=>{i.push(s)}))})),i}}i.exports=Element},5946:(i,s,u)=>{const m=u(17645),_=u(3079);i.exports=class MemberElement extends _{constructor(i,s,u,_){super(new m,u,_),this.element="member",this.key=i,this.value=s}get key(){return this.content.key}set key(i){this.content.key=this.refract(i)}get value(){return this.content.value}set value(i){this.content.value=this.refract(i)}}},96295:(i,s,u)=>{const m=u(3079);i.exports=class NullElement extends m{constructor(i,s,u){super(i||null,s,u),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},91090:(i,s,u)=>{const m=u(3079);i.exports=class NumberElement extends m{constructor(i,s,u){super(i,s,u),this.element="number"}primitive(){return"number"}}},76735:(i,s,u)=>{const m=u(94885),_=u(13218),j=u(35804),M=u(5946),$=u(87526);i.exports=class ObjectElement extends j{constructor(i,s,u){super(i||[],s,u),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((i,s)=>(i[s.key.toValue()]=s.value?s.value.toValue():void 0,i)),{})}get(i){const s=this.getMember(i);if(s)return s.value}getMember(i){if(void 0!==i)return this.content.find((s=>s.key.toValue()===i))}remove(i){let s=null;return this.content=this.content.filter((u=>u.key.toValue()!==i||(s=u,!1))),s}getKey(i){const s=this.getMember(i);if(s)return s.key}set(i,s){if(_(i))return Object.keys(i).forEach((s=>{this.set(s,i[s])})),this;const u=i,m=this.getMember(u);return m?m.value=s:this.content.push(new M(u,s)),this}keys(){return this.content.map((i=>i.key.toValue()))}values(){return this.content.map((i=>i.value.toValue()))}hasKey(i){return this.content.some((s=>s.key.equals(i)))}items(){return this.content.map((i=>[i.key.toValue(),i.value.toValue()]))}map(i,s){return this.content.map((u=>i.bind(s)(u.value,u.key,u)))}compactMap(i,s){const u=[];return this.forEach(((m,_,j)=>{const M=i.bind(s)(m,_,j);M&&u.push(M)})),u}filter(i,s){return new $(this.content).filter(i,s)}reject(i,s){return this.filter(m(i),s)}forEach(i,s){return this.content.forEach((u=>i.bind(s)(u.value,u.key,u)))}}},16036:(i,s,u)=>{const m=u(3079);i.exports=class StringElement extends m{constructor(i,s,u){super(i,s,u),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},3414:(i,s,u)=>{const m=u(28219);i.exports=class JSON06Serialiser extends m{serialise(i){if(!(i instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${i}\` is not an Element instance`);let s;i._attributes&&i.attributes.get("variable")&&(s=i.attributes.get("variable"));const u={element:i.element};i._meta&&i._meta.length>0&&(u.meta=this.serialiseObject(i.meta));const m="enum"===i.element||-1!==i.attributes.keys().indexOf("enumerations");if(m){const s=this.enumSerialiseAttributes(i);s&&(u.attributes=s)}else if(i._attributes&&i._attributes.length>0){let{attributes:m}=i;m.get("metadata")&&(m=m.clone(),m.set("meta",m.get("metadata")),m.remove("metadata")),"member"===i.element&&s&&(m=m.clone(),m.remove("variable")),m.length>0&&(u.attributes=this.serialiseObject(m))}if(m)u.content=this.enumSerialiseContent(i,u);else if(this[`${i.element}SerialiseContent`])u.content=this[`${i.element}SerialiseContent`](i,u);else if(void 0!==i.content){let m;s&&i.content.key?(m=i.content.clone(),m.key.attributes.set("variable",s),m=this.serialiseContent(m)):m=this.serialiseContent(i.content),this.shouldSerialiseContent(i,m)&&(u.content=m)}else this.shouldSerialiseContent(i,i.content)&&i instanceof this.namespace.elements.Array&&(u.content=[]);return u}shouldSerialiseContent(i,s){return"parseResult"===i.element||"httpRequest"===i.element||"httpResponse"===i.element||"category"===i.element||"link"===i.element||void 0!==s&&(!Array.isArray(s)||0!==s.length)}refSerialiseContent(i,s){return delete s.attributes,{href:i.toValue(),path:i.path.toValue()}}sourceMapSerialiseContent(i){return i.toValue()}dataStructureSerialiseContent(i){return[this.serialiseContent(i.content)]}enumSerialiseAttributes(i){const s=i.attributes.clone(),u=s.remove("enumerations")||new this.namespace.elements.Array([]),m=s.get("default");let _=s.get("samples")||new this.namespace.elements.Array([]);if(m&&m.content&&(m.content.attributes&&m.content.attributes.remove("typeAttributes"),s.set("default",new this.namespace.elements.Array([m.content]))),_.forEach((i=>{i.content&&i.content.element&&i.content.attributes.remove("typeAttributes")})),i.content&&0!==u.length&&_.unshift(i.content),_=_.map((i=>i instanceof this.namespace.elements.Array?[i]:new this.namespace.elements.Array([i.content]))),_.length&&s.set("samples",_),s.length>0)return this.serialiseObject(s)}enumSerialiseContent(i){if(i._attributes){const s=i.attributes.get("enumerations");if(s&&s.length>0)return s.content.map((i=>{const s=i.clone();return s.attributes.remove("typeAttributes"),this.serialise(s)}))}if(i.content){const s=i.content.clone();return s.attributes.remove("typeAttributes"),[this.serialise(s)]}return[]}deserialise(i){if("string"==typeof i)return new this.namespace.elements.String(i);if("number"==typeof i)return new this.namespace.elements.Number(i);if("boolean"==typeof i)return new this.namespace.elements.Boolean(i);if(null===i)return new this.namespace.elements.Null;if(Array.isArray(i))return new this.namespace.elements.Array(i.map(this.deserialise,this));const s=this.namespace.getElementClass(i.element),u=new s;u.element!==i.element&&(u.element=i.element),i.meta&&this.deserialiseObject(i.meta,u.meta),i.attributes&&this.deserialiseObject(i.attributes,u.attributes);const m=this.deserialiseContent(i.content);if(void 0===m&&null!==u.content||(u.content=m),"enum"===u.element){u.content&&u.attributes.set("enumerations",u.content);let i=u.attributes.get("samples");if(u.attributes.remove("samples"),i){const m=i;i=new this.namespace.elements.Array,m.forEach((m=>{m.forEach((m=>{const _=new s(m);_.element=u.element,i.push(_)}))}));const _=i.shift();u.content=_?_.content:void 0,u.attributes.set("samples",i)}else u.content=void 0;let m=u.attributes.get("default");if(m&&m.length>0){m=m.get(0);const i=new s(m);i.element=u.element,u.attributes.set("default",i)}}else if("dataStructure"===u.element&&Array.isArray(u.content))[u.content]=u.content;else if("category"===u.element){const i=u.attributes.get("meta");i&&(u.attributes.set("metadata",i),u.attributes.remove("meta"))}else"member"===u.element&&u.key&&u.key._attributes&&u.key._attributes.getValue("variable")&&(u.attributes.set("variable",u.key.attributes.get("variable")),u.key.attributes.remove("variable"));return u}serialiseContent(i){if(i instanceof this.namespace.elements.Element)return this.serialise(i);if(i instanceof this.namespace.KeyValuePair){const s={key:this.serialise(i.key)};return i.value&&(s.value=this.serialise(i.value)),s}return i&&i.map?i.map(this.serialise,this):i}deserialiseContent(i){if(i){if(i.element)return this.deserialise(i);if(i.key){const s=new this.namespace.KeyValuePair(this.deserialise(i.key));return i.value&&(s.value=this.deserialise(i.value)),s}if(i.map)return i.map(this.deserialise,this)}return i}shouldRefract(i){return!!(i._attributes&&i.attributes.keys().length||i._meta&&i.meta.keys().length)||"enum"!==i.element&&(i.element!==i.primitive()||"member"===i.element)}convertKeyToRefract(i,s){return this.shouldRefract(s)?this.serialise(s):"enum"===s.element?this.serialiseEnum(s):"array"===s.element?s.map((s=>this.shouldRefract(s)||"default"===i?this.serialise(s):"array"===s.element||"object"===s.element||"enum"===s.element?s.children.map((i=>this.serialise(i))):s.toValue())):"object"===s.element?(s.content||[]).map(this.serialise,this):s.toValue()}serialiseEnum(i){return i.children.map((i=>this.serialise(i)))}serialiseObject(i){const s={};return i.forEach(((i,u)=>{if(i){const m=u.toValue();s[m]=this.convertKeyToRefract(m,i)}})),s}deserialiseObject(i,s){Object.keys(i).forEach((u=>{s.set(u,this.deserialise(i[u]))}))}}},28219:i=>{i.exports=class JSONSerialiser{constructor(i){this.namespace=i||new this.Namespace}serialise(i){if(!(i instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${i}\` is not an Element instance`);const s={element:i.element};i._meta&&i._meta.length>0&&(s.meta=this.serialiseObject(i.meta)),i._attributes&&i._attributes.length>0&&(s.attributes=this.serialiseObject(i.attributes));const u=this.serialiseContent(i.content);return void 0!==u&&(s.content=u),s}deserialise(i){if(!i.element)throw new Error("Given value is not an object containing an element name");const s=new(this.namespace.getElementClass(i.element));s.element!==i.element&&(s.element=i.element),i.meta&&this.deserialiseObject(i.meta,s.meta),i.attributes&&this.deserialiseObject(i.attributes,s.attributes);const u=this.deserialiseContent(i.content);return void 0===u&&null!==s.content||(s.content=u),s}serialiseContent(i){if(i instanceof this.namespace.elements.Element)return this.serialise(i);if(i instanceof this.namespace.KeyValuePair){const s={key:this.serialise(i.key)};return i.value&&(s.value=this.serialise(i.value)),s}if(i&&i.map){if(0===i.length)return;return i.map(this.serialise,this)}return i}deserialiseContent(i){if(i){if(i.element)return this.deserialise(i);if(i.key){const s=new this.namespace.KeyValuePair(this.deserialise(i.key));return i.value&&(s.value=this.deserialise(i.value)),s}if(i.map)return i.map(this.deserialise,this)}return i}serialiseObject(i){const s={};if(i.forEach(((i,u)=>{i&&(s[u.toValue()]=this.serialise(i))})),0!==Object.keys(s).length)return s}deserialiseObject(i,s){Object.keys(i).forEach((u=>{s.set(u,this.deserialise(i[u]))}))}}},27418:i=>{"use strict";var s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;i.exports=function shouldUseNative(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de","5"===Object.getOwnPropertyNames(i)[0])return!1;for(var s={},u=0;u<10;u++)s["_"+String.fromCharCode(u)]=u;if("0123456789"!==Object.getOwnPropertyNames(s).map((function(i){return s[i]})).join(""))return!1;var m={};return"abcdefghijklmnopqrst".split("").forEach((function(i){m[i]=i})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},m)).join("")}catch(i){return!1}}()?Object.assign:function(i,_){for(var j,M,$=function toObject(i){if(null==i)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}(i),W=1;W{var m="function"==typeof Map&&Map.prototype,_=Object.getOwnPropertyDescriptor&&m?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,j=m&&_&&"function"==typeof _.get?_.get:null,M=m&&Map.prototype.forEach,$="function"==typeof Set&&Set.prototype,W=Object.getOwnPropertyDescriptor&&$?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,X=$&&W&&"function"==typeof W.get?W.get:null,Y=$&&Set.prototype.forEach,Z="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,ee="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,ae="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,ie=Boolean.prototype.valueOf,le=Object.prototype.toString,ce=Function.prototype.toString,pe=String.prototype.match,de=String.prototype.slice,fe=String.prototype.replace,ye=String.prototype.toUpperCase,be=String.prototype.toLowerCase,_e=RegExp.prototype.test,we=Array.prototype.concat,Se=Array.prototype.join,xe=Array.prototype.slice,Pe=Math.floor,Ie="function"==typeof BigInt?BigInt.prototype.valueOf:null,Te=Object.getOwnPropertySymbols,Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,qe="function"==typeof Symbol&&"object"==typeof Symbol.iterator,ze="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===qe||"symbol")?Symbol.toStringTag:null,Ve=Object.prototype.propertyIsEnumerable,We=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(i){return i.__proto__}:null);function addNumericSeparator(i,s){if(i===1/0||i===-1/0||i!=i||i&&i>-1e3&&i<1e3||_e.call(/e/,s))return s;var u=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof i){var m=i<0?-Pe(-i):Pe(i);if(m!==i){var _=String(m),j=de.call(s,_.length+1);return fe.call(_,u,"$&_")+"."+fe.call(fe.call(j,/([0-9]{3})/g,"$&_"),/_$/,"")}}return fe.call(s,u,"$&_")}var He=u(24654),Xe=He.custom,Ye=isSymbol(Xe)?Xe:null;function wrapQuotes(i,s,u){var m="double"===(u.quoteStyle||s)?'"':"'";return m+i+m}function quote(i){return fe.call(String(i),/"/g,""")}function isArray(i){return!("[object Array]"!==toStr(i)||ze&&"object"==typeof i&&ze in i)}function isRegExp(i){return!("[object RegExp]"!==toStr(i)||ze&&"object"==typeof i&&ze in i)}function isSymbol(i){if(qe)return i&&"object"==typeof i&&i instanceof Symbol;if("symbol"==typeof i)return!0;if(!i||"object"!=typeof i||!Re)return!1;try{return Re.call(i),!0}catch(i){}return!1}i.exports=function inspect_(i,s,u,m){var _=s||{};if(has(_,"quoteStyle")&&"single"!==_.quoteStyle&&"double"!==_.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has(_,"maxStringLength")&&("number"==typeof _.maxStringLength?_.maxStringLength<0&&_.maxStringLength!==1/0:null!==_.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var $=!has(_,"customInspect")||_.customInspect;if("boolean"!=typeof $&&"symbol"!==$)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has(_,"indent")&&null!==_.indent&&"\t"!==_.indent&&!(parseInt(_.indent,10)===_.indent&&_.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has(_,"numericSeparator")&&"boolean"!=typeof _.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var W=_.numericSeparator;if(void 0===i)return"undefined";if(null===i)return"null";if("boolean"==typeof i)return i?"true":"false";if("string"==typeof i)return inspectString(i,_);if("number"==typeof i){if(0===i)return 1/0/i>0?"0":"-0";var le=String(i);return W?addNumericSeparator(i,le):le}if("bigint"==typeof i){var ye=String(i)+"n";return W?addNumericSeparator(i,ye):ye}var _e=void 0===_.depth?5:_.depth;if(void 0===u&&(u=0),u>=_e&&_e>0&&"object"==typeof i)return isArray(i)?"[Array]":"[Object]";var Pe=function getIndent(i,s){var u;if("\t"===i.indent)u="\t";else{if(!("number"==typeof i.indent&&i.indent>0))return null;u=Se.call(Array(i.indent+1)," ")}return{base:u,prev:Se.call(Array(s+1),u)}}(_,u);if(void 0===m)m=[];else if(indexOf(m,i)>=0)return"[Circular]";function inspect(i,s,j){if(s&&(m=xe.call(m)).push(s),j){var M={depth:_.depth};return has(_,"quoteStyle")&&(M.quoteStyle=_.quoteStyle),inspect_(i,M,u+1,m)}return inspect_(i,_,u+1,m)}if("function"==typeof i&&!isRegExp(i)){var Te=function nameOf(i){if(i.name)return i.name;var s=pe.call(ce.call(i),/^function\s*([\w$]+)/);if(s)return s[1];return null}(i),Xe=arrObjKeys(i,inspect);return"[Function"+(Te?": "+Te:" (anonymous)")+"]"+(Xe.length>0?" { "+Se.call(Xe,", ")+" }":"")}if(isSymbol(i)){var Qe=qe?fe.call(String(i),/^(Symbol\(.*\))_[^)]*$/,"$1"):Re.call(i);return"object"!=typeof i||qe?Qe:markBoxed(Qe)}if(function isElement(i){if(!i||"object"!=typeof i)return!1;if("undefined"!=typeof HTMLElement&&i instanceof HTMLElement)return!0;return"string"==typeof i.nodeName&&"function"==typeof i.getAttribute}(i)){for(var et="<"+be.call(String(i.nodeName)),tt=i.attributes||[],rt=0;rt"}if(isArray(i)){if(0===i.length)return"[]";var nt=arrObjKeys(i,inspect);return Pe&&!function singleLineValues(i){for(var s=0;s=0)return!1;return!0}(nt)?"["+indentedJoin(nt,Pe)+"]":"[ "+Se.call(nt,", ")+" ]"}if(function isError(i){return!("[object Error]"!==toStr(i)||ze&&"object"==typeof i&&ze in i)}(i)){var ot=arrObjKeys(i,inspect);return"cause"in Error.prototype||!("cause"in i)||Ve.call(i,"cause")?0===ot.length?"["+String(i)+"]":"{ ["+String(i)+"] "+Se.call(ot,", ")+" }":"{ ["+String(i)+"] "+Se.call(we.call("[cause]: "+inspect(i.cause),ot),", ")+" }"}if("object"==typeof i&&$){if(Ye&&"function"==typeof i[Ye]&&He)return He(i,{depth:_e-u});if("symbol"!==$&&"function"==typeof i.inspect)return i.inspect()}if(function isMap(i){if(!j||!i||"object"!=typeof i)return!1;try{j.call(i);try{X.call(i)}catch(i){return!0}return i instanceof Map}catch(i){}return!1}(i)){var at=[];return M&&M.call(i,(function(s,u){at.push(inspect(u,i,!0)+" => "+inspect(s,i))})),collectionOf("Map",j.call(i),at,Pe)}if(function isSet(i){if(!X||!i||"object"!=typeof i)return!1;try{X.call(i);try{j.call(i)}catch(i){return!0}return i instanceof Set}catch(i){}return!1}(i)){var it=[];return Y&&Y.call(i,(function(s){it.push(inspect(s,i))})),collectionOf("Set",X.call(i),it,Pe)}if(function isWeakMap(i){if(!Z||!i||"object"!=typeof i)return!1;try{Z.call(i,Z);try{ee.call(i,ee)}catch(i){return!0}return i instanceof WeakMap}catch(i){}return!1}(i))return weakCollectionOf("WeakMap");if(function isWeakSet(i){if(!ee||!i||"object"!=typeof i)return!1;try{ee.call(i,ee);try{Z.call(i,Z)}catch(i){return!0}return i instanceof WeakSet}catch(i){}return!1}(i))return weakCollectionOf("WeakSet");if(function isWeakRef(i){if(!ae||!i||"object"!=typeof i)return!1;try{return ae.call(i),!0}catch(i){}return!1}(i))return weakCollectionOf("WeakRef");if(function isNumber(i){return!("[object Number]"!==toStr(i)||ze&&"object"==typeof i&&ze in i)}(i))return markBoxed(inspect(Number(i)));if(function isBigInt(i){if(!i||"object"!=typeof i||!Ie)return!1;try{return Ie.call(i),!0}catch(i){}return!1}(i))return markBoxed(inspect(Ie.call(i)));if(function isBoolean(i){return!("[object Boolean]"!==toStr(i)||ze&&"object"==typeof i&&ze in i)}(i))return markBoxed(ie.call(i));if(function isString(i){return!("[object String]"!==toStr(i)||ze&&"object"==typeof i&&ze in i)}(i))return markBoxed(inspect(String(i)));if(!function isDate(i){return!("[object Date]"!==toStr(i)||ze&&"object"==typeof i&&ze in i)}(i)&&!isRegExp(i)){var st=arrObjKeys(i,inspect),lt=We?We(i)===Object.prototype:i instanceof Object||i.constructor===Object,ct=i instanceof Object?"":"null prototype",ut=!lt&&ze&&Object(i)===i&&ze in i?de.call(toStr(i),8,-1):ct?"Object":"",pt=(lt||"function"!=typeof i.constructor?"":i.constructor.name?i.constructor.name+" ":"")+(ut||ct?"["+Se.call(we.call([],ut||[],ct||[]),": ")+"] ":"");return 0===st.length?pt+"{}":Pe?pt+"{"+indentedJoin(st,Pe)+"}":pt+"{ "+Se.call(st,", ")+" }"}return String(i)};var Qe=Object.prototype.hasOwnProperty||function(i){return i in this};function has(i,s){return Qe.call(i,s)}function toStr(i){return le.call(i)}function indexOf(i,s){if(i.indexOf)return i.indexOf(s);for(var u=0,m=i.length;us.maxStringLength){var u=i.length-s.maxStringLength,m="... "+u+" more character"+(u>1?"s":"");return inspectString(de.call(i,0,s.maxStringLength),s)+m}return wrapQuotes(fe.call(fe.call(i,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte),"single",s)}function lowbyte(i){var s=i.charCodeAt(0),u={8:"b",9:"t",10:"n",12:"f",13:"r"}[s];return u?"\\"+u:"\\x"+(s<16?"0":"")+ye.call(s.toString(16))}function markBoxed(i){return"Object("+i+")"}function weakCollectionOf(i){return i+" { ? }"}function collectionOf(i,s,u,m){return i+" ("+s+") {"+(m?indentedJoin(u,m):Se.call(u,", "))+"}"}function indentedJoin(i,s){if(0===i.length)return"";var u="\n"+s.prev+s.base;return u+Se.call(i,","+u)+"\n"+s.prev}function arrObjKeys(i,s){var u=isArray(i),m=[];if(u){m.length=i.length;for(var _=0;_{var s,u,m=i.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(i){if(s===setTimeout)return setTimeout(i,0);if((s===defaultSetTimout||!s)&&setTimeout)return s=setTimeout,setTimeout(i,0);try{return s(i,0)}catch(u){try{return s.call(null,i,0)}catch(u){return s.call(this,i,0)}}}!function(){try{s="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(i){s=defaultSetTimout}try{u="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(i){u=defaultClearTimeout}}();var _,j=[],M=!1,$=-1;function cleanUpNextTick(){M&&_&&(M=!1,_.length?j=_.concat(j):$=-1,j.length&&drainQueue())}function drainQueue(){if(!M){var i=runTimeout(cleanUpNextTick);M=!0;for(var s=j.length;s;){for(_=j,j=[];++$1)for(var u=1;u{"use strict";var m=u(50414);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,i.exports=function(){function shim(i,s,u,_,j,M){if(M!==m){var $=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw $.name="Invariant Violation",$}}function getShim(){return shim}shim.isRequired=shim;var i={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return i.PropTypes=i,i}},45697:(i,s,u)=>{i.exports=u(92703)()},50414:i=>{"use strict";i.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},57129:(i,s)=>{"use strict";var u=Object.prototype.hasOwnProperty;function decode(i){try{return decodeURIComponent(i.replace(/\+/g," "))}catch(i){return null}}function encode(i){try{return encodeURIComponent(i)}catch(i){return null}}s.stringify=function querystringify(i,s){s=s||"";var m,_,j=[];for(_ in"string"!=typeof s&&(s="?"),i)if(u.call(i,_)){if((m=i[_])||null!=m&&!isNaN(m)||(m=""),_=encode(_),m=encode(m),null===_||null===m)continue;j.push(_+"="+m)}return j.length?s+j.join("&"):""},s.parse=function querystring(i){for(var s,u=/([^=?#&]+)=?([^&]*)/g,m={};s=u.exec(i);){var _=decode(s[1]),j=decode(s[2]);null===_||null===j||_ in m||(m[_]=j)}return m}},14419:(i,s,u)=>{const m=u(60697),_=u(69450),j=m.types;i.exports=class RandExp{constructor(i,s){if(this._setDefaults(i),i instanceof RegExp)this.ignoreCase=i.ignoreCase,this.multiline=i.multiline,i=i.source;else{if("string"!=typeof i)throw new Error("Expected a regexp or string");this.ignoreCase=s&&-1!==s.indexOf("i"),this.multiline=s&&-1!==s.indexOf("m")}this.tokens=m(i)}_setDefaults(i){this.max=null!=i.max?i.max:null!=RandExp.prototype.max?RandExp.prototype.max:100,this.defaultRange=i.defaultRange?i.defaultRange:this.defaultRange.clone(),i.randInt&&(this.randInt=i.randInt)}gen(){return this._gen(this.tokens,[])}_gen(i,s){var u,m,_,M,$;switch(i.type){case j.ROOT:case j.GROUP:if(i.followedBy||i.notFollowedBy)return"";for(i.remember&&void 0===i.groupNumber&&(i.groupNumber=s.push(null)-1),m="",M=0,$=(u=i.options?this._randSelect(i.options):i.stack).length;M<$;M++)m+=this._gen(u[M],s);return i.remember&&(s[i.groupNumber]=m),m;case j.POSITION:return"";case j.SET:var W=this._expand(i);return W.length?String.fromCharCode(this._randSelect(W)):"";case j.REPETITION:for(_=this.randInt(i.min,i.max===1/0?i.min+this.max:i.max),m="",M=0;M<_;M++)m+=this._gen(i.value,s);return m;case j.REFERENCE:return s[i.value-1]||"";case j.CHAR:var X=this.ignoreCase&&this._randBool()?this._toOtherCase(i.value):i.value;return String.fromCharCode(X)}}_toOtherCase(i){return i+(97<=i&&i<=122?-32:65<=i&&i<=90?32:0)}_randBool(){return!this.randInt(0,1)}_randSelect(i){return i instanceof _?i.index(this.randInt(0,i.length-1)):i[this.randInt(0,i.length-1)]}_expand(i){if(i.type===m.types.CHAR)return new _(i.value);if(i.type===m.types.RANGE)return new _(i.from,i.to);{let s=new _;for(let u=0;u{"use strict";var m=u(34155),_=65536,j=4294967295;var M=u(89509).Buffer,$=u.g.crypto||u.g.msCrypto;$&&$.getRandomValues?i.exports=function randomBytes(i,s){if(i>j)throw new RangeError("requested too many random bytes");var u=M.allocUnsafe(i);if(i>0)if(i>_)for(var W=0;W{"use strict";function _typeof(i){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"==typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof(i)}Object.defineProperty(s,"__esModule",{value:!0}),s.CopyToClipboard=void 0;var m=_interopRequireDefault(u(67294)),_=_interopRequireDefault(u(20640)),j=["text","onCopy","options","children"];function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}function ownKeys(i,s){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(i);s&&(m=m.filter((function(s){return Object.getOwnPropertyDescriptor(i,s).enumerable}))),u.push.apply(u,m)}return u}function _objectSpread(i){for(var s=1;s=0||(_[u]=i[u]);return _}(i,s);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(i);for(m=0;m=0||Object.prototype.propertyIsEnumerable.call(i,u)&&(_[u]=i[u])}return _}function _defineProperties(i,s){for(var u=0;u{"use strict";var m=u(74300).CopyToClipboard;m.CopyToClipboard=m,i.exports=m},53441:(i,s,u)=>{"use strict";function _typeof(i){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"==typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof(i)}Object.defineProperty(s,"__esModule",{value:!0}),s.DebounceInput=void 0;var m=_interopRequireDefault(u(67294)),_=_interopRequireDefault(u(91296)),j=["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"];function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}function _objectWithoutProperties(i,s){if(null==i)return{};var u,m,_=function _objectWithoutPropertiesLoose(i,s){if(null==i)return{};var u,m,_={},j=Object.keys(i);for(m=0;m=0||(_[u]=i[u]);return _}(i,s);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(i);for(m=0;m=0||Object.prototype.propertyIsEnumerable.call(i,u)&&(_[u]=i[u])}return _}function ownKeys(i,s){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(i);s&&(m=m.filter((function(s){return Object.getOwnPropertyDescriptor(i,s).enumerable}))),u.push.apply(u,m)}return u}function _objectSpread(i){for(var s=1;s=m?u.notify(i):s.length>_.length&&u.notify(_objectSpread(_objectSpread({},i),{},{target:_objectSpread(_objectSpread({},i.target),{},{value:""})}))}))})),_defineProperty(_assertThisInitialized(u),"onKeyDown",(function(i){"Enter"===i.key&&u.forceNotify(i);var s=u.props.onKeyDown;s&&(i.persist(),s(i))})),_defineProperty(_assertThisInitialized(u),"onBlur",(function(i){u.forceNotify(i);var s=u.props.onBlur;s&&(i.persist(),s(i))})),_defineProperty(_assertThisInitialized(u),"createNotifier",(function(i){if(i<0)u.notify=function(){return null};else if(0===i)u.notify=u.doNotify;else{var s=(0,_.default)((function(i){u.isDebouncing=!1,u.doNotify(i)}),i);u.notify=function(i){u.isDebouncing=!0,s(i)},u.flush=function(){return s.flush()},u.cancel=function(){u.isDebouncing=!1,s.cancel()}}})),_defineProperty(_assertThisInitialized(u),"doNotify",(function(){u.props.onChange.apply(void 0,arguments)})),_defineProperty(_assertThisInitialized(u),"forceNotify",(function(i){var s=u.props.debounceTimeout;if(u.isDebouncing||!(s>0)){u.cancel&&u.cancel();var m=u.state.value,_=u.props.minLength;m.length>=_?u.doNotify(i):u.doNotify(_objectSpread(_objectSpread({},i),{},{target:_objectSpread(_objectSpread({},i.target),{},{value:m})}))}})),u.isDebouncing=!1,u.state={value:void 0===i.value||null===i.value?"":i.value};var m=u.props.debounceTimeout;return u.createNotifier(m),u}return function _createClass(i,s,u){return s&&_defineProperties(i.prototype,s),u&&_defineProperties(i,u),Object.defineProperty(i,"prototype",{writable:!1}),i}(DebounceInput,[{key:"componentDidUpdate",value:function componentDidUpdate(i){if(!this.isDebouncing){var s=this.props,u=s.value,m=s.debounceTimeout,_=i.debounceTimeout,j=i.value,M=this.state.value;void 0!==u&&j!==u&&M!==u&&this.setState({value:u}),m!==_&&this.createNotifier(m)}}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.flush&&this.flush()}},{key:"render",value:function render(){var i,s,u=this.props,_=u.element,M=(u.onChange,u.value,u.minLength,u.debounceTimeout,u.forceNotifyByEnter),$=u.forceNotifyOnBlur,W=u.onKeyDown,X=u.onBlur,Y=u.inputRef,Z=_objectWithoutProperties(u,j),ee=this.state.value;i=M?{onKeyDown:this.onKeyDown}:W?{onKeyDown:W}:{},s=$?{onBlur:this.onBlur}:X?{onBlur:X}:{};var ae=Y?{ref:Y}:{};return m.default.createElement(_,_objectSpread(_objectSpread(_objectSpread(_objectSpread({},Z),{},{onChange:this.onChange,value:ee},i),s),ae))}}]),DebounceInput}(m.default.PureComponent);s.DebounceInput=M,_defineProperty(M,"defaultProps",{element:"input",type:"text",onKeyDown:void 0,onBlur:void 0,value:void 0,minLength:0,debounceTimeout:100,forceNotifyByEnter:!0,forceNotifyOnBlur:!0,inputRef:void 0})},775:(i,s,u)=>{"use strict";var m=u(53441).DebounceInput;m.DebounceInput=m,i.exports=m},64448:(i,s,u)=>{"use strict";var m=u(67294),_=u(27418),j=u(63840);function y(i){for(var s="https://reactjs.org/docs/error-decoder.html?invariant="+i,u=1;u
")}value(){return this.buffer}span(i){this.buffer+=``}}class TokenTree{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(i){this.top.children.push(i)}openNode(i){const s={kind:i,children:[]};this.add(s),this.stack.push(s)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(i){return this.constructor._walk(i,this.rootNode)}static _walk(i,s){return"string"==typeof s?i.addText(s):s.children&&(i.openNode(s),s.children.forEach((s=>this._walk(i,s))),i.closeNode(s)),i}static _collapse(i){"string"!=typeof i&&i.children&&(i.children.every((i=>"string"==typeof i))?i.children=[i.children.join("")]:i.children.forEach((i=>{TokenTree._collapse(i)})))}}class TokenTreeEmitter extends TokenTree{constructor(i){super(),this.options=i}addKeyword(i,s){""!==i&&(this.openNode(s),this.addText(i),this.closeNode())}addText(i){""!==i&&this.add(i)}addSublanguage(i,s){const u=i.root;u.kind=s,u.sublanguage=!0,this.add(u)}toHTML(){return new HTMLRenderer(this,this.options).value()}finalize(){return!0}}function source(i){return i?"string"==typeof i?i:i.source:null}const m=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;const v="[a-zA-Z]\\w*",_="[a-zA-Z_]\\w*",j="\\b\\d+(\\.\\d+)?",M="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",$="\\b(0b[01]+)",W={begin:"\\\\[\\s\\S]",relevance:0},X={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[W]},Y={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[W]},Z={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT=function(i,s,u={}){const m=inherit({className:"comment",begin:i,end:s,contains:[]},u);return m.contains.push(Z),m.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),m},ee=COMMENT("//","$"),ae=COMMENT("/\\*","\\*/"),ie=COMMENT("#","$"),le={className:"number",begin:j,relevance:0},ce={className:"number",begin:M,relevance:0},pe={className:"number",begin:$,relevance:0},de={className:"number",begin:j+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},fe={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[W,{begin:/\[/,end:/\]/,relevance:0,contains:[W]}]}]},ye={className:"title",begin:v,relevance:0},be={className:"title",begin:_,relevance:0},_e={begin:"\\.\\s*"+_,relevance:0};var we=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:v,UNDERSCORE_IDENT_RE:_,NUMBER_RE:j,C_NUMBER_RE:M,BINARY_NUMBER_RE:$,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(i={})=>{const s=/^#![ ]*\//;return i.binary&&(i.begin=function concat(...i){return i.map((i=>source(i))).join("")}(s,/.*\b/,i.binary,/\b.*/)),inherit({className:"meta",begin:s,end:/$/,relevance:0,"on:begin":(i,s)=>{0!==i.index&&s.ignoreMatch()}},i)},BACKSLASH_ESCAPE:W,APOS_STRING_MODE:X,QUOTE_STRING_MODE:Y,PHRASAL_WORDS_MODE:Z,COMMENT,C_LINE_COMMENT_MODE:ee,C_BLOCK_COMMENT_MODE:ae,HASH_COMMENT_MODE:ie,NUMBER_MODE:le,C_NUMBER_MODE:ce,BINARY_NUMBER_MODE:pe,CSS_NUMBER_MODE:de,REGEXP_MODE:fe,TITLE_MODE:ye,UNDERSCORE_TITLE_MODE:be,METHOD_GUARD:_e,END_SAME_AS_BEGIN:function(i){return Object.assign(i,{"on:begin":(i,s)=>{s.data._beginMatch=i[1]},"on:end":(i,s)=>{s.data._beginMatch!==i[1]&&s.ignoreMatch()}})}});function skipIfhasPrecedingDot(i,s){"."===i.input[i.index-1]&&s.ignoreMatch()}function beginKeywords(i,s){s&&i.beginKeywords&&(i.begin="\\b("+i.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",i.__beforeBegin=skipIfhasPrecedingDot,i.keywords=i.keywords||i.beginKeywords,delete i.beginKeywords,void 0===i.relevance&&(i.relevance=0))}function compileIllegal(i,s){Array.isArray(i.illegal)&&(i.illegal=function either(...i){return"("+i.map((i=>source(i))).join("|")+")"}(...i.illegal))}function compileMatch(i,s){if(i.match){if(i.begin||i.end)throw new Error("begin & end are not supported with match");i.begin=i.match,delete i.match}}function compileRelevance(i,s){void 0===i.relevance&&(i.relevance=1)}const Se=["of","and","for","in","not","or","if","then","parent","list","value"],xe="keyword";function compileKeywords(i,s,u=xe){const m={};return"string"==typeof i?compileList(u,i.split(" ")):Array.isArray(i)?compileList(u,i):Object.keys(i).forEach((function(u){Object.assign(m,compileKeywords(i[u],s,u))})),m;function compileList(i,u){s&&(u=u.map((i=>i.toLowerCase()))),u.forEach((function(s){const u=s.split("|");m[u[0]]=[i,scoreForKeyword(u[0],u[1])]}))}}function scoreForKeyword(i,s){return s?Number(s):function commonKeyword(i){return Se.includes(i.toLowerCase())}(i)?0:1}function compileLanguage(i,{plugins:s}){function langRe(s,u){return new RegExp(source(s),"m"+(i.case_insensitive?"i":"")+(u?"g":""))}class MultiRegex{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(i,s){s.position=this.position++,this.matchIndexes[this.matchAt]=s,this.regexes.push([s,i]),this.matchAt+=function countMatchGroups(i){return new RegExp(i.toString()+"|").exec("").length-1}(i)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const i=this.regexes.map((i=>i[1]));this.matcherRe=langRe(function join(i,s="|"){let u=0;return i.map((i=>{u+=1;const s=u;let v=source(i),_="";for(;v.length>0;){const i=m.exec(v);if(!i){_+=v;break}_+=v.substring(0,i.index),v=v.substring(i.index+i[0].length),"\\"===i[0][0]&&i[1]?_+="\\"+String(Number(i[1])+s):(_+=i[0],"("===i[0]&&u++)}return _})).map((i=>`(${i})`)).join(s)}(i),!0),this.lastIndex=0}exec(i){this.matcherRe.lastIndex=this.lastIndex;const s=this.matcherRe.exec(i);if(!s)return null;const u=s.findIndex(((i,s)=>s>0&&void 0!==i)),m=this.matchIndexes[u];return s.splice(0,u),Object.assign(s,m)}}class ResumableMultiRegex{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(i){if(this.multiRegexes[i])return this.multiRegexes[i];const s=new MultiRegex;return this.rules.slice(i).forEach((([i,u])=>s.addRule(i,u))),s.compile(),this.multiRegexes[i]=s,s}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(i,s){this.rules.push([i,s]),"begin"===s.type&&this.count++}exec(i){const s=this.getMatcher(this.regexIndex);s.lastIndex=this.lastIndex;let u=s.exec(i);if(this.resumingScanAtSamePosition())if(u&&u.index===this.lastIndex);else{const s=this.getMatcher(0);s.lastIndex=this.lastIndex+1,u=s.exec(i)}return u&&(this.regexIndex+=u.position+1,this.regexIndex===this.count&&this.considerAll()),u}}if(i.compilerExtensions||(i.compilerExtensions=[]),i.contains&&i.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return i.classNameAliases=inherit(i.classNameAliases||{}),function compileMode(s,u){const m=s;if(s.isCompiled)return m;[compileMatch].forEach((i=>i(s,u))),i.compilerExtensions.forEach((i=>i(s,u))),s.__beforeBegin=null,[beginKeywords,compileIllegal,compileRelevance].forEach((i=>i(s,u))),s.isCompiled=!0;let v=null;if("object"==typeof s.keywords&&(v=s.keywords.$pattern,delete s.keywords.$pattern),s.keywords&&(s.keywords=compileKeywords(s.keywords,i.case_insensitive)),s.lexemes&&v)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return v=v||s.lexemes||/\w+/,m.keywordPatternRe=langRe(v,!0),u&&(s.begin||(s.begin=/\B|\b/),m.beginRe=langRe(s.begin),s.endSameAsBegin&&(s.end=s.begin),s.end||s.endsWithParent||(s.end=/\B|\b/),s.end&&(m.endRe=langRe(s.end)),m.terminatorEnd=source(s.end)||"",s.endsWithParent&&u.terminatorEnd&&(m.terminatorEnd+=(s.end?"|":"")+u.terminatorEnd)),s.illegal&&(m.illegalRe=langRe(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map((function(i){return function expandOrCloneMode(i){i.variants&&!i.cachedVariants&&(i.cachedVariants=i.variants.map((function(s){return inherit(i,{variants:null},s)})));if(i.cachedVariants)return i.cachedVariants;if(dependencyOnParent(i))return inherit(i,{starts:i.starts?inherit(i.starts):null});if(Object.isFrozen(i))return inherit(i);return i}("self"===i?s:i)}))),s.contains.forEach((function(i){compileMode(i,m)})),s.starts&&compileMode(s.starts,u),m.matcher=function buildModeRegex(i){const s=new ResumableMultiRegex;return i.contains.forEach((i=>s.addRule(i.begin,{rule:i,type:"begin"}))),i.terminatorEnd&&s.addRule(i.terminatorEnd,{type:"end"}),i.illegal&&s.addRule(i.illegal,{type:"illegal"}),s}(m),m}(i)}function dependencyOnParent(i){return!!i&&(i.endsWithParent||dependencyOnParent(i.starts))}function BuildVuePlugin(i){const s={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!i.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,escapeHTML(this.code);let s={};return this.autoDetect?(s=i.highlightAuto(this.code),this.detectedLanguage=s.language):(s=i.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),s.value},autoDetect(){return!this.language||function hasValueOrEmptyAttribute(i){return Boolean(i||""===i)}(this.autodetect)},ignoreIllegals:()=>!0},render(i){return i("pre",{},[i("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:s,VuePlugin:{install(i){i.component("highlightjs",s)}}}}const Pe={"after:highlightElement":({el:i,result:s,text:u})=>{const m=nodeStream(i);if(!m.length)return;const v=document.createElement("div");v.innerHTML=s.value,s.value=function mergeStreams(i,s,u){let m=0,v="";const _=[];function selectStream(){return i.length&&s.length?i[0].offset!==s[0].offset?i[0].offset"}function close(i){v+=""}function render(i){("start"===i.event?open:close)(i.node)}for(;i.length||s.length;){let s=selectStream();if(v+=escapeHTML(u.substring(m,s[0].offset)),m=s[0].offset,s===i){_.reverse().forEach(close);do{render(s.splice(0,1)[0]),s=selectStream()}while(s===i&&s.length&&s[0].offset===m);_.reverse().forEach(open)}else"start"===s[0].event?_.push(s[0].node):_.pop(),render(s.splice(0,1)[0])}return v+escapeHTML(u.substr(m))}(m,nodeStream(v),u)}};function tag(i){return i.nodeName.toLowerCase()}function nodeStream(i){const s=[];return function _nodeStream(i,u){for(let m=i.firstChild;m;m=m.nextSibling)3===m.nodeType?u+=m.nodeValue.length:1===m.nodeType&&(s.push({event:"start",offset:u,node:m}),u=_nodeStream(m,u),tag(m).match(/br|hr|img|input/)||s.push({event:"stop",offset:u,node:m}));return u}(i,0),s}const Ie={},error=i=>{console.error(i)},warn=(i,...s)=>{console.log(`WARN: ${i}`,...s)},deprecated=(i,s)=>{Ie[`${i}/${s}`]||(console.log(`Deprecated as of ${i}. ${s}`),Ie[`${i}/${s}`]=!0)},Te=escapeHTML,Re=inherit,qe=Symbol("nomatch");var ze=function(i){const u=Object.create(null),m=Object.create(null),v=[];let _=!0;const j=/(^(<[^>]+>|\t|)+|\n)/gm,M="Could not find the language '{}', did you forget to load/include a language module?",$={disableAutodetect:!0,name:"Plain text",contains:[]};let W={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:TokenTreeEmitter};function shouldNotHighlight(i){return W.noHighlightRe.test(i)}function highlight(i,s,u,m){let v="",_="";"object"==typeof s?(v=i,u=s.ignoreIllegals,_=s.language,m=void 0):(deprecated("10.7.0","highlight(lang, code, ...args) has been deprecated."),deprecated("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),_=i,v=s);const j={code:v,language:_};fire("before:highlight",j);const M=j.result?j.result:_highlight(j.language,j.code,u,m);return M.code=j.code,fire("after:highlight",M),M}function _highlight(i,s,m,j){function keywordData(i,s){const u=X.case_insensitive?s[0].toLowerCase():s[0];return Object.prototype.hasOwnProperty.call(i.keywords,u)&&i.keywords[u]}function processBuffer(){null!=ee.subLanguage?function processSubLanguage(){if(""===le)return;let i=null;if("string"==typeof ee.subLanguage){if(!u[ee.subLanguage])return void ie.addText(le);i=_highlight(ee.subLanguage,le,!0,ae[ee.subLanguage]),ae[ee.subLanguage]=i.top}else i=highlightAuto(le,ee.subLanguage.length?ee.subLanguage:null);ee.relevance>0&&(ce+=i.relevance),ie.addSublanguage(i.emitter,i.language)}():function processKeywords(){if(!ee.keywords)return void ie.addText(le);let i=0;ee.keywordPatternRe.lastIndex=0;let s=ee.keywordPatternRe.exec(le),u="";for(;s;){u+=le.substring(i,s.index);const m=keywordData(ee,s);if(m){const[i,v]=m;if(ie.addText(u),u="",ce+=v,i.startsWith("_"))u+=s[0];else{const u=X.classNameAliases[i]||i;ie.addKeyword(s[0],u)}}else u+=s[0];i=ee.keywordPatternRe.lastIndex,s=ee.keywordPatternRe.exec(le)}u+=le.substr(i),ie.addText(u)}(),le=""}function startNewMode(i){return i.className&&ie.openNode(X.classNameAliases[i.className]||i.className),ee=Object.create(i,{parent:{value:ee}}),ee}function endOfMode(i,s,u){let m=function startsWith(i,s){const u=i&&i.exec(s);return u&&0===u.index}(i.endRe,u);if(m){if(i["on:end"]){const u=new Response(i);i["on:end"](s,u),u.isMatchIgnored&&(m=!1)}if(m){for(;i.endsParent&&i.parent;)i=i.parent;return i}}if(i.endsWithParent)return endOfMode(i.parent,s,u)}function doIgnore(i){return 0===ee.matcher.regexIndex?(le+=i[0],1):(fe=!0,0)}function doBeginMatch(i){const s=i[0],u=i.rule,m=new Response(u),v=[u.__beforeBegin,u["on:begin"]];for(const u of v)if(u&&(u(i,m),m.isMatchIgnored))return doIgnore(s);return u&&u.endSameAsBegin&&(u.endRe=function escape(i){return new RegExp(i.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}(s)),u.skip?le+=s:(u.excludeBegin&&(le+=s),processBuffer(),u.returnBegin||u.excludeBegin||(le=s)),startNewMode(u),u.returnBegin?0:s.length}function doEndMatch(i){const u=i[0],m=s.substr(i.index),v=endOfMode(ee,i,m);if(!v)return qe;const _=ee;_.skip?le+=u:(_.returnEnd||_.excludeEnd||(le+=u),processBuffer(),_.excludeEnd&&(le=u));do{ee.className&&ie.closeNode(),ee.skip||ee.subLanguage||(ce+=ee.relevance),ee=ee.parent}while(ee!==v.parent);return v.starts&&(v.endSameAsBegin&&(v.starts.endRe=v.endRe),startNewMode(v.starts)),_.returnEnd?0:u.length}let $={};function processLexeme(u,v){const j=v&&v[0];if(le+=u,null==j)return processBuffer(),0;if("begin"===$.type&&"end"===v.type&&$.index===v.index&&""===j){if(le+=s.slice(v.index,v.index+1),!_){const s=new Error("0 width match regex");throw s.languageName=i,s.badRule=$.rule,s}return 1}if($=v,"begin"===v.type)return doBeginMatch(v);if("illegal"===v.type&&!m){const i=new Error('Illegal lexeme "'+j+'" for mode "'+(ee.className||"")+'"');throw i.mode=ee,i}if("end"===v.type){const i=doEndMatch(v);if(i!==qe)return i}if("illegal"===v.type&&""===j)return 1;if(de>1e5&&de>3*v.index){throw new Error("potential infinite loop, way more iterations than matches")}return le+=j,j.length}const X=getLanguage(i);if(!X)throw error(M.replace("{}",i)),new Error('Unknown language: "'+i+'"');const Y=compileLanguage(X,{plugins:v});let Z="",ee=j||Y;const ae={},ie=new W.__emitter(W);!function processContinuations(){const i=[];for(let s=ee;s!==X;s=s.parent)s.className&&i.unshift(s.className);i.forEach((i=>ie.openNode(i)))}();let le="",ce=0,pe=0,de=0,fe=!1;try{for(ee.matcher.considerAll();;){de++,fe?fe=!1:ee.matcher.considerAll(),ee.matcher.lastIndex=pe;const i=ee.matcher.exec(s);if(!i)break;const u=processLexeme(s.substring(pe,i.index),i);pe=i.index+u}return processLexeme(s.substr(pe)),ie.closeAllNodes(),ie.finalize(),Z=ie.toHTML(),{relevance:Math.floor(ce),value:Z,language:i,illegal:!1,emitter:ie,top:ee}}catch(u){if(u.message&&u.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:u.message,context:s.slice(pe-100,pe+100),mode:u.mode},sofar:Z,relevance:0,value:Te(s),emitter:ie};if(_)return{illegal:!1,relevance:0,value:Te(s),emitter:ie,language:i,top:ee,errorRaised:u};throw u}}function highlightAuto(i,s){s=s||W.languages||Object.keys(u);const m=function justTextHighlightResult(i){const s={relevance:0,emitter:new W.__emitter(W),value:Te(i),illegal:!1,top:$};return s.emitter.addText(i),s}(i),v=s.filter(getLanguage).filter(autoDetection).map((s=>_highlight(s,i,!1)));v.unshift(m);const _=v.sort(((i,s)=>{if(i.relevance!==s.relevance)return s.relevance-i.relevance;if(i.language&&s.language){if(getLanguage(i.language).supersetOf===s.language)return 1;if(getLanguage(s.language).supersetOf===i.language)return-1}return 0})),[j,M]=_,X=j;return X.second_best=M,X}const X={"before:highlightElement":({el:i})=>{W.useBR&&(i.innerHTML=i.innerHTML.replace(/\n/g,"").replace(//g,"\n"))},"after:highlightElement":({result:i})=>{W.useBR&&(i.value=i.value.replace(/\n/g,"
"))}},Y=/^(<[^>]+>|\t)+/gm,Z={"after:highlightElement":({result:i})=>{W.tabReplace&&(i.value=i.value.replace(Y,(i=>i.replace(/\t/g,W.tabReplace))))}};function highlightElement(i){let s=null;const u=function blockLanguage(i){let s=i.className+" ";s+=i.parentNode?i.parentNode.className:"";const u=W.languageDetectRe.exec(s);if(u){const s=getLanguage(u[1]);return s||(warn(M.replace("{}",u[1])),warn("Falling back to no-highlight mode for this block.",i)),s?u[1]:"no-highlight"}return s.split(/\s+/).find((i=>shouldNotHighlight(i)||getLanguage(i)))}(i);if(shouldNotHighlight(u))return;fire("before:highlightElement",{el:i,language:u}),s=i;const v=s.textContent,_=u?highlight(v,{language:u,ignoreIllegals:!0}):highlightAuto(v);fire("after:highlightElement",{el:i,result:_,text:v}),i.innerHTML=_.value,function updateClassName(i,s,u){const v=s?m[s]:u;i.classList.add("hljs"),v&&i.classList.add(v)}(i,u,_.language),i.result={language:_.language,re:_.relevance,relavance:_.relevance},_.second_best&&(i.second_best={language:_.second_best.language,re:_.second_best.relevance,relavance:_.second_best.relevance})}const initHighlighting=()=>{if(initHighlighting.called)return;initHighlighting.called=!0,deprecated("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead.");document.querySelectorAll("pre code").forEach(highlightElement)};let ee=!1;function highlightAll(){if("loading"===document.readyState)return void(ee=!0);document.querySelectorAll("pre code").forEach(highlightElement)}function getLanguage(i){return i=(i||"").toLowerCase(),u[i]||u[m[i]]}function registerAliases(i,{languageName:s}){"string"==typeof i&&(i=[i]),i.forEach((i=>{m[i.toLowerCase()]=s}))}function autoDetection(i){const s=getLanguage(i);return s&&!s.disableAutodetect}function fire(i,s){const u=i;v.forEach((function(i){i[u]&&i[u](s)}))}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function boot(){ee&&highlightAll()}),!1),Object.assign(i,{highlight,highlightAuto,highlightAll,fixMarkup:function deprecateFixMarkup(i){return deprecated("10.2.0","fixMarkup will be removed entirely in v11.0"),deprecated("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),function fixMarkup(i){return W.tabReplace||W.useBR?i.replace(j,(i=>"\n"===i?W.useBR?"
":i:W.tabReplace?i.replace(/\t/g,W.tabReplace):i)):i}(i)},highlightElement,highlightBlock:function deprecateHighlightBlock(i){return deprecated("10.7.0","highlightBlock will be removed entirely in v12.0"),deprecated("10.7.0","Please use highlightElement now."),highlightElement(i)},configure:function configure(i){i.useBR&&(deprecated("10.3.0","'useBR' will be removed entirely in v11.0"),deprecated("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),W=Re(W,i)},initHighlighting,initHighlightingOnLoad:function initHighlightingOnLoad(){deprecated("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),ee=!0},registerLanguage:function registerLanguage(s,m){let v=null;try{v=m(i)}catch(i){if(error("Language definition for '{}' could not be registered.".replace("{}",s)),!_)throw i;error(i),v=$}v.name||(v.name=s),u[s]=v,v.rawDefinition=m.bind(null,i),v.aliases&®isterAliases(v.aliases,{languageName:s})},unregisterLanguage:function unregisterLanguage(i){delete u[i];for(const s of Object.keys(m))m[s]===i&&delete m[s]},listLanguages:function listLanguages(){return Object.keys(u)},getLanguage,registerAliases,requireLanguage:function requireLanguage(i){deprecated("10.4.0","requireLanguage will be removed entirely in v11."),deprecated("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const s=getLanguage(i);if(s)return s;throw new Error("The '{}' language is required, but not loaded.".replace("{}",i))},autoDetection,inherit:Re,addPlugin:function addPlugin(i){!function upgradePluginAPI(i){i["before:highlightBlock"]&&!i["before:highlightElement"]&&(i["before:highlightElement"]=s=>{i["before:highlightBlock"](Object.assign({block:s.el},s))}),i["after:highlightBlock"]&&!i["after:highlightElement"]&&(i["after:highlightElement"]=s=>{i["after:highlightBlock"](Object.assign({block:s.el},s))})}(i),v.push(i)},vuePlugin:BuildVuePlugin(i).VuePlugin}),i.debugMode=function(){_=!1},i.safeMode=function(){_=!0},i.versionString="10.7.3";for(const i in we)"object"==typeof we[i]&&s(we[i]);return Object.assign(i,we),i.addPlugin(X),i.addPlugin(Pe),i.addPlugin(Z),i}({});i.exports=ze},61519:i=>{function concat(...i){return i.map((i=>function source(i){return i?"string"==typeof i?i:i.source:null}(i))).join("")}i.exports=function bash(i){const s={},u={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[s]}]};Object.assign(s,{className:"variable",variants:[{begin:concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},u]});const m={className:"subst",begin:/\$\(/,end:/\)/,contains:[i.BACKSLASH_ESCAPE]},v={begin:/<<-?\s*(?=\w+)/,starts:{contains:[i.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},_={className:"string",begin:/"/,end:/"/,contains:[i.BACKSLASH_ESCAPE,s,m]};m.contains.push(_);const j={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},i.NUMBER_MODE,s]},M=i.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),$={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[i.inherit(i.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[M,i.SHEBANG(),$,j,i.HASH_COMMENT_MODE,v,_,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},s]}}},30786:i=>{function concat(...i){return i.map((i=>function source(i){return i?"string"==typeof i?i:i.source:null}(i))).join("")}i.exports=function http(i){const s="HTTP/(2|1\\.[01])",u={className:"attribute",begin:concat("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},m=[u,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+s+" \\d{3})",end:/$/,contains:[{className:"meta",begin:s},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:m}},{begin:"(?=^[A-Z]+ (.*?) "+s+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:s},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:m}},i.inherit(u,{relevance:0})]}}},96344:i=>{const s="[A-Za-z$_][0-9A-Za-z$_]*",u=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],m=["true","false","null","undefined","NaN","Infinity"],v=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function lookahead(i){return concat("(?=",i,")")}function concat(...i){return i.map((i=>function source(i){return i?"string"==typeof i?i:i.source:null}(i))).join("")}i.exports=function javascript(i){const _=s,j="<>",M="",$={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(i,s)=>{const u=i[0].length+i.index,m=i.input[u];"<"!==m?">"===m&&(((i,{after:s})=>{const u="",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:i.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:W,contains:ye}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:j,end:M},{begin:$.begin,"on:begin":$.isTrulyOpeningTag,end:$.end}],subLanguage:"xml",contains:[{begin:$.begin,end:$.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:W,contains:["self",i.inherit(i.TITLE_MODE,{begin:_}),be],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:i.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[be,i.inherit(i.TITLE_MODE,{begin:_})]},{variants:[{begin:"\\."+_},{begin:"\\$"+_}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},i.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[i.inherit(i.TITLE_MODE,{begin:_}),"self",be]},{begin:"(get|set)\\s+(?="+_+"\\()",end:/\{/,keywords:"get set",contains:[i.inherit(i.TITLE_MODE,{begin:_}),{begin:/\(\)/},be]},{begin:/\$[(.]/}]}}},82026:i=>{i.exports=function json(i){const s={literal:"true false null"},u=[i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE],m=[i.QUOTE_STRING_MODE,i.C_NUMBER_MODE],v={end:",",endsWithParent:!0,excludeEnd:!0,contains:m,keywords:s},_={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[i.BACKSLASH_ESCAPE],illegal:"\\n"},i.inherit(v,{begin:/:/})].concat(u),illegal:"\\S"},j={begin:"\\[",end:"\\]",contains:[i.inherit(v)],illegal:"\\S"};return m.push(_,j),u.forEach((function(i){m.push(i)})),{name:"JSON",contains:m,keywords:s,illegal:"\\S"}}},66336:i=>{i.exports=function powershell(i){const s={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},u={begin:"`[\\s\\S]",relevance:0},m={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},v={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[u,m,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},_={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},j=i.inherit(i.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),M={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},$={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[i.TITLE_MODE]},W={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[m]}]},X={begin:/using\s/,end:/$/,returnBegin:!0,contains:[v,_,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},Y={variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},Z={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(s.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},i.inherit(i.TITLE_MODE,{endsParent:!0})]},ee=[Z,j,u,i.NUMBER_MODE,v,_,M,m,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],ae={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",ee,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return Z.contains.unshift(ae),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:s,contains:ee.concat($,W,X,Y,ae)}}},42157:i=>{function source(i){return i?"string"==typeof i?i:i.source:null}function lookahead(i){return concat("(?=",i,")")}function concat(...i){return i.map((i=>source(i))).join("")}function either(...i){return"("+i.map((i=>source(i))).join("|")+")"}i.exports=function xml(i){const s=concat(/[A-Z_]/,function optional(i){return concat("(",i,")?")}(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),u={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},m={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},v=i.inherit(m,{begin:/\(/,end:/\)/}),_=i.inherit(i.APOS_STRING_MODE,{className:"meta-string"}),j=i.inherit(i.QUOTE_STRING_MODE,{className:"meta-string"}),M={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[m,j,_,v,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[m,v,j,_]}]}]},i.COMMENT(//,{relevance:10}),{begin://,relevance:10},u,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[M],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[M],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:M}]},{className:"tag",begin:concat(/<\//,lookahead(concat(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},54587:i=>{i.exports=function yaml(i){var s="true false yes no null",u="[\\w#;/?:@&=+$,.~*'()[\\]]+",m={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[i.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},v=i.inherit(m,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),_={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},j={end:",",endsWithParent:!0,excludeEnd:!0,keywords:s,relevance:0},M={begin:/\{/,end:/\}/,contains:[j],illegal:"\\n",relevance:0},$={begin:"\\[",end:"\\]",contains:[j],illegal:"\\n",relevance:0},W=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+u},{className:"type",begin:"!<"+u+">"},{className:"type",begin:"!"+u},{className:"type",begin:"!!"+u},{className:"meta",begin:"&"+i.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+i.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},i.HASH_COMMENT_MODE,{beginKeywords:s,keywords:{literal:s}},_,{className:"number",begin:i.C_NUMBER_RE+"\\b",relevance:0},M,$,m],X=[...W];return X.pop(),X.push(v),j.contains=X,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:W}}},8679:(i,s,u)=>{"use strict";var m=u(59864),v={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},_={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},j={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},M={};function getStatics(i){return m.isMemo(i)?j:M[i.$$typeof]||v}M[m.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},M[m.Memo]=j;var $=Object.defineProperty,W=Object.getOwnPropertyNames,X=Object.getOwnPropertySymbols,Y=Object.getOwnPropertyDescriptor,Z=Object.getPrototypeOf,ee=Object.prototype;i.exports=function hoistNonReactStatics(i,s,u){if("string"!=typeof s){if(ee){var m=Z(s);m&&m!==ee&&hoistNonReactStatics(i,m,u)}var v=W(s);X&&(v=v.concat(X(s)));for(var j=getStatics(i),M=getStatics(s),ae=0;ae{s.read=function(i,s,u,m,v){var _,j,M=8*v-m-1,$=(1<>1,X=-7,Y=u?v-1:0,Z=u?-1:1,ee=i[s+Y];for(Y+=Z,_=ee&(1<<-X)-1,ee>>=-X,X+=M;X>0;_=256*_+i[s+Y],Y+=Z,X-=8);for(j=_&(1<<-X)-1,_>>=-X,X+=m;X>0;j=256*j+i[s+Y],Y+=Z,X-=8);if(0===_)_=1-W;else{if(_===$)return j?NaN:1/0*(ee?-1:1);j+=Math.pow(2,m),_-=W}return(ee?-1:1)*j*Math.pow(2,_-m)},s.write=function(i,s,u,m,v,_){var j,M,$,W=8*_-v-1,X=(1<>1,Z=23===v?Math.pow(2,-24)-Math.pow(2,-77):0,ee=m?0:_-1,ae=m?1:-1,ie=s<0||0===s&&1/s<0?1:0;for(s=Math.abs(s),isNaN(s)||s===1/0?(M=isNaN(s)?1:0,j=X):(j=Math.floor(Math.log(s)/Math.LN2),s*($=Math.pow(2,-j))<1&&(j--,$*=2),(s+=j+Y>=1?Z/$:Z*Math.pow(2,1-Y))*$>=2&&(j++,$/=2),j+Y>=X?(M=0,j=X):j+Y>=1?(M=(s*$-1)*Math.pow(2,v),j+=Y):(M=s*Math.pow(2,Y-1)*Math.pow(2,v),j=0));v>=8;i[u+ee]=255&M,ee+=ae,M/=256,v-=8);for(j=j<0;i[u+ee]=255&j,ee+=ae,j/=256,W-=8);i[u+ee-ae]|=128*ie}},43393:function(i){i.exports=function(){"use strict";var i=Array.prototype.slice;function createClass(i,s){s&&(i.prototype=Object.create(s.prototype)),i.prototype.constructor=i}function Iterable(i){return isIterable(i)?i:Seq(i)}function KeyedIterable(i){return isKeyed(i)?i:KeyedSeq(i)}function IndexedIterable(i){return isIndexed(i)?i:IndexedSeq(i)}function SetIterable(i){return isIterable(i)&&!isAssociative(i)?i:SetSeq(i)}function isIterable(i){return!(!i||!i[s])}function isKeyed(i){return!(!i||!i[u])}function isIndexed(i){return!(!i||!i[m])}function isAssociative(i){return isKeyed(i)||isIndexed(i)}function isOrdered(i){return!(!i||!i[v])}createClass(KeyedIterable,Iterable),createClass(IndexedIterable,Iterable),createClass(SetIterable,Iterable),Iterable.isIterable=isIterable,Iterable.isKeyed=isKeyed,Iterable.isIndexed=isIndexed,Iterable.isAssociative=isAssociative,Iterable.isOrdered=isOrdered,Iterable.Keyed=KeyedIterable,Iterable.Indexed=IndexedIterable,Iterable.Set=SetIterable;var s="@@__IMMUTABLE_ITERABLE__@@",u="@@__IMMUTABLE_KEYED__@@",m="@@__IMMUTABLE_INDEXED__@@",v="@@__IMMUTABLE_ORDERED__@@",_="delete",j=5,M=1<>>0;if(""+u!==s||4294967295===u)return NaN;s=u}return s<0?ensureSize(i)+s:s}function returnTrue(){return!0}function wholeSlice(i,s,u){return(0===i||void 0!==u&&i<=-u)&&(void 0===s||void 0!==u&&s>=u)}function resolveBegin(i,s){return resolveIndex(i,s,0)}function resolveEnd(i,s){return resolveIndex(i,s,s)}function resolveIndex(i,s,u){return void 0===i?u:i<0?Math.max(0,s+i):void 0===s?i:Math.min(s,i)}var Z=0,ee=1,ae=2,ie="function"==typeof Symbol&&Symbol.iterator,le="@@iterator",ce=ie||le;function Iterator(i){this.next=i}function iteratorValue(i,s,u,m){var v=0===i?s:1===i?u:[s,u];return m?m.value=v:m={value:v,done:!1},m}function iteratorDone(){return{value:void 0,done:!0}}function hasIterator(i){return!!getIteratorFn(i)}function isIterator(i){return i&&"function"==typeof i.next}function getIterator(i){var s=getIteratorFn(i);return s&&s.call(i)}function getIteratorFn(i){var s=i&&(ie&&i[ie]||i[le]);if("function"==typeof s)return s}function isArrayLike(i){return i&&"number"==typeof i.length}function Seq(i){return null==i?emptySequence():isIterable(i)?i.toSeq():seqFromValue(i)}function KeyedSeq(i){return null==i?emptySequence().toKeyedSeq():isIterable(i)?isKeyed(i)?i.toSeq():i.fromEntrySeq():keyedSeqFromValue(i)}function IndexedSeq(i){return null==i?emptySequence():isIterable(i)?isKeyed(i)?i.entrySeq():i.toIndexedSeq():indexedSeqFromValue(i)}function SetSeq(i){return(null==i?emptySequence():isIterable(i)?isKeyed(i)?i.entrySeq():i:indexedSeqFromValue(i)).toSetSeq()}Iterator.prototype.toString=function(){return"[Iterator]"},Iterator.KEYS=Z,Iterator.VALUES=ee,Iterator.ENTRIES=ae,Iterator.prototype.inspect=Iterator.prototype.toSource=function(){return this.toString()},Iterator.prototype[ce]=function(){return this},createClass(Seq,Iterable),Seq.of=function(){return Seq(arguments)},Seq.prototype.toSeq=function(){return this},Seq.prototype.toString=function(){return this.__toString("Seq {","}")},Seq.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Seq.prototype.__iterate=function(i,s){return seqIterate(this,i,s,!0)},Seq.prototype.__iterator=function(i,s){return seqIterator(this,i,s,!0)},createClass(KeyedSeq,Seq),KeyedSeq.prototype.toKeyedSeq=function(){return this},createClass(IndexedSeq,Seq),IndexedSeq.of=function(){return IndexedSeq(arguments)},IndexedSeq.prototype.toIndexedSeq=function(){return this},IndexedSeq.prototype.toString=function(){return this.__toString("Seq [","]")},IndexedSeq.prototype.__iterate=function(i,s){return seqIterate(this,i,s,!1)},IndexedSeq.prototype.__iterator=function(i,s){return seqIterator(this,i,s,!1)},createClass(SetSeq,Seq),SetSeq.of=function(){return SetSeq(arguments)},SetSeq.prototype.toSetSeq=function(){return this},Seq.isSeq=isSeq,Seq.Keyed=KeyedSeq,Seq.Set=SetSeq,Seq.Indexed=IndexedSeq;var pe,de,fe,ye="@@__IMMUTABLE_SEQ__@@";function ArraySeq(i){this._array=i,this.size=i.length}function ObjectSeq(i){var s=Object.keys(i);this._object=i,this._keys=s,this.size=s.length}function IterableSeq(i){this._iterable=i,this.size=i.length||i.size}function IteratorSeq(i){this._iterator=i,this._iteratorCache=[]}function isSeq(i){return!(!i||!i[ye])}function emptySequence(){return pe||(pe=new ArraySeq([]))}function keyedSeqFromValue(i){var s=Array.isArray(i)?new ArraySeq(i).fromEntrySeq():isIterator(i)?new IteratorSeq(i).fromEntrySeq():hasIterator(i)?new IterableSeq(i).fromEntrySeq():"object"==typeof i?new ObjectSeq(i):void 0;if(!s)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+i);return s}function indexedSeqFromValue(i){var s=maybeIndexedSeqFromValue(i);if(!s)throw new TypeError("Expected Array or iterable object of values: "+i);return s}function seqFromValue(i){var s=maybeIndexedSeqFromValue(i)||"object"==typeof i&&new ObjectSeq(i);if(!s)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+i);return s}function maybeIndexedSeqFromValue(i){return isArrayLike(i)?new ArraySeq(i):isIterator(i)?new IteratorSeq(i):hasIterator(i)?new IterableSeq(i):void 0}function seqIterate(i,s,u,m){var v=i._cache;if(v){for(var _=v.length-1,j=0;j<=_;j++){var M=v[u?_-j:j];if(!1===s(M[1],m?M[0]:j,i))return j+1}return j}return i.__iterateUncached(s,u)}function seqIterator(i,s,u,m){var v=i._cache;if(v){var _=v.length-1,j=0;return new Iterator((function(){var i=v[u?_-j:j];return j++>_?iteratorDone():iteratorValue(s,m?i[0]:j-1,i[1])}))}return i.__iteratorUncached(s,u)}function fromJS(i,s){return s?fromJSWith(s,i,"",{"":i}):fromJSDefault(i)}function fromJSWith(i,s,u,m){return Array.isArray(s)?i.call(m,u,IndexedSeq(s).map((function(u,m){return fromJSWith(i,u,m,s)}))):isPlainObj(s)?i.call(m,u,KeyedSeq(s).map((function(u,m){return fromJSWith(i,u,m,s)}))):s}function fromJSDefault(i){return Array.isArray(i)?IndexedSeq(i).map(fromJSDefault).toList():isPlainObj(i)?KeyedSeq(i).map(fromJSDefault).toMap():i}function isPlainObj(i){return i&&(i.constructor===Object||void 0===i.constructor)}function is(i,s){if(i===s||i!=i&&s!=s)return!0;if(!i||!s)return!1;if("function"==typeof i.valueOf&&"function"==typeof s.valueOf){if((i=i.valueOf())===(s=s.valueOf())||i!=i&&s!=s)return!0;if(!i||!s)return!1}return!("function"!=typeof i.equals||"function"!=typeof s.equals||!i.equals(s))}function deepEqual(i,s){if(i===s)return!0;if(!isIterable(s)||void 0!==i.size&&void 0!==s.size&&i.size!==s.size||void 0!==i.__hash&&void 0!==s.__hash&&i.__hash!==s.__hash||isKeyed(i)!==isKeyed(s)||isIndexed(i)!==isIndexed(s)||isOrdered(i)!==isOrdered(s))return!1;if(0===i.size&&0===s.size)return!0;var u=!isAssociative(i);if(isOrdered(i)){var m=i.entries();return s.every((function(i,s){var v=m.next().value;return v&&is(v[1],i)&&(u||is(v[0],s))}))&&m.next().done}var v=!1;if(void 0===i.size)if(void 0===s.size)"function"==typeof i.cacheResult&&i.cacheResult();else{v=!0;var _=i;i=s,s=_}var j=!0,M=s.__iterate((function(s,m){if(u?!i.has(s):v?!is(s,i.get(m,W)):!is(i.get(m,W),s))return j=!1,!1}));return j&&i.size===M}function Repeat(i,s){if(!(this instanceof Repeat))return new Repeat(i,s);if(this._value=i,this.size=void 0===s?1/0:Math.max(0,s),0===this.size){if(de)return de;de=this}}function invariant(i,s){if(!i)throw new Error(s)}function Range(i,s,u){if(!(this instanceof Range))return new Range(i,s,u);if(invariant(0!==u,"Cannot step a Range by 0"),i=i||0,void 0===s&&(s=1/0),u=void 0===u?1:Math.abs(u),sm?iteratorDone():iteratorValue(i,v,u[s?m-v++:v++])}))},createClass(ObjectSeq,KeyedSeq),ObjectSeq.prototype.get=function(i,s){return void 0===s||this.has(i)?this._object[i]:s},ObjectSeq.prototype.has=function(i){return this._object.hasOwnProperty(i)},ObjectSeq.prototype.__iterate=function(i,s){for(var u=this._object,m=this._keys,v=m.length-1,_=0;_<=v;_++){var j=m[s?v-_:_];if(!1===i(u[j],j,this))return _+1}return _},ObjectSeq.prototype.__iterator=function(i,s){var u=this._object,m=this._keys,v=m.length-1,_=0;return new Iterator((function(){var j=m[s?v-_:_];return _++>v?iteratorDone():iteratorValue(i,j,u[j])}))},ObjectSeq.prototype[v]=!0,createClass(IterableSeq,IndexedSeq),IterableSeq.prototype.__iterateUncached=function(i,s){if(s)return this.cacheResult().__iterate(i,s);var u=getIterator(this._iterable),m=0;if(isIterator(u))for(var v;!(v=u.next()).done&&!1!==i(v.value,m++,this););return m},IterableSeq.prototype.__iteratorUncached=function(i,s){if(s)return this.cacheResult().__iterator(i,s);var u=getIterator(this._iterable);if(!isIterator(u))return new Iterator(iteratorDone);var m=0;return new Iterator((function(){var s=u.next();return s.done?s:iteratorValue(i,m++,s.value)}))},createClass(IteratorSeq,IndexedSeq),IteratorSeq.prototype.__iterateUncached=function(i,s){if(s)return this.cacheResult().__iterate(i,s);for(var u,m=this._iterator,v=this._iteratorCache,_=0;_=m.length){var s=u.next();if(s.done)return s;m[v]=s.value}return iteratorValue(i,v,m[v++])}))},createClass(Repeat,IndexedSeq),Repeat.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Repeat.prototype.get=function(i,s){return this.has(i)?this._value:s},Repeat.prototype.includes=function(i){return is(this._value,i)},Repeat.prototype.slice=function(i,s){var u=this.size;return wholeSlice(i,s,u)?this:new Repeat(this._value,resolveEnd(s,u)-resolveBegin(i,u))},Repeat.prototype.reverse=function(){return this},Repeat.prototype.indexOf=function(i){return is(this._value,i)?0:-1},Repeat.prototype.lastIndexOf=function(i){return is(this._value,i)?this.size:-1},Repeat.prototype.__iterate=function(i,s){for(var u=0;u=0&&s=0&&uu?iteratorDone():iteratorValue(i,_++,j)}))},Range.prototype.equals=function(i){return i instanceof Range?this._start===i._start&&this._end===i._end&&this._step===i._step:deepEqual(this,i)},createClass(Collection,Iterable),createClass(KeyedCollection,Collection),createClass(IndexedCollection,Collection),createClass(SetCollection,Collection),Collection.Keyed=KeyedCollection,Collection.Indexed=IndexedCollection,Collection.Set=SetCollection;var be="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function imul(i,s){var u=65535&(i|=0),m=65535&(s|=0);return u*m+((i>>>16)*m+u*(s>>>16)<<16>>>0)|0};function smi(i){return i>>>1&1073741824|3221225471&i}function hash(i){if(!1===i||null==i)return 0;if("function"==typeof i.valueOf&&(!1===(i=i.valueOf())||null==i))return 0;if(!0===i)return 1;var s=typeof i;if("number"===s){if(i!=i||i===1/0)return 0;var u=0|i;for(u!==i&&(u^=4294967295*i);i>4294967295;)u^=i/=4294967295;return smi(u)}if("string"===s)return i.length>Te?cachedHashString(i):hashString(i);if("function"==typeof i.hashCode)return i.hashCode();if("object"===s)return hashJSObj(i);if("function"==typeof i.toString)return hashString(i.toString());throw new Error("Value type "+s+" cannot be hashed.")}function cachedHashString(i){var s=ze[i];return void 0===s&&(s=hashString(i),qe===Re&&(qe=0,ze={}),qe++,ze[i]=s),s}function hashString(i){for(var s=0,u=0;u0)switch(i.nodeType){case 1:return i.uniqueID;case 9:return i.documentElement&&i.documentElement.uniqueID}}var Se,xe="function"==typeof WeakMap;xe&&(Se=new WeakMap);var Pe=0,Ie="__immutablehash__";"function"==typeof Symbol&&(Ie=Symbol(Ie));var Te=16,Re=255,qe=0,ze={};function assertNotInfinite(i){invariant(i!==1/0,"Cannot perform this action with an infinite size.")}function Map(i){return null==i?emptyMap():isMap(i)&&!isOrdered(i)?i:emptyMap().withMutations((function(s){var u=KeyedIterable(i);assertNotInfinite(u.size),u.forEach((function(i,u){return s.set(u,i)}))}))}function isMap(i){return!(!i||!i[We])}createClass(Map,KeyedCollection),Map.of=function(){var s=i.call(arguments,0);return emptyMap().withMutations((function(i){for(var u=0;u=s.length)throw new Error("Missing value for key: "+s[u]);i.set(s[u],s[u+1])}}))},Map.prototype.toString=function(){return this.__toString("Map {","}")},Map.prototype.get=function(i,s){return this._root?this._root.get(0,void 0,i,s):s},Map.prototype.set=function(i,s){return updateMap(this,i,s)},Map.prototype.setIn=function(i,s){return this.updateIn(i,W,(function(){return s}))},Map.prototype.remove=function(i){return updateMap(this,i,W)},Map.prototype.deleteIn=function(i){return this.updateIn(i,(function(){return W}))},Map.prototype.update=function(i,s,u){return 1===arguments.length?i(this):this.updateIn([i],s,u)},Map.prototype.updateIn=function(i,s,u){u||(u=s,s=void 0);var m=updateInDeepMap(this,forceIterator(i),s,u);return m===W?void 0:m},Map.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):emptyMap()},Map.prototype.merge=function(){return mergeIntoMapWith(this,void 0,arguments)},Map.prototype.mergeWith=function(s){return mergeIntoMapWith(this,s,i.call(arguments,1))},Map.prototype.mergeIn=function(s){var u=i.call(arguments,1);return this.updateIn(s,emptyMap(),(function(i){return"function"==typeof i.merge?i.merge.apply(i,u):u[u.length-1]}))},Map.prototype.mergeDeep=function(){return mergeIntoMapWith(this,deepMerger,arguments)},Map.prototype.mergeDeepWith=function(s){var u=i.call(arguments,1);return mergeIntoMapWith(this,deepMergerWith(s),u)},Map.prototype.mergeDeepIn=function(s){var u=i.call(arguments,1);return this.updateIn(s,emptyMap(),(function(i){return"function"==typeof i.mergeDeep?i.mergeDeep.apply(i,u):u[u.length-1]}))},Map.prototype.sort=function(i){return OrderedMap(sortFactory(this,i))},Map.prototype.sortBy=function(i,s){return OrderedMap(sortFactory(this,s,i))},Map.prototype.withMutations=function(i){var s=this.asMutable();return i(s),s.wasAltered()?s.__ensureOwner(this.__ownerID):this},Map.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new OwnerID)},Map.prototype.asImmutable=function(){return this.__ensureOwner()},Map.prototype.wasAltered=function(){return this.__altered},Map.prototype.__iterator=function(i,s){return new MapIterator(this,i,s)},Map.prototype.__iterate=function(i,s){var u=this,m=0;return this._root&&this._root.iterate((function(s){return m++,i(s[1],s[0],u)}),s),m},Map.prototype.__ensureOwner=function(i){return i===this.__ownerID?this:i?makeMap(this.size,this._root,i,this.__hash):(this.__ownerID=i,this.__altered=!1,this)},Map.isMap=isMap;var Ve,We="@@__IMMUTABLE_MAP__@@",He=Map.prototype;function ArrayMapNode(i,s){this.ownerID=i,this.entries=s}function BitmapIndexedNode(i,s,u){this.ownerID=i,this.bitmap=s,this.nodes=u}function HashArrayMapNode(i,s,u){this.ownerID=i,this.count=s,this.nodes=u}function HashCollisionNode(i,s,u){this.ownerID=i,this.keyHash=s,this.entries=u}function ValueNode(i,s,u){this.ownerID=i,this.keyHash=s,this.entry=u}function MapIterator(i,s,u){this._type=s,this._reverse=u,this._stack=i._root&&mapIteratorFrame(i._root)}function mapIteratorValue(i,s){return iteratorValue(i,s[0],s[1])}function mapIteratorFrame(i,s){return{node:i,index:0,__prev:s}}function makeMap(i,s,u,m){var v=Object.create(He);return v.size=i,v._root=s,v.__ownerID=u,v.__hash=m,v.__altered=!1,v}function emptyMap(){return Ve||(Ve=makeMap(0))}function updateMap(i,s,u){var m,v;if(i._root){var _=MakeRef(X),j=MakeRef(Y);if(m=updateNode(i._root,i.__ownerID,0,void 0,s,u,_,j),!j.value)return i;v=i.size+(_.value?u===W?-1:1:0)}else{if(u===W)return i;v=1,m=new ArrayMapNode(i.__ownerID,[[s,u]])}return i.__ownerID?(i.size=v,i._root=m,i.__hash=void 0,i.__altered=!0,i):m?makeMap(v,m):emptyMap()}function updateNode(i,s,u,m,v,_,j,M){return i?i.update(s,u,m,v,_,j,M):_===W?i:(SetRef(M),SetRef(j),new ValueNode(s,m,[v,_]))}function isLeafNode(i){return i.constructor===ValueNode||i.constructor===HashCollisionNode}function mergeIntoNode(i,s,u,m,v){if(i.keyHash===m)return new HashCollisionNode(s,m,[i.entry,v]);var _,M=(0===u?i.keyHash:i.keyHash>>>u)&$,W=(0===u?m:m>>>u)&$;return new BitmapIndexedNode(s,1<>>=1)j[$]=1&u?s[_++]:void 0;return j[m]=v,new HashArrayMapNode(i,_+1,j)}function mergeIntoMapWith(i,s,u){for(var m=[],v=0;v>1&1431655765))+(i>>2&858993459))+(i>>4)&252645135,i+=i>>8,127&(i+=i>>16)}function setIn(i,s,u,m){var v=m?i:arrCopy(i);return v[s]=u,v}function spliceIn(i,s,u,m){var v=i.length+1;if(m&&s+1===v)return i[s]=u,i;for(var _=new Array(v),j=0,M=0;M=Xe)return createNodes(i,$,m,v);var ee=i&&i===this.ownerID,ae=ee?$:arrCopy($);return Z?M?X===Y-1?ae.pop():ae[X]=ae.pop():ae[X]=[m,v]:ae.push([m,v]),ee?(this.entries=ae,this):new ArrayMapNode(i,ae)}},BitmapIndexedNode.prototype.get=function(i,s,u,m){void 0===s&&(s=hash(u));var v=1<<((0===i?s:s>>>i)&$),_=this.bitmap;return 0==(_&v)?m:this.nodes[popCount(_&v-1)].get(i+j,s,u,m)},BitmapIndexedNode.prototype.update=function(i,s,u,m,v,_,M){void 0===u&&(u=hash(m));var X=(0===s?u:u>>>s)&$,Y=1<=Ye)return expandNodes(i,ie,Z,X,ce);if(ee&&!ce&&2===ie.length&&isLeafNode(ie[1^ae]))return ie[1^ae];if(ee&&ce&&1===ie.length&&isLeafNode(ce))return ce;var pe=i&&i===this.ownerID,de=ee?ce?Z:Z^Y:Z|Y,fe=ee?ce?setIn(ie,ae,ce,pe):spliceOut(ie,ae,pe):spliceIn(ie,ae,ce,pe);return pe?(this.bitmap=de,this.nodes=fe,this):new BitmapIndexedNode(i,de,fe)},HashArrayMapNode.prototype.get=function(i,s,u,m){void 0===s&&(s=hash(u));var v=(0===i?s:s>>>i)&$,_=this.nodes[v];return _?_.get(i+j,s,u,m):m},HashArrayMapNode.prototype.update=function(i,s,u,m,v,_,M){void 0===u&&(u=hash(m));var X=(0===s?u:u>>>s)&$,Y=v===W,Z=this.nodes,ee=Z[X];if(Y&&!ee)return this;var ae=updateNode(ee,i,s+j,u,m,v,_,M);if(ae===ee)return this;var ie=this.count;if(ee){if(!ae&&--ie0&&m=0&&i>>s&$;if(m>=this.array.length)return new VNode([],i);var v,_=0===m;if(s>0){var M=this.array[m];if((v=M&&M.removeBefore(i,s-j,u))===M&&_)return this}if(_&&!v)return this;var W=editableVNode(this,i);if(!_)for(var X=0;X>>s&$;if(v>=this.array.length)return this;if(s>0){var _=this.array[v];if((m=_&&_.removeAfter(i,s-j,u))===_&&v===this.array.length-1)return this}var M=editableVNode(this,i);return M.array.splice(v+1),m&&(M.array[v]=m),M};var rt,nt,ot={};function iterateList(i,s){var u=i._origin,m=i._capacity,v=getTailOffset(m),_=i._tail;return iterateNodeOrLeaf(i._root,i._level,0);function iterateNodeOrLeaf(i,s,u){return 0===s?iterateLeaf(i,u):iterateNode(i,s,u)}function iterateLeaf(i,j){var $=j===v?_&&_.array:i&&i.array,W=j>u?0:u-j,X=m-j;return X>M&&(X=M),function(){if(W===X)return ot;var i=s?--X:W++;return $&&$[i]}}function iterateNode(i,v,_){var $,W=i&&i.array,X=_>u?0:u-_>>v,Y=1+(m-_>>v);return Y>M&&(Y=M),function(){for(;;){if($){var i=$();if(i!==ot)return i;$=null}if(X===Y)return ot;var u=s?--Y:X++;$=iterateNodeOrLeaf(W&&W[u],v-j,_+(u<=i.size||s<0)return i.withMutations((function(i){s<0?setListBounds(i,s).set(0,u):setListBounds(i,0,s+1).set(s,u)}));s+=i._origin;var m=i._tail,v=i._root,_=MakeRef(Y);return s>=getTailOffset(i._capacity)?m=updateVNode(m,i.__ownerID,0,s,u,_):v=updateVNode(v,i.__ownerID,i._level,s,u,_),_.value?i.__ownerID?(i._root=v,i._tail=m,i.__hash=void 0,i.__altered=!0,i):makeList(i._origin,i._capacity,i._level,v,m):i}function updateVNode(i,s,u,m,v,_){var M,W=m>>>u&$,X=i&&W0){var Y=i&&i.array[W],Z=updateVNode(Y,s,u-j,m,v,_);return Z===Y?i:((M=editableVNode(i,s)).array[W]=Z,M)}return X&&i.array[W]===v?i:(SetRef(_),M=editableVNode(i,s),void 0===v&&W===M.array.length-1?M.array.pop():M.array[W]=v,M)}function editableVNode(i,s){return s&&i&&s===i.ownerID?i:new VNode(i?i.array.slice():[],s)}function listNodeFor(i,s){if(s>=getTailOffset(i._capacity))return i._tail;if(s<1<0;)u=u.array[s>>>m&$],m-=j;return u}}function setListBounds(i,s,u){void 0!==s&&(s|=0),void 0!==u&&(u|=0);var m=i.__ownerID||new OwnerID,v=i._origin,_=i._capacity,M=v+s,W=void 0===u?_:u<0?_+u:v+u;if(M===v&&W===_)return i;if(M>=W)return i.clear();for(var X=i._level,Y=i._root,Z=0;M+Z<0;)Y=new VNode(Y&&Y.array.length?[void 0,Y]:[],m),Z+=1<<(X+=j);Z&&(M+=Z,v+=Z,W+=Z,_+=Z);for(var ee=getTailOffset(_),ae=getTailOffset(W);ae>=1<ee?new VNode([],m):ie;if(ie&&ae>ee&&M<_&&ie.array.length){for(var ce=Y=editableVNode(Y,m),pe=X;pe>j;pe-=j){var de=ee>>>pe&$;ce=ce.array[de]=editableVNode(ce.array[de],m)}ce.array[ee>>>j&$]=ie}if(W<_&&(le=le&&le.removeAfter(m,0,W)),M>=ae)M-=ae,W-=ae,X=j,Y=null,le=le&&le.removeBefore(m,0,M);else if(M>v||ae>>X&$;if(fe!==ae>>>X&$)break;fe&&(Z+=(1<v&&(Y=Y.removeBefore(m,X,M-Z)),Y&&aev&&(v=M.size),isIterable(j)||(M=M.map((function(i){return fromJS(i)}))),m.push(M)}return v>i.size&&(i=i.setSize(v)),mergeIntoCollectionWith(i,s,m)}function getTailOffset(i){return i>>j<=M&&j.size>=2*_.size?(m=(v=j.filter((function(i,s){return void 0!==i&&$!==s}))).toKeyedSeq().map((function(i){return i[0]})).flip().toMap(),i.__ownerID&&(m.__ownerID=v.__ownerID=i.__ownerID)):(m=_.remove(s),v=$===j.size-1?j.pop():j.set($,void 0))}else if(X){if(u===j.get($)[1])return i;m=_,v=j.set($,[s,u])}else m=_.set(s,j.size),v=j.set(j.size,[s,u]);return i.__ownerID?(i.size=m.size,i._map=m,i._list=v,i.__hash=void 0,i):makeOrderedMap(m,v)}function ToKeyedSequence(i,s){this._iter=i,this._useKeys=s,this.size=i.size}function ToIndexedSequence(i){this._iter=i,this.size=i.size}function ToSetSequence(i){this._iter=i,this.size=i.size}function FromEntriesSequence(i){this._iter=i,this.size=i.size}function flipFactory(i){var s=makeSequence(i);return s._iter=i,s.size=i.size,s.flip=function(){return i},s.reverse=function(){var s=i.reverse.apply(this);return s.flip=function(){return i.reverse()},s},s.has=function(s){return i.includes(s)},s.includes=function(s){return i.has(s)},s.cacheResult=cacheResultThrough,s.__iterateUncached=function(s,u){var m=this;return i.__iterate((function(i,u){return!1!==s(u,i,m)}),u)},s.__iteratorUncached=function(s,u){if(s===ae){var m=i.__iterator(s,u);return new Iterator((function(){var i=m.next();if(!i.done){var s=i.value[0];i.value[0]=i.value[1],i.value[1]=s}return i}))}return i.__iterator(s===ee?Z:ee,u)},s}function mapFactory(i,s,u){var m=makeSequence(i);return m.size=i.size,m.has=function(s){return i.has(s)},m.get=function(m,v){var _=i.get(m,W);return _===W?v:s.call(u,_,m,i)},m.__iterateUncached=function(m,v){var _=this;return i.__iterate((function(i,v,j){return!1!==m(s.call(u,i,v,j),v,_)}),v)},m.__iteratorUncached=function(m,v){var _=i.__iterator(ae,v);return new Iterator((function(){var v=_.next();if(v.done)return v;var j=v.value,M=j[0];return iteratorValue(m,M,s.call(u,j[1],M,i),v)}))},m}function reverseFactory(i,s){var u=makeSequence(i);return u._iter=i,u.size=i.size,u.reverse=function(){return i},i.flip&&(u.flip=function(){var s=flipFactory(i);return s.reverse=function(){return i.flip()},s}),u.get=function(u,m){return i.get(s?u:-1-u,m)},u.has=function(u){return i.has(s?u:-1-u)},u.includes=function(s){return i.includes(s)},u.cacheResult=cacheResultThrough,u.__iterate=function(s,u){var m=this;return i.__iterate((function(i,u){return s(i,u,m)}),!u)},u.__iterator=function(s,u){return i.__iterator(s,!u)},u}function filterFactory(i,s,u,m){var v=makeSequence(i);return m&&(v.has=function(m){var v=i.get(m,W);return v!==W&&!!s.call(u,v,m,i)},v.get=function(m,v){var _=i.get(m,W);return _!==W&&s.call(u,_,m,i)?_:v}),v.__iterateUncached=function(v,_){var j=this,M=0;return i.__iterate((function(i,_,$){if(s.call(u,i,_,$))return M++,v(i,m?_:M-1,j)}),_),M},v.__iteratorUncached=function(v,_){var j=i.__iterator(ae,_),M=0;return new Iterator((function(){for(;;){var _=j.next();if(_.done)return _;var $=_.value,W=$[0],X=$[1];if(s.call(u,X,W,i))return iteratorValue(v,m?W:M++,X,_)}}))},v}function countByFactory(i,s,u){var m=Map().asMutable();return i.__iterate((function(v,_){m.update(s.call(u,v,_,i),0,(function(i){return i+1}))})),m.asImmutable()}function groupByFactory(i,s,u){var m=isKeyed(i),v=(isOrdered(i)?OrderedMap():Map()).asMutable();i.__iterate((function(_,j){v.update(s.call(u,_,j,i),(function(i){return(i=i||[]).push(m?[j,_]:_),i}))}));var _=iterableClass(i);return v.map((function(s){return reify(i,_(s))}))}function sliceFactory(i,s,u,m){var v=i.size;if(void 0!==s&&(s|=0),void 0!==u&&(u===1/0?u=v:u|=0),wholeSlice(s,u,v))return i;var _=resolveBegin(s,v),j=resolveEnd(u,v);if(_!=_||j!=j)return sliceFactory(i.toSeq().cacheResult(),s,u,m);var M,$=j-_;$==$&&(M=$<0?0:$);var W=makeSequence(i);return W.size=0===M?M:i.size&&M||void 0,!m&&isSeq(i)&&M>=0&&(W.get=function(s,u){return(s=wrapIndex(this,s))>=0&&sM)return iteratorDone();var i=v.next();return m||s===ee?i:iteratorValue(s,$-1,s===Z?void 0:i.value[1],i)}))},W}function takeWhileFactory(i,s,u){var m=makeSequence(i);return m.__iterateUncached=function(m,v){var _=this;if(v)return this.cacheResult().__iterate(m,v);var j=0;return i.__iterate((function(i,v,M){return s.call(u,i,v,M)&&++j&&m(i,v,_)})),j},m.__iteratorUncached=function(m,v){var _=this;if(v)return this.cacheResult().__iterator(m,v);var j=i.__iterator(ae,v),M=!0;return new Iterator((function(){if(!M)return iteratorDone();var i=j.next();if(i.done)return i;var v=i.value,$=v[0],W=v[1];return s.call(u,W,$,_)?m===ae?i:iteratorValue(m,$,W,i):(M=!1,iteratorDone())}))},m}function skipWhileFactory(i,s,u,m){var v=makeSequence(i);return v.__iterateUncached=function(v,_){var j=this;if(_)return this.cacheResult().__iterate(v,_);var M=!0,$=0;return i.__iterate((function(i,_,W){if(!M||!(M=s.call(u,i,_,W)))return $++,v(i,m?_:$-1,j)})),$},v.__iteratorUncached=function(v,_){var j=this;if(_)return this.cacheResult().__iterator(v,_);var M=i.__iterator(ae,_),$=!0,W=0;return new Iterator((function(){var i,_,X;do{if((i=M.next()).done)return m||v===ee?i:iteratorValue(v,W++,v===Z?void 0:i.value[1],i);var Y=i.value;_=Y[0],X=Y[1],$&&($=s.call(u,X,_,j))}while($);return v===ae?i:iteratorValue(v,_,X,i)}))},v}function concatFactory(i,s){var u=isKeyed(i),m=[i].concat(s).map((function(i){return isIterable(i)?u&&(i=KeyedIterable(i)):i=u?keyedSeqFromValue(i):indexedSeqFromValue(Array.isArray(i)?i:[i]),i})).filter((function(i){return 0!==i.size}));if(0===m.length)return i;if(1===m.length){var v=m[0];if(v===i||u&&isKeyed(v)||isIndexed(i)&&isIndexed(v))return v}var _=new ArraySeq(m);return u?_=_.toKeyedSeq():isIndexed(i)||(_=_.toSetSeq()),(_=_.flatten(!0)).size=m.reduce((function(i,s){if(void 0!==i){var u=s.size;if(void 0!==u)return i+u}}),0),_}function flattenFactory(i,s,u){var m=makeSequence(i);return m.__iterateUncached=function(m,v){var _=0,j=!1;function flatDeep(i,M){var $=this;i.__iterate((function(i,v){return(!s||M0}function zipWithFactory(i,s,u){var m=makeSequence(i);return m.size=new ArraySeq(u).map((function(i){return i.size})).min(),m.__iterate=function(i,s){for(var u,m=this.__iterator(ee,s),v=0;!(u=m.next()).done&&!1!==i(u.value,v++,this););return v},m.__iteratorUncached=function(i,m){var v=u.map((function(i){return i=Iterable(i),getIterator(m?i.reverse():i)})),_=0,j=!1;return new Iterator((function(){var u;return j||(u=v.map((function(i){return i.next()})),j=u.some((function(i){return i.done}))),j?iteratorDone():iteratorValue(i,_++,s.apply(null,u.map((function(i){return i.value}))))}))},m}function reify(i,s){return isSeq(i)?s:i.constructor(s)}function validateEntry(i){if(i!==Object(i))throw new TypeError("Expected [K, V] tuple: "+i)}function resolveSize(i){return assertNotInfinite(i.size),ensureSize(i)}function iterableClass(i){return isKeyed(i)?KeyedIterable:isIndexed(i)?IndexedIterable:SetIterable}function makeSequence(i){return Object.create((isKeyed(i)?KeyedSeq:isIndexed(i)?IndexedSeq:SetSeq).prototype)}function cacheResultThrough(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Seq.prototype.cacheResult.call(this)}function defaultComparator(i,s){return i>s?1:i=0;u--)s={value:arguments[u],next:s};return this.__ownerID?(this.size=i,this._head=s,this.__hash=void 0,this.__altered=!0,this):makeStack(i,s)},Stack.prototype.pushAll=function(i){if(0===(i=IndexedIterable(i)).size)return this;assertNotInfinite(i.size);var s=this.size,u=this._head;return i.reverse().forEach((function(i){s++,u={value:i,next:u}})),this.__ownerID?(this.size=s,this._head=u,this.__hash=void 0,this.__altered=!0,this):makeStack(s,u)},Stack.prototype.pop=function(){return this.slice(1)},Stack.prototype.unshift=function(){return this.push.apply(this,arguments)},Stack.prototype.unshiftAll=function(i){return this.pushAll(i)},Stack.prototype.shift=function(){return this.pop.apply(this,arguments)},Stack.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):emptyStack()},Stack.prototype.slice=function(i,s){if(wholeSlice(i,s,this.size))return this;var u=resolveBegin(i,this.size);if(resolveEnd(s,this.size)!==this.size)return IndexedCollection.prototype.slice.call(this,i,s);for(var m=this.size-u,v=this._head;u--;)v=v.next;return this.__ownerID?(this.size=m,this._head=v,this.__hash=void 0,this.__altered=!0,this):makeStack(m,v)},Stack.prototype.__ensureOwner=function(i){return i===this.__ownerID?this:i?makeStack(this.size,this._head,i,this.__hash):(this.__ownerID=i,this.__altered=!1,this)},Stack.prototype.__iterate=function(i,s){if(s)return this.reverse().__iterate(i);for(var u=0,m=this._head;m&&!1!==i(m.value,u++,this);)m=m.next;return u},Stack.prototype.__iterator=function(i,s){if(s)return this.reverse().__iterator(i);var u=0,m=this._head;return new Iterator((function(){if(m){var s=m.value;return m=m.next,iteratorValue(i,u++,s)}return iteratorDone()}))},Stack.isStack=isStack;var pt,ht="@@__IMMUTABLE_STACK__@@",dt=Stack.prototype;function makeStack(i,s,u,m){var v=Object.create(dt);return v.size=i,v._head=s,v.__ownerID=u,v.__hash=m,v.__altered=!1,v}function emptyStack(){return pt||(pt=makeStack(0))}function mixin(i,s){var keyCopier=function(u){i.prototype[u]=s[u]};return Object.keys(s).forEach(keyCopier),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(s).forEach(keyCopier),i}dt[ht]=!0,dt.withMutations=He.withMutations,dt.asMutable=He.asMutable,dt.asImmutable=He.asImmutable,dt.wasAltered=He.wasAltered,Iterable.Iterator=Iterator,mixin(Iterable,{toArray:function(){assertNotInfinite(this.size);var i=new Array(this.size||0);return this.valueSeq().__iterate((function(s,u){i[u]=s})),i},toIndexedSeq:function(){return new ToIndexedSequence(this)},toJS:function(){return this.toSeq().map((function(i){return i&&"function"==typeof i.toJS?i.toJS():i})).__toJS()},toJSON:function(){return this.toSeq().map((function(i){return i&&"function"==typeof i.toJSON?i.toJSON():i})).__toJS()},toKeyedSeq:function(){return new ToKeyedSequence(this,!0)},toMap:function(){return Map(this.toKeyedSeq())},toObject:function(){assertNotInfinite(this.size);var i={};return this.__iterate((function(s,u){i[u]=s})),i},toOrderedMap:function(){return OrderedMap(this.toKeyedSeq())},toOrderedSet:function(){return OrderedSet(isKeyed(this)?this.valueSeq():this)},toSet:function(){return Set(isKeyed(this)?this.valueSeq():this)},toSetSeq:function(){return new ToSetSequence(this)},toSeq:function(){return isIndexed(this)?this.toIndexedSeq():isKeyed(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Stack(isKeyed(this)?this.valueSeq():this)},toList:function(){return List(isKeyed(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(i,s){return 0===this.size?i+s:i+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+s},concat:function(){return reify(this,concatFactory(this,i.call(arguments,0)))},includes:function(i){return this.some((function(s){return is(s,i)}))},entries:function(){return this.__iterator(ae)},every:function(i,s){assertNotInfinite(this.size);var u=!0;return this.__iterate((function(m,v,_){if(!i.call(s,m,v,_))return u=!1,!1})),u},filter:function(i,s){return reify(this,filterFactory(this,i,s,!0))},find:function(i,s,u){var m=this.findEntry(i,s);return m?m[1]:u},forEach:function(i,s){return assertNotInfinite(this.size),this.__iterate(s?i.bind(s):i)},join:function(i){assertNotInfinite(this.size),i=void 0!==i?""+i:",";var s="",u=!0;return this.__iterate((function(m){u?u=!1:s+=i,s+=null!=m?m.toString():""})),s},keys:function(){return this.__iterator(Z)},map:function(i,s){return reify(this,mapFactory(this,i,s))},reduce:function(i,s,u){var m,v;return assertNotInfinite(this.size),arguments.length<2?v=!0:m=s,this.__iterate((function(s,_,j){v?(v=!1,m=s):m=i.call(u,m,s,_,j)})),m},reduceRight:function(i,s,u){var m=this.toKeyedSeq().reverse();return m.reduce.apply(m,arguments)},reverse:function(){return reify(this,reverseFactory(this,!0))},slice:function(i,s){return reify(this,sliceFactory(this,i,s,!0))},some:function(i,s){return!this.every(not(i),s)},sort:function(i){return reify(this,sortFactory(this,i))},values:function(){return this.__iterator(ee)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(i,s){return ensureSize(i?this.toSeq().filter(i,s):this)},countBy:function(i,s){return countByFactory(this,i,s)},equals:function(i){return deepEqual(this,i)},entrySeq:function(){var i=this;if(i._cache)return new ArraySeq(i._cache);var s=i.toSeq().map(entryMapper).toIndexedSeq();return s.fromEntrySeq=function(){return i.toSeq()},s},filterNot:function(i,s){return this.filter(not(i),s)},findEntry:function(i,s,u){var m=u;return this.__iterate((function(u,v,_){if(i.call(s,u,v,_))return m=[v,u],!1})),m},findKey:function(i,s){var u=this.findEntry(i,s);return u&&u[0]},findLast:function(i,s,u){return this.toKeyedSeq().reverse().find(i,s,u)},findLastEntry:function(i,s,u){return this.toKeyedSeq().reverse().findEntry(i,s,u)},findLastKey:function(i,s){return this.toKeyedSeq().reverse().findKey(i,s)},first:function(){return this.find(returnTrue)},flatMap:function(i,s){return reify(this,flatMapFactory(this,i,s))},flatten:function(i){return reify(this,flattenFactory(this,i,!0))},fromEntrySeq:function(){return new FromEntriesSequence(this)},get:function(i,s){return this.find((function(s,u){return is(u,i)}),void 0,s)},getIn:function(i,s){for(var u,m=this,v=forceIterator(i);!(u=v.next()).done;){var _=u.value;if((m=m&&m.get?m.get(_,W):W)===W)return s}return m},groupBy:function(i,s){return groupByFactory(this,i,s)},has:function(i){return this.get(i,W)!==W},hasIn:function(i){return this.getIn(i,W)!==W},isSubset:function(i){return i="function"==typeof i.includes?i:Iterable(i),this.every((function(s){return i.includes(s)}))},isSuperset:function(i){return(i="function"==typeof i.isSubset?i:Iterable(i)).isSubset(this)},keyOf:function(i){return this.findKey((function(s){return is(s,i)}))},keySeq:function(){return this.toSeq().map(keyMapper).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(i){return this.toKeyedSeq().reverse().keyOf(i)},max:function(i){return maxFactory(this,i)},maxBy:function(i,s){return maxFactory(this,s,i)},min:function(i){return maxFactory(this,i?neg(i):defaultNegComparator)},minBy:function(i,s){return maxFactory(this,s?neg(s):defaultNegComparator,i)},rest:function(){return this.slice(1)},skip:function(i){return this.slice(Math.max(0,i))},skipLast:function(i){return reify(this,this.toSeq().reverse().skip(i).reverse())},skipWhile:function(i,s){return reify(this,skipWhileFactory(this,i,s,!0))},skipUntil:function(i,s){return this.skipWhile(not(i),s)},sortBy:function(i,s){return reify(this,sortFactory(this,s,i))},take:function(i){return this.slice(0,Math.max(0,i))},takeLast:function(i){return reify(this,this.toSeq().reverse().take(i).reverse())},takeWhile:function(i,s){return reify(this,takeWhileFactory(this,i,s))},takeUntil:function(i,s){return this.takeWhile(not(i),s)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=hashIterable(this))}});var mt=Iterable.prototype;mt[s]=!0,mt[ce]=mt.values,mt.__toJS=mt.toArray,mt.__toStringMapper=quoteString,mt.inspect=mt.toSource=function(){return this.toString()},mt.chain=mt.flatMap,mt.contains=mt.includes,mixin(KeyedIterable,{flip:function(){return reify(this,flipFactory(this))},mapEntries:function(i,s){var u=this,m=0;return reify(this,this.toSeq().map((function(v,_){return i.call(s,[_,v],m++,u)})).fromEntrySeq())},mapKeys:function(i,s){var u=this;return reify(this,this.toSeq().flip().map((function(m,v){return i.call(s,m,v,u)})).flip())}});var gt=KeyedIterable.prototype;function keyMapper(i,s){return s}function entryMapper(i,s){return[s,i]}function not(i){return function(){return!i.apply(this,arguments)}}function neg(i){return function(){return-i.apply(this,arguments)}}function quoteString(i){return"string"==typeof i?JSON.stringify(i):String(i)}function defaultZipper(){return arrCopy(arguments)}function defaultNegComparator(i,s){return is?-1:0}function hashIterable(i){if(i.size===1/0)return 0;var s=isOrdered(i),u=isKeyed(i),m=s?1:0;return murmurHashOfSize(i.__iterate(u?s?function(i,s){m=31*m+hashMerge(hash(i),hash(s))|0}:function(i,s){m=m+hashMerge(hash(i),hash(s))|0}:s?function(i){m=31*m+hash(i)|0}:function(i){m=m+hash(i)|0}),m)}function murmurHashOfSize(i,s){return s=be(s,3432918353),s=be(s<<15|s>>>-15,461845907),s=be(s<<13|s>>>-13,5),s=be((s=(s+3864292196|0)^i)^s>>>16,2246822507),s=smi((s=be(s^s>>>13,3266489909))^s>>>16)}function hashMerge(i,s){return i^s+2654435769+(i<<6)+(i>>2)|0}return gt[u]=!0,gt[ce]=mt.entries,gt.__toJS=mt.toObject,gt.__toStringMapper=function(i,s){return JSON.stringify(s)+": "+quoteString(i)},mixin(IndexedIterable,{toKeyedSeq:function(){return new ToKeyedSequence(this,!1)},filter:function(i,s){return reify(this,filterFactory(this,i,s,!1))},findIndex:function(i,s){var u=this.findEntry(i,s);return u?u[0]:-1},indexOf:function(i){var s=this.keyOf(i);return void 0===s?-1:s},lastIndexOf:function(i){var s=this.lastKeyOf(i);return void 0===s?-1:s},reverse:function(){return reify(this,reverseFactory(this,!1))},slice:function(i,s){return reify(this,sliceFactory(this,i,s,!1))},splice:function(i,s){var u=arguments.length;if(s=Math.max(0|s,0),0===u||2===u&&!s)return this;i=resolveBegin(i,i<0?this.count():this.size);var m=this.slice(0,i);return reify(this,1===u?m:m.concat(arrCopy(arguments,2),this.slice(i+s)))},findLastIndex:function(i,s){var u=this.findLastEntry(i,s);return u?u[0]:-1},first:function(){return this.get(0)},flatten:function(i){return reify(this,flattenFactory(this,i,!1))},get:function(i,s){return(i=wrapIndex(this,i))<0||this.size===1/0||void 0!==this.size&&i>this.size?s:this.find((function(s,u){return u===i}),void 0,s)},has:function(i){return(i=wrapIndex(this,i))>=0&&(void 0!==this.size?this.size===1/0||i{"function"==typeof Object.create?i.exports=function inherits(i,s){s&&(i.super_=s,i.prototype=Object.create(s.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}))}:i.exports=function inherits(i,s){if(s){i.super_=s;var TempCtor=function(){};TempCtor.prototype=s.prototype,i.prototype=new TempCtor,i.prototype.constructor=i}}},35823:i=>{i.exports=function(i,s,u,m){var v=new Blob(void 0!==m?[m,i]:[i],{type:u||"application/octet-stream"});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(v,s);else{var _=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(v):window.webkitURL.createObjectURL(v),j=document.createElement("a");j.style.display="none",j.href=_,j.setAttribute("download",s),void 0===j.download&&j.setAttribute("target","_blank"),document.body.appendChild(j),j.click(),setTimeout((function(){document.body.removeChild(j),window.URL.revokeObjectURL(_)}),200)}}},91296:(i,s,u)=>{var m=NaN,v="[object Symbol]",_=/^\s+|\s+$/g,j=/^[-+]0x[0-9a-f]+$/i,M=/^0b[01]+$/i,$=/^0o[0-7]+$/i,W=parseInt,X="object"==typeof u.g&&u.g&&u.g.Object===Object&&u.g,Y="object"==typeof self&&self&&self.Object===Object&&self,Z=X||Y||Function("return this")(),ee=Object.prototype.toString,ae=Math.max,ie=Math.min,now=function(){return Z.Date.now()};function isObject(i){var s=typeof i;return!!i&&("object"==s||"function"==s)}function toNumber(i){if("number"==typeof i)return i;if(function isSymbol(i){return"symbol"==typeof i||function isObjectLike(i){return!!i&&"object"==typeof i}(i)&&ee.call(i)==v}(i))return m;if(isObject(i)){var s="function"==typeof i.valueOf?i.valueOf():i;i=isObject(s)?s+"":s}if("string"!=typeof i)return 0===i?i:+i;i=i.replace(_,"");var u=M.test(i);return u||$.test(i)?W(i.slice(2),u?2:8):j.test(i)?m:+i}i.exports=function debounce(i,s,u){var m,v,_,j,M,$,W=0,X=!1,Y=!1,Z=!0;if("function"!=typeof i)throw new TypeError("Expected a function");function invokeFunc(s){var u=m,_=v;return m=v=void 0,W=s,j=i.apply(_,u)}function shouldInvoke(i){var u=i-$;return void 0===$||u>=s||u<0||Y&&i-W>=_}function timerExpired(){var i=now();if(shouldInvoke(i))return trailingEdge(i);M=setTimeout(timerExpired,function remainingWait(i){var u=s-(i-$);return Y?ie(u,_-(i-W)):u}(i))}function trailingEdge(i){return M=void 0,Z&&m?invokeFunc(i):(m=v=void 0,j)}function debounced(){var i=now(),u=shouldInvoke(i);if(m=arguments,v=this,$=i,u){if(void 0===M)return function leadingEdge(i){return W=i,M=setTimeout(timerExpired,s),X?invokeFunc(i):j}($);if(Y)return M=setTimeout(timerExpired,s),invokeFunc($)}return void 0===M&&(M=setTimeout(timerExpired,s)),j}return s=toNumber(s)||0,isObject(u)&&(X=!!u.leading,_=(Y="maxWait"in u)?ae(toNumber(u.maxWait)||0,s):_,Z="trailing"in u?!!u.trailing:Z),debounced.cancel=function cancel(){void 0!==M&&clearTimeout(M),W=0,m=$=v=M=void 0},debounced.flush=function flush(){return void 0===M?j:trailingEdge(now())},debounced}},18552:(i,s,u)=>{var m=u(10852)(u(55639),"DataView");i.exports=m},1989:(i,s,u)=>{var m=u(51789),v=u(80401),_=u(57667),j=u(21327),M=u(81866);function Hash(i){var s=-1,u=null==i?0:i.length;for(this.clear();++s{var m=u(3118),v=u(9435);function LazyWrapper(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}LazyWrapper.prototype=m(v.prototype),LazyWrapper.prototype.constructor=LazyWrapper,i.exports=LazyWrapper},38407:(i,s,u)=>{var m=u(27040),v=u(14125),_=u(82117),j=u(67518),M=u(54705);function ListCache(i){var s=-1,u=null==i?0:i.length;for(this.clear();++s{var m=u(3118),v=u(9435);function LodashWrapper(i,s){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=void 0}LodashWrapper.prototype=m(v.prototype),LodashWrapper.prototype.constructor=LodashWrapper,i.exports=LodashWrapper},57071:(i,s,u)=>{var m=u(10852)(u(55639),"Map");i.exports=m},83369:(i,s,u)=>{var m=u(24785),v=u(11285),_=u(96e3),j=u(49916),M=u(95265);function MapCache(i){var s=-1,u=null==i?0:i.length;for(this.clear();++s{var m=u(10852)(u(55639),"Promise");i.exports=m},58525:(i,s,u)=>{var m=u(10852)(u(55639),"Set");i.exports=m},88668:(i,s,u)=>{var m=u(83369),v=u(90619),_=u(72385);function SetCache(i){var s=-1,u=null==i?0:i.length;for(this.__data__=new m;++s{var m=u(38407),v=u(37465),_=u(63779),j=u(67599),M=u(44758),$=u(34309);function Stack(i){var s=this.__data__=new m(i);this.size=s.size}Stack.prototype.clear=v,Stack.prototype.delete=_,Stack.prototype.get=j,Stack.prototype.has=M,Stack.prototype.set=$,i.exports=Stack},62705:(i,s,u)=>{var m=u(55639).Symbol;i.exports=m},11149:(i,s,u)=>{var m=u(55639).Uint8Array;i.exports=m},70577:(i,s,u)=>{var m=u(10852)(u(55639),"WeakMap");i.exports=m},96874:i=>{i.exports=function apply(i,s,u){switch(u.length){case 0:return i.call(s);case 1:return i.call(s,u[0]);case 2:return i.call(s,u[0],u[1]);case 3:return i.call(s,u[0],u[1],u[2])}return i.apply(s,u)}},77412:i=>{i.exports=function arrayEach(i,s){for(var u=-1,m=null==i?0:i.length;++u{i.exports=function arrayFilter(i,s){for(var u=-1,m=null==i?0:i.length,v=0,_=[];++u{var m=u(42118);i.exports=function arrayIncludes(i,s){return!!(null==i?0:i.length)&&m(i,s,0)>-1}},14636:(i,s,u)=>{var m=u(22545),v=u(35694),_=u(1469),j=u(44144),M=u(65776),$=u(36719),W=Object.prototype.hasOwnProperty;i.exports=function arrayLikeKeys(i,s){var u=_(i),X=!u&&v(i),Y=!u&&!X&&j(i),Z=!u&&!X&&!Y&&$(i),ee=u||X||Y||Z,ae=ee?m(i.length,String):[],ie=ae.length;for(var le in i)!s&&!W.call(i,le)||ee&&("length"==le||Y&&("offset"==le||"parent"==le)||Z&&("buffer"==le||"byteLength"==le||"byteOffset"==le)||M(le,ie))||ae.push(le);return ae}},29932:i=>{i.exports=function arrayMap(i,s){for(var u=-1,m=null==i?0:i.length,v=Array(m);++u{i.exports=function arrayPush(i,s){for(var u=-1,m=s.length,v=i.length;++u{i.exports=function arrayReduce(i,s,u,m){var v=-1,_=null==i?0:i.length;for(m&&_&&(u=i[++v]);++v<_;)u=s(u,i[v],v,i);return u}},82908:i=>{i.exports=function arraySome(i,s){for(var u=-1,m=null==i?0:i.length;++u{i.exports=function asciiToArray(i){return i.split("")}},49029:i=>{var s=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;i.exports=function asciiWords(i){return i.match(s)||[]}},86556:(i,s,u)=>{var m=u(89465),v=u(77813);i.exports=function assignMergeValue(i,s,u){(void 0!==u&&!v(i[s],u)||void 0===u&&!(s in i))&&m(i,s,u)}},34865:(i,s,u)=>{var m=u(89465),v=u(77813),_=Object.prototype.hasOwnProperty;i.exports=function assignValue(i,s,u){var j=i[s];_.call(i,s)&&v(j,u)&&(void 0!==u||s in i)||m(i,s,u)}},18470:(i,s,u)=>{var m=u(77813);i.exports=function assocIndexOf(i,s){for(var u=i.length;u--;)if(m(i[u][0],s))return u;return-1}},44037:(i,s,u)=>{var m=u(98363),v=u(3674);i.exports=function baseAssign(i,s){return i&&m(s,v(s),i)}},63886:(i,s,u)=>{var m=u(98363),v=u(81704);i.exports=function baseAssignIn(i,s){return i&&m(s,v(s),i)}},89465:(i,s,u)=>{var m=u(38777);i.exports=function baseAssignValue(i,s,u){"__proto__"==s&&m?m(i,s,{configurable:!0,enumerable:!0,value:u,writable:!0}):i[s]=u}},85990:(i,s,u)=>{var m=u(46384),v=u(77412),_=u(34865),j=u(44037),M=u(63886),$=u(64626),W=u(278),X=u(18805),Y=u(1911),Z=u(58234),ee=u(46904),ae=u(64160),ie=u(43824),le=u(29148),ce=u(38517),pe=u(1469),de=u(44144),fe=u(56688),ye=u(13218),be=u(72928),_e=u(3674),we=u(81704),Se="[object Arguments]",xe="[object Function]",Pe="[object Object]",Ie={};Ie[Se]=Ie["[object Array]"]=Ie["[object ArrayBuffer]"]=Ie["[object DataView]"]=Ie["[object Boolean]"]=Ie["[object Date]"]=Ie["[object Float32Array]"]=Ie["[object Float64Array]"]=Ie["[object Int8Array]"]=Ie["[object Int16Array]"]=Ie["[object Int32Array]"]=Ie["[object Map]"]=Ie["[object Number]"]=Ie[Pe]=Ie["[object RegExp]"]=Ie["[object Set]"]=Ie["[object String]"]=Ie["[object Symbol]"]=Ie["[object Uint8Array]"]=Ie["[object Uint8ClampedArray]"]=Ie["[object Uint16Array]"]=Ie["[object Uint32Array]"]=!0,Ie["[object Error]"]=Ie[xe]=Ie["[object WeakMap]"]=!1,i.exports=function baseClone(i,s,u,Te,Re,qe){var ze,Ve=1&s,We=2&s,He=4&s;if(u&&(ze=Re?u(i,Te,Re,qe):u(i)),void 0!==ze)return ze;if(!ye(i))return i;var Xe=pe(i);if(Xe){if(ze=ie(i),!Ve)return W(i,ze)}else{var Ye=ae(i),Qe=Ye==xe||"[object GeneratorFunction]"==Ye;if(de(i))return $(i,Ve);if(Ye==Pe||Ye==Se||Qe&&!Re){if(ze=We||Qe?{}:ce(i),!Ve)return We?Y(i,M(ze,i)):X(i,j(ze,i))}else{if(!Ie[Ye])return Re?i:{};ze=le(i,Ye,Ve)}}qe||(qe=new m);var et=qe.get(i);if(et)return et;qe.set(i,ze),be(i)?i.forEach((function(m){ze.add(baseClone(m,s,u,m,i,qe))})):fe(i)&&i.forEach((function(m,v){ze.set(v,baseClone(m,s,u,v,i,qe))}));var tt=Xe?void 0:(He?We?ee:Z:We?we:_e)(i);return v(tt||i,(function(m,v){tt&&(m=i[v=m]),_(ze,v,baseClone(m,s,u,v,i,qe))})),ze}},3118:(i,s,u)=>{var m=u(13218),v=Object.create,_=function(){function object(){}return function(i){if(!m(i))return{};if(v)return v(i);object.prototype=i;var s=new object;return object.prototype=void 0,s}}();i.exports=_},89881:(i,s,u)=>{var m=u(47816),v=u(99291)(m);i.exports=v},41848:i=>{i.exports=function baseFindIndex(i,s,u,m){for(var v=i.length,_=u+(m?1:-1);m?_--:++_{var m=u(62488),v=u(37285);i.exports=function baseFlatten(i,s,u,_,j){var M=-1,$=i.length;for(u||(u=v),j||(j=[]);++M<$;){var W=i[M];s>0&&u(W)?s>1?baseFlatten(W,s-1,u,_,j):m(j,W):_||(j[j.length]=W)}return j}},28483:(i,s,u)=>{var m=u(25063)();i.exports=m},47816:(i,s,u)=>{var m=u(28483),v=u(3674);i.exports=function baseForOwn(i,s){return i&&m(i,s,v)}},97786:(i,s,u)=>{var m=u(71811),v=u(40327);i.exports=function baseGet(i,s){for(var u=0,_=(s=m(s,i)).length;null!=i&&u<_;)i=i[v(s[u++])];return u&&u==_?i:void 0}},68866:(i,s,u)=>{var m=u(62488),v=u(1469);i.exports=function baseGetAllKeys(i,s,u){var _=s(i);return v(i)?_:m(_,u(i))}},44239:(i,s,u)=>{var m=u(62705),v=u(89607),_=u(2333),j=m?m.toStringTag:void 0;i.exports=function baseGetTag(i){return null==i?void 0===i?"[object Undefined]":"[object Null]":j&&j in Object(i)?v(i):_(i)}},13:i=>{i.exports=function baseHasIn(i,s){return null!=i&&s in Object(i)}},42118:(i,s,u)=>{var m=u(41848),v=u(62722),_=u(42351);i.exports=function baseIndexOf(i,s,u){return s==s?_(i,s,u):m(i,v,u)}},9454:(i,s,u)=>{var m=u(44239),v=u(37005);i.exports=function baseIsArguments(i){return v(i)&&"[object Arguments]"==m(i)}},90939:(i,s,u)=>{var m=u(2492),v=u(37005);i.exports=function baseIsEqual(i,s,u,_,j){return i===s||(null==i||null==s||!v(i)&&!v(s)?i!=i&&s!=s:m(i,s,u,_,baseIsEqual,j))}},2492:(i,s,u)=>{var m=u(46384),v=u(67114),_=u(18351),j=u(16096),M=u(64160),$=u(1469),W=u(44144),X=u(36719),Y="[object Arguments]",Z="[object Array]",ee="[object Object]",ae=Object.prototype.hasOwnProperty;i.exports=function baseIsEqualDeep(i,s,u,ie,le,ce){var pe=$(i),de=$(s),fe=pe?Z:M(i),ye=de?Z:M(s),be=(fe=fe==Y?ee:fe)==ee,_e=(ye=ye==Y?ee:ye)==ee,we=fe==ye;if(we&&W(i)){if(!W(s))return!1;pe=!0,be=!1}if(we&&!be)return ce||(ce=new m),pe||X(i)?v(i,s,u,ie,le,ce):_(i,s,fe,u,ie,le,ce);if(!(1&u)){var Se=be&&ae.call(i,"__wrapped__"),xe=_e&&ae.call(s,"__wrapped__");if(Se||xe){var Pe=Se?i.value():i,Ie=xe?s.value():s;return ce||(ce=new m),le(Pe,Ie,u,ie,ce)}}return!!we&&(ce||(ce=new m),j(i,s,u,ie,le,ce))}},25588:(i,s,u)=>{var m=u(64160),v=u(37005);i.exports=function baseIsMap(i){return v(i)&&"[object Map]"==m(i)}},2958:(i,s,u)=>{var m=u(46384),v=u(90939);i.exports=function baseIsMatch(i,s,u,_){var j=u.length,M=j,$=!_;if(null==i)return!M;for(i=Object(i);j--;){var W=u[j];if($&&W[2]?W[1]!==i[W[0]]:!(W[0]in i))return!1}for(;++j{i.exports=function baseIsNaN(i){return i!=i}},28458:(i,s,u)=>{var m=u(23560),v=u(15346),_=u(13218),j=u(80346),M=/^\[object .+?Constructor\]$/,$=Function.prototype,W=Object.prototype,X=$.toString,Y=W.hasOwnProperty,Z=RegExp("^"+X.call(Y).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");i.exports=function baseIsNative(i){return!(!_(i)||v(i))&&(m(i)?Z:M).test(j(i))}},29221:(i,s,u)=>{var m=u(64160),v=u(37005);i.exports=function baseIsSet(i){return v(i)&&"[object Set]"==m(i)}},38749:(i,s,u)=>{var m=u(44239),v=u(41780),_=u(37005),j={};j["[object Float32Array]"]=j["[object Float64Array]"]=j["[object Int8Array]"]=j["[object Int16Array]"]=j["[object Int32Array]"]=j["[object Uint8Array]"]=j["[object Uint8ClampedArray]"]=j["[object Uint16Array]"]=j["[object Uint32Array]"]=!0,j["[object Arguments]"]=j["[object Array]"]=j["[object ArrayBuffer]"]=j["[object Boolean]"]=j["[object DataView]"]=j["[object Date]"]=j["[object Error]"]=j["[object Function]"]=j["[object Map]"]=j["[object Number]"]=j["[object Object]"]=j["[object RegExp]"]=j["[object Set]"]=j["[object String]"]=j["[object WeakMap]"]=!1,i.exports=function baseIsTypedArray(i){return _(i)&&v(i.length)&&!!j[m(i)]}},67206:(i,s,u)=>{var m=u(91573),v=u(16432),_=u(6557),j=u(1469),M=u(39601);i.exports=function baseIteratee(i){return"function"==typeof i?i:null==i?_:"object"==typeof i?j(i)?v(i[0],i[1]):m(i):M(i)}},280:(i,s,u)=>{var m=u(25726),v=u(86916),_=Object.prototype.hasOwnProperty;i.exports=function baseKeys(i){if(!m(i))return v(i);var s=[];for(var u in Object(i))_.call(i,u)&&"constructor"!=u&&s.push(u);return s}},10313:(i,s,u)=>{var m=u(13218),v=u(25726),_=u(33498),j=Object.prototype.hasOwnProperty;i.exports=function baseKeysIn(i){if(!m(i))return _(i);var s=v(i),u=[];for(var M in i)("constructor"!=M||!s&&j.call(i,M))&&u.push(M);return u}},9435:i=>{i.exports=function baseLodash(){}},91573:(i,s,u)=>{var m=u(2958),v=u(1499),_=u(42634);i.exports=function baseMatches(i){var s=v(i);return 1==s.length&&s[0][2]?_(s[0][0],s[0][1]):function(u){return u===i||m(u,i,s)}}},16432:(i,s,u)=>{var m=u(90939),v=u(27361),_=u(79095),j=u(15403),M=u(89162),$=u(42634),W=u(40327);i.exports=function baseMatchesProperty(i,s){return j(i)&&M(s)?$(W(i),s):function(u){var j=v(u,i);return void 0===j&&j===s?_(u,i):m(s,j,3)}}},42980:(i,s,u)=>{var m=u(46384),v=u(86556),_=u(28483),j=u(59783),M=u(13218),$=u(81704),W=u(36390);i.exports=function baseMerge(i,s,u,X,Y){i!==s&&_(s,(function(_,$){if(Y||(Y=new m),M(_))j(i,s,$,u,baseMerge,X,Y);else{var Z=X?X(W(i,$),_,$+"",i,s,Y):void 0;void 0===Z&&(Z=_),v(i,$,Z)}}),$)}},59783:(i,s,u)=>{var m=u(86556),v=u(64626),_=u(77133),j=u(278),M=u(38517),$=u(35694),W=u(1469),X=u(29246),Y=u(44144),Z=u(23560),ee=u(13218),ae=u(68630),ie=u(36719),le=u(36390),ce=u(59881);i.exports=function baseMergeDeep(i,s,u,pe,de,fe,ye){var be=le(i,u),_e=le(s,u),we=ye.get(_e);if(we)m(i,u,we);else{var Se=fe?fe(be,_e,u+"",i,s,ye):void 0,xe=void 0===Se;if(xe){var Pe=W(_e),Ie=!Pe&&Y(_e),Te=!Pe&&!Ie&&ie(_e);Se=_e,Pe||Ie||Te?W(be)?Se=be:X(be)?Se=j(be):Ie?(xe=!1,Se=v(_e,!0)):Te?(xe=!1,Se=_(_e,!0)):Se=[]:ae(_e)||$(_e)?(Se=be,$(be)?Se=ce(be):ee(be)&&!Z(be)||(Se=M(_e))):xe=!1}xe&&(ye.set(_e,Se),de(Se,_e,pe,fe,ye),ye.delete(_e)),m(i,u,Se)}}},40371:i=>{i.exports=function baseProperty(i){return function(s){return null==s?void 0:s[i]}}},79152:(i,s,u)=>{var m=u(97786);i.exports=function basePropertyDeep(i){return function(s){return m(s,i)}}},18674:i=>{i.exports=function basePropertyOf(i){return function(s){return null==i?void 0:i[s]}}},10107:i=>{i.exports=function baseReduce(i,s,u,m,v){return v(i,(function(i,v,_){u=m?(m=!1,i):s(u,i,v,_)})),u}},5976:(i,s,u)=>{var m=u(6557),v=u(45357),_=u(30061);i.exports=function baseRest(i,s){return _(v(i,s,m),i+"")}},10611:(i,s,u)=>{var m=u(34865),v=u(71811),_=u(65776),j=u(13218),M=u(40327);i.exports=function baseSet(i,s,u,$){if(!j(i))return i;for(var W=-1,X=(s=v(s,i)).length,Y=X-1,Z=i;null!=Z&&++W{var m=u(6557),v=u(89250),_=v?function(i,s){return v.set(i,s),i}:m;i.exports=_},56560:(i,s,u)=>{var m=u(75703),v=u(38777),_=u(6557),j=v?function(i,s){return v(i,"toString",{configurable:!0,enumerable:!1,value:m(s),writable:!0})}:_;i.exports=j},14259:i=>{i.exports=function baseSlice(i,s,u){var m=-1,v=i.length;s<0&&(s=-s>v?0:v+s),(u=u>v?v:u)<0&&(u+=v),v=s>u?0:u-s>>>0,s>>>=0;for(var _=Array(v);++m{var m=u(89881);i.exports=function baseSome(i,s){var u;return m(i,(function(i,m,v){return!(u=s(i,m,v))})),!!u}},22545:i=>{i.exports=function baseTimes(i,s){for(var u=-1,m=Array(i);++u{var m=u(62705),v=u(29932),_=u(1469),j=u(33448),M=m?m.prototype:void 0,$=M?M.toString:void 0;i.exports=function baseToString(i){if("string"==typeof i)return i;if(_(i))return v(i,baseToString)+"";if(j(i))return $?$.call(i):"";var s=i+"";return"0"==s&&1/i==-Infinity?"-0":s}},27561:(i,s,u)=>{var m=u(67990),v=/^\s+/;i.exports=function baseTrim(i){return i?i.slice(0,m(i)+1).replace(v,""):i}},7518:i=>{i.exports=function baseUnary(i){return function(s){return i(s)}}},57406:(i,s,u)=>{var m=u(71811),v=u(10928),_=u(40292),j=u(40327);i.exports=function baseUnset(i,s){return s=m(s,i),null==(i=_(i,s))||delete i[j(v(s))]}},1757:i=>{i.exports=function baseZipObject(i,s,u){for(var m=-1,v=i.length,_=s.length,j={};++m{i.exports=function cacheHas(i,s){return i.has(s)}},71811:(i,s,u)=>{var m=u(1469),v=u(15403),_=u(55514),j=u(79833);i.exports=function castPath(i,s){return m(i)?i:v(i,s)?[i]:_(j(i))}},40180:(i,s,u)=>{var m=u(14259);i.exports=function castSlice(i,s,u){var v=i.length;return u=void 0===u?v:u,!s&&u>=v?i:m(i,s,u)}},74318:(i,s,u)=>{var m=u(11149);i.exports=function cloneArrayBuffer(i){var s=new i.constructor(i.byteLength);return new m(s).set(new m(i)),s}},64626:(i,s,u)=>{i=u.nmd(i);var m=u(55639),v=s&&!s.nodeType&&s,_=v&&i&&!i.nodeType&&i,j=_&&_.exports===v?m.Buffer:void 0,M=j?j.allocUnsafe:void 0;i.exports=function cloneBuffer(i,s){if(s)return i.slice();var u=i.length,m=M?M(u):new i.constructor(u);return i.copy(m),m}},57157:(i,s,u)=>{var m=u(74318);i.exports=function cloneDataView(i,s){var u=s?m(i.buffer):i.buffer;return new i.constructor(u,i.byteOffset,i.byteLength)}},93147:i=>{var s=/\w*$/;i.exports=function cloneRegExp(i){var u=new i.constructor(i.source,s.exec(i));return u.lastIndex=i.lastIndex,u}},40419:(i,s,u)=>{var m=u(62705),v=m?m.prototype:void 0,_=v?v.valueOf:void 0;i.exports=function cloneSymbol(i){return _?Object(_.call(i)):{}}},77133:(i,s,u)=>{var m=u(74318);i.exports=function cloneTypedArray(i,s){var u=s?m(i.buffer):i.buffer;return new i.constructor(u,i.byteOffset,i.length)}},52157:i=>{var s=Math.max;i.exports=function composeArgs(i,u,m,v){for(var _=-1,j=i.length,M=m.length,$=-1,W=u.length,X=s(j-M,0),Y=Array(W+X),Z=!v;++${var s=Math.max;i.exports=function composeArgsRight(i,u,m,v){for(var _=-1,j=i.length,M=-1,$=m.length,W=-1,X=u.length,Y=s(j-$,0),Z=Array(Y+X),ee=!v;++_{i.exports=function copyArray(i,s){var u=-1,m=i.length;for(s||(s=Array(m));++u{var m=u(34865),v=u(89465);i.exports=function copyObject(i,s,u,_){var j=!u;u||(u={});for(var M=-1,$=s.length;++M<$;){var W=s[M],X=_?_(u[W],i[W],W,u,i):void 0;void 0===X&&(X=i[W]),j?v(u,W,X):m(u,W,X)}return u}},18805:(i,s,u)=>{var m=u(98363),v=u(99551);i.exports=function copySymbols(i,s){return m(i,v(i),s)}},1911:(i,s,u)=>{var m=u(98363),v=u(51442);i.exports=function copySymbolsIn(i,s){return m(i,v(i),s)}},14429:(i,s,u)=>{var m=u(55639)["__core-js_shared__"];i.exports=m},97991:i=>{i.exports=function countHolders(i,s){for(var u=i.length,m=0;u--;)i[u]===s&&++m;return m}},21463:(i,s,u)=>{var m=u(5976),v=u(16612);i.exports=function createAssigner(i){return m((function(s,u){var m=-1,_=u.length,j=_>1?u[_-1]:void 0,M=_>2?u[2]:void 0;for(j=i.length>3&&"function"==typeof j?(_--,j):void 0,M&&v(u[0],u[1],M)&&(j=_<3?void 0:j,_=1),s=Object(s);++m<_;){var $=u[m];$&&i(s,$,m,j)}return s}))}},99291:(i,s,u)=>{var m=u(98612);i.exports=function createBaseEach(i,s){return function(u,v){if(null==u)return u;if(!m(u))return i(u,v);for(var _=u.length,j=s?_:-1,M=Object(u);(s?j--:++j<_)&&!1!==v(M[j],j,M););return u}}},25063:i=>{i.exports=function createBaseFor(i){return function(s,u,m){for(var v=-1,_=Object(s),j=m(s),M=j.length;M--;){var $=j[i?M:++v];if(!1===u(_[$],$,_))break}return s}}},22402:(i,s,u)=>{var m=u(71774),v=u(55639);i.exports=function createBind(i,s,u){var _=1&s,j=m(i);return function wrapper(){return(this&&this!==v&&this instanceof wrapper?j:i).apply(_?u:this,arguments)}}},98805:(i,s,u)=>{var m=u(40180),v=u(62689),_=u(83140),j=u(79833);i.exports=function createCaseFirst(i){return function(s){s=j(s);var u=v(s)?_(s):void 0,M=u?u[0]:s.charAt(0),$=u?m(u,1).join(""):s.slice(1);return M[i]()+$}}},35393:(i,s,u)=>{var m=u(62663),v=u(53816),_=u(58748),j=RegExp("['’]","g");i.exports=function createCompounder(i){return function(s){return m(_(v(s).replace(j,"")),i,"")}}},71774:(i,s,u)=>{var m=u(3118),v=u(13218);i.exports=function createCtor(i){return function(){var s=arguments;switch(s.length){case 0:return new i;case 1:return new i(s[0]);case 2:return new i(s[0],s[1]);case 3:return new i(s[0],s[1],s[2]);case 4:return new i(s[0],s[1],s[2],s[3]);case 5:return new i(s[0],s[1],s[2],s[3],s[4]);case 6:return new i(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new i(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var u=m(i.prototype),_=i.apply(u,s);return v(_)?_:u}}},46347:(i,s,u)=>{var m=u(96874),v=u(71774),_=u(86935),j=u(94487),M=u(20893),$=u(46460),W=u(55639);i.exports=function createCurry(i,s,u){var X=v(i);return function wrapper(){for(var v=arguments.length,Y=Array(v),Z=v,ee=M(wrapper);Z--;)Y[Z]=arguments[Z];var ae=v<3&&Y[0]!==ee&&Y[v-1]!==ee?[]:$(Y,ee);return(v-=ae.length){var m=u(67206),v=u(98612),_=u(3674);i.exports=function createFind(i){return function(s,u,j){var M=Object(s);if(!v(s)){var $=m(u,3);s=_(s),u=function(i){return $(M[i],i,M)}}var W=i(s,u,j);return W>-1?M[$?s[W]:W]:void 0}}},86935:(i,s,u)=>{var m=u(52157),v=u(14054),_=u(97991),j=u(71774),M=u(94487),$=u(20893),W=u(90451),X=u(46460),Y=u(55639);i.exports=function createHybrid(i,s,u,Z,ee,ae,ie,le,ce,pe){var de=128&s,fe=1&s,ye=2&s,be=24&s,_e=512&s,we=ye?void 0:j(i);return function wrapper(){for(var Se=arguments.length,xe=Array(Se),Pe=Se;Pe--;)xe[Pe]=arguments[Pe];if(be)var Ie=$(wrapper),Te=_(xe,Ie);if(Z&&(xe=m(xe,Z,ee,be)),ae&&(xe=v(xe,ae,ie,be)),Se-=Te,be&&Se1&&xe.reverse(),de&&ce{var m=u(96874),v=u(71774),_=u(55639);i.exports=function createPartial(i,s,u,j){var M=1&s,$=v(i);return function wrapper(){for(var s=-1,v=arguments.length,W=-1,X=j.length,Y=Array(X+v),Z=this&&this!==_&&this instanceof wrapper?$:i;++W{var m=u(86528),v=u(258),_=u(69255);i.exports=function createRecurry(i,s,u,j,M,$,W,X,Y,Z){var ee=8&s;s|=ee?32:64,4&(s&=~(ee?64:32))||(s&=-4);var ae=[i,s,M,ee?$:void 0,ee?W:void 0,ee?void 0:$,ee?void 0:W,X,Y,Z],ie=u.apply(void 0,ae);return m(i)&&v(ie,ae),ie.placeholder=j,_(ie,i,s)}},97727:(i,s,u)=>{var m=u(28045),v=u(22402),_=u(46347),j=u(86935),M=u(84375),$=u(66833),W=u(63833),X=u(258),Y=u(69255),Z=u(40554),ee=Math.max;i.exports=function createWrap(i,s,u,ae,ie,le,ce,pe){var de=2&s;if(!de&&"function"!=typeof i)throw new TypeError("Expected a function");var fe=ae?ae.length:0;if(fe||(s&=-97,ae=ie=void 0),ce=void 0===ce?ce:ee(Z(ce),0),pe=void 0===pe?pe:Z(pe),fe-=ie?ie.length:0,64&s){var ye=ae,be=ie;ae=ie=void 0}var _e=de?void 0:$(i),we=[i,s,u,ae,ie,ye,be,le,ce,pe];if(_e&&W(we,_e),i=we[0],s=we[1],u=we[2],ae=we[3],ie=we[4],!(pe=we[9]=void 0===we[9]?de?0:i.length:ee(we[9]-fe,0))&&24&s&&(s&=-25),s&&1!=s)Se=8==s||16==s?_(i,s,pe):32!=s&&33!=s||ie.length?j.apply(void 0,we):M(i,s,u,ae);else var Se=v(i,s,u);return Y((_e?m:X)(Se,we),i,s)}},60696:(i,s,u)=>{var m=u(68630);i.exports=function customOmitClone(i){return m(i)?void 0:i}},69389:(i,s,u)=>{var m=u(18674)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});i.exports=m},38777:(i,s,u)=>{var m=u(10852),v=function(){try{var i=m(Object,"defineProperty");return i({},"",{}),i}catch(i){}}();i.exports=v},67114:(i,s,u)=>{var m=u(88668),v=u(82908),_=u(74757);i.exports=function equalArrays(i,s,u,j,M,$){var W=1&u,X=i.length,Y=s.length;if(X!=Y&&!(W&&Y>X))return!1;var Z=$.get(i),ee=$.get(s);if(Z&&ee)return Z==s&&ee==i;var ae=-1,ie=!0,le=2&u?new m:void 0;for($.set(i,s),$.set(s,i);++ae{var m=u(62705),v=u(11149),_=u(77813),j=u(67114),M=u(68776),$=u(21814),W=m?m.prototype:void 0,X=W?W.valueOf:void 0;i.exports=function equalByTag(i,s,u,m,W,Y,Z){switch(u){case"[object DataView]":if(i.byteLength!=s.byteLength||i.byteOffset!=s.byteOffset)return!1;i=i.buffer,s=s.buffer;case"[object ArrayBuffer]":return!(i.byteLength!=s.byteLength||!Y(new v(i),new v(s)));case"[object Boolean]":case"[object Date]":case"[object Number]":return _(+i,+s);case"[object Error]":return i.name==s.name&&i.message==s.message;case"[object RegExp]":case"[object String]":return i==s+"";case"[object Map]":var ee=M;case"[object Set]":var ae=1&m;if(ee||(ee=$),i.size!=s.size&&!ae)return!1;var ie=Z.get(i);if(ie)return ie==s;m|=2,Z.set(i,s);var le=j(ee(i),ee(s),m,W,Y,Z);return Z.delete(i),le;case"[object Symbol]":if(X)return X.call(i)==X.call(s)}return!1}},16096:(i,s,u)=>{var m=u(58234),v=Object.prototype.hasOwnProperty;i.exports=function equalObjects(i,s,u,_,j,M){var $=1&u,W=m(i),X=W.length;if(X!=m(s).length&&!$)return!1;for(var Y=X;Y--;){var Z=W[Y];if(!($?Z in s:v.call(s,Z)))return!1}var ee=M.get(i),ae=M.get(s);if(ee&&ae)return ee==s&&ae==i;var ie=!0;M.set(i,s),M.set(s,i);for(var le=$;++Y{var m=u(85564),v=u(45357),_=u(30061);i.exports=function flatRest(i){return _(v(i,void 0,m),i+"")}},31957:(i,s,u)=>{var m="object"==typeof u.g&&u.g&&u.g.Object===Object&&u.g;i.exports=m},58234:(i,s,u)=>{var m=u(68866),v=u(99551),_=u(3674);i.exports=function getAllKeys(i){return m(i,_,v)}},46904:(i,s,u)=>{var m=u(68866),v=u(51442),_=u(81704);i.exports=function getAllKeysIn(i){return m(i,_,v)}},66833:(i,s,u)=>{var m=u(89250),v=u(50308),_=m?function(i){return m.get(i)}:v;i.exports=_},97658:(i,s,u)=>{var m=u(52060),v=Object.prototype.hasOwnProperty;i.exports=function getFuncName(i){for(var s=i.name+"",u=m[s],_=v.call(m,s)?u.length:0;_--;){var j=u[_],M=j.func;if(null==M||M==i)return j.name}return s}},20893:i=>{i.exports=function getHolder(i){return i.placeholder}},45050:(i,s,u)=>{var m=u(37019);i.exports=function getMapData(i,s){var u=i.__data__;return m(s)?u["string"==typeof s?"string":"hash"]:u.map}},1499:(i,s,u)=>{var m=u(89162),v=u(3674);i.exports=function getMatchData(i){for(var s=v(i),u=s.length;u--;){var _=s[u],j=i[_];s[u]=[_,j,m(j)]}return s}},10852:(i,s,u)=>{var m=u(28458),v=u(47801);i.exports=function getNative(i,s){var u=v(i,s);return m(u)?u:void 0}},85924:(i,s,u)=>{var m=u(5569)(Object.getPrototypeOf,Object);i.exports=m},89607:(i,s,u)=>{var m=u(62705),v=Object.prototype,_=v.hasOwnProperty,j=v.toString,M=m?m.toStringTag:void 0;i.exports=function getRawTag(i){var s=_.call(i,M),u=i[M];try{i[M]=void 0;var m=!0}catch(i){}var v=j.call(i);return m&&(s?i[M]=u:delete i[M]),v}},99551:(i,s,u)=>{var m=u(34963),v=u(70479),_=Object.prototype.propertyIsEnumerable,j=Object.getOwnPropertySymbols,M=j?function(i){return null==i?[]:(i=Object(i),m(j(i),(function(s){return _.call(i,s)})))}:v;i.exports=M},51442:(i,s,u)=>{var m=u(62488),v=u(85924),_=u(99551),j=u(70479),M=Object.getOwnPropertySymbols?function(i){for(var s=[];i;)m(s,_(i)),i=v(i);return s}:j;i.exports=M},64160:(i,s,u)=>{var m=u(18552),v=u(57071),_=u(53818),j=u(58525),M=u(70577),$=u(44239),W=u(80346),X="[object Map]",Y="[object Promise]",Z="[object Set]",ee="[object WeakMap]",ae="[object DataView]",ie=W(m),le=W(v),ce=W(_),pe=W(j),de=W(M),fe=$;(m&&fe(new m(new ArrayBuffer(1)))!=ae||v&&fe(new v)!=X||_&&fe(_.resolve())!=Y||j&&fe(new j)!=Z||M&&fe(new M)!=ee)&&(fe=function(i){var s=$(i),u="[object Object]"==s?i.constructor:void 0,m=u?W(u):"";if(m)switch(m){case ie:return ae;case le:return X;case ce:return Y;case pe:return Z;case de:return ee}return s}),i.exports=fe},47801:i=>{i.exports=function getValue(i,s){return null==i?void 0:i[s]}},58775:i=>{var s=/\{\n\/\* \[wrapped with (.+)\] \*/,u=/,? & /;i.exports=function getWrapDetails(i){var m=i.match(s);return m?m[1].split(u):[]}},222:(i,s,u)=>{var m=u(71811),v=u(35694),_=u(1469),j=u(65776),M=u(41780),$=u(40327);i.exports=function hasPath(i,s,u){for(var W=-1,X=(s=m(s,i)).length,Y=!1;++W{var s=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");i.exports=function hasUnicode(i){return s.test(i)}},93157:i=>{var s=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;i.exports=function hasUnicodeWord(i){return s.test(i)}},51789:(i,s,u)=>{var m=u(94536);i.exports=function hashClear(){this.__data__=m?m(null):{},this.size=0}},80401:i=>{i.exports=function hashDelete(i){var s=this.has(i)&&delete this.__data__[i];return this.size-=s?1:0,s}},57667:(i,s,u)=>{var m=u(94536),v=Object.prototype.hasOwnProperty;i.exports=function hashGet(i){var s=this.__data__;if(m){var u=s[i];return"__lodash_hash_undefined__"===u?void 0:u}return v.call(s,i)?s[i]:void 0}},21327:(i,s,u)=>{var m=u(94536),v=Object.prototype.hasOwnProperty;i.exports=function hashHas(i){var s=this.__data__;return m?void 0!==s[i]:v.call(s,i)}},81866:(i,s,u)=>{var m=u(94536);i.exports=function hashSet(i,s){var u=this.__data__;return this.size+=this.has(i)?0:1,u[i]=m&&void 0===s?"__lodash_hash_undefined__":s,this}},43824:i=>{var s=Object.prototype.hasOwnProperty;i.exports=function initCloneArray(i){var u=i.length,m=new i.constructor(u);return u&&"string"==typeof i[0]&&s.call(i,"index")&&(m.index=i.index,m.input=i.input),m}},29148:(i,s,u)=>{var m=u(74318),v=u(57157),_=u(93147),j=u(40419),M=u(77133);i.exports=function initCloneByTag(i,s,u){var $=i.constructor;switch(s){case"[object ArrayBuffer]":return m(i);case"[object Boolean]":case"[object Date]":return new $(+i);case"[object DataView]":return v(i,u);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return M(i,u);case"[object Map]":case"[object Set]":return new $;case"[object Number]":case"[object String]":return new $(i);case"[object RegExp]":return _(i);case"[object Symbol]":return j(i)}}},38517:(i,s,u)=>{var m=u(3118),v=u(85924),_=u(25726);i.exports=function initCloneObject(i){return"function"!=typeof i.constructor||_(i)?{}:m(v(i))}},83112:i=>{var s=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;i.exports=function insertWrapDetails(i,u){var m=u.length;if(!m)return i;var v=m-1;return u[v]=(m>1?"& ":"")+u[v],u=u.join(m>2?", ":" "),i.replace(s,"{\n/* [wrapped with "+u+"] */\n")}},37285:(i,s,u)=>{var m=u(62705),v=u(35694),_=u(1469),j=m?m.isConcatSpreadable:void 0;i.exports=function isFlattenable(i){return _(i)||v(i)||!!(j&&i&&i[j])}},65776:i=>{var s=/^(?:0|[1-9]\d*)$/;i.exports=function isIndex(i,u){var m=typeof i;return!!(u=null==u?9007199254740991:u)&&("number"==m||"symbol"!=m&&s.test(i))&&i>-1&&i%1==0&&i{var m=u(77813),v=u(98612),_=u(65776),j=u(13218);i.exports=function isIterateeCall(i,s,u){if(!j(u))return!1;var M=typeof s;return!!("number"==M?v(u)&&_(s,u.length):"string"==M&&s in u)&&m(u[s],i)}},15403:(i,s,u)=>{var m=u(1469),v=u(33448),_=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;i.exports=function isKey(i,s){if(m(i))return!1;var u=typeof i;return!("number"!=u&&"symbol"!=u&&"boolean"!=u&&null!=i&&!v(i))||(j.test(i)||!_.test(i)||null!=s&&i in Object(s))}},37019:i=>{i.exports=function isKeyable(i){var s=typeof i;return"string"==s||"number"==s||"symbol"==s||"boolean"==s?"__proto__"!==i:null===i}},86528:(i,s,u)=>{var m=u(96425),v=u(66833),_=u(97658),j=u(8111);i.exports=function isLaziable(i){var s=_(i),u=j[s];if("function"!=typeof u||!(s in m.prototype))return!1;if(i===u)return!0;var M=v(u);return!!M&&i===M[0]}},15346:(i,s,u)=>{var m,v=u(14429),_=(m=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"";i.exports=function isMasked(i){return!!_&&_ in i}},25726:i=>{var s=Object.prototype;i.exports=function isPrototype(i){var u=i&&i.constructor;return i===("function"==typeof u&&u.prototype||s)}},89162:(i,s,u)=>{var m=u(13218);i.exports=function isStrictComparable(i){return i==i&&!m(i)}},27040:i=>{i.exports=function listCacheClear(){this.__data__=[],this.size=0}},14125:(i,s,u)=>{var m=u(18470),v=Array.prototype.splice;i.exports=function listCacheDelete(i){var s=this.__data__,u=m(s,i);return!(u<0)&&(u==s.length-1?s.pop():v.call(s,u,1),--this.size,!0)}},82117:(i,s,u)=>{var m=u(18470);i.exports=function listCacheGet(i){var s=this.__data__,u=m(s,i);return u<0?void 0:s[u][1]}},67518:(i,s,u)=>{var m=u(18470);i.exports=function listCacheHas(i){return m(this.__data__,i)>-1}},54705:(i,s,u)=>{var m=u(18470);i.exports=function listCacheSet(i,s){var u=this.__data__,v=m(u,i);return v<0?(++this.size,u.push([i,s])):u[v][1]=s,this}},24785:(i,s,u)=>{var m=u(1989),v=u(38407),_=u(57071);i.exports=function mapCacheClear(){this.size=0,this.__data__={hash:new m,map:new(_||v),string:new m}}},11285:(i,s,u)=>{var m=u(45050);i.exports=function mapCacheDelete(i){var s=m(this,i).delete(i);return this.size-=s?1:0,s}},96e3:(i,s,u)=>{var m=u(45050);i.exports=function mapCacheGet(i){return m(this,i).get(i)}},49916:(i,s,u)=>{var m=u(45050);i.exports=function mapCacheHas(i){return m(this,i).has(i)}},95265:(i,s,u)=>{var m=u(45050);i.exports=function mapCacheSet(i,s){var u=m(this,i),v=u.size;return u.set(i,s),this.size+=u.size==v?0:1,this}},68776:i=>{i.exports=function mapToArray(i){var s=-1,u=Array(i.size);return i.forEach((function(i,m){u[++s]=[m,i]})),u}},42634:i=>{i.exports=function matchesStrictComparable(i,s){return function(u){return null!=u&&(u[i]===s&&(void 0!==s||i in Object(u)))}}},24523:(i,s,u)=>{var m=u(88306);i.exports=function memoizeCapped(i){var s=m(i,(function(i){return 500===u.size&&u.clear(),i})),u=s.cache;return s}},63833:(i,s,u)=>{var m=u(52157),v=u(14054),_=u(46460),j="__lodash_placeholder__",M=128,$=Math.min;i.exports=function mergeData(i,s){var u=i[1],W=s[1],X=u|W,Y=X<131,Z=W==M&&8==u||W==M&&256==u&&i[7].length<=s[8]||384==W&&s[7].length<=s[8]&&8==u;if(!Y&&!Z)return i;1&W&&(i[2]=s[2],X|=1&u?0:4);var ee=s[3];if(ee){var ae=i[3];i[3]=ae?m(ae,ee,s[4]):ee,i[4]=ae?_(i[3],j):s[4]}return(ee=s[5])&&(ae=i[5],i[5]=ae?v(ae,ee,s[6]):ee,i[6]=ae?_(i[5],j):s[6]),(ee=s[7])&&(i[7]=ee),W&M&&(i[8]=null==i[8]?s[8]:$(i[8],s[8])),null==i[9]&&(i[9]=s[9]),i[0]=s[0],i[1]=X,i}},89250:(i,s,u)=>{var m=u(70577),v=m&&new m;i.exports=v},94536:(i,s,u)=>{var m=u(10852)(Object,"create");i.exports=m},86916:(i,s,u)=>{var m=u(5569)(Object.keys,Object);i.exports=m},33498:i=>{i.exports=function nativeKeysIn(i){var s=[];if(null!=i)for(var u in Object(i))s.push(u);return s}},31167:(i,s,u)=>{i=u.nmd(i);var m=u(31957),v=s&&!s.nodeType&&s,_=v&&i&&!i.nodeType&&i,j=_&&_.exports===v&&m.process,M=function(){try{var i=_&&_.require&&_.require("util").types;return i||j&&j.binding&&j.binding("util")}catch(i){}}();i.exports=M},2333:i=>{var s=Object.prototype.toString;i.exports=function objectToString(i){return s.call(i)}},5569:i=>{i.exports=function overArg(i,s){return function(u){return i(s(u))}}},45357:(i,s,u)=>{var m=u(96874),v=Math.max;i.exports=function overRest(i,s,u){return s=v(void 0===s?i.length-1:s,0),function(){for(var _=arguments,j=-1,M=v(_.length-s,0),$=Array(M);++j{var m=u(97786),v=u(14259);i.exports=function parent(i,s){return s.length<2?i:m(i,v(s,0,-1))}},52060:i=>{i.exports={}},90451:(i,s,u)=>{var m=u(278),v=u(65776),_=Math.min;i.exports=function reorder(i,s){for(var u=i.length,j=_(s.length,u),M=m(i);j--;){var $=s[j];i[j]=v($,u)?M[$]:void 0}return i}},46460:i=>{var s="__lodash_placeholder__";i.exports=function replaceHolders(i,u){for(var m=-1,v=i.length,_=0,j=[];++m{var m=u(31957),v="object"==typeof self&&self&&self.Object===Object&&self,_=m||v||Function("return this")();i.exports=_},36390:i=>{i.exports=function safeGet(i,s){if(("constructor"!==s||"function"!=typeof i[s])&&"__proto__"!=s)return i[s]}},90619:i=>{i.exports=function setCacheAdd(i){return this.__data__.set(i,"__lodash_hash_undefined__"),this}},72385:i=>{i.exports=function setCacheHas(i){return this.__data__.has(i)}},258:(i,s,u)=>{var m=u(28045),v=u(21275)(m);i.exports=v},21814:i=>{i.exports=function setToArray(i){var s=-1,u=Array(i.size);return i.forEach((function(i){u[++s]=i})),u}},30061:(i,s,u)=>{var m=u(56560),v=u(21275)(m);i.exports=v},69255:(i,s,u)=>{var m=u(58775),v=u(83112),_=u(30061),j=u(87241);i.exports=function setWrapToString(i,s,u){var M=s+"";return _(i,v(M,j(m(M),u)))}},21275:i=>{var s=Date.now;i.exports=function shortOut(i){var u=0,m=0;return function(){var v=s(),_=16-(v-m);if(m=v,_>0){if(++u>=800)return arguments[0]}else u=0;return i.apply(void 0,arguments)}}},37465:(i,s,u)=>{var m=u(38407);i.exports=function stackClear(){this.__data__=new m,this.size=0}},63779:i=>{i.exports=function stackDelete(i){var s=this.__data__,u=s.delete(i);return this.size=s.size,u}},67599:i=>{i.exports=function stackGet(i){return this.__data__.get(i)}},44758:i=>{i.exports=function stackHas(i){return this.__data__.has(i)}},34309:(i,s,u)=>{var m=u(38407),v=u(57071),_=u(83369);i.exports=function stackSet(i,s){var u=this.__data__;if(u instanceof m){var j=u.__data__;if(!v||j.length<199)return j.push([i,s]),this.size=++u.size,this;u=this.__data__=new _(j)}return u.set(i,s),this.size=u.size,this}},42351:i=>{i.exports=function strictIndexOf(i,s,u){for(var m=u-1,v=i.length;++m{var m=u(44286),v=u(62689),_=u(676);i.exports=function stringToArray(i){return v(i)?_(i):m(i)}},55514:(i,s,u)=>{var m=u(24523),v=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,_=/\\(\\)?/g,j=m((function(i){var s=[];return 46===i.charCodeAt(0)&&s.push(""),i.replace(v,(function(i,u,m,v){s.push(m?v.replace(_,"$1"):u||i)})),s}));i.exports=j},40327:(i,s,u)=>{var m=u(33448);i.exports=function toKey(i){if("string"==typeof i||m(i))return i;var s=i+"";return"0"==s&&1/i==-Infinity?"-0":s}},80346:i=>{var s=Function.prototype.toString;i.exports=function toSource(i){if(null!=i){try{return s.call(i)}catch(i){}try{return i+""}catch(i){}}return""}},67990:i=>{var s=/\s/;i.exports=function trimmedEndIndex(i){for(var u=i.length;u--&&s.test(i.charAt(u)););return u}},676:i=>{var s="\\ud800-\\udfff",u="["+s+"]",m="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",v="\\ud83c[\\udffb-\\udfff]",_="[^"+s+"]",j="(?:\\ud83c[\\udde6-\\uddff]){2}",M="[\\ud800-\\udbff][\\udc00-\\udfff]",$="(?:"+m+"|"+v+")"+"?",W="[\\ufe0e\\ufe0f]?",X=W+$+("(?:\\u200d(?:"+[_,j,M].join("|")+")"+W+$+")*"),Y="(?:"+[_+m+"?",m,j,M,u].join("|")+")",Z=RegExp(v+"(?="+v+")|"+Y+X,"g");i.exports=function unicodeToArray(i){return i.match(Z)||[]}},2757:i=>{var s="\\ud800-\\udfff",u="\\u2700-\\u27bf",m="a-z\\xdf-\\xf6\\xf8-\\xff",v="A-Z\\xc0-\\xd6\\xd8-\\xde",_="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",j="["+_+"]",M="\\d+",$="["+u+"]",W="["+m+"]",X="[^"+s+_+M+u+m+v+"]",Y="(?:\\ud83c[\\udde6-\\uddff]){2}",Z="[\\ud800-\\udbff][\\udc00-\\udfff]",ee="["+v+"]",ae="(?:"+W+"|"+X+")",ie="(?:"+ee+"|"+X+")",le="(?:['’](?:d|ll|m|re|s|t|ve))?",ce="(?:['’](?:D|LL|M|RE|S|T|VE))?",pe="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",de="[\\ufe0e\\ufe0f]?",fe=de+pe+("(?:\\u200d(?:"+["[^"+s+"]",Y,Z].join("|")+")"+de+pe+")*"),ye="(?:"+[$,Y,Z].join("|")+")"+fe,be=RegExp([ee+"?"+W+"+"+le+"(?="+[j,ee,"$"].join("|")+")",ie+"+"+ce+"(?="+[j,ee+ae,"$"].join("|")+")",ee+"?"+ae+"+"+le,ee+"+"+ce,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",M,ye].join("|"),"g");i.exports=function unicodeWords(i){return i.match(be)||[]}},87241:(i,s,u)=>{var m=u(77412),v=u(47443),_=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];i.exports=function updateWrapDetails(i,s){return m(_,(function(u){var m="_."+u[0];s&u[1]&&!v(i,m)&&i.push(m)})),i.sort()}},21913:(i,s,u)=>{var m=u(96425),v=u(7548),_=u(278);i.exports=function wrapperClone(i){if(i instanceof m)return i.clone();var s=new v(i.__wrapped__,i.__chain__);return s.__actions__=_(i.__actions__),s.__index__=i.__index__,s.__values__=i.__values__,s}},39514:(i,s,u)=>{var m=u(97727);i.exports=function ary(i,s,u){return s=u?void 0:s,s=i&&null==s?i.length:s,m(i,128,void 0,void 0,void 0,void 0,s)}},68929:(i,s,u)=>{var m=u(48403),v=u(35393)((function(i,s,u){return s=s.toLowerCase(),i+(u?m(s):s)}));i.exports=v},48403:(i,s,u)=>{var m=u(79833),v=u(11700);i.exports=function capitalize(i){return v(m(i).toLowerCase())}},66678:(i,s,u)=>{var m=u(85990);i.exports=function clone(i){return m(i,4)}},75703:i=>{i.exports=function constant(i){return function(){return i}}},40087:(i,s,u)=>{var m=u(97727);function curry(i,s,u){var v=m(i,8,void 0,void 0,void 0,void 0,void 0,s=u?void 0:s);return v.placeholder=curry.placeholder,v}curry.placeholder={},i.exports=curry},23279:(i,s,u)=>{var m=u(13218),v=u(7771),_=u(14841),j=Math.max,M=Math.min;i.exports=function debounce(i,s,u){var $,W,X,Y,Z,ee,ae=0,ie=!1,le=!1,ce=!0;if("function"!=typeof i)throw new TypeError("Expected a function");function invokeFunc(s){var u=$,m=W;return $=W=void 0,ae=s,Y=i.apply(m,u)}function shouldInvoke(i){var u=i-ee;return void 0===ee||u>=s||u<0||le&&i-ae>=X}function timerExpired(){var i=v();if(shouldInvoke(i))return trailingEdge(i);Z=setTimeout(timerExpired,function remainingWait(i){var u=s-(i-ee);return le?M(u,X-(i-ae)):u}(i))}function trailingEdge(i){return Z=void 0,ce&&$?invokeFunc(i):($=W=void 0,Y)}function debounced(){var i=v(),u=shouldInvoke(i);if($=arguments,W=this,ee=i,u){if(void 0===Z)return function leadingEdge(i){return ae=i,Z=setTimeout(timerExpired,s),ie?invokeFunc(i):Y}(ee);if(le)return clearTimeout(Z),Z=setTimeout(timerExpired,s),invokeFunc(ee)}return void 0===Z&&(Z=setTimeout(timerExpired,s)),Y}return s=_(s)||0,m(u)&&(ie=!!u.leading,X=(le="maxWait"in u)?j(_(u.maxWait)||0,s):X,ce="trailing"in u?!!u.trailing:ce),debounced.cancel=function cancel(){void 0!==Z&&clearTimeout(Z),ae=0,$=ee=W=Z=void 0},debounced.flush=function flush(){return void 0===Z?Y:trailingEdge(v())},debounced}},53816:(i,s,u)=>{var m=u(69389),v=u(79833),_=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,j=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");i.exports=function deburr(i){return(i=v(i))&&i.replace(_,m).replace(j,"")}},77813:i=>{i.exports=function eq(i,s){return i===s||i!=i&&s!=s}},13311:(i,s,u)=>{var m=u(67740)(u(30998));i.exports=m},30998:(i,s,u)=>{var m=u(41848),v=u(67206),_=u(40554),j=Math.max;i.exports=function findIndex(i,s,u){var M=null==i?0:i.length;if(!M)return-1;var $=null==u?0:_(u);return $<0&&($=j(M+$,0)),m(i,v(s,3),$)}},85564:(i,s,u)=>{var m=u(21078);i.exports=function flatten(i){return(null==i?0:i.length)?m(i,1):[]}},84599:(i,s,u)=>{var m=u(68836),v=u(69306),_=Array.prototype.push;function baseAry(i,s){return 2==s?function(s,u){return i(s,u)}:function(s){return i(s)}}function cloneArray(i){for(var s=i?i.length:0,u=Array(s);s--;)u[s]=i[s];return u}function wrapImmutable(i,s){return function(){var u=arguments.length;if(u){for(var m=Array(u);u--;)m[u]=arguments[u];var v=m[0]=s.apply(void 0,m);return i.apply(void 0,m),v}}}i.exports=function baseConvert(i,s,u,j){var M="function"==typeof s,$=s===Object(s);if($&&(j=u,u=s,s=void 0),null==u)throw new TypeError;j||(j={});var W={cap:!("cap"in j)||j.cap,curry:!("curry"in j)||j.curry,fixed:!("fixed"in j)||j.fixed,immutable:!("immutable"in j)||j.immutable,rearg:!("rearg"in j)||j.rearg},X=M?u:v,Y="curry"in j&&j.curry,Z="fixed"in j&&j.fixed,ee="rearg"in j&&j.rearg,ae=M?u.runInContext():void 0,ie=M?u:{ary:i.ary,assign:i.assign,clone:i.clone,curry:i.curry,forEach:i.forEach,isArray:i.isArray,isError:i.isError,isFunction:i.isFunction,isWeakMap:i.isWeakMap,iteratee:i.iteratee,keys:i.keys,rearg:i.rearg,toInteger:i.toInteger,toPath:i.toPath},le=ie.ary,ce=ie.assign,pe=ie.clone,de=ie.curry,fe=ie.forEach,ye=ie.isArray,be=ie.isError,_e=ie.isFunction,we=ie.isWeakMap,Se=ie.keys,xe=ie.rearg,Pe=ie.toInteger,Ie=ie.toPath,Te=Se(m.aryMethod),Re={castArray:function(i){return function(){var s=arguments[0];return ye(s)?i(cloneArray(s)):i.apply(void 0,arguments)}},iteratee:function(i){return function(){var s=arguments[1],u=i(arguments[0],s),m=u.length;return W.cap&&"number"==typeof s?(s=s>2?s-2:1,m&&m<=s?u:baseAry(u,s)):u}},mixin:function(i){return function(s){var u=this;if(!_e(u))return i(u,Object(s));var m=[];return fe(Se(s),(function(i){_e(s[i])&&m.push([i,u.prototype[i]])})),i(u,Object(s)),fe(m,(function(i){var s=i[1];_e(s)?u.prototype[i[0]]=s:delete u.prototype[i[0]]})),u}},nthArg:function(i){return function(s){var u=s<0?1:Pe(s)+1;return de(i(s),u)}},rearg:function(i){return function(s,u){var m=u?u.length:0;return de(i(s,u),m)}},runInContext:function(s){return function(u){return baseConvert(i,s(u),j)}}};function castCap(i,s){if(W.cap){var u=m.iterateeRearg[i];if(u)return function iterateeRearg(i,s){return overArg(i,(function(i){var u=s.length;return function baseArity(i,s){return 2==s?function(s,u){return i.apply(void 0,arguments)}:function(s){return i.apply(void 0,arguments)}}(xe(baseAry(i,u),s),u)}))}(s,u);var v=!M&&m.iterateeAry[i];if(v)return function iterateeAry(i,s){return overArg(i,(function(i){return"function"==typeof i?baseAry(i,s):i}))}(s,v)}return s}function castFixed(i,s,u){if(W.fixed&&(Z||!m.skipFixed[i])){var v=m.methodSpread[i],j=v&&v.start;return void 0===j?le(s,u):function flatSpread(i,s){return function(){for(var u=arguments.length,m=u-1,v=Array(u);u--;)v[u]=arguments[u];var j=v[s],M=v.slice(0,s);return j&&_.apply(M,j),s!=m&&_.apply(M,v.slice(s+1)),i.apply(this,M)}}(s,j)}return s}function castRearg(i,s,u){return W.rearg&&u>1&&(ee||!m.skipRearg[i])?xe(s,m.methodRearg[i]||m.aryRearg[u]):s}function cloneByPath(i,s){for(var u=-1,m=(s=Ie(s)).length,v=m-1,_=pe(Object(i)),j=_;null!=j&&++u1?de(s,u):s}(0,v=castCap(_,v),i),!1}})),!v})),v||(v=j),v==s&&(v=Y?de(v,1):function(){return s.apply(this,arguments)}),v.convert=createConverter(_,s),v.placeholder=s.placeholder=u,v}if(!$)return wrap(s,u,X);var qe=u,ze=[];return fe(Te,(function(i){fe(m.aryMethod[i],(function(i){var s=qe[m.remap[i]||i];s&&ze.push([i,wrap(i,s,qe)])}))})),fe(Se(qe),(function(i){var s=qe[i];if("function"==typeof s){for(var u=ze.length;u--;)if(ze[u][0]==i)return;s.convert=createConverter(i,s),ze.push([i,s])}})),fe(ze,(function(i){qe[i[0]]=i[1]})),qe.convert=function convertLib(i){return qe.runInContext.convert(i)(void 0)},qe.placeholder=qe,fe(Se(qe),(function(i){fe(m.realToAlias[i]||[],(function(s){qe[s]=qe[i]}))})),qe}},68836:(i,s)=>{s.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},s.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},s.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},s.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},s.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},s.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},s.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},s.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},s.realToAlias=function(){var i=Object.prototype.hasOwnProperty,u=s.aliasToReal,m={};for(var v in u){var _=u[v];i.call(m,_)?m[_].push(v):m[_]=[v]}return m}(),s.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},s.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},s.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},4269:(i,s,u)=>{i.exports={ary:u(39514),assign:u(44037),clone:u(66678),curry:u(40087),forEach:u(77412),isArray:u(1469),isError:u(64647),isFunction:u(23560),isWeakMap:u(81018),iteratee:u(72594),keys:u(280),rearg:u(4963),toInteger:u(40554),toPath:u(30084)}},72700:(i,s,u)=>{i.exports=u(28252)},92822:(i,s,u)=>{var m=u(84599),v=u(4269);i.exports=function convert(i,s,u){return m(v,i,s,u)}},69306:i=>{i.exports={}},28252:(i,s,u)=>{var m=u(92822)("set",u(36968));m.placeholder=u(69306),i.exports=m},27361:(i,s,u)=>{var m=u(97786);i.exports=function get(i,s,u){var v=null==i?void 0:m(i,s);return void 0===v?u:v}},79095:(i,s,u)=>{var m=u(13),v=u(222);i.exports=function hasIn(i,s){return null!=i&&v(i,s,m)}},6557:i=>{i.exports=function identity(i){return i}},35694:(i,s,u)=>{var m=u(9454),v=u(37005),_=Object.prototype,j=_.hasOwnProperty,M=_.propertyIsEnumerable,$=m(function(){return arguments}())?m:function(i){return v(i)&&j.call(i,"callee")&&!M.call(i,"callee")};i.exports=$},1469:i=>{var s=Array.isArray;i.exports=s},98612:(i,s,u)=>{var m=u(23560),v=u(41780);i.exports=function isArrayLike(i){return null!=i&&v(i.length)&&!m(i)}},29246:(i,s,u)=>{var m=u(98612),v=u(37005);i.exports=function isArrayLikeObject(i){return v(i)&&m(i)}},51584:(i,s,u)=>{var m=u(44239),v=u(37005);i.exports=function isBoolean(i){return!0===i||!1===i||v(i)&&"[object Boolean]"==m(i)}},44144:(i,s,u)=>{i=u.nmd(i);var m=u(55639),v=u(95062),_=s&&!s.nodeType&&s,j=_&&i&&!i.nodeType&&i,M=j&&j.exports===_?m.Buffer:void 0,$=(M?M.isBuffer:void 0)||v;i.exports=$},41609:(i,s,u)=>{var m=u(280),v=u(64160),_=u(35694),j=u(1469),M=u(98612),$=u(44144),W=u(25726),X=u(36719),Y=Object.prototype.hasOwnProperty;i.exports=function isEmpty(i){if(null==i)return!0;if(M(i)&&(j(i)||"string"==typeof i||"function"==typeof i.splice||$(i)||X(i)||_(i)))return!i.length;var s=v(i);if("[object Map]"==s||"[object Set]"==s)return!i.size;if(W(i))return!m(i).length;for(var u in i)if(Y.call(i,u))return!1;return!0}},18446:(i,s,u)=>{var m=u(90939);i.exports=function isEqual(i,s){return m(i,s)}},64647:(i,s,u)=>{var m=u(44239),v=u(37005),_=u(68630);i.exports=function isError(i){if(!v(i))return!1;var s=m(i);return"[object Error]"==s||"[object DOMException]"==s||"string"==typeof i.message&&"string"==typeof i.name&&!_(i)}},23560:(i,s,u)=>{var m=u(44239),v=u(13218);i.exports=function isFunction(i){if(!v(i))return!1;var s=m(i);return"[object Function]"==s||"[object GeneratorFunction]"==s||"[object AsyncFunction]"==s||"[object Proxy]"==s}},41780:i=>{i.exports=function isLength(i){return"number"==typeof i&&i>-1&&i%1==0&&i<=9007199254740991}},56688:(i,s,u)=>{var m=u(25588),v=u(7518),_=u(31167),j=_&&_.isMap,M=j?v(j):m;i.exports=M},45220:i=>{i.exports=function isNull(i){return null===i}},81763:(i,s,u)=>{var m=u(44239),v=u(37005);i.exports=function isNumber(i){return"number"==typeof i||v(i)&&"[object Number]"==m(i)}},13218:i=>{i.exports=function isObject(i){var s=typeof i;return null!=i&&("object"==s||"function"==s)}},37005:i=>{i.exports=function isObjectLike(i){return null!=i&&"object"==typeof i}},68630:(i,s,u)=>{var m=u(44239),v=u(85924),_=u(37005),j=Function.prototype,M=Object.prototype,$=j.toString,W=M.hasOwnProperty,X=$.call(Object);i.exports=function isPlainObject(i){if(!_(i)||"[object Object]"!=m(i))return!1;var s=v(i);if(null===s)return!0;var u=W.call(s,"constructor")&&s.constructor;return"function"==typeof u&&u instanceof u&&$.call(u)==X}},72928:(i,s,u)=>{var m=u(29221),v=u(7518),_=u(31167),j=_&&_.isSet,M=j?v(j):m;i.exports=M},47037:(i,s,u)=>{var m=u(44239),v=u(1469),_=u(37005);i.exports=function isString(i){return"string"==typeof i||!v(i)&&_(i)&&"[object String]"==m(i)}},33448:(i,s,u)=>{var m=u(44239),v=u(37005);i.exports=function isSymbol(i){return"symbol"==typeof i||v(i)&&"[object Symbol]"==m(i)}},36719:(i,s,u)=>{var m=u(38749),v=u(7518),_=u(31167),j=_&&_.isTypedArray,M=j?v(j):m;i.exports=M},81018:(i,s,u)=>{var m=u(64160),v=u(37005);i.exports=function isWeakMap(i){return v(i)&&"[object WeakMap]"==m(i)}},72594:(i,s,u)=>{var m=u(85990),v=u(67206);i.exports=function iteratee(i){return v("function"==typeof i?i:m(i,1))}},3674:(i,s,u)=>{var m=u(14636),v=u(280),_=u(98612);i.exports=function keys(i){return _(i)?m(i):v(i)}},81704:(i,s,u)=>{var m=u(14636),v=u(10313),_=u(98612);i.exports=function keysIn(i){return _(i)?m(i,!0):v(i)}},10928:i=>{i.exports=function last(i){var s=null==i?0:i.length;return s?i[s-1]:void 0}},88306:(i,s,u)=>{var m=u(83369);function memoize(i,s){if("function"!=typeof i||null!=s&&"function"!=typeof s)throw new TypeError("Expected a function");var memoized=function(){var u=arguments,m=s?s.apply(this,u):u[0],v=memoized.cache;if(v.has(m))return v.get(m);var _=i.apply(this,u);return memoized.cache=v.set(m,_)||v,_};return memoized.cache=new(memoize.Cache||m),memoized}memoize.Cache=m,i.exports=memoize},82492:(i,s,u)=>{var m=u(42980),v=u(21463)((function(i,s,u){m(i,s,u)}));i.exports=v},94885:i=>{i.exports=function negate(i){if("function"!=typeof i)throw new TypeError("Expected a function");return function(){var s=arguments;switch(s.length){case 0:return!i.call(this);case 1:return!i.call(this,s[0]);case 2:return!i.call(this,s[0],s[1]);case 3:return!i.call(this,s[0],s[1],s[2])}return!i.apply(this,s)}}},50308:i=>{i.exports=function noop(){}},7771:(i,s,u)=>{var m=u(55639);i.exports=function(){return m.Date.now()}},57557:(i,s,u)=>{var m=u(29932),v=u(85990),_=u(57406),j=u(71811),M=u(98363),$=u(60696),W=u(99021),X=u(46904),Y=W((function(i,s){var u={};if(null==i)return u;var W=!1;s=m(s,(function(s){return s=j(s,i),W||(W=s.length>1),s})),M(i,X(i),u),W&&(u=v(u,7,$));for(var Y=s.length;Y--;)_(u,s[Y]);return u}));i.exports=Y},39601:(i,s,u)=>{var m=u(40371),v=u(79152),_=u(15403),j=u(40327);i.exports=function property(i){return _(i)?m(j(i)):v(i)}},4963:(i,s,u)=>{var m=u(97727),v=u(99021),_=v((function(i,s){return m(i,256,void 0,void 0,void 0,s)}));i.exports=_},54061:(i,s,u)=>{var m=u(62663),v=u(89881),_=u(67206),j=u(10107),M=u(1469);i.exports=function reduce(i,s,u){var $=M(i)?m:j,W=arguments.length<3;return $(i,_(s,4),u,W,v)}},36968:(i,s,u)=>{var m=u(10611);i.exports=function set(i,s,u){return null==i?i:m(i,s,u)}},59704:(i,s,u)=>{var m=u(82908),v=u(67206),_=u(5076),j=u(1469),M=u(16612);i.exports=function some(i,s,u){var $=j(i)?m:_;return u&&M(i,s,u)&&(s=void 0),$(i,v(s,3))}},70479:i=>{i.exports=function stubArray(){return[]}},95062:i=>{i.exports=function stubFalse(){return!1}},18601:(i,s,u)=>{var m=u(14841),v=1/0;i.exports=function toFinite(i){return i?(i=m(i))===v||i===-1/0?17976931348623157e292*(i<0?-1:1):i==i?i:0:0===i?i:0}},40554:(i,s,u)=>{var m=u(18601);i.exports=function toInteger(i){var s=m(i),u=s%1;return s==s?u?s-u:s:0}},7334:(i,s,u)=>{var m=u(79833);i.exports=function toLower(i){return m(i).toLowerCase()}},14841:(i,s,u)=>{var m=u(27561),v=u(13218),_=u(33448),j=/^[-+]0x[0-9a-f]+$/i,M=/^0b[01]+$/i,$=/^0o[0-7]+$/i,W=parseInt;i.exports=function toNumber(i){if("number"==typeof i)return i;if(_(i))return NaN;if(v(i)){var s="function"==typeof i.valueOf?i.valueOf():i;i=v(s)?s+"":s}if("string"!=typeof i)return 0===i?i:+i;i=m(i);var u=M.test(i);return u||$.test(i)?W(i.slice(2),u?2:8):j.test(i)?NaN:+i}},30084:(i,s,u)=>{var m=u(29932),v=u(278),_=u(1469),j=u(33448),M=u(55514),$=u(40327),W=u(79833);i.exports=function toPath(i){return _(i)?m(i,$):j(i)?[i]:v(M(W(i)))}},59881:(i,s,u)=>{var m=u(98363),v=u(81704);i.exports=function toPlainObject(i){return m(i,v(i))}},79833:(i,s,u)=>{var m=u(80531);i.exports=function toString(i){return null==i?"":m(i)}},11700:(i,s,u)=>{var m=u(98805)("toUpperCase");i.exports=m},58748:(i,s,u)=>{var m=u(49029),v=u(93157),_=u(79833),j=u(2757);i.exports=function words(i,s,u){return i=_(i),void 0===(s=u?void 0:s)?v(i)?j(i):m(i):i.match(s)||[]}},8111:(i,s,u)=>{var m=u(96425),v=u(7548),_=u(9435),j=u(1469),M=u(37005),$=u(21913),W=Object.prototype.hasOwnProperty;function lodash(i){if(M(i)&&!j(i)&&!(i instanceof m)){if(i instanceof v)return i;if(W.call(i,"__wrapped__"))return $(i)}return new v(i)}lodash.prototype=_.prototype,lodash.prototype.constructor=lodash,i.exports=lodash},7287:(i,s,u)=>{var m=u(34865),v=u(1757);i.exports=function zipObject(i,s){return v(i||[],s||[],m)}},96470:(i,s,u)=>{"use strict";var m=u(47802),v=u(21102);s.highlight=highlight,s.highlightAuto=function highlightAuto(i,s){var u,j,M,$,W=s||{},X=W.subset||m.listLanguages(),Y=W.prefix,Z=X.length,ee=-1;null==Y&&(Y=_);if("string"!=typeof i)throw v("Expected `string` for value, got `%s`",i);j={relevance:0,language:null,value:[]},u={relevance:0,language:null,value:[]};for(;++eej.relevance&&(j=M),M.relevance>u.relevance&&(j=u,u=M));j.language&&(u.secondBest=j);return u},s.registerLanguage=function registerLanguage(i,s){m.registerLanguage(i,s)},s.listLanguages=function listLanguages(){return m.listLanguages()},s.registerAlias=function registerAlias(i,s){var u,v=i;s&&((v={})[i]=s);for(u in v)m.registerAliases(v[u],{languageName:u})},Emitter.prototype.addText=function text(i){var s,u,m=this.stack;if(""===i)return;s=m[m.length-1],(u=s.children[s.children.length-1])&&"text"===u.type?u.value+=i:s.children.push({type:"text",value:i})},Emitter.prototype.addKeyword=function addKeyword(i,s){this.openNode(s),this.addText(i),this.closeNode()},Emitter.prototype.addSublanguage=function addSublanguage(i,s){var u=this.stack,m=u[u.length-1],v=i.rootNode.children,_=s?{type:"element",tagName:"span",properties:{className:[s]},children:v}:v;m.children=m.children.concat(_)},Emitter.prototype.openNode=function open(i){var s=this.stack,u=this.options.classPrefix+i,m=s[s.length-1],v={type:"element",tagName:"span",properties:{className:[u]},children:[]};m.children.push(v),s.push(v)},Emitter.prototype.closeNode=function close(){this.stack.pop()},Emitter.prototype.closeAllNodes=noop,Emitter.prototype.finalize=noop,Emitter.prototype.toHTML=function toHtmlNoop(){return""};var _="hljs-";function highlight(i,s,u){var j,M=m.configure({}),$=(u||{}).prefix;if("string"!=typeof i)throw v("Expected `string` for name, got `%s`",i);if(!m.getLanguage(i))throw v("Unknown language: `%s` is not registered",i);if("string"!=typeof s)throw v("Expected `string` for value, got `%s`",s);if(null==$&&($=_),m.configure({__emitter:Emitter,classPrefix:$}),j=m.highlight(s,{language:i,ignoreIllegals:!0}),m.configure(M||{}),j.errorRaised)throw j.errorRaised;return{relevance:j.relevance,language:j.language,value:j.emitter.rootNode.children}}function Emitter(i){this.options=i,this.rootNode={children:[]},this.stack=[this.rootNode]}function noop(){}},42566:(i,s,u)=>{const m=u(94885);function coerceElementMatchingCallback(i){return"string"==typeof i?s=>s.element===i:i.constructor&&i.extend?s=>s instanceof i:i}class ArraySlice{constructor(i){this.elements=i||[]}toValue(){return this.elements.map((i=>i.toValue()))}map(i,s){return this.elements.map(i,s)}flatMap(i,s){return this.map(i,s).reduce(((i,s)=>i.concat(s)),[])}compactMap(i,s){const u=[];return this.forEach((m=>{const v=i.bind(s)(m);v&&u.push(v)})),u}filter(i,s){return i=coerceElementMatchingCallback(i),new ArraySlice(this.elements.filter(i,s))}reject(i,s){return i=coerceElementMatchingCallback(i),new ArraySlice(this.elements.filter(m(i),s))}find(i,s){return i=coerceElementMatchingCallback(i),this.elements.find(i,s)}forEach(i,s){this.elements.forEach(i,s)}reduce(i,s){return this.elements.reduce(i,s)}includes(i){return this.elements.some((s=>s.equals(i)))}shift(){return this.elements.shift()}unshift(i){this.elements.unshift(this.refract(i))}push(i){return this.elements.push(this.refract(i)),this}add(i){this.push(i)}get(i){return this.elements[i]}getValue(i){const s=this.elements[i];if(s)return s.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(ArraySlice.prototype[Symbol.iterator]=function symbol(){return this.elements[Symbol.iterator]()}),i.exports=ArraySlice},17645:i=>{class KeyValuePair{constructor(i,s){this.key=i,this.value=s}clone(){const i=new KeyValuePair;return this.key&&(i.key=this.key.clone()),this.value&&(i.value=this.value.clone()),i}}i.exports=KeyValuePair},78520:(i,s,u)=>{const m=u(45220),v=u(47037),_=u(81763),j=u(51584),M=u(13218),$=u(28219),W=u(99829);class Namespace{constructor(i){this.elementMap={},this.elementDetection=[],this.Element=W.Element,this.KeyValuePair=W.KeyValuePair,i&&i.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(i){return i.namespace&&i.namespace({base:this}),i.load&&i.load({base:this}),this}useDefault(){return this.register("null",W.NullElement).register("string",W.StringElement).register("number",W.NumberElement).register("boolean",W.BooleanElement).register("array",W.ArrayElement).register("object",W.ObjectElement).register("member",W.MemberElement).register("ref",W.RefElement).register("link",W.LinkElement),this.detect(m,W.NullElement,!1).detect(v,W.StringElement,!1).detect(_,W.NumberElement,!1).detect(j,W.BooleanElement,!1).detect(Array.isArray,W.ArrayElement,!1).detect(M,W.ObjectElement,!1),this}register(i,s){return this._elements=void 0,this.elementMap[i]=s,this}unregister(i){return this._elements=void 0,delete this.elementMap[i],this}detect(i,s,u){return void 0===u||u?this.elementDetection.unshift([i,s]):this.elementDetection.push([i,s]),this}toElement(i){if(i instanceof this.Element)return i;let s;for(let u=0;u{const s=i[0].toUpperCase()+i.substr(1);this._elements[s]=this.elementMap[i]}))),this._elements}get serialiser(){return new $(this)}}$.prototype.Namespace=Namespace,i.exports=Namespace},87526:(i,s,u)=>{const m=u(94885),v=u(42566);class ObjectSlice extends v{map(i,s){return this.elements.map((u=>i.bind(s)(u.value,u.key,u)))}filter(i,s){return new ObjectSlice(this.elements.filter((u=>i.bind(s)(u.value,u.key,u))))}reject(i,s){return this.filter(m(i.bind(s)))}forEach(i,s){return this.elements.forEach(((u,m)=>{i.bind(s)(u.value,u.key,u,m)}))}keys(){return this.map(((i,s)=>s.toValue()))}values(){return this.map((i=>i.toValue()))}}i.exports=ObjectSlice},99829:(i,s,u)=>{const m=u(3079),v=u(96295),_=u(16036),j=u(91090),M=u(18866),$=u(35804),W=u(5946),X=u(76735),Y=u(59964),Z=u(38588),ee=u(42566),ae=u(87526),ie=u(17645);function refract(i){if(i instanceof m)return i;if("string"==typeof i)return new _(i);if("number"==typeof i)return new j(i);if("boolean"==typeof i)return new M(i);if(null===i)return new v;if(Array.isArray(i))return new $(i.map(refract));if("object"==typeof i){return new X(i)}return i}m.prototype.ObjectElement=X,m.prototype.RefElement=Z,m.prototype.MemberElement=W,m.prototype.refract=refract,ee.prototype.refract=refract,i.exports={Element:m,NullElement:v,StringElement:_,NumberElement:j,BooleanElement:M,ArrayElement:$,MemberElement:W,ObjectElement:X,LinkElement:Y,RefElement:Z,refract,ArraySlice:ee,ObjectSlice:ae,KeyValuePair:ie}},59964:(i,s,u)=>{const m=u(3079);i.exports=class LinkElement extends m{constructor(i,s,u){super(i||[],s,u),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(i){this.attributes.set("relation",i)}get href(){return this.attributes.get("href")}set href(i){this.attributes.set("href",i)}}},38588:(i,s,u)=>{const m=u(3079);i.exports=class RefElement extends m{constructor(i,s,u){super(i||[],s,u),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(i){this.attributes.set("path",i)}}},43500:(i,s,u)=>{const m=u(78520),v=u(99829);s.lS=m,u(17645),s.O4=v.ArraySlice,v.ObjectSlice,s.W_=v.Element,s.RP=v.StringElement,s.VL=v.NumberElement,s.hh=v.BooleanElement,s.zr=v.NullElement,s.ON=v.ArrayElement,s.Sb=v.ObjectElement,s.c6=v.MemberElement,s.tK=v.RefElement,s.EA=v.LinkElement,s.Qc=v.refract,u(28219),u(3414)},35804:(i,s,u)=>{const m=u(94885),v=u(3079),_=u(42566);class ArrayElement extends v{constructor(i,s,u){super(i||[],s,u),this.element="array"}primitive(){return"array"}get(i){return this.content[i]}getValue(i){const s=this.get(i);if(s)return s.toValue()}getIndex(i){return this.content[i]}set(i,s){return this.content[i]=this.refract(s),this}remove(i){const s=this.content.splice(i,1);return s.length?s[0]:null}map(i,s){return this.content.map(i,s)}flatMap(i,s){return this.map(i,s).reduce(((i,s)=>i.concat(s)),[])}compactMap(i,s){const u=[];return this.forEach((m=>{const v=i.bind(s)(m);v&&u.push(v)})),u}filter(i,s){return new _(this.content.filter(i,s))}reject(i,s){return this.filter(m(i),s)}reduce(i,s){let u,m;void 0!==s?(u=0,m=this.refract(s)):(u=1,m="object"===this.primitive()?this.first.value:this.first);for(let s=u;s{i.bind(s)(u,this.refract(m))}))}shift(){return this.content.shift()}unshift(i){this.content.unshift(this.refract(i))}push(i){return this.content.push(this.refract(i)),this}add(i){this.push(i)}findElements(i,s){const u=s||{},m=!!u.recursive,v=void 0===u.results?[]:u.results;return this.forEach(((s,u,_)=>{m&&void 0!==s.findElements&&s.findElements(i,{results:v,recursive:m}),i(s,u,_)&&v.push(s)})),v}find(i){return new _(this.findElements(i,{recursive:!0}))}findByElement(i){return this.find((s=>s.element===i))}findByClass(i){return this.find((s=>s.classes.includes(i)))}getById(i){return this.find((s=>s.id.toValue()===i)).first}includes(i){return this.content.some((s=>s.equals(i)))}contains(i){return this.includes(i)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(i){return new this.constructor(this.content.concat(i.content))}"fantasy-land/concat"(i){return this.concat(i)}"fantasy-land/map"(i){return new this.constructor(this.map(i))}"fantasy-land/chain"(i){return this.map((s=>i(s)),this).reduce(((i,s)=>i.concat(s)),this.empty())}"fantasy-land/filter"(i){return new this.constructor(this.content.filter(i))}"fantasy-land/reduce"(i,s){return this.content.reduce(i,s)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}ArrayElement.empty=function empty(){return new this},ArrayElement["fantasy-land/empty"]=ArrayElement.empty,"undefined"!=typeof Symbol&&(ArrayElement.prototype[Symbol.iterator]=function symbol(){return this.content[Symbol.iterator]()}),i.exports=ArrayElement},18866:(i,s,u)=>{const m=u(3079);i.exports=class BooleanElement extends m{constructor(i,s,u){super(i,s,u),this.element="boolean"}primitive(){return"boolean"}}},3079:(i,s,u)=>{const m=u(18446),v=u(17645),_=u(42566);class Element{constructor(i,s,u){s&&(this.meta=s),u&&(this.attributes=u),this.content=i}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((i=>{i.parent=this,i.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const i=new this.constructor;return i.element=this.element,this.meta.length&&(i._meta=this.meta.clone()),this.attributes.length&&(i._attributes=this.attributes.clone()),this.content?this.content.clone?i.content=this.content.clone():Array.isArray(this.content)?i.content=this.content.map((i=>i.clone())):i.content=this.content:i.content=this.content,i}toValue(){return this.content instanceof Element?this.content.toValue():this.content instanceof v?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((i=>i.toValue()),this):this.content}toRef(i){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const s=new this.RefElement(this.id.toValue());return i&&(s.path=i),s}findRecursive(...i){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const s=i.pop();let u=new _;const append=(i,s)=>(i.push(s),i),checkElement=(i,u)=>{u.element===s&&i.push(u);const m=u.findRecursive(s);return m&&m.reduce(append,i),u.content instanceof v&&(u.content.key&&checkElement(i,u.content.key),u.content.value&&checkElement(i,u.content.value)),i};return this.content&&(this.content.element&&checkElement(u,this.content),Array.isArray(this.content)&&this.content.reduce(checkElement,u)),i.isEmpty||(u=u.filter((s=>{let u=s.parents.map((i=>i.element));for(const s in i){const m=i[s],v=u.indexOf(m);if(-1===v)return!1;u=u.splice(0,v)}return!0}))),u}set(i){return this.content=i,this}equals(i){return m(this.toValue(),i)}getMetaProperty(i,s){if(!this.meta.hasKey(i)){if(this.isFrozen){const i=this.refract(s);return i.freeze(),i}this.meta.set(i,s)}return this.meta.get(i)}setMetaProperty(i,s){this.meta.set(i,s)}get element(){return this._storedElement||"element"}set element(i){this._storedElement=i}get content(){return this._content}set content(i){if(i instanceof Element)this._content=i;else if(i instanceof _)this.content=i.elements;else if("string"==typeof i||"number"==typeof i||"boolean"==typeof i||"null"===i||null==i)this._content=i;else if(i instanceof v)this._content=i;else if(Array.isArray(i))this._content=i.map(this.refract);else{if("object"!=typeof i)throw new Error("Cannot set content to given value");this._content=Object.keys(i).map((s=>new this.MemberElement(s,i[s])))}}get meta(){if(!this._meta){if(this.isFrozen){const i=new this.ObjectElement;return i.freeze(),i}this._meta=new this.ObjectElement}return this._meta}set meta(i){i instanceof this.ObjectElement?this._meta=i:this.meta.set(i||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const i=new this.ObjectElement;return i.freeze(),i}this._attributes=new this.ObjectElement}return this._attributes}set attributes(i){i instanceof this.ObjectElement?this._attributes=i:this.attributes.set(i||{})}get id(){return this.getMetaProperty("id","")}set id(i){this.setMetaProperty("id",i)}get classes(){return this.getMetaProperty("classes",[])}set classes(i){this.setMetaProperty("classes",i)}get title(){return this.getMetaProperty("title","")}set title(i){this.setMetaProperty("title",i)}get description(){return this.getMetaProperty("description","")}set description(i){this.setMetaProperty("description",i)}get links(){return this.getMetaProperty("links",[])}set links(i){this.setMetaProperty("links",i)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:i}=this;const s=new _;for(;i;)s.push(i),i=i.parent;return s}get children(){if(Array.isArray(this.content))return new _(this.content);if(this.content instanceof v){const i=new _([this.content.key]);return this.content.value&&i.push(this.content.value),i}return this.content instanceof Element?new _([this.content]):new _}get recursiveChildren(){const i=new _;return this.children.forEach((s=>{i.push(s),s.recursiveChildren.forEach((s=>{i.push(s)}))})),i}}i.exports=Element},5946:(i,s,u)=>{const m=u(17645),v=u(3079);i.exports=class MemberElement extends v{constructor(i,s,u,v){super(new m,u,v),this.element="member",this.key=i,this.value=s}get key(){return this.content.key}set key(i){this.content.key=this.refract(i)}get value(){return this.content.value}set value(i){this.content.value=this.refract(i)}}},96295:(i,s,u)=>{const m=u(3079);i.exports=class NullElement extends m{constructor(i,s,u){super(i||null,s,u),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},91090:(i,s,u)=>{const m=u(3079);i.exports=class NumberElement extends m{constructor(i,s,u){super(i,s,u),this.element="number"}primitive(){return"number"}}},76735:(i,s,u)=>{const m=u(94885),v=u(13218),_=u(35804),j=u(5946),M=u(87526);i.exports=class ObjectElement extends _{constructor(i,s,u){super(i||[],s,u),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((i,s)=>(i[s.key.toValue()]=s.value?s.value.toValue():void 0,i)),{})}get(i){const s=this.getMember(i);if(s)return s.value}getMember(i){if(void 0!==i)return this.content.find((s=>s.key.toValue()===i))}remove(i){let s=null;return this.content=this.content.filter((u=>u.key.toValue()!==i||(s=u,!1))),s}getKey(i){const s=this.getMember(i);if(s)return s.key}set(i,s){if(v(i))return Object.keys(i).forEach((s=>{this.set(s,i[s])})),this;const u=i,m=this.getMember(u);return m?m.value=s:this.content.push(new j(u,s)),this}keys(){return this.content.map((i=>i.key.toValue()))}values(){return this.content.map((i=>i.value.toValue()))}hasKey(i){return this.content.some((s=>s.key.equals(i)))}items(){return this.content.map((i=>[i.key.toValue(),i.value.toValue()]))}map(i,s){return this.content.map((u=>i.bind(s)(u.value,u.key,u)))}compactMap(i,s){const u=[];return this.forEach(((m,v,_)=>{const j=i.bind(s)(m,v,_);j&&u.push(j)})),u}filter(i,s){return new M(this.content).filter(i,s)}reject(i,s){return this.filter(m(i),s)}forEach(i,s){return this.content.forEach((u=>i.bind(s)(u.value,u.key,u)))}}},16036:(i,s,u)=>{const m=u(3079);i.exports=class StringElement extends m{constructor(i,s,u){super(i,s,u),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},3414:(i,s,u)=>{const m=u(28219);i.exports=class JSON06Serialiser extends m{serialise(i){if(!(i instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${i}\` is not an Element instance`);let s;i._attributes&&i.attributes.get("variable")&&(s=i.attributes.get("variable"));const u={element:i.element};i._meta&&i._meta.length>0&&(u.meta=this.serialiseObject(i.meta));const m="enum"===i.element||-1!==i.attributes.keys().indexOf("enumerations");if(m){const s=this.enumSerialiseAttributes(i);s&&(u.attributes=s)}else if(i._attributes&&i._attributes.length>0){let{attributes:m}=i;m.get("metadata")&&(m=m.clone(),m.set("meta",m.get("metadata")),m.remove("metadata")),"member"===i.element&&s&&(m=m.clone(),m.remove("variable")),m.length>0&&(u.attributes=this.serialiseObject(m))}if(m)u.content=this.enumSerialiseContent(i,u);else if(this[`${i.element}SerialiseContent`])u.content=this[`${i.element}SerialiseContent`](i,u);else if(void 0!==i.content){let m;s&&i.content.key?(m=i.content.clone(),m.key.attributes.set("variable",s),m=this.serialiseContent(m)):m=this.serialiseContent(i.content),this.shouldSerialiseContent(i,m)&&(u.content=m)}else this.shouldSerialiseContent(i,i.content)&&i instanceof this.namespace.elements.Array&&(u.content=[]);return u}shouldSerialiseContent(i,s){return"parseResult"===i.element||"httpRequest"===i.element||"httpResponse"===i.element||"category"===i.element||"link"===i.element||void 0!==s&&(!Array.isArray(s)||0!==s.length)}refSerialiseContent(i,s){return delete s.attributes,{href:i.toValue(),path:i.path.toValue()}}sourceMapSerialiseContent(i){return i.toValue()}dataStructureSerialiseContent(i){return[this.serialiseContent(i.content)]}enumSerialiseAttributes(i){const s=i.attributes.clone(),u=s.remove("enumerations")||new this.namespace.elements.Array([]),m=s.get("default");let v=s.get("samples")||new this.namespace.elements.Array([]);if(m&&m.content&&(m.content.attributes&&m.content.attributes.remove("typeAttributes"),s.set("default",new this.namespace.elements.Array([m.content]))),v.forEach((i=>{i.content&&i.content.element&&i.content.attributes.remove("typeAttributes")})),i.content&&0!==u.length&&v.unshift(i.content),v=v.map((i=>i instanceof this.namespace.elements.Array?[i]:new this.namespace.elements.Array([i.content]))),v.length&&s.set("samples",v),s.length>0)return this.serialiseObject(s)}enumSerialiseContent(i){if(i._attributes){const s=i.attributes.get("enumerations");if(s&&s.length>0)return s.content.map((i=>{const s=i.clone();return s.attributes.remove("typeAttributes"),this.serialise(s)}))}if(i.content){const s=i.content.clone();return s.attributes.remove("typeAttributes"),[this.serialise(s)]}return[]}deserialise(i){if("string"==typeof i)return new this.namespace.elements.String(i);if("number"==typeof i)return new this.namespace.elements.Number(i);if("boolean"==typeof i)return new this.namespace.elements.Boolean(i);if(null===i)return new this.namespace.elements.Null;if(Array.isArray(i))return new this.namespace.elements.Array(i.map(this.deserialise,this));const s=this.namespace.getElementClass(i.element),u=new s;u.element!==i.element&&(u.element=i.element),i.meta&&this.deserialiseObject(i.meta,u.meta),i.attributes&&this.deserialiseObject(i.attributes,u.attributes);const m=this.deserialiseContent(i.content);if(void 0===m&&null!==u.content||(u.content=m),"enum"===u.element){u.content&&u.attributes.set("enumerations",u.content);let i=u.attributes.get("samples");if(u.attributes.remove("samples"),i){const m=i;i=new this.namespace.elements.Array,m.forEach((m=>{m.forEach((m=>{const v=new s(m);v.element=u.element,i.push(v)}))}));const v=i.shift();u.content=v?v.content:void 0,u.attributes.set("samples",i)}else u.content=void 0;let m=u.attributes.get("default");if(m&&m.length>0){m=m.get(0);const i=new s(m);i.element=u.element,u.attributes.set("default",i)}}else if("dataStructure"===u.element&&Array.isArray(u.content))[u.content]=u.content;else if("category"===u.element){const i=u.attributes.get("meta");i&&(u.attributes.set("metadata",i),u.attributes.remove("meta"))}else"member"===u.element&&u.key&&u.key._attributes&&u.key._attributes.getValue("variable")&&(u.attributes.set("variable",u.key.attributes.get("variable")),u.key.attributes.remove("variable"));return u}serialiseContent(i){if(i instanceof this.namespace.elements.Element)return this.serialise(i);if(i instanceof this.namespace.KeyValuePair){const s={key:this.serialise(i.key)};return i.value&&(s.value=this.serialise(i.value)),s}return i&&i.map?i.map(this.serialise,this):i}deserialiseContent(i){if(i){if(i.element)return this.deserialise(i);if(i.key){const s=new this.namespace.KeyValuePair(this.deserialise(i.key));return i.value&&(s.value=this.deserialise(i.value)),s}if(i.map)return i.map(this.deserialise,this)}return i}shouldRefract(i){return!!(i._attributes&&i.attributes.keys().length||i._meta&&i.meta.keys().length)||"enum"!==i.element&&(i.element!==i.primitive()||"member"===i.element)}convertKeyToRefract(i,s){return this.shouldRefract(s)?this.serialise(s):"enum"===s.element?this.serialiseEnum(s):"array"===s.element?s.map((s=>this.shouldRefract(s)||"default"===i?this.serialise(s):"array"===s.element||"object"===s.element||"enum"===s.element?s.children.map((i=>this.serialise(i))):s.toValue())):"object"===s.element?(s.content||[]).map(this.serialise,this):s.toValue()}serialiseEnum(i){return i.children.map((i=>this.serialise(i)))}serialiseObject(i){const s={};return i.forEach(((i,u)=>{if(i){const m=u.toValue();s[m]=this.convertKeyToRefract(m,i)}})),s}deserialiseObject(i,s){Object.keys(i).forEach((u=>{s.set(u,this.deserialise(i[u]))}))}}},28219:i=>{i.exports=class JSONSerialiser{constructor(i){this.namespace=i||new this.Namespace}serialise(i){if(!(i instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${i}\` is not an Element instance`);const s={element:i.element};i._meta&&i._meta.length>0&&(s.meta=this.serialiseObject(i.meta)),i._attributes&&i._attributes.length>0&&(s.attributes=this.serialiseObject(i.attributes));const u=this.serialiseContent(i.content);return void 0!==u&&(s.content=u),s}deserialise(i){if(!i.element)throw new Error("Given value is not an object containing an element name");const s=new(this.namespace.getElementClass(i.element));s.element!==i.element&&(s.element=i.element),i.meta&&this.deserialiseObject(i.meta,s.meta),i.attributes&&this.deserialiseObject(i.attributes,s.attributes);const u=this.deserialiseContent(i.content);return void 0===u&&null!==s.content||(s.content=u),s}serialiseContent(i){if(i instanceof this.namespace.elements.Element)return this.serialise(i);if(i instanceof this.namespace.KeyValuePair){const s={key:this.serialise(i.key)};return i.value&&(s.value=this.serialise(i.value)),s}if(i&&i.map){if(0===i.length)return;return i.map(this.serialise,this)}return i}deserialiseContent(i){if(i){if(i.element)return this.deserialise(i);if(i.key){const s=new this.namespace.KeyValuePair(this.deserialise(i.key));return i.value&&(s.value=this.deserialise(i.value)),s}if(i.map)return i.map(this.deserialise,this)}return i}serialiseObject(i){const s={};if(i.forEach(((i,u)=>{i&&(s[u.toValue()]=this.serialise(i))})),0!==Object.keys(s).length)return s}deserialiseObject(i,s){Object.keys(i).forEach((u=>{s.set(u,this.deserialise(i[u]))}))}}},27418:i=>{"use strict";var s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;i.exports=function shouldUseNative(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de","5"===Object.getOwnPropertyNames(i)[0])return!1;for(var s={},u=0;u<10;u++)s["_"+String.fromCharCode(u)]=u;if("0123456789"!==Object.getOwnPropertyNames(s).map((function(i){return s[i]})).join(""))return!1;var m={};return"abcdefghijklmnopqrst".split("").forEach((function(i){m[i]=i})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},m)).join("")}catch(i){return!1}}()?Object.assign:function(i,v){for(var _,j,M=function toObject(i){if(null==i)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}(i),$=1;${var m="function"==typeof Map&&Map.prototype,v=Object.getOwnPropertyDescriptor&&m?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,_=m&&v&&"function"==typeof v.get?v.get:null,j=m&&Map.prototype.forEach,M="function"==typeof Set&&Set.prototype,$=Object.getOwnPropertyDescriptor&&M?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,W=M&&$&&"function"==typeof $.get?$.get:null,X=M&&Set.prototype.forEach,Y="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,Z="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,ee="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,ae=Boolean.prototype.valueOf,ie=Object.prototype.toString,le=Function.prototype.toString,ce=String.prototype.match,pe=String.prototype.slice,de=String.prototype.replace,fe=String.prototype.toUpperCase,ye=String.prototype.toLowerCase,be=RegExp.prototype.test,_e=Array.prototype.concat,we=Array.prototype.join,Se=Array.prototype.slice,xe=Math.floor,Pe="function"==typeof BigInt?BigInt.prototype.valueOf:null,Ie=Object.getOwnPropertySymbols,Te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,Re="function"==typeof Symbol&&"object"==typeof Symbol.iterator,qe="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Re||"symbol")?Symbol.toStringTag:null,ze=Object.prototype.propertyIsEnumerable,Ve=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(i){return i.__proto__}:null);function addNumericSeparator(i,s){if(i===1/0||i===-1/0||i!=i||i&&i>-1e3&&i<1e3||be.call(/e/,s))return s;var u=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof i){var m=i<0?-xe(-i):xe(i);if(m!==i){var v=String(m),_=pe.call(s,v.length+1);return de.call(v,u,"$&_")+"."+de.call(de.call(_,/([0-9]{3})/g,"$&_"),/_$/,"")}}return de.call(s,u,"$&_")}var We=u(24654),He=We.custom,Xe=isSymbol(He)?He:null;function wrapQuotes(i,s,u){var m="double"===(u.quoteStyle||s)?'"':"'";return m+i+m}function quote(i){return de.call(String(i),/"/g,""")}function isArray(i){return!("[object Array]"!==toStr(i)||qe&&"object"==typeof i&&qe in i)}function isRegExp(i){return!("[object RegExp]"!==toStr(i)||qe&&"object"==typeof i&&qe in i)}function isSymbol(i){if(Re)return i&&"object"==typeof i&&i instanceof Symbol;if("symbol"==typeof i)return!0;if(!i||"object"!=typeof i||!Te)return!1;try{return Te.call(i),!0}catch(i){}return!1}i.exports=function inspect_(i,s,u,m){var v=s||{};if(has(v,"quoteStyle")&&"single"!==v.quoteStyle&&"double"!==v.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has(v,"maxStringLength")&&("number"==typeof v.maxStringLength?v.maxStringLength<0&&v.maxStringLength!==1/0:null!==v.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var M=!has(v,"customInspect")||v.customInspect;if("boolean"!=typeof M&&"symbol"!==M)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has(v,"indent")&&null!==v.indent&&"\t"!==v.indent&&!(parseInt(v.indent,10)===v.indent&&v.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has(v,"numericSeparator")&&"boolean"!=typeof v.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var $=v.numericSeparator;if(void 0===i)return"undefined";if(null===i)return"null";if("boolean"==typeof i)return i?"true":"false";if("string"==typeof i)return inspectString(i,v);if("number"==typeof i){if(0===i)return 1/0/i>0?"0":"-0";var ie=String(i);return $?addNumericSeparator(i,ie):ie}if("bigint"==typeof i){var fe=String(i)+"n";return $?addNumericSeparator(i,fe):fe}var be=void 0===v.depth?5:v.depth;if(void 0===u&&(u=0),u>=be&&be>0&&"object"==typeof i)return isArray(i)?"[Array]":"[Object]";var xe=function getIndent(i,s){var u;if("\t"===i.indent)u="\t";else{if(!("number"==typeof i.indent&&i.indent>0))return null;u=we.call(Array(i.indent+1)," ")}return{base:u,prev:we.call(Array(s+1),u)}}(v,u);if(void 0===m)m=[];else if(indexOf(m,i)>=0)return"[Circular]";function inspect(i,s,_){if(s&&(m=Se.call(m)).push(s),_){var j={depth:v.depth};return has(v,"quoteStyle")&&(j.quoteStyle=v.quoteStyle),inspect_(i,j,u+1,m)}return inspect_(i,v,u+1,m)}if("function"==typeof i&&!isRegExp(i)){var Ie=function nameOf(i){if(i.name)return i.name;var s=ce.call(le.call(i),/^function\s*([\w$]+)/);if(s)return s[1];return null}(i),He=arrObjKeys(i,inspect);return"[Function"+(Ie?": "+Ie:" (anonymous)")+"]"+(He.length>0?" { "+we.call(He,", ")+" }":"")}if(isSymbol(i)){var Ye=Re?de.call(String(i),/^(Symbol\(.*\))_[^)]*$/,"$1"):Te.call(i);return"object"!=typeof i||Re?Ye:markBoxed(Ye)}if(function isElement(i){if(!i||"object"!=typeof i)return!1;if("undefined"!=typeof HTMLElement&&i instanceof HTMLElement)return!0;return"string"==typeof i.nodeName&&"function"==typeof i.getAttribute}(i)){for(var Qe="<"+ye.call(String(i.nodeName)),et=i.attributes||[],tt=0;tt"}if(isArray(i)){if(0===i.length)return"[]";var rt=arrObjKeys(i,inspect);return xe&&!function singleLineValues(i){for(var s=0;s=0)return!1;return!0}(rt)?"["+indentedJoin(rt,xe)+"]":"[ "+we.call(rt,", ")+" ]"}if(function isError(i){return!("[object Error]"!==toStr(i)||qe&&"object"==typeof i&&qe in i)}(i)){var nt=arrObjKeys(i,inspect);return"cause"in Error.prototype||!("cause"in i)||ze.call(i,"cause")?0===nt.length?"["+String(i)+"]":"{ ["+String(i)+"] "+we.call(nt,", ")+" }":"{ ["+String(i)+"] "+we.call(_e.call("[cause]: "+inspect(i.cause),nt),", ")+" }"}if("object"==typeof i&&M){if(Xe&&"function"==typeof i[Xe]&&We)return We(i,{depth:be-u});if("symbol"!==M&&"function"==typeof i.inspect)return i.inspect()}if(function isMap(i){if(!_||!i||"object"!=typeof i)return!1;try{_.call(i);try{W.call(i)}catch(i){return!0}return i instanceof Map}catch(i){}return!1}(i)){var ot=[];return j&&j.call(i,(function(s,u){ot.push(inspect(u,i,!0)+" => "+inspect(s,i))})),collectionOf("Map",_.call(i),ot,xe)}if(function isSet(i){if(!W||!i||"object"!=typeof i)return!1;try{W.call(i);try{_.call(i)}catch(i){return!0}return i instanceof Set}catch(i){}return!1}(i)){var at=[];return X&&X.call(i,(function(s){at.push(inspect(s,i))})),collectionOf("Set",W.call(i),at,xe)}if(function isWeakMap(i){if(!Y||!i||"object"!=typeof i)return!1;try{Y.call(i,Y);try{Z.call(i,Z)}catch(i){return!0}return i instanceof WeakMap}catch(i){}return!1}(i))return weakCollectionOf("WeakMap");if(function isWeakSet(i){if(!Z||!i||"object"!=typeof i)return!1;try{Z.call(i,Z);try{Y.call(i,Y)}catch(i){return!0}return i instanceof WeakSet}catch(i){}return!1}(i))return weakCollectionOf("WeakSet");if(function isWeakRef(i){if(!ee||!i||"object"!=typeof i)return!1;try{return ee.call(i),!0}catch(i){}return!1}(i))return weakCollectionOf("WeakRef");if(function isNumber(i){return!("[object Number]"!==toStr(i)||qe&&"object"==typeof i&&qe in i)}(i))return markBoxed(inspect(Number(i)));if(function isBigInt(i){if(!i||"object"!=typeof i||!Pe)return!1;try{return Pe.call(i),!0}catch(i){}return!1}(i))return markBoxed(inspect(Pe.call(i)));if(function isBoolean(i){return!("[object Boolean]"!==toStr(i)||qe&&"object"==typeof i&&qe in i)}(i))return markBoxed(ae.call(i));if(function isString(i){return!("[object String]"!==toStr(i)||qe&&"object"==typeof i&&qe in i)}(i))return markBoxed(inspect(String(i)));if(!function isDate(i){return!("[object Date]"!==toStr(i)||qe&&"object"==typeof i&&qe in i)}(i)&&!isRegExp(i)){var it=arrObjKeys(i,inspect),st=Ve?Ve(i)===Object.prototype:i instanceof Object||i.constructor===Object,lt=i instanceof Object?"":"null prototype",ct=!st&&qe&&Object(i)===i&&qe in i?pe.call(toStr(i),8,-1):lt?"Object":"",ut=(st||"function"!=typeof i.constructor?"":i.constructor.name?i.constructor.name+" ":"")+(ct||lt?"["+we.call(_e.call([],ct||[],lt||[]),": ")+"] ":"");return 0===it.length?ut+"{}":xe?ut+"{"+indentedJoin(it,xe)+"}":ut+"{ "+we.call(it,", ")+" }"}return String(i)};var Ye=Object.prototype.hasOwnProperty||function(i){return i in this};function has(i,s){return Ye.call(i,s)}function toStr(i){return ie.call(i)}function indexOf(i,s){if(i.indexOf)return i.indexOf(s);for(var u=0,m=i.length;us.maxStringLength){var u=i.length-s.maxStringLength,m="... "+u+" more character"+(u>1?"s":"");return inspectString(pe.call(i,0,s.maxStringLength),s)+m}return wrapQuotes(de.call(de.call(i,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte),"single",s)}function lowbyte(i){var s=i.charCodeAt(0),u={8:"b",9:"t",10:"n",12:"f",13:"r"}[s];return u?"\\"+u:"\\x"+(s<16?"0":"")+fe.call(s.toString(16))}function markBoxed(i){return"Object("+i+")"}function weakCollectionOf(i){return i+" { ? }"}function collectionOf(i,s,u,m){return i+" ("+s+") {"+(m?indentedJoin(u,m):we.call(u,", "))+"}"}function indentedJoin(i,s){if(0===i.length)return"";var u="\n"+s.prev+s.base;return u+we.call(i,","+u)+"\n"+s.prev}function arrObjKeys(i,s){var u=isArray(i),m=[];if(u){m.length=i.length;for(var v=0;v{var s,u,m=i.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(i){if(s===setTimeout)return setTimeout(i,0);if((s===defaultSetTimout||!s)&&setTimeout)return s=setTimeout,setTimeout(i,0);try{return s(i,0)}catch(u){try{return s.call(null,i,0)}catch(u){return s.call(this,i,0)}}}!function(){try{s="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(i){s=defaultSetTimout}try{u="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(i){u=defaultClearTimeout}}();var v,_=[],j=!1,M=-1;function cleanUpNextTick(){j&&v&&(j=!1,v.length?_=v.concat(_):M=-1,_.length&&drainQueue())}function drainQueue(){if(!j){var i=runTimeout(cleanUpNextTick);j=!0;for(var s=_.length;s;){for(v=_,_=[];++M1)for(var u=1;u{"use strict";var m=u(50414);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,i.exports=function(){function shim(i,s,u,v,_,j){if(j!==m){var M=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw M.name="Invariant Violation",M}}function getShim(){return shim}shim.isRequired=shim;var i={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return i.PropTypes=i,i}},45697:(i,s,u)=>{i.exports=u(92703)()},50414:i=>{"use strict";i.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},55798:i=>{"use strict";var s=String.prototype.replace,u=/%20/g,m="RFC1738",v="RFC3986";i.exports={default:v,formatters:{RFC1738:function(i){return s.call(i,u,"+")},RFC3986:function(i){return String(i)}},RFC1738:m,RFC3986:v}},80129:(i,s,u)=>{"use strict";var m=u(58261),v=u(55235),_=u(55798);i.exports={formats:_,parse:v,stringify:m}},55235:(i,s,u)=>{"use strict";var m=u(12769),v=Object.prototype.hasOwnProperty,_=Array.isArray,j={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:m.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},interpretNumericEntities=function(i){return i.replace(/&#(\d+);/g,(function(i,s){return String.fromCharCode(parseInt(s,10))}))},parseArrayValue=function(i,s){return i&&"string"==typeof i&&s.comma&&i.indexOf(",")>-1?i.split(","):i},M=function parseQueryStringKeys(i,s,u,m){if(i){var _=u.allowDots?i.replace(/\.([^.[]+)/g,"[$1]"):i,j=/(\[[^[\]]*])/g,M=u.depth>0&&/(\[[^[\]]*])/.exec(_),$=M?_.slice(0,M.index):_,W=[];if($){if(!u.plainObjects&&v.call(Object.prototype,$)&&!u.allowPrototypes)return;W.push($)}for(var X=0;u.depth>0&&null!==(M=j.exec(_))&&X=0;--_){var j,M=i[_];if("[]"===M&&u.parseArrays)j=[].concat(v);else{j=u.plainObjects?Object.create(null):{};var $="["===M.charAt(0)&&"]"===M.charAt(M.length-1)?M.slice(1,-1):M,W=parseInt($,10);u.parseArrays||""!==$?!isNaN(W)&&M!==$&&String(W)===$&&W>=0&&u.parseArrays&&W<=u.arrayLimit?(j=[])[W]=v:"__proto__"!==$&&(j[$]=v):j={0:v}}v=j}return v}(W,s,u,m)}};i.exports=function(i,s){var u=function normalizeParseOptions(i){if(!i)return j;if(null!==i.decoder&&void 0!==i.decoder&&"function"!=typeof i.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==i.charset&&"utf-8"!==i.charset&&"iso-8859-1"!==i.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var s=void 0===i.charset?j.charset:i.charset;return{allowDots:void 0===i.allowDots?j.allowDots:!!i.allowDots,allowPrototypes:"boolean"==typeof i.allowPrototypes?i.allowPrototypes:j.allowPrototypes,allowSparse:"boolean"==typeof i.allowSparse?i.allowSparse:j.allowSparse,arrayLimit:"number"==typeof i.arrayLimit?i.arrayLimit:j.arrayLimit,charset:s,charsetSentinel:"boolean"==typeof i.charsetSentinel?i.charsetSentinel:j.charsetSentinel,comma:"boolean"==typeof i.comma?i.comma:j.comma,decoder:"function"==typeof i.decoder?i.decoder:j.decoder,delimiter:"string"==typeof i.delimiter||m.isRegExp(i.delimiter)?i.delimiter:j.delimiter,depth:"number"==typeof i.depth||!1===i.depth?+i.depth:j.depth,ignoreQueryPrefix:!0===i.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof i.interpretNumericEntities?i.interpretNumericEntities:j.interpretNumericEntities,parameterLimit:"number"==typeof i.parameterLimit?i.parameterLimit:j.parameterLimit,parseArrays:!1!==i.parseArrays,plainObjects:"boolean"==typeof i.plainObjects?i.plainObjects:j.plainObjects,strictNullHandling:"boolean"==typeof i.strictNullHandling?i.strictNullHandling:j.strictNullHandling}}(s);if(""===i||null==i)return u.plainObjects?Object.create(null):{};for(var $="string"==typeof i?function parseQueryStringValues(i,s){var u,M={},$=s.ignoreQueryPrefix?i.replace(/^\?/,""):i,W=s.parameterLimit===1/0?void 0:s.parameterLimit,X=$.split(s.delimiter,W),Y=-1,Z=s.charset;if(s.charsetSentinel)for(u=0;u-1&&(ae=_(ae)?[ae]:ae),v.call(M,ee)?M[ee]=m.combine(M[ee],ae):M[ee]=ae}return M}(i,u):i,W=u.plainObjects?Object.create(null):{},X=Object.keys($),Y=0;Y{"use strict";var m=u(37478),v=u(12769),_=u(55798),j=Object.prototype.hasOwnProperty,M={brackets:function brackets(i){return i+"[]"},comma:"comma",indices:function indices(i,s){return i+"["+s+"]"},repeat:function repeat(i){return i}},$=Array.isArray,W=String.prototype.split,X=Array.prototype.push,pushToArray=function(i,s){X.apply(i,$(s)?s:[s])},Y=Date.prototype.toISOString,Z=_.default,ee={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:v.encode,encodeValuesOnly:!1,format:Z,formatter:_.formatters[Z],indices:!1,serializeDate:function serializeDate(i){return Y.call(i)},skipNulls:!1,strictNullHandling:!1},ae={},ie=function stringify(i,s,u,_,j,M,X,Y,Z,ie,le,ce,pe,de,fe,ye){for(var be=i,_e=ye,we=0,Se=!1;void 0!==(_e=_e.get(ae))&&!Se;){var xe=_e.get(i);if(we+=1,void 0!==xe){if(xe===we)throw new RangeError("Cyclic object value");Se=!0}void 0===_e.get(ae)&&(we=0)}if("function"==typeof Y?be=Y(s,be):be instanceof Date?be=le(be):"comma"===u&&$(be)&&(be=v.maybeMap(be,(function(i){return i instanceof Date?le(i):i}))),null===be){if(j)return X&&!de?X(s,ee.encoder,fe,"key",ce):s;be=""}if(function isNonNullishPrimitive(i){return"string"==typeof i||"number"==typeof i||"boolean"==typeof i||"symbol"==typeof i||"bigint"==typeof i}(be)||v.isBuffer(be)){if(X){var Pe=de?s:X(s,ee.encoder,fe,"key",ce);if("comma"===u&&de){for(var Ie=W.call(String(be),","),Te="",Re=0;Re0?be.join(",")||null:void 0}];else if($(Y))qe=Y;else{var Ve=Object.keys(be);qe=Z?Ve.sort(Z):Ve}for(var We=_&&$(be)&&1===be.length?s+"[]":s,He=0;He0?fe+de:""}},12769:(i,s,u)=>{"use strict";var m=u(55798),v=Object.prototype.hasOwnProperty,_=Array.isArray,j=function(){for(var i=[],s=0;s<256;++s)i.push("%"+((s<16?"0":"")+s.toString(16)).toUpperCase());return i}(),M=function arrayToObject(i,s){for(var u=s&&s.plainObjects?Object.create(null):{},m=0;m1;){var s=i.pop(),u=s.obj[s.prop];if(_(u)){for(var m=[],v=0;v=48&&X<=57||X>=65&&X<=90||X>=97&&X<=122||_===m.RFC1738&&(40===X||41===X)?$+=M.charAt(W):X<128?$+=j[X]:X<2048?$+=j[192|X>>6]+j[128|63&X]:X<55296||X>=57344?$+=j[224|X>>12]+j[128|X>>6&63]+j[128|63&X]:(W+=1,X=65536+((1023&X)<<10|1023&M.charCodeAt(W)),$+=j[240|X>>18]+j[128|X>>12&63]+j[128|X>>6&63]+j[128|63&X])}return $},isBuffer:function isBuffer(i){return!(!i||"object"!=typeof i)&&!!(i.constructor&&i.constructor.isBuffer&&i.constructor.isBuffer(i))},isRegExp:function isRegExp(i){return"[object RegExp]"===Object.prototype.toString.call(i)},maybeMap:function maybeMap(i,s){if(_(i)){for(var u=[],m=0;m{"use strict";var u=Object.prototype.hasOwnProperty;function decode(i){try{return decodeURIComponent(i.replace(/\+/g," "))}catch(i){return null}}function encode(i){try{return encodeURIComponent(i)}catch(i){return null}}s.stringify=function querystringify(i,s){s=s||"";var m,v,_=[];for(v in"string"!=typeof s&&(s="?"),i)if(u.call(i,v)){if((m=i[v])||null!=m&&!isNaN(m)||(m=""),v=encode(v),m=encode(m),null===v||null===m)continue;_.push(v+"="+m)}return _.length?s+_.join("&"):""},s.parse=function querystring(i){for(var s,u=/([^=?#&]+)=?([^&]*)/g,m={};s=u.exec(i);){var v=decode(s[1]),_=decode(s[2]);null===v||null===_||v in m||(m[v]=_)}return m}},14419:(i,s,u)=>{const m=u(60697),v=u(69450),_=m.types;i.exports=class RandExp{constructor(i,s){if(this._setDefaults(i),i instanceof RegExp)this.ignoreCase=i.ignoreCase,this.multiline=i.multiline,i=i.source;else{if("string"!=typeof i)throw new Error("Expected a regexp or string");this.ignoreCase=s&&-1!==s.indexOf("i"),this.multiline=s&&-1!==s.indexOf("m")}this.tokens=m(i)}_setDefaults(i){this.max=null!=i.max?i.max:null!=RandExp.prototype.max?RandExp.prototype.max:100,this.defaultRange=i.defaultRange?i.defaultRange:this.defaultRange.clone(),i.randInt&&(this.randInt=i.randInt)}gen(){return this._gen(this.tokens,[])}_gen(i,s){var u,m,v,j,M;switch(i.type){case _.ROOT:case _.GROUP:if(i.followedBy||i.notFollowedBy)return"";for(i.remember&&void 0===i.groupNumber&&(i.groupNumber=s.push(null)-1),m="",j=0,M=(u=i.options?this._randSelect(i.options):i.stack).length;j{"use strict";var m=u(34155),v=65536,_=4294967295;var j=u(89509).Buffer,M=u.g.crypto||u.g.msCrypto;M&&M.getRandomValues?i.exports=function randomBytes(i,s){if(i>_)throw new RangeError("requested too many random bytes");var u=j.allocUnsafe(i);if(i>0)if(i>v)for(var $=0;${"use strict";function _typeof(i){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"==typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof(i)}Object.defineProperty(s,"__esModule",{value:!0}),s.CopyToClipboard=void 0;var m=_interopRequireDefault(u(67294)),v=_interopRequireDefault(u(20640)),_=["text","onCopy","options","children"];function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}function ownKeys(i,s){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(i);s&&(m=m.filter((function(s){return Object.getOwnPropertyDescriptor(i,s).enumerable}))),u.push.apply(u,m)}return u}function _objectSpread(i){for(var s=1;s=0||(v[u]=i[u]);return v}(i,s);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(i);for(m=0;m<_.length;m++)u=_[m],s.indexOf(u)>=0||Object.prototype.propertyIsEnumerable.call(i,u)&&(v[u]=i[u])}return v}function _defineProperties(i,s){for(var u=0;u{"use strict";var m=u(74300).CopyToClipboard;m.CopyToClipboard=m,i.exports=m},53441:(i,s,u)=>{"use strict";function _typeof(i){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"==typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof(i)}Object.defineProperty(s,"__esModule",{value:!0}),s.DebounceInput=void 0;var m=_interopRequireDefault(u(67294)),v=_interopRequireDefault(u(91296)),_=["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"];function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}function _objectWithoutProperties(i,s){if(null==i)return{};var u,m,v=function _objectWithoutPropertiesLoose(i,s){if(null==i)return{};var u,m,v={},_=Object.keys(i);for(m=0;m<_.length;m++)u=_[m],s.indexOf(u)>=0||(v[u]=i[u]);return v}(i,s);if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(i);for(m=0;m<_.length;m++)u=_[m],s.indexOf(u)>=0||Object.prototype.propertyIsEnumerable.call(i,u)&&(v[u]=i[u])}return v}function ownKeys(i,s){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(i);s&&(m=m.filter((function(s){return Object.getOwnPropertyDescriptor(i,s).enumerable}))),u.push.apply(u,m)}return u}function _objectSpread(i){for(var s=1;s=m?u.notify(i):s.length>v.length&&u.notify(_objectSpread(_objectSpread({},i),{},{target:_objectSpread(_objectSpread({},i.target),{},{value:""})}))}))})),_defineProperty(_assertThisInitialized(u),"onKeyDown",(function(i){"Enter"===i.key&&u.forceNotify(i);var s=u.props.onKeyDown;s&&(i.persist(),s(i))})),_defineProperty(_assertThisInitialized(u),"onBlur",(function(i){u.forceNotify(i);var s=u.props.onBlur;s&&(i.persist(),s(i))})),_defineProperty(_assertThisInitialized(u),"createNotifier",(function(i){if(i<0)u.notify=function(){return null};else if(0===i)u.notify=u.doNotify;else{var s=(0,v.default)((function(i){u.isDebouncing=!1,u.doNotify(i)}),i);u.notify=function(i){u.isDebouncing=!0,s(i)},u.flush=function(){return s.flush()},u.cancel=function(){u.isDebouncing=!1,s.cancel()}}})),_defineProperty(_assertThisInitialized(u),"doNotify",(function(){u.props.onChange.apply(void 0,arguments)})),_defineProperty(_assertThisInitialized(u),"forceNotify",(function(i){var s=u.props.debounceTimeout;if(u.isDebouncing||!(s>0)){u.cancel&&u.cancel();var m=u.state.value,v=u.props.minLength;m.length>=v?u.doNotify(i):u.doNotify(_objectSpread(_objectSpread({},i),{},{target:_objectSpread(_objectSpread({},i.target),{},{value:m})}))}})),u.isDebouncing=!1,u.state={value:void 0===i.value||null===i.value?"":i.value};var m=u.props.debounceTimeout;return u.createNotifier(m),u}return function _createClass(i,s,u){return s&&_defineProperties(i.prototype,s),u&&_defineProperties(i,u),Object.defineProperty(i,"prototype",{writable:!1}),i}(DebounceInput,[{key:"componentDidUpdate",value:function componentDidUpdate(i){if(!this.isDebouncing){var s=this.props,u=s.value,m=s.debounceTimeout,v=i.debounceTimeout,_=i.value,j=this.state.value;void 0!==u&&_!==u&&j!==u&&this.setState({value:u}),m!==v&&this.createNotifier(m)}}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.flush&&this.flush()}},{key:"render",value:function render(){var i,s,u=this.props,v=u.element,j=(u.onChange,u.value,u.minLength,u.debounceTimeout,u.forceNotifyByEnter),M=u.forceNotifyOnBlur,$=u.onKeyDown,W=u.onBlur,X=u.inputRef,Y=_objectWithoutProperties(u,_),Z=this.state.value;i=j?{onKeyDown:this.onKeyDown}:$?{onKeyDown:$}:{},s=M?{onBlur:this.onBlur}:W?{onBlur:W}:{};var ee=X?{ref:X}:{};return m.default.createElement(v,_objectSpread(_objectSpread(_objectSpread(_objectSpread({},Y),{},{onChange:this.onChange,value:Z},i),s),ee))}}]),DebounceInput}(m.default.PureComponent);s.DebounceInput=j,_defineProperty(j,"defaultProps",{element:"input",type:"text",onKeyDown:void 0,onBlur:void 0,value:void 0,minLength:0,debounceTimeout:100,forceNotifyByEnter:!0,forceNotifyOnBlur:!0,inputRef:void 0})},775:(i,s,u)=>{"use strict";var m=u(53441).DebounceInput;m.DebounceInput=m,i.exports=m},64448:(i,s,u)=>{"use strict";var m=u(67294),v=u(27418),_=u(63840);function y(i){for(var s="https://reactjs.org/docs/error-decoder.html?invariant="+i,u=1;u
")}value(){return this.buffer}span(i){this.buffer+=``}}class TokenTree{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(i){this.top.children.push(i)}openNode(i){const s={kind:i,children:[]};this.add(s),this.stack.push(s)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(i){return this.constructor._walk(i,this.rootNode)}static _walk(i,s){return"string"==typeof s?i.addText(s):s.children&&(i.openNode(s),s.children.forEach((s=>this._walk(i,s))),i.closeNode(s)),i}static _collapse(i){"string"!=typeof i&&i.children&&(i.children.every((i=>"string"==typeof i))?i.children=[i.children.join("")]:i.children.forEach((i=>{TokenTree._collapse(i)})))}}class TokenTreeEmitter extends TokenTree{constructor(i){super(),this.options=i}addKeyword(i,s){""!==i&&(this.openNode(s),this.addText(i),this.closeNode())}addText(i){""!==i&&this.add(i)}addSublanguage(i,s){const u=i.root;u.kind=s,u.sublanguage=!0,this.add(u)}toHTML(){return new HTMLRenderer(this,this.options).value()}finalize(){return!0}}function source(i){return i?"string"==typeof i?i:i.source:null}const m=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;const _="[a-zA-Z]\\w*",j="[a-zA-Z_]\\w*",M="\\b\\d+(\\.\\d+)?",$="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",W="\\b(0b[01]+)",X={begin:"\\\\[\\s\\S]",relevance:0},Y={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[X]},Z={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[X]},ee={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT=function(i,s,u={}){const m=inherit({className:"comment",begin:i,end:s,contains:[]},u);return m.contains.push(ee),m.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),m},ae=COMMENT("//","$"),ie=COMMENT("/\\*","\\*/"),le=COMMENT("#","$"),ce={className:"number",begin:M,relevance:0},pe={className:"number",begin:$,relevance:0},de={className:"number",begin:W,relevance:0},fe={className:"number",begin:M+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},ye={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[X,{begin:/\[/,end:/\]/,relevance:0,contains:[X]}]}]},be={className:"title",begin:_,relevance:0},_e={className:"title",begin:j,relevance:0},we={begin:"\\.\\s*"+j,relevance:0};var Se=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:_,UNDERSCORE_IDENT_RE:j,NUMBER_RE:M,C_NUMBER_RE:$,BINARY_NUMBER_RE:W,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(i={})=>{const s=/^#![ ]*\//;return i.binary&&(i.begin=function concat(...i){return i.map((i=>source(i))).join("")}(s,/.*\b/,i.binary,/\b.*/)),inherit({className:"meta",begin:s,end:/$/,relevance:0,"on:begin":(i,s)=>{0!==i.index&&s.ignoreMatch()}},i)},BACKSLASH_ESCAPE:X,APOS_STRING_MODE:Y,QUOTE_STRING_MODE:Z,PHRASAL_WORDS_MODE:ee,COMMENT,C_LINE_COMMENT_MODE:ae,C_BLOCK_COMMENT_MODE:ie,HASH_COMMENT_MODE:le,NUMBER_MODE:ce,C_NUMBER_MODE:pe,BINARY_NUMBER_MODE:de,CSS_NUMBER_MODE:fe,REGEXP_MODE:ye,TITLE_MODE:be,UNDERSCORE_TITLE_MODE:_e,METHOD_GUARD:we,END_SAME_AS_BEGIN:function(i){return Object.assign(i,{"on:begin":(i,s)=>{s.data._beginMatch=i[1]},"on:end":(i,s)=>{s.data._beginMatch!==i[1]&&s.ignoreMatch()}})}});function skipIfhasPrecedingDot(i,s){"."===i.input[i.index-1]&&s.ignoreMatch()}function beginKeywords(i,s){s&&i.beginKeywords&&(i.begin="\\b("+i.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",i.__beforeBegin=skipIfhasPrecedingDot,i.keywords=i.keywords||i.beginKeywords,delete i.beginKeywords,void 0===i.relevance&&(i.relevance=0))}function compileIllegal(i,s){Array.isArray(i.illegal)&&(i.illegal=function either(...i){return"("+i.map((i=>source(i))).join("|")+")"}(...i.illegal))}function compileMatch(i,s){if(i.match){if(i.begin||i.end)throw new Error("begin & end are not supported with match");i.begin=i.match,delete i.match}}function compileRelevance(i,s){void 0===i.relevance&&(i.relevance=1)}const xe=["of","and","for","in","not","or","if","then","parent","list","value"],Pe="keyword";function compileKeywords(i,s,u=Pe){const m={};return"string"==typeof i?compileList(u,i.split(" ")):Array.isArray(i)?compileList(u,i):Object.keys(i).forEach((function(u){Object.assign(m,compileKeywords(i[u],s,u))})),m;function compileList(i,u){s&&(u=u.map((i=>i.toLowerCase()))),u.forEach((function(s){const u=s.split("|");m[u[0]]=[i,scoreForKeyword(u[0],u[1])]}))}}function scoreForKeyword(i,s){return s?Number(s):function commonKeyword(i){return xe.includes(i.toLowerCase())}(i)?0:1}function compileLanguage(i,{plugins:s}){function langRe(s,u){return new RegExp(source(s),"m"+(i.case_insensitive?"i":"")+(u?"g":""))}class MultiRegex{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(i,s){s.position=this.position++,this.matchIndexes[this.matchAt]=s,this.regexes.push([s,i]),this.matchAt+=function countMatchGroups(i){return new RegExp(i.toString()+"|").exec("").length-1}(i)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const i=this.regexes.map((i=>i[1]));this.matcherRe=langRe(function join(i,s="|"){let u=0;return i.map((i=>{u+=1;const s=u;let _=source(i),j="";for(;_.length>0;){const i=m.exec(_);if(!i){j+=_;break}j+=_.substring(0,i.index),_=_.substring(i.index+i[0].length),"\\"===i[0][0]&&i[1]?j+="\\"+String(Number(i[1])+s):(j+=i[0],"("===i[0]&&u++)}return j})).map((i=>`(${i})`)).join(s)}(i),!0),this.lastIndex=0}exec(i){this.matcherRe.lastIndex=this.lastIndex;const s=this.matcherRe.exec(i);if(!s)return null;const u=s.findIndex(((i,s)=>s>0&&void 0!==i)),m=this.matchIndexes[u];return s.splice(0,u),Object.assign(s,m)}}class ResumableMultiRegex{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(i){if(this.multiRegexes[i])return this.multiRegexes[i];const s=new MultiRegex;return this.rules.slice(i).forEach((([i,u])=>s.addRule(i,u))),s.compile(),this.multiRegexes[i]=s,s}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(i,s){this.rules.push([i,s]),"begin"===s.type&&this.count++}exec(i){const s=this.getMatcher(this.regexIndex);s.lastIndex=this.lastIndex;let u=s.exec(i);if(this.resumingScanAtSamePosition())if(u&&u.index===this.lastIndex);else{const s=this.getMatcher(0);s.lastIndex=this.lastIndex+1,u=s.exec(i)}return u&&(this.regexIndex+=u.position+1,this.regexIndex===this.count&&this.considerAll()),u}}if(i.compilerExtensions||(i.compilerExtensions=[]),i.contains&&i.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return i.classNameAliases=inherit(i.classNameAliases||{}),function compileMode(s,u){const m=s;if(s.isCompiled)return m;[compileMatch].forEach((i=>i(s,u))),i.compilerExtensions.forEach((i=>i(s,u))),s.__beforeBegin=null,[beginKeywords,compileIllegal,compileRelevance].forEach((i=>i(s,u))),s.isCompiled=!0;let _=null;if("object"==typeof s.keywords&&(_=s.keywords.$pattern,delete s.keywords.$pattern),s.keywords&&(s.keywords=compileKeywords(s.keywords,i.case_insensitive)),s.lexemes&&_)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return _=_||s.lexemes||/\w+/,m.keywordPatternRe=langRe(_,!0),u&&(s.begin||(s.begin=/\B|\b/),m.beginRe=langRe(s.begin),s.endSameAsBegin&&(s.end=s.begin),s.end||s.endsWithParent||(s.end=/\B|\b/),s.end&&(m.endRe=langRe(s.end)),m.terminatorEnd=source(s.end)||"",s.endsWithParent&&u.terminatorEnd&&(m.terminatorEnd+=(s.end?"|":"")+u.terminatorEnd)),s.illegal&&(m.illegalRe=langRe(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map((function(i){return function expandOrCloneMode(i){i.variants&&!i.cachedVariants&&(i.cachedVariants=i.variants.map((function(s){return inherit(i,{variants:null},s)})));if(i.cachedVariants)return i.cachedVariants;if(dependencyOnParent(i))return inherit(i,{starts:i.starts?inherit(i.starts):null});if(Object.isFrozen(i))return inherit(i);return i}("self"===i?s:i)}))),s.contains.forEach((function(i){compileMode(i,m)})),s.starts&&compileMode(s.starts,u),m.matcher=function buildModeRegex(i){const s=new ResumableMultiRegex;return i.contains.forEach((i=>s.addRule(i.begin,{rule:i,type:"begin"}))),i.terminatorEnd&&s.addRule(i.terminatorEnd,{type:"end"}),i.illegal&&s.addRule(i.illegal,{type:"illegal"}),s}(m),m}(i)}function dependencyOnParent(i){return!!i&&(i.endsWithParent||dependencyOnParent(i.starts))}function BuildVuePlugin(i){const s={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!i.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,escapeHTML(this.code);let s={};return this.autoDetect?(s=i.highlightAuto(this.code),this.detectedLanguage=s.language):(s=i.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),s.value},autoDetect(){return!this.language||function hasValueOrEmptyAttribute(i){return Boolean(i||""===i)}(this.autodetect)},ignoreIllegals:()=>!0},render(i){return i("pre",{},[i("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:s,VuePlugin:{install(i){i.component("highlightjs",s)}}}}const Ie={"after:highlightElement":({el:i,result:s,text:u})=>{const m=nodeStream(i);if(!m.length)return;const _=document.createElement("div");_.innerHTML=s.value,s.value=function mergeStreams(i,s,u){let m=0,_="";const j=[];function selectStream(){return i.length&&s.length?i[0].offset!==s[0].offset?i[0].offset"}function close(i){_+=""}function render(i){("start"===i.event?open:close)(i.node)}for(;i.length||s.length;){let s=selectStream();if(_+=escapeHTML(u.substring(m,s[0].offset)),m=s[0].offset,s===i){j.reverse().forEach(close);do{render(s.splice(0,1)[0]),s=selectStream()}while(s===i&&s.length&&s[0].offset===m);j.reverse().forEach(open)}else"start"===s[0].event?j.push(s[0].node):j.pop(),render(s.splice(0,1)[0])}return _+escapeHTML(u.substr(m))}(m,nodeStream(_),u)}};function tag(i){return i.nodeName.toLowerCase()}function nodeStream(i){const s=[];return function _nodeStream(i,u){for(let m=i.firstChild;m;m=m.nextSibling)3===m.nodeType?u+=m.nodeValue.length:1===m.nodeType&&(s.push({event:"start",offset:u,node:m}),u=_nodeStream(m,u),tag(m).match(/br|hr|img|input/)||s.push({event:"stop",offset:u,node:m}));return u}(i,0),s}const Te={},error=i=>{console.error(i)},warn=(i,...s)=>{console.log(`WARN: ${i}`,...s)},deprecated=(i,s)=>{Te[`${i}/${s}`]||(console.log(`Deprecated as of ${i}. ${s}`),Te[`${i}/${s}`]=!0)},Re=escapeHTML,qe=inherit,ze=Symbol("nomatch");var Ve=function(i){const u=Object.create(null),m=Object.create(null),_=[];let j=!0;const M=/(^(<[^>]+>|\t|)+|\n)/gm,$="Could not find the language '{}', did you forget to load/include a language module?",W={disableAutodetect:!0,name:"Plain text",contains:[]};let X={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:TokenTreeEmitter};function shouldNotHighlight(i){return X.noHighlightRe.test(i)}function highlight(i,s,u,m){let _="",j="";"object"==typeof s?(_=i,u=s.ignoreIllegals,j=s.language,m=void 0):(deprecated("10.7.0","highlight(lang, code, ...args) has been deprecated."),deprecated("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),j=i,_=s);const M={code:_,language:j};fire("before:highlight",M);const $=M.result?M.result:_highlight(M.language,M.code,u,m);return $.code=M.code,fire("after:highlight",$),$}function _highlight(i,s,m,M){function keywordData(i,s){const u=Y.case_insensitive?s[0].toLowerCase():s[0];return Object.prototype.hasOwnProperty.call(i.keywords,u)&&i.keywords[u]}function processBuffer(){null!=ae.subLanguage?function processSubLanguage(){if(""===ce)return;let i=null;if("string"==typeof ae.subLanguage){if(!u[ae.subLanguage])return void le.addText(ce);i=_highlight(ae.subLanguage,ce,!0,ie[ae.subLanguage]),ie[ae.subLanguage]=i.top}else i=highlightAuto(ce,ae.subLanguage.length?ae.subLanguage:null);ae.relevance>0&&(pe+=i.relevance),le.addSublanguage(i.emitter,i.language)}():function processKeywords(){if(!ae.keywords)return void le.addText(ce);let i=0;ae.keywordPatternRe.lastIndex=0;let s=ae.keywordPatternRe.exec(ce),u="";for(;s;){u+=ce.substring(i,s.index);const m=keywordData(ae,s);if(m){const[i,_]=m;if(le.addText(u),u="",pe+=_,i.startsWith("_"))u+=s[0];else{const u=Y.classNameAliases[i]||i;le.addKeyword(s[0],u)}}else u+=s[0];i=ae.keywordPatternRe.lastIndex,s=ae.keywordPatternRe.exec(ce)}u+=ce.substr(i),le.addText(u)}(),ce=""}function startNewMode(i){return i.className&&le.openNode(Y.classNameAliases[i.className]||i.className),ae=Object.create(i,{parent:{value:ae}}),ae}function endOfMode(i,s,u){let m=function startsWith(i,s){const u=i&&i.exec(s);return u&&0===u.index}(i.endRe,u);if(m){if(i["on:end"]){const u=new Response(i);i["on:end"](s,u),u.isMatchIgnored&&(m=!1)}if(m){for(;i.endsParent&&i.parent;)i=i.parent;return i}}if(i.endsWithParent)return endOfMode(i.parent,s,u)}function doIgnore(i){return 0===ae.matcher.regexIndex?(ce+=i[0],1):(ye=!0,0)}function doBeginMatch(i){const s=i[0],u=i.rule,m=new Response(u),_=[u.__beforeBegin,u["on:begin"]];for(const u of _)if(u&&(u(i,m),m.isMatchIgnored))return doIgnore(s);return u&&u.endSameAsBegin&&(u.endRe=function escape(i){return new RegExp(i.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}(s)),u.skip?ce+=s:(u.excludeBegin&&(ce+=s),processBuffer(),u.returnBegin||u.excludeBegin||(ce=s)),startNewMode(u),u.returnBegin?0:s.length}function doEndMatch(i){const u=i[0],m=s.substr(i.index),_=endOfMode(ae,i,m);if(!_)return ze;const j=ae;j.skip?ce+=u:(j.returnEnd||j.excludeEnd||(ce+=u),processBuffer(),j.excludeEnd&&(ce=u));do{ae.className&&le.closeNode(),ae.skip||ae.subLanguage||(pe+=ae.relevance),ae=ae.parent}while(ae!==_.parent);return _.starts&&(_.endSameAsBegin&&(_.starts.endRe=_.endRe),startNewMode(_.starts)),j.returnEnd?0:u.length}let W={};function processLexeme(u,_){const M=_&&_[0];if(ce+=u,null==M)return processBuffer(),0;if("begin"===W.type&&"end"===_.type&&W.index===_.index&&""===M){if(ce+=s.slice(_.index,_.index+1),!j){const s=new Error("0 width match regex");throw s.languageName=i,s.badRule=W.rule,s}return 1}if(W=_,"begin"===_.type)return doBeginMatch(_);if("illegal"===_.type&&!m){const i=new Error('Illegal lexeme "'+M+'" for mode "'+(ae.className||"")+'"');throw i.mode=ae,i}if("end"===_.type){const i=doEndMatch(_);if(i!==ze)return i}if("illegal"===_.type&&""===M)return 1;if(fe>1e5&&fe>3*_.index){throw new Error("potential infinite loop, way more iterations than matches")}return ce+=M,M.length}const Y=getLanguage(i);if(!Y)throw error($.replace("{}",i)),new Error('Unknown language: "'+i+'"');const Z=compileLanguage(Y,{plugins:_});let ee="",ae=M||Z;const ie={},le=new X.__emitter(X);!function processContinuations(){const i=[];for(let s=ae;s!==Y;s=s.parent)s.className&&i.unshift(s.className);i.forEach((i=>le.openNode(i)))}();let ce="",pe=0,de=0,fe=0,ye=!1;try{for(ae.matcher.considerAll();;){fe++,ye?ye=!1:ae.matcher.considerAll(),ae.matcher.lastIndex=de;const i=ae.matcher.exec(s);if(!i)break;const u=processLexeme(s.substring(de,i.index),i);de=i.index+u}return processLexeme(s.substr(de)),le.closeAllNodes(),le.finalize(),ee=le.toHTML(),{relevance:Math.floor(pe),value:ee,language:i,illegal:!1,emitter:le,top:ae}}catch(u){if(u.message&&u.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:u.message,context:s.slice(de-100,de+100),mode:u.mode},sofar:ee,relevance:0,value:Re(s),emitter:le};if(j)return{illegal:!1,relevance:0,value:Re(s),emitter:le,language:i,top:ae,errorRaised:u};throw u}}function highlightAuto(i,s){s=s||X.languages||Object.keys(u);const m=function justTextHighlightResult(i){const s={relevance:0,emitter:new X.__emitter(X),value:Re(i),illegal:!1,top:W};return s.emitter.addText(i),s}(i),_=s.filter(getLanguage).filter(autoDetection).map((s=>_highlight(s,i,!1)));_.unshift(m);const j=_.sort(((i,s)=>{if(i.relevance!==s.relevance)return s.relevance-i.relevance;if(i.language&&s.language){if(getLanguage(i.language).supersetOf===s.language)return 1;if(getLanguage(s.language).supersetOf===i.language)return-1}return 0})),[M,$]=j,Y=M;return Y.second_best=$,Y}const Y={"before:highlightElement":({el:i})=>{X.useBR&&(i.innerHTML=i.innerHTML.replace(/\n/g,"").replace(//g,"\n"))},"after:highlightElement":({result:i})=>{X.useBR&&(i.value=i.value.replace(/\n/g,"
"))}},Z=/^(<[^>]+>|\t)+/gm,ee={"after:highlightElement":({result:i})=>{X.tabReplace&&(i.value=i.value.replace(Z,(i=>i.replace(/\t/g,X.tabReplace))))}};function highlightElement(i){let s=null;const u=function blockLanguage(i){let s=i.className+" ";s+=i.parentNode?i.parentNode.className:"";const u=X.languageDetectRe.exec(s);if(u){const s=getLanguage(u[1]);return s||(warn($.replace("{}",u[1])),warn("Falling back to no-highlight mode for this block.",i)),s?u[1]:"no-highlight"}return s.split(/\s+/).find((i=>shouldNotHighlight(i)||getLanguage(i)))}(i);if(shouldNotHighlight(u))return;fire("before:highlightElement",{el:i,language:u}),s=i;const _=s.textContent,j=u?highlight(_,{language:u,ignoreIllegals:!0}):highlightAuto(_);fire("after:highlightElement",{el:i,result:j,text:_}),i.innerHTML=j.value,function updateClassName(i,s,u){const _=s?m[s]:u;i.classList.add("hljs"),_&&i.classList.add(_)}(i,u,j.language),i.result={language:j.language,re:j.relevance,relavance:j.relevance},j.second_best&&(i.second_best={language:j.second_best.language,re:j.second_best.relevance,relavance:j.second_best.relevance})}const initHighlighting=()=>{if(initHighlighting.called)return;initHighlighting.called=!0,deprecated("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead.");document.querySelectorAll("pre code").forEach(highlightElement)};let ae=!1;function highlightAll(){if("loading"===document.readyState)return void(ae=!0);document.querySelectorAll("pre code").forEach(highlightElement)}function getLanguage(i){return i=(i||"").toLowerCase(),u[i]||u[m[i]]}function registerAliases(i,{languageName:s}){"string"==typeof i&&(i=[i]),i.forEach((i=>{m[i.toLowerCase()]=s}))}function autoDetection(i){const s=getLanguage(i);return s&&!s.disableAutodetect}function fire(i,s){const u=i;_.forEach((function(i){i[u]&&i[u](s)}))}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function boot(){ae&&highlightAll()}),!1),Object.assign(i,{highlight,highlightAuto,highlightAll,fixMarkup:function deprecateFixMarkup(i){return deprecated("10.2.0","fixMarkup will be removed entirely in v11.0"),deprecated("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),function fixMarkup(i){return X.tabReplace||X.useBR?i.replace(M,(i=>"\n"===i?X.useBR?"
":i:X.tabReplace?i.replace(/\t/g,X.tabReplace):i)):i}(i)},highlightElement,highlightBlock:function deprecateHighlightBlock(i){return deprecated("10.7.0","highlightBlock will be removed entirely in v12.0"),deprecated("10.7.0","Please use highlightElement now."),highlightElement(i)},configure:function configure(i){i.useBR&&(deprecated("10.3.0","'useBR' will be removed entirely in v11.0"),deprecated("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),X=qe(X,i)},initHighlighting,initHighlightingOnLoad:function initHighlightingOnLoad(){deprecated("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),ae=!0},registerLanguage:function registerLanguage(s,m){let _=null;try{_=m(i)}catch(i){if(error("Language definition for '{}' could not be registered.".replace("{}",s)),!j)throw i;error(i),_=W}_.name||(_.name=s),u[s]=_,_.rawDefinition=m.bind(null,i),_.aliases&®isterAliases(_.aliases,{languageName:s})},unregisterLanguage:function unregisterLanguage(i){delete u[i];for(const s of Object.keys(m))m[s]===i&&delete m[s]},listLanguages:function listLanguages(){return Object.keys(u)},getLanguage,registerAliases,requireLanguage:function requireLanguage(i){deprecated("10.4.0","requireLanguage will be removed entirely in v11."),deprecated("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const s=getLanguage(i);if(s)return s;throw new Error("The '{}' language is required, but not loaded.".replace("{}",i))},autoDetection,inherit:qe,addPlugin:function addPlugin(i){!function upgradePluginAPI(i){i["before:highlightBlock"]&&!i["before:highlightElement"]&&(i["before:highlightElement"]=s=>{i["before:highlightBlock"](Object.assign({block:s.el},s))}),i["after:highlightBlock"]&&!i["after:highlightElement"]&&(i["after:highlightElement"]=s=>{i["after:highlightBlock"](Object.assign({block:s.el},s))})}(i),_.push(i)},vuePlugin:BuildVuePlugin(i).VuePlugin}),i.debugMode=function(){j=!1},i.safeMode=function(){j=!0},i.versionString="10.7.3";for(const i in Se)"object"==typeof Se[i]&&s(Se[i]);return Object.assign(i,Se),i.addPlugin(Y),i.addPlugin(Ie),i.addPlugin(ee),i}({});i.exports=Ve},61519:i=>{function concat(...i){return i.map((i=>function source(i){return i?"string"==typeof i?i:i.source:null}(i))).join("")}i.exports=function bash(i){const s={},u={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[s]}]};Object.assign(s,{className:"variable",variants:[{begin:concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},u]});const m={className:"subst",begin:/\$\(/,end:/\)/,contains:[i.BACKSLASH_ESCAPE]},_={begin:/<<-?\s*(?=\w+)/,starts:{contains:[i.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},j={className:"string",begin:/"/,end:/"/,contains:[i.BACKSLASH_ESCAPE,s,m]};m.contains.push(j);const M={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},i.NUMBER_MODE,s]},$=i.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),W={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[i.inherit(i.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[$,i.SHEBANG(),W,M,i.HASH_COMMENT_MODE,_,j,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},s]}}},30786:i=>{function concat(...i){return i.map((i=>function source(i){return i?"string"==typeof i?i:i.source:null}(i))).join("")}i.exports=function http(i){const s="HTTP/(2|1\\.[01])",u={className:"attribute",begin:concat("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},m=[u,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+s+" \\d{3})",end:/$/,contains:[{className:"meta",begin:s},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:m}},{begin:"(?=^[A-Z]+ (.*?) "+s+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:s},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:m}},i.inherit(u,{relevance:0})]}}},96344:i=>{const s="[A-Za-z$_][0-9A-Za-z$_]*",u=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],m=["true","false","null","undefined","NaN","Infinity"],_=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function lookahead(i){return concat("(?=",i,")")}function concat(...i){return i.map((i=>function source(i){return i?"string"==typeof i?i:i.source:null}(i))).join("")}i.exports=function javascript(i){const j=s,M="<>",$="",W={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(i,s)=>{const u=i[0].length+i.index,m=i.input[u];"<"!==m?">"===m&&(((i,{after:s})=>{const u="",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:i.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:X,contains:be}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:M,end:$},{begin:W.begin,"on:begin":W.isTrulyOpeningTag,end:W.end}],subLanguage:"xml",contains:[{begin:W.begin,end:W.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:X,contains:["self",i.inherit(i.TITLE_MODE,{begin:j}),_e],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:i.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[_e,i.inherit(i.TITLE_MODE,{begin:j})]},{variants:[{begin:"\\."+j},{begin:"\\$"+j}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},i.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[i.inherit(i.TITLE_MODE,{begin:j}),"self",_e]},{begin:"(get|set)\\s+(?="+j+"\\()",end:/\{/,keywords:"get set",contains:[i.inherit(i.TITLE_MODE,{begin:j}),{begin:/\(\)/},_e]},{begin:/\$[(.]/}]}}},82026:i=>{i.exports=function json(i){const s={literal:"true false null"},u=[i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE],m=[i.QUOTE_STRING_MODE,i.C_NUMBER_MODE],_={end:",",endsWithParent:!0,excludeEnd:!0,contains:m,keywords:s},j={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[i.BACKSLASH_ESCAPE],illegal:"\\n"},i.inherit(_,{begin:/:/})].concat(u),illegal:"\\S"},M={begin:"\\[",end:"\\]",contains:[i.inherit(_)],illegal:"\\S"};return m.push(j,M),u.forEach((function(i){m.push(i)})),{name:"JSON",contains:m,keywords:s,illegal:"\\S"}}},66336:i=>{i.exports=function powershell(i){const s={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},u={begin:"`[\\s\\S]",relevance:0},m={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},_={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[u,m,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},j={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},M=i.inherit(i.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),$={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},W={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[i.TITLE_MODE]},X={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[m]}]},Y={begin:/using\s/,end:/$/,returnBegin:!0,contains:[_,j,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},Z={variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},ee={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(s.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},i.inherit(i.TITLE_MODE,{endsParent:!0})]},ae=[ee,M,u,i.NUMBER_MODE,_,j,$,m,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],ie={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",ae,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return ee.contains.unshift(ie),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:s,contains:ae.concat(W,X,Y,Z,ie)}}},42157:i=>{function source(i){return i?"string"==typeof i?i:i.source:null}function lookahead(i){return concat("(?=",i,")")}function concat(...i){return i.map((i=>source(i))).join("")}function either(...i){return"("+i.map((i=>source(i))).join("|")+")"}i.exports=function xml(i){const s=concat(/[A-Z_]/,function optional(i){return concat("(",i,")?")}(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),u={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},m={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},_=i.inherit(m,{begin:/\(/,end:/\)/}),j=i.inherit(i.APOS_STRING_MODE,{className:"meta-string"}),M=i.inherit(i.QUOTE_STRING_MODE,{className:"meta-string"}),$={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[m,M,j,_,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[m,_,M,j]}]}]},i.COMMENT(//,{relevance:10}),{begin://,relevance:10},u,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[$],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[$],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:$}]},{className:"tag",begin:concat(/<\//,lookahead(concat(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},54587:i=>{i.exports=function yaml(i){var s="true false yes no null",u="[\\w#;/?:@&=+$,.~*'()[\\]]+",m={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[i.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},_=i.inherit(m,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),j={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},M={end:",",endsWithParent:!0,excludeEnd:!0,keywords:s,relevance:0},$={begin:/\{/,end:/\}/,contains:[M],illegal:"\\n",relevance:0},W={begin:"\\[",end:"\\]",contains:[M],illegal:"\\n",relevance:0},X=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+u},{className:"type",begin:"!<"+u+">"},{className:"type",begin:"!"+u},{className:"type",begin:"!!"+u},{className:"meta",begin:"&"+i.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+i.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},i.HASH_COMMENT_MODE,{beginKeywords:s,keywords:{literal:s}},j,{className:"number",begin:i.C_NUMBER_RE+"\\b",relevance:0},$,W,m],Y=[...X];return Y.pop(),Y.push(_),M.contains=Y,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:X}}},8679:(i,s,u)=>{"use strict";var m=u(59864),_={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},j={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},M={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},$={};function getStatics(i){return m.isMemo(i)?M:$[i.$$typeof]||_}$[m.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},$[m.Memo]=M;var W=Object.defineProperty,X=Object.getOwnPropertyNames,Y=Object.getOwnPropertySymbols,Z=Object.getOwnPropertyDescriptor,ee=Object.getPrototypeOf,ae=Object.prototype;i.exports=function hoistNonReactStatics(i,s,u){if("string"!=typeof s){if(ae){var m=ee(s);m&&m!==ae&&hoistNonReactStatics(i,m,u)}var _=X(s);Y&&(_=_.concat(Y(s)));for(var M=getStatics(i),$=getStatics(s),ie=0;ie<_.length;++ie){var le=_[ie];if(!(j[le]||u&&u[le]||$&&$[le]||M&&M[le])){var ce=Z(s,le);try{W(i,le,ce)}catch(i){}}}}return i}},80645:(i,s)=>{s.read=function(i,s,u,m,_){var j,M,$=8*_-m-1,W=(1<<$)-1,X=W>>1,Y=-7,Z=u?_-1:0,ee=u?-1:1,ae=i[s+Z];for(Z+=ee,j=ae&(1<<-Y)-1,ae>>=-Y,Y+=$;Y>0;j=256*j+i[s+Z],Z+=ee,Y-=8);for(M=j&(1<<-Y)-1,j>>=-Y,Y+=m;Y>0;M=256*M+i[s+Z],Z+=ee,Y-=8);if(0===j)j=1-X;else{if(j===W)return M?NaN:1/0*(ae?-1:1);M+=Math.pow(2,m),j-=X}return(ae?-1:1)*M*Math.pow(2,j-m)},s.write=function(i,s,u,m,_,j){var M,$,W,X=8*j-_-1,Y=(1<>1,ee=23===_?Math.pow(2,-24)-Math.pow(2,-77):0,ae=m?0:j-1,ie=m?1:-1,le=s<0||0===s&&1/s<0?1:0;for(s=Math.abs(s),isNaN(s)||s===1/0?($=isNaN(s)?1:0,M=Y):(M=Math.floor(Math.log(s)/Math.LN2),s*(W=Math.pow(2,-M))<1&&(M--,W*=2),(s+=M+Z>=1?ee/W:ee*Math.pow(2,1-Z))*W>=2&&(M++,W/=2),M+Z>=Y?($=0,M=Y):M+Z>=1?($=(s*W-1)*Math.pow(2,_),M+=Z):($=s*Math.pow(2,Z-1)*Math.pow(2,_),M=0));_>=8;i[u+ae]=255&$,ae+=ie,$/=256,_-=8);for(M=M<<_|$,X+=_;X>0;i[u+ae]=255&M,ae+=ie,M/=256,X-=8);i[u+ae-ie]|=128*le}},43393:function(i){i.exports=function(){"use strict";var i=Array.prototype.slice;function createClass(i,s){s&&(i.prototype=Object.create(s.prototype)),i.prototype.constructor=i}function Iterable(i){return isIterable(i)?i:Seq(i)}function KeyedIterable(i){return isKeyed(i)?i:KeyedSeq(i)}function IndexedIterable(i){return isIndexed(i)?i:IndexedSeq(i)}function SetIterable(i){return isIterable(i)&&!isAssociative(i)?i:SetSeq(i)}function isIterable(i){return!(!i||!i[s])}function isKeyed(i){return!(!i||!i[u])}function isIndexed(i){return!(!i||!i[m])}function isAssociative(i){return isKeyed(i)||isIndexed(i)}function isOrdered(i){return!(!i||!i[_])}createClass(KeyedIterable,Iterable),createClass(IndexedIterable,Iterable),createClass(SetIterable,Iterable),Iterable.isIterable=isIterable,Iterable.isKeyed=isKeyed,Iterable.isIndexed=isIndexed,Iterable.isAssociative=isAssociative,Iterable.isOrdered=isOrdered,Iterable.Keyed=KeyedIterable,Iterable.Indexed=IndexedIterable,Iterable.Set=SetIterable;var s="@@__IMMUTABLE_ITERABLE__@@",u="@@__IMMUTABLE_KEYED__@@",m="@@__IMMUTABLE_INDEXED__@@",_="@@__IMMUTABLE_ORDERED__@@",j="delete",M=5,$=1<>>0;if(""+u!==s||4294967295===u)return NaN;s=u}return s<0?ensureSize(i)+s:s}function returnTrue(){return!0}function wholeSlice(i,s,u){return(0===i||void 0!==u&&i<=-u)&&(void 0===s||void 0!==u&&s>=u)}function resolveBegin(i,s){return resolveIndex(i,s,0)}function resolveEnd(i,s){return resolveIndex(i,s,s)}function resolveIndex(i,s,u){return void 0===i?u:i<0?Math.max(0,s+i):void 0===s?i:Math.min(s,i)}var ee=0,ae=1,ie=2,le="function"==typeof Symbol&&Symbol.iterator,ce="@@iterator",pe=le||ce;function Iterator(i){this.next=i}function iteratorValue(i,s,u,m){var _=0===i?s:1===i?u:[s,u];return m?m.value=_:m={value:_,done:!1},m}function iteratorDone(){return{value:void 0,done:!0}}function hasIterator(i){return!!getIteratorFn(i)}function isIterator(i){return i&&"function"==typeof i.next}function getIterator(i){var s=getIteratorFn(i);return s&&s.call(i)}function getIteratorFn(i){var s=i&&(le&&i[le]||i[ce]);if("function"==typeof s)return s}function isArrayLike(i){return i&&"number"==typeof i.length}function Seq(i){return null==i?emptySequence():isIterable(i)?i.toSeq():seqFromValue(i)}function KeyedSeq(i){return null==i?emptySequence().toKeyedSeq():isIterable(i)?isKeyed(i)?i.toSeq():i.fromEntrySeq():keyedSeqFromValue(i)}function IndexedSeq(i){return null==i?emptySequence():isIterable(i)?isKeyed(i)?i.entrySeq():i.toIndexedSeq():indexedSeqFromValue(i)}function SetSeq(i){return(null==i?emptySequence():isIterable(i)?isKeyed(i)?i.entrySeq():i:indexedSeqFromValue(i)).toSetSeq()}Iterator.prototype.toString=function(){return"[Iterator]"},Iterator.KEYS=ee,Iterator.VALUES=ae,Iterator.ENTRIES=ie,Iterator.prototype.inspect=Iterator.prototype.toSource=function(){return this.toString()},Iterator.prototype[pe]=function(){return this},createClass(Seq,Iterable),Seq.of=function(){return Seq(arguments)},Seq.prototype.toSeq=function(){return this},Seq.prototype.toString=function(){return this.__toString("Seq {","}")},Seq.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},Seq.prototype.__iterate=function(i,s){return seqIterate(this,i,s,!0)},Seq.prototype.__iterator=function(i,s){return seqIterator(this,i,s,!0)},createClass(KeyedSeq,Seq),KeyedSeq.prototype.toKeyedSeq=function(){return this},createClass(IndexedSeq,Seq),IndexedSeq.of=function(){return IndexedSeq(arguments)},IndexedSeq.prototype.toIndexedSeq=function(){return this},IndexedSeq.prototype.toString=function(){return this.__toString("Seq [","]")},IndexedSeq.prototype.__iterate=function(i,s){return seqIterate(this,i,s,!1)},IndexedSeq.prototype.__iterator=function(i,s){return seqIterator(this,i,s,!1)},createClass(SetSeq,Seq),SetSeq.of=function(){return SetSeq(arguments)},SetSeq.prototype.toSetSeq=function(){return this},Seq.isSeq=isSeq,Seq.Keyed=KeyedSeq,Seq.Set=SetSeq,Seq.Indexed=IndexedSeq;var de,fe,ye,be="@@__IMMUTABLE_SEQ__@@";function ArraySeq(i){this._array=i,this.size=i.length}function ObjectSeq(i){var s=Object.keys(i);this._object=i,this._keys=s,this.size=s.length}function IterableSeq(i){this._iterable=i,this.size=i.length||i.size}function IteratorSeq(i){this._iterator=i,this._iteratorCache=[]}function isSeq(i){return!(!i||!i[be])}function emptySequence(){return de||(de=new ArraySeq([]))}function keyedSeqFromValue(i){var s=Array.isArray(i)?new ArraySeq(i).fromEntrySeq():isIterator(i)?new IteratorSeq(i).fromEntrySeq():hasIterator(i)?new IterableSeq(i).fromEntrySeq():"object"==typeof i?new ObjectSeq(i):void 0;if(!s)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+i);return s}function indexedSeqFromValue(i){var s=maybeIndexedSeqFromValue(i);if(!s)throw new TypeError("Expected Array or iterable object of values: "+i);return s}function seqFromValue(i){var s=maybeIndexedSeqFromValue(i)||"object"==typeof i&&new ObjectSeq(i);if(!s)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+i);return s}function maybeIndexedSeqFromValue(i){return isArrayLike(i)?new ArraySeq(i):isIterator(i)?new IteratorSeq(i):hasIterator(i)?new IterableSeq(i):void 0}function seqIterate(i,s,u,m){var _=i._cache;if(_){for(var j=_.length-1,M=0;M<=j;M++){var $=_[u?j-M:M];if(!1===s($[1],m?$[0]:M,i))return M+1}return M}return i.__iterateUncached(s,u)}function seqIterator(i,s,u,m){var _=i._cache;if(_){var j=_.length-1,M=0;return new Iterator((function(){var i=_[u?j-M:M];return M++>j?iteratorDone():iteratorValue(s,m?i[0]:M-1,i[1])}))}return i.__iteratorUncached(s,u)}function fromJS(i,s){return s?fromJSWith(s,i,"",{"":i}):fromJSDefault(i)}function fromJSWith(i,s,u,m){return Array.isArray(s)?i.call(m,u,IndexedSeq(s).map((function(u,m){return fromJSWith(i,u,m,s)}))):isPlainObj(s)?i.call(m,u,KeyedSeq(s).map((function(u,m){return fromJSWith(i,u,m,s)}))):s}function fromJSDefault(i){return Array.isArray(i)?IndexedSeq(i).map(fromJSDefault).toList():isPlainObj(i)?KeyedSeq(i).map(fromJSDefault).toMap():i}function isPlainObj(i){return i&&(i.constructor===Object||void 0===i.constructor)}function is(i,s){if(i===s||i!=i&&s!=s)return!0;if(!i||!s)return!1;if("function"==typeof i.valueOf&&"function"==typeof s.valueOf){if((i=i.valueOf())===(s=s.valueOf())||i!=i&&s!=s)return!0;if(!i||!s)return!1}return!("function"!=typeof i.equals||"function"!=typeof s.equals||!i.equals(s))}function deepEqual(i,s){if(i===s)return!0;if(!isIterable(s)||void 0!==i.size&&void 0!==s.size&&i.size!==s.size||void 0!==i.__hash&&void 0!==s.__hash&&i.__hash!==s.__hash||isKeyed(i)!==isKeyed(s)||isIndexed(i)!==isIndexed(s)||isOrdered(i)!==isOrdered(s))return!1;if(0===i.size&&0===s.size)return!0;var u=!isAssociative(i);if(isOrdered(i)){var m=i.entries();return s.every((function(i,s){var _=m.next().value;return _&&is(_[1],i)&&(u||is(_[0],s))}))&&m.next().done}var _=!1;if(void 0===i.size)if(void 0===s.size)"function"==typeof i.cacheResult&&i.cacheResult();else{_=!0;var j=i;i=s,s=j}var M=!0,$=s.__iterate((function(s,m){if(u?!i.has(s):_?!is(s,i.get(m,X)):!is(i.get(m,X),s))return M=!1,!1}));return M&&i.size===$}function Repeat(i,s){if(!(this instanceof Repeat))return new Repeat(i,s);if(this._value=i,this.size=void 0===s?1/0:Math.max(0,s),0===this.size){if(fe)return fe;fe=this}}function invariant(i,s){if(!i)throw new Error(s)}function Range(i,s,u){if(!(this instanceof Range))return new Range(i,s,u);if(invariant(0!==u,"Cannot step a Range by 0"),i=i||0,void 0===s&&(s=1/0),u=void 0===u?1:Math.abs(u),sm?iteratorDone():iteratorValue(i,_,u[s?m-_++:_++])}))},createClass(ObjectSeq,KeyedSeq),ObjectSeq.prototype.get=function(i,s){return void 0===s||this.has(i)?this._object[i]:s},ObjectSeq.prototype.has=function(i){return this._object.hasOwnProperty(i)},ObjectSeq.prototype.__iterate=function(i,s){for(var u=this._object,m=this._keys,_=m.length-1,j=0;j<=_;j++){var M=m[s?_-j:j];if(!1===i(u[M],M,this))return j+1}return j},ObjectSeq.prototype.__iterator=function(i,s){var u=this._object,m=this._keys,_=m.length-1,j=0;return new Iterator((function(){var M=m[s?_-j:j];return j++>_?iteratorDone():iteratorValue(i,M,u[M])}))},ObjectSeq.prototype[_]=!0,createClass(IterableSeq,IndexedSeq),IterableSeq.prototype.__iterateUncached=function(i,s){if(s)return this.cacheResult().__iterate(i,s);var u=getIterator(this._iterable),m=0;if(isIterator(u))for(var _;!(_=u.next()).done&&!1!==i(_.value,m++,this););return m},IterableSeq.prototype.__iteratorUncached=function(i,s){if(s)return this.cacheResult().__iterator(i,s);var u=getIterator(this._iterable);if(!isIterator(u))return new Iterator(iteratorDone);var m=0;return new Iterator((function(){var s=u.next();return s.done?s:iteratorValue(i,m++,s.value)}))},createClass(IteratorSeq,IndexedSeq),IteratorSeq.prototype.__iterateUncached=function(i,s){if(s)return this.cacheResult().__iterate(i,s);for(var u,m=this._iterator,_=this._iteratorCache,j=0;j<_.length;)if(!1===i(_[j],j++,this))return j;for(;!(u=m.next()).done;){var M=u.value;if(_[j]=M,!1===i(M,j++,this))break}return j},IteratorSeq.prototype.__iteratorUncached=function(i,s){if(s)return this.cacheResult().__iterator(i,s);var u=this._iterator,m=this._iteratorCache,_=0;return new Iterator((function(){if(_>=m.length){var s=u.next();if(s.done)return s;m[_]=s.value}return iteratorValue(i,_,m[_++])}))},createClass(Repeat,IndexedSeq),Repeat.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Repeat.prototype.get=function(i,s){return this.has(i)?this._value:s},Repeat.prototype.includes=function(i){return is(this._value,i)},Repeat.prototype.slice=function(i,s){var u=this.size;return wholeSlice(i,s,u)?this:new Repeat(this._value,resolveEnd(s,u)-resolveBegin(i,u))},Repeat.prototype.reverse=function(){return this},Repeat.prototype.indexOf=function(i){return is(this._value,i)?0:-1},Repeat.prototype.lastIndexOf=function(i){return is(this._value,i)?this.size:-1},Repeat.prototype.__iterate=function(i,s){for(var u=0;u=0&&s=0&&uu?iteratorDone():iteratorValue(i,j++,M)}))},Range.prototype.equals=function(i){return i instanceof Range?this._start===i._start&&this._end===i._end&&this._step===i._step:deepEqual(this,i)},createClass(Collection,Iterable),createClass(KeyedCollection,Collection),createClass(IndexedCollection,Collection),createClass(SetCollection,Collection),Collection.Keyed=KeyedCollection,Collection.Indexed=IndexedCollection,Collection.Set=SetCollection;var _e="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function imul(i,s){var u=65535&(i|=0),m=65535&(s|=0);return u*m+((i>>>16)*m+u*(s>>>16)<<16>>>0)|0};function smi(i){return i>>>1&1073741824|3221225471&i}function hash(i){if(!1===i||null==i)return 0;if("function"==typeof i.valueOf&&(!1===(i=i.valueOf())||null==i))return 0;if(!0===i)return 1;var s=typeof i;if("number"===s){if(i!=i||i===1/0)return 0;var u=0|i;for(u!==i&&(u^=4294967295*i);i>4294967295;)u^=i/=4294967295;return smi(u)}if("string"===s)return i.length>Re?cachedHashString(i):hashString(i);if("function"==typeof i.hashCode)return i.hashCode();if("object"===s)return hashJSObj(i);if("function"==typeof i.toString)return hashString(i.toString());throw new Error("Value type "+s+" cannot be hashed.")}function cachedHashString(i){var s=Ve[i];return void 0===s&&(s=hashString(i),ze===qe&&(ze=0,Ve={}),ze++,Ve[i]=s),s}function hashString(i){for(var s=0,u=0;u0)switch(i.nodeType){case 1:return i.uniqueID;case 9:return i.documentElement&&i.documentElement.uniqueID}}var xe,Pe="function"==typeof WeakMap;Pe&&(xe=new WeakMap);var Ie=0,Te="__immutablehash__";"function"==typeof Symbol&&(Te=Symbol(Te));var Re=16,qe=255,ze=0,Ve={};function assertNotInfinite(i){invariant(i!==1/0,"Cannot perform this action with an infinite size.")}function Map(i){return null==i?emptyMap():isMap(i)&&!isOrdered(i)?i:emptyMap().withMutations((function(s){var u=KeyedIterable(i);assertNotInfinite(u.size),u.forEach((function(i,u){return s.set(u,i)}))}))}function isMap(i){return!(!i||!i[He])}createClass(Map,KeyedCollection),Map.of=function(){var s=i.call(arguments,0);return emptyMap().withMutations((function(i){for(var u=0;u=s.length)throw new Error("Missing value for key: "+s[u]);i.set(s[u],s[u+1])}}))},Map.prototype.toString=function(){return this.__toString("Map {","}")},Map.prototype.get=function(i,s){return this._root?this._root.get(0,void 0,i,s):s},Map.prototype.set=function(i,s){return updateMap(this,i,s)},Map.prototype.setIn=function(i,s){return this.updateIn(i,X,(function(){return s}))},Map.prototype.remove=function(i){return updateMap(this,i,X)},Map.prototype.deleteIn=function(i){return this.updateIn(i,(function(){return X}))},Map.prototype.update=function(i,s,u){return 1===arguments.length?i(this):this.updateIn([i],s,u)},Map.prototype.updateIn=function(i,s,u){u||(u=s,s=void 0);var m=updateInDeepMap(this,forceIterator(i),s,u);return m===X?void 0:m},Map.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):emptyMap()},Map.prototype.merge=function(){return mergeIntoMapWith(this,void 0,arguments)},Map.prototype.mergeWith=function(s){return mergeIntoMapWith(this,s,i.call(arguments,1))},Map.prototype.mergeIn=function(s){var u=i.call(arguments,1);return this.updateIn(s,emptyMap(),(function(i){return"function"==typeof i.merge?i.merge.apply(i,u):u[u.length-1]}))},Map.prototype.mergeDeep=function(){return mergeIntoMapWith(this,deepMerger,arguments)},Map.prototype.mergeDeepWith=function(s){var u=i.call(arguments,1);return mergeIntoMapWith(this,deepMergerWith(s),u)},Map.prototype.mergeDeepIn=function(s){var u=i.call(arguments,1);return this.updateIn(s,emptyMap(),(function(i){return"function"==typeof i.mergeDeep?i.mergeDeep.apply(i,u):u[u.length-1]}))},Map.prototype.sort=function(i){return OrderedMap(sortFactory(this,i))},Map.prototype.sortBy=function(i,s){return OrderedMap(sortFactory(this,s,i))},Map.prototype.withMutations=function(i){var s=this.asMutable();return i(s),s.wasAltered()?s.__ensureOwner(this.__ownerID):this},Map.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new OwnerID)},Map.prototype.asImmutable=function(){return this.__ensureOwner()},Map.prototype.wasAltered=function(){return this.__altered},Map.prototype.__iterator=function(i,s){return new MapIterator(this,i,s)},Map.prototype.__iterate=function(i,s){var u=this,m=0;return this._root&&this._root.iterate((function(s){return m++,i(s[1],s[0],u)}),s),m},Map.prototype.__ensureOwner=function(i){return i===this.__ownerID?this:i?makeMap(this.size,this._root,i,this.__hash):(this.__ownerID=i,this.__altered=!1,this)},Map.isMap=isMap;var We,He="@@__IMMUTABLE_MAP__@@",Xe=Map.prototype;function ArrayMapNode(i,s){this.ownerID=i,this.entries=s}function BitmapIndexedNode(i,s,u){this.ownerID=i,this.bitmap=s,this.nodes=u}function HashArrayMapNode(i,s,u){this.ownerID=i,this.count=s,this.nodes=u}function HashCollisionNode(i,s,u){this.ownerID=i,this.keyHash=s,this.entries=u}function ValueNode(i,s,u){this.ownerID=i,this.keyHash=s,this.entry=u}function MapIterator(i,s,u){this._type=s,this._reverse=u,this._stack=i._root&&mapIteratorFrame(i._root)}function mapIteratorValue(i,s){return iteratorValue(i,s[0],s[1])}function mapIteratorFrame(i,s){return{node:i,index:0,__prev:s}}function makeMap(i,s,u,m){var _=Object.create(Xe);return _.size=i,_._root=s,_.__ownerID=u,_.__hash=m,_.__altered=!1,_}function emptyMap(){return We||(We=makeMap(0))}function updateMap(i,s,u){var m,_;if(i._root){var j=MakeRef(Y),M=MakeRef(Z);if(m=updateNode(i._root,i.__ownerID,0,void 0,s,u,j,M),!M.value)return i;_=i.size+(j.value?u===X?-1:1:0)}else{if(u===X)return i;_=1,m=new ArrayMapNode(i.__ownerID,[[s,u]])}return i.__ownerID?(i.size=_,i._root=m,i.__hash=void 0,i.__altered=!0,i):m?makeMap(_,m):emptyMap()}function updateNode(i,s,u,m,_,j,M,$){return i?i.update(s,u,m,_,j,M,$):j===X?i:(SetRef($),SetRef(M),new ValueNode(s,m,[_,j]))}function isLeafNode(i){return i.constructor===ValueNode||i.constructor===HashCollisionNode}function mergeIntoNode(i,s,u,m,_){if(i.keyHash===m)return new HashCollisionNode(s,m,[i.entry,_]);var j,$=(0===u?i.keyHash:i.keyHash>>>u)&W,X=(0===u?m:m>>>u)&W;return new BitmapIndexedNode(s,1<<$|1<>>=1)M[W]=1&u?s[j++]:void 0;return M[m]=_,new HashArrayMapNode(i,j+1,M)}function mergeIntoMapWith(i,s,u){for(var m=[],_=0;_>1&1431655765))+(i>>2&858993459))+(i>>4)&252645135,i+=i>>8,127&(i+=i>>16)}function setIn(i,s,u,m){var _=m?i:arrCopy(i);return _[s]=u,_}function spliceIn(i,s,u,m){var _=i.length+1;if(m&&s+1===_)return i[s]=u,i;for(var j=new Array(_),M=0,$=0;$<_;$++)$===s?(j[$]=u,M=-1):j[$]=i[$+M];return j}function spliceOut(i,s,u){var m=i.length-1;if(u&&s===m)return i.pop(),i;for(var _=new Array(m),j=0,M=0;M=Ye)return createNodes(i,W,m,_);var ae=i&&i===this.ownerID,ie=ae?W:arrCopy(W);return ee?$?Y===Z-1?ie.pop():ie[Y]=ie.pop():ie[Y]=[m,_]:ie.push([m,_]),ae?(this.entries=ie,this):new ArrayMapNode(i,ie)}},BitmapIndexedNode.prototype.get=function(i,s,u,m){void 0===s&&(s=hash(u));var _=1<<((0===i?s:s>>>i)&W),j=this.bitmap;return 0==(j&_)?m:this.nodes[popCount(j&_-1)].get(i+M,s,u,m)},BitmapIndexedNode.prototype.update=function(i,s,u,m,_,j,$){void 0===u&&(u=hash(m));var Y=(0===s?u:u>>>s)&W,Z=1<=Qe)return expandNodes(i,le,ee,Y,pe);if(ae&&!pe&&2===le.length&&isLeafNode(le[1^ie]))return le[1^ie];if(ae&&pe&&1===le.length&&isLeafNode(pe))return pe;var de=i&&i===this.ownerID,fe=ae?pe?ee:ee^Z:ee|Z,ye=ae?pe?setIn(le,ie,pe,de):spliceOut(le,ie,de):spliceIn(le,ie,pe,de);return de?(this.bitmap=fe,this.nodes=ye,this):new BitmapIndexedNode(i,fe,ye)},HashArrayMapNode.prototype.get=function(i,s,u,m){void 0===s&&(s=hash(u));var _=(0===i?s:s>>>i)&W,j=this.nodes[_];return j?j.get(i+M,s,u,m):m},HashArrayMapNode.prototype.update=function(i,s,u,m,_,j,$){void 0===u&&(u=hash(m));var Y=(0===s?u:u>>>s)&W,Z=_===X,ee=this.nodes,ae=ee[Y];if(Z&&!ae)return this;var ie=updateNode(ae,i,s+M,u,m,_,j,$);if(ie===ae)return this;var le=this.count;if(ae){if(!ie&&--le0&&m<$?makeList(0,m,M,null,new VNode(u.toArray())):s.withMutations((function(i){i.setSize(m),u.forEach((function(s,u){return i.set(u,s)}))})))}function isList(i){return!(!i||!i[tt])}createClass(List,IndexedCollection),List.of=function(){return this(arguments)},List.prototype.toString=function(){return this.__toString("List [","]")},List.prototype.get=function(i,s){if((i=wrapIndex(this,i))>=0&&i>>s&W;if(m>=this.array.length)return new VNode([],i);var _,j=0===m;if(s>0){var $=this.array[m];if((_=$&&$.removeBefore(i,s-M,u))===$&&j)return this}if(j&&!_)return this;var X=editableVNode(this,i);if(!j)for(var Y=0;Y>>s&W;if(_>=this.array.length)return this;if(s>0){var j=this.array[_];if((m=j&&j.removeAfter(i,s-M,u))===j&&_===this.array.length-1)return this}var $=editableVNode(this,i);return $.array.splice(_+1),m&&($.array[_]=m),$};var nt,ot,at={};function iterateList(i,s){var u=i._origin,m=i._capacity,_=getTailOffset(m),j=i._tail;return iterateNodeOrLeaf(i._root,i._level,0);function iterateNodeOrLeaf(i,s,u){return 0===s?iterateLeaf(i,u):iterateNode(i,s,u)}function iterateLeaf(i,M){var W=M===_?j&&j.array:i&&i.array,X=M>u?0:u-M,Y=m-M;return Y>$&&(Y=$),function(){if(X===Y)return at;var i=s?--Y:X++;return W&&W[i]}}function iterateNode(i,_,j){var W,X=i&&i.array,Y=j>u?0:u-j>>_,Z=1+(m-j>>_);return Z>$&&(Z=$),function(){for(;;){if(W){var i=W();if(i!==at)return i;W=null}if(Y===Z)return at;var u=s?--Z:Y++;W=iterateNodeOrLeaf(X&&X[u],_-M,j+(u<<_))}}}}function makeList(i,s,u,m,_,j,M){var $=Object.create(rt);return $.size=s-i,$._origin=i,$._capacity=s,$._level=u,$._root=m,$._tail=_,$.__ownerID=j,$.__hash=M,$.__altered=!1,$}function emptyList(){return nt||(nt=makeList(0,0,M))}function updateList(i,s,u){if((s=wrapIndex(i,s))!=s)return i;if(s>=i.size||s<0)return i.withMutations((function(i){s<0?setListBounds(i,s).set(0,u):setListBounds(i,0,s+1).set(s,u)}));s+=i._origin;var m=i._tail,_=i._root,j=MakeRef(Z);return s>=getTailOffset(i._capacity)?m=updateVNode(m,i.__ownerID,0,s,u,j):_=updateVNode(_,i.__ownerID,i._level,s,u,j),j.value?i.__ownerID?(i._root=_,i._tail=m,i.__hash=void 0,i.__altered=!0,i):makeList(i._origin,i._capacity,i._level,_,m):i}function updateVNode(i,s,u,m,_,j){var $,X=m>>>u&W,Y=i&&X0){var Z=i&&i.array[X],ee=updateVNode(Z,s,u-M,m,_,j);return ee===Z?i:(($=editableVNode(i,s)).array[X]=ee,$)}return Y&&i.array[X]===_?i:(SetRef(j),$=editableVNode(i,s),void 0===_&&X===$.array.length-1?$.array.pop():$.array[X]=_,$)}function editableVNode(i,s){return s&&i&&s===i.ownerID?i:new VNode(i?i.array.slice():[],s)}function listNodeFor(i,s){if(s>=getTailOffset(i._capacity))return i._tail;if(s<1<0;)u=u.array[s>>>m&W],m-=M;return u}}function setListBounds(i,s,u){void 0!==s&&(s|=0),void 0!==u&&(u|=0);var m=i.__ownerID||new OwnerID,_=i._origin,j=i._capacity,$=_+s,X=void 0===u?j:u<0?j+u:_+u;if($===_&&X===j)return i;if($>=X)return i.clear();for(var Y=i._level,Z=i._root,ee=0;$+ee<0;)Z=new VNode(Z&&Z.array.length?[void 0,Z]:[],m),ee+=1<<(Y+=M);ee&&($+=ee,_+=ee,X+=ee,j+=ee);for(var ae=getTailOffset(j),ie=getTailOffset(X);ie>=1<ae?new VNode([],m):le;if(le&&ie>ae&&$M;de-=M){var fe=ae>>>de&W;pe=pe.array[fe]=editableVNode(pe.array[fe],m)}pe.array[ae>>>M&W]=le}if(X=ie)$-=ie,X-=ie,Y=M,Z=null,ce=ce&&ce.removeBefore(m,0,$);else if($>_||ie>>Y&W;if(ye!==ie>>>Y&W)break;ye&&(ee+=(1<_&&(Z=Z.removeBefore(m,Y,$-ee)),Z&&ie_&&(_=$.size),isIterable(M)||($=$.map((function(i){return fromJS(i)}))),m.push($)}return _>i.size&&(i=i.setSize(_)),mergeIntoCollectionWith(i,s,m)}function getTailOffset(i){return i<$?0:i-1>>>M<=$&&M.size>=2*j.size?(m=(_=M.filter((function(i,s){return void 0!==i&&W!==s}))).toKeyedSeq().map((function(i){return i[0]})).flip().toMap(),i.__ownerID&&(m.__ownerID=_.__ownerID=i.__ownerID)):(m=j.remove(s),_=W===M.size-1?M.pop():M.set(W,void 0))}else if(Y){if(u===M.get(W)[1])return i;m=j,_=M.set(W,[s,u])}else m=j.set(s,M.size),_=M.set(M.size,[s,u]);return i.__ownerID?(i.size=m.size,i._map=m,i._list=_,i.__hash=void 0,i):makeOrderedMap(m,_)}function ToKeyedSequence(i,s){this._iter=i,this._useKeys=s,this.size=i.size}function ToIndexedSequence(i){this._iter=i,this.size=i.size}function ToSetSequence(i){this._iter=i,this.size=i.size}function FromEntriesSequence(i){this._iter=i,this.size=i.size}function flipFactory(i){var s=makeSequence(i);return s._iter=i,s.size=i.size,s.flip=function(){return i},s.reverse=function(){var s=i.reverse.apply(this);return s.flip=function(){return i.reverse()},s},s.has=function(s){return i.includes(s)},s.includes=function(s){return i.has(s)},s.cacheResult=cacheResultThrough,s.__iterateUncached=function(s,u){var m=this;return i.__iterate((function(i,u){return!1!==s(u,i,m)}),u)},s.__iteratorUncached=function(s,u){if(s===ie){var m=i.__iterator(s,u);return new Iterator((function(){var i=m.next();if(!i.done){var s=i.value[0];i.value[0]=i.value[1],i.value[1]=s}return i}))}return i.__iterator(s===ae?ee:ae,u)},s}function mapFactory(i,s,u){var m=makeSequence(i);return m.size=i.size,m.has=function(s){return i.has(s)},m.get=function(m,_){var j=i.get(m,X);return j===X?_:s.call(u,j,m,i)},m.__iterateUncached=function(m,_){var j=this;return i.__iterate((function(i,_,M){return!1!==m(s.call(u,i,_,M),_,j)}),_)},m.__iteratorUncached=function(m,_){var j=i.__iterator(ie,_);return new Iterator((function(){var _=j.next();if(_.done)return _;var M=_.value,$=M[0];return iteratorValue(m,$,s.call(u,M[1],$,i),_)}))},m}function reverseFactory(i,s){var u=makeSequence(i);return u._iter=i,u.size=i.size,u.reverse=function(){return i},i.flip&&(u.flip=function(){var s=flipFactory(i);return s.reverse=function(){return i.flip()},s}),u.get=function(u,m){return i.get(s?u:-1-u,m)},u.has=function(u){return i.has(s?u:-1-u)},u.includes=function(s){return i.includes(s)},u.cacheResult=cacheResultThrough,u.__iterate=function(s,u){var m=this;return i.__iterate((function(i,u){return s(i,u,m)}),!u)},u.__iterator=function(s,u){return i.__iterator(s,!u)},u}function filterFactory(i,s,u,m){var _=makeSequence(i);return m&&(_.has=function(m){var _=i.get(m,X);return _!==X&&!!s.call(u,_,m,i)},_.get=function(m,_){var j=i.get(m,X);return j!==X&&s.call(u,j,m,i)?j:_}),_.__iterateUncached=function(_,j){var M=this,$=0;return i.__iterate((function(i,j,W){if(s.call(u,i,j,W))return $++,_(i,m?j:$-1,M)}),j),$},_.__iteratorUncached=function(_,j){var M=i.__iterator(ie,j),$=0;return new Iterator((function(){for(;;){var j=M.next();if(j.done)return j;var W=j.value,X=W[0],Y=W[1];if(s.call(u,Y,X,i))return iteratorValue(_,m?X:$++,Y,j)}}))},_}function countByFactory(i,s,u){var m=Map().asMutable();return i.__iterate((function(_,j){m.update(s.call(u,_,j,i),0,(function(i){return i+1}))})),m.asImmutable()}function groupByFactory(i,s,u){var m=isKeyed(i),_=(isOrdered(i)?OrderedMap():Map()).asMutable();i.__iterate((function(j,M){_.update(s.call(u,j,M,i),(function(i){return(i=i||[]).push(m?[M,j]:j),i}))}));var j=iterableClass(i);return _.map((function(s){return reify(i,j(s))}))}function sliceFactory(i,s,u,m){var _=i.size;if(void 0!==s&&(s|=0),void 0!==u&&(u===1/0?u=_:u|=0),wholeSlice(s,u,_))return i;var j=resolveBegin(s,_),M=resolveEnd(u,_);if(j!=j||M!=M)return sliceFactory(i.toSeq().cacheResult(),s,u,m);var $,W=M-j;W==W&&($=W<0?0:W);var X=makeSequence(i);return X.size=0===$?$:i.size&&$||void 0,!m&&isSeq(i)&&$>=0&&(X.get=function(s,u){return(s=wrapIndex(this,s))>=0&&s<$?i.get(s+j,u):u}),X.__iterateUncached=function(s,u){var _=this;if(0===$)return 0;if(u)return this.cacheResult().__iterate(s,u);var M=0,W=!0,X=0;return i.__iterate((function(i,u){if(!W||!(W=M++$)return iteratorDone();var i=_.next();return m||s===ae?i:iteratorValue(s,W-1,s===ee?void 0:i.value[1],i)}))},X}function takeWhileFactory(i,s,u){var m=makeSequence(i);return m.__iterateUncached=function(m,_){var j=this;if(_)return this.cacheResult().__iterate(m,_);var M=0;return i.__iterate((function(i,_,$){return s.call(u,i,_,$)&&++M&&m(i,_,j)})),M},m.__iteratorUncached=function(m,_){var j=this;if(_)return this.cacheResult().__iterator(m,_);var M=i.__iterator(ie,_),$=!0;return new Iterator((function(){if(!$)return iteratorDone();var i=M.next();if(i.done)return i;var _=i.value,W=_[0],X=_[1];return s.call(u,X,W,j)?m===ie?i:iteratorValue(m,W,X,i):($=!1,iteratorDone())}))},m}function skipWhileFactory(i,s,u,m){var _=makeSequence(i);return _.__iterateUncached=function(_,j){var M=this;if(j)return this.cacheResult().__iterate(_,j);var $=!0,W=0;return i.__iterate((function(i,j,X){if(!$||!($=s.call(u,i,j,X)))return W++,_(i,m?j:W-1,M)})),W},_.__iteratorUncached=function(_,j){var M=this;if(j)return this.cacheResult().__iterator(_,j);var $=i.__iterator(ie,j),W=!0,X=0;return new Iterator((function(){var i,j,Y;do{if((i=$.next()).done)return m||_===ae?i:iteratorValue(_,X++,_===ee?void 0:i.value[1],i);var Z=i.value;j=Z[0],Y=Z[1],W&&(W=s.call(u,Y,j,M))}while(W);return _===ie?i:iteratorValue(_,j,Y,i)}))},_}function concatFactory(i,s){var u=isKeyed(i),m=[i].concat(s).map((function(i){return isIterable(i)?u&&(i=KeyedIterable(i)):i=u?keyedSeqFromValue(i):indexedSeqFromValue(Array.isArray(i)?i:[i]),i})).filter((function(i){return 0!==i.size}));if(0===m.length)return i;if(1===m.length){var _=m[0];if(_===i||u&&isKeyed(_)||isIndexed(i)&&isIndexed(_))return _}var j=new ArraySeq(m);return u?j=j.toKeyedSeq():isIndexed(i)||(j=j.toSetSeq()),(j=j.flatten(!0)).size=m.reduce((function(i,s){if(void 0!==i){var u=s.size;if(void 0!==u)return i+u}}),0),j}function flattenFactory(i,s,u){var m=makeSequence(i);return m.__iterateUncached=function(m,_){var j=0,M=!1;function flatDeep(i,$){var W=this;i.__iterate((function(i,_){return(!s||$0}function zipWithFactory(i,s,u){var m=makeSequence(i);return m.size=new ArraySeq(u).map((function(i){return i.size})).min(),m.__iterate=function(i,s){for(var u,m=this.__iterator(ae,s),_=0;!(u=m.next()).done&&!1!==i(u.value,_++,this););return _},m.__iteratorUncached=function(i,m){var _=u.map((function(i){return i=Iterable(i),getIterator(m?i.reverse():i)})),j=0,M=!1;return new Iterator((function(){var u;return M||(u=_.map((function(i){return i.next()})),M=u.some((function(i){return i.done}))),M?iteratorDone():iteratorValue(i,j++,s.apply(null,u.map((function(i){return i.value}))))}))},m}function reify(i,s){return isSeq(i)?s:i.constructor(s)}function validateEntry(i){if(i!==Object(i))throw new TypeError("Expected [K, V] tuple: "+i)}function resolveSize(i){return assertNotInfinite(i.size),ensureSize(i)}function iterableClass(i){return isKeyed(i)?KeyedIterable:isIndexed(i)?IndexedIterable:SetIterable}function makeSequence(i){return Object.create((isKeyed(i)?KeyedSeq:isIndexed(i)?IndexedSeq:SetSeq).prototype)}function cacheResultThrough(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Seq.prototype.cacheResult.call(this)}function defaultComparator(i,s){return i>s?1:i=0;u--)s={value:arguments[u],next:s};return this.__ownerID?(this.size=i,this._head=s,this.__hash=void 0,this.__altered=!0,this):makeStack(i,s)},Stack.prototype.pushAll=function(i){if(0===(i=IndexedIterable(i)).size)return this;assertNotInfinite(i.size);var s=this.size,u=this._head;return i.reverse().forEach((function(i){s++,u={value:i,next:u}})),this.__ownerID?(this.size=s,this._head=u,this.__hash=void 0,this.__altered=!0,this):makeStack(s,u)},Stack.prototype.pop=function(){return this.slice(1)},Stack.prototype.unshift=function(){return this.push.apply(this,arguments)},Stack.prototype.unshiftAll=function(i){return this.pushAll(i)},Stack.prototype.shift=function(){return this.pop.apply(this,arguments)},Stack.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):emptyStack()},Stack.prototype.slice=function(i,s){if(wholeSlice(i,s,this.size))return this;var u=resolveBegin(i,this.size);if(resolveEnd(s,this.size)!==this.size)return IndexedCollection.prototype.slice.call(this,i,s);for(var m=this.size-u,_=this._head;u--;)_=_.next;return this.__ownerID?(this.size=m,this._head=_,this.__hash=void 0,this.__altered=!0,this):makeStack(m,_)},Stack.prototype.__ensureOwner=function(i){return i===this.__ownerID?this:i?makeStack(this.size,this._head,i,this.__hash):(this.__ownerID=i,this.__altered=!1,this)},Stack.prototype.__iterate=function(i,s){if(s)return this.reverse().__iterate(i);for(var u=0,m=this._head;m&&!1!==i(m.value,u++,this);)m=m.next;return u},Stack.prototype.__iterator=function(i,s){if(s)return this.reverse().__iterator(i);var u=0,m=this._head;return new Iterator((function(){if(m){var s=m.value;return m=m.next,iteratorValue(i,u++,s)}return iteratorDone()}))},Stack.isStack=isStack;var ht,dt="@@__IMMUTABLE_STACK__@@",mt=Stack.prototype;function makeStack(i,s,u,m){var _=Object.create(mt);return _.size=i,_._head=s,_.__ownerID=u,_.__hash=m,_.__altered=!1,_}function emptyStack(){return ht||(ht=makeStack(0))}function mixin(i,s){var keyCopier=function(u){i.prototype[u]=s[u]};return Object.keys(s).forEach(keyCopier),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(s).forEach(keyCopier),i}mt[dt]=!0,mt.withMutations=Xe.withMutations,mt.asMutable=Xe.asMutable,mt.asImmutable=Xe.asImmutable,mt.wasAltered=Xe.wasAltered,Iterable.Iterator=Iterator,mixin(Iterable,{toArray:function(){assertNotInfinite(this.size);var i=new Array(this.size||0);return this.valueSeq().__iterate((function(s,u){i[u]=s})),i},toIndexedSeq:function(){return new ToIndexedSequence(this)},toJS:function(){return this.toSeq().map((function(i){return i&&"function"==typeof i.toJS?i.toJS():i})).__toJS()},toJSON:function(){return this.toSeq().map((function(i){return i&&"function"==typeof i.toJSON?i.toJSON():i})).__toJS()},toKeyedSeq:function(){return new ToKeyedSequence(this,!0)},toMap:function(){return Map(this.toKeyedSeq())},toObject:function(){assertNotInfinite(this.size);var i={};return this.__iterate((function(s,u){i[u]=s})),i},toOrderedMap:function(){return OrderedMap(this.toKeyedSeq())},toOrderedSet:function(){return OrderedSet(isKeyed(this)?this.valueSeq():this)},toSet:function(){return Set(isKeyed(this)?this.valueSeq():this)},toSetSeq:function(){return new ToSetSequence(this)},toSeq:function(){return isIndexed(this)?this.toIndexedSeq():isKeyed(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Stack(isKeyed(this)?this.valueSeq():this)},toList:function(){return List(isKeyed(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(i,s){return 0===this.size?i+s:i+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+s},concat:function(){return reify(this,concatFactory(this,i.call(arguments,0)))},includes:function(i){return this.some((function(s){return is(s,i)}))},entries:function(){return this.__iterator(ie)},every:function(i,s){assertNotInfinite(this.size);var u=!0;return this.__iterate((function(m,_,j){if(!i.call(s,m,_,j))return u=!1,!1})),u},filter:function(i,s){return reify(this,filterFactory(this,i,s,!0))},find:function(i,s,u){var m=this.findEntry(i,s);return m?m[1]:u},forEach:function(i,s){return assertNotInfinite(this.size),this.__iterate(s?i.bind(s):i)},join:function(i){assertNotInfinite(this.size),i=void 0!==i?""+i:",";var s="",u=!0;return this.__iterate((function(m){u?u=!1:s+=i,s+=null!=m?m.toString():""})),s},keys:function(){return this.__iterator(ee)},map:function(i,s){return reify(this,mapFactory(this,i,s))},reduce:function(i,s,u){var m,_;return assertNotInfinite(this.size),arguments.length<2?_=!0:m=s,this.__iterate((function(s,j,M){_?(_=!1,m=s):m=i.call(u,m,s,j,M)})),m},reduceRight:function(i,s,u){var m=this.toKeyedSeq().reverse();return m.reduce.apply(m,arguments)},reverse:function(){return reify(this,reverseFactory(this,!0))},slice:function(i,s){return reify(this,sliceFactory(this,i,s,!0))},some:function(i,s){return!this.every(not(i),s)},sort:function(i){return reify(this,sortFactory(this,i))},values:function(){return this.__iterator(ae)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some((function(){return!0}))},count:function(i,s){return ensureSize(i?this.toSeq().filter(i,s):this)},countBy:function(i,s){return countByFactory(this,i,s)},equals:function(i){return deepEqual(this,i)},entrySeq:function(){var i=this;if(i._cache)return new ArraySeq(i._cache);var s=i.toSeq().map(entryMapper).toIndexedSeq();return s.fromEntrySeq=function(){return i.toSeq()},s},filterNot:function(i,s){return this.filter(not(i),s)},findEntry:function(i,s,u){var m=u;return this.__iterate((function(u,_,j){if(i.call(s,u,_,j))return m=[_,u],!1})),m},findKey:function(i,s){var u=this.findEntry(i,s);return u&&u[0]},findLast:function(i,s,u){return this.toKeyedSeq().reverse().find(i,s,u)},findLastEntry:function(i,s,u){return this.toKeyedSeq().reverse().findEntry(i,s,u)},findLastKey:function(i,s){return this.toKeyedSeq().reverse().findKey(i,s)},first:function(){return this.find(returnTrue)},flatMap:function(i,s){return reify(this,flatMapFactory(this,i,s))},flatten:function(i){return reify(this,flattenFactory(this,i,!0))},fromEntrySeq:function(){return new FromEntriesSequence(this)},get:function(i,s){return this.find((function(s,u){return is(u,i)}),void 0,s)},getIn:function(i,s){for(var u,m=this,_=forceIterator(i);!(u=_.next()).done;){var j=u.value;if((m=m&&m.get?m.get(j,X):X)===X)return s}return m},groupBy:function(i,s){return groupByFactory(this,i,s)},has:function(i){return this.get(i,X)!==X},hasIn:function(i){return this.getIn(i,X)!==X},isSubset:function(i){return i="function"==typeof i.includes?i:Iterable(i),this.every((function(s){return i.includes(s)}))},isSuperset:function(i){return(i="function"==typeof i.isSubset?i:Iterable(i)).isSubset(this)},keyOf:function(i){return this.findKey((function(s){return is(s,i)}))},keySeq:function(){return this.toSeq().map(keyMapper).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(i){return this.toKeyedSeq().reverse().keyOf(i)},max:function(i){return maxFactory(this,i)},maxBy:function(i,s){return maxFactory(this,s,i)},min:function(i){return maxFactory(this,i?neg(i):defaultNegComparator)},minBy:function(i,s){return maxFactory(this,s?neg(s):defaultNegComparator,i)},rest:function(){return this.slice(1)},skip:function(i){return this.slice(Math.max(0,i))},skipLast:function(i){return reify(this,this.toSeq().reverse().skip(i).reverse())},skipWhile:function(i,s){return reify(this,skipWhileFactory(this,i,s,!0))},skipUntil:function(i,s){return this.skipWhile(not(i),s)},sortBy:function(i,s){return reify(this,sortFactory(this,s,i))},take:function(i){return this.slice(0,Math.max(0,i))},takeLast:function(i){return reify(this,this.toSeq().reverse().take(i).reverse())},takeWhile:function(i,s){return reify(this,takeWhileFactory(this,i,s))},takeUntil:function(i,s){return this.takeWhile(not(i),s)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=hashIterable(this))}});var gt=Iterable.prototype;gt[s]=!0,gt[pe]=gt.values,gt.__toJS=gt.toArray,gt.__toStringMapper=quoteString,gt.inspect=gt.toSource=function(){return this.toString()},gt.chain=gt.flatMap,gt.contains=gt.includes,mixin(KeyedIterable,{flip:function(){return reify(this,flipFactory(this))},mapEntries:function(i,s){var u=this,m=0;return reify(this,this.toSeq().map((function(_,j){return i.call(s,[j,_],m++,u)})).fromEntrySeq())},mapKeys:function(i,s){var u=this;return reify(this,this.toSeq().flip().map((function(m,_){return i.call(s,m,_,u)})).flip())}});var yt=KeyedIterable.prototype;function keyMapper(i,s){return s}function entryMapper(i,s){return[s,i]}function not(i){return function(){return!i.apply(this,arguments)}}function neg(i){return function(){return-i.apply(this,arguments)}}function quoteString(i){return"string"==typeof i?JSON.stringify(i):String(i)}function defaultZipper(){return arrCopy(arguments)}function defaultNegComparator(i,s){return is?-1:0}function hashIterable(i){if(i.size===1/0)return 0;var s=isOrdered(i),u=isKeyed(i),m=s?1:0;return murmurHashOfSize(i.__iterate(u?s?function(i,s){m=31*m+hashMerge(hash(i),hash(s))|0}:function(i,s){m=m+hashMerge(hash(i),hash(s))|0}:s?function(i){m=31*m+hash(i)|0}:function(i){m=m+hash(i)|0}),m)}function murmurHashOfSize(i,s){return s=_e(s,3432918353),s=_e(s<<15|s>>>-15,461845907),s=_e(s<<13|s>>>-13,5),s=_e((s=(s+3864292196|0)^i)^s>>>16,2246822507),s=smi((s=_e(s^s>>>13,3266489909))^s>>>16)}function hashMerge(i,s){return i^s+2654435769+(i<<6)+(i>>2)|0}return yt[u]=!0,yt[pe]=gt.entries,yt.__toJS=gt.toObject,yt.__toStringMapper=function(i,s){return JSON.stringify(s)+": "+quoteString(i)},mixin(IndexedIterable,{toKeyedSeq:function(){return new ToKeyedSequence(this,!1)},filter:function(i,s){return reify(this,filterFactory(this,i,s,!1))},findIndex:function(i,s){var u=this.findEntry(i,s);return u?u[0]:-1},indexOf:function(i){var s=this.keyOf(i);return void 0===s?-1:s},lastIndexOf:function(i){var s=this.lastKeyOf(i);return void 0===s?-1:s},reverse:function(){return reify(this,reverseFactory(this,!1))},slice:function(i,s){return reify(this,sliceFactory(this,i,s,!1))},splice:function(i,s){var u=arguments.length;if(s=Math.max(0|s,0),0===u||2===u&&!s)return this;i=resolveBegin(i,i<0?this.count():this.size);var m=this.slice(0,i);return reify(this,1===u?m:m.concat(arrCopy(arguments,2),this.slice(i+s)))},findLastIndex:function(i,s){var u=this.findLastEntry(i,s);return u?u[0]:-1},first:function(){return this.get(0)},flatten:function(i){return reify(this,flattenFactory(this,i,!1))},get:function(i,s){return(i=wrapIndex(this,i))<0||this.size===1/0||void 0!==this.size&&i>this.size?s:this.find((function(s,u){return u===i}),void 0,s)},has:function(i){return(i=wrapIndex(this,i))>=0&&(void 0!==this.size?this.size===1/0||i{"function"==typeof Object.create?i.exports=function inherits(i,s){s&&(i.super_=s,i.prototype=Object.create(s.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}))}:i.exports=function inherits(i,s){if(s){i.super_=s;var TempCtor=function(){};TempCtor.prototype=s.prototype,i.prototype=new TempCtor,i.prototype.constructor=i}}},35823:i=>{i.exports=function(i,s,u,m){var _=new Blob(void 0!==m?[m,i]:[i],{type:u||"application/octet-stream"});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(_,s);else{var j=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(_):window.webkitURL.createObjectURL(_),M=document.createElement("a");M.style.display="none",M.href=j,M.setAttribute("download",s),void 0===M.download&&M.setAttribute("target","_blank"),document.body.appendChild(M),M.click(),setTimeout((function(){document.body.removeChild(M),window.URL.revokeObjectURL(j)}),200)}}},91296:(i,s,u)=>{var m=NaN,_="[object Symbol]",j=/^\s+|\s+$/g,M=/^[-+]0x[0-9a-f]+$/i,$=/^0b[01]+$/i,W=/^0o[0-7]+$/i,X=parseInt,Y="object"==typeof u.g&&u.g&&u.g.Object===Object&&u.g,Z="object"==typeof self&&self&&self.Object===Object&&self,ee=Y||Z||Function("return this")(),ae=Object.prototype.toString,ie=Math.max,le=Math.min,now=function(){return ee.Date.now()};function isObject(i){var s=typeof i;return!!i&&("object"==s||"function"==s)}function toNumber(i){if("number"==typeof i)return i;if(function isSymbol(i){return"symbol"==typeof i||function isObjectLike(i){return!!i&&"object"==typeof i}(i)&&ae.call(i)==_}(i))return m;if(isObject(i)){var s="function"==typeof i.valueOf?i.valueOf():i;i=isObject(s)?s+"":s}if("string"!=typeof i)return 0===i?i:+i;i=i.replace(j,"");var u=$.test(i);return u||W.test(i)?X(i.slice(2),u?2:8):M.test(i)?m:+i}i.exports=function debounce(i,s,u){var m,_,j,M,$,W,X=0,Y=!1,Z=!1,ee=!0;if("function"!=typeof i)throw new TypeError("Expected a function");function invokeFunc(s){var u=m,j=_;return m=_=void 0,X=s,M=i.apply(j,u)}function shouldInvoke(i){var u=i-W;return void 0===W||u>=s||u<0||Z&&i-X>=j}function timerExpired(){var i=now();if(shouldInvoke(i))return trailingEdge(i);$=setTimeout(timerExpired,function remainingWait(i){var u=s-(i-W);return Z?le(u,j-(i-X)):u}(i))}function trailingEdge(i){return $=void 0,ee&&m?invokeFunc(i):(m=_=void 0,M)}function debounced(){var i=now(),u=shouldInvoke(i);if(m=arguments,_=this,W=i,u){if(void 0===$)return function leadingEdge(i){return X=i,$=setTimeout(timerExpired,s),Y?invokeFunc(i):M}(W);if(Z)return $=setTimeout(timerExpired,s),invokeFunc(W)}return void 0===$&&($=setTimeout(timerExpired,s)),M}return s=toNumber(s)||0,isObject(u)&&(Y=!!u.leading,j=(Z="maxWait"in u)?ie(toNumber(u.maxWait)||0,s):j,ee="trailing"in u?!!u.trailing:ee),debounced.cancel=function cancel(){void 0!==$&&clearTimeout($),X=0,m=W=_=$=void 0},debounced.flush=function flush(){return void 0===$?M:trailingEdge(now())},debounced}},18552:(i,s,u)=>{var m=u(10852)(u(55639),"DataView");i.exports=m},1989:(i,s,u)=>{var m=u(51789),_=u(80401),j=u(57667),M=u(21327),$=u(81866);function Hash(i){var s=-1,u=null==i?0:i.length;for(this.clear();++s{var m=u(3118),_=u(9435);function LazyWrapper(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}LazyWrapper.prototype=m(_.prototype),LazyWrapper.prototype.constructor=LazyWrapper,i.exports=LazyWrapper},38407:(i,s,u)=>{var m=u(27040),_=u(14125),j=u(82117),M=u(67518),$=u(54705);function ListCache(i){var s=-1,u=null==i?0:i.length;for(this.clear();++s{var m=u(3118),_=u(9435);function LodashWrapper(i,s){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=void 0}LodashWrapper.prototype=m(_.prototype),LodashWrapper.prototype.constructor=LodashWrapper,i.exports=LodashWrapper},57071:(i,s,u)=>{var m=u(10852)(u(55639),"Map");i.exports=m},83369:(i,s,u)=>{var m=u(24785),_=u(11285),j=u(96e3),M=u(49916),$=u(95265);function MapCache(i){var s=-1,u=null==i?0:i.length;for(this.clear();++s{var m=u(10852)(u(55639),"Promise");i.exports=m},58525:(i,s,u)=>{var m=u(10852)(u(55639),"Set");i.exports=m},88668:(i,s,u)=>{var m=u(83369),_=u(90619),j=u(72385);function SetCache(i){var s=-1,u=null==i?0:i.length;for(this.__data__=new m;++s{var m=u(38407),_=u(37465),j=u(63779),M=u(67599),$=u(44758),W=u(34309);function Stack(i){var s=this.__data__=new m(i);this.size=s.size}Stack.prototype.clear=_,Stack.prototype.delete=j,Stack.prototype.get=M,Stack.prototype.has=$,Stack.prototype.set=W,i.exports=Stack},62705:(i,s,u)=>{var m=u(55639).Symbol;i.exports=m},11149:(i,s,u)=>{var m=u(55639).Uint8Array;i.exports=m},70577:(i,s,u)=>{var m=u(10852)(u(55639),"WeakMap");i.exports=m},96874:i=>{i.exports=function apply(i,s,u){switch(u.length){case 0:return i.call(s);case 1:return i.call(s,u[0]);case 2:return i.call(s,u[0],u[1]);case 3:return i.call(s,u[0],u[1],u[2])}return i.apply(s,u)}},77412:i=>{i.exports=function arrayEach(i,s){for(var u=-1,m=null==i?0:i.length;++u{i.exports=function arrayFilter(i,s){for(var u=-1,m=null==i?0:i.length,_=0,j=[];++u{var m=u(42118);i.exports=function arrayIncludes(i,s){return!!(null==i?0:i.length)&&m(i,s,0)>-1}},14636:(i,s,u)=>{var m=u(22545),_=u(35694),j=u(1469),M=u(44144),$=u(65776),W=u(36719),X=Object.prototype.hasOwnProperty;i.exports=function arrayLikeKeys(i,s){var u=j(i),Y=!u&&_(i),Z=!u&&!Y&&M(i),ee=!u&&!Y&&!Z&&W(i),ae=u||Y||Z||ee,ie=ae?m(i.length,String):[],le=ie.length;for(var ce in i)!s&&!X.call(i,ce)||ae&&("length"==ce||Z&&("offset"==ce||"parent"==ce)||ee&&("buffer"==ce||"byteLength"==ce||"byteOffset"==ce)||$(ce,le))||ie.push(ce);return ie}},29932:i=>{i.exports=function arrayMap(i,s){for(var u=-1,m=null==i?0:i.length,_=Array(m);++u{i.exports=function arrayPush(i,s){for(var u=-1,m=s.length,_=i.length;++u{i.exports=function arrayReduce(i,s,u,m){var _=-1,j=null==i?0:i.length;for(m&&j&&(u=i[++_]);++_{i.exports=function arraySome(i,s){for(var u=-1,m=null==i?0:i.length;++u{i.exports=function asciiToArray(i){return i.split("")}},49029:i=>{var s=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;i.exports=function asciiWords(i){return i.match(s)||[]}},86556:(i,s,u)=>{var m=u(89465),_=u(77813);i.exports=function assignMergeValue(i,s,u){(void 0!==u&&!_(i[s],u)||void 0===u&&!(s in i))&&m(i,s,u)}},34865:(i,s,u)=>{var m=u(89465),_=u(77813),j=Object.prototype.hasOwnProperty;i.exports=function assignValue(i,s,u){var M=i[s];j.call(i,s)&&_(M,u)&&(void 0!==u||s in i)||m(i,s,u)}},18470:(i,s,u)=>{var m=u(77813);i.exports=function assocIndexOf(i,s){for(var u=i.length;u--;)if(m(i[u][0],s))return u;return-1}},44037:(i,s,u)=>{var m=u(98363),_=u(3674);i.exports=function baseAssign(i,s){return i&&m(s,_(s),i)}},63886:(i,s,u)=>{var m=u(98363),_=u(81704);i.exports=function baseAssignIn(i,s){return i&&m(s,_(s),i)}},89465:(i,s,u)=>{var m=u(38777);i.exports=function baseAssignValue(i,s,u){"__proto__"==s&&m?m(i,s,{configurable:!0,enumerable:!0,value:u,writable:!0}):i[s]=u}},85990:(i,s,u)=>{var m=u(46384),_=u(77412),j=u(34865),M=u(44037),$=u(63886),W=u(64626),X=u(278),Y=u(18805),Z=u(1911),ee=u(58234),ae=u(46904),ie=u(64160),le=u(43824),ce=u(29148),pe=u(38517),de=u(1469),fe=u(44144),ye=u(56688),be=u(13218),_e=u(72928),we=u(3674),Se=u(81704),xe="[object Arguments]",Pe="[object Function]",Ie="[object Object]",Te={};Te[xe]=Te["[object Array]"]=Te["[object ArrayBuffer]"]=Te["[object DataView]"]=Te["[object Boolean]"]=Te["[object Date]"]=Te["[object Float32Array]"]=Te["[object Float64Array]"]=Te["[object Int8Array]"]=Te["[object Int16Array]"]=Te["[object Int32Array]"]=Te["[object Map]"]=Te["[object Number]"]=Te[Ie]=Te["[object RegExp]"]=Te["[object Set]"]=Te["[object String]"]=Te["[object Symbol]"]=Te["[object Uint8Array]"]=Te["[object Uint8ClampedArray]"]=Te["[object Uint16Array]"]=Te["[object Uint32Array]"]=!0,Te["[object Error]"]=Te[Pe]=Te["[object WeakMap]"]=!1,i.exports=function baseClone(i,s,u,Re,qe,ze){var Ve,We=1&s,He=2&s,Xe=4&s;if(u&&(Ve=qe?u(i,Re,qe,ze):u(i)),void 0!==Ve)return Ve;if(!be(i))return i;var Ye=de(i);if(Ye){if(Ve=le(i),!We)return X(i,Ve)}else{var Qe=ie(i),et=Qe==Pe||"[object GeneratorFunction]"==Qe;if(fe(i))return W(i,We);if(Qe==Ie||Qe==xe||et&&!qe){if(Ve=He||et?{}:pe(i),!We)return He?Z(i,$(Ve,i)):Y(i,M(Ve,i))}else{if(!Te[Qe])return qe?i:{};Ve=ce(i,Qe,We)}}ze||(ze=new m);var tt=ze.get(i);if(tt)return tt;ze.set(i,Ve),_e(i)?i.forEach((function(m){Ve.add(baseClone(m,s,u,m,i,ze))})):ye(i)&&i.forEach((function(m,_){Ve.set(_,baseClone(m,s,u,_,i,ze))}));var rt=Ye?void 0:(Xe?He?ae:ee:He?Se:we)(i);return _(rt||i,(function(m,_){rt&&(m=i[_=m]),j(Ve,_,baseClone(m,s,u,_,i,ze))})),Ve}},3118:(i,s,u)=>{var m=u(13218),_=Object.create,j=function(){function object(){}return function(i){if(!m(i))return{};if(_)return _(i);object.prototype=i;var s=new object;return object.prototype=void 0,s}}();i.exports=j},89881:(i,s,u)=>{var m=u(47816),_=u(99291)(m);i.exports=_},41848:i=>{i.exports=function baseFindIndex(i,s,u,m){for(var _=i.length,j=u+(m?1:-1);m?j--:++j<_;)if(s(i[j],j,i))return j;return-1}},21078:(i,s,u)=>{var m=u(62488),_=u(37285);i.exports=function baseFlatten(i,s,u,j,M){var $=-1,W=i.length;for(u||(u=_),M||(M=[]);++$0&&u(X)?s>1?baseFlatten(X,s-1,u,j,M):m(M,X):j||(M[M.length]=X)}return M}},28483:(i,s,u)=>{var m=u(25063)();i.exports=m},47816:(i,s,u)=>{var m=u(28483),_=u(3674);i.exports=function baseForOwn(i,s){return i&&m(i,s,_)}},97786:(i,s,u)=>{var m=u(71811),_=u(40327);i.exports=function baseGet(i,s){for(var u=0,j=(s=m(s,i)).length;null!=i&&u{var m=u(62488),_=u(1469);i.exports=function baseGetAllKeys(i,s,u){var j=s(i);return _(i)?j:m(j,u(i))}},44239:(i,s,u)=>{var m=u(62705),_=u(89607),j=u(2333),M=m?m.toStringTag:void 0;i.exports=function baseGetTag(i){return null==i?void 0===i?"[object Undefined]":"[object Null]":M&&M in Object(i)?_(i):j(i)}},13:i=>{i.exports=function baseHasIn(i,s){return null!=i&&s in Object(i)}},42118:(i,s,u)=>{var m=u(41848),_=u(62722),j=u(42351);i.exports=function baseIndexOf(i,s,u){return s==s?j(i,s,u):m(i,_,u)}},9454:(i,s,u)=>{var m=u(44239),_=u(37005);i.exports=function baseIsArguments(i){return _(i)&&"[object Arguments]"==m(i)}},90939:(i,s,u)=>{var m=u(2492),_=u(37005);i.exports=function baseIsEqual(i,s,u,j,M){return i===s||(null==i||null==s||!_(i)&&!_(s)?i!=i&&s!=s:m(i,s,u,j,baseIsEqual,M))}},2492:(i,s,u)=>{var m=u(46384),_=u(67114),j=u(18351),M=u(16096),$=u(64160),W=u(1469),X=u(44144),Y=u(36719),Z="[object Arguments]",ee="[object Array]",ae="[object Object]",ie=Object.prototype.hasOwnProperty;i.exports=function baseIsEqualDeep(i,s,u,le,ce,pe){var de=W(i),fe=W(s),ye=de?ee:$(i),be=fe?ee:$(s),_e=(ye=ye==Z?ae:ye)==ae,we=(be=be==Z?ae:be)==ae,Se=ye==be;if(Se&&X(i)){if(!X(s))return!1;de=!0,_e=!1}if(Se&&!_e)return pe||(pe=new m),de||Y(i)?_(i,s,u,le,ce,pe):j(i,s,ye,u,le,ce,pe);if(!(1&u)){var xe=_e&&ie.call(i,"__wrapped__"),Pe=we&&ie.call(s,"__wrapped__");if(xe||Pe){var Ie=xe?i.value():i,Te=Pe?s.value():s;return pe||(pe=new m),ce(Ie,Te,u,le,pe)}}return!!Se&&(pe||(pe=new m),M(i,s,u,le,ce,pe))}},25588:(i,s,u)=>{var m=u(64160),_=u(37005);i.exports=function baseIsMap(i){return _(i)&&"[object Map]"==m(i)}},2958:(i,s,u)=>{var m=u(46384),_=u(90939);i.exports=function baseIsMatch(i,s,u,j){var M=u.length,$=M,W=!j;if(null==i)return!$;for(i=Object(i);M--;){var X=u[M];if(W&&X[2]?X[1]!==i[X[0]]:!(X[0]in i))return!1}for(;++M<$;){var Y=(X=u[M])[0],Z=i[Y],ee=X[1];if(W&&X[2]){if(void 0===Z&&!(Y in i))return!1}else{var ae=new m;if(j)var ie=j(Z,ee,Y,i,s,ae);if(!(void 0===ie?_(ee,Z,3,j,ae):ie))return!1}}return!0}},62722:i=>{i.exports=function baseIsNaN(i){return i!=i}},28458:(i,s,u)=>{var m=u(23560),_=u(15346),j=u(13218),M=u(80346),$=/^\[object .+?Constructor\]$/,W=Function.prototype,X=Object.prototype,Y=W.toString,Z=X.hasOwnProperty,ee=RegExp("^"+Y.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");i.exports=function baseIsNative(i){return!(!j(i)||_(i))&&(m(i)?ee:$).test(M(i))}},29221:(i,s,u)=>{var m=u(64160),_=u(37005);i.exports=function baseIsSet(i){return _(i)&&"[object Set]"==m(i)}},38749:(i,s,u)=>{var m=u(44239),_=u(41780),j=u(37005),M={};M["[object Float32Array]"]=M["[object Float64Array]"]=M["[object Int8Array]"]=M["[object Int16Array]"]=M["[object Int32Array]"]=M["[object Uint8Array]"]=M["[object Uint8ClampedArray]"]=M["[object Uint16Array]"]=M["[object Uint32Array]"]=!0,M["[object Arguments]"]=M["[object Array]"]=M["[object ArrayBuffer]"]=M["[object Boolean]"]=M["[object DataView]"]=M["[object Date]"]=M["[object Error]"]=M["[object Function]"]=M["[object Map]"]=M["[object Number]"]=M["[object Object]"]=M["[object RegExp]"]=M["[object Set]"]=M["[object String]"]=M["[object WeakMap]"]=!1,i.exports=function baseIsTypedArray(i){return j(i)&&_(i.length)&&!!M[m(i)]}},67206:(i,s,u)=>{var m=u(91573),_=u(16432),j=u(6557),M=u(1469),$=u(39601);i.exports=function baseIteratee(i){return"function"==typeof i?i:null==i?j:"object"==typeof i?M(i)?_(i[0],i[1]):m(i):$(i)}},280:(i,s,u)=>{var m=u(25726),_=u(86916),j=Object.prototype.hasOwnProperty;i.exports=function baseKeys(i){if(!m(i))return _(i);var s=[];for(var u in Object(i))j.call(i,u)&&"constructor"!=u&&s.push(u);return s}},10313:(i,s,u)=>{var m=u(13218),_=u(25726),j=u(33498),M=Object.prototype.hasOwnProperty;i.exports=function baseKeysIn(i){if(!m(i))return j(i);var s=_(i),u=[];for(var $ in i)("constructor"!=$||!s&&M.call(i,$))&&u.push($);return u}},9435:i=>{i.exports=function baseLodash(){}},91573:(i,s,u)=>{var m=u(2958),_=u(1499),j=u(42634);i.exports=function baseMatches(i){var s=_(i);return 1==s.length&&s[0][2]?j(s[0][0],s[0][1]):function(u){return u===i||m(u,i,s)}}},16432:(i,s,u)=>{var m=u(90939),_=u(27361),j=u(79095),M=u(15403),$=u(89162),W=u(42634),X=u(40327);i.exports=function baseMatchesProperty(i,s){return M(i)&&$(s)?W(X(i),s):function(u){var M=_(u,i);return void 0===M&&M===s?j(u,i):m(s,M,3)}}},42980:(i,s,u)=>{var m=u(46384),_=u(86556),j=u(28483),M=u(59783),$=u(13218),W=u(81704),X=u(36390);i.exports=function baseMerge(i,s,u,Y,Z){i!==s&&j(s,(function(j,W){if(Z||(Z=new m),$(j))M(i,s,W,u,baseMerge,Y,Z);else{var ee=Y?Y(X(i,W),j,W+"",i,s,Z):void 0;void 0===ee&&(ee=j),_(i,W,ee)}}),W)}},59783:(i,s,u)=>{var m=u(86556),_=u(64626),j=u(77133),M=u(278),$=u(38517),W=u(35694),X=u(1469),Y=u(29246),Z=u(44144),ee=u(23560),ae=u(13218),ie=u(68630),le=u(36719),ce=u(36390),pe=u(59881);i.exports=function baseMergeDeep(i,s,u,de,fe,ye,be){var _e=ce(i,u),we=ce(s,u),Se=be.get(we);if(Se)m(i,u,Se);else{var xe=ye?ye(_e,we,u+"",i,s,be):void 0,Pe=void 0===xe;if(Pe){var Ie=X(we),Te=!Ie&&Z(we),Re=!Ie&&!Te&&le(we);xe=we,Ie||Te||Re?X(_e)?xe=_e:Y(_e)?xe=M(_e):Te?(Pe=!1,xe=_(we,!0)):Re?(Pe=!1,xe=j(we,!0)):xe=[]:ie(we)||W(we)?(xe=_e,W(_e)?xe=pe(_e):ae(_e)&&!ee(_e)||(xe=$(we))):Pe=!1}Pe&&(be.set(we,xe),fe(xe,we,de,ye,be),be.delete(we)),m(i,u,xe)}}},40371:i=>{i.exports=function baseProperty(i){return function(s){return null==s?void 0:s[i]}}},79152:(i,s,u)=>{var m=u(97786);i.exports=function basePropertyDeep(i){return function(s){return m(s,i)}}},18674:i=>{i.exports=function basePropertyOf(i){return function(s){return null==i?void 0:i[s]}}},10107:i=>{i.exports=function baseReduce(i,s,u,m,_){return _(i,(function(i,_,j){u=m?(m=!1,i):s(u,i,_,j)})),u}},5976:(i,s,u)=>{var m=u(6557),_=u(45357),j=u(30061);i.exports=function baseRest(i,s){return j(_(i,s,m),i+"")}},10611:(i,s,u)=>{var m=u(34865),_=u(71811),j=u(65776),M=u(13218),$=u(40327);i.exports=function baseSet(i,s,u,W){if(!M(i))return i;for(var X=-1,Y=(s=_(s,i)).length,Z=Y-1,ee=i;null!=ee&&++X{var m=u(6557),_=u(89250),j=_?function(i,s){return _.set(i,s),i}:m;i.exports=j},56560:(i,s,u)=>{var m=u(75703),_=u(38777),j=u(6557),M=_?function(i,s){return _(i,"toString",{configurable:!0,enumerable:!1,value:m(s),writable:!0})}:j;i.exports=M},14259:i=>{i.exports=function baseSlice(i,s,u){var m=-1,_=i.length;s<0&&(s=-s>_?0:_+s),(u=u>_?_:u)<0&&(u+=_),_=s>u?0:u-s>>>0,s>>>=0;for(var j=Array(_);++m<_;)j[m]=i[m+s];return j}},5076:(i,s,u)=>{var m=u(89881);i.exports=function baseSome(i,s){var u;return m(i,(function(i,m,_){return!(u=s(i,m,_))})),!!u}},22545:i=>{i.exports=function baseTimes(i,s){for(var u=-1,m=Array(i);++u{var m=u(62705),_=u(29932),j=u(1469),M=u(33448),$=m?m.prototype:void 0,W=$?$.toString:void 0;i.exports=function baseToString(i){if("string"==typeof i)return i;if(j(i))return _(i,baseToString)+"";if(M(i))return W?W.call(i):"";var s=i+"";return"0"==s&&1/i==-Infinity?"-0":s}},27561:(i,s,u)=>{var m=u(67990),_=/^\s+/;i.exports=function baseTrim(i){return i?i.slice(0,m(i)+1).replace(_,""):i}},7518:i=>{i.exports=function baseUnary(i){return function(s){return i(s)}}},57406:(i,s,u)=>{var m=u(71811),_=u(10928),j=u(40292),M=u(40327);i.exports=function baseUnset(i,s){return s=m(s,i),null==(i=j(i,s))||delete i[M(_(s))]}},1757:i=>{i.exports=function baseZipObject(i,s,u){for(var m=-1,_=i.length,j=s.length,M={};++m<_;){var $=m{i.exports=function cacheHas(i,s){return i.has(s)}},71811:(i,s,u)=>{var m=u(1469),_=u(15403),j=u(55514),M=u(79833);i.exports=function castPath(i,s){return m(i)?i:_(i,s)?[i]:j(M(i))}},40180:(i,s,u)=>{var m=u(14259);i.exports=function castSlice(i,s,u){var _=i.length;return u=void 0===u?_:u,!s&&u>=_?i:m(i,s,u)}},74318:(i,s,u)=>{var m=u(11149);i.exports=function cloneArrayBuffer(i){var s=new i.constructor(i.byteLength);return new m(s).set(new m(i)),s}},64626:(i,s,u)=>{i=u.nmd(i);var m=u(55639),_=s&&!s.nodeType&&s,j=_&&i&&!i.nodeType&&i,M=j&&j.exports===_?m.Buffer:void 0,$=M?M.allocUnsafe:void 0;i.exports=function cloneBuffer(i,s){if(s)return i.slice();var u=i.length,m=$?$(u):new i.constructor(u);return i.copy(m),m}},57157:(i,s,u)=>{var m=u(74318);i.exports=function cloneDataView(i,s){var u=s?m(i.buffer):i.buffer;return new i.constructor(u,i.byteOffset,i.byteLength)}},93147:i=>{var s=/\w*$/;i.exports=function cloneRegExp(i){var u=new i.constructor(i.source,s.exec(i));return u.lastIndex=i.lastIndex,u}},40419:(i,s,u)=>{var m=u(62705),_=m?m.prototype:void 0,j=_?_.valueOf:void 0;i.exports=function cloneSymbol(i){return j?Object(j.call(i)):{}}},77133:(i,s,u)=>{var m=u(74318);i.exports=function cloneTypedArray(i,s){var u=s?m(i.buffer):i.buffer;return new i.constructor(u,i.byteOffset,i.length)}},52157:i=>{var s=Math.max;i.exports=function composeArgs(i,u,m,_){for(var j=-1,M=i.length,$=m.length,W=-1,X=u.length,Y=s(M-$,0),Z=Array(X+Y),ee=!_;++W{var s=Math.max;i.exports=function composeArgsRight(i,u,m,_){for(var j=-1,M=i.length,$=-1,W=m.length,X=-1,Y=u.length,Z=s(M-W,0),ee=Array(Z+Y),ae=!_;++j{i.exports=function copyArray(i,s){var u=-1,m=i.length;for(s||(s=Array(m));++u{var m=u(34865),_=u(89465);i.exports=function copyObject(i,s,u,j){var M=!u;u||(u={});for(var $=-1,W=s.length;++${var m=u(98363),_=u(99551);i.exports=function copySymbols(i,s){return m(i,_(i),s)}},1911:(i,s,u)=>{var m=u(98363),_=u(51442);i.exports=function copySymbolsIn(i,s){return m(i,_(i),s)}},14429:(i,s,u)=>{var m=u(55639)["__core-js_shared__"];i.exports=m},97991:i=>{i.exports=function countHolders(i,s){for(var u=i.length,m=0;u--;)i[u]===s&&++m;return m}},21463:(i,s,u)=>{var m=u(5976),_=u(16612);i.exports=function createAssigner(i){return m((function(s,u){var m=-1,j=u.length,M=j>1?u[j-1]:void 0,$=j>2?u[2]:void 0;for(M=i.length>3&&"function"==typeof M?(j--,M):void 0,$&&_(u[0],u[1],$)&&(M=j<3?void 0:M,j=1),s=Object(s);++m{var m=u(98612);i.exports=function createBaseEach(i,s){return function(u,_){if(null==u)return u;if(!m(u))return i(u,_);for(var j=u.length,M=s?j:-1,$=Object(u);(s?M--:++M{i.exports=function createBaseFor(i){return function(s,u,m){for(var _=-1,j=Object(s),M=m(s),$=M.length;$--;){var W=M[i?$:++_];if(!1===u(j[W],W,j))break}return s}}},22402:(i,s,u)=>{var m=u(71774),_=u(55639);i.exports=function createBind(i,s,u){var j=1&s,M=m(i);return function wrapper(){return(this&&this!==_&&this instanceof wrapper?M:i).apply(j?u:this,arguments)}}},98805:(i,s,u)=>{var m=u(40180),_=u(62689),j=u(83140),M=u(79833);i.exports=function createCaseFirst(i){return function(s){s=M(s);var u=_(s)?j(s):void 0,$=u?u[0]:s.charAt(0),W=u?m(u,1).join(""):s.slice(1);return $[i]()+W}}},35393:(i,s,u)=>{var m=u(62663),_=u(53816),j=u(58748),M=RegExp("['’]","g");i.exports=function createCompounder(i){return function(s){return m(j(_(s).replace(M,"")),i,"")}}},71774:(i,s,u)=>{var m=u(3118),_=u(13218);i.exports=function createCtor(i){return function(){var s=arguments;switch(s.length){case 0:return new i;case 1:return new i(s[0]);case 2:return new i(s[0],s[1]);case 3:return new i(s[0],s[1],s[2]);case 4:return new i(s[0],s[1],s[2],s[3]);case 5:return new i(s[0],s[1],s[2],s[3],s[4]);case 6:return new i(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new i(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var u=m(i.prototype),j=i.apply(u,s);return _(j)?j:u}}},46347:(i,s,u)=>{var m=u(96874),_=u(71774),j=u(86935),M=u(94487),$=u(20893),W=u(46460),X=u(55639);i.exports=function createCurry(i,s,u){var Y=_(i);return function wrapper(){for(var _=arguments.length,Z=Array(_),ee=_,ae=$(wrapper);ee--;)Z[ee]=arguments[ee];var ie=_<3&&Z[0]!==ae&&Z[_-1]!==ae?[]:W(Z,ae);return(_-=ie.length){var m=u(67206),_=u(98612),j=u(3674);i.exports=function createFind(i){return function(s,u,M){var $=Object(s);if(!_(s)){var W=m(u,3);s=j(s),u=function(i){return W($[i],i,$)}}var X=i(s,u,M);return X>-1?$[W?s[X]:X]:void 0}}},86935:(i,s,u)=>{var m=u(52157),_=u(14054),j=u(97991),M=u(71774),$=u(94487),W=u(20893),X=u(90451),Y=u(46460),Z=u(55639);i.exports=function createHybrid(i,s,u,ee,ae,ie,le,ce,pe,de){var fe=128&s,ye=1&s,be=2&s,_e=24&s,we=512&s,Se=be?void 0:M(i);return function wrapper(){for(var xe=arguments.length,Pe=Array(xe),Ie=xe;Ie--;)Pe[Ie]=arguments[Ie];if(_e)var Te=W(wrapper),Re=j(Pe,Te);if(ee&&(Pe=m(Pe,ee,ae,_e)),ie&&(Pe=_(Pe,ie,le,_e)),xe-=Re,_e&&xe1&&Pe.reverse(),fe&&pe{var m=u(96874),_=u(71774),j=u(55639);i.exports=function createPartial(i,s,u,M){var $=1&s,W=_(i);return function wrapper(){for(var s=-1,_=arguments.length,X=-1,Y=M.length,Z=Array(Y+_),ee=this&&this!==j&&this instanceof wrapper?W:i;++X{var m=u(86528),_=u(258),j=u(69255);i.exports=function createRecurry(i,s,u,M,$,W,X,Y,Z,ee){var ae=8&s;s|=ae?32:64,4&(s&=~(ae?64:32))||(s&=-4);var ie=[i,s,$,ae?W:void 0,ae?X:void 0,ae?void 0:W,ae?void 0:X,Y,Z,ee],le=u.apply(void 0,ie);return m(i)&&_(le,ie),le.placeholder=M,j(le,i,s)}},97727:(i,s,u)=>{var m=u(28045),_=u(22402),j=u(46347),M=u(86935),$=u(84375),W=u(66833),X=u(63833),Y=u(258),Z=u(69255),ee=u(40554),ae=Math.max;i.exports=function createWrap(i,s,u,ie,le,ce,pe,de){var fe=2&s;if(!fe&&"function"!=typeof i)throw new TypeError("Expected a function");var ye=ie?ie.length:0;if(ye||(s&=-97,ie=le=void 0),pe=void 0===pe?pe:ae(ee(pe),0),de=void 0===de?de:ee(de),ye-=le?le.length:0,64&s){var be=ie,_e=le;ie=le=void 0}var we=fe?void 0:W(i),Se=[i,s,u,ie,le,be,_e,ce,pe,de];if(we&&X(Se,we),i=Se[0],s=Se[1],u=Se[2],ie=Se[3],le=Se[4],!(de=Se[9]=void 0===Se[9]?fe?0:i.length:ae(Se[9]-ye,0))&&24&s&&(s&=-25),s&&1!=s)xe=8==s||16==s?j(i,s,de):32!=s&&33!=s||le.length?M.apply(void 0,Se):$(i,s,u,ie);else var xe=_(i,s,u);return Z((we?m:Y)(xe,Se),i,s)}},60696:(i,s,u)=>{var m=u(68630);i.exports=function customOmitClone(i){return m(i)?void 0:i}},69389:(i,s,u)=>{var m=u(18674)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});i.exports=m},38777:(i,s,u)=>{var m=u(10852),_=function(){try{var i=m(Object,"defineProperty");return i({},"",{}),i}catch(i){}}();i.exports=_},67114:(i,s,u)=>{var m=u(88668),_=u(82908),j=u(74757);i.exports=function equalArrays(i,s,u,M,$,W){var X=1&u,Y=i.length,Z=s.length;if(Y!=Z&&!(X&&Z>Y))return!1;var ee=W.get(i),ae=W.get(s);if(ee&&ae)return ee==s&&ae==i;var ie=-1,le=!0,ce=2&u?new m:void 0;for(W.set(i,s),W.set(s,i);++ie{var m=u(62705),_=u(11149),j=u(77813),M=u(67114),$=u(68776),W=u(21814),X=m?m.prototype:void 0,Y=X?X.valueOf:void 0;i.exports=function equalByTag(i,s,u,m,X,Z,ee){switch(u){case"[object DataView]":if(i.byteLength!=s.byteLength||i.byteOffset!=s.byteOffset)return!1;i=i.buffer,s=s.buffer;case"[object ArrayBuffer]":return!(i.byteLength!=s.byteLength||!Z(new _(i),new _(s)));case"[object Boolean]":case"[object Date]":case"[object Number]":return j(+i,+s);case"[object Error]":return i.name==s.name&&i.message==s.message;case"[object RegExp]":case"[object String]":return i==s+"";case"[object Map]":var ae=$;case"[object Set]":var ie=1&m;if(ae||(ae=W),i.size!=s.size&&!ie)return!1;var le=ee.get(i);if(le)return le==s;m|=2,ee.set(i,s);var ce=M(ae(i),ae(s),m,X,Z,ee);return ee.delete(i),ce;case"[object Symbol]":if(Y)return Y.call(i)==Y.call(s)}return!1}},16096:(i,s,u)=>{var m=u(58234),_=Object.prototype.hasOwnProperty;i.exports=function equalObjects(i,s,u,j,M,$){var W=1&u,X=m(i),Y=X.length;if(Y!=m(s).length&&!W)return!1;for(var Z=Y;Z--;){var ee=X[Z];if(!(W?ee in s:_.call(s,ee)))return!1}var ae=$.get(i),ie=$.get(s);if(ae&&ie)return ae==s&&ie==i;var le=!0;$.set(i,s),$.set(s,i);for(var ce=W;++Z{var m=u(85564),_=u(45357),j=u(30061);i.exports=function flatRest(i){return j(_(i,void 0,m),i+"")}},31957:(i,s,u)=>{var m="object"==typeof u.g&&u.g&&u.g.Object===Object&&u.g;i.exports=m},58234:(i,s,u)=>{var m=u(68866),_=u(99551),j=u(3674);i.exports=function getAllKeys(i){return m(i,j,_)}},46904:(i,s,u)=>{var m=u(68866),_=u(51442),j=u(81704);i.exports=function getAllKeysIn(i){return m(i,j,_)}},66833:(i,s,u)=>{var m=u(89250),_=u(50308),j=m?function(i){return m.get(i)}:_;i.exports=j},97658:(i,s,u)=>{var m=u(52060),_=Object.prototype.hasOwnProperty;i.exports=function getFuncName(i){for(var s=i.name+"",u=m[s],j=_.call(m,s)?u.length:0;j--;){var M=u[j],$=M.func;if(null==$||$==i)return M.name}return s}},20893:i=>{i.exports=function getHolder(i){return i.placeholder}},45050:(i,s,u)=>{var m=u(37019);i.exports=function getMapData(i,s){var u=i.__data__;return m(s)?u["string"==typeof s?"string":"hash"]:u.map}},1499:(i,s,u)=>{var m=u(89162),_=u(3674);i.exports=function getMatchData(i){for(var s=_(i),u=s.length;u--;){var j=s[u],M=i[j];s[u]=[j,M,m(M)]}return s}},10852:(i,s,u)=>{var m=u(28458),_=u(47801);i.exports=function getNative(i,s){var u=_(i,s);return m(u)?u:void 0}},85924:(i,s,u)=>{var m=u(5569)(Object.getPrototypeOf,Object);i.exports=m},89607:(i,s,u)=>{var m=u(62705),_=Object.prototype,j=_.hasOwnProperty,M=_.toString,$=m?m.toStringTag:void 0;i.exports=function getRawTag(i){var s=j.call(i,$),u=i[$];try{i[$]=void 0;var m=!0}catch(i){}var _=M.call(i);return m&&(s?i[$]=u:delete i[$]),_}},99551:(i,s,u)=>{var m=u(34963),_=u(70479),j=Object.prototype.propertyIsEnumerable,M=Object.getOwnPropertySymbols,$=M?function(i){return null==i?[]:(i=Object(i),m(M(i),(function(s){return j.call(i,s)})))}:_;i.exports=$},51442:(i,s,u)=>{var m=u(62488),_=u(85924),j=u(99551),M=u(70479),$=Object.getOwnPropertySymbols?function(i){for(var s=[];i;)m(s,j(i)),i=_(i);return s}:M;i.exports=$},64160:(i,s,u)=>{var m=u(18552),_=u(57071),j=u(53818),M=u(58525),$=u(70577),W=u(44239),X=u(80346),Y="[object Map]",Z="[object Promise]",ee="[object Set]",ae="[object WeakMap]",ie="[object DataView]",le=X(m),ce=X(_),pe=X(j),de=X(M),fe=X($),ye=W;(m&&ye(new m(new ArrayBuffer(1)))!=ie||_&&ye(new _)!=Y||j&&ye(j.resolve())!=Z||M&&ye(new M)!=ee||$&&ye(new $)!=ae)&&(ye=function(i){var s=W(i),u="[object Object]"==s?i.constructor:void 0,m=u?X(u):"";if(m)switch(m){case le:return ie;case ce:return Y;case pe:return Z;case de:return ee;case fe:return ae}return s}),i.exports=ye},47801:i=>{i.exports=function getValue(i,s){return null==i?void 0:i[s]}},58775:i=>{var s=/\{\n\/\* \[wrapped with (.+)\] \*/,u=/,? & /;i.exports=function getWrapDetails(i){var m=i.match(s);return m?m[1].split(u):[]}},222:(i,s,u)=>{var m=u(71811),_=u(35694),j=u(1469),M=u(65776),$=u(41780),W=u(40327);i.exports=function hasPath(i,s,u){for(var X=-1,Y=(s=m(s,i)).length,Z=!1;++X{var s=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");i.exports=function hasUnicode(i){return s.test(i)}},93157:i=>{var s=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;i.exports=function hasUnicodeWord(i){return s.test(i)}},51789:(i,s,u)=>{var m=u(94536);i.exports=function hashClear(){this.__data__=m?m(null):{},this.size=0}},80401:i=>{i.exports=function hashDelete(i){var s=this.has(i)&&delete this.__data__[i];return this.size-=s?1:0,s}},57667:(i,s,u)=>{var m=u(94536),_=Object.prototype.hasOwnProperty;i.exports=function hashGet(i){var s=this.__data__;if(m){var u=s[i];return"__lodash_hash_undefined__"===u?void 0:u}return _.call(s,i)?s[i]:void 0}},21327:(i,s,u)=>{var m=u(94536),_=Object.prototype.hasOwnProperty;i.exports=function hashHas(i){var s=this.__data__;return m?void 0!==s[i]:_.call(s,i)}},81866:(i,s,u)=>{var m=u(94536);i.exports=function hashSet(i,s){var u=this.__data__;return this.size+=this.has(i)?0:1,u[i]=m&&void 0===s?"__lodash_hash_undefined__":s,this}},43824:i=>{var s=Object.prototype.hasOwnProperty;i.exports=function initCloneArray(i){var u=i.length,m=new i.constructor(u);return u&&"string"==typeof i[0]&&s.call(i,"index")&&(m.index=i.index,m.input=i.input),m}},29148:(i,s,u)=>{var m=u(74318),_=u(57157),j=u(93147),M=u(40419),$=u(77133);i.exports=function initCloneByTag(i,s,u){var W=i.constructor;switch(s){case"[object ArrayBuffer]":return m(i);case"[object Boolean]":case"[object Date]":return new W(+i);case"[object DataView]":return _(i,u);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return $(i,u);case"[object Map]":case"[object Set]":return new W;case"[object Number]":case"[object String]":return new W(i);case"[object RegExp]":return j(i);case"[object Symbol]":return M(i)}}},38517:(i,s,u)=>{var m=u(3118),_=u(85924),j=u(25726);i.exports=function initCloneObject(i){return"function"!=typeof i.constructor||j(i)?{}:m(_(i))}},83112:i=>{var s=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;i.exports=function insertWrapDetails(i,u){var m=u.length;if(!m)return i;var _=m-1;return u[_]=(m>1?"& ":"")+u[_],u=u.join(m>2?", ":" "),i.replace(s,"{\n/* [wrapped with "+u+"] */\n")}},37285:(i,s,u)=>{var m=u(62705),_=u(35694),j=u(1469),M=m?m.isConcatSpreadable:void 0;i.exports=function isFlattenable(i){return j(i)||_(i)||!!(M&&i&&i[M])}},65776:i=>{var s=/^(?:0|[1-9]\d*)$/;i.exports=function isIndex(i,u){var m=typeof i;return!!(u=null==u?9007199254740991:u)&&("number"==m||"symbol"!=m&&s.test(i))&&i>-1&&i%1==0&&i{var m=u(77813),_=u(98612),j=u(65776),M=u(13218);i.exports=function isIterateeCall(i,s,u){if(!M(u))return!1;var $=typeof s;return!!("number"==$?_(u)&&j(s,u.length):"string"==$&&s in u)&&m(u[s],i)}},15403:(i,s,u)=>{var m=u(1469),_=u(33448),j=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,M=/^\w*$/;i.exports=function isKey(i,s){if(m(i))return!1;var u=typeof i;return!("number"!=u&&"symbol"!=u&&"boolean"!=u&&null!=i&&!_(i))||(M.test(i)||!j.test(i)||null!=s&&i in Object(s))}},37019:i=>{i.exports=function isKeyable(i){var s=typeof i;return"string"==s||"number"==s||"symbol"==s||"boolean"==s?"__proto__"!==i:null===i}},86528:(i,s,u)=>{var m=u(96425),_=u(66833),j=u(97658),M=u(8111);i.exports=function isLaziable(i){var s=j(i),u=M[s];if("function"!=typeof u||!(s in m.prototype))return!1;if(i===u)return!0;var $=_(u);return!!$&&i===$[0]}},15346:(i,s,u)=>{var m,_=u(14429),j=(m=/[^.]+$/.exec(_&&_.keys&&_.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"";i.exports=function isMasked(i){return!!j&&j in i}},25726:i=>{var s=Object.prototype;i.exports=function isPrototype(i){var u=i&&i.constructor;return i===("function"==typeof u&&u.prototype||s)}},89162:(i,s,u)=>{var m=u(13218);i.exports=function isStrictComparable(i){return i==i&&!m(i)}},27040:i=>{i.exports=function listCacheClear(){this.__data__=[],this.size=0}},14125:(i,s,u)=>{var m=u(18470),_=Array.prototype.splice;i.exports=function listCacheDelete(i){var s=this.__data__,u=m(s,i);return!(u<0)&&(u==s.length-1?s.pop():_.call(s,u,1),--this.size,!0)}},82117:(i,s,u)=>{var m=u(18470);i.exports=function listCacheGet(i){var s=this.__data__,u=m(s,i);return u<0?void 0:s[u][1]}},67518:(i,s,u)=>{var m=u(18470);i.exports=function listCacheHas(i){return m(this.__data__,i)>-1}},54705:(i,s,u)=>{var m=u(18470);i.exports=function listCacheSet(i,s){var u=this.__data__,_=m(u,i);return _<0?(++this.size,u.push([i,s])):u[_][1]=s,this}},24785:(i,s,u)=>{var m=u(1989),_=u(38407),j=u(57071);i.exports=function mapCacheClear(){this.size=0,this.__data__={hash:new m,map:new(j||_),string:new m}}},11285:(i,s,u)=>{var m=u(45050);i.exports=function mapCacheDelete(i){var s=m(this,i).delete(i);return this.size-=s?1:0,s}},96e3:(i,s,u)=>{var m=u(45050);i.exports=function mapCacheGet(i){return m(this,i).get(i)}},49916:(i,s,u)=>{var m=u(45050);i.exports=function mapCacheHas(i){return m(this,i).has(i)}},95265:(i,s,u)=>{var m=u(45050);i.exports=function mapCacheSet(i,s){var u=m(this,i),_=u.size;return u.set(i,s),this.size+=u.size==_?0:1,this}},68776:i=>{i.exports=function mapToArray(i){var s=-1,u=Array(i.size);return i.forEach((function(i,m){u[++s]=[m,i]})),u}},42634:i=>{i.exports=function matchesStrictComparable(i,s){return function(u){return null!=u&&(u[i]===s&&(void 0!==s||i in Object(u)))}}},24523:(i,s,u)=>{var m=u(88306);i.exports=function memoizeCapped(i){var s=m(i,(function(i){return 500===u.size&&u.clear(),i})),u=s.cache;return s}},63833:(i,s,u)=>{var m=u(52157),_=u(14054),j=u(46460),M="__lodash_placeholder__",$=128,W=Math.min;i.exports=function mergeData(i,s){var u=i[1],X=s[1],Y=u|X,Z=Y<131,ee=X==$&&8==u||X==$&&256==u&&i[7].length<=s[8]||384==X&&s[7].length<=s[8]&&8==u;if(!Z&&!ee)return i;1&X&&(i[2]=s[2],Y|=1&u?0:4);var ae=s[3];if(ae){var ie=i[3];i[3]=ie?m(ie,ae,s[4]):ae,i[4]=ie?j(i[3],M):s[4]}return(ae=s[5])&&(ie=i[5],i[5]=ie?_(ie,ae,s[6]):ae,i[6]=ie?j(i[5],M):s[6]),(ae=s[7])&&(i[7]=ae),X&$&&(i[8]=null==i[8]?s[8]:W(i[8],s[8])),null==i[9]&&(i[9]=s[9]),i[0]=s[0],i[1]=Y,i}},89250:(i,s,u)=>{var m=u(70577),_=m&&new m;i.exports=_},94536:(i,s,u)=>{var m=u(10852)(Object,"create");i.exports=m},86916:(i,s,u)=>{var m=u(5569)(Object.keys,Object);i.exports=m},33498:i=>{i.exports=function nativeKeysIn(i){var s=[];if(null!=i)for(var u in Object(i))s.push(u);return s}},31167:(i,s,u)=>{i=u.nmd(i);var m=u(31957),_=s&&!s.nodeType&&s,j=_&&i&&!i.nodeType&&i,M=j&&j.exports===_&&m.process,$=function(){try{var i=j&&j.require&&j.require("util").types;return i||M&&M.binding&&M.binding("util")}catch(i){}}();i.exports=$},2333:i=>{var s=Object.prototype.toString;i.exports=function objectToString(i){return s.call(i)}},5569:i=>{i.exports=function overArg(i,s){return function(u){return i(s(u))}}},45357:(i,s,u)=>{var m=u(96874),_=Math.max;i.exports=function overRest(i,s,u){return s=_(void 0===s?i.length-1:s,0),function(){for(var j=arguments,M=-1,$=_(j.length-s,0),W=Array($);++M<$;)W[M]=j[s+M];M=-1;for(var X=Array(s+1);++M{var m=u(97786),_=u(14259);i.exports=function parent(i,s){return s.length<2?i:m(i,_(s,0,-1))}},52060:i=>{i.exports={}},90451:(i,s,u)=>{var m=u(278),_=u(65776),j=Math.min;i.exports=function reorder(i,s){for(var u=i.length,M=j(s.length,u),$=m(i);M--;){var W=s[M];i[M]=_(W,u)?$[W]:void 0}return i}},46460:i=>{var s="__lodash_placeholder__";i.exports=function replaceHolders(i,u){for(var m=-1,_=i.length,j=0,M=[];++m<_;){var $=i[m];$!==u&&$!==s||(i[m]=s,M[j++]=m)}return M}},55639:(i,s,u)=>{var m=u(31957),_="object"==typeof self&&self&&self.Object===Object&&self,j=m||_||Function("return this")();i.exports=j},36390:i=>{i.exports=function safeGet(i,s){if(("constructor"!==s||"function"!=typeof i[s])&&"__proto__"!=s)return i[s]}},90619:i=>{i.exports=function setCacheAdd(i){return this.__data__.set(i,"__lodash_hash_undefined__"),this}},72385:i=>{i.exports=function setCacheHas(i){return this.__data__.has(i)}},258:(i,s,u)=>{var m=u(28045),_=u(21275)(m);i.exports=_},21814:i=>{i.exports=function setToArray(i){var s=-1,u=Array(i.size);return i.forEach((function(i){u[++s]=i})),u}},30061:(i,s,u)=>{var m=u(56560),_=u(21275)(m);i.exports=_},69255:(i,s,u)=>{var m=u(58775),_=u(83112),j=u(30061),M=u(87241);i.exports=function setWrapToString(i,s,u){var $=s+"";return j(i,_($,M(m($),u)))}},21275:i=>{var s=Date.now;i.exports=function shortOut(i){var u=0,m=0;return function(){var _=s(),j=16-(_-m);if(m=_,j>0){if(++u>=800)return arguments[0]}else u=0;return i.apply(void 0,arguments)}}},37465:(i,s,u)=>{var m=u(38407);i.exports=function stackClear(){this.__data__=new m,this.size=0}},63779:i=>{i.exports=function stackDelete(i){var s=this.__data__,u=s.delete(i);return this.size=s.size,u}},67599:i=>{i.exports=function stackGet(i){return this.__data__.get(i)}},44758:i=>{i.exports=function stackHas(i){return this.__data__.has(i)}},34309:(i,s,u)=>{var m=u(38407),_=u(57071),j=u(83369);i.exports=function stackSet(i,s){var u=this.__data__;if(u instanceof m){var M=u.__data__;if(!_||M.length<199)return M.push([i,s]),this.size=++u.size,this;u=this.__data__=new j(M)}return u.set(i,s),this.size=u.size,this}},42351:i=>{i.exports=function strictIndexOf(i,s,u){for(var m=u-1,_=i.length;++m<_;)if(i[m]===s)return m;return-1}},83140:(i,s,u)=>{var m=u(44286),_=u(62689),j=u(676);i.exports=function stringToArray(i){return _(i)?j(i):m(i)}},55514:(i,s,u)=>{var m=u(24523),_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,j=/\\(\\)?/g,M=m((function(i){var s=[];return 46===i.charCodeAt(0)&&s.push(""),i.replace(_,(function(i,u,m,_){s.push(m?_.replace(j,"$1"):u||i)})),s}));i.exports=M},40327:(i,s,u)=>{var m=u(33448);i.exports=function toKey(i){if("string"==typeof i||m(i))return i;var s=i+"";return"0"==s&&1/i==-Infinity?"-0":s}},80346:i=>{var s=Function.prototype.toString;i.exports=function toSource(i){if(null!=i){try{return s.call(i)}catch(i){}try{return i+""}catch(i){}}return""}},67990:i=>{var s=/\s/;i.exports=function trimmedEndIndex(i){for(var u=i.length;u--&&s.test(i.charAt(u)););return u}},676:i=>{var s="\\ud800-\\udfff",u="["+s+"]",m="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",_="\\ud83c[\\udffb-\\udfff]",j="[^"+s+"]",M="(?:\\ud83c[\\udde6-\\uddff]){2}",$="[\\ud800-\\udbff][\\udc00-\\udfff]",W="(?:"+m+"|"+_+")"+"?",X="[\\ufe0e\\ufe0f]?",Y=X+W+("(?:\\u200d(?:"+[j,M,$].join("|")+")"+X+W+")*"),Z="(?:"+[j+m+"?",m,M,$,u].join("|")+")",ee=RegExp(_+"(?="+_+")|"+Z+Y,"g");i.exports=function unicodeToArray(i){return i.match(ee)||[]}},2757:i=>{var s="\\ud800-\\udfff",u="\\u2700-\\u27bf",m="a-z\\xdf-\\xf6\\xf8-\\xff",_="A-Z\\xc0-\\xd6\\xd8-\\xde",j="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",M="["+j+"]",$="\\d+",W="["+u+"]",X="["+m+"]",Y="[^"+s+j+$+u+m+_+"]",Z="(?:\\ud83c[\\udde6-\\uddff]){2}",ee="[\\ud800-\\udbff][\\udc00-\\udfff]",ae="["+_+"]",ie="(?:"+X+"|"+Y+")",le="(?:"+ae+"|"+Y+")",ce="(?:['’](?:d|ll|m|re|s|t|ve))?",pe="(?:['’](?:D|LL|M|RE|S|T|VE))?",de="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",fe="[\\ufe0e\\ufe0f]?",ye=fe+de+("(?:\\u200d(?:"+["[^"+s+"]",Z,ee].join("|")+")"+fe+de+")*"),be="(?:"+[W,Z,ee].join("|")+")"+ye,_e=RegExp([ae+"?"+X+"+"+ce+"(?="+[M,ae,"$"].join("|")+")",le+"+"+pe+"(?="+[M,ae+ie,"$"].join("|")+")",ae+"?"+ie+"+"+ce,ae+"+"+pe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",$,be].join("|"),"g");i.exports=function unicodeWords(i){return i.match(_e)||[]}},87241:(i,s,u)=>{var m=u(77412),_=u(47443),j=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];i.exports=function updateWrapDetails(i,s){return m(j,(function(u){var m="_."+u[0];s&u[1]&&!_(i,m)&&i.push(m)})),i.sort()}},21913:(i,s,u)=>{var m=u(96425),_=u(7548),j=u(278);i.exports=function wrapperClone(i){if(i instanceof m)return i.clone();var s=new _(i.__wrapped__,i.__chain__);return s.__actions__=j(i.__actions__),s.__index__=i.__index__,s.__values__=i.__values__,s}},39514:(i,s,u)=>{var m=u(97727);i.exports=function ary(i,s,u){return s=u?void 0:s,s=i&&null==s?i.length:s,m(i,128,void 0,void 0,void 0,void 0,s)}},68929:(i,s,u)=>{var m=u(48403),_=u(35393)((function(i,s,u){return s=s.toLowerCase(),i+(u?m(s):s)}));i.exports=_},48403:(i,s,u)=>{var m=u(79833),_=u(11700);i.exports=function capitalize(i){return _(m(i).toLowerCase())}},66678:(i,s,u)=>{var m=u(85990);i.exports=function clone(i){return m(i,4)}},75703:i=>{i.exports=function constant(i){return function(){return i}}},40087:(i,s,u)=>{var m=u(97727);function curry(i,s,u){var _=m(i,8,void 0,void 0,void 0,void 0,void 0,s=u?void 0:s);return _.placeholder=curry.placeholder,_}curry.placeholder={},i.exports=curry},23279:(i,s,u)=>{var m=u(13218),_=u(7771),j=u(14841),M=Math.max,$=Math.min;i.exports=function debounce(i,s,u){var W,X,Y,Z,ee,ae,ie=0,le=!1,ce=!1,pe=!0;if("function"!=typeof i)throw new TypeError("Expected a function");function invokeFunc(s){var u=W,m=X;return W=X=void 0,ie=s,Z=i.apply(m,u)}function shouldInvoke(i){var u=i-ae;return void 0===ae||u>=s||u<0||ce&&i-ie>=Y}function timerExpired(){var i=_();if(shouldInvoke(i))return trailingEdge(i);ee=setTimeout(timerExpired,function remainingWait(i){var u=s-(i-ae);return ce?$(u,Y-(i-ie)):u}(i))}function trailingEdge(i){return ee=void 0,pe&&W?invokeFunc(i):(W=X=void 0,Z)}function debounced(){var i=_(),u=shouldInvoke(i);if(W=arguments,X=this,ae=i,u){if(void 0===ee)return function leadingEdge(i){return ie=i,ee=setTimeout(timerExpired,s),le?invokeFunc(i):Z}(ae);if(ce)return clearTimeout(ee),ee=setTimeout(timerExpired,s),invokeFunc(ae)}return void 0===ee&&(ee=setTimeout(timerExpired,s)),Z}return s=j(s)||0,m(u)&&(le=!!u.leading,Y=(ce="maxWait"in u)?M(j(u.maxWait)||0,s):Y,pe="trailing"in u?!!u.trailing:pe),debounced.cancel=function cancel(){void 0!==ee&&clearTimeout(ee),ie=0,W=ae=X=ee=void 0},debounced.flush=function flush(){return void 0===ee?Z:trailingEdge(_())},debounced}},53816:(i,s,u)=>{var m=u(69389),_=u(79833),j=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,M=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");i.exports=function deburr(i){return(i=_(i))&&i.replace(j,m).replace(M,"")}},77813:i=>{i.exports=function eq(i,s){return i===s||i!=i&&s!=s}},13311:(i,s,u)=>{var m=u(67740)(u(30998));i.exports=m},30998:(i,s,u)=>{var m=u(41848),_=u(67206),j=u(40554),M=Math.max;i.exports=function findIndex(i,s,u){var $=null==i?0:i.length;if(!$)return-1;var W=null==u?0:j(u);return W<0&&(W=M($+W,0)),m(i,_(s,3),W)}},85564:(i,s,u)=>{var m=u(21078);i.exports=function flatten(i){return(null==i?0:i.length)?m(i,1):[]}},84599:(i,s,u)=>{var m=u(68836),_=u(69306),j=Array.prototype.push;function baseAry(i,s){return 2==s?function(s,u){return i(s,u)}:function(s){return i(s)}}function cloneArray(i){for(var s=i?i.length:0,u=Array(s);s--;)u[s]=i[s];return u}function wrapImmutable(i,s){return function(){var u=arguments.length;if(u){for(var m=Array(u);u--;)m[u]=arguments[u];var _=m[0]=s.apply(void 0,m);return i.apply(void 0,m),_}}}i.exports=function baseConvert(i,s,u,M){var $="function"==typeof s,W=s===Object(s);if(W&&(M=u,u=s,s=void 0),null==u)throw new TypeError;M||(M={});var X={cap:!("cap"in M)||M.cap,curry:!("curry"in M)||M.curry,fixed:!("fixed"in M)||M.fixed,immutable:!("immutable"in M)||M.immutable,rearg:!("rearg"in M)||M.rearg},Y=$?u:_,Z="curry"in M&&M.curry,ee="fixed"in M&&M.fixed,ae="rearg"in M&&M.rearg,ie=$?u.runInContext():void 0,le=$?u:{ary:i.ary,assign:i.assign,clone:i.clone,curry:i.curry,forEach:i.forEach,isArray:i.isArray,isError:i.isError,isFunction:i.isFunction,isWeakMap:i.isWeakMap,iteratee:i.iteratee,keys:i.keys,rearg:i.rearg,toInteger:i.toInteger,toPath:i.toPath},ce=le.ary,pe=le.assign,de=le.clone,fe=le.curry,ye=le.forEach,be=le.isArray,_e=le.isError,we=le.isFunction,Se=le.isWeakMap,xe=le.keys,Pe=le.rearg,Ie=le.toInteger,Te=le.toPath,Re=xe(m.aryMethod),qe={castArray:function(i){return function(){var s=arguments[0];return be(s)?i(cloneArray(s)):i.apply(void 0,arguments)}},iteratee:function(i){return function(){var s=arguments[1],u=i(arguments[0],s),m=u.length;return X.cap&&"number"==typeof s?(s=s>2?s-2:1,m&&m<=s?u:baseAry(u,s)):u}},mixin:function(i){return function(s){var u=this;if(!we(u))return i(u,Object(s));var m=[];return ye(xe(s),(function(i){we(s[i])&&m.push([i,u.prototype[i]])})),i(u,Object(s)),ye(m,(function(i){var s=i[1];we(s)?u.prototype[i[0]]=s:delete u.prototype[i[0]]})),u}},nthArg:function(i){return function(s){var u=s<0?1:Ie(s)+1;return fe(i(s),u)}},rearg:function(i){return function(s,u){var m=u?u.length:0;return fe(i(s,u),m)}},runInContext:function(s){return function(u){return baseConvert(i,s(u),M)}}};function castCap(i,s){if(X.cap){var u=m.iterateeRearg[i];if(u)return function iterateeRearg(i,s){return overArg(i,(function(i){var u=s.length;return function baseArity(i,s){return 2==s?function(s,u){return i.apply(void 0,arguments)}:function(s){return i.apply(void 0,arguments)}}(Pe(baseAry(i,u),s),u)}))}(s,u);var _=!$&&m.iterateeAry[i];if(_)return function iterateeAry(i,s){return overArg(i,(function(i){return"function"==typeof i?baseAry(i,s):i}))}(s,_)}return s}function castFixed(i,s,u){if(X.fixed&&(ee||!m.skipFixed[i])){var _=m.methodSpread[i],M=_&&_.start;return void 0===M?ce(s,u):function flatSpread(i,s){return function(){for(var u=arguments.length,m=u-1,_=Array(u);u--;)_[u]=arguments[u];var M=_[s],$=_.slice(0,s);return M&&j.apply($,M),s!=m&&j.apply($,_.slice(s+1)),i.apply(this,$)}}(s,M)}return s}function castRearg(i,s,u){return X.rearg&&u>1&&(ae||!m.skipRearg[i])?Pe(s,m.methodRearg[i]||m.aryRearg[u]):s}function cloneByPath(i,s){for(var u=-1,m=(s=Te(s)).length,_=m-1,j=de(Object(i)),M=j;null!=M&&++u1?fe(s,u):s}(0,_=castCap(j,_),i),!1}})),!_})),_||(_=M),_==s&&(_=Z?fe(_,1):function(){return s.apply(this,arguments)}),_.convert=createConverter(j,s),_.placeholder=s.placeholder=u,_}if(!W)return wrap(s,u,Y);var ze=u,Ve=[];return ye(Re,(function(i){ye(m.aryMethod[i],(function(i){var s=ze[m.remap[i]||i];s&&Ve.push([i,wrap(i,s,ze)])}))})),ye(xe(ze),(function(i){var s=ze[i];if("function"==typeof s){for(var u=Ve.length;u--;)if(Ve[u][0]==i)return;s.convert=createConverter(i,s),Ve.push([i,s])}})),ye(Ve,(function(i){ze[i[0]]=i[1]})),ze.convert=function convertLib(i){return ze.runInContext.convert(i)(void 0)},ze.placeholder=ze,ye(xe(ze),(function(i){ye(m.realToAlias[i]||[],(function(s){ze[s]=ze[i]}))})),ze}},68836:(i,s)=>{s.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},s.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},s.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},s.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},s.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},s.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},s.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},s.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},s.realToAlias=function(){var i=Object.prototype.hasOwnProperty,u=s.aliasToReal,m={};for(var _ in u){var j=u[_];i.call(m,j)?m[j].push(_):m[j]=[_]}return m}(),s.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},s.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},s.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},4269:(i,s,u)=>{i.exports={ary:u(39514),assign:u(44037),clone:u(66678),curry:u(40087),forEach:u(77412),isArray:u(1469),isError:u(64647),isFunction:u(23560),isWeakMap:u(81018),iteratee:u(72594),keys:u(280),rearg:u(4963),toInteger:u(40554),toPath:u(30084)}},72700:(i,s,u)=>{i.exports=u(28252)},92822:(i,s,u)=>{var m=u(84599),_=u(4269);i.exports=function convert(i,s,u){return m(_,i,s,u)}},69306:i=>{i.exports={}},28252:(i,s,u)=>{var m=u(92822)("set",u(36968));m.placeholder=u(69306),i.exports=m},27361:(i,s,u)=>{var m=u(97786);i.exports=function get(i,s,u){var _=null==i?void 0:m(i,s);return void 0===_?u:_}},79095:(i,s,u)=>{var m=u(13),_=u(222);i.exports=function hasIn(i,s){return null!=i&&_(i,s,m)}},6557:i=>{i.exports=function identity(i){return i}},35694:(i,s,u)=>{var m=u(9454),_=u(37005),j=Object.prototype,M=j.hasOwnProperty,$=j.propertyIsEnumerable,W=m(function(){return arguments}())?m:function(i){return _(i)&&M.call(i,"callee")&&!$.call(i,"callee")};i.exports=W},1469:i=>{var s=Array.isArray;i.exports=s},98612:(i,s,u)=>{var m=u(23560),_=u(41780);i.exports=function isArrayLike(i){return null!=i&&_(i.length)&&!m(i)}},29246:(i,s,u)=>{var m=u(98612),_=u(37005);i.exports=function isArrayLikeObject(i){return _(i)&&m(i)}},51584:(i,s,u)=>{var m=u(44239),_=u(37005);i.exports=function isBoolean(i){return!0===i||!1===i||_(i)&&"[object Boolean]"==m(i)}},44144:(i,s,u)=>{i=u.nmd(i);var m=u(55639),_=u(95062),j=s&&!s.nodeType&&s,M=j&&i&&!i.nodeType&&i,$=M&&M.exports===j?m.Buffer:void 0,W=($?$.isBuffer:void 0)||_;i.exports=W},41609:(i,s,u)=>{var m=u(280),_=u(64160),j=u(35694),M=u(1469),$=u(98612),W=u(44144),X=u(25726),Y=u(36719),Z=Object.prototype.hasOwnProperty;i.exports=function isEmpty(i){if(null==i)return!0;if($(i)&&(M(i)||"string"==typeof i||"function"==typeof i.splice||W(i)||Y(i)||j(i)))return!i.length;var s=_(i);if("[object Map]"==s||"[object Set]"==s)return!i.size;if(X(i))return!m(i).length;for(var u in i)if(Z.call(i,u))return!1;return!0}},18446:(i,s,u)=>{var m=u(90939);i.exports=function isEqual(i,s){return m(i,s)}},64647:(i,s,u)=>{var m=u(44239),_=u(37005),j=u(68630);i.exports=function isError(i){if(!_(i))return!1;var s=m(i);return"[object Error]"==s||"[object DOMException]"==s||"string"==typeof i.message&&"string"==typeof i.name&&!j(i)}},23560:(i,s,u)=>{var m=u(44239),_=u(13218);i.exports=function isFunction(i){if(!_(i))return!1;var s=m(i);return"[object Function]"==s||"[object GeneratorFunction]"==s||"[object AsyncFunction]"==s||"[object Proxy]"==s}},41780:i=>{i.exports=function isLength(i){return"number"==typeof i&&i>-1&&i%1==0&&i<=9007199254740991}},56688:(i,s,u)=>{var m=u(25588),_=u(7518),j=u(31167),M=j&&j.isMap,$=M?_(M):m;i.exports=$},45220:i=>{i.exports=function isNull(i){return null===i}},81763:(i,s,u)=>{var m=u(44239),_=u(37005);i.exports=function isNumber(i){return"number"==typeof i||_(i)&&"[object Number]"==m(i)}},13218:i=>{i.exports=function isObject(i){var s=typeof i;return null!=i&&("object"==s||"function"==s)}},37005:i=>{i.exports=function isObjectLike(i){return null!=i&&"object"==typeof i}},68630:(i,s,u)=>{var m=u(44239),_=u(85924),j=u(37005),M=Function.prototype,$=Object.prototype,W=M.toString,X=$.hasOwnProperty,Y=W.call(Object);i.exports=function isPlainObject(i){if(!j(i)||"[object Object]"!=m(i))return!1;var s=_(i);if(null===s)return!0;var u=X.call(s,"constructor")&&s.constructor;return"function"==typeof u&&u instanceof u&&W.call(u)==Y}},72928:(i,s,u)=>{var m=u(29221),_=u(7518),j=u(31167),M=j&&j.isSet,$=M?_(M):m;i.exports=$},47037:(i,s,u)=>{var m=u(44239),_=u(1469),j=u(37005);i.exports=function isString(i){return"string"==typeof i||!_(i)&&j(i)&&"[object String]"==m(i)}},33448:(i,s,u)=>{var m=u(44239),_=u(37005);i.exports=function isSymbol(i){return"symbol"==typeof i||_(i)&&"[object Symbol]"==m(i)}},36719:(i,s,u)=>{var m=u(38749),_=u(7518),j=u(31167),M=j&&j.isTypedArray,$=M?_(M):m;i.exports=$},81018:(i,s,u)=>{var m=u(64160),_=u(37005);i.exports=function isWeakMap(i){return _(i)&&"[object WeakMap]"==m(i)}},72594:(i,s,u)=>{var m=u(85990),_=u(67206);i.exports=function iteratee(i){return _("function"==typeof i?i:m(i,1))}},3674:(i,s,u)=>{var m=u(14636),_=u(280),j=u(98612);i.exports=function keys(i){return j(i)?m(i):_(i)}},81704:(i,s,u)=>{var m=u(14636),_=u(10313),j=u(98612);i.exports=function keysIn(i){return j(i)?m(i,!0):_(i)}},10928:i=>{i.exports=function last(i){var s=null==i?0:i.length;return s?i[s-1]:void 0}},88306:(i,s,u)=>{var m=u(83369);function memoize(i,s){if("function"!=typeof i||null!=s&&"function"!=typeof s)throw new TypeError("Expected a function");var memoized=function(){var u=arguments,m=s?s.apply(this,u):u[0],_=memoized.cache;if(_.has(m))return _.get(m);var j=i.apply(this,u);return memoized.cache=_.set(m,j)||_,j};return memoized.cache=new(memoize.Cache||m),memoized}memoize.Cache=m,i.exports=memoize},82492:(i,s,u)=>{var m=u(42980),_=u(21463)((function(i,s,u){m(i,s,u)}));i.exports=_},94885:i=>{i.exports=function negate(i){if("function"!=typeof i)throw new TypeError("Expected a function");return function(){var s=arguments;switch(s.length){case 0:return!i.call(this);case 1:return!i.call(this,s[0]);case 2:return!i.call(this,s[0],s[1]);case 3:return!i.call(this,s[0],s[1],s[2])}return!i.apply(this,s)}}},50308:i=>{i.exports=function noop(){}},7771:(i,s,u)=>{var m=u(55639);i.exports=function(){return m.Date.now()}},57557:(i,s,u)=>{var m=u(29932),_=u(85990),j=u(57406),M=u(71811),$=u(98363),W=u(60696),X=u(99021),Y=u(46904),Z=X((function(i,s){var u={};if(null==i)return u;var X=!1;s=m(s,(function(s){return s=M(s,i),X||(X=s.length>1),s})),$(i,Y(i),u),X&&(u=_(u,7,W));for(var Z=s.length;Z--;)j(u,s[Z]);return u}));i.exports=Z},39601:(i,s,u)=>{var m=u(40371),_=u(79152),j=u(15403),M=u(40327);i.exports=function property(i){return j(i)?m(M(i)):_(i)}},4963:(i,s,u)=>{var m=u(97727),_=u(99021),j=_((function(i,s){return m(i,256,void 0,void 0,void 0,s)}));i.exports=j},54061:(i,s,u)=>{var m=u(62663),_=u(89881),j=u(67206),M=u(10107),$=u(1469);i.exports=function reduce(i,s,u){var W=$(i)?m:M,X=arguments.length<3;return W(i,j(s,4),u,X,_)}},36968:(i,s,u)=>{var m=u(10611);i.exports=function set(i,s,u){return null==i?i:m(i,s,u)}},59704:(i,s,u)=>{var m=u(82908),_=u(67206),j=u(5076),M=u(1469),$=u(16612);i.exports=function some(i,s,u){var W=M(i)?m:j;return u&&$(i,s,u)&&(s=void 0),W(i,_(s,3))}},70479:i=>{i.exports=function stubArray(){return[]}},95062:i=>{i.exports=function stubFalse(){return!1}},18601:(i,s,u)=>{var m=u(14841),_=1/0;i.exports=function toFinite(i){return i?(i=m(i))===_||i===-1/0?17976931348623157e292*(i<0?-1:1):i==i?i:0:0===i?i:0}},40554:(i,s,u)=>{var m=u(18601);i.exports=function toInteger(i){var s=m(i),u=s%1;return s==s?u?s-u:s:0}},7334:(i,s,u)=>{var m=u(79833);i.exports=function toLower(i){return m(i).toLowerCase()}},14841:(i,s,u)=>{var m=u(27561),_=u(13218),j=u(33448),M=/^[-+]0x[0-9a-f]+$/i,$=/^0b[01]+$/i,W=/^0o[0-7]+$/i,X=parseInt;i.exports=function toNumber(i){if("number"==typeof i)return i;if(j(i))return NaN;if(_(i)){var s="function"==typeof i.valueOf?i.valueOf():i;i=_(s)?s+"":s}if("string"!=typeof i)return 0===i?i:+i;i=m(i);var u=$.test(i);return u||W.test(i)?X(i.slice(2),u?2:8):M.test(i)?NaN:+i}},30084:(i,s,u)=>{var m=u(29932),_=u(278),j=u(1469),M=u(33448),$=u(55514),W=u(40327),X=u(79833);i.exports=function toPath(i){return j(i)?m(i,W):M(i)?[i]:_($(X(i)))}},59881:(i,s,u)=>{var m=u(98363),_=u(81704);i.exports=function toPlainObject(i){return m(i,_(i))}},79833:(i,s,u)=>{var m=u(80531);i.exports=function toString(i){return null==i?"":m(i)}},11700:(i,s,u)=>{var m=u(98805)("toUpperCase");i.exports=m},58748:(i,s,u)=>{var m=u(49029),_=u(93157),j=u(79833),M=u(2757);i.exports=function words(i,s,u){return i=j(i),void 0===(s=u?void 0:s)?_(i)?M(i):m(i):i.match(s)||[]}},8111:(i,s,u)=>{var m=u(96425),_=u(7548),j=u(9435),M=u(1469),$=u(37005),W=u(21913),X=Object.prototype.hasOwnProperty;function lodash(i){if($(i)&&!M(i)&&!(i instanceof m)){if(i instanceof _)return i;if(X.call(i,"__wrapped__"))return W(i)}return new _(i)}lodash.prototype=j.prototype,lodash.prototype.constructor=lodash,i.exports=lodash},7287:(i,s,u)=>{var m=u(34865),_=u(1757);i.exports=function zipObject(i,s){return _(i||[],s||[],m)}},96470:(i,s,u)=>{"use strict";var m=u(47802),_=u(21102);s.highlight=highlight,s.highlightAuto=function highlightAuto(i,s){var u,M,$,W,X=s||{},Y=X.subset||m.listLanguages(),Z=X.prefix,ee=Y.length,ae=-1;null==Z&&(Z=j);if("string"!=typeof i)throw _("Expected `string` for value, got `%s`",i);M={relevance:0,language:null,value:[]},u={relevance:0,language:null,value:[]};for(;++aeM.relevance&&(M=$),$.relevance>u.relevance&&(M=u,u=$));M.language&&(u.secondBest=M);return u},s.registerLanguage=function registerLanguage(i,s){m.registerLanguage(i,s)},s.listLanguages=function listLanguages(){return m.listLanguages()},s.registerAlias=function registerAlias(i,s){var u,_=i;s&&((_={})[i]=s);for(u in _)m.registerAliases(_[u],{languageName:u})},Emitter.prototype.addText=function text(i){var s,u,m=this.stack;if(""===i)return;s=m[m.length-1],(u=s.children[s.children.length-1])&&"text"===u.type?u.value+=i:s.children.push({type:"text",value:i})},Emitter.prototype.addKeyword=function addKeyword(i,s){this.openNode(s),this.addText(i),this.closeNode()},Emitter.prototype.addSublanguage=function addSublanguage(i,s){var u=this.stack,m=u[u.length-1],_=i.rootNode.children,j=s?{type:"element",tagName:"span",properties:{className:[s]},children:_}:_;m.children=m.children.concat(j)},Emitter.prototype.openNode=function open(i){var s=this.stack,u=this.options.classPrefix+i,m=s[s.length-1],_={type:"element",tagName:"span",properties:{className:[u]},children:[]};m.children.push(_),s.push(_)},Emitter.prototype.closeNode=function close(){this.stack.pop()},Emitter.prototype.closeAllNodes=noop,Emitter.prototype.finalize=noop,Emitter.prototype.toHTML=function toHtmlNoop(){return""};var j="hljs-";function highlight(i,s,u){var M,$=m.configure({}),W=(u||{}).prefix;if("string"!=typeof i)throw _("Expected `string` for name, got `%s`",i);if(!m.getLanguage(i))throw _("Unknown language: `%s` is not registered",i);if("string"!=typeof s)throw _("Expected `string` for value, got `%s`",s);if(null==W&&(W=j),m.configure({__emitter:Emitter,classPrefix:W}),M=m.highlight(s,{language:i,ignoreIllegals:!0}),m.configure($||{}),M.errorRaised)throw M.errorRaised;return{relevance:M.relevance,language:M.language,value:M.emitter.rootNode.children}}function Emitter(i){this.options=i,this.rootNode={children:[]},this.stack=[this.rootNode]}function noop(){}},42566:(i,s,u)=>{const m=u(94885);function coerceElementMatchingCallback(i){return"string"==typeof i?s=>s.element===i:i.constructor&&i.extend?s=>s instanceof i:i}class ArraySlice{constructor(i){this.elements=i||[]}toValue(){return this.elements.map((i=>i.toValue()))}map(i,s){return this.elements.map(i,s)}flatMap(i,s){return this.map(i,s).reduce(((i,s)=>i.concat(s)),[])}compactMap(i,s){const u=[];return this.forEach((m=>{const _=i.bind(s)(m);_&&u.push(_)})),u}filter(i,s){return i=coerceElementMatchingCallback(i),new ArraySlice(this.elements.filter(i,s))}reject(i,s){return i=coerceElementMatchingCallback(i),new ArraySlice(this.elements.filter(m(i),s))}find(i,s){return i=coerceElementMatchingCallback(i),this.elements.find(i,s)}forEach(i,s){this.elements.forEach(i,s)}reduce(i,s){return this.elements.reduce(i,s)}includes(i){return this.elements.some((s=>s.equals(i)))}shift(){return this.elements.shift()}unshift(i){this.elements.unshift(this.refract(i))}push(i){return this.elements.push(this.refract(i)),this}add(i){this.push(i)}get(i){return this.elements[i]}getValue(i){const s=this.elements[i];if(s)return s.toValue()}get length(){return this.elements.length}get isEmpty(){return 0===this.elements.length}get first(){return this.elements[0]}}"undefined"!=typeof Symbol&&(ArraySlice.prototype[Symbol.iterator]=function symbol(){return this.elements[Symbol.iterator]()}),i.exports=ArraySlice},17645:i=>{class KeyValuePair{constructor(i,s){this.key=i,this.value=s}clone(){const i=new KeyValuePair;return this.key&&(i.key=this.key.clone()),this.value&&(i.value=this.value.clone()),i}}i.exports=KeyValuePair},78520:(i,s,u)=>{const m=u(45220),_=u(47037),j=u(81763),M=u(51584),$=u(13218),W=u(28219),X=u(99829);class Namespace{constructor(i){this.elementMap={},this.elementDetection=[],this.Element=X.Element,this.KeyValuePair=X.KeyValuePair,i&&i.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(i){return i.namespace&&i.namespace({base:this}),i.load&&i.load({base:this}),this}useDefault(){return this.register("null",X.NullElement).register("string",X.StringElement).register("number",X.NumberElement).register("boolean",X.BooleanElement).register("array",X.ArrayElement).register("object",X.ObjectElement).register("member",X.MemberElement).register("ref",X.RefElement).register("link",X.LinkElement),this.detect(m,X.NullElement,!1).detect(_,X.StringElement,!1).detect(j,X.NumberElement,!1).detect(M,X.BooleanElement,!1).detect(Array.isArray,X.ArrayElement,!1).detect($,X.ObjectElement,!1),this}register(i,s){return this._elements=void 0,this.elementMap[i]=s,this}unregister(i){return this._elements=void 0,delete this.elementMap[i],this}detect(i,s,u){return void 0===u||u?this.elementDetection.unshift([i,s]):this.elementDetection.push([i,s]),this}toElement(i){if(i instanceof this.Element)return i;let s;for(let u=0;u{const s=i[0].toUpperCase()+i.substr(1);this._elements[s]=this.elementMap[i]}))),this._elements}get serialiser(){return new W(this)}}W.prototype.Namespace=Namespace,i.exports=Namespace},87526:(i,s,u)=>{const m=u(94885),_=u(42566);class ObjectSlice extends _{map(i,s){return this.elements.map((u=>i.bind(s)(u.value,u.key,u)))}filter(i,s){return new ObjectSlice(this.elements.filter((u=>i.bind(s)(u.value,u.key,u))))}reject(i,s){return this.filter(m(i.bind(s)))}forEach(i,s){return this.elements.forEach(((u,m)=>{i.bind(s)(u.value,u.key,u,m)}))}keys(){return this.map(((i,s)=>s.toValue()))}values(){return this.map((i=>i.toValue()))}}i.exports=ObjectSlice},99829:(i,s,u)=>{const m=u(3079),_=u(96295),j=u(16036),M=u(91090),$=u(18866),W=u(35804),X=u(5946),Y=u(76735),Z=u(59964),ee=u(38588),ae=u(42566),ie=u(87526),le=u(17645);function refract(i){if(i instanceof m)return i;if("string"==typeof i)return new j(i);if("number"==typeof i)return new M(i);if("boolean"==typeof i)return new $(i);if(null===i)return new _;if(Array.isArray(i))return new W(i.map(refract));if("object"==typeof i){return new Y(i)}return i}m.prototype.ObjectElement=Y,m.prototype.RefElement=ee,m.prototype.MemberElement=X,m.prototype.refract=refract,ae.prototype.refract=refract,i.exports={Element:m,NullElement:_,StringElement:j,NumberElement:M,BooleanElement:$,ArrayElement:W,MemberElement:X,ObjectElement:Y,LinkElement:Z,RefElement:ee,refract,ArraySlice:ae,ObjectSlice:ie,KeyValuePair:le}},59964:(i,s,u)=>{const m=u(3079);i.exports=class LinkElement extends m{constructor(i,s,u){super(i||[],s,u),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(i){this.attributes.set("relation",i)}get href(){return this.attributes.get("href")}set href(i){this.attributes.set("href",i)}}},38588:(i,s,u)=>{const m=u(3079);i.exports=class RefElement extends m{constructor(i,s,u){super(i||[],s,u),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(i){this.attributes.set("path",i)}}},43500:(i,s,u)=>{const m=u(78520),_=u(99829);s.lS=m,s.KeyValuePair=u(17645),s.O4=_.ArraySlice,s.rm=_.ObjectSlice,s.W_=_.Element,s.RP=_.StringElement,s.VL=_.NumberElement,s.hh=_.BooleanElement,s.zr=_.NullElement,s.ON=_.ArrayElement,s.Sb=_.ObjectElement,s.c6=_.MemberElement,s.tK=_.RefElement,s.EA=_.LinkElement,s.Qc=_.refract,u(28219),u(3414)},35804:(i,s,u)=>{const m=u(94885),_=u(3079),j=u(42566);class ArrayElement extends _{constructor(i,s,u){super(i||[],s,u),this.element="array"}primitive(){return"array"}get(i){return this.content[i]}getValue(i){const s=this.get(i);if(s)return s.toValue()}getIndex(i){return this.content[i]}set(i,s){return this.content[i]=this.refract(s),this}remove(i){const s=this.content.splice(i,1);return s.length?s[0]:null}map(i,s){return this.content.map(i,s)}flatMap(i,s){return this.map(i,s).reduce(((i,s)=>i.concat(s)),[])}compactMap(i,s){const u=[];return this.forEach((m=>{const _=i.bind(s)(m);_&&u.push(_)})),u}filter(i,s){return new j(this.content.filter(i,s))}reject(i,s){return this.filter(m(i),s)}reduce(i,s){let u,m;void 0!==s?(u=0,m=this.refract(s)):(u=1,m="object"===this.primitive()?this.first.value:this.first);for(let s=u;s{i.bind(s)(u,this.refract(m))}))}shift(){return this.content.shift()}unshift(i){this.content.unshift(this.refract(i))}push(i){return this.content.push(this.refract(i)),this}add(i){this.push(i)}findElements(i,s){const u=s||{},m=!!u.recursive,_=void 0===u.results?[]:u.results;return this.forEach(((s,u,j)=>{m&&void 0!==s.findElements&&s.findElements(i,{results:_,recursive:m}),i(s,u,j)&&_.push(s)})),_}find(i){return new j(this.findElements(i,{recursive:!0}))}findByElement(i){return this.find((s=>s.element===i))}findByClass(i){return this.find((s=>s.classes.includes(i)))}getById(i){return this.find((s=>s.id.toValue()===i)).first}includes(i){return this.content.some((s=>s.equals(i)))}contains(i){return this.includes(i)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(i){return new this.constructor(this.content.concat(i.content))}"fantasy-land/concat"(i){return this.concat(i)}"fantasy-land/map"(i){return new this.constructor(this.map(i))}"fantasy-land/chain"(i){return this.map((s=>i(s)),this).reduce(((i,s)=>i.concat(s)),this.empty())}"fantasy-land/filter"(i){return new this.constructor(this.content.filter(i))}"fantasy-land/reduce"(i,s){return this.content.reduce(i,s)}get length(){return this.content.length}get isEmpty(){return 0===this.content.length}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}ArrayElement.empty=function empty(){return new this},ArrayElement["fantasy-land/empty"]=ArrayElement.empty,"undefined"!=typeof Symbol&&(ArrayElement.prototype[Symbol.iterator]=function symbol(){return this.content[Symbol.iterator]()}),i.exports=ArrayElement},18866:(i,s,u)=>{const m=u(3079);i.exports=class BooleanElement extends m{constructor(i,s,u){super(i,s,u),this.element="boolean"}primitive(){return"boolean"}}},3079:(i,s,u)=>{const m=u(18446),_=u(17645),j=u(42566);class Element{constructor(i,s,u){s&&(this.meta=s),u&&(this.attributes=u),this.content=i}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((i=>{i.parent=this,i.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const i=new this.constructor;return i.element=this.element,this.meta.length&&(i._meta=this.meta.clone()),this.attributes.length&&(i._attributes=this.attributes.clone()),this.content?this.content.clone?i.content=this.content.clone():Array.isArray(this.content)?i.content=this.content.map((i=>i.clone())):i.content=this.content:i.content=this.content,i}toValue(){return this.content instanceof Element?this.content.toValue():this.content instanceof _?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((i=>i.toValue()),this):this.content}toRef(i){if(""===this.id.toValue())throw Error("Cannot create reference to an element that does not contain an ID");const s=new this.RefElement(this.id.toValue());return i&&(s.path=i),s}findRecursive(...i){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const s=i.pop();let u=new j;const append=(i,s)=>(i.push(s),i),checkElement=(i,u)=>{u.element===s&&i.push(u);const m=u.findRecursive(s);return m&&m.reduce(append,i),u.content instanceof _&&(u.content.key&&checkElement(i,u.content.key),u.content.value&&checkElement(i,u.content.value)),i};return this.content&&(this.content.element&&checkElement(u,this.content),Array.isArray(this.content)&&this.content.reduce(checkElement,u)),i.isEmpty||(u=u.filter((s=>{let u=s.parents.map((i=>i.element));for(const s in i){const m=i[s],_=u.indexOf(m);if(-1===_)return!1;u=u.splice(0,_)}return!0}))),u}set(i){return this.content=i,this}equals(i){return m(this.toValue(),i)}getMetaProperty(i,s){if(!this.meta.hasKey(i)){if(this.isFrozen){const i=this.refract(s);return i.freeze(),i}this.meta.set(i,s)}return this.meta.get(i)}setMetaProperty(i,s){this.meta.set(i,s)}get element(){return this._storedElement||"element"}set element(i){this._storedElement=i}get content(){return this._content}set content(i){if(i instanceof Element)this._content=i;else if(i instanceof j)this.content=i.elements;else if("string"==typeof i||"number"==typeof i||"boolean"==typeof i||"null"===i||null==i)this._content=i;else if(i instanceof _)this._content=i;else if(Array.isArray(i))this._content=i.map(this.refract);else{if("object"!=typeof i)throw new Error("Cannot set content to given value");this._content=Object.keys(i).map((s=>new this.MemberElement(s,i[s])))}}get meta(){if(!this._meta){if(this.isFrozen){const i=new this.ObjectElement;return i.freeze(),i}this._meta=new this.ObjectElement}return this._meta}set meta(i){i instanceof this.ObjectElement?this._meta=i:this.meta.set(i||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const i=new this.ObjectElement;return i.freeze(),i}this._attributes=new this.ObjectElement}return this._attributes}set attributes(i){i instanceof this.ObjectElement?this._attributes=i:this.attributes.set(i||{})}get id(){return this.getMetaProperty("id","")}set id(i){this.setMetaProperty("id",i)}get classes(){return this.getMetaProperty("classes",[])}set classes(i){this.setMetaProperty("classes",i)}get title(){return this.getMetaProperty("title","")}set title(i){this.setMetaProperty("title",i)}get description(){return this.getMetaProperty("description","")}set description(i){this.setMetaProperty("description",i)}get links(){return this.getMetaProperty("links",[])}set links(i){this.setMetaProperty("links",i)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:i}=this;const s=new j;for(;i;)s.push(i),i=i.parent;return s}get children(){if(Array.isArray(this.content))return new j(this.content);if(this.content instanceof _){const i=new j([this.content.key]);return this.content.value&&i.push(this.content.value),i}return this.content instanceof Element?new j([this.content]):new j}get recursiveChildren(){const i=new j;return this.children.forEach((s=>{i.push(s),s.recursiveChildren.forEach((s=>{i.push(s)}))})),i}}i.exports=Element},5946:(i,s,u)=>{const m=u(17645),_=u(3079);i.exports=class MemberElement extends _{constructor(i,s,u,_){super(new m,u,_),this.element="member",this.key=i,this.value=s}get key(){return this.content.key}set key(i){this.content.key=this.refract(i)}get value(){return this.content.value}set value(i){this.content.value=this.refract(i)}}},96295:(i,s,u)=>{const m=u(3079);i.exports=class NullElement extends m{constructor(i,s,u){super(i||null,s,u),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},91090:(i,s,u)=>{const m=u(3079);i.exports=class NumberElement extends m{constructor(i,s,u){super(i,s,u),this.element="number"}primitive(){return"number"}}},76735:(i,s,u)=>{const m=u(94885),_=u(13218),j=u(35804),M=u(5946),$=u(87526);i.exports=class ObjectElement extends j{constructor(i,s,u){super(i||[],s,u),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((i,s)=>(i[s.key.toValue()]=s.value?s.value.toValue():void 0,i)),{})}get(i){const s=this.getMember(i);if(s)return s.value}getMember(i){if(void 0!==i)return this.content.find((s=>s.key.toValue()===i))}remove(i){let s=null;return this.content=this.content.filter((u=>u.key.toValue()!==i||(s=u,!1))),s}getKey(i){const s=this.getMember(i);if(s)return s.key}set(i,s){if(_(i))return Object.keys(i).forEach((s=>{this.set(s,i[s])})),this;const u=i,m=this.getMember(u);return m?m.value=s:this.content.push(new M(u,s)),this}keys(){return this.content.map((i=>i.key.toValue()))}values(){return this.content.map((i=>i.value.toValue()))}hasKey(i){return this.content.some((s=>s.key.equals(i)))}items(){return this.content.map((i=>[i.key.toValue(),i.value.toValue()]))}map(i,s){return this.content.map((u=>i.bind(s)(u.value,u.key,u)))}compactMap(i,s){const u=[];return this.forEach(((m,_,j)=>{const M=i.bind(s)(m,_,j);M&&u.push(M)})),u}filter(i,s){return new $(this.content).filter(i,s)}reject(i,s){return this.filter(m(i),s)}forEach(i,s){return this.content.forEach((u=>i.bind(s)(u.value,u.key,u)))}}},16036:(i,s,u)=>{const m=u(3079);i.exports=class StringElement extends m{constructor(i,s,u){super(i,s,u),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},3414:(i,s,u)=>{const m=u(28219);i.exports=class JSON06Serialiser extends m{serialise(i){if(!(i instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${i}\` is not an Element instance`);let s;i._attributes&&i.attributes.get("variable")&&(s=i.attributes.get("variable"));const u={element:i.element};i._meta&&i._meta.length>0&&(u.meta=this.serialiseObject(i.meta));const m="enum"===i.element||-1!==i.attributes.keys().indexOf("enumerations");if(m){const s=this.enumSerialiseAttributes(i);s&&(u.attributes=s)}else if(i._attributes&&i._attributes.length>0){let{attributes:m}=i;m.get("metadata")&&(m=m.clone(),m.set("meta",m.get("metadata")),m.remove("metadata")),"member"===i.element&&s&&(m=m.clone(),m.remove("variable")),m.length>0&&(u.attributes=this.serialiseObject(m))}if(m)u.content=this.enumSerialiseContent(i,u);else if(this[`${i.element}SerialiseContent`])u.content=this[`${i.element}SerialiseContent`](i,u);else if(void 0!==i.content){let m;s&&i.content.key?(m=i.content.clone(),m.key.attributes.set("variable",s),m=this.serialiseContent(m)):m=this.serialiseContent(i.content),this.shouldSerialiseContent(i,m)&&(u.content=m)}else this.shouldSerialiseContent(i,i.content)&&i instanceof this.namespace.elements.Array&&(u.content=[]);return u}shouldSerialiseContent(i,s){return"parseResult"===i.element||"httpRequest"===i.element||"httpResponse"===i.element||"category"===i.element||"link"===i.element||void 0!==s&&(!Array.isArray(s)||0!==s.length)}refSerialiseContent(i,s){return delete s.attributes,{href:i.toValue(),path:i.path.toValue()}}sourceMapSerialiseContent(i){return i.toValue()}dataStructureSerialiseContent(i){return[this.serialiseContent(i.content)]}enumSerialiseAttributes(i){const s=i.attributes.clone(),u=s.remove("enumerations")||new this.namespace.elements.Array([]),m=s.get("default");let _=s.get("samples")||new this.namespace.elements.Array([]);if(m&&m.content&&(m.content.attributes&&m.content.attributes.remove("typeAttributes"),s.set("default",new this.namespace.elements.Array([m.content]))),_.forEach((i=>{i.content&&i.content.element&&i.content.attributes.remove("typeAttributes")})),i.content&&0!==u.length&&_.unshift(i.content),_=_.map((i=>i instanceof this.namespace.elements.Array?[i]:new this.namespace.elements.Array([i.content]))),_.length&&s.set("samples",_),s.length>0)return this.serialiseObject(s)}enumSerialiseContent(i){if(i._attributes){const s=i.attributes.get("enumerations");if(s&&s.length>0)return s.content.map((i=>{const s=i.clone();return s.attributes.remove("typeAttributes"),this.serialise(s)}))}if(i.content){const s=i.content.clone();return s.attributes.remove("typeAttributes"),[this.serialise(s)]}return[]}deserialise(i){if("string"==typeof i)return new this.namespace.elements.String(i);if("number"==typeof i)return new this.namespace.elements.Number(i);if("boolean"==typeof i)return new this.namespace.elements.Boolean(i);if(null===i)return new this.namespace.elements.Null;if(Array.isArray(i))return new this.namespace.elements.Array(i.map(this.deserialise,this));const s=this.namespace.getElementClass(i.element),u=new s;u.element!==i.element&&(u.element=i.element),i.meta&&this.deserialiseObject(i.meta,u.meta),i.attributes&&this.deserialiseObject(i.attributes,u.attributes);const m=this.deserialiseContent(i.content);if(void 0===m&&null!==u.content||(u.content=m),"enum"===u.element){u.content&&u.attributes.set("enumerations",u.content);let i=u.attributes.get("samples");if(u.attributes.remove("samples"),i){const m=i;i=new this.namespace.elements.Array,m.forEach((m=>{m.forEach((m=>{const _=new s(m);_.element=u.element,i.push(_)}))}));const _=i.shift();u.content=_?_.content:void 0,u.attributes.set("samples",i)}else u.content=void 0;let m=u.attributes.get("default");if(m&&m.length>0){m=m.get(0);const i=new s(m);i.element=u.element,u.attributes.set("default",i)}}else if("dataStructure"===u.element&&Array.isArray(u.content))[u.content]=u.content;else if("category"===u.element){const i=u.attributes.get("meta");i&&(u.attributes.set("metadata",i),u.attributes.remove("meta"))}else"member"===u.element&&u.key&&u.key._attributes&&u.key._attributes.getValue("variable")&&(u.attributes.set("variable",u.key.attributes.get("variable")),u.key.attributes.remove("variable"));return u}serialiseContent(i){if(i instanceof this.namespace.elements.Element)return this.serialise(i);if(i instanceof this.namespace.KeyValuePair){const s={key:this.serialise(i.key)};return i.value&&(s.value=this.serialise(i.value)),s}return i&&i.map?i.map(this.serialise,this):i}deserialiseContent(i){if(i){if(i.element)return this.deserialise(i);if(i.key){const s=new this.namespace.KeyValuePair(this.deserialise(i.key));return i.value&&(s.value=this.deserialise(i.value)),s}if(i.map)return i.map(this.deserialise,this)}return i}shouldRefract(i){return!!(i._attributes&&i.attributes.keys().length||i._meta&&i.meta.keys().length)||"enum"!==i.element&&(i.element!==i.primitive()||"member"===i.element)}convertKeyToRefract(i,s){return this.shouldRefract(s)?this.serialise(s):"enum"===s.element?this.serialiseEnum(s):"array"===s.element?s.map((s=>this.shouldRefract(s)||"default"===i?this.serialise(s):"array"===s.element||"object"===s.element||"enum"===s.element?s.children.map((i=>this.serialise(i))):s.toValue())):"object"===s.element?(s.content||[]).map(this.serialise,this):s.toValue()}serialiseEnum(i){return i.children.map((i=>this.serialise(i)))}serialiseObject(i){const s={};return i.forEach(((i,u)=>{if(i){const m=u.toValue();s[m]=this.convertKeyToRefract(m,i)}})),s}deserialiseObject(i,s){Object.keys(i).forEach((u=>{s.set(u,this.deserialise(i[u]))}))}}},28219:i=>{i.exports=class JSONSerialiser{constructor(i){this.namespace=i||new this.Namespace}serialise(i){if(!(i instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${i}\` is not an Element instance`);const s={element:i.element};i._meta&&i._meta.length>0&&(s.meta=this.serialiseObject(i.meta)),i._attributes&&i._attributes.length>0&&(s.attributes=this.serialiseObject(i.attributes));const u=this.serialiseContent(i.content);return void 0!==u&&(s.content=u),s}deserialise(i){if(!i.element)throw new Error("Given value is not an object containing an element name");const s=new(this.namespace.getElementClass(i.element));s.element!==i.element&&(s.element=i.element),i.meta&&this.deserialiseObject(i.meta,s.meta),i.attributes&&this.deserialiseObject(i.attributes,s.attributes);const u=this.deserialiseContent(i.content);return void 0===u&&null!==s.content||(s.content=u),s}serialiseContent(i){if(i instanceof this.namespace.elements.Element)return this.serialise(i);if(i instanceof this.namespace.KeyValuePair){const s={key:this.serialise(i.key)};return i.value&&(s.value=this.serialise(i.value)),s}if(i&&i.map){if(0===i.length)return;return i.map(this.serialise,this)}return i}deserialiseContent(i){if(i){if(i.element)return this.deserialise(i);if(i.key){const s=new this.namespace.KeyValuePair(this.deserialise(i.key));return i.value&&(s.value=this.deserialise(i.value)),s}if(i.map)return i.map(this.deserialise,this)}return i}serialiseObject(i){const s={};if(i.forEach(((i,u)=>{i&&(s[u.toValue()]=this.serialise(i))})),0!==Object.keys(s).length)return s}deserialiseObject(i,s){Object.keys(i).forEach((u=>{s.set(u,this.deserialise(i[u]))}))}}},27418:i=>{"use strict";var s=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;i.exports=function shouldUseNative(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de","5"===Object.getOwnPropertyNames(i)[0])return!1;for(var s={},u=0;u<10;u++)s["_"+String.fromCharCode(u)]=u;if("0123456789"!==Object.getOwnPropertyNames(s).map((function(i){return s[i]})).join(""))return!1;var m={};return"abcdefghijklmnopqrst".split("").forEach((function(i){m[i]=i})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},m)).join("")}catch(i){return!1}}()?Object.assign:function(i,_){for(var j,M,$=function toObject(i){if(null==i)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}(i),W=1;W{var m="function"==typeof Map&&Map.prototype,_=Object.getOwnPropertyDescriptor&&m?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,j=m&&_&&"function"==typeof _.get?_.get:null,M=m&&Map.prototype.forEach,$="function"==typeof Set&&Set.prototype,W=Object.getOwnPropertyDescriptor&&$?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,X=$&&W&&"function"==typeof W.get?W.get:null,Y=$&&Set.prototype.forEach,Z="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,ee="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,ae="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,ie=Boolean.prototype.valueOf,le=Object.prototype.toString,ce=Function.prototype.toString,pe=String.prototype.match,de=String.prototype.slice,fe=String.prototype.replace,ye=String.prototype.toUpperCase,be=String.prototype.toLowerCase,_e=RegExp.prototype.test,we=Array.prototype.concat,Se=Array.prototype.join,xe=Array.prototype.slice,Pe=Math.floor,Ie="function"==typeof BigInt?BigInt.prototype.valueOf:null,Te=Object.getOwnPropertySymbols,Re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,qe="function"==typeof Symbol&&"object"==typeof Symbol.iterator,ze="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===qe||"symbol")?Symbol.toStringTag:null,Ve=Object.prototype.propertyIsEnumerable,We=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(i){return i.__proto__}:null);function addNumericSeparator(i,s){if(i===1/0||i===-1/0||i!=i||i&&i>-1e3&&i<1e3||_e.call(/e/,s))return s;var u=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof i){var m=i<0?-Pe(-i):Pe(i);if(m!==i){var _=String(m),j=de.call(s,_.length+1);return fe.call(_,u,"$&_")+"."+fe.call(fe.call(j,/([0-9]{3})/g,"$&_"),/_$/,"")}}return fe.call(s,u,"$&_")}var He=u(24654),Xe=He.custom,Ye=isSymbol(Xe)?Xe:null;function wrapQuotes(i,s,u){var m="double"===(u.quoteStyle||s)?'"':"'";return m+i+m}function quote(i){return fe.call(String(i),/"/g,""")}function isArray(i){return!("[object Array]"!==toStr(i)||ze&&"object"==typeof i&&ze in i)}function isRegExp(i){return!("[object RegExp]"!==toStr(i)||ze&&"object"==typeof i&&ze in i)}function isSymbol(i){if(qe)return i&&"object"==typeof i&&i instanceof Symbol;if("symbol"==typeof i)return!0;if(!i||"object"!=typeof i||!Re)return!1;try{return Re.call(i),!0}catch(i){}return!1}i.exports=function inspect_(i,s,u,m){var _=s||{};if(has(_,"quoteStyle")&&"single"!==_.quoteStyle&&"double"!==_.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has(_,"maxStringLength")&&("number"==typeof _.maxStringLength?_.maxStringLength<0&&_.maxStringLength!==1/0:null!==_.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var $=!has(_,"customInspect")||_.customInspect;if("boolean"!=typeof $&&"symbol"!==$)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has(_,"indent")&&null!==_.indent&&"\t"!==_.indent&&!(parseInt(_.indent,10)===_.indent&&_.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has(_,"numericSeparator")&&"boolean"!=typeof _.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var W=_.numericSeparator;if(void 0===i)return"undefined";if(null===i)return"null";if("boolean"==typeof i)return i?"true":"false";if("string"==typeof i)return inspectString(i,_);if("number"==typeof i){if(0===i)return 1/0/i>0?"0":"-0";var le=String(i);return W?addNumericSeparator(i,le):le}if("bigint"==typeof i){var ye=String(i)+"n";return W?addNumericSeparator(i,ye):ye}var _e=void 0===_.depth?5:_.depth;if(void 0===u&&(u=0),u>=_e&&_e>0&&"object"==typeof i)return isArray(i)?"[Array]":"[Object]";var Pe=function getIndent(i,s){var u;if("\t"===i.indent)u="\t";else{if(!("number"==typeof i.indent&&i.indent>0))return null;u=Se.call(Array(i.indent+1)," ")}return{base:u,prev:Se.call(Array(s+1),u)}}(_,u);if(void 0===m)m=[];else if(indexOf(m,i)>=0)return"[Circular]";function inspect(i,s,j){if(s&&(m=xe.call(m)).push(s),j){var M={depth:_.depth};return has(_,"quoteStyle")&&(M.quoteStyle=_.quoteStyle),inspect_(i,M,u+1,m)}return inspect_(i,_,u+1,m)}if("function"==typeof i&&!isRegExp(i)){var Te=function nameOf(i){if(i.name)return i.name;var s=pe.call(ce.call(i),/^function\s*([\w$]+)/);if(s)return s[1];return null}(i),Xe=arrObjKeys(i,inspect);return"[Function"+(Te?": "+Te:" (anonymous)")+"]"+(Xe.length>0?" { "+Se.call(Xe,", ")+" }":"")}if(isSymbol(i)){var Qe=qe?fe.call(String(i),/^(Symbol\(.*\))_[^)]*$/,"$1"):Re.call(i);return"object"!=typeof i||qe?Qe:markBoxed(Qe)}if(function isElement(i){if(!i||"object"!=typeof i)return!1;if("undefined"!=typeof HTMLElement&&i instanceof HTMLElement)return!0;return"string"==typeof i.nodeName&&"function"==typeof i.getAttribute}(i)){for(var et="<"+be.call(String(i.nodeName)),tt=i.attributes||[],rt=0;rt"}if(isArray(i)){if(0===i.length)return"[]";var nt=arrObjKeys(i,inspect);return Pe&&!function singleLineValues(i){for(var s=0;s=0)return!1;return!0}(nt)?"["+indentedJoin(nt,Pe)+"]":"[ "+Se.call(nt,", ")+" ]"}if(function isError(i){return!("[object Error]"!==toStr(i)||ze&&"object"==typeof i&&ze in i)}(i)){var ot=arrObjKeys(i,inspect);return"cause"in Error.prototype||!("cause"in i)||Ve.call(i,"cause")?0===ot.length?"["+String(i)+"]":"{ ["+String(i)+"] "+Se.call(ot,", ")+" }":"{ ["+String(i)+"] "+Se.call(we.call("[cause]: "+inspect(i.cause),ot),", ")+" }"}if("object"==typeof i&&$){if(Ye&&"function"==typeof i[Ye]&&He)return He(i,{depth:_e-u});if("symbol"!==$&&"function"==typeof i.inspect)return i.inspect()}if(function isMap(i){if(!j||!i||"object"!=typeof i)return!1;try{j.call(i);try{X.call(i)}catch(i){return!0}return i instanceof Map}catch(i){}return!1}(i)){var at=[];return M&&M.call(i,(function(s,u){at.push(inspect(u,i,!0)+" => "+inspect(s,i))})),collectionOf("Map",j.call(i),at,Pe)}if(function isSet(i){if(!X||!i||"object"!=typeof i)return!1;try{X.call(i);try{j.call(i)}catch(i){return!0}return i instanceof Set}catch(i){}return!1}(i)){var it=[];return Y&&Y.call(i,(function(s){it.push(inspect(s,i))})),collectionOf("Set",X.call(i),it,Pe)}if(function isWeakMap(i){if(!Z||!i||"object"!=typeof i)return!1;try{Z.call(i,Z);try{ee.call(i,ee)}catch(i){return!0}return i instanceof WeakMap}catch(i){}return!1}(i))return weakCollectionOf("WeakMap");if(function isWeakSet(i){if(!ee||!i||"object"!=typeof i)return!1;try{ee.call(i,ee);try{Z.call(i,Z)}catch(i){return!0}return i instanceof WeakSet}catch(i){}return!1}(i))return weakCollectionOf("WeakSet");if(function isWeakRef(i){if(!ae||!i||"object"!=typeof i)return!1;try{return ae.call(i),!0}catch(i){}return!1}(i))return weakCollectionOf("WeakRef");if(function isNumber(i){return!("[object Number]"!==toStr(i)||ze&&"object"==typeof i&&ze in i)}(i))return markBoxed(inspect(Number(i)));if(function isBigInt(i){if(!i||"object"!=typeof i||!Ie)return!1;try{return Ie.call(i),!0}catch(i){}return!1}(i))return markBoxed(inspect(Ie.call(i)));if(function isBoolean(i){return!("[object Boolean]"!==toStr(i)||ze&&"object"==typeof i&&ze in i)}(i))return markBoxed(ie.call(i));if(function isString(i){return!("[object String]"!==toStr(i)||ze&&"object"==typeof i&&ze in i)}(i))return markBoxed(inspect(String(i)));if(!function isDate(i){return!("[object Date]"!==toStr(i)||ze&&"object"==typeof i&&ze in i)}(i)&&!isRegExp(i)){var st=arrObjKeys(i,inspect),lt=We?We(i)===Object.prototype:i instanceof Object||i.constructor===Object,ct=i instanceof Object?"":"null prototype",ut=!lt&&ze&&Object(i)===i&&ze in i?de.call(toStr(i),8,-1):ct?"Object":"",pt=(lt||"function"!=typeof i.constructor?"":i.constructor.name?i.constructor.name+" ":"")+(ut||ct?"["+Se.call(we.call([],ut||[],ct||[]),": ")+"] ":"");return 0===st.length?pt+"{}":Pe?pt+"{"+indentedJoin(st,Pe)+"}":pt+"{ "+Se.call(st,", ")+" }"}return String(i)};var Qe=Object.prototype.hasOwnProperty||function(i){return i in this};function has(i,s){return Qe.call(i,s)}function toStr(i){return le.call(i)}function indexOf(i,s){if(i.indexOf)return i.indexOf(s);for(var u=0,m=i.length;us.maxStringLength){var u=i.length-s.maxStringLength,m="... "+u+" more character"+(u>1?"s":"");return inspectString(de.call(i,0,s.maxStringLength),s)+m}return wrapQuotes(fe.call(fe.call(i,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte),"single",s)}function lowbyte(i){var s=i.charCodeAt(0),u={8:"b",9:"t",10:"n",12:"f",13:"r"}[s];return u?"\\"+u:"\\x"+(s<16?"0":"")+ye.call(s.toString(16))}function markBoxed(i){return"Object("+i+")"}function weakCollectionOf(i){return i+" { ? }"}function collectionOf(i,s,u,m){return i+" ("+s+") {"+(m?indentedJoin(u,m):Se.call(u,", "))+"}"}function indentedJoin(i,s){if(0===i.length)return"";var u="\n"+s.prev+s.base;return u+Se.call(i,","+u)+"\n"+s.prev}function arrObjKeys(i,s){var u=isArray(i),m=[];if(u){m.length=i.length;for(var _=0;_{var s,u,m=i.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(i){if(s===setTimeout)return setTimeout(i,0);if((s===defaultSetTimout||!s)&&setTimeout)return s=setTimeout,setTimeout(i,0);try{return s(i,0)}catch(u){try{return s.call(null,i,0)}catch(u){return s.call(this,i,0)}}}!function(){try{s="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(i){s=defaultSetTimout}try{u="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(i){u=defaultClearTimeout}}();var _,j=[],M=!1,$=-1;function cleanUpNextTick(){M&&_&&(M=!1,_.length?j=_.concat(j):$=-1,j.length&&drainQueue())}function drainQueue(){if(!M){var i=runTimeout(cleanUpNextTick);M=!0;for(var s=j.length;s;){for(_=j,j=[];++$1)for(var u=1;u{"use strict";var m=u(50414);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,i.exports=function(){function shim(i,s,u,_,j,M){if(M!==m){var $=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw $.name="Invariant Violation",$}}function getShim(){return shim}shim.isRequired=shim;var i={array:shim,bigint:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return i.PropTypes=i,i}},45697:(i,s,u)=>{i.exports=u(92703)()},50414:i=>{"use strict";i.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},57129:(i,s)=>{"use strict";var u=Object.prototype.hasOwnProperty;function decode(i){try{return decodeURIComponent(i.replace(/\+/g," "))}catch(i){return null}}function encode(i){try{return encodeURIComponent(i)}catch(i){return null}}s.stringify=function querystringify(i,s){s=s||"";var m,_,j=[];for(_ in"string"!=typeof s&&(s="?"),i)if(u.call(i,_)){if((m=i[_])||null!=m&&!isNaN(m)||(m=""),_=encode(_),m=encode(m),null===_||null===m)continue;j.push(_+"="+m)}return j.length?s+j.join("&"):""},s.parse=function querystring(i){for(var s,u=/([^=?#&]+)=?([^&]*)/g,m={};s=u.exec(i);){var _=decode(s[1]),j=decode(s[2]);null===_||null===j||_ in m||(m[_]=j)}return m}},14419:(i,s,u)=>{const m=u(60697),_=u(69450),j=m.types;i.exports=class RandExp{constructor(i,s){if(this._setDefaults(i),i instanceof RegExp)this.ignoreCase=i.ignoreCase,this.multiline=i.multiline,i=i.source;else{if("string"!=typeof i)throw new Error("Expected a regexp or string");this.ignoreCase=s&&-1!==s.indexOf("i"),this.multiline=s&&-1!==s.indexOf("m")}this.tokens=m(i)}_setDefaults(i){this.max=null!=i.max?i.max:null!=RandExp.prototype.max?RandExp.prototype.max:100,this.defaultRange=i.defaultRange?i.defaultRange:this.defaultRange.clone(),i.randInt&&(this.randInt=i.randInt)}gen(){return this._gen(this.tokens,[])}_gen(i,s){var u,m,_,M,$;switch(i.type){case j.ROOT:case j.GROUP:if(i.followedBy||i.notFollowedBy)return"";for(i.remember&&void 0===i.groupNumber&&(i.groupNumber=s.push(null)-1),m="",M=0,$=(u=i.options?this._randSelect(i.options):i.stack).length;M<$;M++)m+=this._gen(u[M],s);return i.remember&&(s[i.groupNumber]=m),m;case j.POSITION:return"";case j.SET:var W=this._expand(i);return W.length?String.fromCharCode(this._randSelect(W)):"";case j.REPETITION:for(_=this.randInt(i.min,i.max===1/0?i.min+this.max:i.max),m="",M=0;M<_;M++)m+=this._gen(i.value,s);return m;case j.REFERENCE:return s[i.value-1]||"";case j.CHAR:var X=this.ignoreCase&&this._randBool()?this._toOtherCase(i.value):i.value;return String.fromCharCode(X)}}_toOtherCase(i){return i+(97<=i&&i<=122?-32:65<=i&&i<=90?32:0)}_randBool(){return!this.randInt(0,1)}_randSelect(i){return i instanceof _?i.index(this.randInt(0,i.length-1)):i[this.randInt(0,i.length-1)]}_expand(i){if(i.type===m.types.CHAR)return new _(i.value);if(i.type===m.types.RANGE)return new _(i.from,i.to);{let s=new _;for(let u=0;u{"use strict";var m=u(34155),_=65536,j=4294967295;var M=u(89509).Buffer,$=u.g.crypto||u.g.msCrypto;$&&$.getRandomValues?i.exports=function randomBytes(i,s){if(i>j)throw new RangeError("requested too many random bytes");var u=M.allocUnsafe(i);if(i>0)if(i>_)for(var W=0;W{"use strict";function _typeof(i){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"==typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof(i)}Object.defineProperty(s,"__esModule",{value:!0}),s.CopyToClipboard=void 0;var m=_interopRequireDefault(u(67294)),_=_interopRequireDefault(u(20640)),j=["text","onCopy","options","children"];function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}function ownKeys(i,s){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(i);s&&(m=m.filter((function(s){return Object.getOwnPropertyDescriptor(i,s).enumerable}))),u.push.apply(u,m)}return u}function _objectSpread(i){for(var s=1;s=0||(_[u]=i[u]);return _}(i,s);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(i);for(m=0;m=0||Object.prototype.propertyIsEnumerable.call(i,u)&&(_[u]=i[u])}return _}function _defineProperties(i,s){for(var u=0;u{"use strict";var m=u(74300).CopyToClipboard;m.CopyToClipboard=m,i.exports=m},53441:(i,s,u)=>{"use strict";function _typeof(i){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"==typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_typeof(i)}Object.defineProperty(s,"__esModule",{value:!0}),s.DebounceInput=void 0;var m=_interopRequireDefault(u(67294)),_=_interopRequireDefault(u(91296)),j=["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"];function _interopRequireDefault(i){return i&&i.__esModule?i:{default:i}}function _objectWithoutProperties(i,s){if(null==i)return{};var u,m,_=function _objectWithoutPropertiesLoose(i,s){if(null==i)return{};var u,m,_={},j=Object.keys(i);for(m=0;m=0||(_[u]=i[u]);return _}(i,s);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(i);for(m=0;m=0||Object.prototype.propertyIsEnumerable.call(i,u)&&(_[u]=i[u])}return _}function ownKeys(i,s){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(i);s&&(m=m.filter((function(s){return Object.getOwnPropertyDescriptor(i,s).enumerable}))),u.push.apply(u,m)}return u}function _objectSpread(i){for(var s=1;s=m?u.notify(i):s.length>_.length&&u.notify(_objectSpread(_objectSpread({},i),{},{target:_objectSpread(_objectSpread({},i.target),{},{value:""})}))}))})),_defineProperty(_assertThisInitialized(u),"onKeyDown",(function(i){"Enter"===i.key&&u.forceNotify(i);var s=u.props.onKeyDown;s&&(i.persist(),s(i))})),_defineProperty(_assertThisInitialized(u),"onBlur",(function(i){u.forceNotify(i);var s=u.props.onBlur;s&&(i.persist(),s(i))})),_defineProperty(_assertThisInitialized(u),"createNotifier",(function(i){if(i<0)u.notify=function(){return null};else if(0===i)u.notify=u.doNotify;else{var s=(0,_.default)((function(i){u.isDebouncing=!1,u.doNotify(i)}),i);u.notify=function(i){u.isDebouncing=!0,s(i)},u.flush=function(){return s.flush()},u.cancel=function(){u.isDebouncing=!1,s.cancel()}}})),_defineProperty(_assertThisInitialized(u),"doNotify",(function(){u.props.onChange.apply(void 0,arguments)})),_defineProperty(_assertThisInitialized(u),"forceNotify",(function(i){var s=u.props.debounceTimeout;if(u.isDebouncing||!(s>0)){u.cancel&&u.cancel();var m=u.state.value,_=u.props.minLength;m.length>=_?u.doNotify(i):u.doNotify(_objectSpread(_objectSpread({},i),{},{target:_objectSpread(_objectSpread({},i.target),{},{value:m})}))}})),u.isDebouncing=!1,u.state={value:void 0===i.value||null===i.value?"":i.value};var m=u.props.debounceTimeout;return u.createNotifier(m),u}return function _createClass(i,s,u){return s&&_defineProperties(i.prototype,s),u&&_defineProperties(i,u),Object.defineProperty(i,"prototype",{writable:!1}),i}(DebounceInput,[{key:"componentDidUpdate",value:function componentDidUpdate(i){if(!this.isDebouncing){var s=this.props,u=s.value,m=s.debounceTimeout,_=i.debounceTimeout,j=i.value,M=this.state.value;void 0!==u&&j!==u&&M!==u&&this.setState({value:u}),m!==_&&this.createNotifier(m)}}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.flush&&this.flush()}},{key:"render",value:function render(){var i,s,u=this.props,_=u.element,M=(u.onChange,u.value,u.minLength,u.debounceTimeout,u.forceNotifyByEnter),$=u.forceNotifyOnBlur,W=u.onKeyDown,X=u.onBlur,Y=u.inputRef,Z=_objectWithoutProperties(u,j),ee=this.state.value;i=M?{onKeyDown:this.onKeyDown}:W?{onKeyDown:W}:{},s=$?{onBlur:this.onBlur}:X?{onBlur:X}:{};var ae=Y?{ref:Y}:{};return m.default.createElement(_,_objectSpread(_objectSpread(_objectSpread(_objectSpread({},Z),{},{onChange:this.onChange,value:ee},i),s),ae))}}]),DebounceInput}(m.default.PureComponent);s.DebounceInput=M,_defineProperty(M,"defaultProps",{element:"input",type:"text",onKeyDown:void 0,onBlur:void 0,value:void 0,minLength:0,debounceTimeout:100,forceNotifyByEnter:!0,forceNotifyOnBlur:!0,inputRef:void 0})},775:(i,s,u)=>{"use strict";var m=u(53441).DebounceInput;m.DebounceInput=m,i.exports=m},64448:(i,s,u)=>{"use strict";var m=u(67294),_=u(27418),j=u(63840);function y(i){for(var s="https://reactjs.org/docs/error-decoder.html?invariant="+i,u=1;u