From 6e210ead8ac1067e60f25cdff0eda017c8bff34c Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Thu, 10 Oct 2024 10:27:10 +0800 Subject: [PATCH 1/2] Upgrade to ABP version 8.3.1 --- apps/angular/package.json | 50 +- .../EShopOnAbp.PublicWeb.csproj | 18 +- .../src/EShopOnAbp.PublicWeb/package.json | 4 +- .../src/EShopOnAbp.PublicWeb/yarn.lock | 140 +- aspire/AppHost/Program.cs | 2 +- aspire/AppHost/eShopOnAbp.AppHost.csproj | 2 +- ...rationService.Application.Contracts.csproj | 4 +- ...p.AdministrationService.Application.csproj | 6 +- ...AdministrationService.Domain.Shared.csproj | 6 +- .../AdministrationServiceDomainModule.cs | 12 +- ...pOnAbp.AdministrationService.Domain.csproj | 8 +- ...strationService.EntityFrameworkCore.csproj | 10 +- ...dministrationService.HttpApi.Client.csproj | 4 +- ....AdministrationService.HttpApi.Host.csproj | 2 +- ...OnAbp.AdministrationService.HttpApi.csproj | 4 +- ...onService.EntityFrameworkCore.Tests.csproj | 2 +- ...nAbp.AdministrationService.TestBase.csproj | 6 +- .../EShopOnAbp.BasketService.Contracts.csproj | 6 +- .../EShopOnAbp.BasketService.csproj | 12 +- ...atalogService.Application.Contracts.csproj | 4 +- ...hopOnAbp.CatalogService.Application.csproj | 2 +- ...pOnAbp.CatalogService.Domain.Shared.csproj | 2 +- .../EShopOnAbp.CatalogService.Domain.csproj | 4 +- ...OnAbp.CatalogService.HttpApi.Client.csproj | 2 +- .../EShopOnAbp.CatalogService.HttpApi.csproj | 2 +- .../EShopOnAbp.CatalogService.MongoDB.csproj | 2 +- ...rvice.HttpApi.Client.ConsoleTestApp.csproj | 2 +- .../EShopOnAbp.CatalogService.TestBase.csproj | 8 +- ...CmskitService.Application.Contracts.csproj | 6 +- ...ShopOnAbp.CmskitService.Application.csproj | 6 +- ...opOnAbp.CmskitService.Domain.Shared.csproj | 4 +- .../EShopOnAbp.CmskitService.Domain.csproj | 4 +- ...p.CmskitService.EntityFrameworkCore.csproj | 4 +- .../CmskitServiceDbContext.cs | 3 + ...0241010022306_Abp_8_3_1_Update.Designer.cs | 208 +++ .../20241010022306_Abp_8_3_1_Update.cs | 28 + .../CmskitServiceDbContextModelSnapshot.cs | 5 +- ...pOnAbp.CmskitService.HttpApi.Client.csproj | 4 +- ...hopOnAbp.CmskitService.HttpApi.Host.csproj | 2 +- .../EShopOnAbp.CmskitService.HttpApi.csproj | 4 +- ...itService.EntityFrameworkCore.Tests.csproj | 2 +- .../EShopOnAbp.CmskitService.TestBase.csproj | 6 +- ...entityService.Application.Contracts.csproj | 2 +- ...opOnAbp.IdentityService.Application.csproj | 4 +- ...OnAbp.IdentityService.Domain.Shared.csproj | 2 +- .../EShopOnAbp.IdentityService.Domain.csproj | 2 +- ...IdentityService.EntityFrameworkCore.csproj | 4 +- .../IdentityServiceDbContext.cs | 2 + ...0241010022412_Abp_8_3_1_Update.Designer.cs | 849 +++++++++ .../20241010022412_Abp_8_3_1_Update.cs | 57 + .../IdentityServiceDbContextModelSnapshot.cs | 1641 +++++++++-------- ...nAbp.IdentityService.HttpApi.Client.csproj | 2 +- .../EShopOnAbp.IdentityService.HttpApi.csproj | 2 +- ...tyService.EntityFrameworkCore.Tests.csproj | 2 +- ...EShopOnAbp.IdentityService.TestBase.csproj | 6 +- ...deringService.Application.Contracts.csproj | 4 +- ...opOnAbp.OrderingService.Application.csproj | 6 +- ...OnAbp.OrderingService.Domain.Shared.csproj | 2 +- .../EShopOnAbp.OrderingService.Domain.csproj | 2 +- ...OrderingService.EntityFrameworkCore.csproj | 2 +- ...nAbp.OrderingService.HttpApi.Client.csproj | 2 +- ...pOnAbp.OrderingService.HttpApi.Host.csproj | 4 +- .../EShopOnAbp.OrderingService.HttpApi.csproj | 2 +- ...ngService.EntityFrameworkCore.Tests.csproj | 2 +- ...rvice.HttpApi.Client.ConsoleTestApp.csproj | 2 +- ...EShopOnAbp.OrderingService.TestBase.csproj | 6 +- ...aymentService.Application.Contracts.csproj | 4 +- ...hopOnAbp.PaymentService.Application.csproj | 6 +- ...pOnAbp.PaymentService.Domain.Shared.csproj | 2 +- .../EShopOnAbp.PaymentService.Domain.csproj | 2 +- ....PaymentService.EntityFrameworkCore.csproj | 2 +- ...OnAbp.PaymentService.HttpApi.Client.csproj | 2 +- .../EShopOnAbp.PaymentService.HttpApi.csproj | 2 +- ...ntService.EntityFrameworkCore.Tests.csproj | 2 +- ...rvice.HttpApi.Client.ConsoleTestApp.csproj | 2 +- .../EShopOnAbp.PaymentService.TestBase.csproj | 6 +- ...ShopOnAbp.Shared.Hosting.AspNetCore.csproj | 4 +- ...pOnAbp.Shared.Hosting.Microservices.csproj | 14 +- .../EShopOnAbp.Shared.Hosting.csproj | 4 +- .../EShopOnAbp.Shared.Localization.csproj | 2 +- 80 files changed, 2238 insertions(+), 1037 deletions(-) create mode 100644 services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/Migrations/20241010022306_Abp_8_3_1_Update.Designer.cs create mode 100644 services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/Migrations/20241010022306_Abp_8_3_1_Update.cs create mode 100644 services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20241010022412_Abp_8_3_1_Update.Designer.cs create mode 100644 services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20241010022412_Abp_8_3_1_Update.cs diff --git a/apps/angular/package.json b/apps/angular/package.json index 94ccefd3..785cd986 100644 --- a/apps/angular/package.json +++ b/apps/angular/package.json @@ -12,35 +12,35 @@ }, "private": true, "dependencies": { - "@abp/ng.account": "^8.1.3", - "@abp/ng.components": "^8.1.3", - "@abp/ng.core": "^8.1.3", - "@abp/ng.identity": "^8.1.3", - "@abp/ng.oauth": "^8.1.3", - "@abp/ng.setting-management": "^8.1.3", - "@abp/ng.tenant-management": "^8.1.3", - "@abp/ng.theme.basic": "^8.1.3", - "@abp/ng.theme.lepton-x": "~3.0.0", - "@abp/ng.theme.shared": "^8.1.3", - "@angular/animations": "~17.0.0", - "@angular/common": "~17.0.0", - "@angular/compiler": "~17.0.0", - "@angular/core": "~17.0.0", - "@angular/forms": "~17.0.0", - "@angular/localize": "~17.0.0", - "@angular/platform-browser": "~17.0.0", - "@angular/platform-browser-dynamic": "~17.0.0", - "@angular/router": "~17.0.0", + "@abp/ng.account": "^8.3.1", + "@abp/ng.components": "^8.3.1", + "@abp/ng.core": "^8.3.1", + "@abp/ng.identity": "^8.3.1", + "@abp/ng.oauth": "^8.3.1", + "@abp/ng.setting-management": "^8.3.1", + "@abp/ng.tenant-management": "^8.3.1", + "@abp/ng.theme.basic": "^8.3.1", + "@abp/ng.theme.lepton-x": "~3.3.1", + "@abp/ng.theme.shared": "^8.3.1", + "@angular/animations": "~18.1.0", + "@angular/common": "~18.1.0", + "@angular/compiler": "~18.1.0", + "@angular/core": "~18.1.0", + "@angular/forms": "~18.1.0", + "@angular/localize": "~18.1.0", + "@angular/platform-browser": "~18.1.0", + "@angular/platform-browser-dynamic": "~18.1.0", + "@angular/router": "~18.1.0", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.14.2" }, "devDependencies": { - "@abp/ng.schematics": "^8.1.3", - "@angular-devkit/build-angular": "~17.0.0", - "@angular/cli": "~17.0.0", - "@angular/compiler-cli": "~17.0.0", - "@angular/language-service": "~17.0.0", + "@abp/ng.schematics": "^8.3.1", + "@angular-devkit/build-angular": "~18.1.0", + "@angular/cli": "~18.1.0", + "@angular/compiler-cli": "~18.1.0", + "@angular/language-service": "~18.1.0", "@types/jasmine": "~3.5.0", "@types/jasminewd2": "~2.0.3", "@types/node": "^12.11.1", @@ -57,6 +57,6 @@ "protractor": "~7.0.0", "ts-node": "~8.3.0", "tslint": "~6.1.0", - "typescript": "~5.2.2" + "typescript": "~5.4.0" } } \ No newline at end of file diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/EShopOnAbp.PublicWeb.csproj b/apps/public-web/src/EShopOnAbp.PublicWeb/EShopOnAbp.PublicWeb.csproj index 10b72932..062b63f8 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/EShopOnAbp.PublicWeb.csproj +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/EShopOnAbp.PublicWeb.csproj @@ -7,21 +7,21 @@ - - + + - - - - - + + + + + - - + + diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/package.json b/apps/public-web/src/EShopOnAbp.PublicWeb/package.json index 148ff04e..261725af 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/package.json +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/package.json @@ -4,7 +4,7 @@ "private": true, "dependencies": { "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~3.0.0", - "@abp/signalr": "^8.1.3", - "@abp/cms-kit": "^8.1.3" + "@abp/signalr": "^8.3.1", + "@abp/cms-kit": "^8.3.1" } } \ No newline at end of file diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/yarn.lock b/apps/public-web/src/EShopOnAbp.PublicWeb/yarn.lock index a7a3d11e..64b69fe6 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/yarn.lock +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/yarn.lock @@ -65,47 +65,47 @@ "@abp/core" "~7.2.3" bootstrap "^5.1.3" -"@abp/clipboard@~8.1.3": - version "8.1.3" - resolved "https://registry.yarnpkg.com/@abp/clipboard/-/clipboard-8.1.3.tgz#3b5cc3c231b70eca298f4e26323d57feb5d44dc4" +"@abp/clipboard@~8.3.1": + version "8.3.1" + resolved "https://registry.yarnpkg.com/@abp/clipboard/-/clipboard-8.3.1.tgz#3b5cc3c231b70eca298f4e26323d57feb5d44dc4" integrity sha512-NlTkjS2P0hXrtZhEou4iWGtSqnbPdkCO13HqyhS1UNYVYpi+hr9xbDQrHj37z+IDVPcjF77qGg1oSWzmpLAT5g== dependencies: - "@abp/core" "~8.1.3" + "@abp/core" "~8.3.1" clipboard "^2.0.8" -"@abp/cms-kit.admin@~8.1.3": - version "8.1.3" - resolved "https://registry.yarnpkg.com/@abp/cms-kit.admin/-/cms-kit.admin-8.1.3.tgz#700e846dc2d1b9e19be05b14ffb89fa0696af5df" +"@abp/cms-kit.admin@~8.3.1": + version "8.3.1" + resolved "https://registry.yarnpkg.com/@abp/cms-kit.admin/-/cms-kit.admin-8.3.1.tgz#700e846dc2d1b9e19be05b14ffb89fa0696af5df" integrity sha512-shVepiLMbfdspCgZtWWp+fmBo5qHC8AFLVCZYG7oQm4Ijf1cr0rR0KI/oNyMl8PvlMY0QK39vEX9F5zjYQMp3Q== dependencies: - "@abp/codemirror" "~8.1.3" - "@abp/jstree" "~8.1.3" - "@abp/slugify" "~8.1.3" - "@abp/tui-editor" "~8.1.3" - "@abp/uppy" "~8.1.3" + "@abp/codemirror" "~8.3.1" + "@abp/jstree" "~8.3.1" + "@abp/slugify" "~8.3.1" + "@abp/tui-editor" "~8.3.1" + "@abp/uppy" "~8.3.1" -"@abp/cms-kit.public@~8.1.3": - version "8.1.3" - resolved "https://registry.yarnpkg.com/@abp/cms-kit.public/-/cms-kit.public-8.1.3.tgz#54439fc466b65e8866fe685d378ffd03d18f58e1" +"@abp/cms-kit.public@~8.3.1": + version "8.3.1" + resolved "https://registry.yarnpkg.com/@abp/cms-kit.public/-/cms-kit.public-8.3.1.tgz#54439fc466b65e8866fe685d378ffd03d18f58e1" integrity sha512-R8wnZEYb0xKO10w5uDuFHhKgRHJYC3UXnlxf6SA9KHBFTVVbR9OwUSV69apgUj9YWD0PtKRhTiRYOZSyEGvZAQ== dependencies: - "@abp/highlight.js" "~8.1.3" - "@abp/star-rating-svg" "~8.1.3" + "@abp/highlight.js" "~8.3.1" + "@abp/star-rating-svg" "~8.3.1" -"@abp/cms-kit@^8.1.3": - version "8.1.3" - resolved "https://registry.yarnpkg.com/@abp/cms-kit/-/cms-kit-8.1.3.tgz#32e2f03b2020053f703f5ee2ac98a508b138d5c5" +"@abp/cms-kit@^8.3.1": + version "8.3.1" + resolved "https://registry.yarnpkg.com/@abp/cms-kit/-/cms-kit-8.3.1.tgz#32e2f03b2020053f703f5ee2ac98a508b138d5c5" integrity sha512-ZOpU8YBhWXbzFgCGw1EMpCZE59BNTlxx2WJiUDynYJGHGPeUUHOlePhWgBB2qbvmjhKjuNFYDp9LkoI1Kj0VLg== dependencies: - "@abp/cms-kit.admin" "~8.1.3" - "@abp/cms-kit.public" "~8.1.3" + "@abp/cms-kit.admin" "~8.3.1" + "@abp/cms-kit.public" "~8.3.1" -"@abp/codemirror@~8.1.3": - version "8.1.3" - resolved "https://registry.yarnpkg.com/@abp/codemirror/-/codemirror-8.1.3.tgz#39d0e4bf1c56fdb453c16a69de34cd76330e809c" +"@abp/codemirror@~8.3.1": + version "8.3.1" + resolved "https://registry.yarnpkg.com/@abp/codemirror/-/codemirror-8.3.1.tgz#39d0e4bf1c56fdb453c16a69de34cd76330e809c" integrity sha512-Mrrbpi6hI/98KBw9hY+kA7MeH5Yka6iDfReLwMonz9fNLp64sQNaKjitOHEVthnCYIL4JK3fM/qO4I27njV7fQ== dependencies: - "@abp/core" "~8.1.3" + "@abp/core" "~8.3.1" codemirror "^5.65.1" "@abp/core@~7.2.3": @@ -115,12 +115,12 @@ dependencies: "@abp/utils" "~7.2.3" -"@abp/core@~8.1.3": - version "8.1.3" - resolved "https://registry.yarnpkg.com/@abp/core/-/core-8.1.3.tgz#302781073f0156456a96f85e7974b31afcbb0ffa" +"@abp/core@~8.3.1": + version "8.3.1" + resolved "https://registry.yarnpkg.com/@abp/core/-/core-8.3.1.tgz#302781073f0156456a96f85e7974b31afcbb0ffa" integrity sha512-8FfOu57AQ1/z26M6cYHp0fViiVBKVMOuoG5Lm0ZZBUljnxFS9jzP/vyLm1ZnNNg0dSdsnnl3Qb3j4myZvnUVsw== dependencies: - "@abp/utils" "~8.1.3" + "@abp/utils" "~8.3.1" "@abp/datatables.net-bs5@~7.2.3": version "7.2.3" @@ -146,12 +146,12 @@ "@abp/core" "~7.2.3" "@fortawesome/fontawesome-free" "^5.15.4" -"@abp/highlight.js@~8.1.3": - version "8.1.3" - resolved "https://registry.yarnpkg.com/@abp/highlight.js/-/highlight.js-8.1.3.tgz#e96f8762db4b207d058587b6b07a4c38aec71c72" +"@abp/highlight.js@~8.3.1": + version "8.3.1" + resolved "https://registry.yarnpkg.com/@abp/highlight.js/-/highlight.js-8.3.1.tgz#e96f8762db4b207d058587b6b07a4c38aec71c72" integrity sha512-woZxisPOH+VXkNDoS7DfjEzFzsTM96Vw372BNGyCV1i5IAsAeCaUKNTSpmxx9bmra5SHirb4x8nqQGb1Vd2+Eg== dependencies: - "@abp/core" "~8.1.3" + "@abp/core" "~8.3.1" "@highlightjs/cdn-assets" "~11.4.0" "@abp/jquery-form@~7.2.3": @@ -186,20 +186,20 @@ "@abp/core" "~7.2.3" jquery "~3.6.0" -"@abp/jquery@~8.1.3": - version "8.1.3" - resolved "https://registry.yarnpkg.com/@abp/jquery/-/jquery-8.1.3.tgz#b1308d80cc946d63061ea6873bb72f242e50a0a5" +"@abp/jquery@~8.3.1": + version "8.3.1" + resolved "https://registry.yarnpkg.com/@abp/jquery/-/jquery-8.3.1.tgz#b1308d80cc946d63061ea6873bb72f242e50a0a5" integrity sha512-1QIIgwXuQ5hNRK0Ck/JX5c17ukF/mW29gea2Y4j5pAtWzXpslOCN9elI+VGWb8/FIqn7ZxIVjaHepeVRqz3h8g== dependencies: - "@abp/core" "~8.1.3" + "@abp/core" "~8.3.1" jquery "~3.6.0" -"@abp/jstree@~8.1.3": - version "8.1.3" - resolved "https://registry.yarnpkg.com/@abp/jstree/-/jstree-8.1.3.tgz#26321504090679bd736d630df25a235282d4f62a" +"@abp/jstree@~8.3.1": + version "8.3.1" + resolved "https://registry.yarnpkg.com/@abp/jstree/-/jstree-8.3.1.tgz#26321504090679bd736d630df25a235282d4f62a" integrity sha512-1hWfzwbC2SRB+oWMs+ZSnYm/qBP2p7VOtLjWvspcE3xOI4OglSOjrb5+GIwx5StDYXsTlQhkl5mBTpI0symxlA== dependencies: - "@abp/jquery" "~8.1.3" + "@abp/jquery" "~8.3.1" jstree "^3.3.12" "@abp/lodash@~7.2.3": @@ -233,13 +233,13 @@ dependencies: moment "^2.9.0" -"@abp/prismjs@~8.1.3": - version "8.1.3" - resolved "https://registry.yarnpkg.com/@abp/prismjs/-/prismjs-8.1.3.tgz#2e59240bb568b2ffe588d91ff3b17e071aa3d247" +"@abp/prismjs@~8.3.1": + version "8.3.1" + resolved "https://registry.yarnpkg.com/@abp/prismjs/-/prismjs-8.3.1.tgz#2e59240bb568b2ffe588d91ff3b17e071aa3d247" integrity sha512-VulY+nXSJZepDeoG/MIOGRohsywC/AnIVmdzQJtdtz8z5tfBudNn3M60Dw1GLZz8NW7VdzvUlOoYwoV7apfBXQ== dependencies: - "@abp/clipboard" "~8.1.3" - "@abp/core" "~8.1.3" + "@abp/clipboard" "~8.3.1" + "@abp/core" "~8.3.1" prismjs "^1.26.0" "@abp/select2@~7.2.3": @@ -250,27 +250,27 @@ "@abp/core" "~7.2.3" select2 "^4.0.13" -"@abp/signalr@^8.1.3": - version "8.1.3" - resolved "https://registry.yarnpkg.com/@abp/signalr/-/signalr-8.1.3.tgz#d1821c453fc43bc1674e77fd22bf62f3aa248940" +"@abp/signalr@^8.3.1": + version "8.3.1" + resolved "https://registry.yarnpkg.com/@abp/signalr/-/signalr-8.3.1.tgz#d1821c453fc43bc1674e77fd22bf62f3aa248940" integrity sha512-yS42eXSpYUhHKL9iVpcs9m2LasVdJ+/XEvh9pRcyhz2+2VgRqNoJptDBwdkcLB03ThPfqKeNFeiPeHQg2qRJAQ== dependencies: - "@abp/core" "~8.1.3" + "@abp/core" "~8.3.1" "@microsoft/signalr" "~6.0.1" -"@abp/slugify@~8.1.3": - version "8.1.3" - resolved "https://registry.yarnpkg.com/@abp/slugify/-/slugify-8.1.3.tgz#3be2a07570ba4551b4635506cdb1b1a545cc4fbd" +"@abp/slugify@~8.3.1": + version "8.3.1" + resolved "https://registry.yarnpkg.com/@abp/slugify/-/slugify-8.3.1.tgz#3be2a07570ba4551b4635506cdb1b1a545cc4fbd" integrity sha512-9Pow9nENe+xPTxB9jWwqVFGkA+8VPvMDQUjc/8PIpPW+QbdtxiUbVCEKTifpavAszlmkKIpjAP4xKEaUn1JCVA== dependencies: slugify "^1.6.5" -"@abp/star-rating-svg@~8.1.3": - version "8.1.3" - resolved "https://registry.yarnpkg.com/@abp/star-rating-svg/-/star-rating-svg-8.1.3.tgz#dc808a0f1eb57007b919ef100dc26ed8b23e1de8" +"@abp/star-rating-svg@~8.3.1": + version "8.3.1" + resolved "https://registry.yarnpkg.com/@abp/star-rating-svg/-/star-rating-svg-8.3.1.tgz#dc808a0f1eb57007b919ef100dc26ed8b23e1de8" integrity sha512-F++i/z2o11gctBwqH4VuQMC8ptN/v8/cfaGSWmY5FeLo2tHU/OkwifbHEkXDkewg4vP30kEk+Z8Ux7voqOFqMA== dependencies: - "@abp/jquery" "~8.1.3" + "@abp/jquery" "~8.3.1" star-rating-svg "^3.5.0" "@abp/sweetalert2@~7.2.3": @@ -297,20 +297,20 @@ "@abp/jquery" "~7.2.3" toastr "^2.1.4" -"@abp/tui-editor@~8.1.3": - version "8.1.3" - resolved "https://registry.yarnpkg.com/@abp/tui-editor/-/tui-editor-8.1.3.tgz#22d663e62e986a3f2558b1cc79df9a8027552198" +"@abp/tui-editor@~8.3.1": + version "8.3.1" + resolved "https://registry.yarnpkg.com/@abp/tui-editor/-/tui-editor-8.3.1.tgz#22d663e62e986a3f2558b1cc79df9a8027552198" integrity sha512-WAXXVuM+xtjw0k58r8xgC2pNvbyEMB6d3t7jt8tCze5Zf4wZc2N1nHkMxxrDyJYWTezO0e6qVpyUe2Z7dxZTWw== dependencies: - "@abp/jquery" "~8.1.3" - "@abp/prismjs" "~8.1.3" + "@abp/jquery" "~8.3.1" + "@abp/prismjs" "~8.3.1" -"@abp/uppy@~8.1.3": - version "8.1.3" - resolved "https://registry.yarnpkg.com/@abp/uppy/-/uppy-8.1.3.tgz#6cb02e5e20e483d4b6a7857ec8e1bcee4c3a06b6" +"@abp/uppy@~8.3.1": + version "8.3.1" + resolved "https://registry.yarnpkg.com/@abp/uppy/-/uppy-8.3.1.tgz#6cb02e5e20e483d4b6a7857ec8e1bcee4c3a06b6" integrity sha512-Pn+Mgr1uT3lMg+EhB0QPlTAV9ESvu97aC0aA6kOUITLpWxBsohCS1lAJnVdXKBLqKb6eiv97NDpvIfglBLWYRQ== dependencies: - "@abp/core" "~8.1.3" + "@abp/core" "~8.3.1" uppy "^3.0.0" "@abp/utils@~7.2.3": @@ -320,9 +320,9 @@ dependencies: just-compare "^1.3.0" -"@abp/utils@~8.1.3": - version "8.1.3" - resolved "https://registry.yarnpkg.com/@abp/utils/-/utils-8.1.3.tgz#c826d93ac1c72462af9fb3dc649814df58cb6adb" +"@abp/utils@~8.3.1": + version "8.3.1" + resolved "https://registry.yarnpkg.com/@abp/utils/-/utils-8.3.1.tgz#c826d93ac1c72462af9fb3dc649814df58cb6adb" integrity sha512-Y5/vkavjLUlZBegkCElJ+I0TZMud/uNhg/0+MilsJXb23wHpuSDA4TRgJ4pRevDKA0kedWt+0J6LBH0XQD58LQ== dependencies: just-compare "^2.3.0" diff --git a/aspire/AppHost/Program.cs b/aspire/AppHost/Program.cs index 145346a2..04d44104 100644 --- a/aspire/AppHost/Program.cs +++ b/aspire/AppHost/Program.cs @@ -10,7 +10,7 @@ var administrationService = builder.AddProject("administrationService", profile); var identityService = builder.AddProject("identityService", profile); -var catalogService = builder.AddProject("catalogService", null) +var catalogService = builder.AddProject("catalogService") .WithHttpEndpoint(name: "http", port: 5054, isProxied: false) .WithEndpoint( endpointName: "grpc", diff --git a/aspire/AppHost/eShopOnAbp.AppHost.csproj b/aspire/AppHost/eShopOnAbp.AppHost.csproj index dcf25de7..2327bc63 100644 --- a/aspire/AppHost/eShopOnAbp.AppHost.csproj +++ b/aspire/AppHost/eShopOnAbp.AppHost.csproj @@ -10,7 +10,7 @@ - + diff --git a/services/administration/src/EShopOnAbp.AdministrationService.Application.Contracts/EShopOnAbp.AdministrationService.Application.Contracts.csproj b/services/administration/src/EShopOnAbp.AdministrationService.Application.Contracts/EShopOnAbp.AdministrationService.Application.Contracts.csproj index 0a54b9e3..0cd67830 100644 --- a/services/administration/src/EShopOnAbp.AdministrationService.Application.Contracts/EShopOnAbp.AdministrationService.Application.Contracts.csproj +++ b/services/administration/src/EShopOnAbp.AdministrationService.Application.Contracts/EShopOnAbp.AdministrationService.Application.Contracts.csproj @@ -14,8 +14,8 @@ - - + + diff --git a/services/administration/src/EShopOnAbp.AdministrationService.Application/EShopOnAbp.AdministrationService.Application.csproj b/services/administration/src/EShopOnAbp.AdministrationService.Application/EShopOnAbp.AdministrationService.Application.csproj index e199a7a6..b5c00ea2 100644 --- a/services/administration/src/EShopOnAbp.AdministrationService.Application/EShopOnAbp.AdministrationService.Application.csproj +++ b/services/administration/src/EShopOnAbp.AdministrationService.Application/EShopOnAbp.AdministrationService.Application.csproj @@ -11,9 +11,9 @@ - - - + + + diff --git a/services/administration/src/EShopOnAbp.AdministrationService.Domain.Shared/EShopOnAbp.AdministrationService.Domain.Shared.csproj b/services/administration/src/EShopOnAbp.AdministrationService.Domain.Shared/EShopOnAbp.AdministrationService.Domain.Shared.csproj index 2fb44882..eae1c23b 100644 --- a/services/administration/src/EShopOnAbp.AdministrationService.Domain.Shared/EShopOnAbp.AdministrationService.Domain.Shared.csproj +++ b/services/administration/src/EShopOnAbp.AdministrationService.Domain.Shared/EShopOnAbp.AdministrationService.Domain.Shared.csproj @@ -11,9 +11,9 @@ - - - + + + diff --git a/services/administration/src/EShopOnAbp.AdministrationService.Domain/AdministrationServiceDomainModule.cs b/services/administration/src/EShopOnAbp.AdministrationService.Domain/AdministrationServiceDomainModule.cs index 03a7f602..b2dc4d4d 100644 --- a/services/administration/src/EShopOnAbp.AdministrationService.Domain/AdministrationServiceDomainModule.cs +++ b/services/administration/src/EShopOnAbp.AdministrationService.Domain/AdministrationServiceDomainModule.cs @@ -18,12 +18,12 @@ public override void ConfigureServices(ServiceConfigurationContext context) { Configure(options => { - options.Languages.Add(new LanguageInfo("en", "en", "English", "gb")); - options.Languages.Add(new LanguageInfo("tr", "tr", "Türkçe", "tr")); - options.Languages.Add(new LanguageInfo("sl", "sl", "Slovenščina", "si")); - options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "简体中文", "cn")); - options.Languages.Add(new LanguageInfo("de-DE", "de-DE", "Deutsche", "de")); - options.Languages.Add(new LanguageInfo("es", "es", "Español", "es")); + options.Languages.Add(new LanguageInfo("en", "en", "English")); + options.Languages.Add(new LanguageInfo("tr", "tr", "Türkçe")); + options.Languages.Add(new LanguageInfo("sl", "sl", "Slovenščina")); + options.Languages.Add(new LanguageInfo("zh-Hans", "zh-Hans", "简体中文")); + options.Languages.Add(new LanguageInfo("de-DE", "de-DE", "Deutsche")); + options.Languages.Add(new LanguageInfo("es", "es", "Español")); }); } } diff --git a/services/administration/src/EShopOnAbp.AdministrationService.Domain/EShopOnAbp.AdministrationService.Domain.csproj b/services/administration/src/EShopOnAbp.AdministrationService.Domain/EShopOnAbp.AdministrationService.Domain.csproj index 852b2df0..3cb19512 100644 --- a/services/administration/src/EShopOnAbp.AdministrationService.Domain/EShopOnAbp.AdministrationService.Domain.csproj +++ b/services/administration/src/EShopOnAbp.AdministrationService.Domain/EShopOnAbp.AdministrationService.Domain.csproj @@ -10,10 +10,10 @@ - - - - + + + + diff --git a/services/administration/src/EShopOnAbp.AdministrationService.EntityFrameworkCore/EShopOnAbp.AdministrationService.EntityFrameworkCore.csproj b/services/administration/src/EShopOnAbp.AdministrationService.EntityFrameworkCore/EShopOnAbp.AdministrationService.EntityFrameworkCore.csproj index f3af85df..5d482738 100644 --- a/services/administration/src/EShopOnAbp.AdministrationService.EntityFrameworkCore/EShopOnAbp.AdministrationService.EntityFrameworkCore.csproj +++ b/services/administration/src/EShopOnAbp.AdministrationService.EntityFrameworkCore/EShopOnAbp.AdministrationService.EntityFrameworkCore.csproj @@ -13,11 +13,11 @@ - - - - - + + + + + diff --git a/services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Client/EShopOnAbp.AdministrationService.HttpApi.Client.csproj b/services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Client/EShopOnAbp.AdministrationService.HttpApi.Client.csproj index fe0ca1fd..a912ab83 100644 --- a/services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Client/EShopOnAbp.AdministrationService.HttpApi.Client.csproj +++ b/services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Client/EShopOnAbp.AdministrationService.HttpApi.Client.csproj @@ -10,8 +10,8 @@ - - + + diff --git a/services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Host/EShopOnAbp.AdministrationService.HttpApi.Host.csproj b/services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Host/EShopOnAbp.AdministrationService.HttpApi.Host.csproj index 05de816b..8e1fbad0 100644 --- a/services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Host/EShopOnAbp.AdministrationService.HttpApi.Host.csproj +++ b/services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Host/EShopOnAbp.AdministrationService.HttpApi.Host.csproj @@ -13,7 +13,7 @@ - + diff --git a/services/administration/src/EShopOnAbp.AdministrationService.HttpApi/EShopOnAbp.AdministrationService.HttpApi.csproj b/services/administration/src/EShopOnAbp.AdministrationService.HttpApi/EShopOnAbp.AdministrationService.HttpApi.csproj index 32f3bf4f..5b517a97 100644 --- a/services/administration/src/EShopOnAbp.AdministrationService.HttpApi/EShopOnAbp.AdministrationService.HttpApi.csproj +++ b/services/administration/src/EShopOnAbp.AdministrationService.HttpApi/EShopOnAbp.AdministrationService.HttpApi.csproj @@ -10,8 +10,8 @@ - - + + diff --git a/services/administration/test/EShopOnAbp.AdministrationService.EntityFrameworkCore.Tests/EShopOnAbp.AdministrationService.EntityFrameworkCore.Tests.csproj b/services/administration/test/EShopOnAbp.AdministrationService.EntityFrameworkCore.Tests/EShopOnAbp.AdministrationService.EntityFrameworkCore.Tests.csproj index b677c932..8b9dc091 100644 --- a/services/administration/test/EShopOnAbp.AdministrationService.EntityFrameworkCore.Tests/EShopOnAbp.AdministrationService.EntityFrameworkCore.Tests.csproj +++ b/services/administration/test/EShopOnAbp.AdministrationService.EntityFrameworkCore.Tests/EShopOnAbp.AdministrationService.EntityFrameworkCore.Tests.csproj @@ -8,7 +8,7 @@ - + diff --git a/services/administration/test/EShopOnAbp.AdministrationService.TestBase/EShopOnAbp.AdministrationService.TestBase.csproj b/services/administration/test/EShopOnAbp.AdministrationService.TestBase/EShopOnAbp.AdministrationService.TestBase.csproj index 80240eb9..77a58f9f 100644 --- a/services/administration/test/EShopOnAbp.AdministrationService.TestBase/EShopOnAbp.AdministrationService.TestBase.csproj +++ b/services/administration/test/EShopOnAbp.AdministrationService.TestBase/EShopOnAbp.AdministrationService.TestBase.csproj @@ -5,9 +5,9 @@ - - - + + + diff --git a/services/basket/src/EShopOnAbp.BasketService.Contracts/EShopOnAbp.BasketService.Contracts.csproj b/services/basket/src/EShopOnAbp.BasketService.Contracts/EShopOnAbp.BasketService.Contracts.csproj index 63741602..27ff1c04 100644 --- a/services/basket/src/EShopOnAbp.BasketService.Contracts/EShopOnAbp.BasketService.Contracts.csproj +++ b/services/basket/src/EShopOnAbp.BasketService.Contracts/EShopOnAbp.BasketService.Contracts.csproj @@ -8,9 +8,9 @@ - - - + + + diff --git a/services/basket/src/EShopOnAbp.BasketService/EShopOnAbp.BasketService.csproj b/services/basket/src/EShopOnAbp.BasketService/EShopOnAbp.BasketService.csproj index a136bec0..5689ad96 100644 --- a/services/basket/src/EShopOnAbp.BasketService/EShopOnAbp.BasketService.csproj +++ b/services/basket/src/EShopOnAbp.BasketService/EShopOnAbp.BasketService.csproj @@ -16,12 +16,12 @@ - - - - - - + + + + + + diff --git a/services/catalog/src/EShopOnAbp.CatalogService.Application.Contracts/EShopOnAbp.CatalogService.Application.Contracts.csproj b/services/catalog/src/EShopOnAbp.CatalogService.Application.Contracts/EShopOnAbp.CatalogService.Application.Contracts.csproj index 68363614..e452d400 100644 --- a/services/catalog/src/EShopOnAbp.CatalogService.Application.Contracts/EShopOnAbp.CatalogService.Application.Contracts.csproj +++ b/services/catalog/src/EShopOnAbp.CatalogService.Application.Contracts/EShopOnAbp.CatalogService.Application.Contracts.csproj @@ -12,8 +12,8 @@ - - + + diff --git a/services/catalog/src/EShopOnAbp.CatalogService.Application/EShopOnAbp.CatalogService.Application.csproj b/services/catalog/src/EShopOnAbp.CatalogService.Application/EShopOnAbp.CatalogService.Application.csproj index eea74d46..9fa6a71a 100644 --- a/services/catalog/src/EShopOnAbp.CatalogService.Application/EShopOnAbp.CatalogService.Application.csproj +++ b/services/catalog/src/EShopOnAbp.CatalogService.Application/EShopOnAbp.CatalogService.Application.csproj @@ -11,7 +11,7 @@ - + diff --git a/services/catalog/src/EShopOnAbp.CatalogService.Domain.Shared/EShopOnAbp.CatalogService.Domain.Shared.csproj b/services/catalog/src/EShopOnAbp.CatalogService.Domain.Shared/EShopOnAbp.CatalogService.Domain.Shared.csproj index 7e6347a3..62d76581 100644 --- a/services/catalog/src/EShopOnAbp.CatalogService.Domain.Shared/EShopOnAbp.CatalogService.Domain.Shared.csproj +++ b/services/catalog/src/EShopOnAbp.CatalogService.Domain.Shared/EShopOnAbp.CatalogService.Domain.Shared.csproj @@ -9,7 +9,7 @@ - + diff --git a/services/catalog/src/EShopOnAbp.CatalogService.Domain/EShopOnAbp.CatalogService.Domain.csproj b/services/catalog/src/EShopOnAbp.CatalogService.Domain/EShopOnAbp.CatalogService.Domain.csproj index 43bf692b..1021ca7f 100644 --- a/services/catalog/src/EShopOnAbp.CatalogService.Domain/EShopOnAbp.CatalogService.Domain.csproj +++ b/services/catalog/src/EShopOnAbp.CatalogService.Domain/EShopOnAbp.CatalogService.Domain.csproj @@ -12,8 +12,8 @@ - - + + diff --git a/services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Client/EShopOnAbp.CatalogService.HttpApi.Client.csproj b/services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Client/EShopOnAbp.CatalogService.HttpApi.Client.csproj index 7382c7ef..8cf39f64 100644 --- a/services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Client/EShopOnAbp.CatalogService.HttpApi.Client.csproj +++ b/services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Client/EShopOnAbp.CatalogService.HttpApi.Client.csproj @@ -12,7 +12,7 @@ - + diff --git a/services/catalog/src/EShopOnAbp.CatalogService.HttpApi/EShopOnAbp.CatalogService.HttpApi.csproj b/services/catalog/src/EShopOnAbp.CatalogService.HttpApi/EShopOnAbp.CatalogService.HttpApi.csproj index b958a60e..adc97436 100644 --- a/services/catalog/src/EShopOnAbp.CatalogService.HttpApi/EShopOnAbp.CatalogService.HttpApi.csproj +++ b/services/catalog/src/EShopOnAbp.CatalogService.HttpApi/EShopOnAbp.CatalogService.HttpApi.csproj @@ -12,7 +12,7 @@ - + diff --git a/services/catalog/src/EShopOnAbp.CatalogService.MongoDB/EShopOnAbp.CatalogService.MongoDB.csproj b/services/catalog/src/EShopOnAbp.CatalogService.MongoDB/EShopOnAbp.CatalogService.MongoDB.csproj index aca0a9a0..9d34c015 100644 --- a/services/catalog/src/EShopOnAbp.CatalogService.MongoDB/EShopOnAbp.CatalogService.MongoDB.csproj +++ b/services/catalog/src/EShopOnAbp.CatalogService.MongoDB/EShopOnAbp.CatalogService.MongoDB.csproj @@ -8,7 +8,7 @@ - + diff --git a/services/catalog/test/EShopOnAbp.CatalogService.HttpApi.Client.ConsoleTestApp/EShopOnAbp.CatalogService.HttpApi.Client.ConsoleTestApp.csproj b/services/catalog/test/EShopOnAbp.CatalogService.HttpApi.Client.ConsoleTestApp/EShopOnAbp.CatalogService.HttpApi.Client.ConsoleTestApp.csproj index 7ed38d35..2ff55506 100644 --- a/services/catalog/test/EShopOnAbp.CatalogService.HttpApi.Client.ConsoleTestApp/EShopOnAbp.CatalogService.HttpApi.Client.ConsoleTestApp.csproj +++ b/services/catalog/test/EShopOnAbp.CatalogService.HttpApi.Client.ConsoleTestApp/EShopOnAbp.CatalogService.HttpApi.Client.ConsoleTestApp.csproj @@ -19,7 +19,7 @@ - + diff --git a/services/catalog/test/EShopOnAbp.CatalogService.TestBase/EShopOnAbp.CatalogService.TestBase.csproj b/services/catalog/test/EShopOnAbp.CatalogService.TestBase/EShopOnAbp.CatalogService.TestBase.csproj index 701c34a9..8cdebe72 100644 --- a/services/catalog/test/EShopOnAbp.CatalogService.TestBase/EShopOnAbp.CatalogService.TestBase.csproj +++ b/services/catalog/test/EShopOnAbp.CatalogService.TestBase/EShopOnAbp.CatalogService.TestBase.csproj @@ -8,10 +8,10 @@ - - - - + + + + diff --git a/services/cmskit/src/EShopOnAbp.CmskitService.Application.Contracts/EShopOnAbp.CmskitService.Application.Contracts.csproj b/services/cmskit/src/EShopOnAbp.CmskitService.Application.Contracts/EShopOnAbp.CmskitService.Application.Contracts.csproj index 26750190..03fc04b8 100644 --- a/services/cmskit/src/EShopOnAbp.CmskitService.Application.Contracts/EShopOnAbp.CmskitService.Application.Contracts.csproj +++ b/services/cmskit/src/EShopOnAbp.CmskitService.Application.Contracts/EShopOnAbp.CmskitService.Application.Contracts.csproj @@ -8,9 +8,9 @@ - - - + + + diff --git a/services/cmskit/src/EShopOnAbp.CmskitService.Application/EShopOnAbp.CmskitService.Application.csproj b/services/cmskit/src/EShopOnAbp.CmskitService.Application/EShopOnAbp.CmskitService.Application.csproj index 16e503ed..7a8286ee 100644 --- a/services/cmskit/src/EShopOnAbp.CmskitService.Application/EShopOnAbp.CmskitService.Application.csproj +++ b/services/cmskit/src/EShopOnAbp.CmskitService.Application/EShopOnAbp.CmskitService.Application.csproj @@ -8,9 +8,9 @@ - - - + + + diff --git a/services/cmskit/src/EShopOnAbp.CmskitService.Domain.Shared/EShopOnAbp.CmskitService.Domain.Shared.csproj b/services/cmskit/src/EShopOnAbp.CmskitService.Domain.Shared/EShopOnAbp.CmskitService.Domain.Shared.csproj index 1266df0b..8dc89782 100644 --- a/services/cmskit/src/EShopOnAbp.CmskitService.Domain.Shared/EShopOnAbp.CmskitService.Domain.Shared.csproj +++ b/services/cmskit/src/EShopOnAbp.CmskitService.Domain.Shared/EShopOnAbp.CmskitService.Domain.Shared.csproj @@ -10,11 +10,11 @@ - + - + diff --git a/services/cmskit/src/EShopOnAbp.CmskitService.Domain/EShopOnAbp.CmskitService.Domain.csproj b/services/cmskit/src/EShopOnAbp.CmskitService.Domain/EShopOnAbp.CmskitService.Domain.csproj index 38e006f5..28c5afd3 100644 --- a/services/cmskit/src/EShopOnAbp.CmskitService.Domain/EShopOnAbp.CmskitService.Domain.csproj +++ b/services/cmskit/src/EShopOnAbp.CmskitService.Domain/EShopOnAbp.CmskitService.Domain.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/EShopOnAbp.CmskitService.EntityFrameworkCore.csproj b/services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/EShopOnAbp.CmskitService.EntityFrameworkCore.csproj index 21de8d93..786a002d 100644 --- a/services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/EShopOnAbp.CmskitService.EntityFrameworkCore.csproj +++ b/services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/EShopOnAbp.CmskitService.EntityFrameworkCore.csproj @@ -11,11 +11,11 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - + - + diff --git a/services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/EntityFrameworkCore/CmskitServiceDbContext.cs b/services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/EntityFrameworkCore/CmskitServiceDbContext.cs index 23640979..23b4e2f7 100644 --- a/services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/EntityFrameworkCore/CmskitServiceDbContext.cs +++ b/services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/EntityFrameworkCore/CmskitServiceDbContext.cs @@ -12,6 +12,7 @@ using Volo.CmsKit.Reactions; using Volo.CmsKit.Tags; using Volo.CmsKit.Users; +using Volo.CmsKit.MarkedItems; namespace EShopOnAbp.CmskitService.EntityFrameworkCore; @@ -50,6 +51,8 @@ public CmskitServiceDbContext(DbContextOptions options) public DbSet GlobalResources { get; set; } + public DbSet UserMarkedItems { get; set; } + protected override void OnModelCreating(ModelBuilder modelBuilder) { base.OnModelCreating(modelBuilder); diff --git a/services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/Migrations/20241010022306_Abp_8_3_1_Update.Designer.cs b/services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/Migrations/20241010022306_Abp_8_3_1_Update.Designer.cs new file mode 100644 index 00000000..acf7abe0 --- /dev/null +++ b/services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/Migrations/20241010022306_Abp_8_3_1_Update.Designer.cs @@ -0,0 +1,208 @@ +// +using System; +using EShopOnAbp.CmskitService.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; +using Volo.Abp.EntityFrameworkCore; + +#nullable disable + +namespace EShopOnAbp.CmskitService.Migrations +{ + [DbContext(typeof(CmskitServiceDbContext))] + [Migration("20241010022306_Abp_8_3_1_Update")] + partial class Abp_8_3_1_Update + { + /// + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.PostgreSql) + .HasAnnotation("ProductVersion", "8.0.5") + .HasAnnotation("Relational:MaxIdentifierLength", 63); + + NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); + + modelBuilder.Entity("Volo.CmsKit.Comments.Comment", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp without time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("EntityId") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("EntityType") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IdempotencyToken") + .HasMaxLength(32) + .HasColumnType("character varying(32)"); + + b.Property("IsApproved") + .HasColumnType("boolean"); + + b.Property("RepliedCommentId") + .HasColumnType("uuid"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("Text") + .IsRequired() + .HasMaxLength(512) + .HasColumnType("character varying(512)"); + + b.Property("Url") + .HasMaxLength(512) + .HasColumnType("character varying(512)"); + + b.HasKey("Id"); + + b.HasIndex("TenantId", "RepliedCommentId"); + + b.HasIndex("TenantId", "EntityType", "EntityId"); + + b.ToTable("CmsComments", (string)null); + }); + + modelBuilder.Entity("Volo.CmsKit.Ratings.Rating", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("CreationTime") + .HasColumnType("timestamp without time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("EntityId") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("EntityType") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("StarCount") + .HasColumnType("smallint"); + + b.Property("TenantId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("TenantId", "EntityType", "EntityId", "CreatorId"); + + b.ToTable("CmsRatings", (string)null); + }); + + modelBuilder.Entity("Volo.CmsKit.Users.CmsUser", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("Email") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("Email"); + + b.Property("EmailConfirmed") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("EmailConfirmed"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsActive") + .HasColumnType("boolean") + .HasColumnName("IsActive"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasColumnName("Name"); + + b.Property("PhoneNumber") + .HasMaxLength(16) + .HasColumnType("character varying(16)") + .HasColumnName("PhoneNumber"); + + b.Property("PhoneNumberConfirmed") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("PhoneNumberConfirmed"); + + b.Property("Surname") + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasColumnName("Surname"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("UserName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("UserName"); + + b.HasKey("Id"); + + b.HasIndex("TenantId", "Email"); + + b.HasIndex("TenantId", "UserName"); + + b.ToTable("CmsUsers", (string)null); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/Migrations/20241010022306_Abp_8_3_1_Update.cs b/services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/Migrations/20241010022306_Abp_8_3_1_Update.cs new file mode 100644 index 00000000..a158b7d4 --- /dev/null +++ b/services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/Migrations/20241010022306_Abp_8_3_1_Update.cs @@ -0,0 +1,28 @@ +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace EShopOnAbp.CmskitService.Migrations +{ + /// + public partial class Abp_8_3_1_Update : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.AddColumn( + name: "IsApproved", + table: "CmsComments", + type: "boolean", + nullable: true); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropColumn( + name: "IsApproved", + table: "CmsComments"); + } + } +} diff --git a/services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/Migrations/CmskitServiceDbContextModelSnapshot.cs b/services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/Migrations/CmskitServiceDbContextModelSnapshot.cs index 47f18943..43acff32 100644 --- a/services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/Migrations/CmskitServiceDbContextModelSnapshot.cs +++ b/services/cmskit/src/EShopOnAbp.CmskitService.EntityFrameworkCore/Migrations/CmskitServiceDbContextModelSnapshot.cs @@ -19,7 +19,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) #pragma warning disable 612, 618 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.PostgreSql) - .HasAnnotation("ProductVersion", "8.0.0") + .HasAnnotation("ProductVersion", "8.0.5") .HasAnnotation("Relational:MaxIdentifierLength", 63); NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); @@ -63,6 +63,9 @@ protected override void BuildModel(ModelBuilder modelBuilder) .HasMaxLength(32) .HasColumnType("character varying(32)"); + b.Property("IsApproved") + .HasColumnType("boolean"); + b.Property("RepliedCommentId") .HasColumnType("uuid"); diff --git a/services/cmskit/src/EShopOnAbp.CmskitService.HttpApi.Client/EShopOnAbp.CmskitService.HttpApi.Client.csproj b/services/cmskit/src/EShopOnAbp.CmskitService.HttpApi.Client/EShopOnAbp.CmskitService.HttpApi.Client.csproj index 196f1249..14c38905 100644 --- a/services/cmskit/src/EShopOnAbp.CmskitService.HttpApi.Client/EShopOnAbp.CmskitService.HttpApi.Client.csproj +++ b/services/cmskit/src/EShopOnAbp.CmskitService.HttpApi.Client/EShopOnAbp.CmskitService.HttpApi.Client.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/services/cmskit/src/EShopOnAbp.CmskitService.HttpApi.Host/EShopOnAbp.CmskitService.HttpApi.Host.csproj b/services/cmskit/src/EShopOnAbp.CmskitService.HttpApi.Host/EShopOnAbp.CmskitService.HttpApi.Host.csproj index 08334a98..11a26e0c 100644 --- a/services/cmskit/src/EShopOnAbp.CmskitService.HttpApi.Host/EShopOnAbp.CmskitService.HttpApi.Host.csproj +++ b/services/cmskit/src/EShopOnAbp.CmskitService.HttpApi.Host/EShopOnAbp.CmskitService.HttpApi.Host.csproj @@ -25,7 +25,7 @@ - + diff --git a/services/cmskit/src/EShopOnAbp.CmskitService.HttpApi/EShopOnAbp.CmskitService.HttpApi.csproj b/services/cmskit/src/EShopOnAbp.CmskitService.HttpApi/EShopOnAbp.CmskitService.HttpApi.csproj index 6a0bccd7..580f8b8c 100644 --- a/services/cmskit/src/EShopOnAbp.CmskitService.HttpApi/EShopOnAbp.CmskitService.HttpApi.csproj +++ b/services/cmskit/src/EShopOnAbp.CmskitService.HttpApi/EShopOnAbp.CmskitService.HttpApi.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/services/cmskit/test/EShopOnAbp.CmskitService.EntityFrameworkCore.Tests/EShopOnAbp.CmskitService.EntityFrameworkCore.Tests.csproj b/services/cmskit/test/EShopOnAbp.CmskitService.EntityFrameworkCore.Tests/EShopOnAbp.CmskitService.EntityFrameworkCore.Tests.csproj index b4af384e..a408eba7 100644 --- a/services/cmskit/test/EShopOnAbp.CmskitService.EntityFrameworkCore.Tests/EShopOnAbp.CmskitService.EntityFrameworkCore.Tests.csproj +++ b/services/cmskit/test/EShopOnAbp.CmskitService.EntityFrameworkCore.Tests/EShopOnAbp.CmskitService.EntityFrameworkCore.Tests.csproj @@ -8,7 +8,7 @@ - + diff --git a/services/cmskit/test/EShopOnAbp.CmskitService.TestBase/EShopOnAbp.CmskitService.TestBase.csproj b/services/cmskit/test/EShopOnAbp.CmskitService.TestBase/EShopOnAbp.CmskitService.TestBase.csproj index 7ccd8490..61608a01 100644 --- a/services/cmskit/test/EShopOnAbp.CmskitService.TestBase/EShopOnAbp.CmskitService.TestBase.csproj +++ b/services/cmskit/test/EShopOnAbp.CmskitService.TestBase/EShopOnAbp.CmskitService.TestBase.csproj @@ -12,9 +12,9 @@ - - - + + + diff --git a/services/identity/src/EShopOnAbp.IdentityService.Application.Contracts/EShopOnAbp.IdentityService.Application.Contracts.csproj b/services/identity/src/EShopOnAbp.IdentityService.Application.Contracts/EShopOnAbp.IdentityService.Application.Contracts.csproj index d00b8e0c..74a97b8d 100644 --- a/services/identity/src/EShopOnAbp.IdentityService.Application.Contracts/EShopOnAbp.IdentityService.Application.Contracts.csproj +++ b/services/identity/src/EShopOnAbp.IdentityService.Application.Contracts/EShopOnAbp.IdentityService.Application.Contracts.csproj @@ -10,7 +10,7 @@ - + diff --git a/services/identity/src/EShopOnAbp.IdentityService.Application/EShopOnAbp.IdentityService.Application.csproj b/services/identity/src/EShopOnAbp.IdentityService.Application/EShopOnAbp.IdentityService.Application.csproj index 1d7bec26..2b69c255 100644 --- a/services/identity/src/EShopOnAbp.IdentityService.Application/EShopOnAbp.IdentityService.Application.csproj +++ b/services/identity/src/EShopOnAbp.IdentityService.Application/EShopOnAbp.IdentityService.Application.csproj @@ -11,8 +11,8 @@ - - + + diff --git a/services/identity/src/EShopOnAbp.IdentityService.Domain.Shared/EShopOnAbp.IdentityService.Domain.Shared.csproj b/services/identity/src/EShopOnAbp.IdentityService.Domain.Shared/EShopOnAbp.IdentityService.Domain.Shared.csproj index 48344eb6..368411d2 100644 --- a/services/identity/src/EShopOnAbp.IdentityService.Domain.Shared/EShopOnAbp.IdentityService.Domain.Shared.csproj +++ b/services/identity/src/EShopOnAbp.IdentityService.Domain.Shared/EShopOnAbp.IdentityService.Domain.Shared.csproj @@ -10,7 +10,7 @@ - + diff --git a/services/identity/src/EShopOnAbp.IdentityService.Domain/EShopOnAbp.IdentityService.Domain.csproj b/services/identity/src/EShopOnAbp.IdentityService.Domain/EShopOnAbp.IdentityService.Domain.csproj index ca53f69d..8711be15 100644 --- a/services/identity/src/EShopOnAbp.IdentityService.Domain/EShopOnAbp.IdentityService.Domain.csproj +++ b/services/identity/src/EShopOnAbp.IdentityService.Domain/EShopOnAbp.IdentityService.Domain.csproj @@ -10,7 +10,7 @@ - + diff --git a/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EShopOnAbp.IdentityService.EntityFrameworkCore.csproj b/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EShopOnAbp.IdentityService.EntityFrameworkCore.csproj index 04b669d3..0c25baef 100644 --- a/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EShopOnAbp.IdentityService.EntityFrameworkCore.csproj +++ b/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EShopOnAbp.IdentityService.EntityFrameworkCore.csproj @@ -16,8 +16,8 @@ - - + + diff --git a/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EntityFrameworkCore/IdentityServiceDbContext.cs b/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EntityFrameworkCore/IdentityServiceDbContext.cs index c1e9cd41..59a9aff5 100644 --- a/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EntityFrameworkCore/IdentityServiceDbContext.cs +++ b/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EntityFrameworkCore/IdentityServiceDbContext.cs @@ -26,6 +26,8 @@ public class IdentityServiceDbContext : AbpDbContext, public DbSet LinkUsers { get; set; } public DbSet UserDelegations { get; } + public DbSet Sessions { get; set; } + public IdentityServiceDbContext(DbContextOptions options) : base(options) { diff --git a/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20241010022412_Abp_8_3_1_Update.Designer.cs b/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20241010022412_Abp_8_3_1_Update.Designer.cs new file mode 100644 index 00000000..6507ce3c --- /dev/null +++ b/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20241010022412_Abp_8_3_1_Update.Designer.cs @@ -0,0 +1,849 @@ +// +using System; +using EShopOnAbp.IdentityService.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Migrations; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; +using Volo.Abp.EntityFrameworkCore; + +#nullable disable + +namespace EShopOnAbp.IdentityService.Migrations +{ + [DbContext(typeof(IdentityServiceDbContext))] + [Migration("20241010022412_Abp_8_3_1_Update")] + partial class Abp_8_3_1_Update + { + /// + protected override void BuildTargetModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.PostgreSql) + .HasAnnotation("ProductVersion", "8.0.5") + .HasAnnotation("Relational:MaxIdentifierLength", 63); + + NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityClaimType", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("Description") + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsStatic") + .HasColumnType("boolean"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("Regex") + .HasMaxLength(512) + .HasColumnType("character varying(512)"); + + b.Property("RegexDescription") + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("Required") + .HasColumnType("boolean"); + + b.Property("ValueType") + .HasColumnType("integer"); + + b.HasKey("Id"); + + b.ToTable("AbpClaimTypes", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityLinkUser", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("SourceTenantId") + .HasColumnType("uuid"); + + b.Property("SourceUserId") + .HasColumnType("uuid"); + + b.Property("TargetTenantId") + .HasColumnType("uuid"); + + b.Property("TargetUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("SourceUserId", "SourceTenantId", "TargetUserId", "TargetTenantId") + .IsUnique(); + + b.ToTable("AbpLinkUsers", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityRole", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("EntityVersion") + .HasColumnType("integer"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsDefault") + .HasColumnType("boolean") + .HasColumnName("IsDefault"); + + b.Property("IsPublic") + .HasColumnType("boolean") + .HasColumnName("IsPublic"); + + b.Property("IsStatic") + .HasColumnType("boolean") + .HasColumnName("IsStatic"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("NormalizedName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("NormalizedName"); + + b.ToTable("AbpRoles", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ClaimType") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("ClaimValue") + .HasMaxLength(1024) + .HasColumnType("character varying(1024)"); + + b.Property("RoleId") + .HasColumnType("uuid"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("RoleId"); + + b.ToTable("AbpRoleClaims", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentitySecurityLog", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("Action") + .HasMaxLength(96) + .HasColumnType("character varying(96)"); + + b.Property("ApplicationName") + .HasMaxLength(96) + .HasColumnType("character varying(96)"); + + b.Property("BrowserInfo") + .HasMaxLength(512) + .HasColumnType("character varying(512)"); + + b.Property("ClientId") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("ClientIpAddress") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CorrelationId") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("CreationTime") + .HasColumnType("timestamp without time zone"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("Identity") + .HasMaxLength(96) + .HasColumnType("character varying(96)"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("TenantName") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("UserId") + .HasColumnType("uuid"); + + b.Property("UserName") + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.HasKey("Id"); + + b.HasIndex("TenantId", "Action"); + + b.HasIndex("TenantId", "ApplicationName"); + + b.HasIndex("TenantId", "Identity"); + + b.HasIndex("TenantId", "UserId"); + + b.ToTable("AbpSecurityLogs", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentitySession", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ClientId") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("Device") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("DeviceInfo") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("IpAddresses") + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("LastAccessed") + .HasColumnType("timestamp without time zone"); + + b.Property("SessionId") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("SignedIn") + .HasColumnType("timestamp without time zone"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("UserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("Device"); + + b.HasIndex("SessionId"); + + b.HasIndex("TenantId", "UserId"); + + b.ToTable("AbpSessions", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUser", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("AccessFailedCount") + .ValueGeneratedOnAdd() + .HasColumnType("integer") + .HasDefaultValue(0) + .HasColumnName("AccessFailedCount"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp without time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp without time zone") + .HasColumnName("DeletionTime"); + + b.Property("Email") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("Email"); + + b.Property("EmailConfirmed") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("EmailConfirmed"); + + b.Property("EntityVersion") + .HasColumnType("integer"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsActive") + .HasColumnType("boolean") + .HasColumnName("IsActive"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsExternal") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsExternal"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp without time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("LastPasswordChangeTime") + .HasColumnType("timestamp with time zone"); + + b.Property("LockoutEnabled") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("LockoutEnabled"); + + b.Property("LockoutEnd") + .HasColumnType("timestamp with time zone"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasColumnName("Name"); + + b.Property("NormalizedEmail") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("NormalizedEmail"); + + b.Property("NormalizedUserName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("NormalizedUserName"); + + b.Property("PasswordHash") + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("PasswordHash"); + + b.Property("PhoneNumber") + .HasMaxLength(16) + .HasColumnType("character varying(16)") + .HasColumnName("PhoneNumber"); + + b.Property("PhoneNumberConfirmed") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("PhoneNumberConfirmed"); + + b.Property("SecurityStamp") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("SecurityStamp"); + + b.Property("ShouldChangePasswordOnNextLogin") + .HasColumnType("boolean"); + + b.Property("Surname") + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasColumnName("Surname"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("TwoFactorEnabled") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("TwoFactorEnabled"); + + b.Property("UserName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("UserName"); + + b.HasKey("Id"); + + b.HasIndex("Email"); + + b.HasIndex("NormalizedEmail"); + + b.HasIndex("NormalizedUserName"); + + b.HasIndex("UserName"); + + b.ToTable("AbpUsers", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserClaim", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ClaimType") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("ClaimValue") + .HasMaxLength(1024) + .HasColumnType("character varying(1024)"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("UserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("UserId"); + + b.ToTable("AbpUserClaims", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserDelegation", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("EndTime") + .HasColumnType("timestamp without time zone"); + + b.Property("SourceUserId") + .HasColumnType("uuid"); + + b.Property("StartTime") + .HasColumnType("timestamp without time zone"); + + b.Property("TargetUserId") + .HasColumnType("uuid"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.ToTable("AbpUserDelegations", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b => + { + b.Property("UserId") + .HasColumnType("uuid"); + + b.Property("LoginProvider") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("ProviderDisplayName") + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("ProviderKey") + .IsRequired() + .HasMaxLength(196) + .HasColumnType("character varying(196)"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("UserId", "LoginProvider"); + + b.HasIndex("LoginProvider", "ProviderKey"); + + b.ToTable("AbpUserLogins", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserOrganizationUnit", b => + { + b.Property("OrganizationUnitId") + .HasColumnType("uuid"); + + b.Property("UserId") + .HasColumnType("uuid"); + + b.Property("CreationTime") + .HasColumnType("timestamp without time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("OrganizationUnitId", "UserId"); + + b.HasIndex("UserId", "OrganizationUnitId"); + + b.ToTable("AbpUserOrganizationUnits", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b => + { + b.Property("UserId") + .HasColumnType("uuid"); + + b.Property("RoleId") + .HasColumnType("uuid"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("UserId", "RoleId"); + + b.HasIndex("RoleId", "UserId"); + + b.ToTable("AbpUserRoles", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserToken", b => + { + b.Property("UserId") + .HasColumnType("uuid"); + + b.Property("LoginProvider") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("Name") + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("Value") + .HasColumnType("text"); + + b.HasKey("UserId", "LoginProvider", "Name"); + + b.ToTable("AbpUserTokens", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(95) + .HasColumnType("character varying(95)") + .HasColumnName("Code"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp without time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp without time zone") + .HasColumnName("DeletionTime"); + + b.Property("DisplayName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasColumnName("DisplayName"); + + b.Property("EntityVersion") + .HasColumnType("integer"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp without time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("ParentId") + .HasColumnType("uuid"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("Code"); + + b.HasIndex("ParentId"); + + b.ToTable("AbpOrganizationUnits", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnitRole", b => + { + b.Property("OrganizationUnitId") + .HasColumnType("uuid"); + + b.Property("RoleId") + .HasColumnType("uuid"); + + b.Property("CreationTime") + .HasColumnType("timestamp without time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("OrganizationUnitId", "RoleId"); + + b.HasIndex("RoleId", "OrganizationUnitId"); + + b.ToTable("AbpOrganizationUnitRoles", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b => + { + b.HasOne("Volo.Abp.Identity.IdentityRole", null) + .WithMany("Claims") + .HasForeignKey("RoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserClaim", b => + { + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("Claims") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b => + { + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("Logins") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserOrganizationUnit", b => + { + b.HasOne("Volo.Abp.Identity.OrganizationUnit", null) + .WithMany() + .HasForeignKey("OrganizationUnitId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("OrganizationUnits") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b => + { + b.HasOne("Volo.Abp.Identity.IdentityRole", null) + .WithMany() + .HasForeignKey("RoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("Roles") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserToken", b => + { + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("Tokens") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b => + { + b.HasOne("Volo.Abp.Identity.OrganizationUnit", null) + .WithMany() + .HasForeignKey("ParentId"); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnitRole", b => + { + b.HasOne("Volo.Abp.Identity.OrganizationUnit", null) + .WithMany("Roles") + .HasForeignKey("OrganizationUnitId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Volo.Abp.Identity.IdentityRole", null) + .WithMany() + .HasForeignKey("RoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityRole", b => + { + b.Navigation("Claims"); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUser", b => + { + b.Navigation("Claims"); + + b.Navigation("Logins"); + + b.Navigation("OrganizationUnits"); + + b.Navigation("Roles"); + + b.Navigation("Tokens"); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b => + { + b.Navigation("Roles"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20241010022412_Abp_8_3_1_Update.cs b/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20241010022412_Abp_8_3_1_Update.cs new file mode 100644 index 00000000..51cad3cd --- /dev/null +++ b/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20241010022412_Abp_8_3_1_Update.cs @@ -0,0 +1,57 @@ +using System; +using Microsoft.EntityFrameworkCore.Migrations; + +#nullable disable + +namespace EShopOnAbp.IdentityService.Migrations +{ + /// + public partial class Abp_8_3_1_Update : Migration + { + /// + protected override void Up(MigrationBuilder migrationBuilder) + { + migrationBuilder.CreateTable( + name: "AbpSessions", + columns: table => new + { + Id = table.Column(type: "uuid", nullable: false), + SessionId = table.Column(type: "character varying(128)", maxLength: 128, nullable: false), + Device = table.Column(type: "character varying(64)", maxLength: 64, nullable: false), + DeviceInfo = table.Column(type: "character varying(64)", maxLength: 64, nullable: true), + TenantId = table.Column(type: "uuid", nullable: true), + UserId = table.Column(type: "uuid", nullable: false), + ClientId = table.Column(type: "character varying(64)", maxLength: 64, nullable: true), + IpAddresses = table.Column(type: "character varying(256)", maxLength: 256, nullable: true), + SignedIn = table.Column(type: "timestamp without time zone", nullable: false), + LastAccessed = table.Column(type: "timestamp without time zone", nullable: true) + }, + constraints: table => + { + table.PrimaryKey("PK_AbpSessions", x => x.Id); + }); + + migrationBuilder.CreateIndex( + name: "IX_AbpSessions_Device", + table: "AbpSessions", + column: "Device"); + + migrationBuilder.CreateIndex( + name: "IX_AbpSessions_SessionId", + table: "AbpSessions", + column: "SessionId"); + + migrationBuilder.CreateIndex( + name: "IX_AbpSessions_TenantId_UserId", + table: "AbpSessions", + columns: new[] { "TenantId", "UserId" }); + } + + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropTable( + name: "AbpSessions"); + } + } +} diff --git a/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/IdentityServiceDbContextModelSnapshot.cs b/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/IdentityServiceDbContextModelSnapshot.cs index 14784952..9e645916 100644 --- a/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/IdentityServiceDbContextModelSnapshot.cs +++ b/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/IdentityServiceDbContextModelSnapshot.cs @@ -1,795 +1,846 @@ -// -using System; -using EShopOnAbp.IdentityService.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; -using Volo.Abp.EntityFrameworkCore; - -#nullable disable - -namespace EShopOnAbp.IdentityService.Migrations -{ - [DbContext(typeof(IdentityServiceDbContext))] - partial class IdentityServiceDbContextModelSnapshot : ModelSnapshot - { - protected override void BuildModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder - .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.PostgreSql) - .HasAnnotation("ProductVersion", "8.0.0") - .HasAnnotation("Relational:MaxIdentifierLength", 63); - - NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); - - modelBuilder.Entity("Volo.Abp.Identity.IdentityClaimType", b => - { - b.Property("Id") - .HasColumnType("uuid"); - - b.Property("ConcurrencyStamp") - .IsConcurrencyToken() - .IsRequired() - .HasMaxLength(40) - .HasColumnType("character varying(40)") - .HasColumnName("ConcurrencyStamp"); - - b.Property("Description") - .HasMaxLength(256) - .HasColumnType("character varying(256)"); - - b.Property("ExtraProperties") - .IsRequired() - .HasColumnType("text") - .HasColumnName("ExtraProperties"); - - b.Property("IsStatic") - .HasColumnType("boolean"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(256) - .HasColumnType("character varying(256)"); - - b.Property("Regex") - .HasMaxLength(512) - .HasColumnType("character varying(512)"); - - b.Property("RegexDescription") - .HasMaxLength(128) - .HasColumnType("character varying(128)"); - - b.Property("Required") - .HasColumnType("boolean"); - - b.Property("ValueType") - .HasColumnType("integer"); - - b.HasKey("Id"); - - b.ToTable("AbpClaimTypes", (string)null); - }); - - modelBuilder.Entity("Volo.Abp.Identity.IdentityLinkUser", b => - { - b.Property("Id") - .HasColumnType("uuid"); - - b.Property("SourceTenantId") - .HasColumnType("uuid"); - - b.Property("SourceUserId") - .HasColumnType("uuid"); - - b.Property("TargetTenantId") - .HasColumnType("uuid"); - - b.Property("TargetUserId") - .HasColumnType("uuid"); - - b.HasKey("Id"); - - b.HasIndex("SourceUserId", "SourceTenantId", "TargetUserId", "TargetTenantId") - .IsUnique(); - - b.ToTable("AbpLinkUsers", (string)null); - }); - - modelBuilder.Entity("Volo.Abp.Identity.IdentityRole", b => - { - b.Property("Id") - .HasColumnType("uuid"); - - b.Property("ConcurrencyStamp") - .IsConcurrencyToken() - .IsRequired() - .HasMaxLength(40) - .HasColumnType("character varying(40)") - .HasColumnName("ConcurrencyStamp"); - - b.Property("EntityVersion") - .HasColumnType("integer"); - - b.Property("ExtraProperties") - .IsRequired() - .HasColumnType("text") - .HasColumnName("ExtraProperties"); - - b.Property("IsDefault") - .HasColumnType("boolean") - .HasColumnName("IsDefault"); - - b.Property("IsPublic") - .HasColumnType("boolean") - .HasColumnName("IsPublic"); - - b.Property("IsStatic") - .HasColumnType("boolean") - .HasColumnName("IsStatic"); - - b.Property("Name") - .IsRequired() - .HasMaxLength(256) - .HasColumnType("character varying(256)"); - - b.Property("NormalizedName") - .IsRequired() - .HasMaxLength(256) - .HasColumnType("character varying(256)"); - - b.Property("TenantId") - .HasColumnType("uuid") - .HasColumnName("TenantId"); - - b.HasKey("Id"); - - b.HasIndex("NormalizedName"); - - b.ToTable("AbpRoles", (string)null); - }); - - modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b => - { - b.Property("Id") - .HasColumnType("uuid"); - - b.Property("ClaimType") - .IsRequired() - .HasMaxLength(256) - .HasColumnType("character varying(256)"); - - b.Property("ClaimValue") - .HasMaxLength(1024) - .HasColumnType("character varying(1024)"); - - b.Property("RoleId") - .HasColumnType("uuid"); - - b.Property("TenantId") - .HasColumnType("uuid") - .HasColumnName("TenantId"); - - b.HasKey("Id"); - - b.HasIndex("RoleId"); - - b.ToTable("AbpRoleClaims", (string)null); - }); - - modelBuilder.Entity("Volo.Abp.Identity.IdentitySecurityLog", b => - { - b.Property("Id") - .HasColumnType("uuid"); - - b.Property("Action") - .HasMaxLength(96) - .HasColumnType("character varying(96)"); - - b.Property("ApplicationName") - .HasMaxLength(96) - .HasColumnType("character varying(96)"); - - b.Property("BrowserInfo") - .HasMaxLength(512) - .HasColumnType("character varying(512)"); - - b.Property("ClientId") - .HasMaxLength(64) - .HasColumnType("character varying(64)"); - - b.Property("ClientIpAddress") - .HasMaxLength(64) - .HasColumnType("character varying(64)"); - - b.Property("ConcurrencyStamp") - .IsConcurrencyToken() - .IsRequired() - .HasMaxLength(40) - .HasColumnType("character varying(40)") - .HasColumnName("ConcurrencyStamp"); - - b.Property("CorrelationId") - .HasMaxLength(64) - .HasColumnType("character varying(64)"); - - b.Property("CreationTime") - .HasColumnType("timestamp without time zone"); - - b.Property("ExtraProperties") - .IsRequired() - .HasColumnType("text") - .HasColumnName("ExtraProperties"); - - b.Property("Identity") - .HasMaxLength(96) - .HasColumnType("character varying(96)"); - - b.Property("TenantId") - .HasColumnType("uuid") - .HasColumnName("TenantId"); - - b.Property("TenantName") - .HasMaxLength(64) - .HasColumnType("character varying(64)"); - - b.Property("UserId") - .HasColumnType("uuid"); - - b.Property("UserName") - .HasMaxLength(256) - .HasColumnType("character varying(256)"); - - b.HasKey("Id"); - - b.HasIndex("TenantId", "Action"); - - b.HasIndex("TenantId", "ApplicationName"); - - b.HasIndex("TenantId", "Identity"); - - b.HasIndex("TenantId", "UserId"); - - b.ToTable("AbpSecurityLogs", (string)null); - }); - - modelBuilder.Entity("Volo.Abp.Identity.IdentityUser", b => - { - b.Property("Id") - .HasColumnType("uuid"); - - b.Property("AccessFailedCount") - .ValueGeneratedOnAdd() - .HasColumnType("integer") - .HasDefaultValue(0) - .HasColumnName("AccessFailedCount"); - - b.Property("ConcurrencyStamp") - .IsConcurrencyToken() - .IsRequired() - .HasMaxLength(40) - .HasColumnType("character varying(40)") - .HasColumnName("ConcurrencyStamp"); - - b.Property("CreationTime") - .HasColumnType("timestamp without time zone") - .HasColumnName("CreationTime"); - - b.Property("CreatorId") - .HasColumnType("uuid") - .HasColumnName("CreatorId"); - - b.Property("DeleterId") - .HasColumnType("uuid") - .HasColumnName("DeleterId"); - - b.Property("DeletionTime") - .HasColumnType("timestamp without time zone") - .HasColumnName("DeletionTime"); - - b.Property("Email") - .IsRequired() - .HasMaxLength(256) - .HasColumnType("character varying(256)") - .HasColumnName("Email"); - - b.Property("EmailConfirmed") - .ValueGeneratedOnAdd() - .HasColumnType("boolean") - .HasDefaultValue(false) - .HasColumnName("EmailConfirmed"); - - b.Property("EntityVersion") - .HasColumnType("integer"); - - b.Property("ExtraProperties") - .IsRequired() - .HasColumnType("text") - .HasColumnName("ExtraProperties"); - - b.Property("IsActive") - .HasColumnType("boolean") - .HasColumnName("IsActive"); - - b.Property("IsDeleted") - .ValueGeneratedOnAdd() - .HasColumnType("boolean") - .HasDefaultValue(false) - .HasColumnName("IsDeleted"); - - b.Property("IsExternal") - .ValueGeneratedOnAdd() - .HasColumnType("boolean") - .HasDefaultValue(false) - .HasColumnName("IsExternal"); - - b.Property("LastModificationTime") - .HasColumnType("timestamp without time zone") - .HasColumnName("LastModificationTime"); - - b.Property("LastModifierId") - .HasColumnType("uuid") - .HasColumnName("LastModifierId"); - - b.Property("LastPasswordChangeTime") - .HasColumnType("timestamp with time zone"); - - b.Property("LockoutEnabled") - .ValueGeneratedOnAdd() - .HasColumnType("boolean") - .HasDefaultValue(false) - .HasColumnName("LockoutEnabled"); - - b.Property("LockoutEnd") - .HasColumnType("timestamp with time zone"); - - b.Property("Name") - .HasMaxLength(64) - .HasColumnType("character varying(64)") - .HasColumnName("Name"); - - b.Property("NormalizedEmail") - .IsRequired() - .HasMaxLength(256) - .HasColumnType("character varying(256)") - .HasColumnName("NormalizedEmail"); - - b.Property("NormalizedUserName") - .IsRequired() - .HasMaxLength(256) - .HasColumnType("character varying(256)") - .HasColumnName("NormalizedUserName"); - - b.Property("PasswordHash") - .HasMaxLength(256) - .HasColumnType("character varying(256)") - .HasColumnName("PasswordHash"); - - b.Property("PhoneNumber") - .HasMaxLength(16) - .HasColumnType("character varying(16)") - .HasColumnName("PhoneNumber"); - - b.Property("PhoneNumberConfirmed") - .ValueGeneratedOnAdd() - .HasColumnType("boolean") - .HasDefaultValue(false) - .HasColumnName("PhoneNumberConfirmed"); - - b.Property("SecurityStamp") - .IsRequired() - .HasMaxLength(256) - .HasColumnType("character varying(256)") - .HasColumnName("SecurityStamp"); - - b.Property("ShouldChangePasswordOnNextLogin") - .HasColumnType("boolean"); - - b.Property("Surname") - .HasMaxLength(64) - .HasColumnType("character varying(64)") - .HasColumnName("Surname"); - - b.Property("TenantId") - .HasColumnType("uuid") - .HasColumnName("TenantId"); - - b.Property("TwoFactorEnabled") - .ValueGeneratedOnAdd() - .HasColumnType("boolean") - .HasDefaultValue(false) - .HasColumnName("TwoFactorEnabled"); - - b.Property("UserName") - .IsRequired() - .HasMaxLength(256) - .HasColumnType("character varying(256)") - .HasColumnName("UserName"); - - b.HasKey("Id"); - - b.HasIndex("Email"); - - b.HasIndex("NormalizedEmail"); - - b.HasIndex("NormalizedUserName"); - - b.HasIndex("UserName"); - - b.ToTable("AbpUsers", (string)null); - }); - - modelBuilder.Entity("Volo.Abp.Identity.IdentityUserClaim", b => - { - b.Property("Id") - .HasColumnType("uuid"); - - b.Property("ClaimType") - .IsRequired() - .HasMaxLength(256) - .HasColumnType("character varying(256)"); - - b.Property("ClaimValue") - .HasMaxLength(1024) - .HasColumnType("character varying(1024)"); - - b.Property("TenantId") - .HasColumnType("uuid") - .HasColumnName("TenantId"); - - b.Property("UserId") - .HasColumnType("uuid"); - - b.HasKey("Id"); - - b.HasIndex("UserId"); - - b.ToTable("AbpUserClaims", (string)null); - }); - - modelBuilder.Entity("Volo.Abp.Identity.IdentityUserDelegation", b => - { - b.Property("Id") - .HasColumnType("uuid"); - - b.Property("EndTime") - .HasColumnType("timestamp without time zone"); - - b.Property("SourceUserId") - .HasColumnType("uuid"); - - b.Property("StartTime") - .HasColumnType("timestamp without time zone"); - - b.Property("TargetUserId") - .HasColumnType("uuid"); - - b.Property("TenantId") - .HasColumnType("uuid") - .HasColumnName("TenantId"); - - b.HasKey("Id"); - - b.ToTable("AbpUserDelegations", (string)null); - }); - - modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b => - { - b.Property("UserId") - .HasColumnType("uuid"); - - b.Property("LoginProvider") - .HasMaxLength(64) - .HasColumnType("character varying(64)"); - - b.Property("ProviderDisplayName") - .HasMaxLength(128) - .HasColumnType("character varying(128)"); - - b.Property("ProviderKey") - .IsRequired() - .HasMaxLength(196) - .HasColumnType("character varying(196)"); - - b.Property("TenantId") - .HasColumnType("uuid") - .HasColumnName("TenantId"); - - b.HasKey("UserId", "LoginProvider"); - - b.HasIndex("LoginProvider", "ProviderKey"); - - b.ToTable("AbpUserLogins", (string)null); - }); - - modelBuilder.Entity("Volo.Abp.Identity.IdentityUserOrganizationUnit", b => - { - b.Property("OrganizationUnitId") - .HasColumnType("uuid"); - - b.Property("UserId") - .HasColumnType("uuid"); - - b.Property("CreationTime") - .HasColumnType("timestamp without time zone") - .HasColumnName("CreationTime"); - - b.Property("CreatorId") - .HasColumnType("uuid") - .HasColumnName("CreatorId"); - - b.Property("TenantId") - .HasColumnType("uuid") - .HasColumnName("TenantId"); - - b.HasKey("OrganizationUnitId", "UserId"); - - b.HasIndex("UserId", "OrganizationUnitId"); - - b.ToTable("AbpUserOrganizationUnits", (string)null); - }); - - modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b => - { - b.Property("UserId") - .HasColumnType("uuid"); - - b.Property("RoleId") - .HasColumnType("uuid"); - - b.Property("TenantId") - .HasColumnType("uuid") - .HasColumnName("TenantId"); - - b.HasKey("UserId", "RoleId"); - - b.HasIndex("RoleId", "UserId"); - - b.ToTable("AbpUserRoles", (string)null); - }); - - modelBuilder.Entity("Volo.Abp.Identity.IdentityUserToken", b => - { - b.Property("UserId") - .HasColumnType("uuid"); - - b.Property("LoginProvider") - .HasMaxLength(64) - .HasColumnType("character varying(64)"); - - b.Property("Name") - .HasMaxLength(128) - .HasColumnType("character varying(128)"); - - b.Property("TenantId") - .HasColumnType("uuid") - .HasColumnName("TenantId"); - - b.Property("Value") - .HasColumnType("text"); - - b.HasKey("UserId", "LoginProvider", "Name"); - - b.ToTable("AbpUserTokens", (string)null); - }); - - modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b => - { - b.Property("Id") - .HasColumnType("uuid"); - - b.Property("Code") - .IsRequired() - .HasMaxLength(95) - .HasColumnType("character varying(95)") - .HasColumnName("Code"); - - b.Property("ConcurrencyStamp") - .IsConcurrencyToken() - .IsRequired() - .HasMaxLength(40) - .HasColumnType("character varying(40)") - .HasColumnName("ConcurrencyStamp"); - - b.Property("CreationTime") - .HasColumnType("timestamp without time zone") - .HasColumnName("CreationTime"); - - b.Property("CreatorId") - .HasColumnType("uuid") - .HasColumnName("CreatorId"); - - b.Property("DeleterId") - .HasColumnType("uuid") - .HasColumnName("DeleterId"); - - b.Property("DeletionTime") - .HasColumnType("timestamp without time zone") - .HasColumnName("DeletionTime"); - - b.Property("DisplayName") - .IsRequired() - .HasMaxLength(128) - .HasColumnType("character varying(128)") - .HasColumnName("DisplayName"); - - b.Property("EntityVersion") - .HasColumnType("integer"); - - b.Property("ExtraProperties") - .IsRequired() - .HasColumnType("text") - .HasColumnName("ExtraProperties"); - - b.Property("IsDeleted") - .ValueGeneratedOnAdd() - .HasColumnType("boolean") - .HasDefaultValue(false) - .HasColumnName("IsDeleted"); - - b.Property("LastModificationTime") - .HasColumnType("timestamp without time zone") - .HasColumnName("LastModificationTime"); - - b.Property("LastModifierId") - .HasColumnType("uuid") - .HasColumnName("LastModifierId"); - - b.Property("ParentId") - .HasColumnType("uuid"); - - b.Property("TenantId") - .HasColumnType("uuid") - .HasColumnName("TenantId"); - - b.HasKey("Id"); - - b.HasIndex("Code"); - - b.HasIndex("ParentId"); - - b.ToTable("AbpOrganizationUnits", (string)null); - }); - - modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnitRole", b => - { - b.Property("OrganizationUnitId") - .HasColumnType("uuid"); - - b.Property("RoleId") - .HasColumnType("uuid"); - - b.Property("CreationTime") - .HasColumnType("timestamp without time zone") - .HasColumnName("CreationTime"); - - b.Property("CreatorId") - .HasColumnType("uuid") - .HasColumnName("CreatorId"); - - b.Property("TenantId") - .HasColumnType("uuid") - .HasColumnName("TenantId"); - - b.HasKey("OrganizationUnitId", "RoleId"); - - b.HasIndex("RoleId", "OrganizationUnitId"); - - b.ToTable("AbpOrganizationUnitRoles", (string)null); - }); - - modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b => - { - b.HasOne("Volo.Abp.Identity.IdentityRole", null) - .WithMany("Claims") - .HasForeignKey("RoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - }); - - modelBuilder.Entity("Volo.Abp.Identity.IdentityUserClaim", b => - { - b.HasOne("Volo.Abp.Identity.IdentityUser", null) - .WithMany("Claims") - .HasForeignKey("UserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - }); - - modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b => - { - b.HasOne("Volo.Abp.Identity.IdentityUser", null) - .WithMany("Logins") - .HasForeignKey("UserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - }); - - modelBuilder.Entity("Volo.Abp.Identity.IdentityUserOrganizationUnit", b => - { - b.HasOne("Volo.Abp.Identity.OrganizationUnit", null) - .WithMany() - .HasForeignKey("OrganizationUnitId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Volo.Abp.Identity.IdentityUser", null) - .WithMany("OrganizationUnits") - .HasForeignKey("UserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - }); - - modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b => - { - b.HasOne("Volo.Abp.Identity.IdentityRole", null) - .WithMany() - .HasForeignKey("RoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Volo.Abp.Identity.IdentityUser", null) - .WithMany("Roles") - .HasForeignKey("UserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - }); - - modelBuilder.Entity("Volo.Abp.Identity.IdentityUserToken", b => - { - b.HasOne("Volo.Abp.Identity.IdentityUser", null) - .WithMany("Tokens") - .HasForeignKey("UserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - }); - - modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b => - { - b.HasOne("Volo.Abp.Identity.OrganizationUnit", null) - .WithMany() - .HasForeignKey("ParentId"); - }); - - modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnitRole", b => - { - b.HasOne("Volo.Abp.Identity.OrganizationUnit", null) - .WithMany("Roles") - .HasForeignKey("OrganizationUnitId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Volo.Abp.Identity.IdentityRole", null) - .WithMany() - .HasForeignKey("RoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - }); - - modelBuilder.Entity("Volo.Abp.Identity.IdentityRole", b => - { - b.Navigation("Claims"); - }); - - modelBuilder.Entity("Volo.Abp.Identity.IdentityUser", b => - { - b.Navigation("Claims"); - - b.Navigation("Logins"); - - b.Navigation("OrganizationUnits"); - - b.Navigation("Roles"); - - b.Navigation("Tokens"); - }); - - modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b => - { - b.Navigation("Roles"); - }); -#pragma warning restore 612, 618 - } - } -} +// +using System; +using EShopOnAbp.IdentityService.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Infrastructure; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; +using Volo.Abp.EntityFrameworkCore; + +#nullable disable + +namespace EShopOnAbp.IdentityService.Migrations +{ + [DbContext(typeof(IdentityServiceDbContext))] + partial class IdentityServiceDbContextModelSnapshot : ModelSnapshot + { + protected override void BuildModel(ModelBuilder modelBuilder) + { +#pragma warning disable 612, 618 + modelBuilder + .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.PostgreSql) + .HasAnnotation("ProductVersion", "8.0.5") + .HasAnnotation("Relational:MaxIdentifierLength", 63); + + NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityClaimType", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("Description") + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsStatic") + .HasColumnType("boolean"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("Regex") + .HasMaxLength(512) + .HasColumnType("character varying(512)"); + + b.Property("RegexDescription") + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("Required") + .HasColumnType("boolean"); + + b.Property("ValueType") + .HasColumnType("integer"); + + b.HasKey("Id"); + + b.ToTable("AbpClaimTypes", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityLinkUser", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("SourceTenantId") + .HasColumnType("uuid"); + + b.Property("SourceUserId") + .HasColumnType("uuid"); + + b.Property("TargetTenantId") + .HasColumnType("uuid"); + + b.Property("TargetUserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("SourceUserId", "SourceTenantId", "TargetUserId", "TargetTenantId") + .IsUnique(); + + b.ToTable("AbpLinkUsers", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityRole", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("EntityVersion") + .HasColumnType("integer"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsDefault") + .HasColumnType("boolean") + .HasColumnName("IsDefault"); + + b.Property("IsPublic") + .HasColumnType("boolean") + .HasColumnName("IsPublic"); + + b.Property("IsStatic") + .HasColumnType("boolean") + .HasColumnName("IsStatic"); + + b.Property("Name") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("NormalizedName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("NormalizedName"); + + b.ToTable("AbpRoles", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ClaimType") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("ClaimValue") + .HasMaxLength(1024) + .HasColumnType("character varying(1024)"); + + b.Property("RoleId") + .HasColumnType("uuid"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("RoleId"); + + b.ToTable("AbpRoleClaims", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentitySecurityLog", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("Action") + .HasMaxLength(96) + .HasColumnType("character varying(96)"); + + b.Property("ApplicationName") + .HasMaxLength(96) + .HasColumnType("character varying(96)"); + + b.Property("BrowserInfo") + .HasMaxLength(512) + .HasColumnType("character varying(512)"); + + b.Property("ClientId") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("ClientIpAddress") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CorrelationId") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("CreationTime") + .HasColumnType("timestamp without time zone"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("Identity") + .HasMaxLength(96) + .HasColumnType("character varying(96)"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("TenantName") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("UserId") + .HasColumnType("uuid"); + + b.Property("UserName") + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.HasKey("Id"); + + b.HasIndex("TenantId", "Action"); + + b.HasIndex("TenantId", "ApplicationName"); + + b.HasIndex("TenantId", "Identity"); + + b.HasIndex("TenantId", "UserId"); + + b.ToTable("AbpSecurityLogs", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentitySession", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ClientId") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("Device") + .IsRequired() + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("DeviceInfo") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("IpAddresses") + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("LastAccessed") + .HasColumnType("timestamp without time zone"); + + b.Property("SessionId") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("SignedIn") + .HasColumnType("timestamp without time zone"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("UserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("Device"); + + b.HasIndex("SessionId"); + + b.HasIndex("TenantId", "UserId"); + + b.ToTable("AbpSessions", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUser", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("AccessFailedCount") + .ValueGeneratedOnAdd() + .HasColumnType("integer") + .HasDefaultValue(0) + .HasColumnName("AccessFailedCount"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp without time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp without time zone") + .HasColumnName("DeletionTime"); + + b.Property("Email") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("Email"); + + b.Property("EmailConfirmed") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("EmailConfirmed"); + + b.Property("EntityVersion") + .HasColumnType("integer"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsActive") + .HasColumnType("boolean") + .HasColumnName("IsActive"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("IsExternal") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsExternal"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp without time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("LastPasswordChangeTime") + .HasColumnType("timestamp with time zone"); + + b.Property("LockoutEnabled") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("LockoutEnabled"); + + b.Property("LockoutEnd") + .HasColumnType("timestamp with time zone"); + + b.Property("Name") + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasColumnName("Name"); + + b.Property("NormalizedEmail") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("NormalizedEmail"); + + b.Property("NormalizedUserName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("NormalizedUserName"); + + b.Property("PasswordHash") + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("PasswordHash"); + + b.Property("PhoneNumber") + .HasMaxLength(16) + .HasColumnType("character varying(16)") + .HasColumnName("PhoneNumber"); + + b.Property("PhoneNumberConfirmed") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("PhoneNumberConfirmed"); + + b.Property("SecurityStamp") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("SecurityStamp"); + + b.Property("ShouldChangePasswordOnNextLogin") + .HasColumnType("boolean"); + + b.Property("Surname") + .HasMaxLength(64) + .HasColumnType("character varying(64)") + .HasColumnName("Surname"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("TwoFactorEnabled") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("TwoFactorEnabled"); + + b.Property("UserName") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)") + .HasColumnName("UserName"); + + b.HasKey("Id"); + + b.HasIndex("Email"); + + b.HasIndex("NormalizedEmail"); + + b.HasIndex("NormalizedUserName"); + + b.HasIndex("UserName"); + + b.ToTable("AbpUsers", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserClaim", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("ClaimType") + .IsRequired() + .HasMaxLength(256) + .HasColumnType("character varying(256)"); + + b.Property("ClaimValue") + .HasMaxLength(1024) + .HasColumnType("character varying(1024)"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("UserId") + .HasColumnType("uuid"); + + b.HasKey("Id"); + + b.HasIndex("UserId"); + + b.ToTable("AbpUserClaims", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserDelegation", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("EndTime") + .HasColumnType("timestamp without time zone"); + + b.Property("SourceUserId") + .HasColumnType("uuid"); + + b.Property("StartTime") + .HasColumnType("timestamp without time zone"); + + b.Property("TargetUserId") + .HasColumnType("uuid"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.ToTable("AbpUserDelegations", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b => + { + b.Property("UserId") + .HasColumnType("uuid"); + + b.Property("LoginProvider") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("ProviderDisplayName") + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("ProviderKey") + .IsRequired() + .HasMaxLength(196) + .HasColumnType("character varying(196)"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("UserId", "LoginProvider"); + + b.HasIndex("LoginProvider", "ProviderKey"); + + b.ToTable("AbpUserLogins", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserOrganizationUnit", b => + { + b.Property("OrganizationUnitId") + .HasColumnType("uuid"); + + b.Property("UserId") + .HasColumnType("uuid"); + + b.Property("CreationTime") + .HasColumnType("timestamp without time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("OrganizationUnitId", "UserId"); + + b.HasIndex("UserId", "OrganizationUnitId"); + + b.ToTable("AbpUserOrganizationUnits", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b => + { + b.Property("UserId") + .HasColumnType("uuid"); + + b.Property("RoleId") + .HasColumnType("uuid"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("UserId", "RoleId"); + + b.HasIndex("RoleId", "UserId"); + + b.ToTable("AbpUserRoles", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserToken", b => + { + b.Property("UserId") + .HasColumnType("uuid"); + + b.Property("LoginProvider") + .HasMaxLength(64) + .HasColumnType("character varying(64)"); + + b.Property("Name") + .HasMaxLength(128) + .HasColumnType("character varying(128)"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.Property("Value") + .HasColumnType("text"); + + b.HasKey("UserId", "LoginProvider", "Name"); + + b.ToTable("AbpUserTokens", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b => + { + b.Property("Id") + .HasColumnType("uuid"); + + b.Property("Code") + .IsRequired() + .HasMaxLength(95) + .HasColumnType("character varying(95)") + .HasColumnName("Code"); + + b.Property("ConcurrencyStamp") + .IsConcurrencyToken() + .IsRequired() + .HasMaxLength(40) + .HasColumnType("character varying(40)") + .HasColumnName("ConcurrencyStamp"); + + b.Property("CreationTime") + .HasColumnType("timestamp without time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("DeleterId") + .HasColumnType("uuid") + .HasColumnName("DeleterId"); + + b.Property("DeletionTime") + .HasColumnType("timestamp without time zone") + .HasColumnName("DeletionTime"); + + b.Property("DisplayName") + .IsRequired() + .HasMaxLength(128) + .HasColumnType("character varying(128)") + .HasColumnName("DisplayName"); + + b.Property("EntityVersion") + .HasColumnType("integer"); + + b.Property("ExtraProperties") + .IsRequired() + .HasColumnType("text") + .HasColumnName("ExtraProperties"); + + b.Property("IsDeleted") + .ValueGeneratedOnAdd() + .HasColumnType("boolean") + .HasDefaultValue(false) + .HasColumnName("IsDeleted"); + + b.Property("LastModificationTime") + .HasColumnType("timestamp without time zone") + .HasColumnName("LastModificationTime"); + + b.Property("LastModifierId") + .HasColumnType("uuid") + .HasColumnName("LastModifierId"); + + b.Property("ParentId") + .HasColumnType("uuid"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("Id"); + + b.HasIndex("Code"); + + b.HasIndex("ParentId"); + + b.ToTable("AbpOrganizationUnits", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnitRole", b => + { + b.Property("OrganizationUnitId") + .HasColumnType("uuid"); + + b.Property("RoleId") + .HasColumnType("uuid"); + + b.Property("CreationTime") + .HasColumnType("timestamp without time zone") + .HasColumnName("CreationTime"); + + b.Property("CreatorId") + .HasColumnType("uuid") + .HasColumnName("CreatorId"); + + b.Property("TenantId") + .HasColumnType("uuid") + .HasColumnName("TenantId"); + + b.HasKey("OrganizationUnitId", "RoleId"); + + b.HasIndex("RoleId", "OrganizationUnitId"); + + b.ToTable("AbpOrganizationUnitRoles", (string)null); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b => + { + b.HasOne("Volo.Abp.Identity.IdentityRole", null) + .WithMany("Claims") + .HasForeignKey("RoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserClaim", b => + { + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("Claims") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b => + { + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("Logins") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserOrganizationUnit", b => + { + b.HasOne("Volo.Abp.Identity.OrganizationUnit", null) + .WithMany() + .HasForeignKey("OrganizationUnitId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("OrganizationUnits") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b => + { + b.HasOne("Volo.Abp.Identity.IdentityRole", null) + .WithMany() + .HasForeignKey("RoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("Roles") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUserToken", b => + { + b.HasOne("Volo.Abp.Identity.IdentityUser", null) + .WithMany("Tokens") + .HasForeignKey("UserId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b => + { + b.HasOne("Volo.Abp.Identity.OrganizationUnit", null) + .WithMany() + .HasForeignKey("ParentId"); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnitRole", b => + { + b.HasOne("Volo.Abp.Identity.OrganizationUnit", null) + .WithMany("Roles") + .HasForeignKey("OrganizationUnitId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + + b.HasOne("Volo.Abp.Identity.IdentityRole", null) + .WithMany() + .HasForeignKey("RoleId") + .OnDelete(DeleteBehavior.Cascade) + .IsRequired(); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityRole", b => + { + b.Navigation("Claims"); + }); + + modelBuilder.Entity("Volo.Abp.Identity.IdentityUser", b => + { + b.Navigation("Claims"); + + b.Navigation("Logins"); + + b.Navigation("OrganizationUnits"); + + b.Navigation("Roles"); + + b.Navigation("Tokens"); + }); + + modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b => + { + b.Navigation("Roles"); + }); +#pragma warning restore 612, 618 + } + } +} diff --git a/services/identity/src/EShopOnAbp.IdentityService.HttpApi.Client/EShopOnAbp.IdentityService.HttpApi.Client.csproj b/services/identity/src/EShopOnAbp.IdentityService.HttpApi.Client/EShopOnAbp.IdentityService.HttpApi.Client.csproj index e00bf19c..cf390b43 100644 --- a/services/identity/src/EShopOnAbp.IdentityService.HttpApi.Client/EShopOnAbp.IdentityService.HttpApi.Client.csproj +++ b/services/identity/src/EShopOnAbp.IdentityService.HttpApi.Client/EShopOnAbp.IdentityService.HttpApi.Client.csproj @@ -10,7 +10,7 @@ - + diff --git a/services/identity/src/EShopOnAbp.IdentityService.HttpApi/EShopOnAbp.IdentityService.HttpApi.csproj b/services/identity/src/EShopOnAbp.IdentityService.HttpApi/EShopOnAbp.IdentityService.HttpApi.csproj index d2cf1ee9..4e560894 100644 --- a/services/identity/src/EShopOnAbp.IdentityService.HttpApi/EShopOnAbp.IdentityService.HttpApi.csproj +++ b/services/identity/src/EShopOnAbp.IdentityService.HttpApi/EShopOnAbp.IdentityService.HttpApi.csproj @@ -10,7 +10,7 @@ - + diff --git a/services/identity/test/EShopOnAbp.IdentityService.EntityFrameworkCore.Tests/EShopOnAbp.IdentityService.EntityFrameworkCore.Tests.csproj b/services/identity/test/EShopOnAbp.IdentityService.EntityFrameworkCore.Tests/EShopOnAbp.IdentityService.EntityFrameworkCore.Tests.csproj index c8e051f4..386bf51b 100644 --- a/services/identity/test/EShopOnAbp.IdentityService.EntityFrameworkCore.Tests/EShopOnAbp.IdentityService.EntityFrameworkCore.Tests.csproj +++ b/services/identity/test/EShopOnAbp.IdentityService.EntityFrameworkCore.Tests/EShopOnAbp.IdentityService.EntityFrameworkCore.Tests.csproj @@ -8,7 +8,7 @@ - + diff --git a/services/identity/test/EShopOnAbp.IdentityService.TestBase/EShopOnAbp.IdentityService.TestBase.csproj b/services/identity/test/EShopOnAbp.IdentityService.TestBase/EShopOnAbp.IdentityService.TestBase.csproj index 2667aebb..39dc3b82 100644 --- a/services/identity/test/EShopOnAbp.IdentityService.TestBase/EShopOnAbp.IdentityService.TestBase.csproj +++ b/services/identity/test/EShopOnAbp.IdentityService.TestBase/EShopOnAbp.IdentityService.TestBase.csproj @@ -6,9 +6,9 @@ - - - + + + diff --git a/services/ordering/src/EShopOnAbp.OrderingService.Application.Contracts/EShopOnAbp.OrderingService.Application.Contracts.csproj b/services/ordering/src/EShopOnAbp.OrderingService.Application.Contracts/EShopOnAbp.OrderingService.Application.Contracts.csproj index 8187dec9..de18ef48 100644 --- a/services/ordering/src/EShopOnAbp.OrderingService.Application.Contracts/EShopOnAbp.OrderingService.Application.Contracts.csproj +++ b/services/ordering/src/EShopOnAbp.OrderingService.Application.Contracts/EShopOnAbp.OrderingService.Application.Contracts.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/services/ordering/src/EShopOnAbp.OrderingService.Application/EShopOnAbp.OrderingService.Application.csproj b/services/ordering/src/EShopOnAbp.OrderingService.Application/EShopOnAbp.OrderingService.Application.csproj index 67082a9b..acac66e3 100644 --- a/services/ordering/src/EShopOnAbp.OrderingService.Application/EShopOnAbp.OrderingService.Application.csproj +++ b/services/ordering/src/EShopOnAbp.OrderingService.Application/EShopOnAbp.OrderingService.Application.csproj @@ -3,13 +3,13 @@ - netstandard2.1 + net8.0 EShopOnAbp.OrderingService - - + + diff --git a/services/ordering/src/EShopOnAbp.OrderingService.Domain.Shared/EShopOnAbp.OrderingService.Domain.Shared.csproj b/services/ordering/src/EShopOnAbp.OrderingService.Domain.Shared/EShopOnAbp.OrderingService.Domain.Shared.csproj index 22e1af7f..0f0d80fd 100644 --- a/services/ordering/src/EShopOnAbp.OrderingService.Domain.Shared/EShopOnAbp.OrderingService.Domain.Shared.csproj +++ b/services/ordering/src/EShopOnAbp.OrderingService.Domain.Shared/EShopOnAbp.OrderingService.Domain.Shared.csproj @@ -9,7 +9,7 @@ - + diff --git a/services/ordering/src/EShopOnAbp.OrderingService.Domain/EShopOnAbp.OrderingService.Domain.csproj b/services/ordering/src/EShopOnAbp.OrderingService.Domain/EShopOnAbp.OrderingService.Domain.csproj index b7a91d06..6790107b 100644 --- a/services/ordering/src/EShopOnAbp.OrderingService.Domain/EShopOnAbp.OrderingService.Domain.csproj +++ b/services/ordering/src/EShopOnAbp.OrderingService.Domain/EShopOnAbp.OrderingService.Domain.csproj @@ -8,7 +8,7 @@ - + diff --git a/services/ordering/src/EShopOnAbp.OrderingService.EntityFrameworkCore/EShopOnAbp.OrderingService.EntityFrameworkCore.csproj b/services/ordering/src/EShopOnAbp.OrderingService.EntityFrameworkCore/EShopOnAbp.OrderingService.EntityFrameworkCore.csproj index c9e62b01..5c42591d 100644 --- a/services/ordering/src/EShopOnAbp.OrderingService.EntityFrameworkCore/EShopOnAbp.OrderingService.EntityFrameworkCore.csproj +++ b/services/ordering/src/EShopOnAbp.OrderingService.EntityFrameworkCore/EShopOnAbp.OrderingService.EntityFrameworkCore.csproj @@ -9,7 +9,7 @@ - + diff --git a/services/ordering/src/EShopOnAbp.OrderingService.HttpApi.Client/EShopOnAbp.OrderingService.HttpApi.Client.csproj b/services/ordering/src/EShopOnAbp.OrderingService.HttpApi.Client/EShopOnAbp.OrderingService.HttpApi.Client.csproj index a43625e2..327a5932 100644 --- a/services/ordering/src/EShopOnAbp.OrderingService.HttpApi.Client/EShopOnAbp.OrderingService.HttpApi.Client.csproj +++ b/services/ordering/src/EShopOnAbp.OrderingService.HttpApi.Client/EShopOnAbp.OrderingService.HttpApi.Client.csproj @@ -8,7 +8,7 @@ - + diff --git a/services/ordering/src/EShopOnAbp.OrderingService.HttpApi.Host/EShopOnAbp.OrderingService.HttpApi.Host.csproj b/services/ordering/src/EShopOnAbp.OrderingService.HttpApi.Host/EShopOnAbp.OrderingService.HttpApi.Host.csproj index 5a97de47..93b8446c 100644 --- a/services/ordering/src/EShopOnAbp.OrderingService.HttpApi.Host/EShopOnAbp.OrderingService.HttpApi.Host.csproj +++ b/services/ordering/src/EShopOnAbp.OrderingService.HttpApi.Host/EShopOnAbp.OrderingService.HttpApi.Host.csproj @@ -10,8 +10,8 @@ - - + + diff --git a/services/ordering/src/EShopOnAbp.OrderingService.HttpApi/EShopOnAbp.OrderingService.HttpApi.csproj b/services/ordering/src/EShopOnAbp.OrderingService.HttpApi/EShopOnAbp.OrderingService.HttpApi.csproj index 0f174279..165d25c8 100644 --- a/services/ordering/src/EShopOnAbp.OrderingService.HttpApi/EShopOnAbp.OrderingService.HttpApi.csproj +++ b/services/ordering/src/EShopOnAbp.OrderingService.HttpApi/EShopOnAbp.OrderingService.HttpApi.csproj @@ -8,7 +8,7 @@ - + diff --git a/services/ordering/test/EShopOnAbp.OrderingService.EntityFrameworkCore.Tests/EShopOnAbp.OrderingService.EntityFrameworkCore.Tests.csproj b/services/ordering/test/EShopOnAbp.OrderingService.EntityFrameworkCore.Tests/EShopOnAbp.OrderingService.EntityFrameworkCore.Tests.csproj index 54ed6623..dc4107e0 100644 --- a/services/ordering/test/EShopOnAbp.OrderingService.EntityFrameworkCore.Tests/EShopOnAbp.OrderingService.EntityFrameworkCore.Tests.csproj +++ b/services/ordering/test/EShopOnAbp.OrderingService.EntityFrameworkCore.Tests/EShopOnAbp.OrderingService.EntityFrameworkCore.Tests.csproj @@ -12,7 +12,7 @@ - + diff --git a/services/ordering/test/EShopOnAbp.OrderingService.HttpApi.Client.ConsoleTestApp/EShopOnAbp.OrderingService.HttpApi.Client.ConsoleTestApp.csproj b/services/ordering/test/EShopOnAbp.OrderingService.HttpApi.Client.ConsoleTestApp/EShopOnAbp.OrderingService.HttpApi.Client.ConsoleTestApp.csproj index b4a4fc09..b0d446ea 100644 --- a/services/ordering/test/EShopOnAbp.OrderingService.HttpApi.Client.ConsoleTestApp/EShopOnAbp.OrderingService.HttpApi.Client.ConsoleTestApp.csproj +++ b/services/ordering/test/EShopOnAbp.OrderingService.HttpApi.Client.ConsoleTestApp/EShopOnAbp.OrderingService.HttpApi.Client.ConsoleTestApp.csproj @@ -7,7 +7,7 @@ - + diff --git a/services/ordering/test/EShopOnAbp.OrderingService.TestBase/EShopOnAbp.OrderingService.TestBase.csproj b/services/ordering/test/EShopOnAbp.OrderingService.TestBase/EShopOnAbp.OrderingService.TestBase.csproj index bd291a71..944c3831 100644 --- a/services/ordering/test/EShopOnAbp.OrderingService.TestBase/EShopOnAbp.OrderingService.TestBase.csproj +++ b/services/ordering/test/EShopOnAbp.OrderingService.TestBase/EShopOnAbp.OrderingService.TestBase.csproj @@ -14,9 +14,9 @@ - - - + + + diff --git a/services/payment/src/EShopOnAbp.PaymentService.Application.Contracts/EShopOnAbp.PaymentService.Application.Contracts.csproj b/services/payment/src/EShopOnAbp.PaymentService.Application.Contracts/EShopOnAbp.PaymentService.Application.Contracts.csproj index 154bc51e..b8a79e15 100644 --- a/services/payment/src/EShopOnAbp.PaymentService.Application.Contracts/EShopOnAbp.PaymentService.Application.Contracts.csproj +++ b/services/payment/src/EShopOnAbp.PaymentService.Application.Contracts/EShopOnAbp.PaymentService.Application.Contracts.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/services/payment/src/EShopOnAbp.PaymentService.Application/EShopOnAbp.PaymentService.Application.csproj b/services/payment/src/EShopOnAbp.PaymentService.Application/EShopOnAbp.PaymentService.Application.csproj index 758ee08d..302d316e 100644 --- a/services/payment/src/EShopOnAbp.PaymentService.Application/EShopOnAbp.PaymentService.Application.csproj +++ b/services/payment/src/EShopOnAbp.PaymentService.Application/EShopOnAbp.PaymentService.Application.csproj @@ -3,15 +3,15 @@ - netstandard2.1 + net8.0 EShopOnAbp.PaymentService - - + + diff --git a/services/payment/src/EShopOnAbp.PaymentService.Domain.Shared/EShopOnAbp.PaymentService.Domain.Shared.csproj b/services/payment/src/EShopOnAbp.PaymentService.Domain.Shared/EShopOnAbp.PaymentService.Domain.Shared.csproj index cd6dda5b..282214ae 100644 --- a/services/payment/src/EShopOnAbp.PaymentService.Domain.Shared/EShopOnAbp.PaymentService.Domain.Shared.csproj +++ b/services/payment/src/EShopOnAbp.PaymentService.Domain.Shared/EShopOnAbp.PaymentService.Domain.Shared.csproj @@ -9,7 +9,7 @@ - + diff --git a/services/payment/src/EShopOnAbp.PaymentService.Domain/EShopOnAbp.PaymentService.Domain.csproj b/services/payment/src/EShopOnAbp.PaymentService.Domain/EShopOnAbp.PaymentService.Domain.csproj index 9f08aba6..90b4e087 100644 --- a/services/payment/src/EShopOnAbp.PaymentService.Domain/EShopOnAbp.PaymentService.Domain.csproj +++ b/services/payment/src/EShopOnAbp.PaymentService.Domain/EShopOnAbp.PaymentService.Domain.csproj @@ -8,7 +8,7 @@ - + diff --git a/services/payment/src/EShopOnAbp.PaymentService.EntityFrameworkCore/EShopOnAbp.PaymentService.EntityFrameworkCore.csproj b/services/payment/src/EShopOnAbp.PaymentService.EntityFrameworkCore/EShopOnAbp.PaymentService.EntityFrameworkCore.csproj index 0d666834..2d2c1778 100644 --- a/services/payment/src/EShopOnAbp.PaymentService.EntityFrameworkCore/EShopOnAbp.PaymentService.EntityFrameworkCore.csproj +++ b/services/payment/src/EShopOnAbp.PaymentService.EntityFrameworkCore/EShopOnAbp.PaymentService.EntityFrameworkCore.csproj @@ -9,7 +9,7 @@ - + diff --git a/services/payment/src/EShopOnAbp.PaymentService.HttpApi.Client/EShopOnAbp.PaymentService.HttpApi.Client.csproj b/services/payment/src/EShopOnAbp.PaymentService.HttpApi.Client/EShopOnAbp.PaymentService.HttpApi.Client.csproj index 1d65bf2a..10a171f1 100644 --- a/services/payment/src/EShopOnAbp.PaymentService.HttpApi.Client/EShopOnAbp.PaymentService.HttpApi.Client.csproj +++ b/services/payment/src/EShopOnAbp.PaymentService.HttpApi.Client/EShopOnAbp.PaymentService.HttpApi.Client.csproj @@ -8,7 +8,7 @@ - + diff --git a/services/payment/src/EShopOnAbp.PaymentService.HttpApi/EShopOnAbp.PaymentService.HttpApi.csproj b/services/payment/src/EShopOnAbp.PaymentService.HttpApi/EShopOnAbp.PaymentService.HttpApi.csproj index ab79d4b1..9bcd6d5e 100644 --- a/services/payment/src/EShopOnAbp.PaymentService.HttpApi/EShopOnAbp.PaymentService.HttpApi.csproj +++ b/services/payment/src/EShopOnAbp.PaymentService.HttpApi/EShopOnAbp.PaymentService.HttpApi.csproj @@ -8,7 +8,7 @@ - + diff --git a/services/payment/test/EShopOnAbp.PaymentService.EntityFrameworkCore.Tests/EShopOnAbp.PaymentService.EntityFrameworkCore.Tests.csproj b/services/payment/test/EShopOnAbp.PaymentService.EntityFrameworkCore.Tests/EShopOnAbp.PaymentService.EntityFrameworkCore.Tests.csproj index c52ca108..74a726de 100644 --- a/services/payment/test/EShopOnAbp.PaymentService.EntityFrameworkCore.Tests/EShopOnAbp.PaymentService.EntityFrameworkCore.Tests.csproj +++ b/services/payment/test/EShopOnAbp.PaymentService.EntityFrameworkCore.Tests/EShopOnAbp.PaymentService.EntityFrameworkCore.Tests.csproj @@ -12,7 +12,7 @@ - + diff --git a/services/payment/test/EShopOnAbp.PaymentService.HttpApi.Client.ConsoleTestApp/EShopOnAbp.PaymentService.HttpApi.Client.ConsoleTestApp.csproj b/services/payment/test/EShopOnAbp.PaymentService.HttpApi.Client.ConsoleTestApp/EShopOnAbp.PaymentService.HttpApi.Client.ConsoleTestApp.csproj index 651b6fb8..bfbc49fe 100644 --- a/services/payment/test/EShopOnAbp.PaymentService.HttpApi.Client.ConsoleTestApp/EShopOnAbp.PaymentService.HttpApi.Client.ConsoleTestApp.csproj +++ b/services/payment/test/EShopOnAbp.PaymentService.HttpApi.Client.ConsoleTestApp/EShopOnAbp.PaymentService.HttpApi.Client.ConsoleTestApp.csproj @@ -7,7 +7,7 @@ - + diff --git a/services/payment/test/EShopOnAbp.PaymentService.TestBase/EShopOnAbp.PaymentService.TestBase.csproj b/services/payment/test/EShopOnAbp.PaymentService.TestBase/EShopOnAbp.PaymentService.TestBase.csproj index d3e28aa8..87b9b0fe 100644 --- a/services/payment/test/EShopOnAbp.PaymentService.TestBase/EShopOnAbp.PaymentService.TestBase.csproj +++ b/services/payment/test/EShopOnAbp.PaymentService.TestBase/EShopOnAbp.PaymentService.TestBase.csproj @@ -14,9 +14,9 @@ - - - + + + diff --git a/shared/EShopOnAbp.Shared.Hosting.AspNetCore/EShopOnAbp.Shared.Hosting.AspNetCore.csproj b/shared/EShopOnAbp.Shared.Hosting.AspNetCore/EShopOnAbp.Shared.Hosting.AspNetCore.csproj index 677f3735..4ead4722 100644 --- a/shared/EShopOnAbp.Shared.Hosting.AspNetCore/EShopOnAbp.Shared.Hosting.AspNetCore.csproj +++ b/shared/EShopOnAbp.Shared.Hosting.AspNetCore/EShopOnAbp.Shared.Hosting.AspNetCore.csproj @@ -8,8 +8,8 @@ - - + + diff --git a/shared/EShopOnAbp.Shared.Hosting.Microservices/EShopOnAbp.Shared.Hosting.Microservices.csproj b/shared/EShopOnAbp.Shared.Hosting.Microservices/EShopOnAbp.Shared.Hosting.Microservices.csproj index 006ffcc5..e4606de4 100644 --- a/shared/EShopOnAbp.Shared.Hosting.Microservices/EShopOnAbp.Shared.Hosting.Microservices.csproj +++ b/shared/EShopOnAbp.Shared.Hosting.Microservices/EShopOnAbp.Shared.Hosting.Microservices.csproj @@ -11,17 +11,17 @@ - + - - - - - - + + + + + + diff --git a/shared/EShopOnAbp.Shared.Hosting/EShopOnAbp.Shared.Hosting.csproj b/shared/EShopOnAbp.Shared.Hosting/EShopOnAbp.Shared.Hosting.csproj index b7d54ca1..e1e35661 100644 --- a/shared/EShopOnAbp.Shared.Hosting/EShopOnAbp.Shared.Hosting.csproj +++ b/shared/EShopOnAbp.Shared.Hosting/EShopOnAbp.Shared.Hosting.csproj @@ -14,8 +14,8 @@ - - + + diff --git a/shared/EShopOnAbp.Shared.Localization/EShopOnAbp.Shared.Localization.csproj b/shared/EShopOnAbp.Shared.Localization/EShopOnAbp.Shared.Localization.csproj index e7b3463f..e2c42658 100644 --- a/shared/EShopOnAbp.Shared.Localization/EShopOnAbp.Shared.Localization.csproj +++ b/shared/EShopOnAbp.Shared.Localization/EShopOnAbp.Shared.Localization.csproj @@ -9,7 +9,7 @@ - + From 773196efab31fabfbf8fe7bf7e8e82a02dff1795 Mon Sep 17 00:00:00 2001 From: liangshiwei Date: Thu, 10 Oct 2024 10:59:00 +0800 Subject: [PATCH 2/2] improve --- .../EShopOnAbp.PublicWeb.csproj | 4 +- .../EShopOnAbp.PublicWeb/Pages/Index.cshtml | 2 +- .../Properties/launchSettings.json | 2 +- .../src/EShopOnAbp.PublicWeb/package.json | 2 +- .../wwwroot/libs/abp/core/abp.css | 112 +- .../wwwroot/libs/abp/core/abp.js | 1646 +-- .../wwwroot/libs/abp/jquery/abp.jquery.js | 810 +- .../wwwroot/libs/abp/luxon/abp.luxon.js | 92 +- .../bootstrap-datepicker.min.css | 4 +- .../bootstrap-datepicker.min.js | 8 +- .../locales/bootstrap-datepicker.ar-DZ.min.js | 1 + .../locales/bootstrap-datepicker.ca.min.js | 2 +- .../locales/bootstrap-datepicker.de.min.js | 2 +- .../locales/bootstrap-datepicker.en-US.min.js | 1 + .../locales/bootstrap-datepicker.fi.min.js | 2 +- .../locales/bootstrap-datepicker.id.min.js | 2 +- .../locales/bootstrap-datepicker.mr.min.js | 1 + .../locales/bootstrap-datepicker.uk.min.js | 2 +- .../locales/bootstrap-datepicker.zh-TW.min.js | 2 +- .../daterangepicker.css | 820 +- .../daterangepicker.js | 3156 +++--- .../wwwroot/libs/bootstrap/css/bootstrap.css | 2499 +++-- .../libs/bootstrap/css/bootstrap.css.map | 2 +- .../libs/bootstrap/css/bootstrap.min.css | 7 +- .../libs/bootstrap/css/bootstrap.min.css.map | 2 +- .../libs/bootstrap/css/bootstrap.rtl.css | 2502 +++-- .../libs/bootstrap/css/bootstrap.rtl.css.map | 2 +- .../libs/bootstrap/css/bootstrap.rtl.min.css | 7 +- .../bootstrap/css/bootstrap.rtl.min.css.map | 2 +- .../libs/bootstrap/js/bootstrap.bundle.js | 2212 ++-- .../libs/bootstrap/js/bootstrap.bundle.js.map | 2 +- .../libs/bootstrap/js/bootstrap.bundle.min.js | 6 +- .../bootstrap/js/bootstrap.bundle.min.js.map | 2 +- .../libs/codemirror/addon/comment/comment.js | 211 - .../addon/comment/continuecomment.js | 114 - .../libs/codemirror/addon/dialog/dialog.css | 32 - .../libs/codemirror/addon/dialog/dialog.js | 163 - .../codemirror/addon/display/autorefresh.js | 47 - .../codemirror/addon/display/fullscreen.css | 6 - .../codemirror/addon/display/fullscreen.js | 41 - .../libs/codemirror/addon/display/panel.js | 133 - .../codemirror/addon/display/placeholder.js | 78 - .../libs/codemirror/addon/display/rulers.js | 51 - .../codemirror/addon/edit/closebrackets.js | 201 - .../libs/codemirror/addon/edit/closetag.js | 185 - .../codemirror/addon/edit/continuelist.js | 101 - .../codemirror/addon/edit/matchbrackets.js | 160 - .../libs/codemirror/addon/edit/matchtags.js | 66 - .../codemirror/addon/edit/trailingspace.js | 27 - .../libs/codemirror/addon/fold/brace-fold.js | 119 - .../codemirror/addon/fold/comment-fold.js | 59 - .../libs/codemirror/addon/fold/foldcode.js | 159 - .../libs/codemirror/addon/fold/foldgutter.css | 20 - .../libs/codemirror/addon/fold/foldgutter.js | 169 - .../libs/codemirror/addon/fold/indent-fold.js | 48 - .../codemirror/addon/fold/markdown-fold.js | 49 - .../libs/codemirror/addon/fold/xml-fold.js | 184 - .../codemirror/addon/hint/anyword-hint.js | 41 - .../libs/codemirror/addon/hint/css-hint.js | 66 - .../libs/codemirror/addon/hint/html-hint.js | 351 - .../codemirror/addon/hint/javascript-hint.js | 162 - .../libs/codemirror/addon/hint/show-hint.css | 37 - .../libs/codemirror/addon/hint/show-hint.js | 523 - .../libs/codemirror/addon/hint/sql-hint.js | 304 - .../libs/codemirror/addon/hint/xml-hint.js | 132 - .../addon/lint/coffeescript-lint.js | 47 - .../libs/codemirror/addon/lint/css-lint.js | 40 - .../libs/codemirror/addon/lint/html-lint.js | 59 - .../codemirror/addon/lint/javascript-lint.js | 65 - .../libs/codemirror/addon/lint/json-lint.js | 40 - .../libs/codemirror/addon/lint/lint.css | 79 - .../libs/codemirror/addon/lint/lint.js | 291 - .../libs/codemirror/addon/lint/yaml-lint.js | 41 - .../libs/codemirror/addon/merge/merge.css | 119 - .../libs/codemirror/addon/merge/merge.js | 1018 -- .../libs/codemirror/addon/mode/loadmode.js | 66 - .../libs/codemirror/addon/mode/multiplex.js | 136 - .../codemirror/addon/mode/multiplex_test.js | 49 - .../libs/codemirror/addon/mode/overlay.js | 90 - .../libs/codemirror/addon/mode/simple.js | 216 - .../libs/codemirror/addon/runmode/colorize.js | 40 - .../addon/runmode/runmode-standalone.js | 334 - .../libs/codemirror/addon/runmode/runmode.js | 76 - .../codemirror/addon/runmode/runmode.node.js | 329 - .../addon/scroll/annotatescrollbar.js | 128 - .../codemirror/addon/scroll/scrollpastend.js | 48 - .../addon/scroll/simplescrollbars.css | 66 - .../addon/scroll/simplescrollbars.js | 152 - .../codemirror/addon/search/jump-to-line.js | 53 - .../addon/search/match-highlighter.js | 167 - .../addon/search/matchesonscrollbar.css | 8 - .../addon/search/matchesonscrollbar.js | 97 - .../libs/codemirror/addon/search/search.js | 295 - .../codemirror/addon/search/searchcursor.js | 305 - .../codemirror/addon/selection/active-line.js | 72 - .../addon/selection/mark-selection.js | 119 - .../addon/selection/selection-pointer.js | 98 - .../libs/codemirror/addon/tern/tern.css | 87 - .../libs/codemirror/addon/tern/tern.js | 756 -- .../libs/codemirror/addon/tern/worker.js | 44 - .../libs/codemirror/addon/wrap/hardwrap.js | 160 - .../wwwroot/libs/codemirror/codemirror.css | 344 - .../wwwroot/libs/codemirror/codemirror.js | 9872 ----------------- .../wwwroot/libs/codemirror/mode/apl/apl.js | 174 - .../codemirror/mode/asciiarmor/asciiarmor.js | 74 - .../libs/codemirror/mode/asn.1/asn.1.js | 204 - .../libs/codemirror/mode/asterisk/asterisk.js | 220 - .../codemirror/mode/brainfuck/brainfuck.js | 85 - .../libs/codemirror/mode/clike/clike.js | 940 -- .../libs/codemirror/mode/clojure/clojure.js | 292 - .../libs/codemirror/mode/cmake/cmake.js | 97 - .../libs/codemirror/mode/cobol/cobol.js | 255 - .../mode/coffeescript/coffeescript.js | 359 - .../codemirror/mode/commonlisp/commonlisp.js | 125 - .../libs/codemirror/mode/crystal/crystal.js | 433 - .../wwwroot/libs/codemirror/mode/css/css.js | 862 -- .../libs/codemirror/mode/cypher/cypher.js | 152 - .../wwwroot/libs/codemirror/mode/d/d.js | 223 - .../wwwroot/libs/codemirror/mode/dart/dart.js | 166 - .../wwwroot/libs/codemirror/mode/diff/diff.js | 47 - .../libs/codemirror/mode/django/django.js | 356 - .../codemirror/mode/dockerfile/dockerfile.js | 211 - .../wwwroot/libs/codemirror/mode/dtd/dtd.js | 142 - .../libs/codemirror/mode/dylan/dylan.js | 352 - .../wwwroot/libs/codemirror/mode/ebnf/ebnf.js | 195 - .../wwwroot/libs/codemirror/mode/ecl/ecl.js | 206 - .../libs/codemirror/mode/eiffel/eiffel.js | 160 - .../wwwroot/libs/codemirror/mode/elm/elm.js | 245 - .../libs/codemirror/mode/erlang/erlang.js | 619 -- .../libs/codemirror/mode/factor/factor.js | 85 - .../wwwroot/libs/codemirror/mode/fcl/fcl.js | 173 - .../libs/codemirror/mode/forth/forth.js | 180 - .../libs/codemirror/mode/fortran/fortran.js | 188 - .../wwwroot/libs/codemirror/mode/gas/gas.js | 353 - .../wwwroot/libs/codemirror/mode/gfm/gfm.js | 129 - .../libs/codemirror/mode/gherkin/gherkin.js | 178 - .../wwwroot/libs/codemirror/mode/go/go.js | 187 - .../libs/codemirror/mode/groovy/groovy.js | 247 - .../wwwroot/libs/codemirror/mode/haml/haml.js | 161 - .../codemirror/mode/handlebars/handlebars.js | 70 - .../mode/haskell-literate/haskell-literate.js | 43 - .../libs/codemirror/mode/haskell/haskell.js | 268 - .../wwwroot/libs/codemirror/mode/haxe/haxe.js | 515 - .../mode/htmlembedded/htmlembedded.js | 37 - .../codemirror/mode/htmlmixed/htmlmixed.js | 153 - .../wwwroot/libs/codemirror/mode/http/http.js | 113 - .../wwwroot/libs/codemirror/mode/idl/idl.js | 290 - .../codemirror/mode/javascript/javascript.js | 960 -- .../libs/codemirror/mode/jinja2/jinja2.js | 193 - .../wwwroot/libs/codemirror/mode/jsx/jsx.js | 148 - .../libs/codemirror/mode/julia/julia.js | 390 - .../codemirror/mode/livescript/livescript.js | 280 - .../wwwroot/libs/codemirror/mode/lua/lua.js | 160 - .../libs/codemirror/mode/markdown/markdown.js | 886 -- .../mode/mathematica/mathematica.js | 176 - .../wwwroot/libs/codemirror/mode/mbox/mbox.js | 129 - .../wwwroot/libs/codemirror/mode/meta.js | 221 - .../wwwroot/libs/codemirror/mode/mirc/mirc.js | 193 - .../libs/codemirror/mode/mllike/mllike.js | 359 - .../libs/codemirror/mode/modelica/modelica.js | 245 - .../libs/codemirror/mode/mscgen/mscgen.js | 175 - .../libs/codemirror/mode/mumps/mumps.js | 148 - .../libs/codemirror/mode/nginx/nginx.js | 178 - .../wwwroot/libs/codemirror/mode/nsis/nsis.js | 95 - .../libs/codemirror/mode/ntriples/ntriples.js | 195 - .../libs/codemirror/mode/octave/octave.js | 139 - .../wwwroot/libs/codemirror/mode/oz/oz.js | 252 - .../libs/codemirror/mode/pascal/pascal.js | 136 - .../libs/codemirror/mode/pegjs/pegjs.js | 114 - .../wwwroot/libs/codemirror/mode/perl/perl.js | 836 -- .../wwwroot/libs/codemirror/mode/php/php.js | 234 - .../wwwroot/libs/codemirror/mode/pig/pig.js | 178 - .../codemirror/mode/powershell/powershell.js | 398 - .../codemirror/mode/properties/properties.js | 78 - .../libs/codemirror/mode/protobuf/protobuf.js | 72 - .../wwwroot/libs/codemirror/mode/pug/pug.js | 591 - .../libs/codemirror/mode/puppet/puppet.js | 220 - .../libs/codemirror/mode/python/python.js | 402 - .../wwwroot/libs/codemirror/mode/q/q.js | 139 - .../wwwroot/libs/codemirror/mode/r/r.js | 190 - .../codemirror/mode/rpm/changes/index.html | 66 - .../wwwroot/libs/codemirror/mode/rpm/rpm.js | 109 - .../wwwroot/libs/codemirror/mode/rst/rst.js | 557 - .../wwwroot/libs/codemirror/mode/ruby/ruby.js | 303 - .../wwwroot/libs/codemirror/mode/rust/rust.js | 72 - .../wwwroot/libs/codemirror/mode/sas/sas.js | 303 - .../wwwroot/libs/codemirror/mode/sass/sass.js | 459 - .../libs/codemirror/mode/scheme/scheme.js | 284 - .../libs/codemirror/mode/shell/shell.js | 168 - .../libs/codemirror/mode/sieve/sieve.js | 193 - .../wwwroot/libs/codemirror/mode/slim/slim.js | 575 - .../codemirror/mode/smalltalk/smalltalk.js | 168 - .../libs/codemirror/mode/smarty/smarty.js | 225 - .../wwwroot/libs/codemirror/mode/solr/solr.js | 104 - .../wwwroot/libs/codemirror/mode/soy/soy.js | 665 -- .../libs/codemirror/mode/sparql/sparql.js | 183 - .../mode/spreadsheet/spreadsheet.js | 112 - .../wwwroot/libs/codemirror/mode/sql/sql.js | 527 - .../wwwroot/libs/codemirror/mode/stex/stex.js | 264 - .../libs/codemirror/mode/stylus/stylus.js | 775 -- .../libs/codemirror/mode/swift/swift.js | 221 - .../wwwroot/libs/codemirror/mode/tcl/tcl.js | 140 - .../libs/codemirror/mode/textile/textile.js | 469 - .../codemirror/mode/tiddlywiki/tiddlywiki.css | 14 - .../codemirror/mode/tiddlywiki/tiddlywiki.js | 308 - .../libs/codemirror/mode/tiki/tiki.css | 26 - .../wwwroot/libs/codemirror/mode/tiki/tiki.js | 312 - .../wwwroot/libs/codemirror/mode/toml/toml.js | 88 - .../libs/codemirror/mode/tornado/tornado.js | 68 - .../libs/codemirror/mode/troff/troff.js | 84 - .../libs/codemirror/mode/ttcn-cfg/ttcn-cfg.js | 214 - .../wwwroot/libs/codemirror/mode/ttcn/ttcn.js | 283 - .../libs/codemirror/mode/turtle/turtle.js | 162 - .../wwwroot/libs/codemirror/mode/twig/twig.js | 141 - .../wwwroot/libs/codemirror/mode/vb/vb.js | 275 - .../libs/codemirror/mode/vbscript/vbscript.js | 350 - .../libs/codemirror/mode/velocity/velocity.js | 202 - .../libs/codemirror/mode/verilog/verilog.js | 781 -- .../wwwroot/libs/codemirror/mode/vhdl/vhdl.js | 189 - .../wwwroot/libs/codemirror/mode/vue/vue.js | 77 - .../wwwroot/libs/codemirror/mode/wast/wast.js | 132 - .../libs/codemirror/mode/webidl/webidl.js | 195 - .../wwwroot/libs/codemirror/mode/xml/xml.js | 417 - .../libs/codemirror/mode/xquery/xquery.js | 448 - .../libs/codemirror/mode/yacas/yacas.js | 204 - .../mode/yaml-frontmatter/yaml-frontmatter.js | 72 - .../wwwroot/libs/codemirror/mode/yaml/yaml.js | 120 - .../wwwroot/libs/codemirror/mode/z80/z80.js | 116 - .../libs/codemirror/theme/3024-day.css | 41 - .../libs/codemirror/theme/3024-night.css | 39 - .../wwwroot/libs/codemirror/theme/abbott.css | 268 - .../wwwroot/libs/codemirror/theme/abcdef.css | 32 - .../libs/codemirror/theme/ambiance-mobile.css | 5 - .../libs/codemirror/theme/ambiance.css | 74 - .../libs/codemirror/theme/ayu-dark.css | 44 - .../libs/codemirror/theme/ayu-mirage.css | 45 - .../libs/codemirror/theme/base16-dark.css | 40 - .../libs/codemirror/theme/base16-light.css | 38 - .../wwwroot/libs/codemirror/theme/bespin.css | 34 - .../libs/codemirror/theme/blackboard.css | 32 - .../wwwroot/libs/codemirror/theme/cobalt.css | 25 - .../libs/codemirror/theme/colorforth.css | 33 - .../wwwroot/libs/codemirror/theme/darcula.css | 53 - .../wwwroot/libs/codemirror/theme/dracula.css | 40 - .../libs/codemirror/theme/duotone-dark.css | 35 - .../libs/codemirror/theme/duotone-light.css | 36 - .../wwwroot/libs/codemirror/theme/eclipse.css | 23 - .../wwwroot/libs/codemirror/theme/elegant.css | 13 - .../libs/codemirror/theme/erlang-dark.css | 34 - .../libs/codemirror/theme/gruvbox-dark.css | 39 - .../libs/codemirror/theme/hopscotch.css | 34 - .../libs/codemirror/theme/icecoder.css | 43 - .../wwwroot/libs/codemirror/theme/idea.css | 42 - .../wwwroot/libs/codemirror/theme/isotope.css | 34 - .../wwwroot/libs/codemirror/theme/juejin.css | 30 - .../libs/codemirror/theme/lesser-dark.css | 47 - .../libs/codemirror/theme/liquibyte.css | 95 - .../wwwroot/libs/codemirror/theme/lucario.css | 37 - .../libs/codemirror/theme/material-darker.css | 135 - .../libs/codemirror/theme/material-ocean.css | 141 - .../codemirror/theme/material-palenight.css | 141 - .../libs/codemirror/theme/material.css | 141 - .../wwwroot/libs/codemirror/theme/mbo.css | 37 - .../libs/codemirror/theme/mdn-like.css | 46 - .../libs/codemirror/theme/midnight.css | 39 - .../wwwroot/libs/codemirror/theme/monokai.css | 41 - .../wwwroot/libs/codemirror/theme/moxer.css | 143 - .../wwwroot/libs/codemirror/theme/neat.css | 12 - .../wwwroot/libs/codemirror/theme/neo.css | 43 - .../wwwroot/libs/codemirror/theme/night.css | 27 - .../wwwroot/libs/codemirror/theme/nord.css | 42 - .../libs/codemirror/theme/oceanic-next.css | 46 - .../libs/codemirror/theme/panda-syntax.css | 85 - .../libs/codemirror/theme/paraiso-dark.css | 38 - .../libs/codemirror/theme/paraiso-light.css | 38 - .../libs/codemirror/theme/pastel-on-dark.css | 52 - .../libs/codemirror/theme/railscasts.css | 34 - .../libs/codemirror/theme/rubyblue.css | 25 - .../wwwroot/libs/codemirror/theme/seti.css | 44 - .../libs/codemirror/theme/shadowfox.css | 52 - .../libs/codemirror/theme/solarized.css | 165 - .../wwwroot/libs/codemirror/theme/ssms.css | 16 - .../libs/codemirror/theme/the-matrix.css | 30 - .../theme/tomorrow-night-bright.css | 35 - .../theme/tomorrow-night-eighties.css | 38 - .../wwwroot/libs/codemirror/theme/ttcn.css | 64 - .../libs/codemirror/theme/twilight.css | 32 - .../libs/codemirror/theme/vibrant-ink.css | 34 - .../wwwroot/libs/codemirror/theme/xq-dark.css | 53 - .../libs/codemirror/theme/xq-light.css | 43 - .../wwwroot/libs/codemirror/theme/yeti.css | 44 - .../wwwroot/libs/codemirror/theme/yonce.css | 59 - .../wwwroot/libs/codemirror/theme/zenburn.css | 37 - .../css/dataTables.bootstrap5.css | 97 +- .../js/dataTables.bootstrap5.js | 86 +- .../datatables.net/js/jquery.dataTables.js | 309 +- .../libs/highlight.js/highlight.min.js | 1151 +- .../libs/highlight.js/styles/a11y-dark.css | 94 + .../libs/highlight.js/styles/a11y-light.css | 94 + .../libs/highlight.js/styles/agate.css | 127 + .../libs/highlight.js/styles/an-old-hope.css | 75 + .../highlight.js/styles/androidstudio.css | 60 + .../highlight.js/styles/arduino-light.css | 78 + .../wwwroot/libs/highlight.js/styles/arta.css | 66 + .../libs/highlight.js/styles/ascetic.css | 45 + .../styles/atom-one-dark-reasonable.css | 105 + .../highlight.js/styles/atom-one-dark.css | 90 + .../highlight.js/styles/atom-one-light.css | 90 + .../libs/highlight.js/styles/base16/3024.css | 163 + .../highlight.js/styles/base16/apathy.css | 163 + .../highlight.js/styles/base16/apprentice.css | 163 + .../libs/highlight.js/styles/base16/ashes.css | 163 + .../styles/base16/atelier-cave-light.css | 163 + .../styles/base16/atelier-cave.css | 163 + .../styles/base16/atelier-dune-light.css | 163 + .../styles/base16/atelier-dune.css | 163 + .../styles/base16/atelier-estuary-light.css | 163 + .../styles/base16/atelier-estuary.css | 163 + .../styles/base16/atelier-forest-light.css | 163 + .../styles/base16/atelier-forest.css | 163 + .../styles/base16/atelier-heath-light.css | 163 + .../styles/base16/atelier-heath.css | 163 + .../styles/base16/atelier-lakeside-light.css | 163 + .../styles/base16/atelier-lakeside.css | 163 + .../styles/base16/atelier-plateau-light.css | 163 + .../styles/base16/atelier-plateau.css | 163 + .../styles/base16/atelier-savanna-light.css | 163 + .../styles/base16/atelier-savanna.css | 163 + .../styles/base16/atelier-seaside-light.css | 163 + .../styles/base16/atelier-seaside.css | 163 + .../base16/atelier-sulphurpool-light.css | 163 + .../styles/base16/atelier-sulphurpool.css | 163 + .../libs/highlight.js/styles/base16/atlas.css | 163 + .../highlight.js/styles/base16/bespin.css | 163 + .../styles/base16/black-metal-bathory.css | 163 + .../styles/base16/black-metal-burzum.css | 163 + .../base16/black-metal-dark-funeral.css | 163 + .../styles/base16/black-metal-gorgoroth.css | 163 + .../styles/base16/black-metal-immortal.css | 163 + .../styles/base16/black-metal-khold.css | 163 + .../styles/base16/black-metal-marduk.css | 163 + .../styles/base16/black-metal-mayhem.css | 163 + .../styles/base16/black-metal-nile.css | 163 + .../styles/base16/black-metal-venom.css | 163 + .../styles/base16/black-metal.css | 163 + .../highlight.js/styles/base16/brewer.css | 163 + .../highlight.js/styles/base16/bright.css | 163 + .../highlight.js/styles/base16/brogrammer.css | 163 + .../styles/base16/brush-trees-dark.css | 163 + .../styles/base16/brush-trees.css | 163 + .../libs/highlight.js/styles/base16/chalk.css | 163 + .../highlight.js/styles/base16/circus.css | 163 + .../styles/base16/classic-dark.css | 163 + .../styles/base16/classic-light.css | 163 + .../highlight.js/styles/base16/codeschool.css | 163 + .../highlight.js/styles/base16/colors.css | 163 + .../highlight.js/styles/base16/cupcake.css | 163 + .../highlight.js/styles/base16/cupertino.css | 163 + .../highlight.js/styles/base16/danqing.css | 163 + .../highlight.js/styles/base16/darcula.css | 163 + .../styles/base16/dark-violet.css | 163 + .../highlight.js/styles/base16/darkmoss.css | 163 + .../highlight.js/styles/base16/darktooth.css | 163 + .../libs/highlight.js/styles/base16/decaf.css | 163 + .../styles/base16/default-dark.css | 163 + .../styles/base16/default-light.css | 163 + .../highlight.js/styles/base16/dirtysea.css | 163 + .../highlight.js/styles/base16/dracula.css | 163 + .../highlight.js/styles/base16/edge-dark.css | 163 + .../highlight.js/styles/base16/edge-light.css | 163 + .../highlight.js/styles/base16/eighties.css | 163 + .../highlight.js/styles/base16/embers.css | 163 + .../styles/base16/equilibrium-dark.css | 163 + .../styles/base16/equilibrium-gray-dark.css | 163 + .../styles/base16/equilibrium-gray-light.css | 163 + .../styles/base16/equilibrium-light.css | 163 + .../highlight.js/styles/base16/espresso.css | 163 + .../highlight.js/styles/base16/eva-dim.css | 163 + .../libs/highlight.js/styles/base16/eva.css | 163 + .../libs/highlight.js/styles/base16/flat.css | 163 + .../highlight.js/styles/base16/framer.css | 163 + .../highlight.js/styles/base16/fruit-soda.css | 163 + .../highlight.js/styles/base16/gigavolt.css | 163 + .../highlight.js/styles/base16/github.css | 163 + .../styles/base16/google-dark.css | 163 + .../styles/base16/google-light.css | 163 + .../styles/base16/grayscale-dark.css | 163 + .../styles/base16/grayscale-light.css | 163 + .../styles/base16/green-screen.css | 163 + .../styles/base16/gruvbox-dark-hard.css | 163 + .../styles/base16/gruvbox-dark-medium.css | 163 + .../styles/base16/gruvbox-dark-pale.css | 163 + .../styles/base16/gruvbox-dark-soft.css | 163 + .../styles/base16/gruvbox-light-hard.css | 163 + .../styles/base16/gruvbox-light-medium.css | 163 + .../styles/base16/gruvbox-light-soft.css | 163 + .../highlight.js/styles/base16/hardcore.css | 163 + .../styles/base16/harmonic16-dark.css | 163 + .../styles/base16/harmonic16-light.css | 163 + .../styles/base16/heetch-dark.css | 163 + .../styles/base16/heetch-light.css | 163 + .../highlight.js/styles/base16/helios.css | 163 + .../highlight.js/styles/base16/hopscotch.css | 163 + .../styles/base16/horizon-dark.css | 163 + .../styles/base16/horizon-light.css | 163 + .../styles/base16/humanoid-dark.css | 163 + .../styles/base16/humanoid-light.css | 163 + .../highlight.js/styles/base16/ia-dark.css | 163 + .../highlight.js/styles/base16/ia-light.css | 163 + .../highlight.js/styles/base16/icy-dark.css | 163 + .../highlight.js/styles/base16/ir-black.css | 163 + .../highlight.js/styles/base16/isotope.css | 163 + .../highlight.js/styles/base16/kimber.css | 163 + .../styles/base16/london-tube.css | 163 + .../highlight.js/styles/base16/macintosh.css | 163 + .../highlight.js/styles/base16/marrakesh.css | 163 + .../highlight.js/styles/base16/materia.css | 163 + .../styles/base16/material-darker.css | 163 + .../styles/base16/material-lighter.css | 163 + .../styles/base16/material-palenight.css | 163 + .../styles/base16/material-vivid.css | 163 + .../highlight.js/styles/base16/material.css | 163 + .../styles/base16/mellow-purple.css | 163 + .../styles/base16/mexico-light.css | 163 + .../libs/highlight.js/styles/base16/mocha.css | 163 + .../highlight.js/styles/base16/monokai.css | 163 + .../highlight.js/styles/base16/nebula.css | 163 + .../libs/highlight.js/styles/base16/nord.css | 163 + .../libs/highlight.js/styles/base16/nova.css | 163 + .../libs/highlight.js/styles/base16/ocean.css | 163 + .../styles/base16/oceanicnext.css | 163 + .../highlight.js/styles/base16/one-light.css | 163 + .../highlight.js/styles/base16/onedark.css | 163 + .../styles/base16/outrun-dark.css | 163 + .../styles/base16/papercolor-dark.css | 163 + .../styles/base16/papercolor-light.css | 163 + .../highlight.js/styles/base16/paraiso.css | 163 + .../highlight.js/styles/base16/pasque.css | 163 + .../libs/highlight.js/styles/base16/phd.css | 163 + .../libs/highlight.js/styles/base16/pico.css | 163 + .../libs/highlight.js/styles/base16/pop.css | 163 + .../highlight.js/styles/base16/porple.css | 163 + .../highlight.js/styles/base16/qualia.css | 163 + .../highlight.js/styles/base16/railscasts.css | 163 + .../highlight.js/styles/base16/rebecca.css | 163 + .../styles/base16/ros-pine-dawn.css | 163 + .../styles/base16/ros-pine-moon.css | 163 + .../highlight.js/styles/base16/ros-pine.css | 163 + .../highlight.js/styles/base16/sagelight.css | 163 + .../highlight.js/styles/base16/sandcastle.css | 163 + .../highlight.js/styles/base16/seti-ui.css | 163 + .../styles/base16/shapeshifter.css | 163 + .../highlight.js/styles/base16/silk-dark.css | 163 + .../highlight.js/styles/base16/silk-light.css | 163 + .../highlight.js/styles/base16/snazzy.css | 163 + .../styles/base16/solar-flare-light.css | 163 + .../styles/base16/solar-flare.css | 163 + .../styles/base16/solarized-dark.css | 163 + .../styles/base16/solarized-light.css | 163 + .../highlight.js/styles/base16/spacemacs.css | 163 + .../highlight.js/styles/base16/summercamp.css | 163 + .../styles/base16/summerfruit-dark.css | 163 + .../styles/base16/summerfruit-light.css | 163 + .../base16/synth-midnight-terminal-dark.css | 163 + .../base16/synth-midnight-terminal-light.css | 163 + .../libs/highlight.js/styles/base16/tango.css | 163 + .../highlight.js/styles/base16/tender.css | 163 + .../styles/base16/tomorrow-night.css | 163 + .../highlight.js/styles/base16/tomorrow.css | 163 + .../highlight.js/styles/base16/twilight.css | 163 + .../styles/base16/unikitty-dark.css | 163 + .../styles/base16/unikitty-light.css | 163 + .../highlight.js/styles/base16/vulcan.css | 163 + .../styles/base16/windows-10-light.css | 163 + .../highlight.js/styles/base16/windows-10.css | 163 + .../styles/base16/windows-95-light.css | 163 + .../highlight.js/styles/base16/windows-95.css | 163 + .../base16/windows-high-contrast-light.css | 163 + .../styles/base16/windows-high-contrast.css | 163 + .../styles/base16/windows-nt-light.css | 163 + .../highlight.js/styles/base16/windows-nt.css | 163 + .../highlight.js/styles/base16/woodland.css | 163 + .../highlight.js/styles/base16/xcode-dusk.css | 163 + .../highlight.js/styles/base16/zenburn.css | 163 + .../libs/highlight.js/styles/brown-paper.css | 63 + .../highlight.js/styles/codepen-embed.css | 57 + .../libs/highlight.js/styles/color-brewer.css | 66 + .../wwwroot/libs/highlight.js/styles/dark.css | 62 + .../libs/highlight.js/styles/default.css | 117 + .../libs/highlight.js/styles/devibeans.css | 90 + .../libs/highlight.js/styles/docco.css | 83 + .../wwwroot/libs/highlight.js/styles/far.css | 67 + .../libs/highlight.js/styles/felipec.css | 94 + .../libs/highlight.js/styles/felipec.min.css | 7 + .../libs/highlight.js/styles/foundation.css | 80 + .../styles/github-dark-dimmed.css | 117 + .../libs/highlight.js/styles/github-dark.css | 118 + .../libs/highlight.js/styles/github.css | 118 + .../wwwroot/libs/highlight.js/styles/gml.css | 72 + .../libs/highlight.js/styles/googlecode.css | 79 + .../highlight.js/styles/gradient-dark.css | 90 + .../highlight.js/styles/gradient-light.css | 90 + .../libs/highlight.js/styles/grayscale.css | 89 + .../libs/highlight.js/styles/hybrid.css | 88 + .../wwwroot/libs/highlight.js/styles/idea.css | 86 + .../highlight.js/styles/intellij-light.css | 107 + .../libs/highlight.js/styles/ir-black.css | 66 + .../highlight.js/styles/isbl-editor-dark.css | 94 + .../highlight.js/styles/isbl-editor-light.css | 93 + .../libs/highlight.js/styles/kimbie-dark.css | 69 + .../libs/highlight.js/styles/kimbie-light.css | 69 + .../libs/highlight.js/styles/lightfair.css | 81 + .../libs/highlight.js/styles/lioshi.css | 76 + .../libs/highlight.js/styles/magula.css | 66 + .../libs/highlight.js/styles/mono-blue.css | 56 + .../highlight.js/styles/monokai-sublime.css | 76 + .../libs/highlight.js/styles/monokai.css | 68 + .../libs/highlight.js/styles/night-owl.css | 174 + .../libs/highlight.js/styles/nnfx-dark.css | 104 + .../libs/highlight.js/styles/nnfx-light.css | 104 + .../wwwroot/libs/highlight.js/styles/nord.css | 275 + .../libs/highlight.js/styles/obsidian.css | 79 + .../highlight.js/styles/panda-syntax-dark.css | 92 + .../styles/panda-syntax-dark.min.css | 1 + .../styles/panda-syntax-light.css | 89 + .../styles/panda-syntax-light.min.css | 1 + .../libs/highlight.js/styles/paraiso-dark.css | 67 + .../highlight.js/styles/paraiso-light.css | 67 + .../libs/highlight.js/styles/pojoaque.css | 76 + .../libs/highlight.js/styles/purebasic.css | 103 + .../highlight.js/styles/qtcreator-dark.css | 76 + .../highlight.js/styles/qtcreator-light.css | 74 + .../libs/highlight.js/styles/rainbow.css | 77 + .../libs/highlight.js/styles/routeros.css | 86 + .../libs/highlight.js/styles/school-book.css | 62 + .../highlight.js/styles/shades-of-purple.css | 84 + .../libs/highlight.js/styles/srcery.css | 89 + .../styles/stackoverflow-dark.css | 117 + .../styles/stackoverflow-light.css | 117 + .../libs/highlight.js/styles/sunburst.css | 89 + .../highlight.js/styles/tokyo-night-dark.css | 114 + .../styles/tokyo-night-dark.min.css | 8 + .../highlight.js/styles/tokyo-night-light.css | 114 + .../styles/tokyo-night-light.min.css | 8 + .../styles/tomorrow-night-blue.css | 69 + .../styles/tomorrow-night-bright.css | 68 + .../wwwroot/libs/highlight.js/styles/vs.css | 63 + .../libs/highlight.js/styles/vs2015.css | 100 + .../libs/highlight.js/styles/xcode.css | 90 + .../libs/highlight.js/styles/xt256.css | 79 + .../libs/jquery-form/jquery.form.min.js | 42 +- .../libs/jquery-validation/jquery.validate.js | 138 +- .../localization/messages_ar.js | 31 +- .../localization/messages_ar.min.js | 6 +- .../localization/messages_az.js | 2 +- .../localization/messages_az.min.js | 6 +- .../localization/messages_bg.min.js | 4 +- .../localization/messages_bn_BD.min.js | 4 +- .../localization/messages_ca.js | 2 +- .../localization/messages_ca.min.js | 6 +- .../localization/messages_cs.min.js | 4 +- .../localization/messages_da.js | 12 +- .../localization/messages_da.min.js | 6 +- .../localization/messages_de.min.js | 4 +- .../localization/messages_el.min.js | 4 +- .../localization/messages_es.min.js | 4 +- .../localization/messages_es_AR.min.js | 4 +- .../localization/messages_es_PE.min.js | 4 +- .../localization/messages_et.min.js | 4 +- .../localization/messages_eu.min.js | 4 +- .../localization/messages_fa.js | 2 +- .../localization/messages_fa.min.js | 6 +- .../localization/messages_fi.min.js | 4 +- .../localization/messages_fr.js | 1 + .../localization/messages_fr.min.js | 6 +- .../localization/messages_ge.js | 2 +- .../localization/messages_ge.min.js | 6 +- .../localization/messages_gl.min.js | 4 +- .../localization/messages_he.min.js | 4 +- .../localization/messages_hi.js | 54 + .../localization/messages_hi.min.js | 4 + .../localization/messages_hr.min.js | 4 +- .../localization/messages_hu.min.js | 4 +- .../localization/messages_hy_AM.min.js | 4 +- .../localization/messages_id.min.js | 4 +- .../localization/messages_is.min.js | 4 +- .../localization/messages_it.js | 42 +- .../localization/messages_it.min.js | 6 +- .../localization/messages_ja.min.js | 4 +- .../localization/messages_ka.min.js | 4 +- .../localization/messages_kk.min.js | 4 +- .../localization/messages_ko.min.js | 4 +- .../localization/messages_lt.min.js | 4 +- .../localization/messages_lv.min.js | 4 +- .../localization/messages_mk.js | 8 +- .../localization/messages_mk.min.js | 6 +- .../localization/messages_my.min.js | 4 +- .../localization/messages_nl.min.js | 4 +- .../localization/messages_no.min.js | 4 +- .../localization/messages_pl.js | 2 +- .../localization/messages_pl.min.js | 6 +- .../localization/messages_pt_BR.js | 6 +- .../localization/messages_pt_BR.min.js | 6 +- .../localization/messages_pt_PT.min.js | 4 +- .../localization/messages_ro.js | 2 +- .../localization/messages_ro.min.js | 6 +- .../localization/messages_ru.min.js | 4 +- .../localization/messages_sd.min.js | 4 +- .../localization/messages_si.min.js | 4 +- .../localization/messages_sk.min.js | 4 +- .../localization/messages_sl.min.js | 4 +- .../localization/messages_sr.min.js | 4 +- .../localization/messages_sr_lat.js | 2 +- .../localization/messages_sr_lat.min.js | 6 +- .../localization/messages_sv.min.js | 4 +- .../localization/messages_th.min.js | 4 +- .../localization/messages_tj.js | 2 +- .../localization/messages_tj.min.js | 6 +- .../localization/messages_tr.js | 2 +- .../localization/messages_tr.min.js | 6 +- .../localization/messages_uk.min.js | 4 +- .../localization/messages_ur.min.js | 4 +- .../localization/messages_vi.min.js | 4 +- .../localization/messages_zh.min.js | 4 +- .../localization/messages_zh_TW.min.js | 4 +- .../localization/methods_de.min.js | 4 +- .../localization/methods_es_CL.min.js | 4 +- .../localization/methods_fi.min.js | 4 +- .../localization/methods_it.min.js | 4 +- .../localization/methods_nl.min.js | 4 +- .../localization/methods_pt.min.js | 4 +- .../wwwroot/libs/jquery/jquery.js | 2117 ++-- .../wwwroot/libs/jstree/jstree.js | 278 +- .../wwwroot/libs/jstree/jstree.min.js | 9 +- .../libs/jstree/themes/default-dark/style.css | 32 +- .../jstree/themes/default-dark/style.min.css | 2 +- .../libs/jstree/themes/default/style.css | 26 +- .../libs/jstree/themes/default/style.min.css | 2 +- .../wwwroot/libs/luxon/luxon.js | 4 +- .../wwwroot/libs/luxon/luxon.js.map | 2 +- .../wwwroot/libs/luxon/luxon.min.js | 2 +- .../wwwroot/libs/luxon/luxon.min.js.map | 2 +- .../libs/markdown-it/markdown-it.min.js | 2 + .../wwwroot/libs/moment/locale/ar-dz.js | 16 +- .../wwwroot/libs/moment/locale/ar-ly.js | 16 +- .../wwwroot/libs/moment/locale/ar-ps.js | 123 + .../wwwroot/libs/moment/locale/ar.js | 16 +- .../wwwroot/libs/moment/locale/be.js | 4 +- .../wwwroot/libs/moment/locale/bs.js | 18 +- .../wwwroot/libs/moment/locale/ca.js | 12 +- .../wwwroot/libs/moment/locale/cs.js | 9 +- .../wwwroot/libs/moment/locale/cv.js | 4 +- .../wwwroot/libs/moment/locale/en-au.js | 12 +- .../wwwroot/libs/moment/locale/en-ca.js | 12 +- .../wwwroot/libs/moment/locale/en-gb.js | 12 +- .../wwwroot/libs/moment/locale/en-ie.js | 12 +- .../wwwroot/libs/moment/locale/en-il.js | 12 +- .../wwwroot/libs/moment/locale/en-in.js | 12 +- .../wwwroot/libs/moment/locale/en-nz.js | 12 +- .../wwwroot/libs/moment/locale/en-sg.js | 12 +- .../wwwroot/libs/moment/locale/it.js | 8 +- .../wwwroot/libs/moment/locale/ku-kmr.js | 125 + .../wwwroot/libs/moment/locale/lt.js | 4 +- .../wwwroot/libs/moment/locale/me.js | 4 +- .../wwwroot/libs/moment/locale/nb.js | 8 +- .../wwwroot/libs/moment/locale/nl-be.js | 2 +- .../wwwroot/libs/moment/locale/nl.js | 2 +- .../wwwroot/libs/moment/locale/oc-lnc.js | 12 +- .../wwwroot/libs/moment/locale/ru.js | 4 +- .../wwwroot/libs/moment/locale/sv.js | 12 +- .../wwwroot/libs/moment/locale/tet.js | 12 +- .../wwwroot/libs/moment/locale/tlh.js | 16 +- .../wwwroot/libs/moment/locale/tzl.js | 4 +- .../wwwroot/libs/moment/locale/uk.js | 8 +- .../wwwroot/libs/moment/locale/x-pseudo.js | 12 +- .../wwwroot/libs/moment/moment.min.js | 2 +- .../wwwroot/libs/signalr/browser/signalr.js | 6400 ++++++----- .../libs/signalr/browser/signalr.js.map | 2 +- .../libs/signalr/browser/signalr.min.js | 2 +- .../libs/signalr/browser/signalr.min.js.map | 2 +- .../wwwroot/libs/slugify/slugify.js | 8 +- .../star-rating-svg/css/star-rating-svg.css | 74 +- .../libs/sweetalert2/sweetalert2.all.js | 3976 ++++--- .../libs/sweetalert2/sweetalert2.all.min.js | 8 +- .../wwwroot/libs/sweetalert2/sweetalert2.css | 486 +- .../libs/sweetalert2/sweetalert2.esm.all.js | 4484 ++++++++ .../sweetalert2/sweetalert2.esm.all.min.js | 6 + .../libs/sweetalert2/sweetalert2.esm.js | 4483 ++++++++ .../libs/sweetalert2/sweetalert2.esm.min.js | 5 + .../wwwroot/libs/sweetalert2/sweetalert2.js | 3973 ++++--- .../libs/sweetalert2/sweetalert2.min.css | 2 +- .../libs/sweetalert2/sweetalert2.min.js | 6 +- .../libs/timeago/locales/jquery.timeago.uz.js | 0 .../libs/tui-editor/toastui-editor-all.min.js | 46 +- ...or-plugin-code-syntax-highlight-all.min.js | 28 +- ...ditor-plugin-code-syntax-highlight.min.css | 342 +- .../libs/tui-editor/toastui-editor.min.css | 12 +- .../wwwroot/libs/uppy/README.md | 2 +- .../wwwroot/libs/uppy/uppy.css | 1 + .../wwwroot/libs/uppy/uppy.legacy.min.js | 2 +- .../wwwroot/libs/uppy/uppy.legacy.min.js.map | 8 +- .../wwwroot/libs/uppy/uppy.min.css | 2 +- .../wwwroot/libs/uppy/uppy.min.js | 30 +- .../wwwroot/libs/uppy/uppy.min.js.map | 8 +- .../wwwroot/libs/uppy/uppy.min.mjs | 30 +- .../wwwroot/libs/uppy/uppy.min.mjs.map | 8 +- .../src/EShopOnAbp.PublicWeb/yarn.lock | 7273 ++++++------ aspire/.DS_Store | Bin 0 -> 6148 bytes aspire/AppHost/Program.cs | 2 +- aspire/AppHost/eShopOnAbp.AppHost.csproj | 2 +- .../Properties/launchSettings.json | 2 +- .../Properties/launchSettings.json | 2 +- .../Properties/launchSettings.json | 2 +- .../Properties/launchSettings.json | 2 +- .../Properties/launchSettings.json | 2 +- .../Properties/launchSettings.json | 2 +- .../Properties/launchSettings.json | 2 +- .../Properties/launchSettings.json | 2 +- .../Properties/launchSettings.json | 2 +- 719 files changed, 66684 insertions(+), 74727 deletions(-) create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ar-DZ.min.js create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-US.min.js create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.mr.min.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/comment/comment.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/comment/continuecomment.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/dialog/dialog.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/dialog/dialog.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/display/autorefresh.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/display/fullscreen.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/display/fullscreen.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/display/panel.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/display/placeholder.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/display/rulers.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/edit/closebrackets.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/edit/closetag.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/edit/continuelist.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/edit/matchbrackets.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/edit/matchtags.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/edit/trailingspace.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/fold/brace-fold.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/fold/comment-fold.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/fold/foldcode.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/fold/foldgutter.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/fold/foldgutter.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/fold/indent-fold.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/fold/markdown-fold.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/fold/xml-fold.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/hint/anyword-hint.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/hint/css-hint.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/hint/html-hint.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/hint/javascript-hint.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/hint/show-hint.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/hint/show-hint.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/hint/sql-hint.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/hint/xml-hint.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/lint/coffeescript-lint.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/lint/css-lint.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/lint/html-lint.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/lint/javascript-lint.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/lint/json-lint.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/lint/lint.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/lint/lint.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/lint/yaml-lint.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/merge/merge.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/merge/merge.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/mode/loadmode.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/mode/multiplex.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/mode/multiplex_test.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/mode/overlay.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/mode/simple.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/runmode/colorize.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/runmode/runmode-standalone.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/runmode/runmode.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/runmode/runmode.node.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/scroll/annotatescrollbar.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/scroll/scrollpastend.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/scroll/simplescrollbars.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/scroll/simplescrollbars.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/search/jump-to-line.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/search/match-highlighter.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/search/matchesonscrollbar.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/search/matchesonscrollbar.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/search/search.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/search/searchcursor.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/selection/active-line.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/selection/mark-selection.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/selection/selection-pointer.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/tern/tern.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/tern/tern.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/tern/worker.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/addon/wrap/hardwrap.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/codemirror.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/codemirror.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/apl/apl.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/asciiarmor/asciiarmor.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/asn.1/asn.1.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/asterisk/asterisk.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/brainfuck/brainfuck.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/clike/clike.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/clojure/clojure.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/cmake/cmake.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/cobol/cobol.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/coffeescript/coffeescript.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/commonlisp/commonlisp.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/crystal/crystal.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/css/css.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/cypher/cypher.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/d/d.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/dart/dart.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/diff/diff.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/django/django.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/dockerfile/dockerfile.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/dtd/dtd.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/dylan/dylan.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/ebnf/ebnf.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/ecl/ecl.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/eiffel/eiffel.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/elm/elm.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/erlang/erlang.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/factor/factor.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/fcl/fcl.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/forth/forth.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/fortran/fortran.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/gas/gas.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/gfm/gfm.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/gherkin/gherkin.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/go/go.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/groovy/groovy.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/haml/haml.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/handlebars/handlebars.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/haskell-literate/haskell-literate.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/haskell/haskell.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/haxe/haxe.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/htmlembedded/htmlembedded.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/htmlmixed/htmlmixed.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/http/http.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/idl/idl.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/javascript/javascript.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/jinja2/jinja2.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/jsx/jsx.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/julia/julia.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/livescript/livescript.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/lua/lua.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/markdown/markdown.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/mathematica/mathematica.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/mbox/mbox.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/meta.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/mirc/mirc.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/mllike/mllike.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/modelica/modelica.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/mscgen/mscgen.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/mumps/mumps.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/nginx/nginx.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/nsis/nsis.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/ntriples/ntriples.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/octave/octave.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/oz/oz.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/pascal/pascal.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/pegjs/pegjs.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/perl/perl.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/php/php.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/pig/pig.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/powershell/powershell.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/properties/properties.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/protobuf/protobuf.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/pug/pug.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/puppet/puppet.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/python/python.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/q/q.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/r/r.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/rpm/changes/index.html delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/rpm/rpm.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/rst/rst.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/ruby/ruby.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/rust/rust.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/sas/sas.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/sass/sass.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/scheme/scheme.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/shell/shell.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/sieve/sieve.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/slim/slim.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/smalltalk/smalltalk.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/smarty/smarty.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/solr/solr.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/soy/soy.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/sparql/sparql.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/spreadsheet/spreadsheet.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/sql/sql.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/stex/stex.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/stylus/stylus.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/swift/swift.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/tcl/tcl.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/textile/textile.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/tiddlywiki/tiddlywiki.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/tiddlywiki/tiddlywiki.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/tiki/tiki.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/tiki/tiki.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/toml/toml.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/tornado/tornado.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/troff/troff.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/ttcn-cfg/ttcn-cfg.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/ttcn/ttcn.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/turtle/turtle.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/twig/twig.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/vb/vb.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/vbscript/vbscript.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/velocity/velocity.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/verilog/verilog.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/vhdl/vhdl.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/vue/vue.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/wast/wast.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/webidl/webidl.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/xml/xml.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/xquery/xquery.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/yacas/yacas.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/yaml-frontmatter/yaml-frontmatter.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/yaml/yaml.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/mode/z80/z80.js delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/3024-day.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/3024-night.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/abbott.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/abcdef.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/ambiance-mobile.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/ambiance.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/ayu-dark.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/ayu-mirage.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/base16-dark.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/base16-light.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/bespin.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/blackboard.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/cobalt.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/colorforth.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/darcula.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/dracula.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/duotone-dark.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/duotone-light.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/eclipse.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/elegant.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/erlang-dark.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/gruvbox-dark.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/hopscotch.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/icecoder.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/idea.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/isotope.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/juejin.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/lesser-dark.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/liquibyte.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/lucario.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/material-darker.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/material-ocean.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/material-palenight.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/material.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/mbo.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/mdn-like.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/midnight.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/monokai.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/moxer.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/neat.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/neo.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/night.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/nord.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/oceanic-next.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/panda-syntax.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/paraiso-dark.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/paraiso-light.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/pastel-on-dark.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/railscasts.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/rubyblue.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/seti.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/shadowfox.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/solarized.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/ssms.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/the-matrix.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/tomorrow-night-bright.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/tomorrow-night-eighties.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/ttcn.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/twilight.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/vibrant-ink.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/xq-dark.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/xq-light.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/yeti.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/yonce.css delete mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/codemirror/theme/zenburn.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/a11y-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/a11y-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/agate.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/an-old-hope.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/androidstudio.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/arduino-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/arta.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/ascetic.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/atom-one-dark-reasonable.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/atom-one-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/atom-one-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/3024.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/apathy.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/apprentice.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/ashes.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-cave-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-cave.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-dune-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-dune.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-estuary-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-estuary.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-forest-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-forest.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-heath-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-heath.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-lakeside-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-lakeside.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-plateau-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-plateau.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-savanna-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-savanna.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-seaside-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-seaside.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-sulphurpool-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atelier-sulphurpool.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/atlas.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/bespin.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/black-metal-bathory.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/black-metal-burzum.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/black-metal-dark-funeral.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/black-metal-gorgoroth.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/black-metal-immortal.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/black-metal-khold.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/black-metal-marduk.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/black-metal-mayhem.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/black-metal-nile.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/black-metal-venom.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/black-metal.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/brewer.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/bright.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/brogrammer.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/brush-trees-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/brush-trees.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/chalk.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/circus.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/classic-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/classic-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/codeschool.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/colors.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/cupcake.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/cupertino.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/danqing.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/darcula.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/dark-violet.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/darkmoss.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/darktooth.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/decaf.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/default-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/default-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/dirtysea.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/dracula.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/edge-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/edge-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/eighties.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/embers.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/equilibrium-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/equilibrium-gray-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/equilibrium-gray-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/equilibrium-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/espresso.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/eva-dim.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/eva.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/flat.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/framer.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/fruit-soda.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/gigavolt.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/github.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/google-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/google-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/grayscale-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/grayscale-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/green-screen.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/gruvbox-dark-hard.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/gruvbox-dark-medium.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/gruvbox-dark-pale.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/gruvbox-dark-soft.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/gruvbox-light-hard.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/gruvbox-light-medium.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/gruvbox-light-soft.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/hardcore.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/harmonic16-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/harmonic16-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/heetch-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/heetch-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/helios.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/hopscotch.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/horizon-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/horizon-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/humanoid-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/humanoid-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/ia-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/ia-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/icy-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/ir-black.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/isotope.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/kimber.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/london-tube.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/macintosh.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/marrakesh.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/materia.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/material-darker.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/material-lighter.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/material-palenight.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/material-vivid.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/material.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/mellow-purple.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/mexico-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/mocha.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/monokai.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/nebula.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/nord.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/nova.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/ocean.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/oceanicnext.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/one-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/onedark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/outrun-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/papercolor-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/papercolor-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/paraiso.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/pasque.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/phd.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/pico.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/pop.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/porple.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/qualia.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/railscasts.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/rebecca.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/ros-pine-dawn.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/ros-pine-moon.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/ros-pine.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/sagelight.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/sandcastle.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/seti-ui.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/shapeshifter.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/silk-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/silk-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/snazzy.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/solar-flare-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/solar-flare.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/solarized-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/solarized-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/spacemacs.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/summercamp.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/summerfruit-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/summerfruit-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/synth-midnight-terminal-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/synth-midnight-terminal-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/tango.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/tender.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/tomorrow-night.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/tomorrow.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/twilight.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/unikitty-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/unikitty-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/vulcan.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/windows-10-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/windows-10.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/windows-95-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/windows-95.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/windows-high-contrast-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/windows-high-contrast.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/windows-nt-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/windows-nt.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/woodland.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/xcode-dusk.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/base16/zenburn.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/brown-paper.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/codepen-embed.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/color-brewer.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/default.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/devibeans.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/docco.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/far.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/felipec.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/felipec.min.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/foundation.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/github-dark-dimmed.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/github-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/github.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/gml.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/googlecode.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/gradient-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/gradient-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/grayscale.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/hybrid.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/idea.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/intellij-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/ir-black.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/isbl-editor-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/isbl-editor-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/kimbie-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/kimbie-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/lightfair.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/lioshi.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/magula.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/mono-blue.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/monokai-sublime.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/monokai.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/night-owl.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/nnfx-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/nnfx-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/nord.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/obsidian.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/panda-syntax-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/panda-syntax-dark.min.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/panda-syntax-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/panda-syntax-light.min.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/paraiso-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/paraiso-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/pojoaque.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/purebasic.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/qtcreator-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/qtcreator-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/rainbow.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/routeros.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/school-book.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/shades-of-purple.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/srcery.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/stackoverflow-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/stackoverflow-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/sunburst.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/tokyo-night-dark.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/tokyo-night-dark.min.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/tokyo-night-light.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/tokyo-night-light.min.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/tomorrow-night-blue.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/tomorrow-night-bright.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/vs.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/vs2015.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/xcode.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/highlight.js/styles/xt256.css create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/jquery-validation/localization/messages_hi.js create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/jquery-validation/localization/messages_hi.min.js create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/markdown-it/markdown-it.min.js create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/moment/locale/ar-ps.js create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/moment/locale/ku-kmr.js create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/sweetalert2/sweetalert2.esm.all.js create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/sweetalert2/sweetalert2.esm.all.min.js create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/sweetalert2/sweetalert2.esm.js create mode 100644 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/sweetalert2/sweetalert2.esm.min.js mode change 100644 => 100755 apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/timeago/locales/jquery.timeago.uz.js create mode 100644 aspire/.DS_Store diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/EShopOnAbp.PublicWeb.csproj b/apps/public-web/src/EShopOnAbp.PublicWeb/EShopOnAbp.PublicWeb.csproj index 062b63f8..491dfb50 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/EShopOnAbp.PublicWeb.csproj +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/EShopOnAbp.PublicWeb.csproj @@ -5,7 +5,7 @@ - + @@ -19,7 +19,7 @@ - + diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Index.cshtml b/apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Index.cshtml index 123c86a6..a6ef3da6 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Index.cshtml +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/Pages/Index.cshtml @@ -30,7 +30,7 @@ @foreach (var product in Model.Products) { var productPrice = product.Price.ToString("C", new CultureInfo("en-US")); - string productImage = !product.ImageName.IsNullOrEmpty() ? $"product-images/{product.ImageName}" : $"product-images/@product.ImageName"; + string productImage = !product.ImageName.IsNullOrEmpty() ? $"products/product-images/{product.ImageName}" : $"products/product-images/@product.ImageName"; string buyText = L["Index:AddToBasket"];
diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/Properties/launchSettings.json b/apps/public-web/src/EShopOnAbp.PublicWeb/Properties/launchSettings.json index 047c66e9..c6ef7a14 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/Properties/launchSettings.json +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/Properties/launchSettings.json @@ -5,7 +5,7 @@ "commandName": "Project", "dotnetRunMessages": true, "launchBrowser": true, - "applicationUrl": "http://localhost:5035", + "applicationUrl": "http://localhost:5035;https://localhost:44335", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/package.json b/apps/public-web/src/EShopOnAbp.PublicWeb/package.json index 261725af..df521c59 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/package.json +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/package.json @@ -3,7 +3,7 @@ "name": "EShopOnAbpPublicWeb", "private": true, "dependencies": { - "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~3.0.0", + "@abp/aspnetcore.mvc.ui.theme.leptonxlite": "~3.3.1", "@abp/signalr": "^8.3.1", "@abp/cms-kit": "^8.3.1" } diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/abp/core/abp.css b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/abp/core/abp.css index ddf9cae5..ee3c5080 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/abp/core/abp.css +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/abp/core/abp.css @@ -1,56 +1,56 @@ -@keyframes spin { - 0% { - transform: translateZ(0) rotate(0deg); - } - - 100% { - transform: translateZ(0) rotate(360deg); - } -} - -.abp-block-area { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 102; - background-color: #fff; - opacity: .8; - transition: opacity .25s; -} - - .abp-block-area.abp-block-area-disappearing { - opacity: 0; - } - - .abp-block-area.abp-block-area-busy:after { - content: attr(data-text); - display: block; - max-width: 125px; - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - font-size: 20px; - font-family: sans-serif; - color: #343a40; - text-align: center; - text-transform: uppercase; - } - - .abp-block-area.abp-block-area-busy:before { - content: ""; - display: block; - width: 150px; - height: 150px; - border-radius: 50%; - border-width: 2px; - border-style: solid; - border-color: transparent #228ae6 #228ae6 #228ae6; - position: absolute; - top: calc(50% - 75px); - left: calc(50% - 75px); - will-change: transform; - animation: spin .75s infinite ease-in-out; - } +@keyframes spin { + 0% { + transform: translateZ(0) rotate(0deg); + } + + 100% { + transform: translateZ(0) rotate(360deg); + } +} + +.abp-block-area { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 102; + background-color: #fff; + opacity: .8; + transition: opacity .25s; +} + + .abp-block-area.abp-block-area-disappearing { + opacity: 0; + } + + .abp-block-area.abp-block-area-busy:after { + content: attr(data-text); + display: block; + max-width: 125px; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + font-size: 20px; + font-family: sans-serif; + color: #343a40; + text-align: center; + text-transform: uppercase; + } + + .abp-block-area.abp-block-area-busy:before { + content: ""; + display: block; + width: 150px; + height: 150px; + border-radius: 50%; + border-width: 2px; + border-style: solid; + border-color: transparent #228ae6 #228ae6 #228ae6; + position: absolute; + top: calc(50% - 75px); + left: calc(50% - 75px); + will-change: transform; + animation: spin .75s infinite ease-in-out; + } diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/abp/core/abp.js b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/abp/core/abp.js index 7a82f58e..ad1d2384 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/abp/core/abp.js +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/abp/core/abp.js @@ -1,823 +1,823 @@ -var abp = abp || {}; -(function () { - - /* Application paths *****************************************/ - - //Current application root path (including virtual directory if exists). - abp.appPath = abp.appPath || '/'; - - abp.pageLoadTime = new Date(); - - //Converts given path to absolute path using abp.appPath variable. - abp.toAbsAppPath = function (path) { - if (path.indexOf('/') == 0) { - path = path.substring(1); - } - - return abp.appPath + path; - }; - - /* LOGGING ***************************************************/ - //Implements Logging API that provides secure & controlled usage of console.log - - abp.log = abp.log || {}; - - abp.log.levels = { - DEBUG: 1, - INFO: 2, - WARN: 3, - ERROR: 4, - FATAL: 5 - }; - - abp.log.level = abp.log.levels.DEBUG; - - abp.log.log = function (logObject, logLevel) { - if (!window.console || !window.console.log) { - return; - } - - if (logLevel != undefined && logLevel < abp.log.level) { - return; - } - - console.log(logObject); - }; - - abp.log.debug = function (logObject) { - abp.log.log("DEBUG: ", abp.log.levels.DEBUG); - abp.log.log(logObject, abp.log.levels.DEBUG); - }; - - abp.log.info = function (logObject) { - abp.log.log("INFO: ", abp.log.levels.INFO); - abp.log.log(logObject, abp.log.levels.INFO); - }; - - abp.log.warn = function (logObject) { - abp.log.log("WARN: ", abp.log.levels.WARN); - abp.log.log(logObject, abp.log.levels.WARN); - }; - - abp.log.error = function (logObject) { - abp.log.log("ERROR: ", abp.log.levels.ERROR); - abp.log.log(logObject, abp.log.levels.ERROR); - }; - - abp.log.fatal = function (logObject) { - abp.log.log("FATAL: ", abp.log.levels.FATAL); - abp.log.log(logObject, abp.log.levels.FATAL); - }; - - /* LOCALIZATION ***********************************************/ - - abp.localization = abp.localization || {}; - abp.localization.internal = abp.localization.internal || {}; - abp.localization.values = abp.localization.values || {}; - abp.localization.resources = abp.localization.resources || {}; - - abp.localization.internal.getResource = function (resourceName) { - var resource = abp.localization.resources[resourceName]; - if (resource) { - return resource; - } - - var legacySource = abp.localization.values[resourceName]; - if (legacySource) { - return { - texts: abp.localization.values[resourceName], - baseResources: [] - }; - } - - abp.log.warn('Could not find localization source: ' + resourceName); - return null; - }; - - abp.localization.internal.localize = function (key, sourceName) { - var resource = abp.localization.internal.getResource(sourceName); - if (!resource){ - return { - value: key, - found: false - }; - } - - var value = resource.texts[key]; - if (value === undefined) { - for (var i = 0; i < resource.baseResources.length; i++){ - var basedArguments = Array.prototype.slice.call(arguments, 0); - basedArguments[1] = resource.baseResources[i]; - - var result = abp.localization.internal.localize.apply(this, basedArguments); - if (result.found){ - return result; - } - } - - return { - value: key, - found: false - }; - } - - var copiedArguments = Array.prototype.slice.call(arguments, 0); - copiedArguments.splice(1, 1); - copiedArguments[0] = value; - - return { - value: abp.utils.formatString.apply(this, copiedArguments), - found: true - }; - }; - - abp.localization.localize = function (key, sourceName) { - if (sourceName === '_') { //A convention to suppress the localization - return key; - } - - if (sourceName) { - return abp.localization.internal.localize.apply(this, arguments).value; - } - - if (!abp.localization.defaultResourceName) { - abp.log.warn('Localization source name is not specified and the defaultResourceName was not defined!'); - return key; - } - - var copiedArguments = Array.prototype.slice.call(arguments, 0); - copiedArguments.splice(1, 1, abp.localization.defaultResourceName); - - return abp.localization.internal.localize.apply(this, copiedArguments).value; - }; - - abp.localization.isLocalized = function (key, sourceName) { - if (sourceName === '_') { //A convention to suppress the localization - return true; - } - - sourceName = sourceName || abp.localization.defaultResourceName; - if (!sourceName) { - return false; - } - - return abp.localization.internal.localize(key, sourceName).found; - }; - - abp.localization.getResource = function (name) { - return function () { - var copiedArguments = Array.prototype.slice.call(arguments, 0); - copiedArguments.splice(1, 0, name); - return abp.localization.localize.apply(this, copiedArguments); - }; - }; - - abp.localization.defaultResourceName = undefined; - abp.localization.currentCulture = { - cultureName: undefined - }; - - var getMapValue = function (packageMaps, packageName, language) { - language = language || abp.localization.currentCulture.name; - if (!packageMaps || !packageName || !language) { - return language; - } - - var packageMap = packageMaps[packageName]; - if (!packageMap) { - return language; - } - - for (var i = 0; i < packageMap.length; i++) { - var map = packageMap[i]; - if (map.name === language){ - return map.value; - } - } - - return language; - }; - - abp.localization.getLanguagesMap = function (packageName, language) { - return getMapValue(abp.localization.languagesMap, packageName, language); - }; - - abp.localization.getLanguageFilesMap = function (packageName, language) { - return getMapValue(abp.localization.languageFilesMap, packageName, language); - }; - - /* AUTHORIZATION **********************************************/ - - abp.auth = abp.auth || {}; - - abp.auth.grantedPolicies = abp.auth.grantedPolicies || {}; - - abp.auth.isGranted = function (policyName) { - return abp.auth.grantedPolicies[policyName] != undefined; - }; - - abp.auth.isAnyGranted = function () { - if (!arguments || arguments.length <= 0) { - return true; - } - - for (var i = 0; i < arguments.length; i++) { - if (abp.auth.isGranted(arguments[i])) { - return true; - } - } - - return false; - }; - - abp.auth.areAllGranted = function () { - if (!arguments || arguments.length <= 0) { - return true; - } - - for (var i = 0; i < arguments.length; i++) { - if (!abp.auth.isGranted(arguments[i])) { - return false; - } - } - - return true; - }; - - abp.auth.tokenCookieName = 'Abp.AuthToken'; - - abp.auth.setToken = function (authToken, expireDate) { - abp.utils.setCookieValue(abp.auth.tokenCookieName, authToken, expireDate, abp.appPath, abp.domain); - }; - - abp.auth.getToken = function () { - return abp.utils.getCookieValue(abp.auth.tokenCookieName); - } - - abp.auth.clearToken = function () { - abp.auth.setToken(); - } - - /* SETTINGS *************************************************/ - - abp.setting = abp.setting || {}; - - abp.setting.values = abp.setting.values || {}; - - abp.setting.get = function (name) { - return abp.setting.values[name]; - }; - - abp.setting.getBoolean = function (name) { - var value = abp.setting.get(name); - return value == 'true' || value == 'True'; - }; - - abp.setting.getInt = function (name) { - return parseInt(abp.setting.values[name]); - }; - - /* NOTIFICATION *********************************************/ - //Defines Notification API, not implements it - - abp.notify = abp.notify || {}; - - abp.notify.success = function (message, title, options) { - abp.log.warn('abp.notify.success is not implemented!'); - }; - - abp.notify.info = function (message, title, options) { - abp.log.warn('abp.notify.info is not implemented!'); - }; - - abp.notify.warn = function (message, title, options) { - abp.log.warn('abp.notify.warn is not implemented!'); - }; - - abp.notify.error = function (message, title, options) { - abp.log.warn('abp.notify.error is not implemented!'); - }; - - /* MESSAGE **************************************************/ - //Defines Message API, not implements it - - abp.message = abp.message || {}; - - abp.message._showMessage = function (message, title) { - alert((title || '') + ' ' + message); - }; - - abp.message.info = function (message, title) { - abp.log.warn('abp.message.info is not implemented!'); - return abp.message._showMessage(message, title); - }; - - abp.message.success = function (message, title) { - abp.log.warn('abp.message.success is not implemented!'); - return abp.message._showMessage(message, title); - }; - - abp.message.warn = function (message, title) { - abp.log.warn('abp.message.warn is not implemented!'); - return abp.message._showMessage(message, title); - }; - - abp.message.error = function (message, title) { - abp.log.warn('abp.message.error is not implemented!'); - return abp.message._showMessage(message, title); - }; - - abp.message.confirm = function (message, titleOrCallback, callback) { - abp.log.warn('abp.message.confirm is not properly implemented!'); - - if (titleOrCallback && !(typeof titleOrCallback == 'string')) { - callback = titleOrCallback; - } - - var result = confirm(message); - callback && callback(result); - }; - - /* UI *******************************************************/ - - abp.ui = abp.ui || {}; - - /* UI BLOCK */ - //Defines UI Block API and implements basically - - var $abpBlockArea = document.createElement('div'); - $abpBlockArea.classList.add('abp-block-area'); - - /* opts: { //Can be an object with options or a string for query a selector - * elm: a query selector (optional - default: document.body) - * busy: boolean (optional - default: false) - * promise: A promise with always or finally handler (optional - auto unblocks the ui if provided) - * } - */ - abp.ui.block = function (opts) { - if (!opts) { - opts = {}; - } else if (typeof opts == 'string') { - opts = { - elm: opts - }; - } - - var $elm = document.querySelector(opts.elm) || document.body; - - if (opts.busy) { - $abpBlockArea.classList.add('abp-block-area-busy'); - } else { - $abpBlockArea.classList.remove('abp-block-area-busy'); - } - - if (document.querySelector(opts.elm)) { - $abpBlockArea.style.position = 'absolute'; - } else { - $abpBlockArea.style.position = 'fixed'; - } - - $elm.appendChild($abpBlockArea); - - if (opts.promise) { - if (opts.promise.always) { //jQuery.Deferred style - opts.promise.always(function () { - abp.ui.unblock({ - $elm: opts.elm - }); - }); - } else if (opts.promise['finally']) { //Q style - opts.promise['finally'](function () { - abp.ui.unblock({ - $elm: opts.elm - }); - }); - } - } - }; - - /* opts: { - * - * } - */ - abp.ui.unblock = function (opts) { - var element = document.querySelector('.abp-block-area'); - if (element) { - element.classList.add('abp-block-area-disappearing'); - setTimeout(function () { - if (element) { - element.classList.remove('abp-block-area-disappearing'); - if (element.parentElement) { - element.parentElement.removeChild(element); - } - } - }, 250); - } - }; - - /* UI BUSY */ - //Defines UI Busy API, not implements it - - abp.ui.setBusy = function (opts) { - if (!opts) { - opts = { - busy: true - }; - } else if (typeof opts == 'string') { - opts = { - elm: opts, - busy: true - }; - } - - abp.ui.block(opts); - }; - - abp.ui.clearBusy = function (opts) { - abp.ui.unblock(opts); - }; - - /* SIMPLE EVENT BUS *****************************************/ - - abp.event = (function () { - - var _callbacks = {}; - - var on = function (eventName, callback) { - if (!_callbacks[eventName]) { - _callbacks[eventName] = []; - } - - _callbacks[eventName].push(callback); - }; - - var off = function (eventName, callback) { - var callbacks = _callbacks[eventName]; - if (!callbacks) { - return; - } - - var index = -1; - for (var i = 0; i < callbacks.length; i++) { - if (callbacks[i] === callback) { - index = i; - break; - } - } - - if (index < 0) { - return; - } - - _callbacks[eventName].splice(index, 1); - }; - - var trigger = function (eventName) { - var callbacks = _callbacks[eventName]; - if (!callbacks || !callbacks.length) { - return; - } - - var args = Array.prototype.slice.call(arguments, 1); - for (var i = 0; i < callbacks.length; i++) { - callbacks[i].apply(this, args); - } - }; - - // Public interface /////////////////////////////////////////////////// - - return { - on: on, - off: off, - trigger: trigger - }; - })(); - - - /* UTILS ***************************************************/ - - abp.utils = abp.utils || {}; - - /* Creates a name namespace. - * Example: - * var taskService = abp.utils.createNamespace(abp, 'services.task'); - * taskService will be equal to abp.services.task - * first argument (root) must be defined first - ************************************************************/ - abp.utils.createNamespace = function (root, ns) { - var parts = ns.split('.'); - for (var i = 0; i < parts.length; i++) { - if (typeof root[parts[i]] == 'undefined') { - root[parts[i]] = {}; - } - - root = root[parts[i]]; - } - - return root; - }; - - /* Find and replaces a string (search) to another string (replacement) in - * given string (str). - * Example: - * abp.utils.replaceAll('This is a test string', 'is', 'X') = 'ThX X a test string' - ************************************************************/ - abp.utils.replaceAll = function (str, search, replacement) { - var fix = search.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); - return str.replace(new RegExp(fix, 'g'), replacement); - }; - - /* Formats a string just like string.format in C#. - * Example: - * abp.utils.formatString('Hello {0}','Tuana') = 'Hello Tuana' - ************************************************************/ - abp.utils.formatString = function () { - if (arguments.length < 1) { - return null; - } - - var str = arguments[0]; - - for (var i = 1; i < arguments.length; i++) { - var placeHolder = '{' + (i - 1) + '}'; - str = abp.utils.replaceAll(str, placeHolder, arguments[i]); - } - - return str; - }; - - abp.utils.toPascalCase = function (str) { - if (!str || !str.length) { - return str; - } - - if (str.length === 1) { - return str.charAt(0).toUpperCase(); - } - - return str.charAt(0).toUpperCase() + str.substr(1); - } - - abp.utils.toCamelCase = function (str) { - if (!str || !str.length) { - return str; - } - - if (str.length === 1) { - return str.charAt(0).toLowerCase(); - } - - return str.charAt(0).toLowerCase() + str.substr(1); - } - - abp.utils.truncateString = function (str, maxLength) { - if (!str || !str.length || str.length <= maxLength) { - return str; - } - - return str.substr(0, maxLength); - }; - - abp.utils.truncateStringWithPostfix = function (str, maxLength, postfix) { - postfix = postfix || '...'; - - if (!str || !str.length || str.length <= maxLength) { - return str; - } - - if (maxLength <= postfix.length) { - return postfix.substr(0, maxLength); - } - - return str.substr(0, maxLength - postfix.length) + postfix; - }; - - abp.utils.isFunction = function (obj) { - return !!(obj && obj.constructor && obj.call && obj.apply); - }; - - /** - * parameterInfos should be an array of { name, value } objects - * where name is query string parameter name and value is it's value. - * includeQuestionMark is true by default. - */ - abp.utils.buildQueryString = function (parameterInfos, includeQuestionMark) { - if (includeQuestionMark === undefined) { - includeQuestionMark = true; - } - - var qs = ''; - - function addSeperator() { - if (!qs.length) { - if (includeQuestionMark) { - qs = qs + '?'; - } - } else { - qs = qs + '&'; - } - } - - for (var i = 0; i < parameterInfos.length; ++i) { - var parameterInfo = parameterInfos[i]; - if (parameterInfo.value === undefined) { - continue; - } - - if (parameterInfo.value === null) { - parameterInfo.value = ''; - } - - addSeperator(); - - if (parameterInfo.value.toJSON && typeof parameterInfo.value.toJSON === "function") { - qs = qs + parameterInfo.name + '=' + encodeURIComponent(parameterInfo.value.toJSON()); - } else if (Array.isArray(parameterInfo.value) && parameterInfo.value.length) { - for (var j = 0; j < parameterInfo.value.length; j++) { - if (j > 0) { - addSeperator(); - } - - qs = qs + parameterInfo.name + '[' + j + ']=' + encodeURIComponent(parameterInfo.value[j]); - } - } else { - qs = qs + parameterInfo.name + '=' + encodeURIComponent(parameterInfo.value); - } - } - - return qs; - } - - /** - * Sets a cookie value for given key. - * This is a simple implementation created to be used by ABP. - * Please use a complete cookie library if you need. - * @param {string} key - * @param {string} value - * @param {Date} expireDate (optional). If not specified the cookie will expire at the end of session. - * @param {string} path (optional) - */ - abp.utils.setCookieValue = function (key, value, expireDate, path) { - var cookieValue = encodeURIComponent(key) + '='; - - if (value) { - cookieValue = cookieValue + encodeURIComponent(value); - } - - if (expireDate) { - cookieValue = cookieValue + "; expires=" + expireDate.toUTCString(); - } - - if (path) { - cookieValue = cookieValue + "; path=" + path; - } - - document.cookie = cookieValue; - }; - - /** - * Gets a cookie with given key. - * This is a simple implementation created to be used by ABP. - * Please use a complete cookie library if you need. - * @param {string} key - * @returns {string} Cookie value or null - */ - abp.utils.getCookieValue = function (key) { - var equalities = document.cookie.split('; '); - for (var i = 0; i < equalities.length; i++) { - if (!equalities[i]) { - continue; - } - - var splitted = equalities[i].split('='); - if (splitted.length != 2) { - continue; - } - - if (decodeURIComponent(splitted[0]) === key) { - return decodeURIComponent(splitted[1] || ''); - } - } - - return null; - }; - - /** - * Deletes cookie for given key. - * This is a simple implementation created to be used by ABP. - * Please use a complete cookie library if you need. - * @param {string} key - * @param {string} path (optional) - */ - abp.utils.deleteCookie = function (key, path) { - var cookieValue = encodeURIComponent(key) + '='; - - cookieValue = cookieValue + "; expires=" + (new Date(new Date().getTime() - 86400000)).toUTCString(); - - if (path) { - cookieValue = cookieValue + "; path=" + path; - } - - document.cookie = cookieValue; - } - - /** - * Escape HTML to help prevent XSS attacks. - */ - abp.utils.htmlEscape = function (html) { - return typeof html === 'string' ? html.replace(/&/g, '&').replace(//g, '>').replace(/"/g, '"') : html; - } - - /* SECURITY ***************************************/ - abp.security = abp.security || {}; - abp.security.antiForgery = abp.security.antiForgery || {}; - - abp.security.antiForgery.tokenCookieName = 'XSRF-TOKEN'; - abp.security.antiForgery.tokenHeaderName = 'RequestVerificationToken'; - - abp.security.antiForgery.getToken = function () { - return abp.utils.getCookieValue(abp.security.antiForgery.tokenCookieName); - }; - - /* CLOCK *****************************************/ - abp.clock = abp.clock || {}; - - abp.clock.kind = 'Unspecified'; - - abp.clock.supportsMultipleTimezone = function () { - return abp.clock.kind === 'Utc'; - }; - - var toLocal = function (date) { - return new Date( - date.getFullYear(), - date.getMonth(), - date.getDate(), - date.getHours(), - date.getMinutes(), - date.getSeconds(), - date.getMilliseconds() - ); - }; - - var toUtc = function (date) { - return Date.UTC( - date.getUTCFullYear(), - date.getUTCMonth(), - date.getUTCDate(), - date.getUTCHours(), - date.getUTCMinutes(), - date.getUTCSeconds(), - date.getUTCMilliseconds() - ); - }; - - abp.clock.now = function () { - if (abp.clock.kind === 'Utc') { - return toUtc(new Date()); - } - return new Date(); - }; - - abp.clock.normalize = function (date) { - var kind = abp.clock.kind; - - if (kind === 'Unspecified') { - return date; - } - - if (kind === 'Local') { - return toLocal(date); - } - - if (kind === 'Utc') { - return toUtc(date); - } - }; - - /* FEATURES *************************************************/ - - abp.features = abp.features || {}; - - abp.features.values = abp.features.values || {}; - - abp.features.isEnabled = function(name){ - var value = abp.features.get(name); - return value == 'true' || value == 'True'; - } - - abp.features.get = function (name) { - return abp.features.values[name]; - }; - - /* GLOBAL FEATURES *************************************************/ - - abp.globalFeatures = abp.globalFeatures || {}; - - abp.globalFeatures.enabledFeatures = abp.globalFeatures.enabledFeatures || []; - - abp.globalFeatures.isEnabled = function(name){ - return abp.globalFeatures.enabledFeatures.indexOf(name) != -1; - } - -})(); +var abp = abp || {}; +(function () { + + /* Application paths *****************************************/ + + //Current application root path (including virtual directory if exists). + abp.appPath = abp.appPath || '/'; + + abp.pageLoadTime = new Date(); + + //Converts given path to absolute path using abp.appPath variable. + abp.toAbsAppPath = function (path) { + if (path.indexOf('/') == 0) { + path = path.substring(1); + } + + return abp.appPath + path; + }; + + /* LOGGING ***************************************************/ + //Implements Logging API that provides secure & controlled usage of console.log + + abp.log = abp.log || {}; + + abp.log.levels = { + DEBUG: 1, + INFO: 2, + WARN: 3, + ERROR: 4, + FATAL: 5 + }; + + abp.log.level = abp.log.levels.DEBUG; + + abp.log.log = function (logObject, logLevel) { + if (!window.console || !window.console.log) { + return; + } + + if (logLevel != undefined && logLevel < abp.log.level) { + return; + } + + console.log(logObject); + }; + + abp.log.debug = function (logObject) { + abp.log.log("DEBUG: ", abp.log.levels.DEBUG); + abp.log.log(logObject, abp.log.levels.DEBUG); + }; + + abp.log.info = function (logObject) { + abp.log.log("INFO: ", abp.log.levels.INFO); + abp.log.log(logObject, abp.log.levels.INFO); + }; + + abp.log.warn = function (logObject) { + abp.log.log("WARN: ", abp.log.levels.WARN); + abp.log.log(logObject, abp.log.levels.WARN); + }; + + abp.log.error = function (logObject) { + abp.log.log("ERROR: ", abp.log.levels.ERROR); + abp.log.log(logObject, abp.log.levels.ERROR); + }; + + abp.log.fatal = function (logObject) { + abp.log.log("FATAL: ", abp.log.levels.FATAL); + abp.log.log(logObject, abp.log.levels.FATAL); + }; + + /* LOCALIZATION ***********************************************/ + + abp.localization = abp.localization || {}; + abp.localization.internal = abp.localization.internal || {}; + abp.localization.values = abp.localization.values || {}; + abp.localization.resources = abp.localization.resources || {}; + + abp.localization.internal.getResource = function (resourceName) { + var resource = abp.localization.resources[resourceName]; + if (resource) { + return resource; + } + + var legacySource = abp.localization.values[resourceName]; + if (legacySource) { + return { + texts: abp.localization.values[resourceName], + baseResources: [] + }; + } + + abp.log.warn('Could not find localization source: ' + resourceName); + return null; + }; + + abp.localization.internal.localize = function (key, sourceName) { + var resource = abp.localization.internal.getResource(sourceName); + if (!resource){ + return { + value: key, + found: false + }; + } + + var value = resource.texts[key]; + if (value === undefined) { + for (var i = 0; i < resource.baseResources.length; i++){ + var basedArguments = Array.prototype.slice.call(arguments, 0); + basedArguments[1] = resource.baseResources[i]; + + var result = abp.localization.internal.localize.apply(this, basedArguments); + if (result.found){ + return result; + } + } + + return { + value: key, + found: false + }; + } + + var copiedArguments = Array.prototype.slice.call(arguments, 0); + copiedArguments.splice(1, 1); + copiedArguments[0] = value; + + return { + value: abp.utils.formatString.apply(this, copiedArguments), + found: true + }; + }; + + abp.localization.localize = function (key, sourceName) { + if (sourceName === '_') { //A convention to suppress the localization + return key; + } + + if (sourceName) { + return abp.localization.internal.localize.apply(this, arguments).value; + } + + if (!abp.localization.defaultResourceName) { + abp.log.warn('Localization source name is not specified and the defaultResourceName was not defined!'); + return key; + } + + var copiedArguments = Array.prototype.slice.call(arguments, 0); + copiedArguments.splice(1, 1, abp.localization.defaultResourceName); + + return abp.localization.internal.localize.apply(this, copiedArguments).value; + }; + + abp.localization.isLocalized = function (key, sourceName) { + if (sourceName === '_') { //A convention to suppress the localization + return true; + } + + sourceName = sourceName || abp.localization.defaultResourceName; + if (!sourceName) { + return false; + } + + return abp.localization.internal.localize(key, sourceName).found; + }; + + abp.localization.getResource = function (name) { + return function () { + var copiedArguments = Array.prototype.slice.call(arguments, 0); + copiedArguments.splice(1, 0, name); + return abp.localization.localize.apply(this, copiedArguments); + }; + }; + + abp.localization.defaultResourceName = undefined; + abp.localization.currentCulture = { + cultureName: undefined + }; + + var getMapValue = function (packageMaps, packageName, language) { + language = language || abp.localization.currentCulture.name; + if (!packageMaps || !packageName || !language) { + return language; + } + + var packageMap = packageMaps[packageName]; + if (!packageMap) { + return language; + } + + for (var i = 0; i < packageMap.length; i++) { + var map = packageMap[i]; + if (map.name === language){ + return map.value; + } + } + + return language; + }; + + abp.localization.getLanguagesMap = function (packageName, language) { + return getMapValue(abp.localization.languagesMap, packageName, language); + }; + + abp.localization.getLanguageFilesMap = function (packageName, language) { + return getMapValue(abp.localization.languageFilesMap, packageName, language); + }; + + /* AUTHORIZATION **********************************************/ + + abp.auth = abp.auth || {}; + + abp.auth.grantedPolicies = abp.auth.grantedPolicies || {}; + + abp.auth.isGranted = function (policyName) { + return abp.auth.grantedPolicies[policyName] != undefined; + }; + + abp.auth.isAnyGranted = function () { + if (!arguments || arguments.length <= 0) { + return true; + } + + for (var i = 0; i < arguments.length; i++) { + if (abp.auth.isGranted(arguments[i])) { + return true; + } + } + + return false; + }; + + abp.auth.areAllGranted = function () { + if (!arguments || arguments.length <= 0) { + return true; + } + + for (var i = 0; i < arguments.length; i++) { + if (!abp.auth.isGranted(arguments[i])) { + return false; + } + } + + return true; + }; + + abp.auth.tokenCookieName = 'Abp.AuthToken'; + + abp.auth.setToken = function (authToken, expireDate) { + abp.utils.setCookieValue(abp.auth.tokenCookieName, authToken, expireDate, abp.appPath, abp.domain); + }; + + abp.auth.getToken = function () { + return abp.utils.getCookieValue(abp.auth.tokenCookieName); + } + + abp.auth.clearToken = function () { + abp.auth.setToken(); + } + + /* SETTINGS *************************************************/ + + abp.setting = abp.setting || {}; + + abp.setting.values = abp.setting.values || {}; + + abp.setting.get = function (name) { + return abp.setting.values[name]; + }; + + abp.setting.getBoolean = function (name) { + var value = abp.setting.get(name); + return value == 'true' || value == 'True'; + }; + + abp.setting.getInt = function (name) { + return parseInt(abp.setting.values[name]); + }; + + /* NOTIFICATION *********************************************/ + //Defines Notification API, not implements it + + abp.notify = abp.notify || {}; + + abp.notify.success = function (message, title, options) { + abp.log.warn('abp.notify.success is not implemented!'); + }; + + abp.notify.info = function (message, title, options) { + abp.log.warn('abp.notify.info is not implemented!'); + }; + + abp.notify.warn = function (message, title, options) { + abp.log.warn('abp.notify.warn is not implemented!'); + }; + + abp.notify.error = function (message, title, options) { + abp.log.warn('abp.notify.error is not implemented!'); + }; + + /* MESSAGE **************************************************/ + //Defines Message API, not implements it + + abp.message = abp.message || {}; + + abp.message._showMessage = function (message, title) { + alert((title || '') + ' ' + message); + }; + + abp.message.info = function (message, title) { + abp.log.warn('abp.message.info is not implemented!'); + return abp.message._showMessage(message, title); + }; + + abp.message.success = function (message, title) { + abp.log.warn('abp.message.success is not implemented!'); + return abp.message._showMessage(message, title); + }; + + abp.message.warn = function (message, title) { + abp.log.warn('abp.message.warn is not implemented!'); + return abp.message._showMessage(message, title); + }; + + abp.message.error = function (message, title) { + abp.log.warn('abp.message.error is not implemented!'); + return abp.message._showMessage(message, title); + }; + + abp.message.confirm = function (message, titleOrCallback, callback) { + abp.log.warn('abp.message.confirm is not properly implemented!'); + + if (titleOrCallback && !(typeof titleOrCallback == 'string')) { + callback = titleOrCallback; + } + + var result = confirm(message); + callback && callback(result); + }; + + /* UI *******************************************************/ + + abp.ui = abp.ui || {}; + + /* UI BLOCK */ + //Defines UI Block API and implements basically + + var $abpBlockArea = document.createElement('div'); + $abpBlockArea.classList.add('abp-block-area'); + + /* opts: { //Can be an object with options or a string for query a selector + * elm: a query selector (optional - default: document.body) + * busy: boolean (optional - default: false) + * promise: A promise with always or finally handler (optional - auto unblocks the ui if provided) + * } + */ + abp.ui.block = function (opts) { + if (!opts) { + opts = {}; + } else if (typeof opts == 'string') { + opts = { + elm: opts + }; + } + + var $elm = document.querySelector(opts.elm) || document.body; + + if (opts.busy) { + $abpBlockArea.classList.add('abp-block-area-busy'); + } else { + $abpBlockArea.classList.remove('abp-block-area-busy'); + } + + if (document.querySelector(opts.elm)) { + $abpBlockArea.style.position = 'absolute'; + } else { + $abpBlockArea.style.position = 'fixed'; + } + + $elm.appendChild($abpBlockArea); + + if (opts.promise) { + if (opts.promise.always) { //jQuery.Deferred style + opts.promise.always(function () { + abp.ui.unblock({ + $elm: opts.elm + }); + }); + } else if (opts.promise['finally']) { //Q style + opts.promise['finally'](function () { + abp.ui.unblock({ + $elm: opts.elm + }); + }); + } + } + }; + + /* opts: { + * + * } + */ + abp.ui.unblock = function (opts) { + var element = document.querySelector('.abp-block-area'); + if (element) { + element.classList.add('abp-block-area-disappearing'); + setTimeout(function () { + if (element) { + element.classList.remove('abp-block-area-disappearing'); + if (element.parentElement) { + element.parentElement.removeChild(element); + } + } + }, 250); + } + }; + + /* UI BUSY */ + //Defines UI Busy API, not implements it + + abp.ui.setBusy = function (opts) { + if (!opts) { + opts = { + busy: true + }; + } else if (typeof opts == 'string') { + opts = { + elm: opts, + busy: true + }; + } + + abp.ui.block(opts); + }; + + abp.ui.clearBusy = function (opts) { + abp.ui.unblock(opts); + }; + + /* SIMPLE EVENT BUS *****************************************/ + + abp.event = (function () { + + var _callbacks = {}; + + var on = function (eventName, callback) { + if (!_callbacks[eventName]) { + _callbacks[eventName] = []; + } + + _callbacks[eventName].push(callback); + }; + + var off = function (eventName, callback) { + var callbacks = _callbacks[eventName]; + if (!callbacks) { + return; + } + + var index = -1; + for (var i = 0; i < callbacks.length; i++) { + if (callbacks[i] === callback) { + index = i; + break; + } + } + + if (index < 0) { + return; + } + + _callbacks[eventName].splice(index, 1); + }; + + var trigger = function (eventName) { + var callbacks = _callbacks[eventName]; + if (!callbacks || !callbacks.length) { + return; + } + + var args = Array.prototype.slice.call(arguments, 1); + for (var i = 0; i < callbacks.length; i++) { + callbacks[i].apply(this, args); + } + }; + + // Public interface /////////////////////////////////////////////////// + + return { + on: on, + off: off, + trigger: trigger + }; + })(); + + + /* UTILS ***************************************************/ + + abp.utils = abp.utils || {}; + + /* Creates a name namespace. + * Example: + * var taskService = abp.utils.createNamespace(abp, 'services.task'); + * taskService will be equal to abp.services.task + * first argument (root) must be defined first + ************************************************************/ + abp.utils.createNamespace = function (root, ns) { + var parts = ns.split('.'); + for (var i = 0; i < parts.length; i++) { + if (typeof root[parts[i]] == 'undefined') { + root[parts[i]] = {}; + } + + root = root[parts[i]]; + } + + return root; + }; + + /* Find and replaces a string (search) to another string (replacement) in + * given string (str). + * Example: + * abp.utils.replaceAll('This is a test string', 'is', 'X') = 'ThX X a test string' + ************************************************************/ + abp.utils.replaceAll = function (str, search, replacement) { + var fix = search.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); + return str.replace(new RegExp(fix, 'g'), replacement); + }; + + /* Formats a string just like string.format in C#. + * Example: + * abp.utils.formatString('Hello {0}','Tuana') = 'Hello Tuana' + ************************************************************/ + abp.utils.formatString = function () { + if (arguments.length < 1) { + return null; + } + + var str = arguments[0]; + + for (var i = 1; i < arguments.length; i++) { + var placeHolder = '{' + (i - 1) + '}'; + str = abp.utils.replaceAll(str, placeHolder, arguments[i]); + } + + return str; + }; + + abp.utils.toPascalCase = function (str) { + if (!str || !str.length) { + return str; + } + + if (str.length === 1) { + return str.charAt(0).toUpperCase(); + } + + return str.charAt(0).toUpperCase() + str.substr(1); + } + + abp.utils.toCamelCase = function (str) { + if (!str || !str.length) { + return str; + } + + if (str.length === 1) { + return str.charAt(0).toLowerCase(); + } + + return str.charAt(0).toLowerCase() + str.substr(1); + } + + abp.utils.truncateString = function (str, maxLength) { + if (!str || !str.length || str.length <= maxLength) { + return str; + } + + return str.substr(0, maxLength); + }; + + abp.utils.truncateStringWithPostfix = function (str, maxLength, postfix) { + postfix = postfix || '...'; + + if (!str || !str.length || str.length <= maxLength) { + return str; + } + + if (maxLength <= postfix.length) { + return postfix.substr(0, maxLength); + } + + return str.substr(0, maxLength - postfix.length) + postfix; + }; + + abp.utils.isFunction = function (obj) { + return !!(obj && obj.constructor && obj.call && obj.apply); + }; + + /** + * parameterInfos should be an array of { name, value } objects + * where name is query string parameter name and value is it's value. + * includeQuestionMark is true by default. + */ + abp.utils.buildQueryString = function (parameterInfos, includeQuestionMark) { + if (includeQuestionMark === undefined) { + includeQuestionMark = true; + } + + var qs = ''; + + function addSeperator() { + if (!qs.length) { + if (includeQuestionMark) { + qs = qs + '?'; + } + } else { + qs = qs + '&'; + } + } + + for (var i = 0; i < parameterInfos.length; ++i) { + var parameterInfo = parameterInfos[i]; + if (parameterInfo.value === undefined) { + continue; + } + + if (parameterInfo.value === null) { + parameterInfo.value = ''; + } + + addSeperator(); + + if (parameterInfo.value.toJSON && typeof parameterInfo.value.toJSON === "function") { + qs = qs + parameterInfo.name + '=' + encodeURIComponent(parameterInfo.value.toJSON()); + } else if (Array.isArray(parameterInfo.value) && parameterInfo.value.length) { + for (var j = 0; j < parameterInfo.value.length; j++) { + if (j > 0) { + addSeperator(); + } + + qs = qs + parameterInfo.name + '[' + j + ']=' + encodeURIComponent(parameterInfo.value[j]); + } + } else { + qs = qs + parameterInfo.name + '=' + encodeURIComponent(parameterInfo.value); + } + } + + return qs; + } + + /** + * Sets a cookie value for given key. + * This is a simple implementation created to be used by ABP. + * Please use a complete cookie library if you need. + * @param {string} key + * @param {string} value + * @param {Date} expireDate (optional). If not specified the cookie will expire at the end of session. + * @param {string} path (optional) + */ + abp.utils.setCookieValue = function (key, value, expireDate, path) { + var cookieValue = encodeURIComponent(key) + '='; + + if (value) { + cookieValue = cookieValue + encodeURIComponent(value); + } + + if (expireDate) { + cookieValue = cookieValue + "; expires=" + expireDate.toUTCString(); + } + + if (path) { + cookieValue = cookieValue + "; path=" + path; + } + + document.cookie = cookieValue; + }; + + /** + * Gets a cookie with given key. + * This is a simple implementation created to be used by ABP. + * Please use a complete cookie library if you need. + * @param {string} key + * @returns {string} Cookie value or null + */ + abp.utils.getCookieValue = function (key) { + var equalities = document.cookie.split('; '); + for (var i = 0; i < equalities.length; i++) { + if (!equalities[i]) { + continue; + } + + var splitted = equalities[i].split('='); + if (splitted.length != 2) { + continue; + } + + if (decodeURIComponent(splitted[0]) === key) { + return decodeURIComponent(splitted[1] || ''); + } + } + + return null; + }; + + /** + * Deletes cookie for given key. + * This is a simple implementation created to be used by ABP. + * Please use a complete cookie library if you need. + * @param {string} key + * @param {string} path (optional) + */ + abp.utils.deleteCookie = function (key, path) { + var cookieValue = encodeURIComponent(key) + '='; + + cookieValue = cookieValue + "; expires=" + (new Date(new Date().getTime() - 86400000)).toUTCString(); + + if (path) { + cookieValue = cookieValue + "; path=" + path; + } + + document.cookie = cookieValue; + } + + /** + * Escape HTML to help prevent XSS attacks. + */ + abp.utils.htmlEscape = function (html) { + return typeof html === 'string' ? html.replace(/&/g, '&').replace(//g, '>').replace(/"/g, '"') : html; + } + + /* SECURITY ***************************************/ + abp.security = abp.security || {}; + abp.security.antiForgery = abp.security.antiForgery || {}; + + abp.security.antiForgery.tokenCookieName = 'XSRF-TOKEN'; + abp.security.antiForgery.tokenHeaderName = 'RequestVerificationToken'; + + abp.security.antiForgery.getToken = function () { + return abp.utils.getCookieValue(abp.security.antiForgery.tokenCookieName); + }; + + /* CLOCK *****************************************/ + abp.clock = abp.clock || {}; + + abp.clock.kind = 'Unspecified'; + + abp.clock.supportsMultipleTimezone = function () { + return abp.clock.kind === 'Utc'; + }; + + var toLocal = function (date) { + return new Date( + date.getFullYear(), + date.getMonth(), + date.getDate(), + date.getHours(), + date.getMinutes(), + date.getSeconds(), + date.getMilliseconds() + ); + }; + + var toUtc = function (date) { + return Date.UTC( + date.getUTCFullYear(), + date.getUTCMonth(), + date.getUTCDate(), + date.getUTCHours(), + date.getUTCMinutes(), + date.getUTCSeconds(), + date.getUTCMilliseconds() + ); + }; + + abp.clock.now = function () { + if (abp.clock.kind === 'Utc') { + return toUtc(new Date()); + } + return new Date(); + }; + + abp.clock.normalize = function (date) { + var kind = abp.clock.kind; + + if (kind === 'Unspecified') { + return date; + } + + if (kind === 'Local') { + return toLocal(date); + } + + if (kind === 'Utc') { + return toUtc(date); + } + }; + + /* FEATURES *************************************************/ + + abp.features = abp.features || {}; + + abp.features.values = abp.features.values || {}; + + abp.features.isEnabled = function(name){ + var value = abp.features.get(name); + return value == 'true' || value == 'True'; + } + + abp.features.get = function (name) { + return abp.features.values[name]; + }; + + /* GLOBAL FEATURES *************************************************/ + + abp.globalFeatures = abp.globalFeatures || {}; + + abp.globalFeatures.enabledFeatures = abp.globalFeatures.enabledFeatures || []; + + abp.globalFeatures.isEnabled = function(name){ + return abp.globalFeatures.enabledFeatures.indexOf(name) != -1; + } + +})(); diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/abp/jquery/abp.jquery.js b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/abp/jquery/abp.jquery.js index 76dfd389..942bddd3 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/abp/jquery/abp.jquery.js +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/abp/jquery/abp.jquery.js @@ -1,406 +1,406 @@ -var abp = abp || {}; -(function($) { - - if (!$) { - throw "abp/jquery library requires the jquery library included to the page!"; - } - - // ABP CORE OVERRIDES ///////////////////////////////////////////////////// - - abp.message._showMessage = function (message, title) { - alert((title || '') + ' ' + message); - - return $.Deferred(function ($dfd) { - $dfd.resolve(); - }); - }; - - abp.message.confirm = function (message, titleOrCallback, callback) { - if (titleOrCallback && !(typeof titleOrCallback == 'string')) { - callback = titleOrCallback; - } - - var result = confirm(message); - callback && callback(result); - - return $.Deferred(function ($dfd) { - $dfd.resolve(result); - }); - }; - - abp.utils.isFunction = function (obj) { - return $.isFunction(obj); - }; - - // JQUERY EXTENSIONS ////////////////////////////////////////////////////// - - $.fn.findWithSelf = function (selector) { - return this.filter(selector).add(this.find(selector)); - }; - - // DOM //////////////////////////////////////////////////////////////////// - - abp.dom = abp.dom || {}; - - abp.dom.onNodeAdded = function (callback) { - abp.event.on('abp.dom.nodeAdded', callback); - }; - - abp.dom.onNodeRemoved = function (callback) { - abp.event.on('abp.dom.nodeRemoved', callback); - }; - - var mutationObserverCallback = function (mutationsList) { - for (var i = 0; i < mutationsList.length; i++) { - var mutation = mutationsList[i]; - if (mutation.type === 'childList') { - if (mutation.addedNodes && mutation.removedNodes.length) { - for (var k = 0; k < mutation.removedNodes.length; k++) { - abp.event.trigger( - 'abp.dom.nodeRemoved', - { - $el: $(mutation.removedNodes[k]) - } - ); - } - } - - if (mutation.addedNodes && mutation.addedNodes.length) { - for (var j = 0; j < mutation.addedNodes.length; j++) { - abp.event.trigger( - 'abp.dom.nodeAdded', - { - $el: $(mutation.addedNodes[j]) - } - ); - } - } - } - } - }; - - $(function(){ - new MutationObserver(mutationObserverCallback).observe( - $('body')[0], - { - subtree: true, - childList: true - } - ); - }); - - // AJAX /////////////////////////////////////////////////////////////////// - - abp.ajax = function (userOptions) { - userOptions = userOptions || {}; - - var options = $.extend(true, {}, abp.ajax.defaultOpts, userOptions); - - options.success = undefined; - options.error = undefined; - - var xhr = null; - var promise = $.Deferred(function ($dfd) { - xhr = $.ajax(options) - .done(function (data, textStatus, jqXHR) { - $dfd.resolve(data); - userOptions.success && userOptions.success(data); - }).fail(function (jqXHR) { - if(jqXHR.statusText === 'abort') { - //ajax request is abort, ignore error handle. - return; - } - if (jqXHR.getResponseHeader('_AbpErrorFormat') === 'true') { - abp.ajax.handleAbpErrorResponse(jqXHR, userOptions, $dfd); - } else { - abp.ajax.handleNonAbpErrorResponse(jqXHR, userOptions, $dfd); - } - }); - }).promise(); - - promise['jqXHR'] = xhr; - - return promise; - }; - - $.extend(abp.ajax, { - defaultOpts: { - dataType: 'json', - type: 'POST', - contentType: 'application/json', - headers: { - 'X-Requested-With': 'XMLHttpRequest' - } - }, - - defaultError: { - message: 'An error has occurred!', - details: 'Error detail not sent by server.' - }, - - defaultError401: { - message: 'You are not authenticated!', - details: 'You should be authenticated (sign in) in order to perform this operation.' - }, - - defaultError403: { - message: 'You are not authorized!', - details: 'You are not allowed to perform this operation.' - }, - - defaultError404: { - message: 'Resource not found!', - details: 'The resource requested could not found on the server.' - }, - - logError: function (error) { - abp.log.error(error); - }, - - showError: function (error) { - if (error.details) { - return abp.message.error(error.details, error.message); - } else { - return abp.message.error(error.message || abp.ajax.defaultError.message); - } - }, - - handleTargetUrl: function (targetUrl) { - if (!targetUrl) { - location.href = abp.appPath; - } else { - location.href = targetUrl; - } - }, - - handleErrorStatusCode: function (status) { - switch (status) { - case 401: - abp.ajax.handleUnAuthorizedRequest( - abp.ajax.showError(abp.ajax.defaultError401), - abp.appPath - ); - break; - case 403: - abp.ajax.showError(abp.ajax.defaultError403); - break; - case 404: - abp.ajax.showError(abp.ajax.defaultError404); - break; - default: - abp.ajax.showError(abp.ajax.defaultError); - break; - } - }, - - handleNonAbpErrorResponse: function (jqXHR, userOptions, $dfd) { - if (userOptions.abpHandleError !== false) { - abp.ajax.handleErrorStatusCode(jqXHR.status); - } - - $dfd.reject.apply(this, arguments); - userOptions.error && userOptions.error.apply(this, arguments); - }, - - handleAbpErrorResponse: function (jqXHR, userOptions, $dfd) { - var messagePromise = null; - - var responseJSON = jqXHR.responseJSON ? jqXHR.responseJSON : JSON.parse(jqXHR.responseText); - - if (userOptions.abpHandleError !== false) { - messagePromise = abp.ajax.showError(responseJSON.error); - } - - abp.ajax.logError(responseJSON.error); - - $dfd && $dfd.reject(responseJSON.error, jqXHR); - userOptions.error && userOptions.error(responseJSON.error, jqXHR); - - if (jqXHR.status === 401 && userOptions.abpHandleError !== false) { - abp.ajax.handleUnAuthorizedRequest(messagePromise); - } - }, - - handleUnAuthorizedRequest: function (messagePromise, targetUrl) { - if (messagePromise) { - messagePromise.done(function () { - abp.ajax.handleTargetUrl(targetUrl); - }); - } else { - abp.ajax.handleTargetUrl(targetUrl); - } - }, - - blockUI: function (options) { - if (options.blockUI) { - if (options.blockUI === true) { //block whole page - abp.ui.setBusy(); - } else { //block an element - abp.ui.setBusy(options.blockUI); - } - } - }, - - unblockUI: function (options) { - if (options.blockUI) { - if (options.blockUI === true) { //unblock whole page - abp.ui.clearBusy(); - } else { //unblock an element - abp.ui.clearBusy(options.blockUI); - } - } - }, - - ajaxSendHandler: function (event, request, settings) { - var token = abp.security.antiForgery.getToken(); - if (!token) { - return; - } - - if (!settings.headers || settings.headers[abp.security.antiForgery.tokenHeaderName] === undefined) { - request.setRequestHeader(abp.security.antiForgery.tokenHeaderName, token); - } - } - }); - - $(document).ajaxSend(function (event, request, settings) { - return abp.ajax.ajaxSendHandler(event, request, settings); - }); - - abp.event.on('abp.configurationInitialized', function () { - var l = abp.localization.getResource('AbpUi'); - - abp.ajax.defaultError.message = l('DefaultErrorMessage'); - abp.ajax.defaultError.details = l('DefaultErrorMessageDetail'); - abp.ajax.defaultError401.message = l('DefaultErrorMessage401'); - abp.ajax.defaultError401.details = l('DefaultErrorMessage401Detail'); - abp.ajax.defaultError403.message = l('DefaultErrorMessage403'); - abp.ajax.defaultError403.details = l('DefaultErrorMessage403Detail'); - abp.ajax.defaultError404.message = l('DefaultErrorMessage404'); - abp.ajax.defaultError404.details = l('DefaultErrorMessage404Detail'); - }); - - // RESOURCE LOADER //////////////////////////////////////////////////////// - - /* UrlStates enum */ - var UrlStates = { - LOADING: 'LOADING', - LOADED: 'LOADED', - FAILED: 'FAILED' - }; - - /* UrlInfo class */ - function UrlInfo(url) { - this.url = url; - this.state = UrlStates.LOADING; - this.loadCallbacks = []; - this.failCallbacks = []; - } - - UrlInfo.prototype.succeed = function () { - this.state = UrlStates.LOADED; - for (var i = 0; i < this.loadCallbacks.length; i++) { - this.loadCallbacks[i](); - } - }; - - UrlInfo.prototype.failed = function () { - this.state = UrlStates.FAILED; - for (var i = 0; i < this.failCallbacks.length; i++) { - this.failCallbacks[i](); - } - }; - - UrlInfo.prototype.handleCallbacks = function (loadCallback, failCallback) { - switch (this.state) { - case UrlStates.LOADED: - loadCallback && loadCallback(); - break; - case UrlStates.FAILED: - failCallback && failCallback(); - break; - case UrlStates.LOADING: - this.addCallbacks(loadCallback, failCallback); - break; - } - }; - - UrlInfo.prototype.addCallbacks = function (loadCallback, failCallback) { - loadCallback && this.loadCallbacks.push(loadCallback); - failCallback && this.failCallbacks.push(failCallback); - }; - - /* ResourceLoader API */ - - abp.ResourceLoader = (function () { - - var _urlInfos = {}; - - function getCacheKey(url) { - return url; - } - - function appendTimeToUrl(url) { - - if (url.indexOf('?') < 0) { - url += '?'; - } else { - url += '&'; - } - - url += '_=' + new Date().getTime(); - - return url; - } - - var _loadFromUrl = function (url, loadCallback, failCallback, serverLoader) { - - var cacheKey = getCacheKey(url); - - var urlInfo = _urlInfos[cacheKey]; - - if (urlInfo) { - urlInfo.handleCallbacks(loadCallback, failCallback); - return; - } - - _urlInfos[cacheKey] = urlInfo = new UrlInfo(url); - urlInfo.addCallbacks(loadCallback, failCallback); - - serverLoader(urlInfo); - }; - - var _loadScript = function (url, loadCallback, failCallback) { - _loadFromUrl(url, loadCallback, failCallback, function (urlInfo) { - $.get({ - url: url, - dataType: 'text' - }) - .done(function (script) { - $.globalEval(script); - urlInfo.succeed(); - }) - .fail(function () { - urlInfo.failed(); - }); - }); - }; - - var _loadStyle = function (url) { - _loadFromUrl(url, undefined, undefined, function (urlInfo) { - - $('', { - rel: 'stylesheet', - type: 'text/css', - href: appendTimeToUrl(url) - }).appendTo('head'); - }); - }; - - return { - loadScript: _loadScript, - loadStyle: _loadStyle - } - })(); - +var abp = abp || {}; +(function($) { + + if (!$) { + throw "abp/jquery library requires the jquery library included to the page!"; + } + + // ABP CORE OVERRIDES ///////////////////////////////////////////////////// + + abp.message._showMessage = function (message, title) { + alert((title || '') + ' ' + message); + + return $.Deferred(function ($dfd) { + $dfd.resolve(); + }); + }; + + abp.message.confirm = function (message, titleOrCallback, callback) { + if (titleOrCallback && !(typeof titleOrCallback == 'string')) { + callback = titleOrCallback; + } + + var result = confirm(message); + callback && callback(result); + + return $.Deferred(function ($dfd) { + $dfd.resolve(result); + }); + }; + + abp.utils.isFunction = function (obj) { + return $.isFunction(obj); + }; + + // JQUERY EXTENSIONS ////////////////////////////////////////////////////// + + $.fn.findWithSelf = function (selector) { + return this.filter(selector).add(this.find(selector)); + }; + + // DOM //////////////////////////////////////////////////////////////////// + + abp.dom = abp.dom || {}; + + abp.dom.onNodeAdded = function (callback) { + abp.event.on('abp.dom.nodeAdded', callback); + }; + + abp.dom.onNodeRemoved = function (callback) { + abp.event.on('abp.dom.nodeRemoved', callback); + }; + + var mutationObserverCallback = function (mutationsList) { + for (var i = 0; i < mutationsList.length; i++) { + var mutation = mutationsList[i]; + if (mutation.type === 'childList') { + if (mutation.addedNodes && mutation.removedNodes.length) { + for (var k = 0; k < mutation.removedNodes.length; k++) { + abp.event.trigger( + 'abp.dom.nodeRemoved', + { + $el: $(mutation.removedNodes[k]) + } + ); + } + } + + if (mutation.addedNodes && mutation.addedNodes.length) { + for (var j = 0; j < mutation.addedNodes.length; j++) { + abp.event.trigger( + 'abp.dom.nodeAdded', + { + $el: $(mutation.addedNodes[j]) + } + ); + } + } + } + } + }; + + $(function(){ + new MutationObserver(mutationObserverCallback).observe( + $('body')[0], + { + subtree: true, + childList: true + } + ); + }); + + // AJAX /////////////////////////////////////////////////////////////////// + + abp.ajax = function (userOptions) { + userOptions = userOptions || {}; + + var options = $.extend(true, {}, abp.ajax.defaultOpts, userOptions); + + options.success = undefined; + options.error = undefined; + + var xhr = null; + var promise = $.Deferred(function ($dfd) { + xhr = $.ajax(options) + .done(function (data, textStatus, jqXHR) { + $dfd.resolve(data); + userOptions.success && userOptions.success(data); + }).fail(function (jqXHR) { + if(jqXHR.statusText === 'abort') { + //ajax request is abort, ignore error handle. + return; + } + if (jqXHR.getResponseHeader('_AbpErrorFormat') === 'true') { + abp.ajax.handleAbpErrorResponse(jqXHR, userOptions, $dfd); + } else { + abp.ajax.handleNonAbpErrorResponse(jqXHR, userOptions, $dfd); + } + }); + }).promise(); + + promise['jqXHR'] = xhr; + + return promise; + }; + + $.extend(abp.ajax, { + defaultOpts: { + dataType: 'json', + type: 'POST', + contentType: 'application/json', + headers: { + 'X-Requested-With': 'XMLHttpRequest' + } + }, + + defaultError: { + message: 'An error has occurred!', + details: 'Error detail not sent by server.' + }, + + defaultError401: { + message: 'You are not authenticated!', + details: 'You should be authenticated (sign in) in order to perform this operation.' + }, + + defaultError403: { + message: 'You are not authorized!', + details: 'You are not allowed to perform this operation.' + }, + + defaultError404: { + message: 'Resource not found!', + details: 'The resource requested could not found on the server.' + }, + + logError: function (error) { + abp.log.error(error); + }, + + showError: function (error) { + if (error.details) { + return abp.message.error(error.details, error.message); + } else { + return abp.message.error(error.message || abp.ajax.defaultError.message); + } + }, + + handleTargetUrl: function (targetUrl) { + if (!targetUrl) { + location.href = abp.appPath; + } else { + location.href = targetUrl; + } + }, + + handleErrorStatusCode: function (status) { + switch (status) { + case 401: + abp.ajax.handleUnAuthorizedRequest( + abp.ajax.showError(abp.ajax.defaultError401), + abp.appPath + ); + break; + case 403: + abp.ajax.showError(abp.ajax.defaultError403); + break; + case 404: + abp.ajax.showError(abp.ajax.defaultError404); + break; + default: + abp.ajax.showError(abp.ajax.defaultError); + break; + } + }, + + handleNonAbpErrorResponse: function (jqXHR, userOptions, $dfd) { + if (userOptions.abpHandleError !== false) { + abp.ajax.handleErrorStatusCode(jqXHR.status); + } + + $dfd.reject.apply(this, arguments); + userOptions.error && userOptions.error.apply(this, arguments); + }, + + handleAbpErrorResponse: function (jqXHR, userOptions, $dfd) { + var messagePromise = null; + + var responseJSON = jqXHR.responseJSON ? jqXHR.responseJSON : JSON.parse(jqXHR.responseText); + + if (userOptions.abpHandleError !== false) { + messagePromise = abp.ajax.showError(responseJSON.error); + } + + abp.ajax.logError(responseJSON.error); + + $dfd && $dfd.reject(responseJSON.error, jqXHR); + userOptions.error && userOptions.error(responseJSON.error, jqXHR); + + if (jqXHR.status === 401 && userOptions.abpHandleError !== false) { + abp.ajax.handleUnAuthorizedRequest(messagePromise); + } + }, + + handleUnAuthorizedRequest: function (messagePromise, targetUrl) { + if (messagePromise) { + messagePromise.done(function () { + abp.ajax.handleTargetUrl(targetUrl); + }); + } else { + abp.ajax.handleTargetUrl(targetUrl); + } + }, + + blockUI: function (options) { + if (options.blockUI) { + if (options.blockUI === true) { //block whole page + abp.ui.setBusy(); + } else { //block an element + abp.ui.setBusy(options.blockUI); + } + } + }, + + unblockUI: function (options) { + if (options.blockUI) { + if (options.blockUI === true) { //unblock whole page + abp.ui.clearBusy(); + } else { //unblock an element + abp.ui.clearBusy(options.blockUI); + } + } + }, + + ajaxSendHandler: function (event, request, settings) { + var token = abp.security.antiForgery.getToken(); + if (!token) { + return; + } + + if (!settings.headers || settings.headers[abp.security.antiForgery.tokenHeaderName] === undefined) { + request.setRequestHeader(abp.security.antiForgery.tokenHeaderName, token); + } + } + }); + + $(document).ajaxSend(function (event, request, settings) { + return abp.ajax.ajaxSendHandler(event, request, settings); + }); + + abp.event.on('abp.configurationInitialized', function () { + var l = abp.localization.getResource('AbpUi'); + + abp.ajax.defaultError.message = l('DefaultErrorMessage'); + abp.ajax.defaultError.details = l('DefaultErrorMessageDetail'); + abp.ajax.defaultError401.message = l('DefaultErrorMessage401'); + abp.ajax.defaultError401.details = l('DefaultErrorMessage401Detail'); + abp.ajax.defaultError403.message = l('DefaultErrorMessage403'); + abp.ajax.defaultError403.details = l('DefaultErrorMessage403Detail'); + abp.ajax.defaultError404.message = l('DefaultErrorMessage404'); + abp.ajax.defaultError404.details = l('DefaultErrorMessage404Detail'); + }); + + // RESOURCE LOADER //////////////////////////////////////////////////////// + + /* UrlStates enum */ + var UrlStates = { + LOADING: 'LOADING', + LOADED: 'LOADED', + FAILED: 'FAILED' + }; + + /* UrlInfo class */ + function UrlInfo(url) { + this.url = url; + this.state = UrlStates.LOADING; + this.loadCallbacks = []; + this.failCallbacks = []; + } + + UrlInfo.prototype.succeed = function () { + this.state = UrlStates.LOADED; + for (var i = 0; i < this.loadCallbacks.length; i++) { + this.loadCallbacks[i](); + } + }; + + UrlInfo.prototype.failed = function () { + this.state = UrlStates.FAILED; + for (var i = 0; i < this.failCallbacks.length; i++) { + this.failCallbacks[i](); + } + }; + + UrlInfo.prototype.handleCallbacks = function (loadCallback, failCallback) { + switch (this.state) { + case UrlStates.LOADED: + loadCallback && loadCallback(); + break; + case UrlStates.FAILED: + failCallback && failCallback(); + break; + case UrlStates.LOADING: + this.addCallbacks(loadCallback, failCallback); + break; + } + }; + + UrlInfo.prototype.addCallbacks = function (loadCallback, failCallback) { + loadCallback && this.loadCallbacks.push(loadCallback); + failCallback && this.failCallbacks.push(failCallback); + }; + + /* ResourceLoader API */ + + abp.ResourceLoader = (function () { + + var _urlInfos = {}; + + function getCacheKey(url) { + return url; + } + + function appendTimeToUrl(url) { + + if (url.indexOf('?') < 0) { + url += '?'; + } else { + url += '&'; + } + + url += '_=' + new Date().getTime(); + + return url; + } + + var _loadFromUrl = function (url, loadCallback, failCallback, serverLoader) { + + var cacheKey = getCacheKey(url); + + var urlInfo = _urlInfos[cacheKey]; + + if (urlInfo) { + urlInfo.handleCallbacks(loadCallback, failCallback); + return; + } + + _urlInfos[cacheKey] = urlInfo = new UrlInfo(url); + urlInfo.addCallbacks(loadCallback, failCallback); + + serverLoader(urlInfo); + }; + + var _loadScript = function (url, loadCallback, failCallback) { + _loadFromUrl(url, loadCallback, failCallback, function (urlInfo) { + $.get({ + url: url, + dataType: 'text' + }) + .done(function (script) { + $.globalEval(script); + urlInfo.succeed(); + }) + .fail(function () { + urlInfo.failed(); + }); + }); + }; + + var _loadStyle = function (url) { + _loadFromUrl(url, undefined, undefined, function (urlInfo) { + + $('', { + rel: 'stylesheet', + type: 'text/css', + href: appendTimeToUrl(url) + }).appendTo('head'); + }); + }; + + return { + loadScript: _loadScript, + loadStyle: _loadStyle + } + })(); + })(jQuery); \ No newline at end of file diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/abp/luxon/abp.luxon.js b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/abp/luxon/abp.luxon.js index b04de7ca..fcd9b442 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/abp/luxon/abp.luxon.js +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/abp/luxon/abp.luxon.js @@ -1,46 +1,46 @@ -var abp = abp || {}; -(function () { - - if (!luxon) { - throw "abp/luxon library requires the luxon library included to the page!"; - } - - /* TIMING *************************************************/ - - abp.timing = abp.timing || {}; - - var setObjectValue = function (obj, property, value) { - if (typeof property === "string") { - property = property.split('.'); - } - - if (property.length > 1) { - var p = property.shift(); - setObjectValue(obj[p], property, value); - } else { - obj[property[0]] = value; - } - } - - var getObjectValue = function (obj, property) { - return property.split('.').reduce((a, v) => a[v], obj) - } - - abp.timing.convertFieldsToIsoDate = function (form, fields) { - for (var field of fields) { - var dateTime = luxon.DateTime - .fromFormat( - getObjectValue(form, field), - abp.localization.currentCulture.dateTimeFormat.shortDatePattern, - {locale: abp.localization.currentCulture.cultureName} - ); - - if (!dateTime.invalid) { - setObjectValue(form, field, dateTime.toFormat("yyyy-MM-dd HH:mm:ss")) - } - } - - return form; - } - -})(jQuery); +var abp = abp || {}; +(function () { + + if (!luxon) { + throw "abp/luxon library requires the luxon library included to the page!"; + } + + /* TIMING *************************************************/ + + abp.timing = abp.timing || {}; + + var setObjectValue = function (obj, property, value) { + if (typeof property === "string") { + property = property.split('.'); + } + + if (property.length > 1) { + var p = property.shift(); + setObjectValue(obj[p], property, value); + } else { + obj[property[0]] = value; + } + } + + var getObjectValue = function (obj, property) { + return property.split('.').reduce((a, v) => a[v], obj) + } + + abp.timing.convertFieldsToIsoDate = function (form, fields) { + for (var field of fields) { + var dateTime = luxon.DateTime + .fromFormat( + getObjectValue(form, field), + abp.localization.currentCulture.dateTimeFormat.shortDatePattern, + {locale: abp.localization.currentCulture.cultureName} + ); + + if (!dateTime.invalid) { + setObjectValue(form, field, dateTime.toFormat("yyyy-MM-dd HH:mm:ss")) + } + } + + return form; + } + +})(jQuery); diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.min.css b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.min.css index eb681513..9d39187a 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.min.css +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.min.css @@ -1,7 +1,7 @@ /*! - * Datepicker for Bootstrap v1.9.0 (https://github.com/uxsolutions/bootstrap-datepicker) + * Datepicker for Bootstrap v1.10.0 (https://github.com/uxsolutions/bootstrap-datepicker) * - * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0) + * Licensed under the Apache License v2.0 (https://www.apache.org/licenses/LICENSE-2.0) */ .datepicker{padding:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;direction:ltr}.datepicker-inline{width:220px}.datepicker-rtl{direction:rtl}.datepicker-rtl.dropdown-menu{left:auto}.datepicker-rtl table tr td span{float:right}.datepicker-dropdown{top:0;left:0}.datepicker-dropdown:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #999;border-top:0;border-bottom-color:rgba(0,0,0,.2);position:absolute}.datepicker-dropdown:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;border-top:0;position:absolute}.datepicker-dropdown.datepicker-orient-left:before{left:6px}.datepicker-dropdown.datepicker-orient-left:after{left:7px}.datepicker-dropdown.datepicker-orient-right:before{right:6px}.datepicker-dropdown.datepicker-orient-right:after{right:7px}.datepicker-dropdown.datepicker-orient-bottom:before{top:-7px}.datepicker-dropdown.datepicker-orient-bottom:after{top:-6px}.datepicker-dropdown.datepicker-orient-top:before{bottom:-7px;border-bottom:0;border-top:7px solid #999}.datepicker-dropdown.datepicker-orient-top:after{bottom:-6px;border-bottom:0;border-top:6px solid #fff}.datepicker table{margin:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.datepicker td,.datepicker th{text-align:center;width:20px;height:20px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:none}.table-striped .datepicker table tr td,.table-striped .datepicker table tr th{background-color:transparent}.datepicker table tr td.day.focused,.datepicker table tr td.day:hover{background:#eee;cursor:pointer}.datepicker table tr td.new,.datepicker table tr td.old{color:#999}.datepicker table tr td.disabled,.datepicker table tr td.disabled:hover{background:0 0;color:#999;cursor:default}.datepicker table tr td.highlighted{background:#d9edf7;border-radius:0}.datepicker table tr td.today,.datepicker table tr td.today.disabled,.datepicker table tr td.today.disabled:hover,.datepicker table tr td.today:hover{background-color:#fde19a;background-image:-moz-linear-gradient(to bottom,#fdd49a,#fdf59a);background-image:-ms-linear-gradient(to bottom,#fdd49a,#fdf59a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fdd49a),to(#fdf59a));background-image:-webkit-linear-gradient(to bottom,#fdd49a,#fdf59a);background-image:-o-linear-gradient(to bottom,#fdd49a,#fdf59a);background-image:linear-gradient(to bottom,#fdd49a,#fdf59a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0);border-color:#fdf59a #fdf59a #fbed50;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);color:#000}.datepicker table tr td.today.active,.datepicker table tr td.today.disabled,.datepicker table tr td.today.disabled.active,.datepicker table tr td.today.disabled.disabled,.datepicker table tr td.today.disabled:active,.datepicker table tr td.today.disabled:hover,.datepicker table tr td.today.disabled:hover.active,.datepicker table tr td.today.disabled:hover.disabled,.datepicker table tr td.today.disabled:hover:active,.datepicker table tr td.today.disabled:hover:hover,.datepicker table tr td.today.disabled:hover[disabled],.datepicker table tr td.today.disabled[disabled],.datepicker table tr td.today:active,.datepicker table tr td.today:hover,.datepicker table tr td.today:hover.active,.datepicker table tr td.today:hover.disabled,.datepicker table tr td.today:hover:active,.datepicker table tr td.today:hover:hover,.datepicker table tr td.today:hover[disabled],.datepicker table tr td.today[disabled]{background-color:#fdf59a}.datepicker table tr td.today.active,.datepicker table tr td.today.disabled.active,.datepicker table tr td.today.disabled:active,.datepicker table tr td.today.disabled:hover.active,.datepicker table tr td.today.disabled:hover:active,.datepicker table tr td.today:active,.datepicker table tr td.today:hover.active,.datepicker table tr td.today:hover:active{background-color:#fbf069\9}.datepicker table tr td.today:hover:hover{color:#000}.datepicker table tr td.today.active:hover{color:#fff}.datepicker table tr td.range,.datepicker table tr td.range.disabled,.datepicker table tr td.range.disabled:hover,.datepicker table tr td.range:hover{background:#eee;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.datepicker table tr td.range.today,.datepicker table tr td.range.today.disabled,.datepicker table tr td.range.today.disabled:hover,.datepicker table tr td.range.today:hover{background-color:#f3d17a;background-image:-moz-linear-gradient(to bottom,#f3c17a,#f3e97a);background-image:-ms-linear-gradient(to bottom,#f3c17a,#f3e97a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f3c17a),to(#f3e97a));background-image:-webkit-linear-gradient(to bottom,#f3c17a,#f3e97a);background-image:-o-linear-gradient(to bottom,#f3c17a,#f3e97a);background-image:linear-gradient(to bottom,#f3c17a,#f3e97a);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3c17a', endColorstr='#f3e97a', GradientType=0);border-color:#f3e97a #f3e97a #edde34;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.datepicker table tr td.range.today.active,.datepicker table tr td.range.today.disabled,.datepicker table tr td.range.today.disabled.active,.datepicker table tr td.range.today.disabled.disabled,.datepicker table tr td.range.today.disabled:active,.datepicker table tr td.range.today.disabled:hover,.datepicker table tr td.range.today.disabled:hover.active,.datepicker table tr td.range.today.disabled:hover.disabled,.datepicker table tr td.range.today.disabled:hover:active,.datepicker table tr td.range.today.disabled:hover:hover,.datepicker table tr td.range.today.disabled:hover[disabled],.datepicker table tr td.range.today.disabled[disabled],.datepicker table tr td.range.today:active,.datepicker table tr td.range.today:hover,.datepicker table tr td.range.today:hover.active,.datepicker table tr td.range.today:hover.disabled,.datepicker table tr td.range.today:hover:active,.datepicker table tr td.range.today:hover:hover,.datepicker table tr td.range.today:hover[disabled],.datepicker table tr td.range.today[disabled]{background-color:#f3e97a}.datepicker table tr td.range.today.active,.datepicker table tr td.range.today.disabled.active,.datepicker table tr td.range.today.disabled:active,.datepicker table tr td.range.today.disabled:hover.active,.datepicker table tr td.range.today.disabled:hover:active,.datepicker table tr td.range.today:active,.datepicker table tr td.range.today:hover.active,.datepicker table tr td.range.today:hover:active{background-color:#efe24b\9}.datepicker table tr td.selected,.datepicker table tr td.selected.disabled,.datepicker table tr td.selected.disabled:hover,.datepicker table tr td.selected:hover{background-color:#9e9e9e;background-image:-moz-linear-gradient(to bottom,#b3b3b3,grey);background-image:-ms-linear-gradient(to bottom,#b3b3b3,grey);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b3b3b3),to(grey));background-image:-webkit-linear-gradient(to bottom,#b3b3b3,grey);background-image:-o-linear-gradient(to bottom,#b3b3b3,grey);background-image:linear-gradient(to bottom,#b3b3b3,grey);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3b3b3', endColorstr='#808080', GradientType=0);border-color:grey grey #595959;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.datepicker table tr td.selected.active,.datepicker table tr td.selected.disabled,.datepicker table tr td.selected.disabled.active,.datepicker table tr td.selected.disabled.disabled,.datepicker table tr td.selected.disabled:active,.datepicker table tr td.selected.disabled:hover,.datepicker table tr td.selected.disabled:hover.active,.datepicker table tr td.selected.disabled:hover.disabled,.datepicker table tr td.selected.disabled:hover:active,.datepicker table tr td.selected.disabled:hover:hover,.datepicker table tr td.selected.disabled:hover[disabled],.datepicker table tr td.selected.disabled[disabled],.datepicker table tr td.selected:active,.datepicker table tr td.selected:hover,.datepicker table tr td.selected:hover.active,.datepicker table tr td.selected:hover.disabled,.datepicker table tr td.selected:hover:active,.datepicker table tr td.selected:hover:hover,.datepicker table tr td.selected:hover[disabled],.datepicker table tr td.selected[disabled]{background-color:grey}.datepicker table tr td.selected.active,.datepicker table tr td.selected.disabled.active,.datepicker table tr td.selected.disabled:active,.datepicker table tr td.selected.disabled:hover.active,.datepicker table tr td.selected.disabled:hover:active,.datepicker table tr td.selected:active,.datepicker table tr td.selected:hover.active,.datepicker table tr td.selected:hover:active{background-color:#666\9}.datepicker table tr td.active,.datepicker table tr td.active.disabled,.datepicker table tr td.active.disabled:hover,.datepicker table tr td.active:hover{background-color:#006dcc;background-image:-moz-linear-gradient(to bottom,#08c,#04c);background-image:-ms-linear-gradient(to bottom,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(to bottom,#08c,#04c);background-image:-o-linear-gradient(to bottom,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#08c', endColorstr='#0044cc', GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.datepicker table tr td.active.active,.datepicker table tr td.active.disabled,.datepicker table tr td.active.disabled.active,.datepicker table tr td.active.disabled.disabled,.datepicker table tr td.active.disabled:active,.datepicker table tr td.active.disabled:hover,.datepicker table tr td.active.disabled:hover.active,.datepicker table tr td.active.disabled:hover.disabled,.datepicker table tr td.active.disabled:hover:active,.datepicker table tr td.active.disabled:hover:hover,.datepicker table tr td.active.disabled:hover[disabled],.datepicker table tr td.active.disabled[disabled],.datepicker table tr td.active:active,.datepicker table tr td.active:hover,.datepicker table tr td.active:hover.active,.datepicker table tr td.active:hover.disabled,.datepicker table tr td.active:hover:active,.datepicker table tr td.active:hover:hover,.datepicker table tr td.active:hover[disabled],.datepicker table tr td.active[disabled]{background-color:#04c}.datepicker table tr td.active.active,.datepicker table tr td.active.disabled.active,.datepicker table tr td.active.disabled:active,.datepicker table tr td.active.disabled:hover.active,.datepicker table tr td.active.disabled:hover:active,.datepicker table tr td.active:active,.datepicker table tr td.active:hover.active,.datepicker table tr td.active:hover:active{background-color:#039\9}.datepicker table tr td span{display:block;width:23%;height:54px;line-height:54px;float:left;margin:1%;cursor:pointer;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.datepicker table tr td span.focused,.datepicker table tr td span:hover{background:#eee}.datepicker table tr td span.disabled,.datepicker table tr td span.disabled:hover{background:0 0;color:#999;cursor:default}.datepicker table tr td span.active,.datepicker table tr td span.active.disabled,.datepicker table tr td span.active.disabled:hover,.datepicker table tr td span.active:hover{background-color:#006dcc;background-image:-moz-linear-gradient(to bottom,#08c,#04c);background-image:-ms-linear-gradient(to bottom,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(to bottom,#08c,#04c);background-image:-o-linear-gradient(to bottom,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#08c', endColorstr='#0044cc', GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.datepicker table tr td span.active.active,.datepicker table tr td span.active.disabled,.datepicker table tr td span.active.disabled.active,.datepicker table tr td span.active.disabled.disabled,.datepicker table tr td span.active.disabled:active,.datepicker table tr td span.active.disabled:hover,.datepicker table tr td span.active.disabled:hover.active,.datepicker table tr td span.active.disabled:hover.disabled,.datepicker table tr td span.active.disabled:hover:active,.datepicker table tr td span.active.disabled:hover:hover,.datepicker table tr td span.active.disabled:hover[disabled],.datepicker table tr td span.active.disabled[disabled],.datepicker table tr td span.active:active,.datepicker table tr td span.active:hover,.datepicker table tr td span.active:hover.active,.datepicker table tr td span.active:hover.disabled,.datepicker table tr td span.active:hover:active,.datepicker table tr td span.active:hover:hover,.datepicker table tr td span.active:hover[disabled],.datepicker table tr td span.active[disabled]{background-color:#04c}.datepicker table tr td span.active.active,.datepicker table tr td span.active.disabled.active,.datepicker table tr td span.active.disabled:active,.datepicker table tr td span.active.disabled:hover.active,.datepicker table tr td span.active.disabled:hover:active,.datepicker table tr td span.active:active,.datepicker table tr td span.active:hover.active,.datepicker table tr td span.active:hover:active{background-color:#039\9}.datepicker table tr td span.new,.datepicker table tr td span.old{color:#999}.datepicker .datepicker-switch{width:145px}.datepicker .datepicker-switch,.datepicker .next,.datepicker .prev,.datepicker tfoot tr th{cursor:pointer}.datepicker .datepicker-switch:hover,.datepicker .next:hover,.datepicker .prev:hover,.datepicker tfoot tr th:hover{background:#eee}.datepicker .next.disabled,.datepicker .prev.disabled{visibility:hidden}.datepicker .cw{font-size:10px;width:12px;padding:0 2px 0 5px;vertical-align:middle}.input-append.date .add-on,.input-prepend.date .add-on{cursor:pointer}.input-append.date .add-on i,.input-prepend.date .add-on i{margin-top:3px}.input-daterange input{text-align:center}.input-daterange input:first-child{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-daterange input:last-child{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-daterange .add-on{display:inline-block;width:auto;min-width:16px;height:18px;padding:4px 5px;font-weight:400;line-height:18px;text-align:center;text-shadow:0 1px 0 #fff;vertical-align:middle;background-color:#eee;border:1px solid #ccc;margin-left:-5px;margin-right:-5px} \ No newline at end of file diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.min.js b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.min.js index 8800106e..017a3de6 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.min.js +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/bootstrap-datepicker.min.js @@ -1,8 +1,8 @@ /*! - * Datepicker for Bootstrap v1.9.0 (https://github.com/uxsolutions/bootstrap-datepicker) + * Datepicker for Bootstrap v1.10.0 (https://github.com/uxsolutions/bootstrap-datepicker) * - * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0) + * Licensed under the Apache License v2.0 (https://www.apache.org/licenses/LICENSE-2.0) */ -!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a,b){function c(){return new Date(Date.UTC.apply(Date,arguments))}function d(){var a=new Date;return c(a.getFullYear(),a.getMonth(),a.getDate())}function e(a,b){return a.getUTCFullYear()===b.getUTCFullYear()&&a.getUTCMonth()===b.getUTCMonth()&&a.getUTCDate()===b.getUTCDate()}function f(c,d){return function(){return d!==b&&a.fn.datepicker.deprecated(d),this[c].apply(this,arguments)}}function g(a){return a&&!isNaN(a.getTime())}function h(b,c){function d(a,b){return b.toLowerCase()}var e,f=a(b).data(),g={},h=new RegExp("^"+c.toLowerCase()+"([A-Z])");c=new RegExp("^"+c.toLowerCase());for(var i in f)c.test(i)&&(e=i.replace(h,d),g[e]=f[i]);return g}function i(b){var c={};if(q[b]||(b=b.split("-")[0],q[b])){var d=q[b];return a.each(p,function(a,b){b in d&&(c[b]=d[b])}),c}}var j=function(){var b={get:function(a){return this.slice(a)[0]},contains:function(a){for(var b=a&&a.valueOf(),c=0,d=this.length;c]/g)||[]).length<=0)return!0;return a(c).length>0}catch(a){return!1}},_process_options:function(b){this._o=a.extend({},this._o,b);var e=this.o=a.extend({},this._o),f=e.language;q[f]||(f=f.split("-")[0],q[f]||(f=o.language)),e.language=f,e.startView=this._resolveViewName(e.startView),e.minViewMode=this._resolveViewName(e.minViewMode),e.maxViewMode=this._resolveViewName(e.maxViewMode),e.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,e.startView)),!0!==e.multidate&&(e.multidate=Number(e.multidate)||!1,!1!==e.multidate&&(e.multidate=Math.max(0,e.multidate))),e.multidateSeparator=String(e.multidateSeparator),e.weekStart%=7,e.weekEnd=(e.weekStart+6)%7;var g=r.parseFormat(e.format);e.startDate!==-1/0&&(e.startDate?e.startDate instanceof Date?e.startDate=this._local_to_utc(this._zero_time(e.startDate)):e.startDate=r.parseDate(e.startDate,g,e.language,e.assumeNearbyYear):e.startDate=-1/0),e.endDate!==1/0&&(e.endDate?e.endDate instanceof Date?e.endDate=this._local_to_utc(this._zero_time(e.endDate)):e.endDate=r.parseDate(e.endDate,g,e.language,e.assumeNearbyYear):e.endDate=1/0),e.daysOfWeekDisabled=this._resolveDaysOfWeek(e.daysOfWeekDisabled||[]),e.daysOfWeekHighlighted=this._resolveDaysOfWeek(e.daysOfWeekHighlighted||[]),e.datesDisabled=e.datesDisabled||[],a.isArray(e.datesDisabled)||(e.datesDisabled=e.datesDisabled.split(",")),e.datesDisabled=a.map(e.datesDisabled,function(a){return r.parseDate(a,g,e.language,e.assumeNearbyYear)});var h=String(e.orientation).toLowerCase().split(/\s+/g),i=e.orientation.toLowerCase();if(h=a.grep(h,function(a){return/^auto|left|right|top|bottom$/.test(a)}),e.orientation={x:"auto",y:"auto"},i&&"auto"!==i)if(1===h.length)switch(h[0]){case"top":case"bottom":e.orientation.y=h[0];break;case"left":case"right":e.orientation.x=h[0]}else i=a.grep(h,function(a){return/^left|right$/.test(a)}),e.orientation.x=i[0]||"auto",i=a.grep(h,function(a){return/^top|bottom$/.test(a)}),e.orientation.y=i[0]||"auto";else;if(e.defaultViewDate instanceof Date||"string"==typeof e.defaultViewDate)e.defaultViewDate=r.parseDate(e.defaultViewDate,g,e.language,e.assumeNearbyYear);else if(e.defaultViewDate){var j=e.defaultViewDate.year||(new Date).getFullYear(),k=e.defaultViewDate.month||0,l=e.defaultViewDate.day||1;e.defaultViewDate=c(j,k,l)}else e.defaultViewDate=d()},_applyEvents:function(a){for(var c,d,e,f=0;fe?(this.picker.addClass("datepicker-orient-right"),m+=l-b):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left");var o,p=this.o.orientation.y;if("auto"===p&&(o=-f+n-c,p=o<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+p),"top"===p?n-=c+parseInt(this.picker.css("padding-top")):n+=k,this.o.rtl){var q=e-(m+l);this.picker.css({top:n,right:q,zIndex:i})}else this.picker.css({top:n,left:m,zIndex:i});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var b=this.dates.copy(),c=[],d=!1;return arguments.length?(a.each(arguments,a.proxy(function(a,b){b instanceof Date&&(b=this._local_to_utc(b)),c.push(b)},this)),d=!0):(c=this.isInput?this.element.val():this.element.data("date")||this.inputField.val(),c=c&&this.o.multidate?c.split(this.o.multidateSeparator):[c],delete this.element.data().date),c=a.map(c,a.proxy(function(a){return r.parseDate(a,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),c=a.grep(c,a.proxy(function(a){return!this.dateWithinRange(a)||!a},this),!0),this.dates.replace(c),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDatethis.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),d?(this.setValue(),this.element.change()):this.dates.length&&String(b)!==String(this.dates)&&d&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&b.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var b=this.o.weekStart,c="";for(this.o.calendarWeeks&&(c+=' ');b";c+="",this.picker.find(".datepicker-days thead").append(c)}},fillMonths:function(){for(var a,b=this._utc_to_local(this.viewDate),c="",d=0;d<12;d++)a=b&&b.getMonth()===d?" focused":"",c+=''+q[this.o.language].monthsShort[d]+"";this.picker.find(".datepicker-months td").html(c)},setRange:function(b){b&&b.length?this.range=a.map(b,function(a){return a.valueOf()}):delete this.range,this.fill()},getClassNames:function(b){var c=[],f=this.viewDate.getUTCFullYear(),g=this.viewDate.getUTCMonth(),h=d();return b.getUTCFullYear()f||b.getUTCFullYear()===f&&b.getUTCMonth()>g)&&c.push("new"),this.focusDate&&b.valueOf()===this.focusDate.valueOf()&&c.push("focused"),this.o.todayHighlight&&e(b,h)&&c.push("today"),-1!==this.dates.contains(b)&&c.push("active"),this.dateWithinRange(b)||c.push("disabled"),this.dateIsDisabled(b)&&c.push("disabled","disabled-date"),-1!==a.inArray(b.getUTCDay(),this.o.daysOfWeekHighlighted)&&c.push("highlighted"),this.range&&(b>this.range[0]&&bh)&&j.push("disabled"),t===r&&j.push("focused"),i!==a.noop&&(l=i(new Date(t,0,1)),l===b?l={}:"boolean"==typeof l?l={enabled:l}:"string"==typeof l&&(l={classes:l}),!1===l.enabled&&j.push("disabled"),l.classes&&(j=j.concat(l.classes.split(/\s+/))),l.tooltip&&(k=l.tooltip)),m+='"+t+"";o.find(".datepicker-switch").text(p+"-"+q),o.find("td").html(m)},fill:function(){var e,f,g=new Date(this.viewDate),h=g.getUTCFullYear(),i=g.getUTCMonth(),j=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,k=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,m=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,n=q[this.o.language].today||q.en.today||"",o=q[this.o.language].clear||q.en.clear||"",p=q[this.o.language].titleFormat||q.en.titleFormat,s=d(),t=(!0===this.o.todayBtn||"linked"===this.o.todayBtn)&&s>=this.o.startDate&&s<=this.o.endDate&&!this.weekOfDateIsDisabled(s);if(!isNaN(h)&&!isNaN(i)){this.picker.find(".datepicker-days .datepicker-switch").text(r.formatDate(g,p,this.o.language)),this.picker.find("tfoot .today").text(n).css("display",t?"table-cell":"none"),this.picker.find("tfoot .clear").text(o).css("display",!0===this.o.clearBtn?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var u=c(h,i,0),v=u.getUTCDate();u.setUTCDate(v-(u.getUTCDay()-this.o.weekStart+7)%7);var w=new Date(u);u.getUTCFullYear()<100&&w.setUTCFullYear(u.getUTCFullYear()),w.setUTCDate(w.getUTCDate()+42),w=w.valueOf();for(var x,y,z=[];u.valueOf()"),this.o.calendarWeeks)){var A=new Date(+u+(this.o.weekStart-x-7)%7*864e5),B=new Date(Number(A)+(11-A.getUTCDay())%7*864e5),C=new Date(Number(C=c(B.getUTCFullYear(),0,1))+(11-C.getUTCDay())%7*864e5),D=(B-C)/864e5/7+1;z.push(''+D+"")}y=this.getClassNames(u),y.push("day");var E=u.getUTCDate();this.o.beforeShowDay!==a.noop&&(f=this.o.beforeShowDay(this._utc_to_local(u)),f===b?f={}:"boolean"==typeof f?f={enabled:f}:"string"==typeof f&&(f={classes:f}),!1===f.enabled&&y.push("disabled"),f.classes&&(y=y.concat(f.classes.split(/\s+/))),f.tooltip&&(e=f.tooltip),f.content&&(E=f.content)),y=a.isFunction(a.uniqueSort)?a.uniqueSort(y):a.unique(y),z.push(''+E+""),e=null,x===this.o.weekEnd&&z.push(""),u.setUTCDate(u.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(z.join(""));var F=q[this.o.language].monthsTitle||q.en.monthsTitle||"Months",G=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?F:h).end().find("tbody span").removeClass("active");if(a.each(this.dates,function(a,b){b.getUTCFullYear()===h&&G.eq(b.getUTCMonth()).addClass("active")}),(hl)&&G.addClass("disabled"),h===j&&G.slice(0,k).addClass("disabled"),h===l&&G.slice(m+1).addClass("disabled"),this.o.beforeShowMonth!==a.noop){var H=this;a.each(G,function(c,d){var e=new Date(h,c,1),f=H.o.beforeShowMonth(e);f===b?f={}:"boolean"==typeof f?f={enabled:f}:"string"==typeof f&&(f={classes:f}),!1!==f.enabled||a(d).hasClass("disabled")||a(d).addClass("disabled"),f.classes&&a(d).addClass(f.classes),f.tooltip&&a(d).prop("title",f.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,h,j,l,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,h,j,l,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,h,j,l,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var a,b,c=new Date(this.viewDate),d=c.getUTCFullYear(),e=c.getUTCMonth(),f=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,g=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,h=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,i=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,j=1;switch(this.viewMode){case 4:j*=10;case 3:j*=10;case 2:j*=10;case 1:a=Math.floor(d/j)*j<=f,b=Math.floor(d/j)*j+j>h;break;case 0:a=d<=f&&e<=g,b=d>=h&&e>=i}this.picker.find(".prev").toggleClass("disabled",a),this.picker.find(".next").toggleClass("disabled",b)}},click:function(b){b.preventDefault(),b.stopPropagation();var e,f,g,h;e=a(b.target),e.hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),e.hasClass("today")&&!e.hasClass("day")&&(this.setViewMode(0),this._setDate(d(),"linked"===this.o.todayBtn?null:"view")),e.hasClass("clear")&&this.clearDates(),e.hasClass("disabled")||(e.hasClass("month")||e.hasClass("year")||e.hasClass("decade")||e.hasClass("century"))&&(this.viewDate.setUTCDate(1),f=1,1===this.viewMode?(h=e.parent().find("span").index(e),g=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(h)):(h=0,g=Number(e.text()),this.viewDate.setUTCFullYear(g)),this._trigger(r.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(c(g,h,f)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(b){var c=a(b.currentTarget),d=c.data("date"),e=new Date(d);this.o.updateViewDate&&(e.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),e.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate)),this._setDate(e)},navArrowsClick:function(b){var c=a(b.currentTarget),d=c.hasClass("prev")?-1:1;0!==this.viewMode&&(d*=12*r.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,d),this._trigger(r.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(a){var b=this.dates.contains(a);if(a||this.dates.clear(),-1!==b?(!0===this.o.multidate||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(b):!1===this.o.multidate?(this.dates.clear(),this.dates.push(a)):this.dates.push(a),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(a,b){b&&"date"!==b||this._toggle_multidate(a&&new Date(a)),(!b&&this.o.updateViewDate||"view"===b)&&(this.viewDate=a&&new Date(a)),this.fill(),this.setValue(),b&&"view"===b||this._trigger("changeDate"),this.inputField.trigger("change"),!this.o.autoclose||b&&"date"!==b||this.hide()},moveDay:function(a,b){var c=new Date(a);return c.setUTCDate(a.getUTCDate()+b),c},moveWeek:function(a,b){return this.moveDay(a,7*b)},moveMonth:function(a,b){if(!g(a))return this.o.defaultViewDate;if(!b)return a;var c,d,e=new Date(a.valueOf()),f=e.getUTCDate(),h=e.getUTCMonth(),i=Math.abs(b);if(b=b>0?1:-1,1===i)d=-1===b?function(){return e.getUTCMonth()===h}:function(){return e.getUTCMonth()!==c},c=h+b,e.setUTCMonth(c),c=(c+12)%12;else{for(var j=0;j0},dateWithinRange:function(a){return a>=this.o.startDate&&a<=this.o.endDate},keydown:function(a){if(!this.picker.is(":visible"))return void(40!==a.keyCode&&27!==a.keyCode||(this.show(),a.stopPropagation()));var b,c,d=!1,e=this.focusDate||this.viewDate;switch(a.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),a.preventDefault(),a.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;b=37===a.keyCode||38===a.keyCode?-1:1,0===this.viewMode?a.ctrlKey?(c=this.moveAvailableDate(e,b,"moveYear"))&&this._trigger("changeYear",this.viewDate):a.shiftKey?(c=this.moveAvailableDate(e,b,"moveMonth"))&&this._trigger("changeMonth",this.viewDate):37===a.keyCode||39===a.keyCode?c=this.moveAvailableDate(e,b,"moveDay"):this.weekOfDateIsDisabled(e)||(c=this.moveAvailableDate(e,b,"moveWeek")):1===this.viewMode?(38!==a.keyCode&&40!==a.keyCode||(b*=4),c=this.moveAvailableDate(e,b,"moveMonth")):2===this.viewMode&&(38!==a.keyCode&&40!==a.keyCode||(b*=4),c=this.moveAvailableDate(e,b,"moveYear")),c&&(this.focusDate=this.viewDate=c,this.setValue(),this.fill(),a.preventDefault());break;case 13:if(!this.o.forceParse)break;e=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(e),d=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(a.preventDefault(),a.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}d&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))},setViewMode:function(a){this.viewMode=a,this.picker.children("div").hide().filter(".datepicker-"+r.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}};var l=function(b,c){a.data(b,"datepicker",this),this.element=a(b),this.inputs=a.map(c.inputs,function(a){return a.jquery?a[0]:a}),delete c.inputs,this.keepEmptyValues=c.keepEmptyValues,delete c.keepEmptyValues,n.call(a(this.inputs),c).on("changeDate",a.proxy(this.dateUpdated,this)),this.pickers=a.map(this.inputs,function(b){return a.data(b,"datepicker")}),this.updateDates()};l.prototype={updateDates:function(){this.dates=a.map(this.pickers,function(a){return a.getUTCDate()}),this.updateRanges()},updateRanges:function(){var b=a.map(this.dates,function(a){return a.valueOf()});a.each(this.pickers,function(a,c){c.setRange(b)})},clearDates:function(){a.each(this.pickers,function(a,b){b.clearDates()})},dateUpdated:function(c){if(!this.updating){this.updating=!0;var d=a.data(c.target,"datepicker");if(d!==b){var e=d.getUTCDate(),f=this.keepEmptyValues,g=a.inArray(c.target,this.inputs),h=g-1,i=g+1,j=this.inputs.length;if(-1!==g){if(a.each(this.pickers,function(a,b){b.getUTCDate()||b!==d&&f||b.setUTCDate(e)}),e=0&&ethis.dates[i])for(;ithis.dates[i];)this.pickers[i++].setUTCDate(e);this.updateDates(),delete this.updating}}}},destroy:function(){a.map(this.pickers,function(a){a.destroy()}),a(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:f("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};var m=a.fn.datepicker,n=function(c){var d=Array.apply(null,arguments);d.shift();var e;if(this.each(function(){var b=a(this),f=b.data("datepicker"),g="object"==typeof c&&c;if(!f){var j=h(this,"date"),m=a.extend({},o,j,g),n=i(m.language),p=a.extend({},o,n,j,g);b.hasClass("input-daterange")||p.inputs?(a.extend(p,{inputs:p.inputs||b.find("input").toArray()}),f=new l(this,p)):f=new k(this,p),b.data("datepicker",f)}"string"==typeof c&&"function"==typeof f[c]&&(e=f[c].apply(f,d))}),e===b||e instanceof k||e instanceof l)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+c+" function)");return e};a.fn.datepicker=n;var o=a.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:a.noop,beforeShowMonth:a.noop,beforeShowYear:a.noop,beforeShowDecade:a.noop,beforeShowCentury:a.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"«",rightArrow:"»"},showWeekDays:!0},p=a.fn.datepicker.locale_opts=["format","rtl","weekStart"];a.fn.datepicker.Constructor=k;var q=a.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},r={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(a){if("function"==typeof a.toValue&&"function"==typeof a.toDisplay)return a;var b=a.replace(this.validParts,"\0").split("\0"),c=a.match(this.validParts);if(!b||!b.length||!c||0===c.length)throw new Error("Invalid date format.");return{separators:b,parts:c}},parseDate:function(c,e,f,g){function h(a,b){return!0===b&&(b=10),a<100&&(a+=2e3)>(new Date).getFullYear()+b&&(a-=100),a}function i(){var a=this.slice(0,j[n].length),b=j[n].slice(0,a.length);return a.toLowerCase()===b.toLowerCase()}if(!c)return b;if(c instanceof Date)return c;if("string"==typeof e&&(e=r.parseFormat(e)),e.toValue)return e.toValue(c,e,f);var j,l,m,n,o,p={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},s={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(c in s&&(c=s[c]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(c)){for(j=c.match(/([\-+]\d+)([dmwy])/gi),c=new Date,n=0;n'+o.templates.leftArrow+''+o.templates.rightArrow+"",contTemplate:'',footTemplate:''};r.template='
'+r.headTemplate+""+r.footTemplate+'
'+r.headTemplate+r.contTemplate+r.footTemplate+'
'+r.headTemplate+r.contTemplate+r.footTemplate+'
'+r.headTemplate+r.contTemplate+r.footTemplate+'
'+r.headTemplate+r.contTemplate+r.footTemplate+"
",a.fn.datepicker.DPGlobal=r,a.fn.datepicker.noConflict=function(){return a.fn.datepicker=m,this},a.fn.datepicker.version="1.9.0",a.fn.datepicker.deprecated=function(a){var b=window.console;b&&b.warn&&b.warn("DEPRECATED: "+a)},a(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(b){var c=a(this);c.data("datepicker")||(b.preventDefault(),n.call(c,"show"))}),a(function(){n.call(a('[data-provide="datepicker-inline"]'))})}); \ No newline at end of file +!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a,b){function c(){return new Date(Date.UTC.apply(Date,arguments))}function d(){var a=new Date;return c(a.getFullYear(),a.getMonth(),a.getDate())}function e(a,b){return a.getUTCFullYear()===b.getUTCFullYear()&&a.getUTCMonth()===b.getUTCMonth()&&a.getUTCDate()===b.getUTCDate()}function f(c,d){return function(){return d!==b&&a.fn.datepicker.deprecated(d),this[c].apply(this,arguments)}}function g(a){return a&&!isNaN(a.getTime())}function h(b,c){function d(a,b){return b.toLowerCase()}var e,f=a(b).data(),g={},h=new RegExp("^"+c.toLowerCase()+"([A-Z])");c=new RegExp("^"+c.toLowerCase());for(var i in f)c.test(i)&&(e=i.replace(h,d),g[e]=f[i]);return g}function i(b){var c={};if(q[b]||(b=b.split("-")[0],q[b])){var d=q[b];return a.each(p,function(a,b){b in d&&(c[b]=d[b])}),c}}var j=function(){var b={get:function(a){return this.slice(a)[0]},contains:function(a){for(var b=a&&a.valueOf(),c=0,d=this.length;c]/g)||[]).length<=0)return!0;return a(c).length>0}catch(a){return!1}},_process_options:function(b){this._o=a.extend({},this._o,b);var e=this.o=a.extend({},this._o),f=e.language;q[f]||(f=f.split("-")[0],q[f]||(f=o.language)),e.language=f,e.startView=this._resolveViewName(e.startView),e.minViewMode=this._resolveViewName(e.minViewMode),e.maxViewMode=this._resolveViewName(e.maxViewMode),e.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,e.startView)),!0!==e.multidate&&(e.multidate=Number(e.multidate)||!1,!1!==e.multidate&&(e.multidate=Math.max(0,e.multidate))),e.multidateSeparator=String(e.multidateSeparator),e.weekStart%=7,e.weekEnd=(e.weekStart+6)%7;var g=r.parseFormat(e.format);e.startDate!==-1/0&&(e.startDate?e.startDate instanceof Date?e.startDate=this._local_to_utc(this._zero_time(e.startDate)):e.startDate=r.parseDate(e.startDate,g,e.language,e.assumeNearbyYear):e.startDate=-1/0),e.endDate!==1/0&&(e.endDate?e.endDate instanceof Date?e.endDate=this._local_to_utc(this._zero_time(e.endDate)):e.endDate=r.parseDate(e.endDate,g,e.language,e.assumeNearbyYear):e.endDate=1/0),e.daysOfWeekDisabled=this._resolveDaysOfWeek(e.daysOfWeekDisabled||[]),e.daysOfWeekHighlighted=this._resolveDaysOfWeek(e.daysOfWeekHighlighted||[]),e.datesDisabled=e.datesDisabled||[],Array.isArray(e.datesDisabled)||(e.datesDisabled=e.datesDisabled.split(",")),e.datesDisabled=a.map(e.datesDisabled,function(a){return r.parseDate(a,g,e.language,e.assumeNearbyYear)});var h=String(e.orientation).toLowerCase().split(/\s+/g),i=e.orientation.toLowerCase();if(h=a.grep(h,function(a){return/^auto|left|right|top|bottom$/.test(a)}),e.orientation={x:"auto",y:"auto"},i&&"auto"!==i)if(1===h.length)switch(h[0]){case"top":case"bottom":e.orientation.y=h[0];break;case"left":case"right":e.orientation.x=h[0]}else i=a.grep(h,function(a){return/^left|right$/.test(a)}),e.orientation.x=i[0]||"auto",i=a.grep(h,function(a){return/^top|bottom$/.test(a)}),e.orientation.y=i[0]||"auto";else;if(e.defaultViewDate instanceof Date||"string"==typeof e.defaultViewDate)e.defaultViewDate=r.parseDate(e.defaultViewDate,g,e.language,e.assumeNearbyYear);else if(e.defaultViewDate){var j=e.defaultViewDate.year||(new Date).getFullYear(),k=e.defaultViewDate.month||0,l=e.defaultViewDate.day||1;e.defaultViewDate=c(j,k,l)}else e.defaultViewDate=d()},_applyEvents:function(a){for(var c,d,e,f=0;fe?(this.picker.addClass("datepicker-orient-right"),m+=l-b):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left");var o,p=this.o.orientation.y;if("auto"===p&&(o=-f+n-c,p=o<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+p),"top"===p?n-=c+parseInt(this.picker.css("padding-top")):n+=k,this.o.rtl){var q=e-(m+l);this.picker.css({top:n,right:q,zIndex:i})}else this.picker.css({top:n,left:m,zIndex:i});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var b=this.dates.copy(),c=[],d=!1;return arguments.length?(a.each(arguments,a.proxy(function(a,b){b instanceof Date&&(b=this._local_to_utc(b)),c.push(b)},this)),d=!0):(c=this.isInput?this.element.val():this.element.data("date")||this.inputField.val(),c=c&&this.o.multidate?c.split(this.o.multidateSeparator):[c],delete this.element.data().date),c=a.map(c,a.proxy(function(a){return r.parseDate(a,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),c=a.grep(c,a.proxy(function(a){return!this.dateWithinRange(a)||!a},this),!0),this.dates.replace(c),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDatethis.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),d?(this.setValue(),this.element.change()):this.dates.length&&String(b)!==String(this.dates)&&d&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&b.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var b=this.o.weekStart,c="";for(this.o.calendarWeeks&&(c+=' ');b";c+="",this.picker.find(".datepicker-days thead").append(c)}},fillMonths:function(){for(var a,b=this._utc_to_local(this.viewDate),c="",d=0;d<12;d++)a=b&&b.getMonth()===d?" focused":"",c+=''+q[this.o.language].monthsShort[d]+"";this.picker.find(".datepicker-months td").html(c)},setRange:function(b){b&&b.length?this.range=a.map(b,function(a){return a.valueOf()}):delete this.range,this.fill()},getClassNames:function(b){var c=[],f=this.viewDate.getUTCFullYear(),g=this.viewDate.getUTCMonth(),h=d();return b.getUTCFullYear()f||b.getUTCFullYear()===f&&b.getUTCMonth()>g)&&c.push("new"),this.focusDate&&b.valueOf()===this.focusDate.valueOf()&&c.push("focused"),this.o.todayHighlight&&e(b,h)&&c.push("today"),-1!==this.dates.contains(b)&&c.push("active"),this.dateWithinRange(b)||c.push("disabled"),this.dateIsDisabled(b)&&c.push("disabled","disabled-date"),-1!==a.inArray(b.getUTCDay(),this.o.daysOfWeekHighlighted)&&c.push("highlighted"),this.range&&(b>this.range[0]&&bh)&&j.push("disabled"),t===r&&j.push("focused"),i!==a.noop&&(l=i(new Date(t,0,1)),l===b?l={}:"boolean"==typeof l?l={enabled:l}:"string"==typeof l&&(l={classes:l}),!1===l.enabled&&j.push("disabled"),l.classes&&(j=j.concat(l.classes.split(/\s+/))),l.tooltip&&(k=l.tooltip)),m+='"+t+"";o.find(".datepicker-switch").text(p+"-"+q),o.find("td").html(m)},fill:function(){var e,f,g=new Date(this.viewDate),h=g.getUTCFullYear(),i=g.getUTCMonth(),j=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,k=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,m=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,n=q[this.o.language].today||q.en.today||"",o=q[this.o.language].clear||q.en.clear||"",p=q[this.o.language].titleFormat||q.en.titleFormat,s=d(),t=(!0===this.o.todayBtn||"linked"===this.o.todayBtn)&&s>=this.o.startDate&&s<=this.o.endDate&&!this.weekOfDateIsDisabled(s);if(!isNaN(h)&&!isNaN(i)){this.picker.find(".datepicker-days .datepicker-switch").text(r.formatDate(g,p,this.o.language)),this.picker.find("tfoot .today").text(n).css("display",t?"table-cell":"none"),this.picker.find("tfoot .clear").text(o).css("display",!0===this.o.clearBtn?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var u=c(h,i,0),v=u.getUTCDate();u.setUTCDate(v-(u.getUTCDay()-this.o.weekStart+7)%7);var w=new Date(u);u.getUTCFullYear()<100&&w.setUTCFullYear(u.getUTCFullYear()),w.setUTCDate(w.getUTCDate()+42),w=w.valueOf();for(var x,y,z=[];u.valueOf()"),this.o.calendarWeeks)){var A=new Date(+u+(this.o.weekStart-x-7)%7*864e5),B=new Date(Number(A)+(11-A.getUTCDay())%7*864e5),C=new Date(Number(C=c(B.getUTCFullYear(),0,1))+(11-C.getUTCDay())%7*864e5),D=(B-C)/864e5/7+1;z.push(''+D+"")}y=this.getClassNames(u),y.push("day");var E=u.getUTCDate();this.o.beforeShowDay!==a.noop&&(f=this.o.beforeShowDay(this._utc_to_local(u)),f===b?f={}:"boolean"==typeof f?f={enabled:f}:"string"==typeof f&&(f={classes:f}),!1===f.enabled&&y.push("disabled"),f.classes&&(y=y.concat(f.classes.split(/\s+/))),f.tooltip&&(e=f.tooltip),f.content&&(E=f.content)),y="function"==typeof a.uniqueSort?a.uniqueSort(y):a.unique(y),z.push(''+E+""),e=null,x===this.o.weekEnd&&z.push(""),u.setUTCDate(u.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(z.join(""));var F=q[this.o.language].monthsTitle||q.en.monthsTitle||"Months",G=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?F:h).end().find("tbody span").removeClass("active");if(a.each(this.dates,function(a,b){b.getUTCFullYear()===h&&G.eq(b.getUTCMonth()).addClass("active")}),(hl)&&G.addClass("disabled"),h===j&&G.slice(0,k).addClass("disabled"),h===l&&G.slice(m+1).addClass("disabled"),this.o.beforeShowMonth!==a.noop){var H=this;a.each(G,function(c,d){var e=new Date(h,c,1),f=H.o.beforeShowMonth(e);f===b?f={}:"boolean"==typeof f?f={enabled:f}:"string"==typeof f&&(f={classes:f}),!1!==f.enabled||a(d).hasClass("disabled")||a(d).addClass("disabled"),f.classes&&a(d).addClass(f.classes),f.tooltip&&a(d).prop("title",f.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,h,j,l,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,h,j,l,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,h,j,l,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var a,b,c=new Date(this.viewDate),d=c.getUTCFullYear(),e=c.getUTCMonth(),f=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,g=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,h=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,i=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,j=1;switch(this.viewMode){case 4:j*=10;case 3:j*=10;case 2:j*=10;case 1:a=Math.floor(d/j)*j<=f,b=Math.floor(d/j)*j+j>h;break;case 0:a=d<=f&&e<=g,b=d>=h&&e>=i}this.picker.find(".prev").toggleClass("disabled",a),this.picker.find(".next").toggleClass("disabled",b)}},click:function(b){b.preventDefault(),b.stopPropagation();var e,f,g,h;e=a(b.target),e.hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),e.hasClass("today")&&!e.hasClass("day")&&(this.setViewMode(0),this._setDate(d(),"linked"===this.o.todayBtn?null:"view")),e.hasClass("clear")&&this.clearDates(),e.hasClass("disabled")||(e.hasClass("month")||e.hasClass("year")||e.hasClass("decade")||e.hasClass("century"))&&(this.viewDate.setUTCDate(1),f=1,1===this.viewMode?(h=e.parent().find("span").index(e),g=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(h)):(h=0,g=Number(e.text()),this.viewDate.setUTCFullYear(g)),this._trigger(r.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(c(g,h,f)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(b){var c=a(b.currentTarget),d=c.data("date"),e=new Date(d);this.o.updateViewDate&&(e.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),e.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate)),this._setDate(e)},navArrowsClick:function(b){var c=a(b.currentTarget),d=c.hasClass("prev")?-1:1;0!==this.viewMode&&(d*=12*r.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,d),this._trigger(r.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(a){var b=this.dates.contains(a);if(a||this.dates.clear(),-1!==b?(!0===this.o.multidate||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(b):!1===this.o.multidate?(this.dates.clear(),this.dates.push(a)):this.dates.push(a),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(a,b){b&&"date"!==b||this._toggle_multidate(a&&new Date(a)),(!b&&this.o.updateViewDate||"view"===b)&&(this.viewDate=a&&new Date(a)),this.fill(),this.setValue(),b&&"view"===b||this._trigger("changeDate"),this.inputField.trigger("change"),!this.o.autoclose||b&&"date"!==b||this.hide()},moveDay:function(a,b){var c=new Date(a);return c.setUTCDate(a.getUTCDate()+b),c},moveWeek:function(a,b){return this.moveDay(a,7*b)},moveMonth:function(a,b){if(!g(a))return this.o.defaultViewDate;if(!b)return a;var c,d,e=new Date(a.valueOf()),f=e.getUTCDate(),h=e.getUTCMonth(),i=Math.abs(b);if(b=b>0?1:-1,1===i)d=-1===b?function(){return e.getUTCMonth()===h}:function(){return e.getUTCMonth()!==c},c=h+b,e.setUTCMonth(c),c=(c+12)%12;else{for(var j=0;j0},dateWithinRange:function(a){return a>=this.o.startDate&&a<=this.o.endDate},keydown:function(a){if(!this.picker.is(":visible"))return void(40!==a.keyCode&&27!==a.keyCode||(this.show(),a.stopPropagation()));var b,c,d=!1,e=this.focusDate||this.viewDate;switch(a.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),a.preventDefault(),a.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;b=37===a.keyCode||38===a.keyCode?-1:1,0===this.viewMode?a.ctrlKey?(c=this.moveAvailableDate(e,b,"moveYear"))&&this._trigger("changeYear",this.viewDate):a.shiftKey?(c=this.moveAvailableDate(e,b,"moveMonth"))&&this._trigger("changeMonth",this.viewDate):37===a.keyCode||39===a.keyCode?c=this.moveAvailableDate(e,b,"moveDay"):this.weekOfDateIsDisabled(e)||(c=this.moveAvailableDate(e,b,"moveWeek")):1===this.viewMode?(38!==a.keyCode&&40!==a.keyCode||(b*=4),c=this.moveAvailableDate(e,b,"moveMonth")):2===this.viewMode&&(38!==a.keyCode&&40!==a.keyCode||(b*=4),c=this.moveAvailableDate(e,b,"moveYear")),c&&(this.focusDate=this.viewDate=c,this.setValue(),this.fill(),a.preventDefault());break;case 13:if(!this.o.forceParse)break;e=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(e),d=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(a.preventDefault(),a.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}d&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))},setViewMode:function(a){this.viewMode=a,this.picker.children("div").hide().filter(".datepicker-"+r.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}};var l=function(b,c){a.data(b,"datepicker",this),this.element=a(b),this.inputs=a.map(c.inputs,function(a){return a.jquery?a[0]:a}),delete c.inputs,this.keepEmptyValues=c.keepEmptyValues,delete c.keepEmptyValues,n.call(a(this.inputs),c).on("changeDate",a.proxy(this.dateUpdated,this)),this.pickers=a.map(this.inputs,function(b){return a.data(b,"datepicker")}),this.updateDates()};l.prototype={updateDates:function(){this.dates=a.map(this.pickers,function(a){return a.getUTCDate()}),this.updateRanges()},updateRanges:function(){var b=a.map(this.dates,function(a){return a.valueOf()});a.each(this.pickers,function(a,c){c.setRange(b)})},clearDates:function(){a.each(this.pickers,function(a,b){b.clearDates()})},dateUpdated:function(c){if(!this.updating){this.updating=!0;var d=a.data(c.target,"datepicker");if(d!==b){var e=d.getUTCDate(),f=this.keepEmptyValues,g=a.inArray(c.target,this.inputs),h=g-1,i=g+1,j=this.inputs.length;if(-1!==g){if(a.each(this.pickers,function(a,b){b.getUTCDate()||b!==d&&f||b.setUTCDate(e)}),e=0&&e0;)this.pickers[h--].setUTCDate(e);else if(e>this.dates[i])for(;ithis.dates[i]&&(this.pickers[i].element.val()||"").length>0;)this.pickers[i++].setUTCDate(e);this.updateDates(),delete this.updating}}}},destroy:function(){a.map(this.pickers,function(a){a.destroy()}),a(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:f("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};var m=a.fn.datepicker,n=function(c){var d=Array.apply(null,arguments);d.shift();var e;if(this.each(function(){var b=a(this),f=b.data("datepicker"),g="object"==typeof c&&c;if(!f){var j=h(this,"date"),m=a.extend({},o,j,g),n=i(m.language),p=a.extend({},o,n,j,g);b.hasClass("input-daterange")||p.inputs?(a.extend(p,{inputs:p.inputs||b.find("input").toArray()}),f=new l(this,p)):f=new k(this,p),b.data("datepicker",f)}"string"==typeof c&&"function"==typeof f[c]&&(e=f[c].apply(f,d))}),e===b||e instanceof k||e instanceof l)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+c+" function)");return e};a.fn.datepicker=n;var o=a.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:a.noop,beforeShowMonth:a.noop,beforeShowYear:a.noop,beforeShowDecade:a.noop,beforeShowCentury:a.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",isInline:null,keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"«",rightArrow:"»"},showWeekDays:!0},p=a.fn.datepicker.locale_opts=["format","rtl","weekStart"];a.fn.datepicker.Constructor=k;var q=a.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},r={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(a){if("function"==typeof a.toValue&&"function"==typeof a.toDisplay)return a;var b=a.replace(this.validParts,"\0").split("\0"),c=a.match(this.validParts);if(!b||!b.length||!c||0===c.length)throw new Error("Invalid date format.");return{separators:b,parts:c}},parseDate:function(c,e,f,g){function h(a,b){return!0===b&&(b=10),a<100&&(a+=2e3)>(new Date).getFullYear()+b&&(a-=100),a}function i(){var a=this.slice(0,j[n].length),b=j[n].slice(0,a.length);return a.toLowerCase()===b.toLowerCase()}if(!c)return b;if(c instanceof Date)return c;if("string"==typeof e&&(e=r.parseFormat(e)),e.toValue)return e.toValue(c,e,f);var j,l,m,n,o,p={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},s={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(c in s&&(c=s[c]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(c)){for(j=c.match(/([\-+]\d+)([dmwy])/gi),c=new Date,n=0;n'+o.templates.leftArrow+''+o.templates.rightArrow+"",contTemplate:'',footTemplate:''};r.template='
'+r.headTemplate+""+r.footTemplate+'
'+r.headTemplate+r.contTemplate+r.footTemplate+'
'+r.headTemplate+r.contTemplate+r.footTemplate+'
'+r.headTemplate+r.contTemplate+r.footTemplate+'
'+r.headTemplate+r.contTemplate+r.footTemplate+"
",a.fn.datepicker.DPGlobal=r,a.fn.datepicker.noConflict=function(){return a.fn.datepicker=m,this},a.fn.datepicker.version="1.10.0",a.fn.datepicker.deprecated=function(a){var b=window.console;b&&b.warn&&b.warn("DEPRECATED: "+a)},a(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(b){var c=a(this);c.data("datepicker")||(b.preventDefault(),n.call(c,"show"))}),a(function(){n.call(a('[data-provide="datepicker-inline"]'))})}); \ No newline at end of file diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ar-DZ.min.js b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ar-DZ.min.js new file mode 100644 index 00000000..58096cf1 --- /dev/null +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ar-DZ.min.js @@ -0,0 +1 @@ +!function(a){a.fn.datepicker.dates["ar-DZ"]={days:["الأحد","الاثنين","الثلاثاء","الأربعاء","الخميس","الجمعة","السبت","الأحد"],daysShort:["أحد","اثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت","أحد"],daysMin:["ح","ن","ث","ع","خ","ج","س","ح"],months:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويليه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],monthsShort:["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويليه","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"],today:"هذا اليوم",rtl:!0,monthsTitle:"أشهر",clear:"إزالة",format:"yyyy/mm/dd",weekStart:0}}(jQuery); \ No newline at end of file diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ca.min.js b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ca.min.js index ac107894..d2135186 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ca.min.js +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.ca.min.js @@ -1 +1 @@ -!function(a){a.fn.datepicker.dates.ca={days:["Diumenge","Dilluns","Dimarts","Dimecres","Dijous","Divendres","Dissabte"],daysShort:["Diu","Dil","Dmt","Dmc","Dij","Div","Dis"],daysMin:["dg","dl","dt","dc","dj","dv","ds"],months:["Gener","Febrer","Març","Abril","Maig","Juny","Juliol","Agost","Setembre","Octubre","Novembre","Desembre"],monthsShort:["Gen","Feb","Mar","Abr","Mai","Jun","Jul","Ago","Set","Oct","Nov","Des"],today:"Avui",monthsTitle:"Mesos",clear:"Esborrar",weekStart:1,format:"dd/mm/yyyy"}}(jQuery); \ No newline at end of file +!function(a){a.fn.datepicker.dates.ca={days:["diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte"],daysShort:["dg.","dl.","dt.","dc.","dj.","dv.","ds."],daysMin:["dg","dl","dt","dc","dj","dv","ds"],months:["gener","febrer","març","abril","maig","juny","juliol","agost","setembre","octubre","novembre","desembre"],monthsShort:["gen.","febr.","març","abr.","maig","juny","jul.","ag.","set.","oct.","nov.","des."],today:"Avui",monthsTitle:"Mesos",clear:"Esborra",weekStart:1,format:"dd/mm/yyyy"}}(jQuery); \ No newline at end of file diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.de.min.js b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.de.min.js index 1b5d6a24..c76f75d3 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.de.min.js +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.de.min.js @@ -1 +1 @@ -!function(a){a.fn.datepicker.dates.de={days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],daysShort:["Son","Mon","Die","Mit","Don","Fre","Sam"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],today:"Heute",monthsTitle:"Monate",clear:"Löschen",weekStart:1,format:"dd.mm.yyyy"}}(jQuery); \ No newline at end of file +!function(a){a.fn.datepicker.dates.de={days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],daysShort:["So","Mo","Di","Mi","Do","Fr","Sa"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],today:"Heute",monthsTitle:"Monate",clear:"Löschen",weekStart:1,format:"dd.mm.yyyy"}}(jQuery); \ No newline at end of file diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-US.min.js b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-US.min.js new file mode 100644 index 00000000..126f2ded --- /dev/null +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.en-US.min.js @@ -0,0 +1 @@ +!function(a){a.fn.datepicker.dates["en-US"]={days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",monthsTitle:"Months",clear:"Clear",weekStart:0,format:"m/d/yyyy"}}(jQuery); \ No newline at end of file diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fi.min.js b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fi.min.js index 239dfb79..33af3d3e 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fi.min.js +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.fi.min.js @@ -1 +1 @@ -!function(a){a.fn.datepicker.dates.fi={days:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],daysShort:["sun","maa","tii","kes","tor","per","lau"],daysMin:["su","ma","ti","ke","to","pe","la"],months:["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],monthsShort:["tam","hel","maa","huh","tou","kes","hei","elo","syy","lok","mar","jou"],today:"tänään",clear:"Tyhjennä",weekStart:1,format:"d.m.yyyy"}}(jQuery); \ No newline at end of file +!function(a){a.fn.datepicker.dates.fi={days:["sunnuntai","maanantai","tiistai","keskiviikko","torstai","perjantai","lauantai"],daysShort:["sun","maa","tii","kes","tor","per","lau"],daysMin:["su","ma","ti","ke","to","pe","la"],months:["tammikuu","helmikuu","maaliskuu","huhtikuu","toukokuu","kesäkuu","heinäkuu","elokuu","syyskuu","lokakuu","marraskuu","joulukuu"],monthsShort:["tammi","helmi","maalis","huhti","touko","kesä","heinä","elo","syys","loka","marras","joulu"],today:"tänään",clear:"Tyhjennä",weekStart:1,format:"d.m.yyyy"}}(jQuery); \ No newline at end of file diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.id.min.js b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.id.min.js index 7c3220a6..bc9258d6 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.id.min.js +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.id.min.js @@ -1 +1 @@ -!function(a){a.fn.datepicker.dates.id={days:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],daysShort:["Mgu","Sen","Sel","Rab","Kam","Jum","Sab"],daysMin:["Mg","Sn","Sl","Ra","Ka","Ju","Sa"],months:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Ags","Sep","Okt","Nov","Des"],today:"Hari Ini",clear:"Kosongkan"}}(jQuery); \ No newline at end of file +!function(a){a.fn.datepicker.dates.id={days:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"],daysShort:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],daysMin:["Mg","Sn","Sl","Rb","Km","Jm","Sb"],months:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"],monthsShort:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agt","Sep","Okt","Nov","Des"],today:"Hari Ini",monthsTitle:"Bulan",clear:"Kosongkan",weekStart:0,format:"dd-mm-yyyy"}}(jQuery); \ No newline at end of file diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.mr.min.js b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.mr.min.js new file mode 100644 index 00000000..2f25159d --- /dev/null +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.mr.min.js @@ -0,0 +1 @@ +!function(a){a.fn.datepicker.dates.mar={days:["रविवार","सोमवार","मंगळवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],daysShort:["रवि","सोम","मंगळ","बुध","गुरु","शुक्र","शनि"],daysMin:["र","सो","मं","बु","गु","शु","श"],months:["जानेवारी","फेब्रुवारी","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टेंबर","ऑक्टोबर","नोव्हेंबर","डिसेंबर"],monthsShort:["जाने.","फेब्रु.","मार्च","एप्रिल","मे","जून","जुलै","ऑगस्ट","सप्टें.","ऑक्टो.","नोव्हें.","डिसें."],today:"आज",monthsTitle:"महीने",clear:"हटवा",weekStart:1,format:"dd / mm / yyyy"}}(jQuery); \ No newline at end of file diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uk.min.js b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uk.min.js index 41b02e6b..a555be80 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uk.min.js +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.uk.min.js @@ -1 +1 @@ -!function(a){a.fn.datepicker.dates.uk={days:["Неділя","Понеділок","Вівторок","Середа","Четвер","П'ятниця","Субота"],daysShort:["Нед","Пнд","Втр","Срд","Чтв","Птн","Суб"],daysMin:["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],months:["Cічень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],monthsShort:["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру"],today:"Сьогодні",clear:"Очистити",format:"dd.mm.yyyy",weekStart:1}}(jQuery); \ No newline at end of file +!function(a){a.fn.datepicker.dates.uk={days:["Неділя","Понеділок","Вівторок","Середа","Четвер","П'ятниця","Субота"],daysShort:["Нед","Пнд","Втр","Срд","Чтв","Птн","Суб"],daysMin:["Нд","Пн","Вт","Ср","Чт","Пт","Сб"],months:["Січень","Лютий","Березень","Квітень","Травень","Червень","Липень","Серпень","Вересень","Жовтень","Листопад","Грудень"],monthsShort:["Січ","Лют","Бер","Кві","Тра","Чер","Лип","Сер","Вер","Жов","Лис","Гру"],today:"Сьогодні",clear:"Очистити",format:"dd.mm.yyyy",weekStart:1}}(jQuery); \ No newline at end of file diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.zh-TW.min.js b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.zh-TW.min.js index e309c1d7..5d2c0b55 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.zh-TW.min.js +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-datepicker/locales/bootstrap-datepicker.zh-TW.min.js @@ -1 +1 @@ -!function(a){a.fn.datepicker.dates["zh-TW"]={days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],daysShort:["週日","週一","週二","週三","週四","週五","週六"],daysMin:["日","一","二","三","四","五","六"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthsShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],today:"今天",format:"yyyy年mm月dd日",weekStart:1,clear:"清除"}}(jQuery); \ No newline at end of file +!function(a){a.fn.datepicker.dates["zh-TW"]={days:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],daysShort:["週日","週一","週二","週三","週四","週五","週六"],daysMin:["日","一","二","三","四","五","六"],months:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthsShort:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],today:"今天",monthsTitle:"月份",format:"yyyy/mm/dd",weekStart:0,titleFormat:"yyyy年mm月",clear:"清除"}}(jQuery); \ No newline at end of file diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-daterangepicker/daterangepicker.css b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-daterangepicker/daterangepicker.css index a9638049..72f7acdf 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-daterangepicker/daterangepicker.css +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-daterangepicker/daterangepicker.css @@ -1,410 +1,410 @@ -.daterangepicker { - position: absolute; - color: inherit; - background-color: #fff; - border-radius: 4px; - border: 1px solid #ddd; - width: 278px; - max-width: none; - padding: 0; - margin-top: 7px; - top: 100px; - left: 20px; - z-index: 3001; - display: none; - font-family: arial; - font-size: 15px; - line-height: 1em; -} - -.daterangepicker:before, .daterangepicker:after { - position: absolute; - display: inline-block; - border-bottom-color: rgba(0, 0, 0, 0.2); - content: ''; -} - -.daterangepicker:before { - top: -7px; - border-right: 7px solid transparent; - border-left: 7px solid transparent; - border-bottom: 7px solid #ccc; -} - -.daterangepicker:after { - top: -6px; - border-right: 6px solid transparent; - border-bottom: 6px solid #fff; - border-left: 6px solid transparent; -} - -.daterangepicker.opensleft:before { - right: 9px; -} - -.daterangepicker.opensleft:after { - right: 10px; -} - -.daterangepicker.openscenter:before { - left: 0; - right: 0; - width: 0; - margin-left: auto; - margin-right: auto; -} - -.daterangepicker.openscenter:after { - left: 0; - right: 0; - width: 0; - margin-left: auto; - margin-right: auto; -} - -.daterangepicker.opensright:before { - left: 9px; -} - -.daterangepicker.opensright:after { - left: 10px; -} - -.daterangepicker.drop-up { - margin-top: -7px; -} - -.daterangepicker.drop-up:before { - top: initial; - bottom: -7px; - border-bottom: initial; - border-top: 7px solid #ccc; -} - -.daterangepicker.drop-up:after { - top: initial; - bottom: -6px; - border-bottom: initial; - border-top: 6px solid #fff; -} - -.daterangepicker.single .daterangepicker .ranges, .daterangepicker.single .drp-calendar { - float: none; -} - -.daterangepicker.single .drp-selected { - display: none; -} - -.daterangepicker.show-calendar .drp-calendar { - display: block; -} - -.daterangepicker.show-calendar .drp-buttons { - display: block; -} - -.daterangepicker.auto-apply .drp-buttons { - display: none; -} - -.daterangepicker .drp-calendar { - display: none; - max-width: 270px; -} - -.daterangepicker .drp-calendar.left { - padding: 8px 0 8px 8px; -} - -.daterangepicker .drp-calendar.right { - padding: 8px; -} - -.daterangepicker .drp-calendar.single .calendar-table { - border: none; -} - -.daterangepicker .calendar-table .next span, .daterangepicker .calendar-table .prev span { - color: #fff; - border: solid black; - border-width: 0 2px 2px 0; - border-radius: 0; - display: inline-block; - padding: 3px; -} - -.daterangepicker .calendar-table .next span { - transform: rotate(-45deg); - -webkit-transform: rotate(-45deg); -} - -.daterangepicker .calendar-table .prev span { - transform: rotate(135deg); - -webkit-transform: rotate(135deg); -} - -.daterangepicker .calendar-table th, .daterangepicker .calendar-table td { - white-space: nowrap; - text-align: center; - vertical-align: middle; - min-width: 32px; - width: 32px; - height: 24px; - line-height: 24px; - font-size: 12px; - border-radius: 4px; - border: 1px solid transparent; - white-space: nowrap; - cursor: pointer; -} - -.daterangepicker .calendar-table { - border: 1px solid #fff; - border-radius: 4px; - background-color: #fff; -} - -.daterangepicker .calendar-table table { - width: 100%; - margin: 0; - border-spacing: 0; - border-collapse: collapse; -} - -.daterangepicker td.available:hover, .daterangepicker th.available:hover { - background-color: #eee; - border-color: transparent; - color: inherit; -} - -.daterangepicker td.week, .daterangepicker th.week { - font-size: 80%; - color: #ccc; -} - -.daterangepicker td.off, .daterangepicker td.off.in-range, .daterangepicker td.off.start-date, .daterangepicker td.off.end-date { - background-color: #fff; - border-color: transparent; - color: #999; -} - -.daterangepicker td.in-range { - background-color: #ebf4f8; - border-color: transparent; - color: #000; - border-radius: 0; -} - -.daterangepicker td.start-date { - border-radius: 4px 0 0 4px; -} - -.daterangepicker td.end-date { - border-radius: 0 4px 4px 0; -} - -.daterangepicker td.start-date.end-date { - border-radius: 4px; -} - -.daterangepicker td.active, .daterangepicker td.active:hover { - background-color: #357ebd; - border-color: transparent; - color: #fff; -} - -.daterangepicker th.month { - width: auto; -} - -.daterangepicker td.disabled, .daterangepicker option.disabled { - color: #999; - cursor: not-allowed; - text-decoration: line-through; -} - -.daterangepicker select.monthselect, .daterangepicker select.yearselect { - font-size: 12px; - padding: 1px; - height: auto; - margin: 0; - cursor: default; -} - -.daterangepicker select.monthselect { - margin-right: 2%; - width: 56%; -} - -.daterangepicker select.yearselect { - width: 40%; -} - -.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.secondselect, .daterangepicker select.ampmselect { - width: 50px; - margin: 0 auto; - background: #eee; - border: 1px solid #eee; - padding: 2px; - outline: 0; - font-size: 12px; -} - -.daterangepicker .calendar-time { - text-align: center; - margin: 4px auto 0 auto; - line-height: 30px; - position: relative; -} - -.daterangepicker .calendar-time select.disabled { - color: #ccc; - cursor: not-allowed; -} - -.daterangepicker .drp-buttons { - clear: both; - text-align: right; - padding: 8px; - border-top: 1px solid #ddd; - display: none; - line-height: 12px; - vertical-align: middle; -} - -.daterangepicker .drp-selected { - display: inline-block; - font-size: 12px; - padding-right: 8px; -} - -.daterangepicker .drp-buttons .btn { - margin-left: 8px; - font-size: 12px; - font-weight: bold; - padding: 4px 8px; -} - -.daterangepicker.show-ranges.single.rtl .drp-calendar.left { - border-right: 1px solid #ddd; -} - -.daterangepicker.show-ranges.single.ltr .drp-calendar.left { - border-left: 1px solid #ddd; -} - -.daterangepicker.show-ranges.rtl .drp-calendar.right { - border-right: 1px solid #ddd; -} - -.daterangepicker.show-ranges.ltr .drp-calendar.left { - border-left: 1px solid #ddd; -} - -.daterangepicker .ranges { - float: none; - text-align: left; - margin: 0; -} - -.daterangepicker.show-calendar .ranges { - margin-top: 8px; -} - -.daterangepicker .ranges ul { - list-style: none; - margin: 0 auto; - padding: 0; - width: 100%; -} - -.daterangepicker .ranges li { - font-size: 12px; - padding: 8px 12px; - cursor: pointer; -} - -.daterangepicker .ranges li:hover { - background-color: #eee; -} - -.daterangepicker .ranges li.active { - background-color: #08c; - color: #fff; -} - -/* Larger Screen Styling */ -@media (min-width: 564px) { - .daterangepicker { - width: auto; - } - - .daterangepicker .ranges ul { - width: 140px; - } - - .daterangepicker.single .ranges ul { - width: 100%; - } - - .daterangepicker.single .drp-calendar.left { - clear: none; - } - - .daterangepicker.single .ranges, .daterangepicker.single .drp-calendar { - float: left; - } - - .daterangepicker { - direction: ltr; - text-align: left; - } - - .daterangepicker .drp-calendar.left { - clear: left; - margin-right: 0; - } - - .daterangepicker .drp-calendar.left .calendar-table { - border-right: none; - border-top-right-radius: 0; - border-bottom-right-radius: 0; - } - - .daterangepicker .drp-calendar.right { - margin-left: 0; - } - - .daterangepicker .drp-calendar.right .calendar-table { - border-left: none; - border-top-left-radius: 0; - border-bottom-left-radius: 0; - } - - .daterangepicker .drp-calendar.left .calendar-table { - padding-right: 8px; - } - - .daterangepicker .ranges, .daterangepicker .drp-calendar { - float: left; - } -} - -@media (min-width: 730px) { - .daterangepicker .ranges { - width: auto; - } - - .daterangepicker .ranges { - float: left; - } - - .daterangepicker.rtl .ranges { - float: right; - } - - .daterangepicker .drp-calendar.left { - clear: none !important; - } -} +.daterangepicker { + position: absolute; + color: inherit; + background-color: #fff; + border-radius: 4px; + border: 1px solid #ddd; + width: 278px; + max-width: none; + padding: 0; + margin-top: 7px; + top: 100px; + left: 20px; + z-index: 3001; + display: none; + font-family: arial; + font-size: 15px; + line-height: 1em; +} + +.daterangepicker:before, .daterangepicker:after { + position: absolute; + display: inline-block; + border-bottom-color: rgba(0, 0, 0, 0.2); + content: ''; +} + +.daterangepicker:before { + top: -7px; + border-right: 7px solid transparent; + border-left: 7px solid transparent; + border-bottom: 7px solid #ccc; +} + +.daterangepicker:after { + top: -6px; + border-right: 6px solid transparent; + border-bottom: 6px solid #fff; + border-left: 6px solid transparent; +} + +.daterangepicker.opensleft:before { + right: 9px; +} + +.daterangepicker.opensleft:after { + right: 10px; +} + +.daterangepicker.openscenter:before { + left: 0; + right: 0; + width: 0; + margin-left: auto; + margin-right: auto; +} + +.daterangepicker.openscenter:after { + left: 0; + right: 0; + width: 0; + margin-left: auto; + margin-right: auto; +} + +.daterangepicker.opensright:before { + left: 9px; +} + +.daterangepicker.opensright:after { + left: 10px; +} + +.daterangepicker.drop-up { + margin-top: -7px; +} + +.daterangepicker.drop-up:before { + top: initial; + bottom: -7px; + border-bottom: initial; + border-top: 7px solid #ccc; +} + +.daterangepicker.drop-up:after { + top: initial; + bottom: -6px; + border-bottom: initial; + border-top: 6px solid #fff; +} + +.daterangepicker.single .daterangepicker .ranges, .daterangepicker.single .drp-calendar { + float: none; +} + +.daterangepicker.single .drp-selected { + display: none; +} + +.daterangepicker.show-calendar .drp-calendar { + display: block; +} + +.daterangepicker.show-calendar .drp-buttons { + display: block; +} + +.daterangepicker.auto-apply .drp-buttons { + display: none; +} + +.daterangepicker .drp-calendar { + display: none; + max-width: 270px; +} + +.daterangepicker .drp-calendar.left { + padding: 8px 0 8px 8px; +} + +.daterangepicker .drp-calendar.right { + padding: 8px; +} + +.daterangepicker .drp-calendar.single .calendar-table { + border: none; +} + +.daterangepicker .calendar-table .next span, .daterangepicker .calendar-table .prev span { + color: #fff; + border: solid black; + border-width: 0 2px 2px 0; + border-radius: 0; + display: inline-block; + padding: 3px; +} + +.daterangepicker .calendar-table .next span { + transform: rotate(-45deg); + -webkit-transform: rotate(-45deg); +} + +.daterangepicker .calendar-table .prev span { + transform: rotate(135deg); + -webkit-transform: rotate(135deg); +} + +.daterangepicker .calendar-table th, .daterangepicker .calendar-table td { + white-space: nowrap; + text-align: center; + vertical-align: middle; + min-width: 32px; + width: 32px; + height: 24px; + line-height: 24px; + font-size: 12px; + border-radius: 4px; + border: 1px solid transparent; + white-space: nowrap; + cursor: pointer; +} + +.daterangepicker .calendar-table { + border: 1px solid #fff; + border-radius: 4px; + background-color: #fff; +} + +.daterangepicker .calendar-table table { + width: 100%; + margin: 0; + border-spacing: 0; + border-collapse: collapse; +} + +.daterangepicker td.available:hover, .daterangepicker th.available:hover { + background-color: #eee; + border-color: transparent; + color: inherit; +} + +.daterangepicker td.week, .daterangepicker th.week { + font-size: 80%; + color: #ccc; +} + +.daterangepicker td.off, .daterangepicker td.off.in-range, .daterangepicker td.off.start-date, .daterangepicker td.off.end-date { + background-color: #fff; + border-color: transparent; + color: #999; +} + +.daterangepicker td.in-range { + background-color: #ebf4f8; + border-color: transparent; + color: #000; + border-radius: 0; +} + +.daterangepicker td.start-date { + border-radius: 4px 0 0 4px; +} + +.daterangepicker td.end-date { + border-radius: 0 4px 4px 0; +} + +.daterangepicker td.start-date.end-date { + border-radius: 4px; +} + +.daterangepicker td.active, .daterangepicker td.active:hover { + background-color: #357ebd; + border-color: transparent; + color: #fff; +} + +.daterangepicker th.month { + width: auto; +} + +.daterangepicker td.disabled, .daterangepicker option.disabled { + color: #999; + cursor: not-allowed; + text-decoration: line-through; +} + +.daterangepicker select.monthselect, .daterangepicker select.yearselect { + font-size: 12px; + padding: 1px; + height: auto; + margin: 0; + cursor: default; +} + +.daterangepicker select.monthselect { + margin-right: 2%; + width: 56%; +} + +.daterangepicker select.yearselect { + width: 40%; +} + +.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.secondselect, .daterangepicker select.ampmselect { + width: 50px; + margin: 0 auto; + background: #eee; + border: 1px solid #eee; + padding: 2px; + outline: 0; + font-size: 12px; +} + +.daterangepicker .calendar-time { + text-align: center; + margin: 4px auto 0 auto; + line-height: 30px; + position: relative; +} + +.daterangepicker .calendar-time select.disabled { + color: #ccc; + cursor: not-allowed; +} + +.daterangepicker .drp-buttons { + clear: both; + text-align: right; + padding: 8px; + border-top: 1px solid #ddd; + display: none; + line-height: 12px; + vertical-align: middle; +} + +.daterangepicker .drp-selected { + display: inline-block; + font-size: 12px; + padding-right: 8px; +} + +.daterangepicker .drp-buttons .btn { + margin-left: 8px; + font-size: 12px; + font-weight: bold; + padding: 4px 8px; +} + +.daterangepicker.show-ranges.single.rtl .drp-calendar.left { + border-right: 1px solid #ddd; +} + +.daterangepicker.show-ranges.single.ltr .drp-calendar.left { + border-left: 1px solid #ddd; +} + +.daterangepicker.show-ranges.rtl .drp-calendar.right { + border-right: 1px solid #ddd; +} + +.daterangepicker.show-ranges.ltr .drp-calendar.left { + border-left: 1px solid #ddd; +} + +.daterangepicker .ranges { + float: none; + text-align: left; + margin: 0; +} + +.daterangepicker.show-calendar .ranges { + margin-top: 8px; +} + +.daterangepicker .ranges ul { + list-style: none; + margin: 0 auto; + padding: 0; + width: 100%; +} + +.daterangepicker .ranges li { + font-size: 12px; + padding: 8px 12px; + cursor: pointer; +} + +.daterangepicker .ranges li:hover { + background-color: #eee; +} + +.daterangepicker .ranges li.active { + background-color: #08c; + color: #fff; +} + +/* Larger Screen Styling */ +@media (min-width: 564px) { + .daterangepicker { + width: auto; + } + + .daterangepicker .ranges ul { + width: 140px; + } + + .daterangepicker.single .ranges ul { + width: 100%; + } + + .daterangepicker.single .drp-calendar.left { + clear: none; + } + + .daterangepicker.single .ranges, .daterangepicker.single .drp-calendar { + float: left; + } + + .daterangepicker { + direction: ltr; + text-align: left; + } + + .daterangepicker .drp-calendar.left { + clear: left; + margin-right: 0; + } + + .daterangepicker .drp-calendar.left .calendar-table { + border-right: none; + border-top-right-radius: 0; + border-bottom-right-radius: 0; + } + + .daterangepicker .drp-calendar.right { + margin-left: 0; + } + + .daterangepicker .drp-calendar.right .calendar-table { + border-left: none; + border-top-left-radius: 0; + border-bottom-left-radius: 0; + } + + .daterangepicker .drp-calendar.left .calendar-table { + padding-right: 8px; + } + + .daterangepicker .ranges, .daterangepicker .drp-calendar { + float: left; + } +} + +@media (min-width: 730px) { + .daterangepicker .ranges { + width: auto; + } + + .daterangepicker .ranges { + float: left; + } + + .daterangepicker.rtl .ranges { + float: right; + } + + .daterangepicker .drp-calendar.left { + clear: none !important; + } +} diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-daterangepicker/daterangepicker.js b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-daterangepicker/daterangepicker.js index 4048310c..a3becee5 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-daterangepicker/daterangepicker.js +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap-daterangepicker/daterangepicker.js @@ -1,1578 +1,1578 @@ -/** -* @version: 3.1 -* @author: Dan Grossman http://www.dangrossman.info/ -* @copyright: Copyright (c) 2012-2019 Dan Grossman. All rights reserved. -* @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php -* @website: http://www.daterangepicker.com/ -*/ -// Following the UMD template https://github.com/umdjs/umd/blob/master/templates/returnExportsGlobal.js -(function (root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. Make globaly available as well - define(['moment', 'jquery'], function (moment, jquery) { - if (!jquery.fn) jquery.fn = {}; // webpack server rendering - if (typeof moment !== 'function' && moment.hasOwnProperty('default')) moment = moment['default'] - return factory(moment, jquery); - }); - } else if (typeof module === 'object' && module.exports) { - // Node / Browserify - //isomorphic issue - var jQuery = (typeof window != 'undefined') ? window.jQuery : undefined; - if (!jQuery) { - jQuery = require('jquery'); - if (!jQuery.fn) jQuery.fn = {}; - } - var moment = (typeof window != 'undefined' && typeof window.moment != 'undefined') ? window.moment : require('moment'); - module.exports = factory(moment, jQuery); - } else { - // Browser globals - root.daterangepicker = factory(root.moment, root.jQuery); - } -}(this, function(moment, $) { - var DateRangePicker = function(element, options, cb) { - - //default settings for options - this.parentEl = 'body'; - this.element = $(element); - this.startDate = moment().startOf('day'); - this.endDate = moment().endOf('day'); - this.minDate = false; - this.maxDate = false; - this.maxSpan = false; - this.autoApply = false; - this.singleDatePicker = false; - this.showDropdowns = false; - this.minYear = moment().subtract(100, 'year').format('YYYY'); - this.maxYear = moment().add(100, 'year').format('YYYY'); - this.showWeekNumbers = false; - this.showISOWeekNumbers = false; - this.showCustomRangeLabel = true; - this.timePicker = false; - this.timePicker24Hour = false; - this.timePickerIncrement = 1; - this.timePickerSeconds = false; - this.linkedCalendars = true; - this.autoUpdateInput = true; - this.alwaysShowCalendars = false; - this.ranges = {}; - - this.opens = 'right'; - if (this.element.hasClass('pull-right')) - this.opens = 'left'; - - this.drops = 'down'; - if (this.element.hasClass('dropup')) - this.drops = 'up'; - - this.buttonClasses = 'btn btn-sm'; - this.applyButtonClasses = 'btn-primary'; - this.cancelButtonClasses = 'btn-default'; - - this.locale = { - direction: 'ltr', - format: moment.localeData().longDateFormat('L'), - separator: ' - ', - applyLabel: 'Apply', - cancelLabel: 'Cancel', - weekLabel: 'W', - customRangeLabel: 'Custom Range', - daysOfWeek: moment.weekdaysMin(), - monthNames: moment.monthsShort(), - firstDay: moment.localeData().firstDayOfWeek() - }; - - this.callback = function() { }; - - //some state information - this.isShowing = false; - this.leftCalendar = {}; - this.rightCalendar = {}; - - //custom options from user - if (typeof options !== 'object' || options === null) - options = {}; - - //allow setting options with data attributes - //data-api options will be overwritten with custom javascript options - options = $.extend(this.element.data(), options); - - //html template for the picker UI - if (typeof options.template !== 'string' && !(options.template instanceof $)) - options.template = - '
' + - '
' + - '
' + - '
' + - '
' + - '
' + - '
' + - '
' + - '
' + - '
' + - '
' + - '' + - '' + - ' ' + - '
' + - '
'; - - this.parentEl = (options.parentEl && $(options.parentEl).length) ? $(options.parentEl) : $(this.parentEl); - this.container = $(options.template).appendTo(this.parentEl); - - // - // handle all the possible options overriding defaults - // - - if (typeof options.locale === 'object') { - - if (typeof options.locale.direction === 'string') - this.locale.direction = options.locale.direction; - - if (typeof options.locale.format === 'string') - this.locale.format = options.locale.format; - - if (typeof options.locale.separator === 'string') - this.locale.separator = options.locale.separator; - - if (typeof options.locale.daysOfWeek === 'object') - this.locale.daysOfWeek = options.locale.daysOfWeek.slice(); - - if (typeof options.locale.monthNames === 'object') - this.locale.monthNames = options.locale.monthNames.slice(); - - if (typeof options.locale.firstDay === 'number') - this.locale.firstDay = options.locale.firstDay; - - if (typeof options.locale.applyLabel === 'string') - this.locale.applyLabel = options.locale.applyLabel; - - if (typeof options.locale.cancelLabel === 'string') - this.locale.cancelLabel = options.locale.cancelLabel; - - if (typeof options.locale.weekLabel === 'string') - this.locale.weekLabel = options.locale.weekLabel; - - if (typeof options.locale.customRangeLabel === 'string'){ - //Support unicode chars in the custom range name. - var elem = document.createElement('textarea'); - elem.innerHTML = options.locale.customRangeLabel; - var rangeHtml = elem.value; - this.locale.customRangeLabel = rangeHtml; - } - } - this.container.addClass(this.locale.direction); - - if (typeof options.startDate === 'string') - this.startDate = moment(options.startDate, this.locale.format); - - if (typeof options.endDate === 'string') - this.endDate = moment(options.endDate, this.locale.format); - - if (typeof options.minDate === 'string') - this.minDate = moment(options.minDate, this.locale.format); - - if (typeof options.maxDate === 'string') - this.maxDate = moment(options.maxDate, this.locale.format); - - if (typeof options.startDate === 'object') - this.startDate = moment(options.startDate); - - if (typeof options.endDate === 'object') - this.endDate = moment(options.endDate); - - if (typeof options.minDate === 'object') - this.minDate = moment(options.minDate); - - if (typeof options.maxDate === 'object') - this.maxDate = moment(options.maxDate); - - // sanity check for bad options - if (this.minDate && this.startDate.isBefore(this.minDate)) - this.startDate = this.minDate.clone(); - - // sanity check for bad options - if (this.maxDate && this.endDate.isAfter(this.maxDate)) - this.endDate = this.maxDate.clone(); - - if (typeof options.applyButtonClasses === 'string') - this.applyButtonClasses = options.applyButtonClasses; - - if (typeof options.applyClass === 'string') //backwards compat - this.applyButtonClasses = options.applyClass; - - if (typeof options.cancelButtonClasses === 'string') - this.cancelButtonClasses = options.cancelButtonClasses; - - if (typeof options.cancelClass === 'string') //backwards compat - this.cancelButtonClasses = options.cancelClass; - - if (typeof options.maxSpan === 'object') - this.maxSpan = options.maxSpan; - - if (typeof options.dateLimit === 'object') //backwards compat - this.maxSpan = options.dateLimit; - - if (typeof options.opens === 'string') - this.opens = options.opens; - - if (typeof options.drops === 'string') - this.drops = options.drops; - - if (typeof options.showWeekNumbers === 'boolean') - this.showWeekNumbers = options.showWeekNumbers; - - if (typeof options.showISOWeekNumbers === 'boolean') - this.showISOWeekNumbers = options.showISOWeekNumbers; - - if (typeof options.buttonClasses === 'string') - this.buttonClasses = options.buttonClasses; - - if (typeof options.buttonClasses === 'object') - this.buttonClasses = options.buttonClasses.join(' '); - - if (typeof options.showDropdowns === 'boolean') - this.showDropdowns = options.showDropdowns; - - if (typeof options.minYear === 'number') - this.minYear = options.minYear; - - if (typeof options.maxYear === 'number') - this.maxYear = options.maxYear; - - if (typeof options.showCustomRangeLabel === 'boolean') - this.showCustomRangeLabel = options.showCustomRangeLabel; - - if (typeof options.singleDatePicker === 'boolean') { - this.singleDatePicker = options.singleDatePicker; - if (this.singleDatePicker) - this.endDate = this.startDate.clone(); - } - - if (typeof options.timePicker === 'boolean') - this.timePicker = options.timePicker; - - if (typeof options.timePickerSeconds === 'boolean') - this.timePickerSeconds = options.timePickerSeconds; - - if (typeof options.timePickerIncrement === 'number') - this.timePickerIncrement = options.timePickerIncrement; - - if (typeof options.timePicker24Hour === 'boolean') - this.timePicker24Hour = options.timePicker24Hour; - - if (typeof options.autoApply === 'boolean') - this.autoApply = options.autoApply; - - if (typeof options.autoUpdateInput === 'boolean') - this.autoUpdateInput = options.autoUpdateInput; - - if (typeof options.linkedCalendars === 'boolean') - this.linkedCalendars = options.linkedCalendars; - - if (typeof options.isInvalidDate === 'function') - this.isInvalidDate = options.isInvalidDate; - - if (typeof options.isCustomDate === 'function') - this.isCustomDate = options.isCustomDate; - - if (typeof options.alwaysShowCalendars === 'boolean') - this.alwaysShowCalendars = options.alwaysShowCalendars; - - // update day names order to firstDay - if (this.locale.firstDay != 0) { - var iterator = this.locale.firstDay; - while (iterator > 0) { - this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()); - iterator--; - } - } - - var start, end, range; - - //if no start/end dates set, check if an input element contains initial values - if (typeof options.startDate === 'undefined' && typeof options.endDate === 'undefined') { - if ($(this.element).is(':text')) { - var val = $(this.element).val(), - split = val.split(this.locale.separator); - - start = end = null; - - if (split.length == 2) { - start = moment(split[0], this.locale.format); - end = moment(split[1], this.locale.format); - } else if (this.singleDatePicker && val !== "") { - start = moment(val, this.locale.format); - end = moment(val, this.locale.format); - } - if (start !== null && end !== null) { - this.setStartDate(start); - this.setEndDate(end); - } - } - } - - if (typeof options.ranges === 'object') { - for (range in options.ranges) { - - if (typeof options.ranges[range][0] === 'string') - start = moment(options.ranges[range][0], this.locale.format); - else - start = moment(options.ranges[range][0]); - - if (typeof options.ranges[range][1] === 'string') - end = moment(options.ranges[range][1], this.locale.format); - else - end = moment(options.ranges[range][1]); - - // If the start or end date exceed those allowed by the minDate or maxSpan - // options, shorten the range to the allowable period. - if (this.minDate && start.isBefore(this.minDate)) - start = this.minDate.clone(); - - var maxDate = this.maxDate; - if (this.maxSpan && maxDate && start.clone().add(this.maxSpan).isAfter(maxDate)) - maxDate = start.clone().add(this.maxSpan); - if (maxDate && end.isAfter(maxDate)) - end = maxDate.clone(); - - // If the end of the range is before the minimum or the start of the range is - // after the maximum, don't display this range option at all. - if ((this.minDate && end.isBefore(this.minDate, this.timepicker ? 'minute' : 'day')) - || (maxDate && start.isAfter(maxDate, this.timepicker ? 'minute' : 'day'))) - continue; - - //Support unicode chars in the range names. - var elem = document.createElement('textarea'); - elem.innerHTML = range; - var rangeHtml = elem.value; - - this.ranges[rangeHtml] = [start, end]; - } - - var list = '
    '; - for (range in this.ranges) { - list += '
  • ' + range + '
  • '; - } - if (this.showCustomRangeLabel) { - list += '
  • ' + this.locale.customRangeLabel + '
  • '; - } - list += '
'; - this.container.find('.ranges').prepend(list); - } - - if (typeof cb === 'function') { - this.callback = cb; - } - - if (!this.timePicker) { - this.startDate = this.startDate.startOf('day'); - this.endDate = this.endDate.endOf('day'); - this.container.find('.calendar-time').hide(); - } - - //can't be used together for now - if (this.timePicker && this.autoApply) - this.autoApply = false; - - if (this.autoApply) { - this.container.addClass('auto-apply'); - } - - if (typeof options.ranges === 'object') - this.container.addClass('show-ranges'); - - if (this.singleDatePicker) { - this.container.addClass('single'); - this.container.find('.drp-calendar.left').addClass('single'); - this.container.find('.drp-calendar.left').show(); - this.container.find('.drp-calendar.right').hide(); - if (!this.timePicker && this.autoApply) { - this.container.addClass('auto-apply'); - } - } - - if ((typeof options.ranges === 'undefined' && !this.singleDatePicker) || this.alwaysShowCalendars) { - this.container.addClass('show-calendar'); - } - - this.container.addClass('opens' + this.opens); - - //apply CSS classes and labels to buttons - this.container.find('.applyBtn, .cancelBtn').addClass(this.buttonClasses); - if (this.applyButtonClasses.length) - this.container.find('.applyBtn').addClass(this.applyButtonClasses); - if (this.cancelButtonClasses.length) - this.container.find('.cancelBtn').addClass(this.cancelButtonClasses); - this.container.find('.applyBtn').html(this.locale.applyLabel); - this.container.find('.cancelBtn').html(this.locale.cancelLabel); - - // - // event listeners - // - - this.container.find('.drp-calendar') - .on('click.daterangepicker', '.prev', $.proxy(this.clickPrev, this)) - .on('click.daterangepicker', '.next', $.proxy(this.clickNext, this)) - .on('mousedown.daterangepicker', 'td.available', $.proxy(this.clickDate, this)) - .on('mouseenter.daterangepicker', 'td.available', $.proxy(this.hoverDate, this)) - .on('change.daterangepicker', 'select.yearselect', $.proxy(this.monthOrYearChanged, this)) - .on('change.daterangepicker', 'select.monthselect', $.proxy(this.monthOrYearChanged, this)) - .on('change.daterangepicker', 'select.hourselect,select.minuteselect,select.secondselect,select.ampmselect', $.proxy(this.timeChanged, this)); - - this.container.find('.ranges') - .on('click.daterangepicker', 'li', $.proxy(this.clickRange, this)); - - this.container.find('.drp-buttons') - .on('click.daterangepicker', 'button.applyBtn', $.proxy(this.clickApply, this)) - .on('click.daterangepicker', 'button.cancelBtn', $.proxy(this.clickCancel, this)); - - if (this.element.is('input') || this.element.is('button')) { - this.element.on({ - 'click.daterangepicker': $.proxy(this.show, this), - 'focus.daterangepicker': $.proxy(this.show, this), - 'keyup.daterangepicker': $.proxy(this.elementChanged, this), - 'keydown.daterangepicker': $.proxy(this.keydown, this) //IE 11 compatibility - }); - } else { - this.element.on('click.daterangepicker', $.proxy(this.toggle, this)); - this.element.on('keydown.daterangepicker', $.proxy(this.toggle, this)); - } - - // - // if attached to a text input, set the initial value - // - - this.updateElement(); - - }; - - DateRangePicker.prototype = { - - constructor: DateRangePicker, - - setStartDate: function(startDate) { - if (typeof startDate === 'string') - this.startDate = moment(startDate, this.locale.format); - - if (typeof startDate === 'object') - this.startDate = moment(startDate); - - if (!this.timePicker) - this.startDate = this.startDate.startOf('day'); - - if (this.timePicker && this.timePickerIncrement) - this.startDate.minute(Math.round(this.startDate.minute() / this.timePickerIncrement) * this.timePickerIncrement); - - if (this.minDate && this.startDate.isBefore(this.minDate)) { - this.startDate = this.minDate.clone(); - if (this.timePicker && this.timePickerIncrement) - this.startDate.minute(Math.round(this.startDate.minute() / this.timePickerIncrement) * this.timePickerIncrement); - } - - if (this.maxDate && this.startDate.isAfter(this.maxDate)) { - this.startDate = this.maxDate.clone(); - if (this.timePicker && this.timePickerIncrement) - this.startDate.minute(Math.floor(this.startDate.minute() / this.timePickerIncrement) * this.timePickerIncrement); - } - - if (!this.isShowing) - this.updateElement(); - - this.updateMonthsInView(); - }, - - setEndDate: function(endDate) { - if (typeof endDate === 'string') - this.endDate = moment(endDate, this.locale.format); - - if (typeof endDate === 'object') - this.endDate = moment(endDate); - - if (!this.timePicker) - this.endDate = this.endDate.endOf('day'); - - if (this.timePicker && this.timePickerIncrement) - this.endDate.minute(Math.round(this.endDate.minute() / this.timePickerIncrement) * this.timePickerIncrement); - - if (this.endDate.isBefore(this.startDate)) - this.endDate = this.startDate.clone(); - - if (this.maxDate && this.endDate.isAfter(this.maxDate)) - this.endDate = this.maxDate.clone(); - - if (this.maxSpan && this.startDate.clone().add(this.maxSpan).isBefore(this.endDate)) - this.endDate = this.startDate.clone().add(this.maxSpan); - - this.previousRightTime = this.endDate.clone(); - - this.container.find('.drp-selected').html(this.startDate.format(this.locale.format) + this.locale.separator + this.endDate.format(this.locale.format)); - - if (!this.isShowing) - this.updateElement(); - - this.updateMonthsInView(); - }, - - isInvalidDate: function() { - return false; - }, - - isCustomDate: function() { - return false; - }, - - updateView: function() { - if (this.timePicker) { - this.renderTimePicker('left'); - this.renderTimePicker('right'); - if (!this.endDate) { - this.container.find('.right .calendar-time select').prop('disabled', true).addClass('disabled'); - } else { - this.container.find('.right .calendar-time select').prop('disabled', false).removeClass('disabled'); - } - } - if (this.endDate) - this.container.find('.drp-selected').html(this.startDate.format(this.locale.format) + this.locale.separator + this.endDate.format(this.locale.format)); - this.updateMonthsInView(); - this.updateCalendars(); - this.updateFormInputs(); - }, - - updateMonthsInView: function() { - if (this.endDate) { - - //if both dates are visible already, do nothing - if (!this.singleDatePicker && this.leftCalendar.month && this.rightCalendar.month && - (this.startDate.format('YYYY-MM') == this.leftCalendar.month.format('YYYY-MM') || this.startDate.format('YYYY-MM') == this.rightCalendar.month.format('YYYY-MM')) - && - (this.endDate.format('YYYY-MM') == this.leftCalendar.month.format('YYYY-MM') || this.endDate.format('YYYY-MM') == this.rightCalendar.month.format('YYYY-MM')) - ) { - return; - } - - this.leftCalendar.month = this.startDate.clone().date(2); - if (!this.linkedCalendars && (this.endDate.month() != this.startDate.month() || this.endDate.year() != this.startDate.year())) { - this.rightCalendar.month = this.endDate.clone().date(2); - } else { - this.rightCalendar.month = this.startDate.clone().date(2).add(1, 'month'); - } - - } else { - if (this.leftCalendar.month.format('YYYY-MM') != this.startDate.format('YYYY-MM') && this.rightCalendar.month.format('YYYY-MM') != this.startDate.format('YYYY-MM')) { - this.leftCalendar.month = this.startDate.clone().date(2); - this.rightCalendar.month = this.startDate.clone().date(2).add(1, 'month'); - } - } - if (this.maxDate && this.linkedCalendars && !this.singleDatePicker && this.rightCalendar.month > this.maxDate) { - this.rightCalendar.month = this.maxDate.clone().date(2); - this.leftCalendar.month = this.maxDate.clone().date(2).subtract(1, 'month'); - } - }, - - updateCalendars: function() { - - if (this.timePicker) { - var hour, minute, second; - if (this.endDate) { - hour = parseInt(this.container.find('.left .hourselect').val(), 10); - minute = parseInt(this.container.find('.left .minuteselect').val(), 10); - if (isNaN(minute)) { - minute = parseInt(this.container.find('.left .minuteselect option:last').val(), 10); - } - second = this.timePickerSeconds ? parseInt(this.container.find('.left .secondselect').val(), 10) : 0; - if (!this.timePicker24Hour) { - var ampm = this.container.find('.left .ampmselect').val(); - if (ampm === 'PM' && hour < 12) - hour += 12; - if (ampm === 'AM' && hour === 12) - hour = 0; - } - } else { - hour = parseInt(this.container.find('.right .hourselect').val(), 10); - minute = parseInt(this.container.find('.right .minuteselect').val(), 10); - if (isNaN(minute)) { - minute = parseInt(this.container.find('.right .minuteselect option:last').val(), 10); - } - second = this.timePickerSeconds ? parseInt(this.container.find('.right .secondselect').val(), 10) : 0; - if (!this.timePicker24Hour) { - var ampm = this.container.find('.right .ampmselect').val(); - if (ampm === 'PM' && hour < 12) - hour += 12; - if (ampm === 'AM' && hour === 12) - hour = 0; - } - } - this.leftCalendar.month.hour(hour).minute(minute).second(second); - this.rightCalendar.month.hour(hour).minute(minute).second(second); - } - - this.renderCalendar('left'); - this.renderCalendar('right'); - - //highlight any predefined range matching the current start and end dates - this.container.find('.ranges li').removeClass('active'); - if (this.endDate == null) return; - - this.calculateChosenLabel(); - }, - - renderCalendar: function(side) { - - // - // Build the matrix of dates that will populate the calendar - // - - var calendar = side == 'left' ? this.leftCalendar : this.rightCalendar; - var month = calendar.month.month(); - var year = calendar.month.year(); - var hour = calendar.month.hour(); - var minute = calendar.month.minute(); - var second = calendar.month.second(); - var daysInMonth = moment([year, month]).daysInMonth(); - var firstDay = moment([year, month, 1]); - var lastDay = moment([year, month, daysInMonth]); - var lastMonth = moment(firstDay).subtract(1, 'month').month(); - var lastYear = moment(firstDay).subtract(1, 'month').year(); - var daysInLastMonth = moment([lastYear, lastMonth]).daysInMonth(); - var dayOfWeek = firstDay.day(); - - //initialize a 6 rows x 7 columns array for the calendar - var calendar = []; - calendar.firstDay = firstDay; - calendar.lastDay = lastDay; - - for (var i = 0; i < 6; i++) { - calendar[i] = []; - } - - //populate the calendar with date objects - var startDay = daysInLastMonth - dayOfWeek + this.locale.firstDay + 1; - if (startDay > daysInLastMonth) - startDay -= 7; - - if (dayOfWeek == this.locale.firstDay) - startDay = daysInLastMonth - 6; - - var curDate = moment([lastYear, lastMonth, startDay, 12, minute, second]); - - var col, row; - for (var i = 0, col = 0, row = 0; i < 42; i++, col++, curDate = moment(curDate).add(24, 'hour')) { - if (i > 0 && col % 7 === 0) { - col = 0; - row++; - } - calendar[row][col] = curDate.clone().hour(hour).minute(minute).second(second); - curDate.hour(12); - - if (this.minDate && calendar[row][col].format('YYYY-MM-DD') == this.minDate.format('YYYY-MM-DD') && calendar[row][col].isBefore(this.minDate) && side == 'left') { - calendar[row][col] = this.minDate.clone(); - } - - if (this.maxDate && calendar[row][col].format('YYYY-MM-DD') == this.maxDate.format('YYYY-MM-DD') && calendar[row][col].isAfter(this.maxDate) && side == 'right') { - calendar[row][col] = this.maxDate.clone(); - } - - } - - //make the calendar object available to hoverDate/clickDate - if (side == 'left') { - this.leftCalendar.calendar = calendar; - } else { - this.rightCalendar.calendar = calendar; - } - - // - // Display the calendar - // - - var minDate = side == 'left' ? this.minDate : this.startDate; - var maxDate = this.maxDate; - var selected = side == 'left' ? this.startDate : this.endDate; - var arrow = this.locale.direction == 'ltr' ? {left: 'chevron-left', right: 'chevron-right'} : {left: 'chevron-right', right: 'chevron-left'}; - - var html = ''; - html += ''; - html += ''; - - // add empty cell for week number - if (this.showWeekNumbers || this.showISOWeekNumbers) - html += ''; - - if ((!minDate || minDate.isBefore(calendar.firstDay)) && (!this.linkedCalendars || side == 'left')) { - html += ''; - } else { - html += ''; - } - - var dateHtml = this.locale.monthNames[calendar[1][1].month()] + calendar[1][1].format(" YYYY"); - - if (this.showDropdowns) { - var currentMonth = calendar[1][1].month(); - var currentYear = calendar[1][1].year(); - var maxYear = (maxDate && maxDate.year()) || (this.maxYear); - var minYear = (minDate && minDate.year()) || (this.minYear); - var inMinYear = currentYear == minYear; - var inMaxYear = currentYear == maxYear; - - var monthHtml = '"; - - var yearHtml = ''; - - dateHtml = monthHtml + yearHtml; - } - - html += ''; - if ((!maxDate || maxDate.isAfter(calendar.lastDay)) && (!this.linkedCalendars || side == 'right' || this.singleDatePicker)) { - html += ''; - } else { - html += ''; - } - - html += ''; - html += ''; - - // add week number label - if (this.showWeekNumbers || this.showISOWeekNumbers) - html += ''; - - $.each(this.locale.daysOfWeek, function(index, dayOfWeek) { - html += ''; - }); - - html += ''; - html += ''; - html += ''; - - //adjust maxDate to reflect the maxSpan setting in order to - //grey out end dates beyond the maxSpan - if (this.endDate == null && this.maxSpan) { - var maxLimit = this.startDate.clone().add(this.maxSpan).endOf('day'); - if (!maxDate || maxLimit.isBefore(maxDate)) { - maxDate = maxLimit; - } - } - - for (var row = 0; row < 6; row++) { - html += ''; - - // add week number - if (this.showWeekNumbers) - html += ''; - else if (this.showISOWeekNumbers) - html += ''; - - for (var col = 0; col < 7; col++) { - - var classes = []; - - //highlight today's date - if (calendar[row][col].isSame(new Date(), "day")) - classes.push('today'); - - //highlight weekends - if (calendar[row][col].isoWeekday() > 5) - classes.push('weekend'); - - //grey out the dates in other months displayed at beginning and end of this calendar - if (calendar[row][col].month() != calendar[1][1].month()) - classes.push('off', 'ends'); - - //don't allow selection of dates before the minimum date - if (this.minDate && calendar[row][col].isBefore(this.minDate, 'day')) - classes.push('off', 'disabled'); - - //don't allow selection of dates after the maximum date - if (maxDate && calendar[row][col].isAfter(maxDate, 'day')) - classes.push('off', 'disabled'); - - //don't allow selection of date if a custom function decides it's invalid - if (this.isInvalidDate(calendar[row][col])) - classes.push('off', 'disabled'); - - //highlight the currently selected start date - if (calendar[row][col].format('YYYY-MM-DD') == this.startDate.format('YYYY-MM-DD')) - classes.push('active', 'start-date'); - - //highlight the currently selected end date - if (this.endDate != null && calendar[row][col].format('YYYY-MM-DD') == this.endDate.format('YYYY-MM-DD')) - classes.push('active', 'end-date'); - - //highlight dates in-between the selected dates - if (this.endDate != null && calendar[row][col] > this.startDate && calendar[row][col] < this.endDate) - classes.push('in-range'); - - //apply custom classes for this date - var isCustom = this.isCustomDate(calendar[row][col]); - if (isCustom !== false) { - if (typeof isCustom === 'string') - classes.push(isCustom); - else - Array.prototype.push.apply(classes, isCustom); - } - - var cname = '', disabled = false; - for (var i = 0; i < classes.length; i++) { - cname += classes[i] + ' '; - if (classes[i] == 'disabled') - disabled = true; - } - if (!disabled) - cname += 'available'; - - html += ''; - - } - html += ''; - } - - html += ''; - html += '
' + dateHtml + '
' + this.locale.weekLabel + '' + dayOfWeek + '
' + calendar[row][0].week() + '' + calendar[row][0].isoWeek() + '' + calendar[row][col].date() + '
'; - - this.container.find('.drp-calendar.' + side + ' .calendar-table').html(html); - - }, - - renderTimePicker: function(side) { - - // Don't bother updating the time picker if it's currently disabled - // because an end date hasn't been clicked yet - if (side == 'right' && !this.endDate) return; - - var html, selected, minDate, maxDate = this.maxDate; - - if (this.maxSpan && (!this.maxDate || this.startDate.clone().add(this.maxSpan).isBefore(this.maxDate))) - maxDate = this.startDate.clone().add(this.maxSpan); - - if (side == 'left') { - selected = this.startDate.clone(); - minDate = this.minDate; - } else if (side == 'right') { - selected = this.endDate.clone(); - minDate = this.startDate; - - //Preserve the time already selected - var timeSelector = this.container.find('.drp-calendar.right .calendar-time'); - if (timeSelector.html() != '') { - - selected.hour(!isNaN(selected.hour()) ? selected.hour() : timeSelector.find('.hourselect option:selected').val()); - selected.minute(!isNaN(selected.minute()) ? selected.minute() : timeSelector.find('.minuteselect option:selected').val()); - selected.second(!isNaN(selected.second()) ? selected.second() : timeSelector.find('.secondselect option:selected').val()); - - if (!this.timePicker24Hour) { - var ampm = timeSelector.find('.ampmselect option:selected').val(); - if (ampm === 'PM' && selected.hour() < 12) - selected.hour(selected.hour() + 12); - if (ampm === 'AM' && selected.hour() === 12) - selected.hour(0); - } - - } - - if (selected.isBefore(this.startDate)) - selected = this.startDate.clone(); - - if (maxDate && selected.isAfter(maxDate)) - selected = maxDate.clone(); - - } - - // - // hours - // - - html = ' '; - - // - // minutes - // - - html += ': '; - - // - // seconds - // - - if (this.timePickerSeconds) { - html += ': '; - } - - // - // AM/PM - // - - if (!this.timePicker24Hour) { - html += ''; - } - - this.container.find('.drp-calendar.' + side + ' .calendar-time').html(html); - - }, - - updateFormInputs: function() { - - if (this.singleDatePicker || (this.endDate && (this.startDate.isBefore(this.endDate) || this.startDate.isSame(this.endDate)))) { - this.container.find('button.applyBtn').prop('disabled', false); - } else { - this.container.find('button.applyBtn').prop('disabled', true); - } - - }, - - move: function() { - var parentOffset = { top: 0, left: 0 }, - containerTop, - drops = this.drops; - - var parentRightEdge = $(window).width(); - if (!this.parentEl.is('body')) { - parentOffset = { - top: this.parentEl.offset().top - this.parentEl.scrollTop(), - left: this.parentEl.offset().left - this.parentEl.scrollLeft() - }; - parentRightEdge = this.parentEl[0].clientWidth + this.parentEl.offset().left; - } - - switch (drops) { - case 'auto': - containerTop = this.element.offset().top + this.element.outerHeight() - parentOffset.top; - if (containerTop + this.container.outerHeight() >= this.parentEl[0].scrollHeight) { - containerTop = this.element.offset().top - this.container.outerHeight() - parentOffset.top; - drops = 'up'; - } - break; - case 'up': - containerTop = this.element.offset().top - this.container.outerHeight() - parentOffset.top; - break; - default: - containerTop = this.element.offset().top + this.element.outerHeight() - parentOffset.top; - break; - } - - // Force the container to it's actual width - this.container.css({ - top: 0, - left: 0, - right: 'auto' - }); - var containerWidth = this.container.outerWidth(); - - this.container.toggleClass('drop-up', drops == 'up'); - - if (this.opens == 'left') { - var containerRight = parentRightEdge - this.element.offset().left - this.element.outerWidth(); - if (containerWidth + containerRight > $(window).width()) { - this.container.css({ - top: containerTop, - right: 'auto', - left: 9 - }); - } else { - this.container.css({ - top: containerTop, - right: containerRight, - left: 'auto' - }); - } - } else if (this.opens == 'center') { - var containerLeft = this.element.offset().left - parentOffset.left + this.element.outerWidth() / 2 - - containerWidth / 2; - if (containerLeft < 0) { - this.container.css({ - top: containerTop, - right: 'auto', - left: 9 - }); - } else if (containerLeft + containerWidth > $(window).width()) { - this.container.css({ - top: containerTop, - left: 'auto', - right: 0 - }); - } else { - this.container.css({ - top: containerTop, - left: containerLeft, - right: 'auto' - }); - } - } else { - var containerLeft = this.element.offset().left - parentOffset.left; - if (containerLeft + containerWidth > $(window).width()) { - this.container.css({ - top: containerTop, - left: 'auto', - right: 0 - }); - } else { - this.container.css({ - top: containerTop, - left: containerLeft, - right: 'auto' - }); - } - } - }, - - show: function(e) { - if (this.isShowing) return; - - // Create a click proxy that is private to this instance of datepicker, for unbinding - this._outsideClickProxy = $.proxy(function(e) { this.outsideClick(e); }, this); - - // Bind global datepicker mousedown for hiding and - $(document) - .on('mousedown.daterangepicker', this._outsideClickProxy) - // also support mobile devices - .on('touchend.daterangepicker', this._outsideClickProxy) - // also explicitly play nice with Bootstrap dropdowns, which stopPropagation when clicking them - .on('click.daterangepicker', '[data-toggle=dropdown]', this._outsideClickProxy) - // and also close when focus changes to outside the picker (eg. tabbing between controls) - .on('focusin.daterangepicker', this._outsideClickProxy); - - // Reposition the picker if the window is resized while it's open - $(window).on('resize.daterangepicker', $.proxy(function(e) { this.move(e); }, this)); - - this.oldStartDate = this.startDate.clone(); - this.oldEndDate = this.endDate.clone(); - this.previousRightTime = this.endDate.clone(); - - this.updateView(); - this.container.show(); - this.move(); - this.element.trigger('show.daterangepicker', this); - this.isShowing = true; - }, - - hide: function(e) { - if (!this.isShowing) return; - - //incomplete date selection, revert to last values - if (!this.endDate) { - this.startDate = this.oldStartDate.clone(); - this.endDate = this.oldEndDate.clone(); - } - - //if a new date range was selected, invoke the user callback function - if (!this.startDate.isSame(this.oldStartDate) || !this.endDate.isSame(this.oldEndDate)) - this.callback(this.startDate.clone(), this.endDate.clone(), this.chosenLabel); - - //if picker is attached to a text input, update it - this.updateElement(); - - $(document).off('.daterangepicker'); - $(window).off('.daterangepicker'); - this.container.hide(); - this.element.trigger('hide.daterangepicker', this); - this.isShowing = false; - }, - - toggle: function(e) { - if (this.isShowing) { - this.hide(); - } else { - this.show(); - } - }, - - outsideClick: function(e) { - var target = $(e.target); - // if the page is clicked anywhere except within the daterangerpicker/button - // itself then call this.hide() - if ( - // ie modal dialog fix - e.type == "focusin" || - target.closest(this.element).length || - target.closest(this.container).length || - target.closest('.calendar-table').length - ) return; - this.hide(); - this.element.trigger('outsideClick.daterangepicker', this); - }, - - showCalendars: function() { - this.container.addClass('show-calendar'); - this.move(); - this.element.trigger('showCalendar.daterangepicker', this); - }, - - hideCalendars: function() { - this.container.removeClass('show-calendar'); - this.element.trigger('hideCalendar.daterangepicker', this); - }, - - clickRange: function(e) { - var label = e.target.getAttribute('data-range-key'); - this.chosenLabel = label; - if (label == this.locale.customRangeLabel) { - this.showCalendars(); - } else { - var dates = this.ranges[label]; - this.startDate = dates[0]; - this.endDate = dates[1]; - - if (!this.timePicker) { - this.startDate.startOf('day'); - this.endDate.endOf('day'); - } - - if (!this.alwaysShowCalendars) - this.hideCalendars(); - this.clickApply(); - } - }, - - clickPrev: function(e) { - var cal = $(e.target).parents('.drp-calendar'); - if (cal.hasClass('left')) { - this.leftCalendar.month.subtract(1, 'month'); - if (this.linkedCalendars) - this.rightCalendar.month.subtract(1, 'month'); - } else { - this.rightCalendar.month.subtract(1, 'month'); - } - this.updateCalendars(); - }, - - clickNext: function(e) { - var cal = $(e.target).parents('.drp-calendar'); - if (cal.hasClass('left')) { - this.leftCalendar.month.add(1, 'month'); - } else { - this.rightCalendar.month.add(1, 'month'); - if (this.linkedCalendars) - this.leftCalendar.month.add(1, 'month'); - } - this.updateCalendars(); - }, - - hoverDate: function(e) { - - //ignore dates that can't be selected - if (!$(e.target).hasClass('available')) return; - - var title = $(e.target).attr('data-title'); - var row = title.substr(1, 1); - var col = title.substr(3, 1); - var cal = $(e.target).parents('.drp-calendar'); - var date = cal.hasClass('left') ? this.leftCalendar.calendar[row][col] : this.rightCalendar.calendar[row][col]; - - //highlight the dates between the start date and the date being hovered as a potential end date - var leftCalendar = this.leftCalendar; - var rightCalendar = this.rightCalendar; - var startDate = this.startDate; - if (!this.endDate) { - this.container.find('.drp-calendar tbody td').each(function(index, el) { - - //skip week numbers, only look at dates - if ($(el).hasClass('week')) return; - - var title = $(el).attr('data-title'); - var row = title.substr(1, 1); - var col = title.substr(3, 1); - var cal = $(el).parents('.drp-calendar'); - var dt = cal.hasClass('left') ? leftCalendar.calendar[row][col] : rightCalendar.calendar[row][col]; - - if ((dt.isAfter(startDate) && dt.isBefore(date)) || dt.isSame(date, 'day')) { - $(el).addClass('in-range'); - } else { - $(el).removeClass('in-range'); - } - - }); - } - - }, - - clickDate: function(e) { - - if (!$(e.target).hasClass('available')) return; - - var title = $(e.target).attr('data-title'); - var row = title.substr(1, 1); - var col = title.substr(3, 1); - var cal = $(e.target).parents('.drp-calendar'); - var date = cal.hasClass('left') ? this.leftCalendar.calendar[row][col] : this.rightCalendar.calendar[row][col]; - - // - // this function needs to do a few things: - // * alternate between selecting a start and end date for the range, - // * if the time picker is enabled, apply the hour/minute/second from the select boxes to the clicked date - // * if autoapply is enabled, and an end date was chosen, apply the selection - // * if single date picker mode, and time picker isn't enabled, apply the selection immediately - // * if one of the inputs above the calendars was focused, cancel that manual input - // - - if (this.endDate || date.isBefore(this.startDate, 'day')) { //picking start - if (this.timePicker) { - var hour = parseInt(this.container.find('.left .hourselect').val(), 10); - if (!this.timePicker24Hour) { - var ampm = this.container.find('.left .ampmselect').val(); - if (ampm === 'PM' && hour < 12) - hour += 12; - if (ampm === 'AM' && hour === 12) - hour = 0; - } - var minute = parseInt(this.container.find('.left .minuteselect').val(), 10); - if (isNaN(minute)) { - minute = parseInt(this.container.find('.left .minuteselect option:last').val(), 10); - } - var second = this.timePickerSeconds ? parseInt(this.container.find('.left .secondselect').val(), 10) : 0; - date = date.clone().hour(hour).minute(minute).second(second); - } - this.endDate = null; - this.setStartDate(date.clone()); - } else if (!this.endDate && date.isBefore(this.startDate)) { - //special case: clicking the same date for start/end, - //but the time of the end date is before the start date - this.setEndDate(this.startDate.clone()); - } else { // picking end - if (this.timePicker) { - var hour = parseInt(this.container.find('.right .hourselect').val(), 10); - if (!this.timePicker24Hour) { - var ampm = this.container.find('.right .ampmselect').val(); - if (ampm === 'PM' && hour < 12) - hour += 12; - if (ampm === 'AM' && hour === 12) - hour = 0; - } - var minute = parseInt(this.container.find('.right .minuteselect').val(), 10); - if (isNaN(minute)) { - minute = parseInt(this.container.find('.right .minuteselect option:last').val(), 10); - } - var second = this.timePickerSeconds ? parseInt(this.container.find('.right .secondselect').val(), 10) : 0; - date = date.clone().hour(hour).minute(minute).second(second); - } - this.setEndDate(date.clone()); - if (this.autoApply) { - this.calculateChosenLabel(); - this.clickApply(); - } - } - - if (this.singleDatePicker) { - this.setEndDate(this.startDate); - if (!this.timePicker && this.autoApply) - this.clickApply(); - } - - this.updateView(); - - //This is to cancel the blur event handler if the mouse was in one of the inputs - e.stopPropagation(); - - }, - - calculateChosenLabel: function () { - var customRange = true; - var i = 0; - for (var range in this.ranges) { - if (this.timePicker) { - var format = this.timePickerSeconds ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD HH:mm"; - //ignore times when comparing dates if time picker seconds is not enabled - if (this.startDate.format(format) == this.ranges[range][0].format(format) && this.endDate.format(format) == this.ranges[range][1].format(format)) { - customRange = false; - this.chosenLabel = this.container.find('.ranges li:eq(' + i + ')').addClass('active').attr('data-range-key'); - break; - } - } else { - //ignore times when comparing dates if time picker is not enabled - if (this.startDate.format('YYYY-MM-DD') == this.ranges[range][0].format('YYYY-MM-DD') && this.endDate.format('YYYY-MM-DD') == this.ranges[range][1].format('YYYY-MM-DD')) { - customRange = false; - this.chosenLabel = this.container.find('.ranges li:eq(' + i + ')').addClass('active').attr('data-range-key'); - break; - } - } - i++; - } - if (customRange) { - if (this.showCustomRangeLabel) { - this.chosenLabel = this.container.find('.ranges li:last').addClass('active').attr('data-range-key'); - } else { - this.chosenLabel = null; - } - this.showCalendars(); - } - }, - - clickApply: function(e) { - this.hide(); - this.element.trigger('apply.daterangepicker', this); - }, - - clickCancel: function(e) { - this.startDate = this.oldStartDate; - this.endDate = this.oldEndDate; - this.hide(); - this.element.trigger('cancel.daterangepicker', this); - }, - - monthOrYearChanged: function(e) { - var isLeft = $(e.target).closest('.drp-calendar').hasClass('left'), - leftOrRight = isLeft ? 'left' : 'right', - cal = this.container.find('.drp-calendar.'+leftOrRight); - - // Month must be Number for new moment versions - var month = parseInt(cal.find('.monthselect').val(), 10); - var year = cal.find('.yearselect').val(); - - if (!isLeft) { - if (year < this.startDate.year() || (year == this.startDate.year() && month < this.startDate.month())) { - month = this.startDate.month(); - year = this.startDate.year(); - } - } - - if (this.minDate) { - if (year < this.minDate.year() || (year == this.minDate.year() && month < this.minDate.month())) { - month = this.minDate.month(); - year = this.minDate.year(); - } - } - - if (this.maxDate) { - if (year > this.maxDate.year() || (year == this.maxDate.year() && month > this.maxDate.month())) { - month = this.maxDate.month(); - year = this.maxDate.year(); - } - } - - if (isLeft) { - this.leftCalendar.month.month(month).year(year); - if (this.linkedCalendars) - this.rightCalendar.month = this.leftCalendar.month.clone().add(1, 'month'); - } else { - this.rightCalendar.month.month(month).year(year); - if (this.linkedCalendars) - this.leftCalendar.month = this.rightCalendar.month.clone().subtract(1, 'month'); - } - this.updateCalendars(); - }, - - timeChanged: function(e) { - - var cal = $(e.target).closest('.drp-calendar'), - isLeft = cal.hasClass('left'); - - var hour = parseInt(cal.find('.hourselect').val(), 10); - var minute = parseInt(cal.find('.minuteselect').val(), 10); - if (isNaN(minute)) { - minute = parseInt(cal.find('.minuteselect option:last').val(), 10); - } - var second = this.timePickerSeconds ? parseInt(cal.find('.secondselect').val(), 10) : 0; - - if (!this.timePicker24Hour) { - var ampm = cal.find('.ampmselect').val(); - if (ampm === 'PM' && hour < 12) - hour += 12; - if (ampm === 'AM' && hour === 12) - hour = 0; - } - - if (isLeft) { - var start = this.startDate.clone(); - start.hour(hour); - start.minute(minute); - start.second(second); - this.setStartDate(start); - if (this.singleDatePicker) { - this.endDate = this.startDate.clone(); - } else if (this.endDate && this.endDate.format('YYYY-MM-DD') == start.format('YYYY-MM-DD') && this.endDate.isBefore(start)) { - this.setEndDate(start.clone()); - } - } else if (this.endDate) { - var end = this.endDate.clone(); - end.hour(hour); - end.minute(minute); - end.second(second); - this.setEndDate(end); - } - - //update the calendars so all clickable dates reflect the new time component - this.updateCalendars(); - - //update the form inputs above the calendars with the new time - this.updateFormInputs(); - - //re-render the time pickers because changing one selection can affect what's enabled in another - this.renderTimePicker('left'); - this.renderTimePicker('right'); - - }, - - elementChanged: function() { - if (!this.element.is('input')) return; - if (!this.element.val().length) return; - - var dateString = this.element.val().split(this.locale.separator), - start = null, - end = null; - - if (dateString.length === 2) { - start = moment(dateString[0], this.locale.format); - end = moment(dateString[1], this.locale.format); - } - - if (this.singleDatePicker || start === null || end === null) { - start = moment(this.element.val(), this.locale.format); - end = start; - } - - if (!start.isValid() || !end.isValid()) return; - - this.setStartDate(start); - this.setEndDate(end); - this.updateView(); - }, - - keydown: function(e) { - //hide on tab or enter - if ((e.keyCode === 9) || (e.keyCode === 13)) { - this.hide(); - } - - //hide on esc and prevent propagation - if (e.keyCode === 27) { - e.preventDefault(); - e.stopPropagation(); - - this.hide(); - } - }, - - updateElement: function() { - if (this.element.is('input') && this.autoUpdateInput) { - var newValue = this.startDate.format(this.locale.format); - if (!this.singleDatePicker) { - newValue += this.locale.separator + this.endDate.format(this.locale.format); - } - if (newValue !== this.element.val()) { - this.element.val(newValue).trigger('change'); - } - } - }, - - remove: function() { - this.container.remove(); - this.element.off('.daterangepicker'); - this.element.removeData(); - } - - }; - - $.fn.daterangepicker = function(options, callback) { - var implementOptions = $.extend(true, {}, $.fn.daterangepicker.defaultOptions, options); - this.each(function() { - var el = $(this); - if (el.data('daterangepicker')) - el.data('daterangepicker').remove(); - el.data('daterangepicker', new DateRangePicker(el, implementOptions, callback)); - }); - return this; - }; - - return DateRangePicker; - -})); +/** +* @version: 3.1 +* @author: Dan Grossman http://www.dangrossman.info/ +* @copyright: Copyright (c) 2012-2019 Dan Grossman. All rights reserved. +* @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php +* @website: http://www.daterangepicker.com/ +*/ +// Following the UMD template https://github.com/umdjs/umd/blob/master/templates/returnExportsGlobal.js +(function (root, factory) { + if (typeof define === 'function' && define.amd) { + // AMD. Make globaly available as well + define(['moment', 'jquery'], function (moment, jquery) { + if (!jquery.fn) jquery.fn = {}; // webpack server rendering + if (typeof moment !== 'function' && moment.hasOwnProperty('default')) moment = moment['default'] + return factory(moment, jquery); + }); + } else if (typeof module === 'object' && module.exports) { + // Node / Browserify + //isomorphic issue + var jQuery = (typeof window != 'undefined') ? window.jQuery : undefined; + if (!jQuery) { + jQuery = require('jquery'); + if (!jQuery.fn) jQuery.fn = {}; + } + var moment = (typeof window != 'undefined' && typeof window.moment != 'undefined') ? window.moment : require('moment'); + module.exports = factory(moment, jQuery); + } else { + // Browser globals + root.daterangepicker = factory(root.moment, root.jQuery); + } +}(this, function(moment, $) { + var DateRangePicker = function(element, options, cb) { + + //default settings for options + this.parentEl = 'body'; + this.element = $(element); + this.startDate = moment().startOf('day'); + this.endDate = moment().endOf('day'); + this.minDate = false; + this.maxDate = false; + this.maxSpan = false; + this.autoApply = false; + this.singleDatePicker = false; + this.showDropdowns = false; + this.minYear = moment().subtract(100, 'year').format('YYYY'); + this.maxYear = moment().add(100, 'year').format('YYYY'); + this.showWeekNumbers = false; + this.showISOWeekNumbers = false; + this.showCustomRangeLabel = true; + this.timePicker = false; + this.timePicker24Hour = false; + this.timePickerIncrement = 1; + this.timePickerSeconds = false; + this.linkedCalendars = true; + this.autoUpdateInput = true; + this.alwaysShowCalendars = false; + this.ranges = {}; + + this.opens = 'right'; + if (this.element.hasClass('pull-right')) + this.opens = 'left'; + + this.drops = 'down'; + if (this.element.hasClass('dropup')) + this.drops = 'up'; + + this.buttonClasses = 'btn btn-sm'; + this.applyButtonClasses = 'btn-primary'; + this.cancelButtonClasses = 'btn-default'; + + this.locale = { + direction: 'ltr', + format: moment.localeData().longDateFormat('L'), + separator: ' - ', + applyLabel: 'Apply', + cancelLabel: 'Cancel', + weekLabel: 'W', + customRangeLabel: 'Custom Range', + daysOfWeek: moment.weekdaysMin(), + monthNames: moment.monthsShort(), + firstDay: moment.localeData().firstDayOfWeek() + }; + + this.callback = function() { }; + + //some state information + this.isShowing = false; + this.leftCalendar = {}; + this.rightCalendar = {}; + + //custom options from user + if (typeof options !== 'object' || options === null) + options = {}; + + //allow setting options with data attributes + //data-api options will be overwritten with custom javascript options + options = $.extend(this.element.data(), options); + + //html template for the picker UI + if (typeof options.template !== 'string' && !(options.template instanceof $)) + options.template = + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '
' + + '' + + '' + + ' ' + + '
' + + '
'; + + this.parentEl = (options.parentEl && $(options.parentEl).length) ? $(options.parentEl) : $(this.parentEl); + this.container = $(options.template).appendTo(this.parentEl); + + // + // handle all the possible options overriding defaults + // + + if (typeof options.locale === 'object') { + + if (typeof options.locale.direction === 'string') + this.locale.direction = options.locale.direction; + + if (typeof options.locale.format === 'string') + this.locale.format = options.locale.format; + + if (typeof options.locale.separator === 'string') + this.locale.separator = options.locale.separator; + + if (typeof options.locale.daysOfWeek === 'object') + this.locale.daysOfWeek = options.locale.daysOfWeek.slice(); + + if (typeof options.locale.monthNames === 'object') + this.locale.monthNames = options.locale.monthNames.slice(); + + if (typeof options.locale.firstDay === 'number') + this.locale.firstDay = options.locale.firstDay; + + if (typeof options.locale.applyLabel === 'string') + this.locale.applyLabel = options.locale.applyLabel; + + if (typeof options.locale.cancelLabel === 'string') + this.locale.cancelLabel = options.locale.cancelLabel; + + if (typeof options.locale.weekLabel === 'string') + this.locale.weekLabel = options.locale.weekLabel; + + if (typeof options.locale.customRangeLabel === 'string'){ + //Support unicode chars in the custom range name. + var elem = document.createElement('textarea'); + elem.innerHTML = options.locale.customRangeLabel; + var rangeHtml = elem.value; + this.locale.customRangeLabel = rangeHtml; + } + } + this.container.addClass(this.locale.direction); + + if (typeof options.startDate === 'string') + this.startDate = moment(options.startDate, this.locale.format); + + if (typeof options.endDate === 'string') + this.endDate = moment(options.endDate, this.locale.format); + + if (typeof options.minDate === 'string') + this.minDate = moment(options.minDate, this.locale.format); + + if (typeof options.maxDate === 'string') + this.maxDate = moment(options.maxDate, this.locale.format); + + if (typeof options.startDate === 'object') + this.startDate = moment(options.startDate); + + if (typeof options.endDate === 'object') + this.endDate = moment(options.endDate); + + if (typeof options.minDate === 'object') + this.minDate = moment(options.minDate); + + if (typeof options.maxDate === 'object') + this.maxDate = moment(options.maxDate); + + // sanity check for bad options + if (this.minDate && this.startDate.isBefore(this.minDate)) + this.startDate = this.minDate.clone(); + + // sanity check for bad options + if (this.maxDate && this.endDate.isAfter(this.maxDate)) + this.endDate = this.maxDate.clone(); + + if (typeof options.applyButtonClasses === 'string') + this.applyButtonClasses = options.applyButtonClasses; + + if (typeof options.applyClass === 'string') //backwards compat + this.applyButtonClasses = options.applyClass; + + if (typeof options.cancelButtonClasses === 'string') + this.cancelButtonClasses = options.cancelButtonClasses; + + if (typeof options.cancelClass === 'string') //backwards compat + this.cancelButtonClasses = options.cancelClass; + + if (typeof options.maxSpan === 'object') + this.maxSpan = options.maxSpan; + + if (typeof options.dateLimit === 'object') //backwards compat + this.maxSpan = options.dateLimit; + + if (typeof options.opens === 'string') + this.opens = options.opens; + + if (typeof options.drops === 'string') + this.drops = options.drops; + + if (typeof options.showWeekNumbers === 'boolean') + this.showWeekNumbers = options.showWeekNumbers; + + if (typeof options.showISOWeekNumbers === 'boolean') + this.showISOWeekNumbers = options.showISOWeekNumbers; + + if (typeof options.buttonClasses === 'string') + this.buttonClasses = options.buttonClasses; + + if (typeof options.buttonClasses === 'object') + this.buttonClasses = options.buttonClasses.join(' '); + + if (typeof options.showDropdowns === 'boolean') + this.showDropdowns = options.showDropdowns; + + if (typeof options.minYear === 'number') + this.minYear = options.minYear; + + if (typeof options.maxYear === 'number') + this.maxYear = options.maxYear; + + if (typeof options.showCustomRangeLabel === 'boolean') + this.showCustomRangeLabel = options.showCustomRangeLabel; + + if (typeof options.singleDatePicker === 'boolean') { + this.singleDatePicker = options.singleDatePicker; + if (this.singleDatePicker) + this.endDate = this.startDate.clone(); + } + + if (typeof options.timePicker === 'boolean') + this.timePicker = options.timePicker; + + if (typeof options.timePickerSeconds === 'boolean') + this.timePickerSeconds = options.timePickerSeconds; + + if (typeof options.timePickerIncrement === 'number') + this.timePickerIncrement = options.timePickerIncrement; + + if (typeof options.timePicker24Hour === 'boolean') + this.timePicker24Hour = options.timePicker24Hour; + + if (typeof options.autoApply === 'boolean') + this.autoApply = options.autoApply; + + if (typeof options.autoUpdateInput === 'boolean') + this.autoUpdateInput = options.autoUpdateInput; + + if (typeof options.linkedCalendars === 'boolean') + this.linkedCalendars = options.linkedCalendars; + + if (typeof options.isInvalidDate === 'function') + this.isInvalidDate = options.isInvalidDate; + + if (typeof options.isCustomDate === 'function') + this.isCustomDate = options.isCustomDate; + + if (typeof options.alwaysShowCalendars === 'boolean') + this.alwaysShowCalendars = options.alwaysShowCalendars; + + // update day names order to firstDay + if (this.locale.firstDay != 0) { + var iterator = this.locale.firstDay; + while (iterator > 0) { + this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()); + iterator--; + } + } + + var start, end, range; + + //if no start/end dates set, check if an input element contains initial values + if (typeof options.startDate === 'undefined' && typeof options.endDate === 'undefined') { + if ($(this.element).is(':text')) { + var val = $(this.element).val(), + split = val.split(this.locale.separator); + + start = end = null; + + if (split.length == 2) { + start = moment(split[0], this.locale.format); + end = moment(split[1], this.locale.format); + } else if (this.singleDatePicker && val !== "") { + start = moment(val, this.locale.format); + end = moment(val, this.locale.format); + } + if (start !== null && end !== null) { + this.setStartDate(start); + this.setEndDate(end); + } + } + } + + if (typeof options.ranges === 'object') { + for (range in options.ranges) { + + if (typeof options.ranges[range][0] === 'string') + start = moment(options.ranges[range][0], this.locale.format); + else + start = moment(options.ranges[range][0]); + + if (typeof options.ranges[range][1] === 'string') + end = moment(options.ranges[range][1], this.locale.format); + else + end = moment(options.ranges[range][1]); + + // If the start or end date exceed those allowed by the minDate or maxSpan + // options, shorten the range to the allowable period. + if (this.minDate && start.isBefore(this.minDate)) + start = this.minDate.clone(); + + var maxDate = this.maxDate; + if (this.maxSpan && maxDate && start.clone().add(this.maxSpan).isAfter(maxDate)) + maxDate = start.clone().add(this.maxSpan); + if (maxDate && end.isAfter(maxDate)) + end = maxDate.clone(); + + // If the end of the range is before the minimum or the start of the range is + // after the maximum, don't display this range option at all. + if ((this.minDate && end.isBefore(this.minDate, this.timepicker ? 'minute' : 'day')) + || (maxDate && start.isAfter(maxDate, this.timepicker ? 'minute' : 'day'))) + continue; + + //Support unicode chars in the range names. + var elem = document.createElement('textarea'); + elem.innerHTML = range; + var rangeHtml = elem.value; + + this.ranges[rangeHtml] = [start, end]; + } + + var list = '
    '; + for (range in this.ranges) { + list += '
  • ' + range + '
  • '; + } + if (this.showCustomRangeLabel) { + list += '
  • ' + this.locale.customRangeLabel + '
  • '; + } + list += '
'; + this.container.find('.ranges').prepend(list); + } + + if (typeof cb === 'function') { + this.callback = cb; + } + + if (!this.timePicker) { + this.startDate = this.startDate.startOf('day'); + this.endDate = this.endDate.endOf('day'); + this.container.find('.calendar-time').hide(); + } + + //can't be used together for now + if (this.timePicker && this.autoApply) + this.autoApply = false; + + if (this.autoApply) { + this.container.addClass('auto-apply'); + } + + if (typeof options.ranges === 'object') + this.container.addClass('show-ranges'); + + if (this.singleDatePicker) { + this.container.addClass('single'); + this.container.find('.drp-calendar.left').addClass('single'); + this.container.find('.drp-calendar.left').show(); + this.container.find('.drp-calendar.right').hide(); + if (!this.timePicker && this.autoApply) { + this.container.addClass('auto-apply'); + } + } + + if ((typeof options.ranges === 'undefined' && !this.singleDatePicker) || this.alwaysShowCalendars) { + this.container.addClass('show-calendar'); + } + + this.container.addClass('opens' + this.opens); + + //apply CSS classes and labels to buttons + this.container.find('.applyBtn, .cancelBtn').addClass(this.buttonClasses); + if (this.applyButtonClasses.length) + this.container.find('.applyBtn').addClass(this.applyButtonClasses); + if (this.cancelButtonClasses.length) + this.container.find('.cancelBtn').addClass(this.cancelButtonClasses); + this.container.find('.applyBtn').html(this.locale.applyLabel); + this.container.find('.cancelBtn').html(this.locale.cancelLabel); + + // + // event listeners + // + + this.container.find('.drp-calendar') + .on('click.daterangepicker', '.prev', $.proxy(this.clickPrev, this)) + .on('click.daterangepicker', '.next', $.proxy(this.clickNext, this)) + .on('mousedown.daterangepicker', 'td.available', $.proxy(this.clickDate, this)) + .on('mouseenter.daterangepicker', 'td.available', $.proxy(this.hoverDate, this)) + .on('change.daterangepicker', 'select.yearselect', $.proxy(this.monthOrYearChanged, this)) + .on('change.daterangepicker', 'select.monthselect', $.proxy(this.monthOrYearChanged, this)) + .on('change.daterangepicker', 'select.hourselect,select.minuteselect,select.secondselect,select.ampmselect', $.proxy(this.timeChanged, this)); + + this.container.find('.ranges') + .on('click.daterangepicker', 'li', $.proxy(this.clickRange, this)); + + this.container.find('.drp-buttons') + .on('click.daterangepicker', 'button.applyBtn', $.proxy(this.clickApply, this)) + .on('click.daterangepicker', 'button.cancelBtn', $.proxy(this.clickCancel, this)); + + if (this.element.is('input') || this.element.is('button')) { + this.element.on({ + 'click.daterangepicker': $.proxy(this.show, this), + 'focus.daterangepicker': $.proxy(this.show, this), + 'keyup.daterangepicker': $.proxy(this.elementChanged, this), + 'keydown.daterangepicker': $.proxy(this.keydown, this) //IE 11 compatibility + }); + } else { + this.element.on('click.daterangepicker', $.proxy(this.toggle, this)); + this.element.on('keydown.daterangepicker', $.proxy(this.toggle, this)); + } + + // + // if attached to a text input, set the initial value + // + + this.updateElement(); + + }; + + DateRangePicker.prototype = { + + constructor: DateRangePicker, + + setStartDate: function(startDate) { + if (typeof startDate === 'string') + this.startDate = moment(startDate, this.locale.format); + + if (typeof startDate === 'object') + this.startDate = moment(startDate); + + if (!this.timePicker) + this.startDate = this.startDate.startOf('day'); + + if (this.timePicker && this.timePickerIncrement) + this.startDate.minute(Math.round(this.startDate.minute() / this.timePickerIncrement) * this.timePickerIncrement); + + if (this.minDate && this.startDate.isBefore(this.minDate)) { + this.startDate = this.minDate.clone(); + if (this.timePicker && this.timePickerIncrement) + this.startDate.minute(Math.round(this.startDate.minute() / this.timePickerIncrement) * this.timePickerIncrement); + } + + if (this.maxDate && this.startDate.isAfter(this.maxDate)) { + this.startDate = this.maxDate.clone(); + if (this.timePicker && this.timePickerIncrement) + this.startDate.minute(Math.floor(this.startDate.minute() / this.timePickerIncrement) * this.timePickerIncrement); + } + + if (!this.isShowing) + this.updateElement(); + + this.updateMonthsInView(); + }, + + setEndDate: function(endDate) { + if (typeof endDate === 'string') + this.endDate = moment(endDate, this.locale.format); + + if (typeof endDate === 'object') + this.endDate = moment(endDate); + + if (!this.timePicker) + this.endDate = this.endDate.endOf('day'); + + if (this.timePicker && this.timePickerIncrement) + this.endDate.minute(Math.round(this.endDate.minute() / this.timePickerIncrement) * this.timePickerIncrement); + + if (this.endDate.isBefore(this.startDate)) + this.endDate = this.startDate.clone(); + + if (this.maxDate && this.endDate.isAfter(this.maxDate)) + this.endDate = this.maxDate.clone(); + + if (this.maxSpan && this.startDate.clone().add(this.maxSpan).isBefore(this.endDate)) + this.endDate = this.startDate.clone().add(this.maxSpan); + + this.previousRightTime = this.endDate.clone(); + + this.container.find('.drp-selected').html(this.startDate.format(this.locale.format) + this.locale.separator + this.endDate.format(this.locale.format)); + + if (!this.isShowing) + this.updateElement(); + + this.updateMonthsInView(); + }, + + isInvalidDate: function() { + return false; + }, + + isCustomDate: function() { + return false; + }, + + updateView: function() { + if (this.timePicker) { + this.renderTimePicker('left'); + this.renderTimePicker('right'); + if (!this.endDate) { + this.container.find('.right .calendar-time select').prop('disabled', true).addClass('disabled'); + } else { + this.container.find('.right .calendar-time select').prop('disabled', false).removeClass('disabled'); + } + } + if (this.endDate) + this.container.find('.drp-selected').html(this.startDate.format(this.locale.format) + this.locale.separator + this.endDate.format(this.locale.format)); + this.updateMonthsInView(); + this.updateCalendars(); + this.updateFormInputs(); + }, + + updateMonthsInView: function() { + if (this.endDate) { + + //if both dates are visible already, do nothing + if (!this.singleDatePicker && this.leftCalendar.month && this.rightCalendar.month && + (this.startDate.format('YYYY-MM') == this.leftCalendar.month.format('YYYY-MM') || this.startDate.format('YYYY-MM') == this.rightCalendar.month.format('YYYY-MM')) + && + (this.endDate.format('YYYY-MM') == this.leftCalendar.month.format('YYYY-MM') || this.endDate.format('YYYY-MM') == this.rightCalendar.month.format('YYYY-MM')) + ) { + return; + } + + this.leftCalendar.month = this.startDate.clone().date(2); + if (!this.linkedCalendars && (this.endDate.month() != this.startDate.month() || this.endDate.year() != this.startDate.year())) { + this.rightCalendar.month = this.endDate.clone().date(2); + } else { + this.rightCalendar.month = this.startDate.clone().date(2).add(1, 'month'); + } + + } else { + if (this.leftCalendar.month.format('YYYY-MM') != this.startDate.format('YYYY-MM') && this.rightCalendar.month.format('YYYY-MM') != this.startDate.format('YYYY-MM')) { + this.leftCalendar.month = this.startDate.clone().date(2); + this.rightCalendar.month = this.startDate.clone().date(2).add(1, 'month'); + } + } + if (this.maxDate && this.linkedCalendars && !this.singleDatePicker && this.rightCalendar.month > this.maxDate) { + this.rightCalendar.month = this.maxDate.clone().date(2); + this.leftCalendar.month = this.maxDate.clone().date(2).subtract(1, 'month'); + } + }, + + updateCalendars: function() { + + if (this.timePicker) { + var hour, minute, second; + if (this.endDate) { + hour = parseInt(this.container.find('.left .hourselect').val(), 10); + minute = parseInt(this.container.find('.left .minuteselect').val(), 10); + if (isNaN(minute)) { + minute = parseInt(this.container.find('.left .minuteselect option:last').val(), 10); + } + second = this.timePickerSeconds ? parseInt(this.container.find('.left .secondselect').val(), 10) : 0; + if (!this.timePicker24Hour) { + var ampm = this.container.find('.left .ampmselect').val(); + if (ampm === 'PM' && hour < 12) + hour += 12; + if (ampm === 'AM' && hour === 12) + hour = 0; + } + } else { + hour = parseInt(this.container.find('.right .hourselect').val(), 10); + minute = parseInt(this.container.find('.right .minuteselect').val(), 10); + if (isNaN(minute)) { + minute = parseInt(this.container.find('.right .minuteselect option:last').val(), 10); + } + second = this.timePickerSeconds ? parseInt(this.container.find('.right .secondselect').val(), 10) : 0; + if (!this.timePicker24Hour) { + var ampm = this.container.find('.right .ampmselect').val(); + if (ampm === 'PM' && hour < 12) + hour += 12; + if (ampm === 'AM' && hour === 12) + hour = 0; + } + } + this.leftCalendar.month.hour(hour).minute(minute).second(second); + this.rightCalendar.month.hour(hour).minute(minute).second(second); + } + + this.renderCalendar('left'); + this.renderCalendar('right'); + + //highlight any predefined range matching the current start and end dates + this.container.find('.ranges li').removeClass('active'); + if (this.endDate == null) return; + + this.calculateChosenLabel(); + }, + + renderCalendar: function(side) { + + // + // Build the matrix of dates that will populate the calendar + // + + var calendar = side == 'left' ? this.leftCalendar : this.rightCalendar; + var month = calendar.month.month(); + var year = calendar.month.year(); + var hour = calendar.month.hour(); + var minute = calendar.month.minute(); + var second = calendar.month.second(); + var daysInMonth = moment([year, month]).daysInMonth(); + var firstDay = moment([year, month, 1]); + var lastDay = moment([year, month, daysInMonth]); + var lastMonth = moment(firstDay).subtract(1, 'month').month(); + var lastYear = moment(firstDay).subtract(1, 'month').year(); + var daysInLastMonth = moment([lastYear, lastMonth]).daysInMonth(); + var dayOfWeek = firstDay.day(); + + //initialize a 6 rows x 7 columns array for the calendar + var calendar = []; + calendar.firstDay = firstDay; + calendar.lastDay = lastDay; + + for (var i = 0; i < 6; i++) { + calendar[i] = []; + } + + //populate the calendar with date objects + var startDay = daysInLastMonth - dayOfWeek + this.locale.firstDay + 1; + if (startDay > daysInLastMonth) + startDay -= 7; + + if (dayOfWeek == this.locale.firstDay) + startDay = daysInLastMonth - 6; + + var curDate = moment([lastYear, lastMonth, startDay, 12, minute, second]); + + var col, row; + for (var i = 0, col = 0, row = 0; i < 42; i++, col++, curDate = moment(curDate).add(24, 'hour')) { + if (i > 0 && col % 7 === 0) { + col = 0; + row++; + } + calendar[row][col] = curDate.clone().hour(hour).minute(minute).second(second); + curDate.hour(12); + + if (this.minDate && calendar[row][col].format('YYYY-MM-DD') == this.minDate.format('YYYY-MM-DD') && calendar[row][col].isBefore(this.minDate) && side == 'left') { + calendar[row][col] = this.minDate.clone(); + } + + if (this.maxDate && calendar[row][col].format('YYYY-MM-DD') == this.maxDate.format('YYYY-MM-DD') && calendar[row][col].isAfter(this.maxDate) && side == 'right') { + calendar[row][col] = this.maxDate.clone(); + } + + } + + //make the calendar object available to hoverDate/clickDate + if (side == 'left') { + this.leftCalendar.calendar = calendar; + } else { + this.rightCalendar.calendar = calendar; + } + + // + // Display the calendar + // + + var minDate = side == 'left' ? this.minDate : this.startDate; + var maxDate = this.maxDate; + var selected = side == 'left' ? this.startDate : this.endDate; + var arrow = this.locale.direction == 'ltr' ? {left: 'chevron-left', right: 'chevron-right'} : {left: 'chevron-right', right: 'chevron-left'}; + + var html = ''; + html += ''; + html += ''; + + // add empty cell for week number + if (this.showWeekNumbers || this.showISOWeekNumbers) + html += ''; + + if ((!minDate || minDate.isBefore(calendar.firstDay)) && (!this.linkedCalendars || side == 'left')) { + html += ''; + } else { + html += ''; + } + + var dateHtml = this.locale.monthNames[calendar[1][1].month()] + calendar[1][1].format(" YYYY"); + + if (this.showDropdowns) { + var currentMonth = calendar[1][1].month(); + var currentYear = calendar[1][1].year(); + var maxYear = (maxDate && maxDate.year()) || (this.maxYear); + var minYear = (minDate && minDate.year()) || (this.minYear); + var inMinYear = currentYear == minYear; + var inMaxYear = currentYear == maxYear; + + var monthHtml = '"; + + var yearHtml = ''; + + dateHtml = monthHtml + yearHtml; + } + + html += ''; + if ((!maxDate || maxDate.isAfter(calendar.lastDay)) && (!this.linkedCalendars || side == 'right' || this.singleDatePicker)) { + html += ''; + } else { + html += ''; + } + + html += ''; + html += ''; + + // add week number label + if (this.showWeekNumbers || this.showISOWeekNumbers) + html += ''; + + $.each(this.locale.daysOfWeek, function(index, dayOfWeek) { + html += ''; + }); + + html += ''; + html += ''; + html += ''; + + //adjust maxDate to reflect the maxSpan setting in order to + //grey out end dates beyond the maxSpan + if (this.endDate == null && this.maxSpan) { + var maxLimit = this.startDate.clone().add(this.maxSpan).endOf('day'); + if (!maxDate || maxLimit.isBefore(maxDate)) { + maxDate = maxLimit; + } + } + + for (var row = 0; row < 6; row++) { + html += ''; + + // add week number + if (this.showWeekNumbers) + html += ''; + else if (this.showISOWeekNumbers) + html += ''; + + for (var col = 0; col < 7; col++) { + + var classes = []; + + //highlight today's date + if (calendar[row][col].isSame(new Date(), "day")) + classes.push('today'); + + //highlight weekends + if (calendar[row][col].isoWeekday() > 5) + classes.push('weekend'); + + //grey out the dates in other months displayed at beginning and end of this calendar + if (calendar[row][col].month() != calendar[1][1].month()) + classes.push('off', 'ends'); + + //don't allow selection of dates before the minimum date + if (this.minDate && calendar[row][col].isBefore(this.minDate, 'day')) + classes.push('off', 'disabled'); + + //don't allow selection of dates after the maximum date + if (maxDate && calendar[row][col].isAfter(maxDate, 'day')) + classes.push('off', 'disabled'); + + //don't allow selection of date if a custom function decides it's invalid + if (this.isInvalidDate(calendar[row][col])) + classes.push('off', 'disabled'); + + //highlight the currently selected start date + if (calendar[row][col].format('YYYY-MM-DD') == this.startDate.format('YYYY-MM-DD')) + classes.push('active', 'start-date'); + + //highlight the currently selected end date + if (this.endDate != null && calendar[row][col].format('YYYY-MM-DD') == this.endDate.format('YYYY-MM-DD')) + classes.push('active', 'end-date'); + + //highlight dates in-between the selected dates + if (this.endDate != null && calendar[row][col] > this.startDate && calendar[row][col] < this.endDate) + classes.push('in-range'); + + //apply custom classes for this date + var isCustom = this.isCustomDate(calendar[row][col]); + if (isCustom !== false) { + if (typeof isCustom === 'string') + classes.push(isCustom); + else + Array.prototype.push.apply(classes, isCustom); + } + + var cname = '', disabled = false; + for (var i = 0; i < classes.length; i++) { + cname += classes[i] + ' '; + if (classes[i] == 'disabled') + disabled = true; + } + if (!disabled) + cname += 'available'; + + html += ''; + + } + html += ''; + } + + html += ''; + html += '
' + dateHtml + '
' + this.locale.weekLabel + '' + dayOfWeek + '
' + calendar[row][0].week() + '' + calendar[row][0].isoWeek() + '' + calendar[row][col].date() + '
'; + + this.container.find('.drp-calendar.' + side + ' .calendar-table').html(html); + + }, + + renderTimePicker: function(side) { + + // Don't bother updating the time picker if it's currently disabled + // because an end date hasn't been clicked yet + if (side == 'right' && !this.endDate) return; + + var html, selected, minDate, maxDate = this.maxDate; + + if (this.maxSpan && (!this.maxDate || this.startDate.clone().add(this.maxSpan).isBefore(this.maxDate))) + maxDate = this.startDate.clone().add(this.maxSpan); + + if (side == 'left') { + selected = this.startDate.clone(); + minDate = this.minDate; + } else if (side == 'right') { + selected = this.endDate.clone(); + minDate = this.startDate; + + //Preserve the time already selected + var timeSelector = this.container.find('.drp-calendar.right .calendar-time'); + if (timeSelector.html() != '') { + + selected.hour(!isNaN(selected.hour()) ? selected.hour() : timeSelector.find('.hourselect option:selected').val()); + selected.minute(!isNaN(selected.minute()) ? selected.minute() : timeSelector.find('.minuteselect option:selected').val()); + selected.second(!isNaN(selected.second()) ? selected.second() : timeSelector.find('.secondselect option:selected').val()); + + if (!this.timePicker24Hour) { + var ampm = timeSelector.find('.ampmselect option:selected').val(); + if (ampm === 'PM' && selected.hour() < 12) + selected.hour(selected.hour() + 12); + if (ampm === 'AM' && selected.hour() === 12) + selected.hour(0); + } + + } + + if (selected.isBefore(this.startDate)) + selected = this.startDate.clone(); + + if (maxDate && selected.isAfter(maxDate)) + selected = maxDate.clone(); + + } + + // + // hours + // + + html = ' '; + + // + // minutes + // + + html += ': '; + + // + // seconds + // + + if (this.timePickerSeconds) { + html += ': '; + } + + // + // AM/PM + // + + if (!this.timePicker24Hour) { + html += ''; + } + + this.container.find('.drp-calendar.' + side + ' .calendar-time').html(html); + + }, + + updateFormInputs: function() { + + if (this.singleDatePicker || (this.endDate && (this.startDate.isBefore(this.endDate) || this.startDate.isSame(this.endDate)))) { + this.container.find('button.applyBtn').prop('disabled', false); + } else { + this.container.find('button.applyBtn').prop('disabled', true); + } + + }, + + move: function() { + var parentOffset = { top: 0, left: 0 }, + containerTop, + drops = this.drops; + + var parentRightEdge = $(window).width(); + if (!this.parentEl.is('body')) { + parentOffset = { + top: this.parentEl.offset().top - this.parentEl.scrollTop(), + left: this.parentEl.offset().left - this.parentEl.scrollLeft() + }; + parentRightEdge = this.parentEl[0].clientWidth + this.parentEl.offset().left; + } + + switch (drops) { + case 'auto': + containerTop = this.element.offset().top + this.element.outerHeight() - parentOffset.top; + if (containerTop + this.container.outerHeight() >= this.parentEl[0].scrollHeight) { + containerTop = this.element.offset().top - this.container.outerHeight() - parentOffset.top; + drops = 'up'; + } + break; + case 'up': + containerTop = this.element.offset().top - this.container.outerHeight() - parentOffset.top; + break; + default: + containerTop = this.element.offset().top + this.element.outerHeight() - parentOffset.top; + break; + } + + // Force the container to it's actual width + this.container.css({ + top: 0, + left: 0, + right: 'auto' + }); + var containerWidth = this.container.outerWidth(); + + this.container.toggleClass('drop-up', drops == 'up'); + + if (this.opens == 'left') { + var containerRight = parentRightEdge - this.element.offset().left - this.element.outerWidth(); + if (containerWidth + containerRight > $(window).width()) { + this.container.css({ + top: containerTop, + right: 'auto', + left: 9 + }); + } else { + this.container.css({ + top: containerTop, + right: containerRight, + left: 'auto' + }); + } + } else if (this.opens == 'center') { + var containerLeft = this.element.offset().left - parentOffset.left + this.element.outerWidth() / 2 + - containerWidth / 2; + if (containerLeft < 0) { + this.container.css({ + top: containerTop, + right: 'auto', + left: 9 + }); + } else if (containerLeft + containerWidth > $(window).width()) { + this.container.css({ + top: containerTop, + left: 'auto', + right: 0 + }); + } else { + this.container.css({ + top: containerTop, + left: containerLeft, + right: 'auto' + }); + } + } else { + var containerLeft = this.element.offset().left - parentOffset.left; + if (containerLeft + containerWidth > $(window).width()) { + this.container.css({ + top: containerTop, + left: 'auto', + right: 0 + }); + } else { + this.container.css({ + top: containerTop, + left: containerLeft, + right: 'auto' + }); + } + } + }, + + show: function(e) { + if (this.isShowing) return; + + // Create a click proxy that is private to this instance of datepicker, for unbinding + this._outsideClickProxy = $.proxy(function(e) { this.outsideClick(e); }, this); + + // Bind global datepicker mousedown for hiding and + $(document) + .on('mousedown.daterangepicker', this._outsideClickProxy) + // also support mobile devices + .on('touchend.daterangepicker', this._outsideClickProxy) + // also explicitly play nice with Bootstrap dropdowns, which stopPropagation when clicking them + .on('click.daterangepicker', '[data-toggle=dropdown]', this._outsideClickProxy) + // and also close when focus changes to outside the picker (eg. tabbing between controls) + .on('focusin.daterangepicker', this._outsideClickProxy); + + // Reposition the picker if the window is resized while it's open + $(window).on('resize.daterangepicker', $.proxy(function(e) { this.move(e); }, this)); + + this.oldStartDate = this.startDate.clone(); + this.oldEndDate = this.endDate.clone(); + this.previousRightTime = this.endDate.clone(); + + this.updateView(); + this.container.show(); + this.move(); + this.element.trigger('show.daterangepicker', this); + this.isShowing = true; + }, + + hide: function(e) { + if (!this.isShowing) return; + + //incomplete date selection, revert to last values + if (!this.endDate) { + this.startDate = this.oldStartDate.clone(); + this.endDate = this.oldEndDate.clone(); + } + + //if a new date range was selected, invoke the user callback function + if (!this.startDate.isSame(this.oldStartDate) || !this.endDate.isSame(this.oldEndDate)) + this.callback(this.startDate.clone(), this.endDate.clone(), this.chosenLabel); + + //if picker is attached to a text input, update it + this.updateElement(); + + $(document).off('.daterangepicker'); + $(window).off('.daterangepicker'); + this.container.hide(); + this.element.trigger('hide.daterangepicker', this); + this.isShowing = false; + }, + + toggle: function(e) { + if (this.isShowing) { + this.hide(); + } else { + this.show(); + } + }, + + outsideClick: function(e) { + var target = $(e.target); + // if the page is clicked anywhere except within the daterangerpicker/button + // itself then call this.hide() + if ( + // ie modal dialog fix + e.type == "focusin" || + target.closest(this.element).length || + target.closest(this.container).length || + target.closest('.calendar-table').length + ) return; + this.hide(); + this.element.trigger('outsideClick.daterangepicker', this); + }, + + showCalendars: function() { + this.container.addClass('show-calendar'); + this.move(); + this.element.trigger('showCalendar.daterangepicker', this); + }, + + hideCalendars: function() { + this.container.removeClass('show-calendar'); + this.element.trigger('hideCalendar.daterangepicker', this); + }, + + clickRange: function(e) { + var label = e.target.getAttribute('data-range-key'); + this.chosenLabel = label; + if (label == this.locale.customRangeLabel) { + this.showCalendars(); + } else { + var dates = this.ranges[label]; + this.startDate = dates[0]; + this.endDate = dates[1]; + + if (!this.timePicker) { + this.startDate.startOf('day'); + this.endDate.endOf('day'); + } + + if (!this.alwaysShowCalendars) + this.hideCalendars(); + this.clickApply(); + } + }, + + clickPrev: function(e) { + var cal = $(e.target).parents('.drp-calendar'); + if (cal.hasClass('left')) { + this.leftCalendar.month.subtract(1, 'month'); + if (this.linkedCalendars) + this.rightCalendar.month.subtract(1, 'month'); + } else { + this.rightCalendar.month.subtract(1, 'month'); + } + this.updateCalendars(); + }, + + clickNext: function(e) { + var cal = $(e.target).parents('.drp-calendar'); + if (cal.hasClass('left')) { + this.leftCalendar.month.add(1, 'month'); + } else { + this.rightCalendar.month.add(1, 'month'); + if (this.linkedCalendars) + this.leftCalendar.month.add(1, 'month'); + } + this.updateCalendars(); + }, + + hoverDate: function(e) { + + //ignore dates that can't be selected + if (!$(e.target).hasClass('available')) return; + + var title = $(e.target).attr('data-title'); + var row = title.substr(1, 1); + var col = title.substr(3, 1); + var cal = $(e.target).parents('.drp-calendar'); + var date = cal.hasClass('left') ? this.leftCalendar.calendar[row][col] : this.rightCalendar.calendar[row][col]; + + //highlight the dates between the start date and the date being hovered as a potential end date + var leftCalendar = this.leftCalendar; + var rightCalendar = this.rightCalendar; + var startDate = this.startDate; + if (!this.endDate) { + this.container.find('.drp-calendar tbody td').each(function(index, el) { + + //skip week numbers, only look at dates + if ($(el).hasClass('week')) return; + + var title = $(el).attr('data-title'); + var row = title.substr(1, 1); + var col = title.substr(3, 1); + var cal = $(el).parents('.drp-calendar'); + var dt = cal.hasClass('left') ? leftCalendar.calendar[row][col] : rightCalendar.calendar[row][col]; + + if ((dt.isAfter(startDate) && dt.isBefore(date)) || dt.isSame(date, 'day')) { + $(el).addClass('in-range'); + } else { + $(el).removeClass('in-range'); + } + + }); + } + + }, + + clickDate: function(e) { + + if (!$(e.target).hasClass('available')) return; + + var title = $(e.target).attr('data-title'); + var row = title.substr(1, 1); + var col = title.substr(3, 1); + var cal = $(e.target).parents('.drp-calendar'); + var date = cal.hasClass('left') ? this.leftCalendar.calendar[row][col] : this.rightCalendar.calendar[row][col]; + + // + // this function needs to do a few things: + // * alternate between selecting a start and end date for the range, + // * if the time picker is enabled, apply the hour/minute/second from the select boxes to the clicked date + // * if autoapply is enabled, and an end date was chosen, apply the selection + // * if single date picker mode, and time picker isn't enabled, apply the selection immediately + // * if one of the inputs above the calendars was focused, cancel that manual input + // + + if (this.endDate || date.isBefore(this.startDate, 'day')) { //picking start + if (this.timePicker) { + var hour = parseInt(this.container.find('.left .hourselect').val(), 10); + if (!this.timePicker24Hour) { + var ampm = this.container.find('.left .ampmselect').val(); + if (ampm === 'PM' && hour < 12) + hour += 12; + if (ampm === 'AM' && hour === 12) + hour = 0; + } + var minute = parseInt(this.container.find('.left .minuteselect').val(), 10); + if (isNaN(minute)) { + minute = parseInt(this.container.find('.left .minuteselect option:last').val(), 10); + } + var second = this.timePickerSeconds ? parseInt(this.container.find('.left .secondselect').val(), 10) : 0; + date = date.clone().hour(hour).minute(minute).second(second); + } + this.endDate = null; + this.setStartDate(date.clone()); + } else if (!this.endDate && date.isBefore(this.startDate)) { + //special case: clicking the same date for start/end, + //but the time of the end date is before the start date + this.setEndDate(this.startDate.clone()); + } else { // picking end + if (this.timePicker) { + var hour = parseInt(this.container.find('.right .hourselect').val(), 10); + if (!this.timePicker24Hour) { + var ampm = this.container.find('.right .ampmselect').val(); + if (ampm === 'PM' && hour < 12) + hour += 12; + if (ampm === 'AM' && hour === 12) + hour = 0; + } + var minute = parseInt(this.container.find('.right .minuteselect').val(), 10); + if (isNaN(minute)) { + minute = parseInt(this.container.find('.right .minuteselect option:last').val(), 10); + } + var second = this.timePickerSeconds ? parseInt(this.container.find('.right .secondselect').val(), 10) : 0; + date = date.clone().hour(hour).minute(minute).second(second); + } + this.setEndDate(date.clone()); + if (this.autoApply) { + this.calculateChosenLabel(); + this.clickApply(); + } + } + + if (this.singleDatePicker) { + this.setEndDate(this.startDate); + if (!this.timePicker && this.autoApply) + this.clickApply(); + } + + this.updateView(); + + //This is to cancel the blur event handler if the mouse was in one of the inputs + e.stopPropagation(); + + }, + + calculateChosenLabel: function () { + var customRange = true; + var i = 0; + for (var range in this.ranges) { + if (this.timePicker) { + var format = this.timePickerSeconds ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD HH:mm"; + //ignore times when comparing dates if time picker seconds is not enabled + if (this.startDate.format(format) == this.ranges[range][0].format(format) && this.endDate.format(format) == this.ranges[range][1].format(format)) { + customRange = false; + this.chosenLabel = this.container.find('.ranges li:eq(' + i + ')').addClass('active').attr('data-range-key'); + break; + } + } else { + //ignore times when comparing dates if time picker is not enabled + if (this.startDate.format('YYYY-MM-DD') == this.ranges[range][0].format('YYYY-MM-DD') && this.endDate.format('YYYY-MM-DD') == this.ranges[range][1].format('YYYY-MM-DD')) { + customRange = false; + this.chosenLabel = this.container.find('.ranges li:eq(' + i + ')').addClass('active').attr('data-range-key'); + break; + } + } + i++; + } + if (customRange) { + if (this.showCustomRangeLabel) { + this.chosenLabel = this.container.find('.ranges li:last').addClass('active').attr('data-range-key'); + } else { + this.chosenLabel = null; + } + this.showCalendars(); + } + }, + + clickApply: function(e) { + this.hide(); + this.element.trigger('apply.daterangepicker', this); + }, + + clickCancel: function(e) { + this.startDate = this.oldStartDate; + this.endDate = this.oldEndDate; + this.hide(); + this.element.trigger('cancel.daterangepicker', this); + }, + + monthOrYearChanged: function(e) { + var isLeft = $(e.target).closest('.drp-calendar').hasClass('left'), + leftOrRight = isLeft ? 'left' : 'right', + cal = this.container.find('.drp-calendar.'+leftOrRight); + + // Month must be Number for new moment versions + var month = parseInt(cal.find('.monthselect').val(), 10); + var year = cal.find('.yearselect').val(); + + if (!isLeft) { + if (year < this.startDate.year() || (year == this.startDate.year() && month < this.startDate.month())) { + month = this.startDate.month(); + year = this.startDate.year(); + } + } + + if (this.minDate) { + if (year < this.minDate.year() || (year == this.minDate.year() && month < this.minDate.month())) { + month = this.minDate.month(); + year = this.minDate.year(); + } + } + + if (this.maxDate) { + if (year > this.maxDate.year() || (year == this.maxDate.year() && month > this.maxDate.month())) { + month = this.maxDate.month(); + year = this.maxDate.year(); + } + } + + if (isLeft) { + this.leftCalendar.month.month(month).year(year); + if (this.linkedCalendars) + this.rightCalendar.month = this.leftCalendar.month.clone().add(1, 'month'); + } else { + this.rightCalendar.month.month(month).year(year); + if (this.linkedCalendars) + this.leftCalendar.month = this.rightCalendar.month.clone().subtract(1, 'month'); + } + this.updateCalendars(); + }, + + timeChanged: function(e) { + + var cal = $(e.target).closest('.drp-calendar'), + isLeft = cal.hasClass('left'); + + var hour = parseInt(cal.find('.hourselect').val(), 10); + var minute = parseInt(cal.find('.minuteselect').val(), 10); + if (isNaN(minute)) { + minute = parseInt(cal.find('.minuteselect option:last').val(), 10); + } + var second = this.timePickerSeconds ? parseInt(cal.find('.secondselect').val(), 10) : 0; + + if (!this.timePicker24Hour) { + var ampm = cal.find('.ampmselect').val(); + if (ampm === 'PM' && hour < 12) + hour += 12; + if (ampm === 'AM' && hour === 12) + hour = 0; + } + + if (isLeft) { + var start = this.startDate.clone(); + start.hour(hour); + start.minute(minute); + start.second(second); + this.setStartDate(start); + if (this.singleDatePicker) { + this.endDate = this.startDate.clone(); + } else if (this.endDate && this.endDate.format('YYYY-MM-DD') == start.format('YYYY-MM-DD') && this.endDate.isBefore(start)) { + this.setEndDate(start.clone()); + } + } else if (this.endDate) { + var end = this.endDate.clone(); + end.hour(hour); + end.minute(minute); + end.second(second); + this.setEndDate(end); + } + + //update the calendars so all clickable dates reflect the new time component + this.updateCalendars(); + + //update the form inputs above the calendars with the new time + this.updateFormInputs(); + + //re-render the time pickers because changing one selection can affect what's enabled in another + this.renderTimePicker('left'); + this.renderTimePicker('right'); + + }, + + elementChanged: function() { + if (!this.element.is('input')) return; + if (!this.element.val().length) return; + + var dateString = this.element.val().split(this.locale.separator), + start = null, + end = null; + + if (dateString.length === 2) { + start = moment(dateString[0], this.locale.format); + end = moment(dateString[1], this.locale.format); + } + + if (this.singleDatePicker || start === null || end === null) { + start = moment(this.element.val(), this.locale.format); + end = start; + } + + if (!start.isValid() || !end.isValid()) return; + + this.setStartDate(start); + this.setEndDate(end); + this.updateView(); + }, + + keydown: function(e) { + //hide on tab or enter + if ((e.keyCode === 9) || (e.keyCode === 13)) { + this.hide(); + } + + //hide on esc and prevent propagation + if (e.keyCode === 27) { + e.preventDefault(); + e.stopPropagation(); + + this.hide(); + } + }, + + updateElement: function() { + if (this.element.is('input') && this.autoUpdateInput) { + var newValue = this.startDate.format(this.locale.format); + if (!this.singleDatePicker) { + newValue += this.locale.separator + this.endDate.format(this.locale.format); + } + if (newValue !== this.element.val()) { + this.element.val(newValue).trigger('change'); + } + } + }, + + remove: function() { + this.container.remove(); + this.element.off('.daterangepicker'); + this.element.removeData(); + } + + }; + + $.fn.daterangepicker = function(options, callback) { + var implementOptions = $.extend(true, {}, $.fn.daterangepicker.defaultOptions, options); + this.each(function() { + var el = $(this); + if (el.data('daterangepicker')) + el.data('daterangepicker').remove(); + el.data('daterangepicker', new DateRangePicker(el, implementOptions, callback)); + }); + return this; + }; + + return DateRangePicker; + +})); diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap/css/bootstrap.css b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap/css/bootstrap.css index a3a56828..b7ab57f2 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap/css/bootstrap.css +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap/css/bootstrap.css @@ -1,11 +1,11 @@ @charset "UTF-8"; /*! - * Bootstrap v5.2.2 (https://getbootstrap.com/) - * Copyright 2011-2022 The Bootstrap Authors - * Copyright 2011-2022 Twitter, Inc. + * Bootstrap v5.3.3 (https://getbootstrap.com/) + * Copyright 2011-2024 The Bootstrap Authors * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) */ -:root { +:root, +[data-bs-theme=light] { --bs-blue: #0d6efd; --bs-indigo: #6610f2; --bs-purple: #6f42c1; @@ -45,10 +45,32 @@ --bs-danger-rgb: 220, 53, 69; --bs-light-rgb: 248, 249, 250; --bs-dark-rgb: 33, 37, 41; + --bs-primary-text-emphasis: #052c65; + --bs-secondary-text-emphasis: #2b2f32; + --bs-success-text-emphasis: #0a3622; + --bs-info-text-emphasis: #055160; + --bs-warning-text-emphasis: #664d03; + --bs-danger-text-emphasis: #58151c; + --bs-light-text-emphasis: #495057; + --bs-dark-text-emphasis: #495057; + --bs-primary-bg-subtle: #cfe2ff; + --bs-secondary-bg-subtle: #e2e3e5; + --bs-success-bg-subtle: #d1e7dd; + --bs-info-bg-subtle: #cff4fc; + --bs-warning-bg-subtle: #fff3cd; + --bs-danger-bg-subtle: #f8d7da; + --bs-light-bg-subtle: #fcfcfd; + --bs-dark-bg-subtle: #ced4da; + --bs-primary-border-subtle: #9ec5fe; + --bs-secondary-border-subtle: #c4c8cb; + --bs-success-border-subtle: #a3cfbb; + --bs-info-border-subtle: #9eeaf9; + --bs-warning-border-subtle: #ffe69c; + --bs-danger-border-subtle: #f1aeb5; + --bs-light-border-subtle: #e9ecef; + --bs-dark-border-subtle: #adb5bd; --bs-white-rgb: 255, 255, 255; --bs-black-rgb: 0, 0, 0; - --bs-body-color-rgb: 33, 37, 41; - --bs-body-bg-rgb: 255, 255, 255; --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0)); @@ -57,7 +79,28 @@ --bs-body-font-weight: 400; --bs-body-line-height: 1.5; --bs-body-color: #212529; + --bs-body-color-rgb: 33, 37, 41; --bs-body-bg: #fff; + --bs-body-bg-rgb: 255, 255, 255; + --bs-emphasis-color: #000; + --bs-emphasis-color-rgb: 0, 0, 0; + --bs-secondary-color: rgba(33, 37, 41, 0.75); + --bs-secondary-color-rgb: 33, 37, 41; + --bs-secondary-bg: #e9ecef; + --bs-secondary-bg-rgb: 233, 236, 239; + --bs-tertiary-color: rgba(33, 37, 41, 0.5); + --bs-tertiary-color-rgb: 33, 37, 41; + --bs-tertiary-bg: #f8f9fa; + --bs-tertiary-bg-rgb: 248, 249, 250; + --bs-heading-color: inherit; + --bs-link-color: #0d6efd; + --bs-link-color-rgb: 13, 110, 253; + --bs-link-decoration: underline; + --bs-link-hover-color: #0a58ca; + --bs-link-hover-color-rgb: 10, 88, 202; + --bs-code-color: #d63384; + --bs-highlight-color: #212529; + --bs-highlight-bg: #fff3cd; --bs-border-width: 1px; --bs-border-style: solid; --bs-border-color: #dee2e6; @@ -66,12 +109,76 @@ --bs-border-radius-sm: 0.25rem; --bs-border-radius-lg: 0.5rem; --bs-border-radius-xl: 1rem; - --bs-border-radius-2xl: 2rem; + --bs-border-radius-xxl: 2rem; + --bs-border-radius-2xl: var(--bs-border-radius-xxl); --bs-border-radius-pill: 50rem; - --bs-link-color: #0d6efd; - --bs-link-hover-color: #0a58ca; - --bs-code-color: #d63384; - --bs-highlight-bg: #fff3cd; + --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); + --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); + --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175); + --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075); + --bs-focus-ring-width: 0.25rem; + --bs-focus-ring-opacity: 0.25; + --bs-focus-ring-color: rgba(13, 110, 253, 0.25); + --bs-form-valid-color: #198754; + --bs-form-valid-border-color: #198754; + --bs-form-invalid-color: #dc3545; + --bs-form-invalid-border-color: #dc3545; +} + +[data-bs-theme=dark] { + color-scheme: dark; + --bs-body-color: #dee2e6; + --bs-body-color-rgb: 222, 226, 230; + --bs-body-bg: #212529; + --bs-body-bg-rgb: 33, 37, 41; + --bs-emphasis-color: #fff; + --bs-emphasis-color-rgb: 255, 255, 255; + --bs-secondary-color: rgba(222, 226, 230, 0.75); + --bs-secondary-color-rgb: 222, 226, 230; + --bs-secondary-bg: #343a40; + --bs-secondary-bg-rgb: 52, 58, 64; + --bs-tertiary-color: rgba(222, 226, 230, 0.5); + --bs-tertiary-color-rgb: 222, 226, 230; + --bs-tertiary-bg: #2b3035; + --bs-tertiary-bg-rgb: 43, 48, 53; + --bs-primary-text-emphasis: #6ea8fe; + --bs-secondary-text-emphasis: #a7acb1; + --bs-success-text-emphasis: #75b798; + --bs-info-text-emphasis: #6edff6; + --bs-warning-text-emphasis: #ffda6a; + --bs-danger-text-emphasis: #ea868f; + --bs-light-text-emphasis: #f8f9fa; + --bs-dark-text-emphasis: #dee2e6; + --bs-primary-bg-subtle: #031633; + --bs-secondary-bg-subtle: #161719; + --bs-success-bg-subtle: #051b11; + --bs-info-bg-subtle: #032830; + --bs-warning-bg-subtle: #332701; + --bs-danger-bg-subtle: #2c0b0e; + --bs-light-bg-subtle: #343a40; + --bs-dark-bg-subtle: #1a1d20; + --bs-primary-border-subtle: #084298; + --bs-secondary-border-subtle: #41464b; + --bs-success-border-subtle: #0f5132; + --bs-info-border-subtle: #087990; + --bs-warning-border-subtle: #997404; + --bs-danger-border-subtle: #842029; + --bs-light-border-subtle: #495057; + --bs-dark-border-subtle: #343a40; + --bs-heading-color: inherit; + --bs-link-color: #6ea8fe; + --bs-link-hover-color: #8bb9fe; + --bs-link-color-rgb: 110, 168, 254; + --bs-link-hover-color-rgb: 139, 185, 254; + --bs-code-color: #e685b5; + --bs-highlight-color: #dee2e6; + --bs-highlight-bg: #664d03; + --bs-border-color: #495057; + --bs-border-color-translucent: rgba(255, 255, 255, 0.15); + --bs-form-valid-color: #75b798; + --bs-form-valid-border-color: #75b798; + --bs-form-invalid-color: #ea868f; + --bs-form-invalid-border-color: #ea868f; } *, @@ -103,7 +210,7 @@ hr { margin: 1rem 0; color: inherit; border: 0; - border-top: 1px solid; + border-top: var(--bs-border-width) solid; opacity: 0.25; } @@ -112,6 +219,7 @@ h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 { margin-bottom: 0.5rem; font-weight: 500; line-height: 1.2; + color: var(--bs-heading-color); } h1, .h1 { @@ -220,6 +328,7 @@ small, .small { mark, .mark { padding: 0.1875em; + color: var(--bs-highlight-color); background-color: var(--bs-highlight-bg); } @@ -240,11 +349,11 @@ sup { } a { - color: var(--bs-link-color); + color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1)); text-decoration: underline; } a:hover { - color: var(--bs-link-hover-color); + --bs-link-color-rgb: var(--bs-link-hover-color-rgb); } a:not([href]):not([class]), a:not([href]):not([class]):hover { @@ -311,7 +420,7 @@ table { caption { padding-top: 0.5rem; padding-bottom: 0.5rem; - color: #6c757d; + color: var(--bs-secondary-color); text-align: left; } @@ -435,8 +544,8 @@ legend + * { } [type=search] { - outline-offset: -2px; -webkit-appearance: textfield; + outline-offset: -2px; } /* rtl:raw: @@ -604,9 +713,9 @@ progress { .img-thumbnail { padding: 0.25rem; - background-color: #fff; - border: 1px solid var(--bs-border-color); - border-radius: 0.375rem; + background-color: var(--bs-body-bg); + border: var(--bs-border-width) solid var(--bs-border-color); + border-radius: var(--bs-border-radius); max-width: 100%; height: auto; } @@ -622,7 +731,7 @@ progress { .figure-caption { font-size: 0.875em; - color: #6c757d; + color: var(--bs-secondary-color); } .container, @@ -666,6 +775,15 @@ progress { max-width: 1320px; } } +:root { + --bs-breakpoint-xs: 0; + --bs-breakpoint-sm: 576px; + --bs-breakpoint-md: 768px; + --bs-breakpoint-lg: 992px; + --bs-breakpoint-xl: 1200px; + --bs-breakpoint-xxl: 1400px; +} + .row { --bs-gutter-x: 1.5rem; --bs-gutter-y: 0; @@ -705,7 +823,7 @@ progress { .row-cols-3 > * { flex: 0 0 auto; - width: 33.3333333333%; + width: 33.33333333%; } .row-cols-4 > * { @@ -720,7 +838,7 @@ progress { .row-cols-6 > * { flex: 0 0 auto; - width: 16.6666666667%; + width: 16.66666667%; } .col-auto { @@ -910,7 +1028,7 @@ progress { } .row-cols-sm-3 > * { flex: 0 0 auto; - width: 33.3333333333%; + width: 33.33333333%; } .row-cols-sm-4 > * { flex: 0 0 auto; @@ -922,7 +1040,7 @@ progress { } .row-cols-sm-6 > * { flex: 0 0 auto; - width: 16.6666666667%; + width: 16.66666667%; } .col-sm-auto { flex: 0 0 auto; @@ -1013,51 +1131,51 @@ progress { margin-left: 91.66666667%; } .g-sm-0, -.gx-sm-0 { + .gx-sm-0 { --bs-gutter-x: 0; } .g-sm-0, -.gy-sm-0 { + .gy-sm-0 { --bs-gutter-y: 0; } .g-sm-1, -.gx-sm-1 { + .gx-sm-1 { --bs-gutter-x: 0.25rem; } .g-sm-1, -.gy-sm-1 { + .gy-sm-1 { --bs-gutter-y: 0.25rem; } .g-sm-2, -.gx-sm-2 { + .gx-sm-2 { --bs-gutter-x: 0.5rem; } .g-sm-2, -.gy-sm-2 { + .gy-sm-2 { --bs-gutter-y: 0.5rem; } .g-sm-3, -.gx-sm-3 { + .gx-sm-3 { --bs-gutter-x: 1rem; } .g-sm-3, -.gy-sm-3 { + .gy-sm-3 { --bs-gutter-y: 1rem; } .g-sm-4, -.gx-sm-4 { + .gx-sm-4 { --bs-gutter-x: 1.5rem; } .g-sm-4, -.gy-sm-4 { + .gy-sm-4 { --bs-gutter-y: 1.5rem; } .g-sm-5, -.gx-sm-5 { + .gx-sm-5 { --bs-gutter-x: 3rem; } .g-sm-5, -.gy-sm-5 { + .gy-sm-5 { --bs-gutter-y: 3rem; } } @@ -1079,7 +1197,7 @@ progress { } .row-cols-md-3 > * { flex: 0 0 auto; - width: 33.3333333333%; + width: 33.33333333%; } .row-cols-md-4 > * { flex: 0 0 auto; @@ -1091,7 +1209,7 @@ progress { } .row-cols-md-6 > * { flex: 0 0 auto; - width: 16.6666666667%; + width: 16.66666667%; } .col-md-auto { flex: 0 0 auto; @@ -1182,51 +1300,51 @@ progress { margin-left: 91.66666667%; } .g-md-0, -.gx-md-0 { + .gx-md-0 { --bs-gutter-x: 0; } .g-md-0, -.gy-md-0 { + .gy-md-0 { --bs-gutter-y: 0; } .g-md-1, -.gx-md-1 { + .gx-md-1 { --bs-gutter-x: 0.25rem; } .g-md-1, -.gy-md-1 { + .gy-md-1 { --bs-gutter-y: 0.25rem; } .g-md-2, -.gx-md-2 { + .gx-md-2 { --bs-gutter-x: 0.5rem; } .g-md-2, -.gy-md-2 { + .gy-md-2 { --bs-gutter-y: 0.5rem; } .g-md-3, -.gx-md-3 { + .gx-md-3 { --bs-gutter-x: 1rem; } .g-md-3, -.gy-md-3 { + .gy-md-3 { --bs-gutter-y: 1rem; } .g-md-4, -.gx-md-4 { + .gx-md-4 { --bs-gutter-x: 1.5rem; } .g-md-4, -.gy-md-4 { + .gy-md-4 { --bs-gutter-y: 1.5rem; } .g-md-5, -.gx-md-5 { + .gx-md-5 { --bs-gutter-x: 3rem; } .g-md-5, -.gy-md-5 { + .gy-md-5 { --bs-gutter-y: 3rem; } } @@ -1248,7 +1366,7 @@ progress { } .row-cols-lg-3 > * { flex: 0 0 auto; - width: 33.3333333333%; + width: 33.33333333%; } .row-cols-lg-4 > * { flex: 0 0 auto; @@ -1260,7 +1378,7 @@ progress { } .row-cols-lg-6 > * { flex: 0 0 auto; - width: 16.6666666667%; + width: 16.66666667%; } .col-lg-auto { flex: 0 0 auto; @@ -1351,51 +1469,51 @@ progress { margin-left: 91.66666667%; } .g-lg-0, -.gx-lg-0 { + .gx-lg-0 { --bs-gutter-x: 0; } .g-lg-0, -.gy-lg-0 { + .gy-lg-0 { --bs-gutter-y: 0; } .g-lg-1, -.gx-lg-1 { + .gx-lg-1 { --bs-gutter-x: 0.25rem; } .g-lg-1, -.gy-lg-1 { + .gy-lg-1 { --bs-gutter-y: 0.25rem; } .g-lg-2, -.gx-lg-2 { + .gx-lg-2 { --bs-gutter-x: 0.5rem; } .g-lg-2, -.gy-lg-2 { + .gy-lg-2 { --bs-gutter-y: 0.5rem; } .g-lg-3, -.gx-lg-3 { + .gx-lg-3 { --bs-gutter-x: 1rem; } .g-lg-3, -.gy-lg-3 { + .gy-lg-3 { --bs-gutter-y: 1rem; } .g-lg-4, -.gx-lg-4 { + .gx-lg-4 { --bs-gutter-x: 1.5rem; } .g-lg-4, -.gy-lg-4 { + .gy-lg-4 { --bs-gutter-y: 1.5rem; } .g-lg-5, -.gx-lg-5 { + .gx-lg-5 { --bs-gutter-x: 3rem; } .g-lg-5, -.gy-lg-5 { + .gy-lg-5 { --bs-gutter-y: 3rem; } } @@ -1417,7 +1535,7 @@ progress { } .row-cols-xl-3 > * { flex: 0 0 auto; - width: 33.3333333333%; + width: 33.33333333%; } .row-cols-xl-4 > * { flex: 0 0 auto; @@ -1429,7 +1547,7 @@ progress { } .row-cols-xl-6 > * { flex: 0 0 auto; - width: 16.6666666667%; + width: 16.66666667%; } .col-xl-auto { flex: 0 0 auto; @@ -1520,51 +1638,51 @@ progress { margin-left: 91.66666667%; } .g-xl-0, -.gx-xl-0 { + .gx-xl-0 { --bs-gutter-x: 0; } .g-xl-0, -.gy-xl-0 { + .gy-xl-0 { --bs-gutter-y: 0; } .g-xl-1, -.gx-xl-1 { + .gx-xl-1 { --bs-gutter-x: 0.25rem; } .g-xl-1, -.gy-xl-1 { + .gy-xl-1 { --bs-gutter-y: 0.25rem; } .g-xl-2, -.gx-xl-2 { + .gx-xl-2 { --bs-gutter-x: 0.5rem; } .g-xl-2, -.gy-xl-2 { + .gy-xl-2 { --bs-gutter-y: 0.5rem; } .g-xl-3, -.gx-xl-3 { + .gx-xl-3 { --bs-gutter-x: 1rem; } .g-xl-3, -.gy-xl-3 { + .gy-xl-3 { --bs-gutter-y: 1rem; } .g-xl-4, -.gx-xl-4 { + .gx-xl-4 { --bs-gutter-x: 1.5rem; } .g-xl-4, -.gy-xl-4 { + .gy-xl-4 { --bs-gutter-y: 1.5rem; } .g-xl-5, -.gx-xl-5 { + .gx-xl-5 { --bs-gutter-x: 3rem; } .g-xl-5, -.gy-xl-5 { + .gy-xl-5 { --bs-gutter-y: 3rem; } } @@ -1586,7 +1704,7 @@ progress { } .row-cols-xxl-3 > * { flex: 0 0 auto; - width: 33.3333333333%; + width: 33.33333333%; } .row-cols-xxl-4 > * { flex: 0 0 auto; @@ -1598,7 +1716,7 @@ progress { } .row-cols-xxl-6 > * { flex: 0 0 auto; - width: 16.6666666667%; + width: 16.66666667%; } .col-xxl-auto { flex: 0 0 auto; @@ -1689,76 +1807,80 @@ progress { margin-left: 91.66666667%; } .g-xxl-0, -.gx-xxl-0 { + .gx-xxl-0 { --bs-gutter-x: 0; } .g-xxl-0, -.gy-xxl-0 { + .gy-xxl-0 { --bs-gutter-y: 0; } .g-xxl-1, -.gx-xxl-1 { + .gx-xxl-1 { --bs-gutter-x: 0.25rem; } .g-xxl-1, -.gy-xxl-1 { + .gy-xxl-1 { --bs-gutter-y: 0.25rem; } .g-xxl-2, -.gx-xxl-2 { + .gx-xxl-2 { --bs-gutter-x: 0.5rem; } .g-xxl-2, -.gy-xxl-2 { + .gy-xxl-2 { --bs-gutter-y: 0.5rem; } .g-xxl-3, -.gx-xxl-3 { + .gx-xxl-3 { --bs-gutter-x: 1rem; } .g-xxl-3, -.gy-xxl-3 { + .gy-xxl-3 { --bs-gutter-y: 1rem; } .g-xxl-4, -.gx-xxl-4 { + .gx-xxl-4 { --bs-gutter-x: 1.5rem; } .g-xxl-4, -.gy-xxl-4 { + .gy-xxl-4 { --bs-gutter-y: 1.5rem; } .g-xxl-5, -.gx-xxl-5 { + .gx-xxl-5 { --bs-gutter-x: 3rem; } .g-xxl-5, -.gy-xxl-5 { + .gy-xxl-5 { --bs-gutter-y: 3rem; } } .table { - --bs-table-color: var(--bs-body-color); - --bs-table-bg: transparent; + --bs-table-color-type: initial; + --bs-table-bg-type: initial; + --bs-table-color-state: initial; + --bs-table-bg-state: initial; + --bs-table-color: var(--bs-emphasis-color); + --bs-table-bg: var(--bs-body-bg); --bs-table-border-color: var(--bs-border-color); --bs-table-accent-bg: transparent; - --bs-table-striped-color: var(--bs-body-color); - --bs-table-striped-bg: rgba(0, 0, 0, 0.05); - --bs-table-active-color: var(--bs-body-color); - --bs-table-active-bg: rgba(0, 0, 0, 0.1); - --bs-table-hover-color: var(--bs-body-color); - --bs-table-hover-bg: rgba(0, 0, 0, 0.075); + --bs-table-striped-color: var(--bs-emphasis-color); + --bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), 0.05); + --bs-table-active-color: var(--bs-emphasis-color); + --bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), 0.1); + --bs-table-hover-color: var(--bs-emphasis-color); + --bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), 0.075); width: 100%; margin-bottom: 1rem; - color: var(--bs-table-color); vertical-align: top; border-color: var(--bs-table-border-color); } .table > :not(caption) > * > * { padding: 0.5rem 0.5rem; + color: var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color))); background-color: var(--bs-table-bg); - border-bottom-width: 1px; - box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg); + border-bottom-width: var(--bs-border-width); + box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg))); } .table > tbody { vertical-align: inherit; @@ -1768,7 +1890,7 @@ progress { } .table-group-divider { - border-top: 2px solid currentcolor; + border-top: calc(var(--bs-border-width) * 2) solid currentcolor; } .caption-top { @@ -1780,10 +1902,10 @@ progress { } .table-bordered > :not(caption) > * { - border-width: 1px 0; + border-width: var(--bs-border-width) 0; } .table-bordered > :not(caption) > * > * { - border-width: 0 1px; + border-width: 0 var(--bs-border-width); } .table-borderless > :not(caption) > * > * { @@ -1794,29 +1916,29 @@ progress { } .table-striped > tbody > tr:nth-of-type(odd) > * { - --bs-table-accent-bg: var(--bs-table-striped-bg); - color: var(--bs-table-striped-color); + --bs-table-color-type: var(--bs-table-striped-color); + --bs-table-bg-type: var(--bs-table-striped-bg); } .table-striped-columns > :not(caption) > tr > :nth-child(even) { - --bs-table-accent-bg: var(--bs-table-striped-bg); - color: var(--bs-table-striped-color); + --bs-table-color-type: var(--bs-table-striped-color); + --bs-table-bg-type: var(--bs-table-striped-bg); } .table-active { - --bs-table-accent-bg: var(--bs-table-active-bg); - color: var(--bs-table-active-color); + --bs-table-color-state: var(--bs-table-active-color); + --bs-table-bg-state: var(--bs-table-active-bg); } .table-hover > tbody > tr:hover > * { - --bs-table-accent-bg: var(--bs-table-hover-bg); - color: var(--bs-table-hover-color); + --bs-table-color-state: var(--bs-table-hover-color); + --bs-table-bg-state: var(--bs-table-hover-bg); } .table-primary { --bs-table-color: #000; --bs-table-bg: #cfe2ff; - --bs-table-border-color: #bacbe6; + --bs-table-border-color: #a6b5cc; --bs-table-striped-bg: #c5d7f2; --bs-table-striped-color: #000; --bs-table-active-bg: #bacbe6; @@ -1830,7 +1952,7 @@ progress { .table-secondary { --bs-table-color: #000; --bs-table-bg: #e2e3e5; - --bs-table-border-color: #cbccce; + --bs-table-border-color: #b5b6b7; --bs-table-striped-bg: #d7d8da; --bs-table-striped-color: #000; --bs-table-active-bg: #cbccce; @@ -1844,7 +1966,7 @@ progress { .table-success { --bs-table-color: #000; --bs-table-bg: #d1e7dd; - --bs-table-border-color: #bcd0c7; + --bs-table-border-color: #a7b9b1; --bs-table-striped-bg: #c7dbd2; --bs-table-striped-color: #000; --bs-table-active-bg: #bcd0c7; @@ -1858,7 +1980,7 @@ progress { .table-info { --bs-table-color: #000; --bs-table-bg: #cff4fc; - --bs-table-border-color: #badce3; + --bs-table-border-color: #a6c3ca; --bs-table-striped-bg: #c5e8ef; --bs-table-striped-color: #000; --bs-table-active-bg: #badce3; @@ -1872,7 +1994,7 @@ progress { .table-warning { --bs-table-color: #000; --bs-table-bg: #fff3cd; - --bs-table-border-color: #e6dbb9; + --bs-table-border-color: #ccc2a4; --bs-table-striped-bg: #f2e7c3; --bs-table-striped-color: #000; --bs-table-active-bg: #e6dbb9; @@ -1886,7 +2008,7 @@ progress { .table-danger { --bs-table-color: #000; --bs-table-bg: #f8d7da; - --bs-table-border-color: #dfc2c4; + --bs-table-border-color: #c6acae; --bs-table-striped-bg: #eccccf; --bs-table-striped-color: #000; --bs-table-active-bg: #dfc2c4; @@ -1900,7 +2022,7 @@ progress { .table-light { --bs-table-color: #000; --bs-table-bg: #f8f9fa; - --bs-table-border-color: #dfe0e1; + --bs-table-border-color: #c6c7c8; --bs-table-striped-bg: #ecedee; --bs-table-striped-color: #000; --bs-table-active-bg: #dfe0e1; @@ -1914,7 +2036,7 @@ progress { .table-dark { --bs-table-color: #fff; --bs-table-bg: #212529; - --bs-table-border-color: #373b3e; + --bs-table-border-color: #4d5154; --bs-table-striped-bg: #2c3034; --bs-table-striped-color: #fff; --bs-table-active-bg: #373b3e; @@ -1965,29 +2087,29 @@ progress { } .col-form-label { - padding-top: calc(0.375rem + 1px); - padding-bottom: calc(0.375rem + 1px); + padding-top: calc(0.375rem + var(--bs-border-width)); + padding-bottom: calc(0.375rem + var(--bs-border-width)); margin-bottom: 0; font-size: inherit; line-height: 1.5; } .col-form-label-lg { - padding-top: calc(0.5rem + 1px); - padding-bottom: calc(0.5rem + 1px); + padding-top: calc(0.5rem + var(--bs-border-width)); + padding-bottom: calc(0.5rem + var(--bs-border-width)); font-size: 1.25rem; } .col-form-label-sm { - padding-top: calc(0.25rem + 1px); - padding-bottom: calc(0.25rem + 1px); + padding-top: calc(0.25rem + var(--bs-border-width)); + padding-bottom: calc(0.25rem + var(--bs-border-width)); font-size: 0.875rem; } .form-text { margin-top: 0.25rem; font-size: 0.875em; - color: #6c757d; + color: var(--bs-secondary-color); } .form-control { @@ -1997,14 +2119,14 @@ progress { font-size: 1rem; font-weight: 400; line-height: 1.5; - color: #212529; - background-color: #fff; - background-clip: padding-box; - border: 1px solid #ced4da; + color: var(--bs-body-color); -webkit-appearance: none; -moz-appearance: none; appearance: none; - border-radius: 0.375rem; + background-color: var(--bs-body-bg); + background-clip: padding-box; + border: var(--bs-border-width) solid var(--bs-border-color); + border-radius: var(--bs-border-radius); transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; } @media (prefers-reduced-motion: reduce) { @@ -2019,25 +2141,31 @@ progress { cursor: pointer; } .form-control:focus { - color: #212529; - background-color: #fff; + color: var(--bs-body-color); + background-color: var(--bs-body-bg); border-color: #86b7fe; outline: 0; box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); } .form-control::-webkit-date-and-time-value { + min-width: 85px; height: 1.5em; + margin: 0; +} +.form-control::-webkit-datetime-edit { + display: block; + padding: 0; } .form-control::-moz-placeholder { - color: #6c757d; + color: var(--bs-secondary-color); opacity: 1; } .form-control::placeholder { - color: #6c757d; + color: var(--bs-secondary-color); opacity: 1; } .form-control:disabled { - background-color: #e9ecef; + background-color: var(--bs-secondary-bg); opacity: 1; } .form-control::-webkit-file-upload-button { @@ -2045,13 +2173,13 @@ progress { margin: -0.375rem -0.75rem; -webkit-margin-end: 0.75rem; margin-inline-end: 0.75rem; - color: #212529; - background-color: #e9ecef; + color: var(--bs-body-color); + background-color: var(--bs-tertiary-bg); pointer-events: none; border-color: inherit; border-style: solid; border-width: 0; - border-inline-end-width: 1px; + border-inline-end-width: var(--bs-border-width); border-radius: 0; -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; @@ -2061,13 +2189,13 @@ progress { margin: -0.375rem -0.75rem; -webkit-margin-end: 0.75rem; margin-inline-end: 0.75rem; - color: #212529; - background-color: #e9ecef; + color: var(--bs-body-color); + background-color: var(--bs-tertiary-bg); pointer-events: none; border-color: inherit; border-style: solid; border-width: 0; - border-inline-end-width: 1px; + border-inline-end-width: var(--bs-border-width); border-radius: 0; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; } @@ -2081,10 +2209,10 @@ progress { } } .form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button { - background-color: #dde0e3; + background-color: var(--bs-secondary-bg); } .form-control:hover:not(:disabled):not([readonly])::file-selector-button { - background-color: #dde0e3; + background-color: var(--bs-secondary-bg); } .form-control-plaintext { @@ -2093,10 +2221,10 @@ progress { padding: 0.375rem 0; margin-bottom: 0; line-height: 1.5; - color: #212529; + color: var(--bs-body-color); background-color: transparent; border: solid transparent; - border-width: 1px 0; + border-width: var(--bs-border-width) 0; } .form-control-plaintext:focus { outline: 0; @@ -2107,10 +2235,10 @@ progress { } .form-control-sm { - min-height: calc(1.5em + 0.5rem + 2px); + min-height: calc(1.5em + 0.5rem + calc(var(--bs-border-width) * 2)); padding: 0.25rem 0.5rem; font-size: 0.875rem; - border-radius: 0.25rem; + border-radius: var(--bs-border-radius-sm); } .form-control-sm::-webkit-file-upload-button { padding: 0.25rem 0.5rem; @@ -2126,10 +2254,10 @@ progress { } .form-control-lg { - min-height: calc(1.5em + 1rem + 2px); + min-height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2)); padding: 0.5rem 1rem; font-size: 1.25rem; - border-radius: 0.5rem; + border-radius: var(--bs-border-radius-lg); } .form-control-lg::-webkit-file-upload-button { padding: 0.5rem 1rem; @@ -2145,18 +2273,18 @@ progress { } textarea.form-control { - min-height: calc(1.5em + 0.75rem + 2px); + min-height: calc(1.5em + 0.75rem + calc(var(--bs-border-width) * 2)); } textarea.form-control-sm { - min-height: calc(1.5em + 0.5rem + 2px); + min-height: calc(1.5em + 0.5rem + calc(var(--bs-border-width) * 2)); } textarea.form-control-lg { - min-height: calc(1.5em + 1rem + 2px); + min-height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2)); } .form-control-color { width: 3rem; - height: calc(1.5em + 0.75rem + 2px); + height: calc(1.5em + 0.75rem + calc(var(--bs-border-width) * 2)); padding: 0.375rem; } .form-control-color:not(:disabled):not([readonly]) { @@ -2164,38 +2292,39 @@ textarea.form-control-lg { } .form-control-color::-moz-color-swatch { border: 0 !important; - border-radius: 0.375rem; + border-radius: var(--bs-border-radius); } .form-control-color::-webkit-color-swatch { - border-radius: 0.375rem; + border: 0 !important; + border-radius: var(--bs-border-radius); } .form-control-color.form-control-sm { - height: calc(1.5em + 0.5rem + 2px); + height: calc(1.5em + 0.5rem + calc(var(--bs-border-width) * 2)); } .form-control-color.form-control-lg { - height: calc(1.5em + 1rem + 2px); + height: calc(1.5em + 1rem + calc(var(--bs-border-width) * 2)); } .form-select { + --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); display: block; width: 100%; padding: 0.375rem 2.25rem 0.375rem 0.75rem; - -moz-padding-start: calc(0.75rem - 3px); font-size: 1rem; font-weight: 400; line-height: 1.5; - color: #212529; - background-color: #fff; - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); + color: var(--bs-body-color); + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + background-color: var(--bs-body-bg); + background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 16px 12px; - border: 1px solid #ced4da; - border-radius: 0.375rem; + border: var(--bs-border-width) solid var(--bs-border-color); + border-radius: var(--bs-border-radius); transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; - -webkit-appearance: none; - -moz-appearance: none; - appearance: none; } @media (prefers-reduced-motion: reduce) { .form-select { @@ -2212,11 +2341,11 @@ textarea.form-control-lg { background-image: none; } .form-select:disabled { - background-color: #e9ecef; + background-color: var(--bs-secondary-bg); } .form-select:-moz-focusring { color: transparent; - text-shadow: 0 0 0 #212529; + text-shadow: 0 0 0 var(--bs-body-color); } .form-select-sm { @@ -2224,7 +2353,7 @@ textarea.form-control-lg { padding-bottom: 0.25rem; padding-left: 0.5rem; font-size: 0.875rem; - border-radius: 0.25rem; + border-radius: var(--bs-border-radius-sm); } .form-select-lg { @@ -2232,7 +2361,11 @@ textarea.form-control-lg { padding-bottom: 0.5rem; padding-left: 1rem; font-size: 1.25rem; - border-radius: 0.5rem; + border-radius: var(--bs-border-radius-lg); +} + +[data-bs-theme=dark] .form-select { + --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23dee2e6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); } .form-check { @@ -2258,18 +2391,21 @@ textarea.form-control-lg { } .form-check-input { + --bs-form-check-bg: var(--bs-body-bg); + flex-shrink: 0; width: 1em; height: 1em; margin-top: 0.25em; vertical-align: top; - background-color: #fff; - background-repeat: no-repeat; - background-position: center; - background-size: contain; - border: 1px solid rgba(0, 0, 0, 0.25); -webkit-appearance: none; -moz-appearance: none; appearance: none; + background-color: var(--bs-form-check-bg); + background-image: var(--bs-form-check-bg-image); + background-repeat: no-repeat; + background-position: center; + background-size: contain; + border: var(--bs-border-width) solid var(--bs-border-color); -webkit-print-color-adjust: exact; color-adjust: exact; print-color-adjust: exact; @@ -2293,15 +2429,15 @@ textarea.form-control-lg { border-color: #0d6efd; } .form-check-input:checked[type=checkbox] { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e"); + --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e"); } .form-check-input:checked[type=radio] { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e"); + --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e"); } .form-check-input[type=checkbox]:indeterminate { background-color: #0d6efd; border-color: #0d6efd; - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e"); + --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e"); } .form-check-input:disabled { pointer-events: none; @@ -2317,9 +2453,10 @@ textarea.form-control-lg { padding-left: 2.5em; } .form-switch .form-check-input { + --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e"); width: 2em; margin-left: -2.5em; - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e"); + background-image: var(--bs-form-switch-bg); background-position: left center; border-radius: 2em; transition: background-position 0.15s ease-in-out; @@ -2330,11 +2467,11 @@ textarea.form-control-lg { } } .form-switch .form-check-input:focus { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e"); + --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e"); } .form-switch .form-check-input:checked { background-position: right center; - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e"); + --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e"); } .form-switch.form-check-reverse { padding-right: 2.5em; @@ -2361,14 +2498,18 @@ textarea.form-control-lg { opacity: 0.65; } +[data-bs-theme=dark] .form-switch .form-check-input:not(:checked):not(:focus) { + --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%28255, 255, 255, 0.25%29'/%3e%3c/svg%3e"); +} + .form-range { width: 100%; height: 1.5rem; padding: 0; - background-color: transparent; -webkit-appearance: none; -moz-appearance: none; appearance: none; + background-color: transparent; } .form-range:focus { outline: 0; @@ -2386,13 +2527,13 @@ textarea.form-control-lg { width: 1rem; height: 1rem; margin-top: -0.25rem; + -webkit-appearance: none; + appearance: none; background-color: #0d6efd; border: 0; border-radius: 1rem; -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; - -webkit-appearance: none; - appearance: none; } @media (prefers-reduced-motion: reduce) { .form-range::-webkit-slider-thumb { @@ -2408,20 +2549,20 @@ textarea.form-control-lg { height: 0.5rem; color: transparent; cursor: pointer; - background-color: #dee2e6; + background-color: var(--bs-secondary-bg); border-color: transparent; border-radius: 1rem; } .form-range::-moz-range-thumb { width: 1rem; height: 1rem; + -moz-appearance: none; + appearance: none; background-color: #0d6efd; border: 0; border-radius: 1rem; -moz-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; - -moz-appearance: none; - appearance: none; } @media (prefers-reduced-motion: reduce) { .form-range::-moz-range-thumb { @@ -2437,7 +2578,7 @@ textarea.form-control-lg { height: 0.5rem; color: transparent; cursor: pointer; - background-color: #dee2e6; + background-color: var(--bs-secondary-bg); border-color: transparent; border-radius: 1rem; } @@ -2445,10 +2586,10 @@ textarea.form-control-lg { pointer-events: none; } .form-range:disabled::-webkit-slider-thumb { - background-color: #adb5bd; + background-color: var(--bs-secondary-color); } .form-range:disabled::-moz-range-thumb { - background-color: #adb5bd; + background-color: var(--bs-secondary-color); } .form-floating { @@ -2457,14 +2598,15 @@ textarea.form-control-lg { .form-floating > .form-control, .form-floating > .form-control-plaintext, .form-floating > .form-select { - height: calc(3.5rem + 2px); + height: calc(3.5rem + calc(var(--bs-border-width) * 2)); + min-height: calc(3.5rem + calc(var(--bs-border-width) * 2)); line-height: 1.25; } .form-floating > label { position: absolute; top: 0; left: 0; - width: 100%; + z-index: 2; height: 100%; padding: 1rem 0.75rem; overflow: hidden; @@ -2472,7 +2614,7 @@ textarea.form-control-lg { text-overflow: ellipsis; white-space: nowrap; pointer-events: none; - border: 1px solid transparent; + border: var(--bs-border-width) solid transparent; transform-origin: 0 0; transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out; } @@ -2512,22 +2654,51 @@ textarea.form-control-lg { padding-bottom: 0.625rem; } .form-floating > .form-control:not(:-moz-placeholder-shown) ~ label { - opacity: 0.65; + color: rgba(var(--bs-body-color-rgb), 0.65); transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); } .form-floating > .form-control:focus ~ label, .form-floating > .form-control:not(:placeholder-shown) ~ label, .form-floating > .form-control-plaintext ~ label, .form-floating > .form-select ~ label { - opacity: 0.65; + color: rgba(var(--bs-body-color-rgb), 0.65); transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); } +.form-floating > .form-control:not(:-moz-placeholder-shown) ~ label::after { + position: absolute; + inset: 1rem 0.375rem; + z-index: -1; + height: 1.5em; + content: ""; + background-color: var(--bs-body-bg); + border-radius: var(--bs-border-radius); +} +.form-floating > .form-control:focus ~ label::after, +.form-floating > .form-control:not(:placeholder-shown) ~ label::after, +.form-floating > .form-control-plaintext ~ label::after, +.form-floating > .form-select ~ label::after { + position: absolute; + inset: 1rem 0.375rem; + z-index: -1; + height: 1.5em; + content: ""; + background-color: var(--bs-body-bg); + border-radius: var(--bs-border-radius); +} .form-floating > .form-control:-webkit-autofill ~ label { - opacity: 0.65; + color: rgba(var(--bs-body-color-rgb), 0.65); transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem); } .form-floating > .form-control-plaintext ~ label { - border-width: 1px 0; + border-width: var(--bs-border-width) 0; +} +.form-floating > :disabled ~ label, +.form-floating > .form-control:disabled ~ label { + color: #6c757d; +} +.form-floating > :disabled ~ label::after, +.form-floating > .form-control:disabled ~ label::after { + background-color: var(--bs-secondary-bg); } .input-group { @@ -2565,12 +2736,12 @@ textarea.form-control-lg { font-size: 1rem; font-weight: 400; line-height: 1.5; - color: #212529; + color: var(--bs-body-color); text-align: center; white-space: nowrap; - background-color: #e9ecef; - border: 1px solid #ced4da; - border-radius: 0.375rem; + background-color: var(--bs-tertiary-bg); + border: var(--bs-border-width) solid var(--bs-border-color); + border-radius: var(--bs-border-radius); } .input-group-lg > .form-control, @@ -2579,7 +2750,7 @@ textarea.form-control-lg { .input-group-lg > .btn { padding: 0.5rem 1rem; font-size: 1.25rem; - border-radius: 0.5rem; + border-radius: var(--bs-border-radius-lg); } .input-group-sm > .form-control, @@ -2588,7 +2759,7 @@ textarea.form-control-lg { .input-group-sm > .btn { padding: 0.25rem 0.5rem; font-size: 0.875rem; - border-radius: 0.25rem; + border-radius: var(--bs-border-radius-sm); } .input-group-lg > .form-select, @@ -2611,7 +2782,7 @@ textarea.form-control-lg { border-bottom-right-radius: 0; } .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) { - margin-left: -1px; + margin-left: calc(var(--bs-border-width) * -1); border-top-left-radius: 0; border-bottom-left-radius: 0; } @@ -2626,7 +2797,7 @@ textarea.form-control-lg { width: 100%; margin-top: 0.25rem; font-size: 0.875em; - color: #198754; + color: var(--bs-form-valid-color); } .valid-tooltip { @@ -2639,8 +2810,8 @@ textarea.form-control-lg { margin-top: 0.1rem; font-size: 0.875rem; color: #fff; - background-color: rgba(25, 135, 84, 0.9); - border-radius: 0.375rem; + background-color: var(--bs-success); + border-radius: var(--bs-border-radius); } .was-validated :valid ~ .valid-feedback, @@ -2651,7 +2822,7 @@ textarea.form-control-lg { } .was-validated .form-control:valid, .form-control.is-valid { - border-color: #198754; + border-color: var(--bs-form-valid-border-color); padding-right: calc(1.5em + 0.75rem); background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); background-repeat: no-repeat; @@ -2659,8 +2830,8 @@ textarea.form-control-lg { background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); } .was-validated .form-control:valid:focus, .form-control.is-valid:focus { - border-color: #198754; - box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25); + border-color: var(--bs-form-valid-border-color); + box-shadow: 0 0 0 0.25rem rgba(var(--bs-success-rgb), 0.25); } .was-validated textarea.form-control:valid, textarea.form-control.is-valid { @@ -2669,17 +2840,17 @@ textarea.form-control-lg { } .was-validated .form-select:valid, .form-select.is-valid { - border-color: #198754; + border-color: var(--bs-form-valid-border-color); } .was-validated .form-select:valid:not([multiple]):not([size]), .was-validated .form-select:valid:not([multiple])[size="1"], .form-select.is-valid:not([multiple]):not([size]), .form-select.is-valid:not([multiple])[size="1"] { + --bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); padding-right: 4.125rem; - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); background-position: right 0.75rem center, center right 2.25rem; background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); } .was-validated .form-select:valid:focus, .form-select.is-valid:focus { - border-color: #198754; - box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25); + border-color: var(--bs-form-valid-border-color); + box-shadow: 0 0 0 0.25rem rgba(var(--bs-success-rgb), 0.25); } .was-validated .form-control-color:valid, .form-control-color.is-valid { @@ -2687,16 +2858,16 @@ textarea.form-control-lg { } .was-validated .form-check-input:valid, .form-check-input.is-valid { - border-color: #198754; + border-color: var(--bs-form-valid-border-color); } .was-validated .form-check-input:valid:checked, .form-check-input.is-valid:checked { - background-color: #198754; + background-color: var(--bs-form-valid-color); } .was-validated .form-check-input:valid:focus, .form-check-input.is-valid:focus { - box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25); + box-shadow: 0 0 0 0.25rem rgba(var(--bs-success-rgb), 0.25); } .was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label { - color: #198754; + color: var(--bs-form-valid-color); } .form-check-inline .form-check-input ~ .valid-feedback { @@ -2716,7 +2887,7 @@ textarea.form-control-lg { width: 100%; margin-top: 0.25rem; font-size: 0.875em; - color: #dc3545; + color: var(--bs-form-invalid-color); } .invalid-tooltip { @@ -2729,8 +2900,8 @@ textarea.form-control-lg { margin-top: 0.1rem; font-size: 0.875rem; color: #fff; - background-color: rgba(220, 53, 69, 0.9); - border-radius: 0.375rem; + background-color: var(--bs-danger); + border-radius: var(--bs-border-radius); } .was-validated :invalid ~ .invalid-feedback, @@ -2741,7 +2912,7 @@ textarea.form-control-lg { } .was-validated .form-control:invalid, .form-control.is-invalid { - border-color: #dc3545; + border-color: var(--bs-form-invalid-border-color); padding-right: calc(1.5em + 0.75rem); background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e"); background-repeat: no-repeat; @@ -2749,8 +2920,8 @@ textarea.form-control-lg { background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); } .was-validated .form-control:invalid:focus, .form-control.is-invalid:focus { - border-color: #dc3545; - box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25); + border-color: var(--bs-form-invalid-border-color); + box-shadow: 0 0 0 0.25rem rgba(var(--bs-danger-rgb), 0.25); } .was-validated textarea.form-control:invalid, textarea.form-control.is-invalid { @@ -2759,17 +2930,17 @@ textarea.form-control-lg { } .was-validated .form-select:invalid, .form-select.is-invalid { - border-color: #dc3545; + border-color: var(--bs-form-invalid-border-color); } .was-validated .form-select:invalid:not([multiple]):not([size]), .was-validated .form-select:invalid:not([multiple])[size="1"], .form-select.is-invalid:not([multiple]):not([size]), .form-select.is-invalid:not([multiple])[size="1"] { + --bs-form-select-bg-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e"); padding-right: 4.125rem; - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"), url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e"); background-position: right 0.75rem center, center right 2.25rem; background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem); } .was-validated .form-select:invalid:focus, .form-select.is-invalid:focus { - border-color: #dc3545; - box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25); + border-color: var(--bs-form-invalid-border-color); + box-shadow: 0 0 0 0.25rem rgba(var(--bs-danger-rgb), 0.25); } .was-validated .form-control-color:invalid, .form-control-color.is-invalid { @@ -2777,16 +2948,16 @@ textarea.form-control-lg { } .was-validated .form-check-input:invalid, .form-check-input.is-invalid { - border-color: #dc3545; + border-color: var(--bs-form-invalid-border-color); } .was-validated .form-check-input:invalid:checked, .form-check-input.is-invalid:checked { - background-color: #dc3545; + background-color: var(--bs-form-invalid-color); } .was-validated .form-check-input:invalid:focus, .form-check-input.is-invalid:focus { - box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25); + box-shadow: 0 0 0 0.25rem rgba(var(--bs-danger-rgb), 0.25); } .was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label { - color: #dc3545; + color: var(--bs-form-invalid-color); } .form-check-inline .form-check-input ~ .invalid-feedback { @@ -2808,11 +2979,11 @@ textarea.form-control-lg { --bs-btn-font-size: 1rem; --bs-btn-font-weight: 400; --bs-btn-line-height: 1.5; - --bs-btn-color: #212529; + --bs-btn-color: var(--bs-body-color); --bs-btn-bg: transparent; - --bs-btn-border-width: 1px; + --bs-btn-border-width: var(--bs-border-width); --bs-btn-border-color: transparent; - --bs-btn-border-radius: 0.375rem; + --bs-btn-border-radius: var(--bs-border-radius); --bs-btn-hover-border-color: transparent; --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075); --bs-btn-disabled-opacity: 0.65; @@ -2871,6 +3042,9 @@ textarea.form-control-lg { .btn-check:checked + .btn:focus-visible, :not(.btn-check) + .btn:active:focus-visible, .btn:first-child:active:focus-visible, .btn.active:focus-visible, .btn.show:focus-visible { box-shadow: var(--bs-btn-focus-box-shadow); } +.btn-check:checked:focus-visible + .btn { + box-shadow: var(--bs-btn-focus-box-shadow); +} .btn:disabled, .btn.disabled, fieldset:disabled .btn { color: var(--bs-btn-disabled-color); pointer-events: none; @@ -3162,7 +3336,7 @@ textarea.form-control-lg { --bs-btn-active-border-color: transparent; --bs-btn-disabled-color: #6c757d; --bs-btn-disabled-border-color: transparent; - --bs-btn-box-shadow: none; + --bs-btn-box-shadow: 0 0 0 #000; --bs-btn-focus-shadow-rgb: 49, 132, 253; text-decoration: underline; } @@ -3177,14 +3351,14 @@ textarea.form-control-lg { --bs-btn-padding-y: 0.5rem; --bs-btn-padding-x: 1rem; --bs-btn-font-size: 1.25rem; - --bs-btn-border-radius: 0.5rem; + --bs-btn-border-radius: var(--bs-border-radius-lg); } .btn-sm, .btn-group-sm > .btn { --bs-btn-padding-y: 0.25rem; --bs-btn-padding-x: 0.5rem; --bs-btn-font-size: 0.875rem; - --bs-btn-border-radius: 0.25rem; + --bs-btn-border-radius: var(--bs-border-radius-sm); } .fade { @@ -3257,21 +3431,21 @@ textarea.form-control-lg { --bs-dropdown-padding-y: 0.5rem; --bs-dropdown-spacer: 0.125rem; --bs-dropdown-font-size: 1rem; - --bs-dropdown-color: #212529; - --bs-dropdown-bg: #fff; + --bs-dropdown-color: var(--bs-body-color); + --bs-dropdown-bg: var(--bs-body-bg); --bs-dropdown-border-color: var(--bs-border-color-translucent); - --bs-dropdown-border-radius: 0.375rem; - --bs-dropdown-border-width: 1px; - --bs-dropdown-inner-border-radius: calc(0.375rem - 1px); + --bs-dropdown-border-radius: var(--bs-border-radius); + --bs-dropdown-border-width: var(--bs-border-width); + --bs-dropdown-inner-border-radius: calc(var(--bs-border-radius) - var(--bs-border-width)); --bs-dropdown-divider-bg: var(--bs-border-color-translucent); --bs-dropdown-divider-margin-y: 0.5rem; - --bs-dropdown-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); - --bs-dropdown-link-color: #212529; - --bs-dropdown-link-hover-color: #1e2125; - --bs-dropdown-link-hover-bg: #e9ecef; + --bs-dropdown-box-shadow: var(--bs-box-shadow); + --bs-dropdown-link-color: var(--bs-body-color); + --bs-dropdown-link-hover-color: var(--bs-body-color); + --bs-dropdown-link-hover-bg: var(--bs-tertiary-bg); --bs-dropdown-link-active-color: #fff; --bs-dropdown-link-active-bg: #0d6efd; - --bs-dropdown-link-disabled-color: #adb5bd; + --bs-dropdown-link-disabled-color: var(--bs-tertiary-color); --bs-dropdown-item-padding-x: 1rem; --bs-dropdown-item-padding-y: 0.25rem; --bs-dropdown-header-color: #6c757d; @@ -3490,6 +3664,7 @@ textarea.form-control-lg { white-space: nowrap; background-color: transparent; border: 0; + border-radius: var(--bs-dropdown-item-border-radius, 0); } .dropdown-item:hover, .dropdown-item:focus { color: var(--bs-dropdown-link-hover-color); @@ -3576,11 +3751,11 @@ textarea.form-control-lg { } .btn-group { - border-radius: 0.375rem; + border-radius: var(--bs-border-radius); } .btn-group > :not(.btn-check:first-child) + .btn, .btn-group > .btn-group:not(:first-child) { - margin-left: -1px; + margin-left: calc(var(--bs-border-width) * -1); } .btn-group > .btn:not(:last-child):not(.dropdown-toggle), .btn-group > .btn.dropdown-toggle-split:first-child, @@ -3627,7 +3802,7 @@ textarea.form-control-lg { } .btn-group-vertical > .btn:not(:first-child), .btn-group-vertical > .btn-group:not(:first-child) { - margin-top: -1px; + margin-top: calc(var(--bs-border-width) * -1); } .btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle), .btn-group-vertical > .btn-group:not(:last-child) > .btn { @@ -3646,7 +3821,7 @@ textarea.form-control-lg { --bs-nav-link-font-weight: ; --bs-nav-link-color: var(--bs-link-color); --bs-nav-link-hover-color: var(--bs-link-hover-color); - --bs-nav-link-disabled-color: #6c757d; + --bs-nav-link-disabled-color: var(--bs-secondary-color); display: flex; flex-wrap: wrap; padding-left: 0; @@ -3661,6 +3836,8 @@ textarea.form-control-lg { font-weight: var(--bs-nav-link-font-weight); color: var(--bs-nav-link-color); text-decoration: none; + background: none; + border: 0; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; } @media (prefers-reduced-motion: reduce) { @@ -3671,25 +3848,28 @@ textarea.form-control-lg { .nav-link:hover, .nav-link:focus { color: var(--bs-nav-link-hover-color); } -.nav-link.disabled { +.nav-link:focus-visible { + outline: 0; + box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); +} +.nav-link.disabled, .nav-link:disabled { color: var(--bs-nav-link-disabled-color); pointer-events: none; cursor: default; } .nav-tabs { - --bs-nav-tabs-border-width: 1px; - --bs-nav-tabs-border-color: #dee2e6; - --bs-nav-tabs-border-radius: 0.375rem; - --bs-nav-tabs-link-hover-border-color: #e9ecef #e9ecef #dee2e6; - --bs-nav-tabs-link-active-color: #495057; - --bs-nav-tabs-link-active-bg: #fff; - --bs-nav-tabs-link-active-border-color: #dee2e6 #dee2e6 #fff; + --bs-nav-tabs-border-width: var(--bs-border-width); + --bs-nav-tabs-border-color: var(--bs-border-color); + --bs-nav-tabs-border-radius: var(--bs-border-radius); + --bs-nav-tabs-link-hover-border-color: var(--bs-secondary-bg) var(--bs-secondary-bg) var(--bs-border-color); + --bs-nav-tabs-link-active-color: var(--bs-emphasis-color); + --bs-nav-tabs-link-active-bg: var(--bs-body-bg); + --bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg); border-bottom: var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color); } .nav-tabs .nav-link { margin-bottom: calc(-1 * var(--bs-nav-tabs-border-width)); - background: none; border: var(--bs-nav-tabs-border-width) solid transparent; border-top-left-radius: var(--bs-nav-tabs-border-radius); border-top-right-radius: var(--bs-nav-tabs-border-radius); @@ -3698,11 +3878,6 @@ textarea.form-control-lg { isolation: isolate; border-color: var(--bs-nav-tabs-link-hover-border-color); } -.nav-tabs .nav-link.disabled, .nav-tabs .nav-link:disabled { - color: var(--bs-nav-link-disabled-color); - background-color: transparent; - border-color: transparent; -} .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link { color: var(--bs-nav-tabs-link-active-color); @@ -3716,26 +3891,40 @@ textarea.form-control-lg { } .nav-pills { - --bs-nav-pills-border-radius: 0.375rem; + --bs-nav-pills-border-radius: var(--bs-border-radius); --bs-nav-pills-link-active-color: #fff; --bs-nav-pills-link-active-bg: #0d6efd; } .nav-pills .nav-link { - background: none; - border: 0; border-radius: var(--bs-nav-pills-border-radius); } -.nav-pills .nav-link:disabled { - color: var(--bs-nav-link-disabled-color); - background-color: transparent; - border-color: transparent; -} .nav-pills .nav-link.active, .nav-pills .show > .nav-link { color: var(--bs-nav-pills-link-active-color); background-color: var(--bs-nav-pills-link-active-bg); } +.nav-underline { + --bs-nav-underline-gap: 1rem; + --bs-nav-underline-border-width: 0.125rem; + --bs-nav-underline-link-active-color: var(--bs-emphasis-color); + gap: var(--bs-nav-underline-gap); +} +.nav-underline .nav-link { + padding-right: 0; + padding-left: 0; + border-bottom: var(--bs-nav-underline-border-width) solid transparent; +} +.nav-underline .nav-link:hover, .nav-underline .nav-link:focus { + border-bottom-color: currentcolor; +} +.nav-underline .nav-link.active, +.nav-underline .show > .nav-link { + font-weight: 700; + color: var(--bs-nav-underline-link-active-color); + border-bottom-color: currentcolor; +} + .nav-fill > .nav-link, .nav-fill .nav-item { flex: 1 1 auto; @@ -3764,22 +3953,22 @@ textarea.form-control-lg { .navbar { --bs-navbar-padding-x: 0; --bs-navbar-padding-y: 0.5rem; - --bs-navbar-color: rgba(0, 0, 0, 0.55); - --bs-navbar-hover-color: rgba(0, 0, 0, 0.7); - --bs-navbar-disabled-color: rgba(0, 0, 0, 0.3); - --bs-navbar-active-color: rgba(0, 0, 0, 0.9); + --bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), 0.65); + --bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), 0.8); + --bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), 0.3); + --bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1); --bs-navbar-brand-padding-y: 0.3125rem; --bs-navbar-brand-margin-end: 1rem; --bs-navbar-brand-font-size: 1.25rem; - --bs-navbar-brand-color: rgba(0, 0, 0, 0.9); - --bs-navbar-brand-hover-color: rgba(0, 0, 0, 0.9); + --bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1); + --bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1); --bs-navbar-nav-link-padding-x: 0.5rem; --bs-navbar-toggler-padding-y: 0.25rem; --bs-navbar-toggler-padding-x: 0.75rem; --bs-navbar-toggler-font-size: 1.25rem; - --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); - --bs-navbar-toggler-border-color: rgba(0, 0, 0, 0.1); - --bs-navbar-toggler-border-radius: 0.375rem; + --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); + --bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), 0.15); + --bs-navbar-toggler-border-radius: var(--bs-border-radius); --bs-navbar-toggler-focus-width: 0.25rem; --bs-navbar-toggler-transition: box-shadow 0.15s ease-in-out; position: relative; @@ -3827,8 +4016,7 @@ textarea.form-control-lg { margin-bottom: 0; list-style: none; } -.navbar-nav .show > .nav-link, -.navbar-nav .nav-link.active { +.navbar-nav .nav-link.active, .navbar-nav .nav-link.show { color: var(--bs-navbar-active-color); } .navbar-nav .dropdown-menu { @@ -4173,7 +4361,8 @@ textarea.form-control-lg { overflow-y: visible; } -.navbar-dark { +.navbar-dark, +.navbar[data-bs-theme=dark] { --bs-navbar-color: rgba(255, 255, 255, 0.55); --bs-navbar-hover-color: rgba(255, 255, 255, 0.75); --bs-navbar-disabled-color: rgba(255, 255, 255, 0.25); @@ -4184,22 +4373,28 @@ textarea.form-control-lg { --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); } +[data-bs-theme=dark] .navbar-toggler-icon { + --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); +} + .card { --bs-card-spacer-y: 1rem; --bs-card-spacer-x: 1rem; --bs-card-title-spacer-y: 0.5rem; - --bs-card-border-width: 1px; + --bs-card-title-color: ; + --bs-card-subtitle-color: ; + --bs-card-border-width: var(--bs-border-width); --bs-card-border-color: var(--bs-border-color-translucent); - --bs-card-border-radius: 0.375rem; + --bs-card-border-radius: var(--bs-border-radius); --bs-card-box-shadow: ; - --bs-card-inner-border-radius: calc(0.375rem - 1px); + --bs-card-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width))); --bs-card-cap-padding-y: 0.5rem; --bs-card-cap-padding-x: 1rem; - --bs-card-cap-bg: rgba(0, 0, 0, 0.03); + --bs-card-cap-bg: rgba(var(--bs-body-color-rgb), 0.03); --bs-card-cap-color: ; --bs-card-height: ; --bs-card-color: ; - --bs-card-bg: #fff; + --bs-card-bg: var(--bs-body-bg); --bs-card-img-overlay-padding: 1rem; --bs-card-group-margin: 0.75rem; position: relative; @@ -4207,6 +4402,7 @@ textarea.form-control-lg { flex-direction: column; min-width: 0; height: var(--bs-card-height); + color: var(--bs-body-color); word-wrap: break-word; background-color: var(--bs-card-bg); background-clip: border-box; @@ -4244,11 +4440,13 @@ textarea.form-control-lg { .card-title { margin-bottom: var(--bs-card-title-spacer-y); + color: var(--bs-card-title-color); } .card-subtitle { margin-top: calc(-0.5 * var(--bs-card-title-spacer-y)); margin-bottom: 0; + color: var(--bs-card-subtitle-color); } .card-text:last-child { @@ -4345,11 +4543,11 @@ textarea.form-control-lg { border-bottom-right-radius: 0; } .card-group > .card:not(:last-child) .card-img-top, -.card-group > .card:not(:last-child) .card-header { + .card-group > .card:not(:last-child) .card-header { border-top-right-radius: 0; } .card-group > .card:not(:last-child) .card-img-bottom, -.card-group > .card:not(:last-child) .card-footer { + .card-group > .card:not(:last-child) .card-footer { border-bottom-right-radius: 0; } .card-group > .card:not(:first-child) { @@ -4357,38 +4555,37 @@ textarea.form-control-lg { border-bottom-left-radius: 0; } .card-group > .card:not(:first-child) .card-img-top, -.card-group > .card:not(:first-child) .card-header { + .card-group > .card:not(:first-child) .card-header { border-top-left-radius: 0; } .card-group > .card:not(:first-child) .card-img-bottom, -.card-group > .card:not(:first-child) .card-footer { + .card-group > .card:not(:first-child) .card-footer { border-bottom-left-radius: 0; } } .accordion { - --bs-accordion-color: #212529; - --bs-accordion-bg: #fff; + --bs-accordion-color: var(--bs-body-color); + --bs-accordion-bg: var(--bs-body-bg); --bs-accordion-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease; --bs-accordion-border-color: var(--bs-border-color); - --bs-accordion-border-width: 1px; - --bs-accordion-border-radius: 0.375rem; - --bs-accordion-inner-border-radius: calc(0.375rem - 1px); + --bs-accordion-border-width: var(--bs-border-width); + --bs-accordion-border-radius: var(--bs-border-radius); + --bs-accordion-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width))); --bs-accordion-btn-padding-x: 1.25rem; --bs-accordion-btn-padding-y: 1rem; - --bs-accordion-btn-color: #212529; + --bs-accordion-btn-color: var(--bs-body-color); --bs-accordion-btn-bg: var(--bs-accordion-bg); - --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); + --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e"); --bs-accordion-btn-icon-width: 1.25rem; --bs-accordion-btn-icon-transform: rotate(-180deg); --bs-accordion-btn-icon-transition: transform 0.2s ease-in-out; - --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); - --bs-accordion-btn-focus-border-color: #86b7fe; + --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23052c65' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e"); --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); --bs-accordion-body-padding-x: 1.25rem; --bs-accordion-body-padding-y: 1rem; - --bs-accordion-active-color: #0c63e4; - --bs-accordion-active-bg: #e7f1ff; + --bs-accordion-active-color: var(--bs-primary-text-emphasis); + --bs-accordion-active-bg: var(--bs-primary-bg-subtle); } .accordion-button { @@ -4441,7 +4638,6 @@ textarea.form-control-lg { } .accordion-button:focus { z-index: 3; - border-color: var(--bs-accordion-btn-focus-border-color); outline: 0; box-shadow: var(--bs-accordion-btn-focus-box-shadow); } @@ -4459,7 +4655,7 @@ textarea.form-control-lg { border-top-left-radius: var(--bs-accordion-border-radius); border-top-right-radius: var(--bs-accordion-border-radius); } -.accordion-item:first-of-type .accordion-button { +.accordion-item:first-of-type > .accordion-header .accordion-button { border-top-left-radius: var(--bs-accordion-inner-border-radius); border-top-right-radius: var(--bs-accordion-inner-border-radius); } @@ -4470,11 +4666,11 @@ textarea.form-control-lg { border-bottom-right-radius: var(--bs-accordion-border-radius); border-bottom-left-radius: var(--bs-accordion-border-radius); } -.accordion-item:last-of-type .accordion-button.collapsed { +.accordion-item:last-of-type > .accordion-header .accordion-button.collapsed { border-bottom-right-radius: var(--bs-accordion-inner-border-radius); border-bottom-left-radius: var(--bs-accordion-inner-border-radius); } -.accordion-item:last-of-type .accordion-collapse { +.accordion-item:last-of-type > .accordion-collapse { border-bottom-right-radius: var(--bs-accordion-border-radius); border-bottom-left-radius: var(--bs-accordion-border-radius); } @@ -4483,33 +4679,38 @@ textarea.form-control-lg { padding: var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x); } -.accordion-flush .accordion-collapse { - border-width: 0; -} -.accordion-flush .accordion-item { +.accordion-flush > .accordion-item { border-right: 0; border-left: 0; border-radius: 0; } -.accordion-flush .accordion-item:first-child { +.accordion-flush > .accordion-item:first-child { border-top: 0; } -.accordion-flush .accordion-item:last-child { +.accordion-flush > .accordion-item:last-child { border-bottom: 0; } -.accordion-flush .accordion-item .accordion-button, .accordion-flush .accordion-item .accordion-button.collapsed { +.accordion-flush > .accordion-item > .accordion-header .accordion-button, .accordion-flush > .accordion-item > .accordion-header .accordion-button.collapsed { + border-radius: 0; +} +.accordion-flush > .accordion-item > .accordion-collapse { border-radius: 0; } +[data-bs-theme=dark] .accordion-button::after { + --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); + --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236ea8fe'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); +} + .breadcrumb { --bs-breadcrumb-padding-x: 0; --bs-breadcrumb-padding-y: 0; --bs-breadcrumb-margin-bottom: 1rem; --bs-breadcrumb-bg: ; --bs-breadcrumb-border-radius: ; - --bs-breadcrumb-divider-color: #6c757d; + --bs-breadcrumb-divider-color: var(--bs-secondary-color); --bs-breadcrumb-item-padding-x: 0.5rem; - --bs-breadcrumb-item-active-color: #6c757d; + --bs-breadcrumb-item-active-color: var(--bs-secondary-color); display: flex; flex-wrap: wrap; padding: var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x); @@ -4538,22 +4739,22 @@ textarea.form-control-lg { --bs-pagination-padding-y: 0.375rem; --bs-pagination-font-size: 1rem; --bs-pagination-color: var(--bs-link-color); - --bs-pagination-bg: #fff; - --bs-pagination-border-width: 1px; - --bs-pagination-border-color: #dee2e6; - --bs-pagination-border-radius: 0.375rem; + --bs-pagination-bg: var(--bs-body-bg); + --bs-pagination-border-width: var(--bs-border-width); + --bs-pagination-border-color: var(--bs-border-color); + --bs-pagination-border-radius: var(--bs-border-radius); --bs-pagination-hover-color: var(--bs-link-hover-color); - --bs-pagination-hover-bg: #e9ecef; - --bs-pagination-hover-border-color: #dee2e6; + --bs-pagination-hover-bg: var(--bs-tertiary-bg); + --bs-pagination-hover-border-color: var(--bs-border-color); --bs-pagination-focus-color: var(--bs-link-hover-color); - --bs-pagination-focus-bg: #e9ecef; + --bs-pagination-focus-bg: var(--bs-secondary-bg); --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); --bs-pagination-active-color: #fff; --bs-pagination-active-bg: #0d6efd; --bs-pagination-active-border-color: #0d6efd; - --bs-pagination-disabled-color: #6c757d; - --bs-pagination-disabled-bg: #fff; - --bs-pagination-disabled-border-color: #dee2e6; + --bs-pagination-disabled-color: var(--bs-secondary-color); + --bs-pagination-disabled-bg: var(--bs-secondary-bg); + --bs-pagination-disabled-border-color: var(--bs-border-color); display: flex; padding-left: 0; list-style: none; @@ -4602,7 +4803,7 @@ textarea.form-control-lg { } .page-item:not(:first-child) .page-link { - margin-left: -1px; + margin-left: calc(var(--bs-border-width) * -1); } .page-item:first-child .page-link { border-top-left-radius: var(--bs-pagination-border-radius); @@ -4617,14 +4818,14 @@ textarea.form-control-lg { --bs-pagination-padding-x: 1.5rem; --bs-pagination-padding-y: 0.75rem; --bs-pagination-font-size: 1.25rem; - --bs-pagination-border-radius: 0.5rem; + --bs-pagination-border-radius: var(--bs-border-radius-lg); } .pagination-sm { --bs-pagination-padding-x: 0.5rem; --bs-pagination-padding-y: 0.25rem; --bs-pagination-font-size: 0.875rem; - --bs-pagination-border-radius: 0.25rem; + --bs-pagination-border-radius: var(--bs-border-radius-sm); } .badge { @@ -4633,7 +4834,7 @@ textarea.form-control-lg { --bs-badge-font-size: 0.75em; --bs-badge-font-weight: 700; --bs-badge-color: #fff; - --bs-badge-border-radius: 0.375rem; + --bs-badge-border-radius: var(--bs-border-radius); display: inline-block; padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x); font-size: var(--bs-badge-font-size); @@ -4661,8 +4862,9 @@ textarea.form-control-lg { --bs-alert-margin-bottom: 1rem; --bs-alert-color: inherit; --bs-alert-border-color: transparent; - --bs-alert-border: 1px solid var(--bs-alert-border-color); - --bs-alert-border-radius: 0.375rem; + --bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color); + --bs-alert-border-radius: var(--bs-border-radius); + --bs-alert-link-color: inherit; position: relative; padding: var(--bs-alert-padding-y) var(--bs-alert-padding-x); margin-bottom: var(--bs-alert-margin-bottom); @@ -4678,6 +4880,7 @@ textarea.form-control-lg { .alert-link { font-weight: 700; + color: var(--bs-alert-link-color); } .alert-dismissible { @@ -4692,75 +4895,59 @@ textarea.form-control-lg { } .alert-primary { - --bs-alert-color: #084298; - --bs-alert-bg: #cfe2ff; - --bs-alert-border-color: #b6d4fe; -} -.alert-primary .alert-link { - color: #06357a; + --bs-alert-color: var(--bs-primary-text-emphasis); + --bs-alert-bg: var(--bs-primary-bg-subtle); + --bs-alert-border-color: var(--bs-primary-border-subtle); + --bs-alert-link-color: var(--bs-primary-text-emphasis); } .alert-secondary { - --bs-alert-color: #41464b; - --bs-alert-bg: #e2e3e5; - --bs-alert-border-color: #d3d6d8; -} -.alert-secondary .alert-link { - color: #34383c; + --bs-alert-color: var(--bs-secondary-text-emphasis); + --bs-alert-bg: var(--bs-secondary-bg-subtle); + --bs-alert-border-color: var(--bs-secondary-border-subtle); + --bs-alert-link-color: var(--bs-secondary-text-emphasis); } .alert-success { - --bs-alert-color: #0f5132; - --bs-alert-bg: #d1e7dd; - --bs-alert-border-color: #badbcc; -} -.alert-success .alert-link { - color: #0c4128; + --bs-alert-color: var(--bs-success-text-emphasis); + --bs-alert-bg: var(--bs-success-bg-subtle); + --bs-alert-border-color: var(--bs-success-border-subtle); + --bs-alert-link-color: var(--bs-success-text-emphasis); } .alert-info { - --bs-alert-color: #055160; - --bs-alert-bg: #cff4fc; - --bs-alert-border-color: #b6effb; -} -.alert-info .alert-link { - color: #04414d; + --bs-alert-color: var(--bs-info-text-emphasis); + --bs-alert-bg: var(--bs-info-bg-subtle); + --bs-alert-border-color: var(--bs-info-border-subtle); + --bs-alert-link-color: var(--bs-info-text-emphasis); } .alert-warning { - --bs-alert-color: #664d03; - --bs-alert-bg: #fff3cd; - --bs-alert-border-color: #ffecb5; -} -.alert-warning .alert-link { - color: #523e02; + --bs-alert-color: var(--bs-warning-text-emphasis); + --bs-alert-bg: var(--bs-warning-bg-subtle); + --bs-alert-border-color: var(--bs-warning-border-subtle); + --bs-alert-link-color: var(--bs-warning-text-emphasis); } .alert-danger { - --bs-alert-color: #842029; - --bs-alert-bg: #f8d7da; - --bs-alert-border-color: #f5c2c7; -} -.alert-danger .alert-link { - color: #6a1a21; + --bs-alert-color: var(--bs-danger-text-emphasis); + --bs-alert-bg: var(--bs-danger-bg-subtle); + --bs-alert-border-color: var(--bs-danger-border-subtle); + --bs-alert-link-color: var(--bs-danger-text-emphasis); } .alert-light { - --bs-alert-color: #636464; - --bs-alert-bg: #fefefe; - --bs-alert-border-color: #fdfdfe; -} -.alert-light .alert-link { - color: #4f5050; + --bs-alert-color: var(--bs-light-text-emphasis); + --bs-alert-bg: var(--bs-light-bg-subtle); + --bs-alert-border-color: var(--bs-light-border-subtle); + --bs-alert-link-color: var(--bs-light-text-emphasis); } .alert-dark { - --bs-alert-color: #141619; - --bs-alert-bg: #d3d3d4; - --bs-alert-border-color: #bcbebf; -} -.alert-dark .alert-link { - color: #101214; + --bs-alert-color: var(--bs-dark-text-emphasis); + --bs-alert-bg: var(--bs-dark-bg-subtle); + --bs-alert-border-color: var(--bs-dark-border-subtle); + --bs-alert-link-color: var(--bs-dark-text-emphasis); } @keyframes progress-bar-stripes { @@ -4768,12 +4955,13 @@ textarea.form-control-lg { background-position-x: 1rem; } } -.progress { +.progress, +.progress-stacked { --bs-progress-height: 1rem; --bs-progress-font-size: 0.75rem; - --bs-progress-bg: #e9ecef; - --bs-progress-border-radius: 0.375rem; - --bs-progress-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075); + --bs-progress-bg: var(--bs-secondary-bg); + --bs-progress-border-radius: var(--bs-border-radius); + --bs-progress-box-shadow: var(--bs-box-shadow-inset); --bs-progress-bar-color: #fff; --bs-progress-bar-bg: #0d6efd; --bs-progress-bar-transition: width 0.6s ease; @@ -4807,6 +4995,14 @@ textarea.form-control-lg { background-size: var(--bs-progress-height) var(--bs-progress-height); } +.progress-stacked > .progress { + overflow: visible; +} + +.progress-stacked > .progress > .progress-bar { + width: 100%; +} + .progress-bar-animated { animation: 1s linear infinite progress-bar-stripes; } @@ -4817,20 +5013,20 @@ textarea.form-control-lg { } .list-group { - --bs-list-group-color: #212529; - --bs-list-group-bg: #fff; - --bs-list-group-border-color: rgba(0, 0, 0, 0.125); - --bs-list-group-border-width: 1px; - --bs-list-group-border-radius: 0.375rem; + --bs-list-group-color: var(--bs-body-color); + --bs-list-group-bg: var(--bs-body-bg); + --bs-list-group-border-color: var(--bs-border-color); + --bs-list-group-border-width: var(--bs-border-width); + --bs-list-group-border-radius: var(--bs-border-radius); --bs-list-group-item-padding-x: 1rem; --bs-list-group-item-padding-y: 0.5rem; - --bs-list-group-action-color: #495057; - --bs-list-group-action-hover-color: #495057; - --bs-list-group-action-hover-bg: #f8f9fa; - --bs-list-group-action-active-color: #212529; - --bs-list-group-action-active-bg: #e9ecef; - --bs-list-group-disabled-color: #6c757d; - --bs-list-group-disabled-bg: #fff; + --bs-list-group-action-color: var(--bs-secondary-color); + --bs-list-group-action-hover-color: var(--bs-emphasis-color); + --bs-list-group-action-hover-bg: var(--bs-tertiary-bg); + --bs-list-group-action-active-color: var(--bs-body-color); + --bs-list-group-action-active-bg: var(--bs-secondary-bg); + --bs-list-group-disabled-color: var(--bs-secondary-color); + --bs-list-group-disabled-bg: var(--bs-body-bg); --bs-list-group-active-color: #fff; --bs-list-group-active-bg: #0d6efd; --bs-list-group-active-border-color: #0d6efd; @@ -5056,148 +5252,152 @@ textarea.form-control-lg { } .list-group-item-primary { - color: #084298; - background-color: #cfe2ff; -} -.list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus { - color: #084298; - background-color: #bacbe6; -} -.list-group-item-primary.list-group-item-action.active { - color: #fff; - background-color: #084298; - border-color: #084298; + --bs-list-group-color: var(--bs-primary-text-emphasis); + --bs-list-group-bg: var(--bs-primary-bg-subtle); + --bs-list-group-border-color: var(--bs-primary-border-subtle); + --bs-list-group-action-hover-color: var(--bs-emphasis-color); + --bs-list-group-action-hover-bg: var(--bs-primary-border-subtle); + --bs-list-group-action-active-color: var(--bs-emphasis-color); + --bs-list-group-action-active-bg: var(--bs-primary-border-subtle); + --bs-list-group-active-color: var(--bs-primary-bg-subtle); + --bs-list-group-active-bg: var(--bs-primary-text-emphasis); + --bs-list-group-active-border-color: var(--bs-primary-text-emphasis); } .list-group-item-secondary { - color: #41464b; - background-color: #e2e3e5; -} -.list-group-item-secondary.list-group-item-action:hover, .list-group-item-secondary.list-group-item-action:focus { - color: #41464b; - background-color: #cbccce; -} -.list-group-item-secondary.list-group-item-action.active { - color: #fff; - background-color: #41464b; - border-color: #41464b; + --bs-list-group-color: var(--bs-secondary-text-emphasis); + --bs-list-group-bg: var(--bs-secondary-bg-subtle); + --bs-list-group-border-color: var(--bs-secondary-border-subtle); + --bs-list-group-action-hover-color: var(--bs-emphasis-color); + --bs-list-group-action-hover-bg: var(--bs-secondary-border-subtle); + --bs-list-group-action-active-color: var(--bs-emphasis-color); + --bs-list-group-action-active-bg: var(--bs-secondary-border-subtle); + --bs-list-group-active-color: var(--bs-secondary-bg-subtle); + --bs-list-group-active-bg: var(--bs-secondary-text-emphasis); + --bs-list-group-active-border-color: var(--bs-secondary-text-emphasis); } .list-group-item-success { - color: #0f5132; - background-color: #d1e7dd; -} -.list-group-item-success.list-group-item-action:hover, .list-group-item-success.list-group-item-action:focus { - color: #0f5132; - background-color: #bcd0c7; -} -.list-group-item-success.list-group-item-action.active { - color: #fff; - background-color: #0f5132; - border-color: #0f5132; + --bs-list-group-color: var(--bs-success-text-emphasis); + --bs-list-group-bg: var(--bs-success-bg-subtle); + --bs-list-group-border-color: var(--bs-success-border-subtle); + --bs-list-group-action-hover-color: var(--bs-emphasis-color); + --bs-list-group-action-hover-bg: var(--bs-success-border-subtle); + --bs-list-group-action-active-color: var(--bs-emphasis-color); + --bs-list-group-action-active-bg: var(--bs-success-border-subtle); + --bs-list-group-active-color: var(--bs-success-bg-subtle); + --bs-list-group-active-bg: var(--bs-success-text-emphasis); + --bs-list-group-active-border-color: var(--bs-success-text-emphasis); } .list-group-item-info { - color: #055160; - background-color: #cff4fc; -} -.list-group-item-info.list-group-item-action:hover, .list-group-item-info.list-group-item-action:focus { - color: #055160; - background-color: #badce3; -} -.list-group-item-info.list-group-item-action.active { - color: #fff; - background-color: #055160; - border-color: #055160; + --bs-list-group-color: var(--bs-info-text-emphasis); + --bs-list-group-bg: var(--bs-info-bg-subtle); + --bs-list-group-border-color: var(--bs-info-border-subtle); + --bs-list-group-action-hover-color: var(--bs-emphasis-color); + --bs-list-group-action-hover-bg: var(--bs-info-border-subtle); + --bs-list-group-action-active-color: var(--bs-emphasis-color); + --bs-list-group-action-active-bg: var(--bs-info-border-subtle); + --bs-list-group-active-color: var(--bs-info-bg-subtle); + --bs-list-group-active-bg: var(--bs-info-text-emphasis); + --bs-list-group-active-border-color: var(--bs-info-text-emphasis); } .list-group-item-warning { - color: #664d03; - background-color: #fff3cd; -} -.list-group-item-warning.list-group-item-action:hover, .list-group-item-warning.list-group-item-action:focus { - color: #664d03; - background-color: #e6dbb9; -} -.list-group-item-warning.list-group-item-action.active { - color: #fff; - background-color: #664d03; - border-color: #664d03; + --bs-list-group-color: var(--bs-warning-text-emphasis); + --bs-list-group-bg: var(--bs-warning-bg-subtle); + --bs-list-group-border-color: var(--bs-warning-border-subtle); + --bs-list-group-action-hover-color: var(--bs-emphasis-color); + --bs-list-group-action-hover-bg: var(--bs-warning-border-subtle); + --bs-list-group-action-active-color: var(--bs-emphasis-color); + --bs-list-group-action-active-bg: var(--bs-warning-border-subtle); + --bs-list-group-active-color: var(--bs-warning-bg-subtle); + --bs-list-group-active-bg: var(--bs-warning-text-emphasis); + --bs-list-group-active-border-color: var(--bs-warning-text-emphasis); } .list-group-item-danger { - color: #842029; - background-color: #f8d7da; -} -.list-group-item-danger.list-group-item-action:hover, .list-group-item-danger.list-group-item-action:focus { - color: #842029; - background-color: #dfc2c4; -} -.list-group-item-danger.list-group-item-action.active { - color: #fff; - background-color: #842029; - border-color: #842029; + --bs-list-group-color: var(--bs-danger-text-emphasis); + --bs-list-group-bg: var(--bs-danger-bg-subtle); + --bs-list-group-border-color: var(--bs-danger-border-subtle); + --bs-list-group-action-hover-color: var(--bs-emphasis-color); + --bs-list-group-action-hover-bg: var(--bs-danger-border-subtle); + --bs-list-group-action-active-color: var(--bs-emphasis-color); + --bs-list-group-action-active-bg: var(--bs-danger-border-subtle); + --bs-list-group-active-color: var(--bs-danger-bg-subtle); + --bs-list-group-active-bg: var(--bs-danger-text-emphasis); + --bs-list-group-active-border-color: var(--bs-danger-text-emphasis); } .list-group-item-light { - color: #636464; - background-color: #fefefe; -} -.list-group-item-light.list-group-item-action:hover, .list-group-item-light.list-group-item-action:focus { - color: #636464; - background-color: #e5e5e5; -} -.list-group-item-light.list-group-item-action.active { - color: #fff; - background-color: #636464; - border-color: #636464; + --bs-list-group-color: var(--bs-light-text-emphasis); + --bs-list-group-bg: var(--bs-light-bg-subtle); + --bs-list-group-border-color: var(--bs-light-border-subtle); + --bs-list-group-action-hover-color: var(--bs-emphasis-color); + --bs-list-group-action-hover-bg: var(--bs-light-border-subtle); + --bs-list-group-action-active-color: var(--bs-emphasis-color); + --bs-list-group-action-active-bg: var(--bs-light-border-subtle); + --bs-list-group-active-color: var(--bs-light-bg-subtle); + --bs-list-group-active-bg: var(--bs-light-text-emphasis); + --bs-list-group-active-border-color: var(--bs-light-text-emphasis); } .list-group-item-dark { - color: #141619; - background-color: #d3d3d4; -} -.list-group-item-dark.list-group-item-action:hover, .list-group-item-dark.list-group-item-action:focus { - color: #141619; - background-color: #bebebf; -} -.list-group-item-dark.list-group-item-action.active { - color: #fff; - background-color: #141619; - border-color: #141619; + --bs-list-group-color: var(--bs-dark-text-emphasis); + --bs-list-group-bg: var(--bs-dark-bg-subtle); + --bs-list-group-border-color: var(--bs-dark-border-subtle); + --bs-list-group-action-hover-color: var(--bs-emphasis-color); + --bs-list-group-action-hover-bg: var(--bs-dark-border-subtle); + --bs-list-group-action-active-color: var(--bs-emphasis-color); + --bs-list-group-action-active-bg: var(--bs-dark-border-subtle); + --bs-list-group-active-color: var(--bs-dark-bg-subtle); + --bs-list-group-active-bg: var(--bs-dark-text-emphasis); + --bs-list-group-active-border-color: var(--bs-dark-text-emphasis); } .btn-close { + --bs-btn-close-color: #000; + --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e"); + --bs-btn-close-opacity: 0.5; + --bs-btn-close-hover-opacity: 0.75; + --bs-btn-close-focus-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); + --bs-btn-close-focus-opacity: 1; + --bs-btn-close-disabled-opacity: 0.25; + --bs-btn-close-white-filter: invert(1) grayscale(100%) brightness(200%); box-sizing: content-box; width: 1em; height: 1em; padding: 0.25em 0.25em; - color: #000; - background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat; + color: var(--bs-btn-close-color); + background: transparent var(--bs-btn-close-bg) center/1em auto no-repeat; border: 0; border-radius: 0.375rem; - opacity: 0.5; + opacity: var(--bs-btn-close-opacity); } .btn-close:hover { - color: #000; + color: var(--bs-btn-close-color); text-decoration: none; - opacity: 0.75; + opacity: var(--bs-btn-close-hover-opacity); } .btn-close:focus { outline: 0; - box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25); - opacity: 1; + box-shadow: var(--bs-btn-close-focus-shadow); + opacity: var(--bs-btn-close-focus-opacity); } .btn-close:disabled, .btn-close.disabled { pointer-events: none; -webkit-user-select: none; -moz-user-select: none; user-select: none; - opacity: 0.25; + opacity: var(--bs-btn-close-disabled-opacity); } .btn-close-white { - filter: invert(1) grayscale(100%) brightness(200%); + filter: var(--bs-btn-close-white-filter); +} + +[data-bs-theme=dark] .btn-close { + filter: var(--bs-btn-close-white-filter); } .toast { @@ -5208,14 +5408,14 @@ textarea.form-control-lg { --bs-toast-max-width: 350px; --bs-toast-font-size: 0.875rem; --bs-toast-color: ; - --bs-toast-bg: rgba(255, 255, 255, 0.85); - --bs-toast-border-width: 1px; + --bs-toast-bg: rgba(var(--bs-body-bg-rgb), 0.85); + --bs-toast-border-width: var(--bs-border-width); --bs-toast-border-color: var(--bs-border-color-translucent); - --bs-toast-border-radius: 0.375rem; - --bs-toast-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); - --bs-toast-header-color: #6c757d; - --bs-toast-header-bg: rgba(255, 255, 255, 0.85); - --bs-toast-header-border-color: rgba(0, 0, 0, 0.05); + --bs-toast-border-radius: var(--bs-border-radius); + --bs-toast-box-shadow: var(--bs-box-shadow); + --bs-toast-header-color: var(--bs-secondary-color); + --bs-toast-header-bg: rgba(var(--bs-body-bg-rgb), 0.85); + --bs-toast-header-border-color: var(--bs-border-color-translucent); width: var(--bs-toast-max-width); max-width: 100%; font-size: var(--bs-toast-font-size); @@ -5275,22 +5475,22 @@ textarea.form-control-lg { --bs-modal-padding: 1rem; --bs-modal-margin: 0.5rem; --bs-modal-color: ; - --bs-modal-bg: #fff; + --bs-modal-bg: var(--bs-body-bg); --bs-modal-border-color: var(--bs-border-color-translucent); - --bs-modal-border-width: 1px; - --bs-modal-border-radius: 0.5rem; - --bs-modal-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); - --bs-modal-inner-border-radius: calc(0.5rem - 1px); + --bs-modal-border-width: var(--bs-border-width); + --bs-modal-border-radius: var(--bs-border-radius-lg); + --bs-modal-box-shadow: var(--bs-box-shadow-sm); + --bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width))); --bs-modal-header-padding-x: 1rem; --bs-modal-header-padding-y: 1rem; --bs-modal-header-padding: 1rem 1rem; --bs-modal-header-border-color: var(--bs-border-color); - --bs-modal-header-border-width: 1px; + --bs-modal-header-border-width: var(--bs-border-width); --bs-modal-title-line-height: 1.5; --bs-modal-footer-gap: 0.5rem; --bs-modal-footer-bg: ; --bs-modal-footer-border-color: var(--bs-border-color); - --bs-modal-footer-border-width: 1px; + --bs-modal-footer-border-width: var(--bs-border-width); position: fixed; top: 0; left: 0; @@ -5379,7 +5579,6 @@ textarea.form-control-lg { display: flex; flex-shrink: 0; align-items: center; - justify-content: space-between; padding: var(--bs-modal-header-padding); border-bottom: var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color); border-top-left-radius: var(--bs-modal-inner-border-radius); @@ -5420,7 +5619,7 @@ textarea.form-control-lg { @media (min-width: 576px) { .modal { --bs-modal-margin: 1.75rem; - --bs-modal-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); + --bs-modal-box-shadow: var(--bs-box-shadow); } .modal-dialog { max-width: var(--bs-modal-width); @@ -5433,7 +5632,7 @@ textarea.form-control-lg { } @media (min-width: 992px) { .modal-lg, -.modal-xl { + .modal-xl { --bs-modal-width: 800px; } } @@ -5474,7 +5673,7 @@ textarea.form-control-lg { border-radius: 0; } .modal-fullscreen-sm-down .modal-header, -.modal-fullscreen-sm-down .modal-footer { + .modal-fullscreen-sm-down .modal-footer { border-radius: 0; } .modal-fullscreen-sm-down .modal-body { @@ -5494,7 +5693,7 @@ textarea.form-control-lg { border-radius: 0; } .modal-fullscreen-md-down .modal-header, -.modal-fullscreen-md-down .modal-footer { + .modal-fullscreen-md-down .modal-footer { border-radius: 0; } .modal-fullscreen-md-down .modal-body { @@ -5514,7 +5713,7 @@ textarea.form-control-lg { border-radius: 0; } .modal-fullscreen-lg-down .modal-header, -.modal-fullscreen-lg-down .modal-footer { + .modal-fullscreen-lg-down .modal-footer { border-radius: 0; } .modal-fullscreen-lg-down .modal-body { @@ -5534,7 +5733,7 @@ textarea.form-control-lg { border-radius: 0; } .modal-fullscreen-xl-down .modal-header, -.modal-fullscreen-xl-down .modal-footer { + .modal-fullscreen-xl-down .modal-footer { border-radius: 0; } .modal-fullscreen-xl-down .modal-body { @@ -5554,7 +5753,7 @@ textarea.form-control-lg { border-radius: 0; } .modal-fullscreen-xxl-down .modal-header, -.modal-fullscreen-xxl-down .modal-footer { + .modal-fullscreen-xxl-down .modal-footer { border-radius: 0; } .modal-fullscreen-xxl-down .modal-body { @@ -5568,15 +5767,14 @@ textarea.form-control-lg { --bs-tooltip-padding-y: 0.25rem; --bs-tooltip-margin: ; --bs-tooltip-font-size: 0.875rem; - --bs-tooltip-color: #fff; - --bs-tooltip-bg: #000; - --bs-tooltip-border-radius: 0.375rem; + --bs-tooltip-color: var(--bs-body-bg); + --bs-tooltip-bg: var(--bs-emphasis-color); + --bs-tooltip-border-radius: var(--bs-border-radius); --bs-tooltip-opacity: 0.9; --bs-tooltip-arrow-width: 0.8rem; --bs-tooltip-arrow-height: 0.4rem; z-index: var(--bs-tooltip-zindex); display: block; - padding: var(--bs-tooltip-arrow-height); margin: var(--bs-tooltip-margin); font-family: var(--bs-font-sans-serif); font-style: normal; @@ -5612,7 +5810,7 @@ textarea.form-control-lg { } .bs-tooltip-top .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow { - bottom: 0; + bottom: calc(-1 * var(--bs-tooltip-arrow-height)); } .bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before { top: -1px; @@ -5622,7 +5820,7 @@ textarea.form-control-lg { /* rtl:begin:ignore */ .bs-tooltip-end .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow { - left: 0; + left: calc(-1 * var(--bs-tooltip-arrow-height)); width: var(--bs-tooltip-arrow-height); height: var(--bs-tooltip-arrow-width); } @@ -5634,7 +5832,7 @@ textarea.form-control-lg { /* rtl:end:ignore */ .bs-tooltip-bottom .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow { - top: 0; + top: calc(-1 * var(--bs-tooltip-arrow-height)); } .bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before { bottom: -1px; @@ -5644,7 +5842,7 @@ textarea.form-control-lg { /* rtl:begin:ignore */ .bs-tooltip-start .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow { - right: 0; + right: calc(-1 * var(--bs-tooltip-arrow-height)); width: var(--bs-tooltip-arrow-height); height: var(--bs-tooltip-arrow-width); } @@ -5668,20 +5866,20 @@ textarea.form-control-lg { --bs-popover-zindex: 1070; --bs-popover-max-width: 276px; --bs-popover-font-size: 0.875rem; - --bs-popover-bg: #fff; - --bs-popover-border-width: 1px; + --bs-popover-bg: var(--bs-body-bg); + --bs-popover-border-width: var(--bs-border-width); --bs-popover-border-color: var(--bs-border-color-translucent); - --bs-popover-border-radius: 0.5rem; - --bs-popover-inner-border-radius: calc(0.5rem - 1px); - --bs-popover-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); + --bs-popover-border-radius: var(--bs-border-radius-lg); + --bs-popover-inner-border-radius: calc(var(--bs-border-radius-lg) - var(--bs-border-width)); + --bs-popover-box-shadow: var(--bs-box-shadow); --bs-popover-header-padding-x: 1rem; --bs-popover-header-padding-y: 0.5rem; --bs-popover-header-font-size: 1rem; - --bs-popover-header-color: ; - --bs-popover-header-bg: #f0f0f0; + --bs-popover-header-color: inherit; + --bs-popover-header-bg: var(--bs-secondary-bg); --bs-popover-body-padding-x: 1rem; --bs-popover-body-padding-y: 1rem; - --bs-popover-body-color: #212529; + --bs-popover-body-color: var(--bs-body-color); --bs-popover-arrow-width: 1rem; --bs-popover-arrow-height: 0.5rem; --bs-popover-arrow-border: var(--bs-popover-border-color); @@ -5861,7 +6059,6 @@ textarea.form-control-lg { display: block; } -/* rtl:begin:ignore */ .carousel-item-next:not(.carousel-item-start), .active.carousel-item-end { transform: translateX(100%); @@ -5872,7 +6069,6 @@ textarea.form-control-lg { transform: translateX(-100%); } -/* rtl:end:ignore */ .carousel-fade .carousel-item { opacity: 0; transition-property: opacity; @@ -5892,7 +6088,7 @@ textarea.form-control-lg { } @media (prefers-reduced-motion: reduce) { .carousel-fade .active.carousel-item-start, -.carousel-fade .active.carousel-item-end { + .carousel-fade .active.carousel-item-end { transition: none; } } @@ -5917,7 +6113,7 @@ textarea.form-control-lg { } @media (prefers-reduced-motion: reduce) { .carousel-control-prev, -.carousel-control-next { + .carousel-control-next { transition: none; } } @@ -5948,20 +6144,12 @@ textarea.form-control-lg { background-size: 100% 100%; } -/* rtl:options: { - "autoRename": true, - "stringMap":[ { - "name" : "prev-next", - "search" : "prev", - "replace" : "next" - } ] -} */ .carousel-control-prev-icon { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e"); + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e") /*rtl:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")*/; } .carousel-control-next-icon { - background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e"); + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") /*rtl:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e")*/; } .carousel-indicators { @@ -5976,7 +6164,6 @@ textarea.form-control-lg { margin-right: 15%; margin-bottom: 1rem; margin-left: 15%; - list-style: none; } .carousel-indicators [data-bs-target] { box-sizing: content-box; @@ -6027,6 +6214,18 @@ textarea.form-control-lg { color: #000; } +[data-bs-theme=dark] .carousel .carousel-control-prev-icon, +[data-bs-theme=dark] .carousel .carousel-control-next-icon, [data-bs-theme=dark].carousel .carousel-control-prev-icon, +[data-bs-theme=dark].carousel .carousel-control-next-icon { + filter: invert(1) grayscale(100); +} +[data-bs-theme=dark] .carousel .carousel-indicators [data-bs-target], [data-bs-theme=dark].carousel .carousel-indicators [data-bs-target] { + background-color: #000; +} +[data-bs-theme=dark] .carousel .carousel-caption, [data-bs-theme=dark].carousel .carousel-caption { + color: #000; +} + .spinner-grow, .spinner-border { display: inline-block; @@ -6085,7 +6284,7 @@ textarea.form-control-lg { @media (prefers-reduced-motion: reduce) { .spinner-border, -.spinner-grow { + .spinner-grow { --bs-spinner-animation-speed: 1.5s; } } @@ -6095,11 +6294,13 @@ textarea.form-control-lg { --bs-offcanvas-height: 30vh; --bs-offcanvas-padding-x: 1rem; --bs-offcanvas-padding-y: 1rem; - --bs-offcanvas-color: ; - --bs-offcanvas-bg: #fff; - --bs-offcanvas-border-width: 1px; + --bs-offcanvas-color: var(--bs-body-color); + --bs-offcanvas-bg: var(--bs-body-bg); + --bs-offcanvas-border-width: var(--bs-border-width); --bs-offcanvas-border-color: var(--bs-border-color-translucent); - --bs-offcanvas-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); + --bs-offcanvas-box-shadow: var(--bs-box-shadow-sm); + --bs-offcanvas-transition: transform 0.3s ease-in-out; + --bs-offcanvas-title-line-height: 1.5; } @media (max-width: 575.98px) { @@ -6115,7 +6316,7 @@ textarea.form-control-lg { background-color: var(--bs-offcanvas-bg); background-clip: padding-box; outline: 0; - transition: transform 0.3s ease-in-out; + transition: var(--bs-offcanvas-transition); } } @media (max-width: 575.98px) and (prefers-reduced-motion: reduce) { @@ -6131,8 +6332,6 @@ textarea.form-control-lg { border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateX(-100%); } -} -@media (max-width: 575.98px) { .offcanvas-sm.offcanvas-end { top: 0; right: 0; @@ -6140,8 +6339,6 @@ textarea.form-control-lg { border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateX(100%); } -} -@media (max-width: 575.98px) { .offcanvas-sm.offcanvas-top { top: 0; right: 0; @@ -6151,8 +6348,6 @@ textarea.form-control-lg { border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateY(-100%); } -} -@media (max-width: 575.98px) { .offcanvas-sm.offcanvas-bottom { right: 0; left: 0; @@ -6161,13 +6356,9 @@ textarea.form-control-lg { border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateY(100%); } -} -@media (max-width: 575.98px) { .offcanvas-sm.showing, .offcanvas-sm.show:not(.hiding) { transform: none; } -} -@media (max-width: 575.98px) { .offcanvas-sm.showing, .offcanvas-sm.hiding, .offcanvas-sm.show { visibility: visible; } @@ -6203,7 +6394,7 @@ textarea.form-control-lg { background-color: var(--bs-offcanvas-bg); background-clip: padding-box; outline: 0; - transition: transform 0.3s ease-in-out; + transition: var(--bs-offcanvas-transition); } } @media (max-width: 767.98px) and (prefers-reduced-motion: reduce) { @@ -6219,8 +6410,6 @@ textarea.form-control-lg { border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateX(-100%); } -} -@media (max-width: 767.98px) { .offcanvas-md.offcanvas-end { top: 0; right: 0; @@ -6228,8 +6417,6 @@ textarea.form-control-lg { border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateX(100%); } -} -@media (max-width: 767.98px) { .offcanvas-md.offcanvas-top { top: 0; right: 0; @@ -6239,8 +6426,6 @@ textarea.form-control-lg { border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateY(-100%); } -} -@media (max-width: 767.98px) { .offcanvas-md.offcanvas-bottom { right: 0; left: 0; @@ -6249,13 +6434,9 @@ textarea.form-control-lg { border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateY(100%); } -} -@media (max-width: 767.98px) { .offcanvas-md.showing, .offcanvas-md.show:not(.hiding) { transform: none; } -} -@media (max-width: 767.98px) { .offcanvas-md.showing, .offcanvas-md.hiding, .offcanvas-md.show { visibility: visible; } @@ -6291,7 +6472,7 @@ textarea.form-control-lg { background-color: var(--bs-offcanvas-bg); background-clip: padding-box; outline: 0; - transition: transform 0.3s ease-in-out; + transition: var(--bs-offcanvas-transition); } } @media (max-width: 991.98px) and (prefers-reduced-motion: reduce) { @@ -6307,8 +6488,6 @@ textarea.form-control-lg { border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateX(-100%); } -} -@media (max-width: 991.98px) { .offcanvas-lg.offcanvas-end { top: 0; right: 0; @@ -6316,8 +6495,6 @@ textarea.form-control-lg { border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateX(100%); } -} -@media (max-width: 991.98px) { .offcanvas-lg.offcanvas-top { top: 0; right: 0; @@ -6327,8 +6504,6 @@ textarea.form-control-lg { border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateY(-100%); } -} -@media (max-width: 991.98px) { .offcanvas-lg.offcanvas-bottom { right: 0; left: 0; @@ -6337,13 +6512,9 @@ textarea.form-control-lg { border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateY(100%); } -} -@media (max-width: 991.98px) { .offcanvas-lg.showing, .offcanvas-lg.show:not(.hiding) { transform: none; } -} -@media (max-width: 991.98px) { .offcanvas-lg.showing, .offcanvas-lg.hiding, .offcanvas-lg.show { visibility: visible; } @@ -6379,7 +6550,7 @@ textarea.form-control-lg { background-color: var(--bs-offcanvas-bg); background-clip: padding-box; outline: 0; - transition: transform 0.3s ease-in-out; + transition: var(--bs-offcanvas-transition); } } @media (max-width: 1199.98px) and (prefers-reduced-motion: reduce) { @@ -6395,8 +6566,6 @@ textarea.form-control-lg { border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateX(-100%); } -} -@media (max-width: 1199.98px) { .offcanvas-xl.offcanvas-end { top: 0; right: 0; @@ -6404,8 +6573,6 @@ textarea.form-control-lg { border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateX(100%); } -} -@media (max-width: 1199.98px) { .offcanvas-xl.offcanvas-top { top: 0; right: 0; @@ -6415,8 +6582,6 @@ textarea.form-control-lg { border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateY(-100%); } -} -@media (max-width: 1199.98px) { .offcanvas-xl.offcanvas-bottom { right: 0; left: 0; @@ -6425,13 +6590,9 @@ textarea.form-control-lg { border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateY(100%); } -} -@media (max-width: 1199.98px) { .offcanvas-xl.showing, .offcanvas-xl.show:not(.hiding) { transform: none; } -} -@media (max-width: 1199.98px) { .offcanvas-xl.showing, .offcanvas-xl.hiding, .offcanvas-xl.show { visibility: visible; } @@ -6467,7 +6628,7 @@ textarea.form-control-lg { background-color: var(--bs-offcanvas-bg); background-clip: padding-box; outline: 0; - transition: transform 0.3s ease-in-out; + transition: var(--bs-offcanvas-transition); } } @media (max-width: 1399.98px) and (prefers-reduced-motion: reduce) { @@ -6483,8 +6644,6 @@ textarea.form-control-lg { border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateX(-100%); } -} -@media (max-width: 1399.98px) { .offcanvas-xxl.offcanvas-end { top: 0; right: 0; @@ -6492,8 +6651,6 @@ textarea.form-control-lg { border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateX(100%); } -} -@media (max-width: 1399.98px) { .offcanvas-xxl.offcanvas-top { top: 0; right: 0; @@ -6503,8 +6660,6 @@ textarea.form-control-lg { border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateY(-100%); } -} -@media (max-width: 1399.98px) { .offcanvas-xxl.offcanvas-bottom { right: 0; left: 0; @@ -6513,13 +6668,9 @@ textarea.form-control-lg { border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color); transform: translateY(100%); } -} -@media (max-width: 1399.98px) { .offcanvas-xxl.showing, .offcanvas-xxl.show:not(.hiding) { transform: none; } -} -@media (max-width: 1399.98px) { .offcanvas-xxl.showing, .offcanvas-xxl.hiding, .offcanvas-xxl.show { visibility: visible; } @@ -6554,7 +6705,7 @@ textarea.form-control-lg { background-color: var(--bs-offcanvas-bg); background-clip: padding-box; outline: 0; - transition: transform 0.3s ease-in-out; + transition: var(--bs-offcanvas-transition); } @media (prefers-reduced-motion: reduce) { .offcanvas { @@ -6618,19 +6769,16 @@ textarea.form-control-lg { .offcanvas-header { display: flex; align-items: center; - justify-content: space-between; padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x); } .offcanvas-header .btn-close { padding: calc(var(--bs-offcanvas-padding-y) * 0.5) calc(var(--bs-offcanvas-padding-x) * 0.5); - margin-top: calc(-0.5 * var(--bs-offcanvas-padding-y)); - margin-right: calc(-0.5 * var(--bs-offcanvas-padding-x)); - margin-bottom: calc(-0.5 * var(--bs-offcanvas-padding-y)); + margin: calc(-0.5 * var(--bs-offcanvas-padding-y)) calc(-0.5 * var(--bs-offcanvas-padding-x)) calc(-0.5 * var(--bs-offcanvas-padding-y)) auto; } .offcanvas-title { margin-bottom: 0; - line-height: 1.5; + line-height: var(--bs-offcanvas-title-line-height); } .offcanvas-body { @@ -6695,98 +6843,173 @@ textarea.form-control-lg { .text-bg-primary { color: #fff !important; - background-color: RGBA(13, 110, 253, var(--bs-bg-opacity, 1)) !important; + background-color: RGBA(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important; } .text-bg-secondary { color: #fff !important; - background-color: RGBA(108, 117, 125, var(--bs-bg-opacity, 1)) !important; + background-color: RGBA(var(--bs-secondary-rgb), var(--bs-bg-opacity, 1)) !important; } .text-bg-success { color: #fff !important; - background-color: RGBA(25, 135, 84, var(--bs-bg-opacity, 1)) !important; + background-color: RGBA(var(--bs-success-rgb), var(--bs-bg-opacity, 1)) !important; } .text-bg-info { color: #000 !important; - background-color: RGBA(13, 202, 240, var(--bs-bg-opacity, 1)) !important; + background-color: RGBA(var(--bs-info-rgb), var(--bs-bg-opacity, 1)) !important; } .text-bg-warning { color: #000 !important; - background-color: RGBA(255, 193, 7, var(--bs-bg-opacity, 1)) !important; + background-color: RGBA(var(--bs-warning-rgb), var(--bs-bg-opacity, 1)) !important; } .text-bg-danger { color: #fff !important; - background-color: RGBA(220, 53, 69, var(--bs-bg-opacity, 1)) !important; + background-color: RGBA(var(--bs-danger-rgb), var(--bs-bg-opacity, 1)) !important; } .text-bg-light { color: #000 !important; - background-color: RGBA(248, 249, 250, var(--bs-bg-opacity, 1)) !important; + background-color: RGBA(var(--bs-light-rgb), var(--bs-bg-opacity, 1)) !important; } .text-bg-dark { color: #fff !important; - background-color: RGBA(33, 37, 41, var(--bs-bg-opacity, 1)) !important; + background-color: RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity, 1)) !important; } .link-primary { - color: #0d6efd !important; + color: RGBA(var(--bs-primary-rgb), var(--bs-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(var(--bs-primary-rgb), var(--bs-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(var(--bs-primary-rgb), var(--bs-link-underline-opacity, 1)) !important; } .link-primary:hover, .link-primary:focus { - color: #0a58ca !important; + color: RGBA(10, 88, 202, var(--bs-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(10, 88, 202, var(--bs-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(10, 88, 202, var(--bs-link-underline-opacity, 1)) !important; } .link-secondary { - color: #6c757d !important; + color: RGBA(var(--bs-secondary-rgb), var(--bs-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(var(--bs-secondary-rgb), var(--bs-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(var(--bs-secondary-rgb), var(--bs-link-underline-opacity, 1)) !important; } .link-secondary:hover, .link-secondary:focus { - color: #565e64 !important; + color: RGBA(86, 94, 100, var(--bs-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(86, 94, 100, var(--bs-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(86, 94, 100, var(--bs-link-underline-opacity, 1)) !important; } .link-success { - color: #198754 !important; + color: RGBA(var(--bs-success-rgb), var(--bs-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(var(--bs-success-rgb), var(--bs-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(var(--bs-success-rgb), var(--bs-link-underline-opacity, 1)) !important; } .link-success:hover, .link-success:focus { - color: #146c43 !important; + color: RGBA(20, 108, 67, var(--bs-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(20, 108, 67, var(--bs-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(20, 108, 67, var(--bs-link-underline-opacity, 1)) !important; } .link-info { - color: #0dcaf0 !important; + color: RGBA(var(--bs-info-rgb), var(--bs-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(var(--bs-info-rgb), var(--bs-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(var(--bs-info-rgb), var(--bs-link-underline-opacity, 1)) !important; } .link-info:hover, .link-info:focus { - color: #3dd5f3 !important; + color: RGBA(61, 213, 243, var(--bs-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(61, 213, 243, var(--bs-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(61, 213, 243, var(--bs-link-underline-opacity, 1)) !important; } .link-warning { - color: #ffc107 !important; + color: RGBA(var(--bs-warning-rgb), var(--bs-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(var(--bs-warning-rgb), var(--bs-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(var(--bs-warning-rgb), var(--bs-link-underline-opacity, 1)) !important; } .link-warning:hover, .link-warning:focus { - color: #ffcd39 !important; + color: RGBA(255, 205, 57, var(--bs-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(255, 205, 57, var(--bs-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(255, 205, 57, var(--bs-link-underline-opacity, 1)) !important; } .link-danger { - color: #dc3545 !important; + color: RGBA(var(--bs-danger-rgb), var(--bs-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(var(--bs-danger-rgb), var(--bs-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(var(--bs-danger-rgb), var(--bs-link-underline-opacity, 1)) !important; } .link-danger:hover, .link-danger:focus { - color: #b02a37 !important; + color: RGBA(176, 42, 55, var(--bs-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(176, 42, 55, var(--bs-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(176, 42, 55, var(--bs-link-underline-opacity, 1)) !important; } .link-light { - color: #f8f9fa !important; + color: RGBA(var(--bs-light-rgb), var(--bs-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(var(--bs-light-rgb), var(--bs-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(var(--bs-light-rgb), var(--bs-link-underline-opacity, 1)) !important; } .link-light:hover, .link-light:focus { - color: #f9fafb !important; + color: RGBA(249, 250, 251, var(--bs-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(249, 250, 251, var(--bs-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(249, 250, 251, var(--bs-link-underline-opacity, 1)) !important; } .link-dark { - color: #212529 !important; + color: RGBA(var(--bs-dark-rgb), var(--bs-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(var(--bs-dark-rgb), var(--bs-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(var(--bs-dark-rgb), var(--bs-link-underline-opacity, 1)) !important; } .link-dark:hover, .link-dark:focus { - color: #1a1e21 !important; + color: RGBA(26, 30, 33, var(--bs-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(26, 30, 33, var(--bs-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(26, 30, 33, var(--bs-link-underline-opacity, 1)) !important; +} + +.link-body-emphasis { + color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 1)) !important; + -webkit-text-decoration-color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 1)) !important; + text-decoration-color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 1)) !important; +} +.link-body-emphasis:hover, .link-body-emphasis:focus { + color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 0.75)) !important; + -webkit-text-decoration-color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 0.75)) !important; + text-decoration-color: RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 0.75)) !important; +} + +.focus-ring:focus { + outline: 0; + box-shadow: var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color); +} + +.icon-link { + display: inline-flex; + gap: 0.375rem; + align-items: center; + -webkit-text-decoration-color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 0.5)); + text-decoration-color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 0.5)); + text-underline-offset: 0.25em; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; +} +.icon-link > .bi { + flex-shrink: 0; + width: 1em; + height: 1em; + fill: currentcolor; + transition: 0.2s ease-in-out transform; +} +@media (prefers-reduced-motion: reduce) { + .icon-link > .bi { + transition: none; + } +} + +.icon-link-hover:hover > .bi, .icon-link-hover:focus-visible > .bi { + transform: var(--bs-icon-link-transform, translate3d(0.25em, 0, 0)); } .ratio { @@ -6938,7 +7161,6 @@ textarea.form-control-lg { .visually-hidden, .visually-hidden-focusable:not(:focus):not(:focus-within) { - position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; @@ -6948,6 +7170,10 @@ textarea.form-control-lg { white-space: nowrap !important; border: 0 !important; } +.visually-hidden:not(caption), +.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption) { + position: absolute !important; +} .stretched-link::after { position: absolute; @@ -6968,7 +7194,7 @@ textarea.form-control-lg { .vr { display: inline-block; align-self: stretch; - width: 1px; + width: var(--bs-border-width); min-height: 1em; background-color: currentcolor; opacity: 0.25; @@ -7010,6 +7236,31 @@ textarea.form-control-lg { float: none !important; } +.object-fit-contain { + -o-object-fit: contain !important; + object-fit: contain !important; +} + +.object-fit-cover { + -o-object-fit: cover !important; + object-fit: cover !important; +} + +.object-fit-fill { + -o-object-fit: fill !important; + object-fit: fill !important; +} + +.object-fit-scale { + -o-object-fit: scale-down !important; + object-fit: scale-down !important; +} + +.object-fit-none { + -o-object-fit: none !important; + object-fit: none !important; +} + .opacity-0 { opacity: 0 !important; } @@ -7046,6 +7297,38 @@ textarea.form-control-lg { overflow: scroll !important; } +.overflow-x-auto { + overflow-x: auto !important; +} + +.overflow-x-hidden { + overflow-x: hidden !important; +} + +.overflow-x-visible { + overflow-x: visible !important; +} + +.overflow-x-scroll { + overflow-x: scroll !important; +} + +.overflow-y-auto { + overflow-y: auto !important; +} + +.overflow-y-hidden { + overflow-y: hidden !important; +} + +.overflow-y-visible { + overflow-y: visible !important; +} + +.overflow-y-scroll { + overflow-y: scroll !important; +} + .d-inline { display: inline !important; } @@ -7062,6 +7345,10 @@ textarea.form-control-lg { display: grid !important; } +.d-inline-grid { + display: inline-grid !important; +} + .d-table { display: table !important; } @@ -7087,21 +7374,53 @@ textarea.form-control-lg { } .shadow { - box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; + box-shadow: var(--bs-box-shadow) !important; } .shadow-sm { - box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important; + box-shadow: var(--bs-box-shadow-sm) !important; } .shadow-lg { - box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important; + box-shadow: var(--bs-box-shadow-lg) !important; } .shadow-none { box-shadow: none !important; } +.focus-ring-primary { + --bs-focus-ring-color: rgba(var(--bs-primary-rgb), var(--bs-focus-ring-opacity)); +} + +.focus-ring-secondary { + --bs-focus-ring-color: rgba(var(--bs-secondary-rgb), var(--bs-focus-ring-opacity)); +} + +.focus-ring-success { + --bs-focus-ring-color: rgba(var(--bs-success-rgb), var(--bs-focus-ring-opacity)); +} + +.focus-ring-info { + --bs-focus-ring-color: rgba(var(--bs-info-rgb), var(--bs-focus-ring-opacity)); +} + +.focus-ring-warning { + --bs-focus-ring-color: rgba(var(--bs-warning-rgb), var(--bs-focus-ring-opacity)); +} + +.focus-ring-danger { + --bs-focus-ring-color: rgba(var(--bs-danger-rgb), var(--bs-focus-ring-opacity)); +} + +.focus-ring-light { + --bs-focus-ring-color: rgba(var(--bs-light-rgb), var(--bs-focus-ring-opacity)); +} + +.focus-ring-dark { + --bs-focus-ring-color: rgba(var(--bs-dark-rgb), var(--bs-focus-ring-opacity)); +} + .position-static { position: static !important; } @@ -7263,29 +7582,66 @@ textarea.form-control-lg { border-color: rgba(var(--bs-dark-rgb), var(--bs-border-opacity)) !important; } +.border-black { + --bs-border-opacity: 1; + border-color: rgba(var(--bs-black-rgb), var(--bs-border-opacity)) !important; +} + .border-white { --bs-border-opacity: 1; border-color: rgba(var(--bs-white-rgb), var(--bs-border-opacity)) !important; } +.border-primary-subtle { + border-color: var(--bs-primary-border-subtle) !important; +} + +.border-secondary-subtle { + border-color: var(--bs-secondary-border-subtle) !important; +} + +.border-success-subtle { + border-color: var(--bs-success-border-subtle) !important; +} + +.border-info-subtle { + border-color: var(--bs-info-border-subtle) !important; +} + +.border-warning-subtle { + border-color: var(--bs-warning-border-subtle) !important; +} + +.border-danger-subtle { + border-color: var(--bs-danger-border-subtle) !important; +} + +.border-light-subtle { + border-color: var(--bs-light-border-subtle) !important; +} + +.border-dark-subtle { + border-color: var(--bs-dark-border-subtle) !important; +} + .border-1 { - --bs-border-width: 1px; + border-width: 1px !important; } .border-2 { - --bs-border-width: 2px; + border-width: 2px !important; } .border-3 { - --bs-border-width: 3px; + border-width: 3px !important; } .border-4 { - --bs-border-width: 4px; + border-width: 4px !important; } .border-5 { - --bs-border-width: 5px; + border-width: 5px !important; } .border-opacity-10 { @@ -7958,6 +8314,60 @@ textarea.form-control-lg { gap: 3rem !important; } +.row-gap-0 { + row-gap: 0 !important; +} + +.row-gap-1 { + row-gap: 0.25rem !important; +} + +.row-gap-2 { + row-gap: 0.5rem !important; +} + +.row-gap-3 { + row-gap: 1rem !important; +} + +.row-gap-4 { + row-gap: 1.5rem !important; +} + +.row-gap-5 { + row-gap: 3rem !important; +} + +.column-gap-0 { + -moz-column-gap: 0 !important; + column-gap: 0 !important; +} + +.column-gap-1 { + -moz-column-gap: 0.25rem !important; + column-gap: 0.25rem !important; +} + +.column-gap-2 { + -moz-column-gap: 0.5rem !important; + column-gap: 0.5rem !important; +} + +.column-gap-3 { + -moz-column-gap: 1rem !important; + column-gap: 1rem !important; +} + +.column-gap-4 { + -moz-column-gap: 1.5rem !important; + column-gap: 1.5rem !important; +} + +.column-gap-5 { + -moz-column-gap: 3rem !important; + column-gap: 3rem !important; +} + .font-monospace { font-family: var(--bs-font-monospace) !important; } @@ -7994,26 +8404,30 @@ textarea.form-control-lg { font-style: normal !important; } -.fw-light { - font-weight: 300 !important; -} - .fw-lighter { font-weight: lighter !important; } +.fw-light { + font-weight: 300 !important; +} + .fw-normal { font-weight: 400 !important; } -.fw-bold { - font-weight: 700 !important; +.fw-medium { + font-weight: 500 !important; } .fw-semibold { font-weight: 600 !important; } +.fw-bold { + font-weight: 700 !important; +} + .fw-bolder { font-weight: bolder !important; } @@ -8142,7 +8556,7 @@ textarea.form-control-lg { .text-muted { --bs-text-opacity: 1; - color: #6c757d !important; + color: var(--bs-secondary-color) !important; } .text-black-50 { @@ -8155,6 +8569,21 @@ textarea.form-control-lg { color: rgba(255, 255, 255, 0.5) !important; } +.text-body-secondary { + --bs-text-opacity: 1; + color: var(--bs-secondary-color) !important; +} + +.text-body-tertiary { + --bs-text-opacity: 1; + color: var(--bs-tertiary-color) !important; +} + +.text-body-emphasis { + --bs-text-opacity: 1; + color: var(--bs-emphasis-color) !important; +} + .text-reset { --bs-text-opacity: 1; color: inherit !important; @@ -8176,6 +8605,204 @@ textarea.form-control-lg { --bs-text-opacity: 1; } +.text-primary-emphasis { + color: var(--bs-primary-text-emphasis) !important; +} + +.text-secondary-emphasis { + color: var(--bs-secondary-text-emphasis) !important; +} + +.text-success-emphasis { + color: var(--bs-success-text-emphasis) !important; +} + +.text-info-emphasis { + color: var(--bs-info-text-emphasis) !important; +} + +.text-warning-emphasis { + color: var(--bs-warning-text-emphasis) !important; +} + +.text-danger-emphasis { + color: var(--bs-danger-text-emphasis) !important; +} + +.text-light-emphasis { + color: var(--bs-light-text-emphasis) !important; +} + +.text-dark-emphasis { + color: var(--bs-dark-text-emphasis) !important; +} + +.link-opacity-10 { + --bs-link-opacity: 0.1; +} + +.link-opacity-10-hover:hover { + --bs-link-opacity: 0.1; +} + +.link-opacity-25 { + --bs-link-opacity: 0.25; +} + +.link-opacity-25-hover:hover { + --bs-link-opacity: 0.25; +} + +.link-opacity-50 { + --bs-link-opacity: 0.5; +} + +.link-opacity-50-hover:hover { + --bs-link-opacity: 0.5; +} + +.link-opacity-75 { + --bs-link-opacity: 0.75; +} + +.link-opacity-75-hover:hover { + --bs-link-opacity: 0.75; +} + +.link-opacity-100 { + --bs-link-opacity: 1; +} + +.link-opacity-100-hover:hover { + --bs-link-opacity: 1; +} + +.link-offset-1 { + text-underline-offset: 0.125em !important; +} + +.link-offset-1-hover:hover { + text-underline-offset: 0.125em !important; +} + +.link-offset-2 { + text-underline-offset: 0.25em !important; +} + +.link-offset-2-hover:hover { + text-underline-offset: 0.25em !important; +} + +.link-offset-3 { + text-underline-offset: 0.375em !important; +} + +.link-offset-3-hover:hover { + text-underline-offset: 0.375em !important; +} + +.link-underline-primary { + --bs-link-underline-opacity: 1; + -webkit-text-decoration-color: rgba(var(--bs-primary-rgb), var(--bs-link-underline-opacity)) !important; + text-decoration-color: rgba(var(--bs-primary-rgb), var(--bs-link-underline-opacity)) !important; +} + +.link-underline-secondary { + --bs-link-underline-opacity: 1; + -webkit-text-decoration-color: rgba(var(--bs-secondary-rgb), var(--bs-link-underline-opacity)) !important; + text-decoration-color: rgba(var(--bs-secondary-rgb), var(--bs-link-underline-opacity)) !important; +} + +.link-underline-success { + --bs-link-underline-opacity: 1; + -webkit-text-decoration-color: rgba(var(--bs-success-rgb), var(--bs-link-underline-opacity)) !important; + text-decoration-color: rgba(var(--bs-success-rgb), var(--bs-link-underline-opacity)) !important; +} + +.link-underline-info { + --bs-link-underline-opacity: 1; + -webkit-text-decoration-color: rgba(var(--bs-info-rgb), var(--bs-link-underline-opacity)) !important; + text-decoration-color: rgba(var(--bs-info-rgb), var(--bs-link-underline-opacity)) !important; +} + +.link-underline-warning { + --bs-link-underline-opacity: 1; + -webkit-text-decoration-color: rgba(var(--bs-warning-rgb), var(--bs-link-underline-opacity)) !important; + text-decoration-color: rgba(var(--bs-warning-rgb), var(--bs-link-underline-opacity)) !important; +} + +.link-underline-danger { + --bs-link-underline-opacity: 1; + -webkit-text-decoration-color: rgba(var(--bs-danger-rgb), var(--bs-link-underline-opacity)) !important; + text-decoration-color: rgba(var(--bs-danger-rgb), var(--bs-link-underline-opacity)) !important; +} + +.link-underline-light { + --bs-link-underline-opacity: 1; + -webkit-text-decoration-color: rgba(var(--bs-light-rgb), var(--bs-link-underline-opacity)) !important; + text-decoration-color: rgba(var(--bs-light-rgb), var(--bs-link-underline-opacity)) !important; +} + +.link-underline-dark { + --bs-link-underline-opacity: 1; + -webkit-text-decoration-color: rgba(var(--bs-dark-rgb), var(--bs-link-underline-opacity)) !important; + text-decoration-color: rgba(var(--bs-dark-rgb), var(--bs-link-underline-opacity)) !important; +} + +.link-underline { + --bs-link-underline-opacity: 1; + -webkit-text-decoration-color: rgba(var(--bs-link-color-rgb), var(--bs-link-underline-opacity, 1)) !important; + text-decoration-color: rgba(var(--bs-link-color-rgb), var(--bs-link-underline-opacity, 1)) !important; +} + +.link-underline-opacity-0 { + --bs-link-underline-opacity: 0; +} + +.link-underline-opacity-0-hover:hover { + --bs-link-underline-opacity: 0; +} + +.link-underline-opacity-10 { + --bs-link-underline-opacity: 0.1; +} + +.link-underline-opacity-10-hover:hover { + --bs-link-underline-opacity: 0.1; +} + +.link-underline-opacity-25 { + --bs-link-underline-opacity: 0.25; +} + +.link-underline-opacity-25-hover:hover { + --bs-link-underline-opacity: 0.25; +} + +.link-underline-opacity-50 { + --bs-link-underline-opacity: 0.5; +} + +.link-underline-opacity-50-hover:hover { + --bs-link-underline-opacity: 0.5; +} + +.link-underline-opacity-75 { + --bs-link-underline-opacity: 0.75; +} + +.link-underline-opacity-75-hover:hover { + --bs-link-underline-opacity: 0.75; +} + +.link-underline-opacity-100 { + --bs-link-underline-opacity: 1; +} + +.link-underline-opacity-100-hover:hover { + --bs-link-underline-opacity: 1; +} + .bg-primary { --bs-bg-opacity: 1; background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important; @@ -8236,6 +8863,16 @@ textarea.form-control-lg { background-color: transparent !important; } +.bg-body-secondary { + --bs-bg-opacity: 1; + background-color: rgba(var(--bs-secondary-bg-rgb), var(--bs-bg-opacity)) !important; +} + +.bg-body-tertiary { + --bs-bg-opacity: 1; + background-color: rgba(var(--bs-tertiary-bg-rgb), var(--bs-bg-opacity)) !important; +} + .bg-opacity-10 { --bs-bg-opacity: 0.1; } @@ -8256,6 +8893,38 @@ textarea.form-control-lg { --bs-bg-opacity: 1; } +.bg-primary-subtle { + background-color: var(--bs-primary-bg-subtle) !important; +} + +.bg-secondary-subtle { + background-color: var(--bs-secondary-bg-subtle) !important; +} + +.bg-success-subtle { + background-color: var(--bs-success-bg-subtle) !important; +} + +.bg-info-subtle { + background-color: var(--bs-info-bg-subtle) !important; +} + +.bg-warning-subtle { + background-color: var(--bs-warning-bg-subtle) !important; +} + +.bg-danger-subtle { + background-color: var(--bs-danger-bg-subtle) !important; +} + +.bg-light-subtle { + background-color: var(--bs-light-bg-subtle) !important; +} + +.bg-dark-subtle { + background-color: var(--bs-dark-bg-subtle) !important; +} + .bg-gradient { background-image: var(--bs-gradient) !important; } @@ -8311,7 +8980,7 @@ textarea.form-control-lg { } .rounded-5 { - border-radius: var(--bs-border-radius-2xl) !important; + border-radius: var(--bs-border-radius-xxl) !important; } .rounded-circle { @@ -8327,21 +8996,181 @@ textarea.form-control-lg { border-top-right-radius: var(--bs-border-radius) !important; } +.rounded-top-0 { + border-top-left-radius: 0 !important; + border-top-right-radius: 0 !important; +} + +.rounded-top-1 { + border-top-left-radius: var(--bs-border-radius-sm) !important; + border-top-right-radius: var(--bs-border-radius-sm) !important; +} + +.rounded-top-2 { + border-top-left-radius: var(--bs-border-radius) !important; + border-top-right-radius: var(--bs-border-radius) !important; +} + +.rounded-top-3 { + border-top-left-radius: var(--bs-border-radius-lg) !important; + border-top-right-radius: var(--bs-border-radius-lg) !important; +} + +.rounded-top-4 { + border-top-left-radius: var(--bs-border-radius-xl) !important; + border-top-right-radius: var(--bs-border-radius-xl) !important; +} + +.rounded-top-5 { + border-top-left-radius: var(--bs-border-radius-xxl) !important; + border-top-right-radius: var(--bs-border-radius-xxl) !important; +} + +.rounded-top-circle { + border-top-left-radius: 50% !important; + border-top-right-radius: 50% !important; +} + +.rounded-top-pill { + border-top-left-radius: var(--bs-border-radius-pill) !important; + border-top-right-radius: var(--bs-border-radius-pill) !important; +} + .rounded-end { border-top-right-radius: var(--bs-border-radius) !important; border-bottom-right-radius: var(--bs-border-radius) !important; } +.rounded-end-0 { + border-top-right-radius: 0 !important; + border-bottom-right-radius: 0 !important; +} + +.rounded-end-1 { + border-top-right-radius: var(--bs-border-radius-sm) !important; + border-bottom-right-radius: var(--bs-border-radius-sm) !important; +} + +.rounded-end-2 { + border-top-right-radius: var(--bs-border-radius) !important; + border-bottom-right-radius: var(--bs-border-radius) !important; +} + +.rounded-end-3 { + border-top-right-radius: var(--bs-border-radius-lg) !important; + border-bottom-right-radius: var(--bs-border-radius-lg) !important; +} + +.rounded-end-4 { + border-top-right-radius: var(--bs-border-radius-xl) !important; + border-bottom-right-radius: var(--bs-border-radius-xl) !important; +} + +.rounded-end-5 { + border-top-right-radius: var(--bs-border-radius-xxl) !important; + border-bottom-right-radius: var(--bs-border-radius-xxl) !important; +} + +.rounded-end-circle { + border-top-right-radius: 50% !important; + border-bottom-right-radius: 50% !important; +} + +.rounded-end-pill { + border-top-right-radius: var(--bs-border-radius-pill) !important; + border-bottom-right-radius: var(--bs-border-radius-pill) !important; +} + .rounded-bottom { border-bottom-right-radius: var(--bs-border-radius) !important; border-bottom-left-radius: var(--bs-border-radius) !important; } +.rounded-bottom-0 { + border-bottom-right-radius: 0 !important; + border-bottom-left-radius: 0 !important; +} + +.rounded-bottom-1 { + border-bottom-right-radius: var(--bs-border-radius-sm) !important; + border-bottom-left-radius: var(--bs-border-radius-sm) !important; +} + +.rounded-bottom-2 { + border-bottom-right-radius: var(--bs-border-radius) !important; + border-bottom-left-radius: var(--bs-border-radius) !important; +} + +.rounded-bottom-3 { + border-bottom-right-radius: var(--bs-border-radius-lg) !important; + border-bottom-left-radius: var(--bs-border-radius-lg) !important; +} + +.rounded-bottom-4 { + border-bottom-right-radius: var(--bs-border-radius-xl) !important; + border-bottom-left-radius: var(--bs-border-radius-xl) !important; +} + +.rounded-bottom-5 { + border-bottom-right-radius: var(--bs-border-radius-xxl) !important; + border-bottom-left-radius: var(--bs-border-radius-xxl) !important; +} + +.rounded-bottom-circle { + border-bottom-right-radius: 50% !important; + border-bottom-left-radius: 50% !important; +} + +.rounded-bottom-pill { + border-bottom-right-radius: var(--bs-border-radius-pill) !important; + border-bottom-left-radius: var(--bs-border-radius-pill) !important; +} + .rounded-start { border-bottom-left-radius: var(--bs-border-radius) !important; border-top-left-radius: var(--bs-border-radius) !important; } +.rounded-start-0 { + border-bottom-left-radius: 0 !important; + border-top-left-radius: 0 !important; +} + +.rounded-start-1 { + border-bottom-left-radius: var(--bs-border-radius-sm) !important; + border-top-left-radius: var(--bs-border-radius-sm) !important; +} + +.rounded-start-2 { + border-bottom-left-radius: var(--bs-border-radius) !important; + border-top-left-radius: var(--bs-border-radius) !important; +} + +.rounded-start-3 { + border-bottom-left-radius: var(--bs-border-radius-lg) !important; + border-top-left-radius: var(--bs-border-radius-lg) !important; +} + +.rounded-start-4 { + border-bottom-left-radius: var(--bs-border-radius-xl) !important; + border-top-left-radius: var(--bs-border-radius-xl) !important; +} + +.rounded-start-5 { + border-bottom-left-radius: var(--bs-border-radius-xxl) !important; + border-top-left-radius: var(--bs-border-radius-xxl) !important; +} + +.rounded-start-circle { + border-bottom-left-radius: 50% !important; + border-top-left-radius: 50% !important; +} + +.rounded-start-pill { + border-bottom-left-radius: var(--bs-border-radius-pill) !important; + border-top-left-radius: var(--bs-border-radius-pill) !important; +} + .visible { visibility: visible !important; } @@ -8350,6 +9179,26 @@ textarea.form-control-lg { visibility: hidden !important; } +.z-n1 { + z-index: -1 !important; +} + +.z-0 { + z-index: 0 !important; +} + +.z-1 { + z-index: 1 !important; +} + +.z-2 { + z-index: 2 !important; +} + +.z-3 { + z-index: 3 !important; +} + @media (min-width: 576px) { .float-sm-start { float: left !important; @@ -8360,6 +9209,26 @@ textarea.form-control-lg { .float-sm-none { float: none !important; } + .object-fit-sm-contain { + -o-object-fit: contain !important; + object-fit: contain !important; + } + .object-fit-sm-cover { + -o-object-fit: cover !important; + object-fit: cover !important; + } + .object-fit-sm-fill { + -o-object-fit: fill !important; + object-fit: fill !important; + } + .object-fit-sm-scale { + -o-object-fit: scale-down !important; + object-fit: scale-down !important; + } + .object-fit-sm-none { + -o-object-fit: none !important; + object-fit: none !important; + } .d-sm-inline { display: inline !important; } @@ -8372,6 +9241,9 @@ textarea.form-control-lg { .d-sm-grid { display: grid !important; } + .d-sm-inline-grid { + display: inline-grid !important; + } .d-sm-table { display: table !important; } @@ -8836,6 +9708,48 @@ textarea.form-control-lg { .gap-sm-5 { gap: 3rem !important; } + .row-gap-sm-0 { + row-gap: 0 !important; + } + .row-gap-sm-1 { + row-gap: 0.25rem !important; + } + .row-gap-sm-2 { + row-gap: 0.5rem !important; + } + .row-gap-sm-3 { + row-gap: 1rem !important; + } + .row-gap-sm-4 { + row-gap: 1.5rem !important; + } + .row-gap-sm-5 { + row-gap: 3rem !important; + } + .column-gap-sm-0 { + -moz-column-gap: 0 !important; + column-gap: 0 !important; + } + .column-gap-sm-1 { + -moz-column-gap: 0.25rem !important; + column-gap: 0.25rem !important; + } + .column-gap-sm-2 { + -moz-column-gap: 0.5rem !important; + column-gap: 0.5rem !important; + } + .column-gap-sm-3 { + -moz-column-gap: 1rem !important; + column-gap: 1rem !important; + } + .column-gap-sm-4 { + -moz-column-gap: 1.5rem !important; + column-gap: 1.5rem !important; + } + .column-gap-sm-5 { + -moz-column-gap: 3rem !important; + column-gap: 3rem !important; + } .text-sm-start { text-align: left !important; } @@ -8856,6 +9770,26 @@ textarea.form-control-lg { .float-md-none { float: none !important; } + .object-fit-md-contain { + -o-object-fit: contain !important; + object-fit: contain !important; + } + .object-fit-md-cover { + -o-object-fit: cover !important; + object-fit: cover !important; + } + .object-fit-md-fill { + -o-object-fit: fill !important; + object-fit: fill !important; + } + .object-fit-md-scale { + -o-object-fit: scale-down !important; + object-fit: scale-down !important; + } + .object-fit-md-none { + -o-object-fit: none !important; + object-fit: none !important; + } .d-md-inline { display: inline !important; } @@ -8868,6 +9802,9 @@ textarea.form-control-lg { .d-md-grid { display: grid !important; } + .d-md-inline-grid { + display: inline-grid !important; + } .d-md-table { display: table !important; } @@ -9332,6 +10269,48 @@ textarea.form-control-lg { .gap-md-5 { gap: 3rem !important; } + .row-gap-md-0 { + row-gap: 0 !important; + } + .row-gap-md-1 { + row-gap: 0.25rem !important; + } + .row-gap-md-2 { + row-gap: 0.5rem !important; + } + .row-gap-md-3 { + row-gap: 1rem !important; + } + .row-gap-md-4 { + row-gap: 1.5rem !important; + } + .row-gap-md-5 { + row-gap: 3rem !important; + } + .column-gap-md-0 { + -moz-column-gap: 0 !important; + column-gap: 0 !important; + } + .column-gap-md-1 { + -moz-column-gap: 0.25rem !important; + column-gap: 0.25rem !important; + } + .column-gap-md-2 { + -moz-column-gap: 0.5rem !important; + column-gap: 0.5rem !important; + } + .column-gap-md-3 { + -moz-column-gap: 1rem !important; + column-gap: 1rem !important; + } + .column-gap-md-4 { + -moz-column-gap: 1.5rem !important; + column-gap: 1.5rem !important; + } + .column-gap-md-5 { + -moz-column-gap: 3rem !important; + column-gap: 3rem !important; + } .text-md-start { text-align: left !important; } @@ -9352,6 +10331,26 @@ textarea.form-control-lg { .float-lg-none { float: none !important; } + .object-fit-lg-contain { + -o-object-fit: contain !important; + object-fit: contain !important; + } + .object-fit-lg-cover { + -o-object-fit: cover !important; + object-fit: cover !important; + } + .object-fit-lg-fill { + -o-object-fit: fill !important; + object-fit: fill !important; + } + .object-fit-lg-scale { + -o-object-fit: scale-down !important; + object-fit: scale-down !important; + } + .object-fit-lg-none { + -o-object-fit: none !important; + object-fit: none !important; + } .d-lg-inline { display: inline !important; } @@ -9364,6 +10363,9 @@ textarea.form-control-lg { .d-lg-grid { display: grid !important; } + .d-lg-inline-grid { + display: inline-grid !important; + } .d-lg-table { display: table !important; } @@ -9828,6 +10830,48 @@ textarea.form-control-lg { .gap-lg-5 { gap: 3rem !important; } + .row-gap-lg-0 { + row-gap: 0 !important; + } + .row-gap-lg-1 { + row-gap: 0.25rem !important; + } + .row-gap-lg-2 { + row-gap: 0.5rem !important; + } + .row-gap-lg-3 { + row-gap: 1rem !important; + } + .row-gap-lg-4 { + row-gap: 1.5rem !important; + } + .row-gap-lg-5 { + row-gap: 3rem !important; + } + .column-gap-lg-0 { + -moz-column-gap: 0 !important; + column-gap: 0 !important; + } + .column-gap-lg-1 { + -moz-column-gap: 0.25rem !important; + column-gap: 0.25rem !important; + } + .column-gap-lg-2 { + -moz-column-gap: 0.5rem !important; + column-gap: 0.5rem !important; + } + .column-gap-lg-3 { + -moz-column-gap: 1rem !important; + column-gap: 1rem !important; + } + .column-gap-lg-4 { + -moz-column-gap: 1.5rem !important; + column-gap: 1.5rem !important; + } + .column-gap-lg-5 { + -moz-column-gap: 3rem !important; + column-gap: 3rem !important; + } .text-lg-start { text-align: left !important; } @@ -9848,6 +10892,26 @@ textarea.form-control-lg { .float-xl-none { float: none !important; } + .object-fit-xl-contain { + -o-object-fit: contain !important; + object-fit: contain !important; + } + .object-fit-xl-cover { + -o-object-fit: cover !important; + object-fit: cover !important; + } + .object-fit-xl-fill { + -o-object-fit: fill !important; + object-fit: fill !important; + } + .object-fit-xl-scale { + -o-object-fit: scale-down !important; + object-fit: scale-down !important; + } + .object-fit-xl-none { + -o-object-fit: none !important; + object-fit: none !important; + } .d-xl-inline { display: inline !important; } @@ -9860,6 +10924,9 @@ textarea.form-control-lg { .d-xl-grid { display: grid !important; } + .d-xl-inline-grid { + display: inline-grid !important; + } .d-xl-table { display: table !important; } @@ -10324,6 +11391,48 @@ textarea.form-control-lg { .gap-xl-5 { gap: 3rem !important; } + .row-gap-xl-0 { + row-gap: 0 !important; + } + .row-gap-xl-1 { + row-gap: 0.25rem !important; + } + .row-gap-xl-2 { + row-gap: 0.5rem !important; + } + .row-gap-xl-3 { + row-gap: 1rem !important; + } + .row-gap-xl-4 { + row-gap: 1.5rem !important; + } + .row-gap-xl-5 { + row-gap: 3rem !important; + } + .column-gap-xl-0 { + -moz-column-gap: 0 !important; + column-gap: 0 !important; + } + .column-gap-xl-1 { + -moz-column-gap: 0.25rem !important; + column-gap: 0.25rem !important; + } + .column-gap-xl-2 { + -moz-column-gap: 0.5rem !important; + column-gap: 0.5rem !important; + } + .column-gap-xl-3 { + -moz-column-gap: 1rem !important; + column-gap: 1rem !important; + } + .column-gap-xl-4 { + -moz-column-gap: 1.5rem !important; + column-gap: 1.5rem !important; + } + .column-gap-xl-5 { + -moz-column-gap: 3rem !important; + column-gap: 3rem !important; + } .text-xl-start { text-align: left !important; } @@ -10344,6 +11453,26 @@ textarea.form-control-lg { .float-xxl-none { float: none !important; } + .object-fit-xxl-contain { + -o-object-fit: contain !important; + object-fit: contain !important; + } + .object-fit-xxl-cover { + -o-object-fit: cover !important; + object-fit: cover !important; + } + .object-fit-xxl-fill { + -o-object-fit: fill !important; + object-fit: fill !important; + } + .object-fit-xxl-scale { + -o-object-fit: scale-down !important; + object-fit: scale-down !important; + } + .object-fit-xxl-none { + -o-object-fit: none !important; + object-fit: none !important; + } .d-xxl-inline { display: inline !important; } @@ -10356,6 +11485,9 @@ textarea.form-control-lg { .d-xxl-grid { display: grid !important; } + .d-xxl-inline-grid { + display: inline-grid !important; + } .d-xxl-table { display: table !important; } @@ -10820,6 +11952,48 @@ textarea.form-control-lg { .gap-xxl-5 { gap: 3rem !important; } + .row-gap-xxl-0 { + row-gap: 0 !important; + } + .row-gap-xxl-1 { + row-gap: 0.25rem !important; + } + .row-gap-xxl-2 { + row-gap: 0.5rem !important; + } + .row-gap-xxl-3 { + row-gap: 1rem !important; + } + .row-gap-xxl-4 { + row-gap: 1.5rem !important; + } + .row-gap-xxl-5 { + row-gap: 3rem !important; + } + .column-gap-xxl-0 { + -moz-column-gap: 0 !important; + column-gap: 0 !important; + } + .column-gap-xxl-1 { + -moz-column-gap: 0.25rem !important; + column-gap: 0.25rem !important; + } + .column-gap-xxl-2 { + -moz-column-gap: 0.5rem !important; + column-gap: 0.5rem !important; + } + .column-gap-xxl-3 { + -moz-column-gap: 1rem !important; + column-gap: 1rem !important; + } + .column-gap-xxl-4 { + -moz-column-gap: 1.5rem !important; + column-gap: 1.5rem !important; + } + .column-gap-xxl-5 { + -moz-column-gap: 3rem !important; + column-gap: 3rem !important; + } .text-xxl-start { text-align: left !important; } @@ -10857,6 +12031,9 @@ textarea.form-control-lg { .d-print-grid { display: grid !important; } + .d-print-inline-grid { + display: inline-grid !important; + } .d-print-table { display: table !important; } diff --git a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap/css/bootstrap.css.map b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap/css/bootstrap.css.map index f6b0829c..a1f9a189 100644 --- a/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap/css/bootstrap.css.map +++ b/apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/libs/bootstrap/css/bootstrap.css.map @@ -1 +1 @@ -{"version":3,"sources":["bootstrap.css","../../scss/mixins/_banner.scss","../../scss/_root.scss","../../scss/vendor/_rfs.scss","../../scss/_reboot.scss","../../scss/_variables.scss","../../scss/mixins/_border-radius.scss","../../scss/_type.scss","../../scss/mixins/_lists.scss","../../scss/_images.scss","../../scss/mixins/_image.scss","../../scss/_containers.scss","../../scss/mixins/_container.scss","../../scss/mixins/_breakpoints.scss","../../scss/_grid.scss","../../scss/mixins/_grid.scss","../../scss/_tables.scss","../../scss/mixins/_table-variants.scss","../../scss/forms/_labels.scss","../../scss/forms/_form-text.scss","../../scss/forms/_form-control.scss","../../scss/mixins/_transition.scss","../../scss/mixins/_gradients.scss","../../scss/forms/_form-select.scss","../../scss/forms/_form-check.scss","../../scss/forms/_form-range.scss","../../scss/forms/_floating-labels.scss","../../scss/forms/_input-group.scss","../../scss/mixins/_forms.scss","../../scss/_buttons.scss","../../scss/mixins/_buttons.scss","../../scss/_transitions.scss","../../scss/_dropdown.scss","../../scss/mixins/_caret.scss","../../scss/_button-group.scss","../../scss/_nav.scss","../../scss/_navbar.scss","../../scss/_card.scss","../../scss/_accordion.scss","../../scss/_breadcrumb.scss","../../scss/_pagination.scss","../../scss/mixins/_pagination.scss","../../scss/_badge.scss","../../scss/_alert.scss","../../scss/mixins/_alert.scss","../../scss/_progress.scss","../../scss/_list-group.scss","../../scss/mixins/_list-group.scss","../../scss/_close.scss","../../scss/_toasts.scss","../../scss/_modal.scss","../../scss/mixins/_backdrop.scss","../../scss/_tooltip.scss","../../scss/mixins/_reset-text.scss","../../scss/_popover.scss","../../scss/_carousel.scss","../../scss/mixins/_clearfix.scss","../../scss/_spinners.scss","../../scss/_offcanvas.scss","../../scss/_placeholders.scss","../../scss/helpers/_color-bg.scss","../../scss/helpers/_colored-links.scss","../../scss/helpers/_ratio.scss","../../scss/helpers/_position.scss","../../scss/helpers/_stacks.scss","../../scss/helpers/_visually-hidden.scss","../../scss/mixins/_visually-hidden.scss","../../scss/helpers/_stretched-link.scss","../../scss/helpers/_text-truncation.scss","../../scss/mixins/_text-truncate.scss","../../scss/helpers/_vr.scss","../../scss/mixins/_utilities.scss","../../scss/utilities/_api.scss"],"names":[],"mappings":"AAAA,gBAAgB;ACCd;;;;;EAAA;ACDF;EAQI,kBAAA;EAAA,oBAAA;EAAA,oBAAA;EAAA,kBAAA;EAAA,iBAAA;EAAA,oBAAA;EAAA,oBAAA;EAAA,mBAAA;EAAA,kBAAA;EAAA,kBAAA;EAAA,gBAAA;EAAA,gBAAA;EAAA,kBAAA;EAAA,uBAAA;EAIA,sBAAA;EAAA,sBAAA;EAAA,sBAAA;EAAA,sBAAA;EAAA,sBAAA;EAAA,sBAAA;EAAA,sBAAA;EAAA,sBAAA;EAAA,sBAAA;EAIA,qBAAA;EAAA,uBAAA;EAAA,qBAAA;EAAA,kBAAA;EAAA,qBAAA;EAAA,oBAAA;EAAA,mBAAA;EAAA,kBAAA;EAIA,8BAAA;EAAA,iCAAA;EAAA,6BAAA;EAAA,2BAAA;EAAA,6BAAA;EAAA,4BAAA;EAAA,6BAAA;EAAA,yBAAA;EAGF,6BAAA;EACA,uBAAA;EACA,+BAAA;EACA,+BAAA;EAMA,qNAAA;EACA,yGAAA;EACA,yFAAA;EAOA,gDAAA;EC4PI,yBALI;EDrPR,0BAAA;EACA,0BAAA;EACA,wBAAA;EAIA,kBAAA;EAIA,sBAAA;EACA,wBAAA;EACA,0BAAA;EACA,mDAAA;EAEA,4BAAA;EACA,8BAAA;EACA,6BAAA;EACA,2BAAA;EACA,4BAAA;EACA,8BAAA;EAGA,wBAAA;EACA,8BAAA;EAEA,wBAAA;EAEA,0BAAA;AFGF;;AI3DA;;;EAGE,sBAAA;AJ8DF;;AI/CI;EANJ;IAOM,uBAAA;EJmDJ;AACF;;AItCA;EACE,SAAA;EACA,uCAAA;EDmPI,mCALI;EC5OR,uCAAA;EACA,uCAAA;EACA,2BAAA;EACA,qCAAA;EACA,mCAAA;EACA,8BAAA;EACA,6CAAA;AJyCF;;AIhCA;EACE,cAAA;EACA,cCijB4B;EDhjB5B,SAAA;EACA,qBAAA;EACA,aCujB4B;ALphB9B;;AIzBA;EACE,aAAA;EACA,qBCwf4B;EDrf5B,gBCwf4B;EDvf5B,gBCwf4B;AL9d9B;;AItBA;ED6MQ,iCAAA;AHnLR;AGiBI;EC3CJ;IDoNQ,iBAAA;EHtLN;AACF;;AI1BA;EDwMQ,iCAAA;AH1KR;AGQI;ECtCJ;ID+MQ,eAAA;EH7KN;AACF;;AI9BA;EDmMQ,+BAAA;AHjKR;AGDI;ECjCJ;ID0MQ,kBAAA;EHpKN;AACF;;AIlCA;ED8LQ,iCAAA;AHxJR;AGVI;EC5BJ;IDqMQ,iBAAA;EH3JN;AACF;;AItCA;EDqLM,kBALI;AHtIV;;AIrCA;EDgLM,eALI;AHlIV;;AI9BA;EACE,aAAA;EACA,mBCmS0B;ALlQ5B;;AIvBA;EACE,yCAAA;EAAA,iCAAA;EACA,YAAA;EACA,sCAAA;EAAA,8BAAA;AJ0BF;;AIpBA;EACE,mBAAA;EACA,kBAAA;EACA,oBAAA;AJuBF;;AIjBA;;EAEE,kBAAA;AJoBF;;AIjBA;;;EAGE,aAAA;EACA,mBAAA;AJoBF;;AIjBA;;;;EAIE,gBAAA;AJoBF;;AIjBA;EACE,gBC6X4B;ALzW9B;;AIfA;EACE,qBAAA;EACA,cAAA;AJkBF;;AIZA;EACE,gBAAA;AJeF;;AIPA;;EAEE,mBCsW4B;AL5V9B;;AIFA;EDmFM,kBALI;AHxEV;;AICA;EACE,iBC+a4B;ED9a5B,wCAAA;AJEF;;AIOA;;EAEE,kBAAA;ED+DI,iBALI;ECxDR,cAAA;EACA,wBAAA;AJJF;;AIOA;EAAM,eAAA;AJHN;;AIIA;EAAM,WAAA;AJAN;;AIKA;EACE,2BAAA;EACA,0BCqKwC;ALvK1C;AIIE;EACE,iCAAA;AJFJ;;AIaE;EAEE,cAAA;EACA,qBAAA;AJXJ;;AIkBA;;;;EAIE,qCCkR4B;EF7PxB,cALI;AH9BV;;AIsBA;EACE,cAAA;EACA,aAAA;EACA,mBAAA;EACA,cAAA;EDSI,kBALI;AHtBV;AIuBE;EDII,kBALI;ECGN,cAAA;EACA,kBAAA;AJrBJ;;AIyBA;EDHM,kBALI;ECUR,2BAAA;EACA,qBAAA;AJtBF;AIyBE;EACE,cAAA;AJvBJ;;AI2BA;EACE,2BAAA;EDfI,kBALI;ECsBR,wBCuyCkC;EDtyClC,sCCuyCkC;EC3kDhC,sBAAA;AN6QJ;AI0BE;EACE,UAAA;EDtBE,cALI;AHIV;;AIkCA;EACE,gBAAA;AJ/BF;;AIqCA;;EAEE,sBAAA;AJlCF;;AI0CA;EACE,oBAAA;EACA,yBAAA;AJvCF;;AI0CA;EACE,mBCsT4B;EDrT5B,sBCqT4B;EDpT5B,cCjVS;EDkVT,gBAAA;AJvCF;;AI8CA;EAEE,mBAAA;EACA,gCAAA;AJ5CF;;AI+CA;;;;;;EAME,qBAAA;EACA,mBAAA;EACA,eAAA;AJ5CF;;AIoDA;EACE,qBAAA;AJjDF;;AIuDA;EAEE,gBAAA;AJrDF;;AI6DA;EACE,UAAA;AJ1DF;;AI+DA;;;;;EAKE,SAAA;EACA,oBAAA;EDrHI,kBALI;EC4HR,oBAAA;AJ5DF;;AIgEA;;EAEE,oBAAA;AJ7DF;;AIkEA;EACE,eAAA;AJ/DF;;AIkEA;EAGE,iBAAA;AJjEF;AIoEE;EACE,UAAA;AJlEJ;;AIyEA;EACE,wBAAA;AJtEF;;AI8EA;;;;EAIE,0BAAA;AJ3EF;AI8EI;;;;EACE,eAAA;AJzEN;;AIgFA;EACE,UAAA;EACA,kBAAA;AJ7EF;;AIkFA;EACE,gBAAA;AJ/EF;;AIyFA;EACE,YAAA;EACA,UAAA;EACA,SAAA;EACA,SAAA;AJtFF;;AI8FA;EACE,WAAA;EACA,WAAA;EACA,UAAA;EACA,qBC8I4B;EFxVtB,iCAAA;EC6MN,oBAAA;AJ5FF;AGnRI;ECwWJ;ID/LQ,iBAAA;EH8GN;AACF;AIyFE;EACE,WAAA;AJvFJ;;AI8FA;;;;;;;EAOE,UAAA;AJ3FF;;AI8FA;EACE,YAAA;AJ3FF;;AIoGA;EACE,oBAAA;EACA,6BAAA;AJjGF;;AIyGA;;;;;;;CAAA;AAWA;EACE,wBAAA;AJzGF;;AI8GA;EACE,UAAA;AJ3GF;;AIkHA;EACE,aAAA;EACA,0BAAA;AJ/GF;;AI6GA;EACE,aAAA;EACA,0BAAA;AJ/GF;;AIoHA;EACE,qBAAA;AJjHF;;AIsHA;EACE,SAAA;AJnHF;;AI0HA;EACE,kBAAA;EACA,eAAA;AJvHF;;AI+HA;EACE,wBAAA;AJ5HF;;AIoIA;EACE,wBAAA;AJjIF;;AOncA;EJyQM,kBALI;EIlQR,gBFwkB4B;ALlI9B;;AOjcE;EJsQM,iCAAA;EIlQJ,gBFyjBkB;EExjBlB,gBFwiB0B;ALtG9B;AGnWI;EIpGF;IJ6QM,eAAA;EH8LN;AACF;;AO5cE;EJsQM,iCAAA;EIlQJ,gBFyjBkB;EExjBlB,gBFwiB0B;AL3F9B;AG9WI;EIpGF;IJ6QM,iBAAA;EHyMN;AACF;;AOvdE;EJsQM,iCAAA;EIlQJ,gBFyjBkB;EExjBlB,gBFwiB0B;ALhF9B;AGzXI;EIpGF;IJ6QM,eAAA;EHoNN;AACF;;AOleE;EJsQM,iCAAA;EIlQJ,gBFyjBkB;EExjBlB,gBFwiB0B;ALrE9B;AGpYI;EIpGF;IJ6QM,iBAAA;EH+NN;AACF;;AO7eE;EJsQM,iCAAA;EIlQJ,gBFyjBkB;EExjBlB,gBFwiB0B;AL1D9B;AG/YI;EIpGF;IJ6QM,eAAA;EH0ON;AACF;;AOxfE;EJsQM,iCAAA;EIlQJ,gBFyjBkB;EExjBlB,gBFwiB0B;AL/C9B;AG1ZI;EIpGF;IJ6QM,iBAAA;EHqPN;AACF;;AO3eA;ECvDE,eAAA;EACA,gBAAA;ARsiBF;;AO3eA;EC5DE,eAAA;EACA,gBAAA;AR2iBF;;AO7eA;EACE,qBAAA;APgfF;AO9eE;EACE,oBFgkB0B;ALhF9B;;AOteA;EJoNM,kBALI;EI7MR,yBAAA;APyeF;;AOreA;EACE,mBF6RO;EFhFH,kBALI;AHiSV;AOteE;EACE,gBAAA;APweJ;;AOpeA;EACE,iBAAA;EACA,mBFmRO;EFhFH,kBALI;EI5LR,cFtFS;AL6jBX;AOreE;EACE,aAAA;APueJ;;ASvkBA;ECIE,eAAA;EAGA,YAAA;AVqkBF;;AStkBA;EACE,gBJ48CkC;EI38ClC,sBJPS;EIQT,wCAAA;EHGE,uBAAA;EIRF,eAAA;EAGA,YAAA;AV8kBF;;AShkBA;EAEE,qBAAA;ATkkBF;;AS/jBA;EACE,qBAAA;EACA,cAAA;ATkkBF;;AS/jBA;EN+PM,kBALI;EMxPR,cJ1BS;AL4lBX;;AWpmBE;;;;;;;ECHA,qBAAA;EACA,gBAAA;EACA,WAAA;EACA,6CAAA;EACA,4CAAA;EACA,kBAAA;EACA,iBAAA;AZinBF;;Aa3jBI;EF5CE;IACE,gBN6ae;EL8LrB;AACF;AajkBI;EF5CE;IACE,gBN6ae;ELmMrB;AACF;AatkBI;EF5CE;IACE,gBN6ae;ELwMrB;AACF;Aa3kBI;EF5CE;IACE,iBN6ae;EL6MrB;AACF;AahlBI;EF5CE;IACE,iBN6ae;ELkNrB;AACF;Ac/oBE;ECAA,qBAAA;EACA,gBAAA;EACA,aAAA;EACA,eAAA;EAEA,yCAAA;EACA,6CAAA;EACA,4CAAA;AfipBF;AcrpBI;ECaF,cAAA;EACA,WAAA;EACA,eAAA;EACA,6CAAA;EACA,4CAAA;EACA,8BAAA;Af2oBF;;Ae5lBM;EACE,YAAA;Af+lBR;;Ae5lBM;EApCJ,cAAA;EACA,WAAA;AfooBF;;AetnBE;EACE,cAAA;EACA,WAAA;AfynBJ;;Ae3nBE;EACE,cAAA;EACA,UAAA;Af8nBJ;;AehoBE;EACE,cAAA;EACA,qBAAA;AfmoBJ;;AeroBE;EACE,cAAA;EACA,UAAA;AfwoBJ;;Ae1oBE;EACE,cAAA;EACA,UAAA;Af6oBJ;;Ae/oBE;EACE,cAAA;EACA,qBAAA;AfkpBJ;;AennBM;EAhDJ,cAAA;EACA,WAAA;AfuqBF;;AelnBU;EAhEN,cAAA;EACA,kBAAA;AfsrBJ;;AevnBU;EAhEN,cAAA;EACA,mBAAA;Af2rBJ;;Ae5nBU;EAhEN,cAAA;EACA,UAAA;AfgsBJ;;AejoBU;EAhEN,cAAA;EACA,mBAAA;AfqsBJ;;AetoBU;EAhEN,cAAA;EACA,mBAAA;Af0sBJ;;Ae3oBU;EAhEN,cAAA;EACA,UAAA;Af+sBJ;;AehpBU;EAhEN,cAAA;EACA,mBAAA;AfotBJ;;AerpBU;EAhEN,cAAA;EACA,mBAAA;AfytBJ;;Ae1pBU;EAhEN,cAAA;EACA,UAAA;Af8tBJ;;Ae/pBU;EAhEN,cAAA;EACA,mBAAA;AfmuBJ;;AepqBU;EAhEN,cAAA;EACA,mBAAA;AfwuBJ;;AezqBU;EAhEN,cAAA;EACA,WAAA;Af6uBJ;;AetqBY;EAxDV,wBAAA;AfkuBF;;Ae1qBY;EAxDV,yBAAA;AfsuBF;;Ae9qBY;EAxDV,gBAAA;Af0uBF;;AelrBY;EAxDV,yBAAA;Af8uBF;;AetrBY;EAxDV,yBAAA;AfkvBF;;Ae1rBY;EAxDV,gBAAA;AfsvBF;;Ae9rBY;EAxDV,yBAAA;Af0vBF;;AelsBY;EAxDV,yBAAA;Af8vBF;;AetsBY;EAxDV,gBAAA;AfkwBF;;Ae1sBY;EAxDV,yBAAA;AfswBF;;Ae9sBY;EAxDV,yBAAA;Af0wBF;;AevsBQ;;EAEE,gBAAA;Af0sBV;;AevsBQ;;EAEE,gBAAA;Af0sBV;;AejtBQ;;EAEE,sBAAA;AfotBV;;AejtBQ;;EAEE,sBAAA;AfotBV;;Ae3tBQ;;EAEE,qBAAA;Af8tBV;;Ae3tBQ;;EAEE,qBAAA;Af8tBV;;AeruBQ;;EAEE,mBAAA;AfwuBV;;AeruBQ;;EAEE,mBAAA;AfwuBV;;Ae/uBQ;;EAEE,qBAAA;AfkvBV;;Ae/uBQ;;EAEE,qBAAA;AfkvBV;;AezvBQ;;EAEE,mBAAA;Af4vBV;;AezvBQ;;EAEE,mBAAA;Af4vBV;;AatzBI;EEUE;IACE,YAAA;EfgzBN;Ee7yBI;IApCJ,cAAA;IACA,WAAA;Efo1BA;Eet0BA;IACE,cAAA;IACA,WAAA;Efw0BF;Ee10BA;IACE,cAAA;IACA,UAAA;Ef40BF;Ee90BA;IACE,cAAA;IACA,qBAAA;Efg1BF;Eel1BA;IACE,cAAA;IACA,UAAA;Efo1BF;Eet1BA;IACE,cAAA;IACA,UAAA;Efw1BF;Ee11BA;IACE,cAAA;IACA,qBAAA;Ef41BF;Ee7zBI;IAhDJ,cAAA;IACA,WAAA;Efg3BA;Ee3zBQ;IAhEN,cAAA;IACA,kBAAA;Ef83BF;Ee/zBQ;IAhEN,cAAA;IACA,mBAAA;Efk4BF;Een0BQ;IAhEN,cAAA;IACA,UAAA;Efs4BF;Eev0BQ;IAhEN,cAAA;IACA,mBAAA;Ef04BF;Ee30BQ;IAhEN,cAAA;IACA,mBAAA;Ef84BF;Ee/0BQ;IAhEN,cAAA;IACA,UAAA;Efk5BF;Een1BQ;IAhEN,cAAA;IACA,mBAAA;Efs5BF;Eev1BQ;IAhEN,cAAA;IACA,mBAAA;Ef05BF;Ee31BQ;IAhEN,cAAA;IACA,UAAA;Ef85BF;Ee/1BQ;IAhEN,cAAA;IACA,mBAAA;Efk6BF;Een2BQ;IAhEN,cAAA;IACA,mBAAA;Efs6BF;Eev2BQ;IAhEN,cAAA;IACA,WAAA;Ef06BF;Een2BU;IAxDV,cAAA;Ef85BA;Eet2BU;IAxDV,wBAAA;Efi6BA;Eez2BU;IAxDV,yBAAA;Efo6BA;Ee52BU;IAxDV,gBAAA;Efu6BA;Ee/2BU;IAxDV,yBAAA;Ef06BA;Eel3BU;IAxDV,yBAAA;Ef66BA;Eer3BU;IAxDV,gBAAA;Efg7BA;Eex3BU;IAxDV,yBAAA;Efm7BA;Ee33BU;IAxDV,yBAAA;Efs7BA;Ee93BU;IAxDV,gBAAA;Efy7BA;Eej4BU;IAxDV,yBAAA;Ef47BA;Eep4BU;IAxDV,yBAAA;Ef+7BA;Ee53BM;;IAEE,gBAAA;Ef83BR;Ee33BM;;IAEE,gBAAA;Ef63BR;Eep4BM;;IAEE,sBAAA;Efs4BR;Een4BM;;IAEE,sBAAA;Efq4BR;Ee54BM;;IAEE,qBAAA;Ef84BR;Ee34BM;;IAEE,qBAAA;Ef64BR;Eep5BM;;IAEE,mBAAA;Efs5BR;Een5BM;;IAEE,mBAAA;Efq5BR;Ee55BM;;IAEE,qBAAA;Ef85BR;Ee35BM;;IAEE,qBAAA;Ef65BR;Eep6BM;;IAEE,mBAAA;Efs6BR;Een6BM;;IAEE,mBAAA;Efq6BR;AACF;Aah+BI;EEUE;IACE,YAAA;Efy9BN;Eet9BI;IApCJ,cAAA;IACA,WAAA;Ef6/BA;Ee/+BA;IACE,cAAA;IACA,WAAA;Efi/BF;Een/BA;IACE,cAAA;IACA,UAAA;Efq/BF;Eev/BA;IACE,cAAA;IACA,qBAAA;Efy/BF;Ee3/BA;IACE,cAAA;IACA,UAAA;Ef6/BF;Ee//BA;IACE,cAAA;IACA,UAAA;EfigCF;EengCA;IACE,cAAA;IACA,qBAAA;EfqgCF;Eet+BI;IAhDJ,cAAA;IACA,WAAA;EfyhCA;Eep+BQ;IAhEN,cAAA;IACA,kBAAA;EfuiCF;Eex+BQ;IAhEN,cAAA;IACA,mBAAA;Ef2iCF;Ee5+BQ;IAhEN,cAAA;IACA,UAAA;Ef+iCF;Eeh/BQ;IAhEN,cAAA;IACA,mBAAA;EfmjCF;Eep/BQ;IAhEN,cAAA;IACA,mBAAA;EfujCF;Eex/BQ;IAhEN,cAAA;IACA,UAAA;Ef2jCF;Ee5/BQ;IAhEN,cAAA;IACA,mBAAA;Ef+jCF;EehgCQ;IAhEN,cAAA;IACA,mBAAA;EfmkCF;EepgCQ;IAhEN,cAAA;IACA,UAAA;EfukCF;EexgCQ;IAhEN,cAAA;IACA,mBAAA;Ef2kCF;Ee5gCQ;IAhEN,cAAA;IACA,mBAAA;Ef+kCF;EehhCQ;IAhEN,cAAA;IACA,WAAA;EfmlCF;Ee5gCU;IAxDV,cAAA;EfukCA;Ee/gCU;IAxDV,wBAAA;Ef0kCA;EelhCU;IAxDV,yBAAA;Ef6kCA;EerhCU;IAxDV,gBAAA;EfglCA;EexhCU;IAxDV,yBAAA;EfmlCA;Ee3hCU;IAxDV,yBAAA;EfslCA;Ee9hCU;IAxDV,gBAAA;EfylCA;EejiCU;IAxDV,yBAAA;Ef4lCA;EepiCU;IAxDV,yBAAA;Ef+lCA;EeviCU;IAxDV,gBAAA;EfkmCA;Ee1iCU;IAxDV,yBAAA;EfqmCA;Ee7iCU;IAxDV,yBAAA;EfwmCA;EeriCM;;IAEE,gBAAA;EfuiCR;EepiCM;;IAEE,gBAAA;EfsiCR;Ee7iCM;;IAEE,sBAAA;Ef+iCR;Ee5iCM;;IAEE,sBAAA;Ef8iCR;EerjCM;;IAEE,qBAAA;EfujCR;EepjCM;;IAEE,qBAAA;EfsjCR;Ee7jCM;;IAEE,mBAAA;Ef+jCR;Ee5jCM;;IAEE,mBAAA;Ef8jCR;EerkCM;;IAEE,qBAAA;EfukCR;EepkCM;;IAEE,qBAAA;EfskCR;Ee7kCM;;IAEE,mBAAA;Ef+kCR;Ee5kCM;;IAEE,mBAAA;Ef8kCR;AACF;AazoCI;EEUE;IACE,YAAA;EfkoCN;Ee/nCI;IApCJ,cAAA;IACA,WAAA;EfsqCA;EexpCA;IACE,cAAA;IACA,WAAA;Ef0pCF;Ee5pCA;IACE,cAAA;IACA,UAAA;Ef8pCF;EehqCA;IACE,cAAA;IACA,qBAAA;EfkqCF;EepqCA;IACE,cAAA;IACA,UAAA;EfsqCF;EexqCA;IACE,cAAA;IACA,UAAA;Ef0qCF;Ee5qCA;IACE,cAAA;IACA,qBAAA;Ef8qCF;Ee/oCI;IAhDJ,cAAA;IACA,WAAA;EfksCA;Ee7oCQ;IAhEN,cAAA;IACA,kBAAA;EfgtCF;EejpCQ;IAhEN,cAAA;IACA,mBAAA;EfotCF;EerpCQ;IAhEN,cAAA;IACA,UAAA;EfwtCF;EezpCQ;IAhEN,cAAA;IACA,mBAAA;Ef4tCF;Ee7pCQ;IAhEN,cAAA;IACA,mBAAA;EfguCF;EejqCQ;IAhEN,cAAA;IACA,UAAA;EfouCF;EerqCQ;IAhEN,cAAA;IACA,mBAAA;EfwuCF;EezqCQ;IAhEN,cAAA;IACA,mBAAA;Ef4uCF;Ee7qCQ;IAhEN,cAAA;IACA,UAAA;EfgvCF;EejrCQ;IAhEN,cAAA;IACA,mBAAA;EfovCF;EerrCQ;IAhEN,cAAA;IACA,mBAAA;EfwvCF;EezrCQ;IAhEN,cAAA;IACA,WAAA;Ef4vCF;EerrCU;IAxDV,cAAA;EfgvCA;EexrCU;IAxDV,wBAAA;EfmvCA;Ee3rCU;IAxDV,yBAAA;EfsvCA;Ee9rCU;IAxDV,gBAAA;EfyvCA;EejsCU;IAxDV,yBAAA;Ef4vCA;EepsCU;IAxDV,yBAAA;Ef+vCA;EevsCU;IAxDV,gBAAA;EfkwCA;Ee1sCU;IAxDV,yBAAA;EfqwCA;Ee7sCU;IAxDV,yBAAA;EfwwCA;EehtCU;IAxDV,gBAAA;Ef2wCA;EentCU;IAxDV,yBAAA;Ef8wCA;EettCU;IAxDV,yBAAA;EfixCA;Ee9sCM;;IAEE,gBAAA;EfgtCR;Ee7sCM;;IAEE,gBAAA;Ef+sCR;EettCM;;IAEE,sBAAA;EfwtCR;EertCM;;IAEE,sBAAA;EfutCR;Ee9tCM;;IAEE,qBAAA;EfguCR;Ee7tCM;;IAEE,qBAAA;Ef+tCR;EetuCM;;IAEE,mBAAA;EfwuCR;EeruCM;;IAEE,mBAAA;EfuuCR;Ee9uCM;;IAEE,qBAAA;EfgvCR;Ee7uCM;;IAEE,qBAAA;Ef+uCR;EetvCM;;IAEE,mBAAA;EfwvCR;EervCM;;IAEE,mBAAA;EfuvCR;AACF;AalzCI;EEUE;IACE,YAAA;Ef2yCN;EexyCI;IApCJ,cAAA;IACA,WAAA;Ef+0CA;Eej0CA;IACE,cAAA;IACA,WAAA;Efm0CF;Eer0CA;IACE,cAAA;IACA,UAAA;Efu0CF;Eez0CA;IACE,cAAA;IACA,qBAAA;Ef20CF;Ee70CA;IACE,cAAA;IACA,UAAA;Ef+0CF;Eej1CA;IACE,cAAA;IACA,UAAA;Efm1CF;Eer1CA;IACE,cAAA;IACA,qBAAA;Efu1CF;EexzCI;IAhDJ,cAAA;IACA,WAAA;Ef22CA;EetzCQ;IAhEN,cAAA;IACA,kBAAA;Efy3CF;Ee1zCQ;IAhEN,cAAA;IACA,mBAAA;Ef63CF;Ee9zCQ;IAhEN,cAAA;IACA,UAAA;Efi4CF;Eel0CQ;IAhEN,cAAA;IACA,mBAAA;Efq4CF;Eet0CQ;IAhEN,cAAA;IACA,mBAAA;Efy4CF;Ee10CQ;IAhEN,cAAA;IACA,UAAA;Ef64CF;Ee90CQ;IAhEN,cAAA;IACA,mBAAA;Efi5CF;Eel1CQ;IAhEN,cAAA;IACA,mBAAA;Efq5CF;Eet1CQ;IAhEN,cAAA;IACA,UAAA;Efy5CF;Ee11CQ;IAhEN,cAAA;IACA,mBAAA;Ef65CF;Ee91CQ;IAhEN,cAAA;IACA,mBAAA;Efi6CF;Eel2CQ;IAhEN,cAAA;IACA,WAAA;Efq6CF;Ee91CU;IAxDV,cAAA;Efy5CA;Eej2CU;IAxDV,wBAAA;Ef45CA;Eep2CU;IAxDV,yBAAA;Ef+5CA;Eev2CU;IAxDV,gBAAA;Efk6CA;Ee12CU;IAxDV,yBAAA;Efq6CA;Ee72CU;IAxDV,yBAAA;Efw6CA;Eeh3CU;IAxDV,gBAAA;Ef26CA;Een3CU;IAxDV,yBAAA;Ef86CA;Eet3CU;IAxDV,yBAAA;Efi7CA;Eez3CU;IAxDV,gBAAA;Efo7CA;Ee53CU;IAxDV,yBAAA;Efu7CA;Ee/3CU;IAxDV,yBAAA;Ef07CA;Eev3CM;;IAEE,gBAAA;Efy3CR;Eet3CM;;IAEE,gBAAA;Efw3CR;Ee/3CM;;IAEE,sBAAA;Efi4CR;Ee93CM;;IAEE,sBAAA;Efg4CR;Eev4CM;;IAEE,qBAAA;Efy4CR;Eet4CM;;IAEE,qBAAA;Efw4CR;Ee/4CM;;IAEE,mBAAA;Efi5CR;Ee94CM;;IAEE,mBAAA;Efg5CR;Eev5CM;;IAEE,qBAAA;Efy5CR;Eet5CM;;IAEE,qBAAA;Efw5CR;Ee/5CM;;IAEE,mBAAA;Efi6CR;Ee95CM;;IAEE,mBAAA;Efg6CR;AACF;Aa39CI;EEUE;IACE,YAAA;Efo9CN;Eej9CI;IApCJ,cAAA;IACA,WAAA;Efw/CA;Ee1+CA;IACE,cAAA;IACA,WAAA;Ef4+CF;Ee9+CA;IACE,cAAA;IACA,UAAA;Efg/CF;Eel/CA;IACE,cAAA;IACA,qBAAA;Efo/CF;Eet/CA;IACE,cAAA;IACA,UAAA;Efw/CF;Ee1/CA;IACE,cAAA;IACA,UAAA;Ef4/CF;Ee9/CA;IACE,cAAA;IACA,qBAAA;EfggDF;Eej+CI;IAhDJ,cAAA;IACA,WAAA;EfohDA;Ee/9CQ;IAhEN,cAAA;IACA,kBAAA;EfkiDF;Een+CQ;IAhEN,cAAA;IACA,mBAAA;EfsiDF;Eev+CQ;IAhEN,cAAA;IACA,UAAA;Ef0iDF;Ee3+CQ;IAhEN,cAAA;IACA,mBAAA;Ef8iDF;Ee/+CQ;IAhEN,cAAA;IACA,mBAAA;EfkjDF;Een/CQ;IAhEN,cAAA;IACA,UAAA;EfsjDF;Eev/CQ;IAhEN,cAAA;IACA,mBAAA;Ef0jDF;Ee3/CQ;IAhEN,cAAA;IACA,mBAAA;Ef8jDF;Ee//CQ;IAhEN,cAAA;IACA,UAAA;EfkkDF;EengDQ;IAhEN,cAAA;IACA,mBAAA;EfskDF;EevgDQ;IAhEN,cAAA;IACA,mBAAA;Ef0kDF;Ee3gDQ;IAhEN,cAAA;IACA,WAAA;Ef8kDF;EevgDU;IAxDV,cAAA;EfkkDA;Ee1gDU;IAxDV,wBAAA;EfqkDA;Ee7gDU;IAxDV,yBAAA;EfwkDA;EehhDU;IAxDV,gBAAA;Ef2kDA;EenhDU;IAxDV,yBAAA;Ef8kDA;EethDU;IAxDV,yBAAA;EfilDA;EezhDU;IAxDV,gBAAA;EfolDA;Ee5hDU;IAxDV,yBAAA;EfulDA;Ee/hDU;IAxDV,yBAAA;Ef0lDA;EeliDU;IAxDV,gBAAA;Ef6lDA;EeriDU;IAxDV,yBAAA;EfgmDA;EexiDU;IAxDV,yBAAA;EfmmDA;EehiDM;;IAEE,gBAAA;EfkiDR;Ee/hDM;;IAEE,gBAAA;EfiiDR;EexiDM;;IAEE,sBAAA;Ef0iDR;EeviDM;;IAEE,sBAAA;EfyiDR;EehjDM;;IAEE,qBAAA;EfkjDR;Ee/iDM;;IAEE,qBAAA;EfijDR;EexjDM;;IAEE,mBAAA;Ef0jDR;EevjDM;;IAEE,mBAAA;EfyjDR;EehkDM;;IAEE,qBAAA;EfkkDR;Ee/jDM;;IAEE,qBAAA;EfikDR;EexkDM;;IAEE,mBAAA;Ef0kDR;EevkDM;;IAEE,mBAAA;EfykDR;AACF;AgB/rDA;EACE,sCAAA;EACA,0BAAA;EACA,+CAAA;EACA,iCAAA;EACA,8CAAA;EACA,0CAAA;EACA,6CAAA;EACA,wCAAA;EACA,4CAAA;EACA,yCAAA;EAEA,WAAA;EACA,mBXoWO;EWnWP,4BAAA;EACA,mBXqoB4B;EWpoB5B,0CAAA;AhBgsDF;AgBzrDE;EACE,sBAAA;EACA,oCAAA;EACA,wBXic0B;EWhc1B,wDAAA;AhB2rDJ;AgBxrDE;EACE,uBAAA;AhB0rDJ;AgBvrDE;EACE,sBAAA;AhByrDJ;;AgBrrDA;EACE,kCAAA;AhBwrDF;;AgBjrDA;EACE,iBAAA;AhBorDF;;AgB1qDE;EACE,wBAAA;AhB6qDJ;;AgB9pDE;EACE,mBAAA;AhBiqDJ;AgB9pDI;EACE,mBAAA;AhBgqDN;;AgBzpDE;EACE,sBAAA;AhB4pDJ;AgBzpDE;EACE,mBAAA;AhB2pDJ;;AgBjpDE;EACE,gDAAA;EACA,oCAAA;AhBopDJ;;AgB9oDE;EACE,gDAAA;EACA,oCAAA;AhBipDJ;;AgBzoDA;EACE,+CAAA;EACA,mCAAA;AhB4oDF;;AgBpoDE;EACE,8CAAA;EACA,kCAAA;AhBuoDJ;;AiB5wDE;EAOE,sBAAA;EACA,sBAAA;EACA,gCAAA;EACA,8BAAA;EACA,8BAAA;EACA,6BAAA;EACA,6BAAA;EACA,4BAAA;EACA,4BAAA;EAEA,4BAAA;EACA,0CAAA;AjBwwDJ;;AiB1xDE;EAOE,sBAAA;EACA,sBAAA;EACA,gCAAA;EACA,8BAAA;EACA,8BAAA;EACA,6BAAA;EACA,6BAAA;EACA,4BAAA;EACA,4BAAA;EAEA,4BAAA;EACA,0CAAA;AjBsxDJ;;AiBxyDE;EAOE,sBAAA;EACA,sBAAA;EACA,gCAAA;EACA,8BAAA;EACA,8BAAA;EACA,6BAAA;EACA,6BAAA;EACA,4BAAA;EACA,4BAAA;EAEA,4BAAA;EACA,0CAAA;AjBoyDJ;;AiBtzDE;EAOE,sBAAA;EACA,sBAAA;EACA,gCAAA;EACA,8BAAA;EACA,8BAAA;EACA,6BAAA;EACA,6BAAA;EACA,4BAAA;EACA,4BAAA;EAEA,4BAAA;EACA,0CAAA;AjBkzDJ;;AiBp0DE;EAOE,sBAAA;EACA,sBAAA;EACA,gCAAA;EACA,8BAAA;EACA,8BAAA;EACA,6BAAA;EACA,6BAAA;EACA,4BAAA;EACA,4BAAA;EAEA,4BAAA;EACA,0CAAA;AjBg0DJ;;AiBl1DE;EAOE,sBAAA;EACA,sBAAA;EACA,gCAAA;EACA,8BAAA;EACA,8BAAA;EACA,6BAAA;EACA,6BAAA;EACA,4BAAA;EACA,4BAAA;EAEA,4BAAA;EACA,0CAAA;AjB80DJ;;AiBh2DE;EAOE,sBAAA;EACA,sBAAA;EACA,gCAAA;EACA,8BAAA;EACA,8BAAA;EACA,6BAAA;EACA,6BAAA;EACA,4BAAA;EACA,4BAAA;EAEA,4BAAA;EACA,0CAAA;AjB41DJ;;AiB92DE;EAOE,sBAAA;EACA,sBAAA;EACA,gCAAA;EACA,8BAAA;EACA,8BAAA;EACA,6BAAA;EACA,6BAAA;EACA,4BAAA;EACA,4BAAA;EAEA,4BAAA;EACA,0CAAA;AjB02DJ;;AgBhuDI;EACE,gBAAA;EACA,iCAAA;AhBmuDN;;AavzDI;EGkFA;IACE,gBAAA;IACA,iCAAA;EhByuDJ;AACF;Aa9zDI;EGkFA;IACE,gBAAA;IACA,iCAAA;EhB+uDJ;AACF;Aap0DI;EGkFA;IACE,gBAAA;IACA,iCAAA;EhBqvDJ;AACF;Aa10DI;EGkFA;IACE,gBAAA;IACA,iCAAA;EhB2vDJ;AACF;Aah1DI;EGkFA;IACE,gBAAA;IACA,iCAAA;EhBiwDJ;AACF;AkB95DA;EACE,qBb8xBsC;ALkoCxC;;AkBv5DA;EACE,iCAAA;EACA,oCAAA;EACA,gBAAA;EfoRI,kBALI;Ee3QR,gBb+hB4B;ALy3C9B;;AkBp5DA;EACE,+BAAA;EACA,kCAAA;Ef0QI,kBALI;AHmpDV;;AkBp5DA;EACE,gCAAA;EACA,mCAAA;EfoQI,mBALI;AHypDV;;AmBr7DA;EACE,mBdsxBsC;EFtflC,kBALI;EgBvRR,cdKS;ALi7DX;;AoB37DA;EACE,cAAA;EACA,WAAA;EACA,yBAAA;EjB8RI,eALI;EiBtRR,gBfmiB4B;EeliB5B,gBfyiB4B;EexiB5B,cfKS;EeJT,sBfLS;EeMT,4BAAA;EACA,yBAAA;EACA,wBAAA;EAAA,qBAAA;EAAA,gBAAA;EdGE,uBAAA;EeHE,wEDMJ;ApBy7DF;AqB37DM;EDhBN;ICiBQ,gBAAA;ErB87DN;AACF;AoB57DE;EACE,gBAAA;ApB87DJ;AoB57DI;EACE,eAAA;ApB87DN;AoBz7DE;EACE,cfjBO;EekBP,sBf3BO;Ee4BP,qBfqyBoC;EepyBpC,UAAA;EAKE,kDf6qB0B;AL0wChC;AoBh7DE;EAEE,aAAA;ApBi7DJ;AoB76DE;EACE,cf1CO;Ee4CP,UAAA;ApB86DJ;AoBj7DE;EACE,cf1CO;Ee4CP,UAAA;ApB86DJ;AoBt6DE;EAEE,yBf1DO;Ee6DP,UAAA;ApBq6DJ;AoBj6DE;EACE,yBAAA;EACA,0BAAA;EACA,2BfgoB0B;EehoB1B,0BfgoB0B;Ee/nB1B,cf9DO;EiBbT,yBjBMS;EeuEP,oBAAA;EACA,qBAAA;EACA,mBAAA;EACA,eAAA;EACA,4Bf0Y0B;EezY1B,gBAAA;ECtEE,6IDuEF;ECvEE,qIDuEF;ApBm6DJ;AoB/6DE;EACE,yBAAA;EACA,0BAAA;EACA,2BfgoB0B;EehoB1B,0BfgoB0B;Ee/nB1B,cf9DO;EiBbT,yBjBMS;EeuEP,oBAAA;EACA,qBAAA;EACA,mBAAA;EACA,eAAA;EACA,4Bf0Y0B;EezY1B,gBAAA;ECtEE,qIDuEF;ApBm6DJ;AqBt+DM;EDuDJ;ICtDM,wBAAA;IAAA,gBAAA;ErBy+DN;EoBn7DA;ICtDM,gBAAA;ErBy+DN;AACF;AoBr6DE;EACE,yBfs4B8B;ALiiClC;AoBx6DE;EACE,yBfs4B8B;ALiiClC;;AoB95DA;EACE,cAAA;EACA,WAAA;EACA,mBAAA;EACA,gBAAA;EACA,gBf2c4B;Ee1c5B,cfzFS;Ee0FT,6BAAA;EACA,yBAAA;EACA,mBAAA;ApBi6DF;AoB/5DE;EACE,UAAA;ApBi6DJ;AoB95DE;EAEE,gBAAA;EACA,eAAA;ApB+5DJ;;AoBp5DA;EACE,sCfstBsC;EertBtC,uBAAA;EjBkKI,mBALI;EG7QN,sBAAA;ANygEJ;AoBr5DE;EACE,uBAAA;EACA,wBAAA;EACA,0BfglB0B;EehlB1B,yBfglB0B;ALu0C9B;AoB15DE;EACE,uBAAA;EACA,wBAAA;EACA,0BfglB0B;EehlB1B,yBfglB0B;ALu0C9B;;AoBn5DA;EACE,oCf0sBsC;EezsBtC,oBAAA;EjBqJI,kBALI;EG7QN,qBAAA;ANqhEJ;AoBp5DE;EACE,oBAAA;EACA,qBAAA;EACA,wBfukB0B;EevkB1B,uBfukB0B;AL+0C9B;AoBz5DE;EACE,oBAAA;EACA,qBAAA;EACA,wBfukB0B;EevkB1B,uBfukB0B;AL+0C9B;;AoB94DE;EACE,uCfurBoC;AL0tCxC;AoB94DE;EACE,sCforBoC;AL4tCxC;AoB74DE;EACE,oCfirBoC;AL8tCxC;;AoB14DA;EACE,Wf+qBsC;Ee9qBtC,mCfwqBsC;EevqBtC,iBf6hB4B;ALg3C9B;AoB34DE;EACE,eAAA;ApB64DJ;AoB14DE;EACE,oBAAA;EdpKA,uBAAA;ANijEJ;AoBz4DE;EdxKE,uBAAA;ANojEJ;AoBx4DE;EAAoB,kCfypBkB;ALkvCxC;AoB14DE;EAAoB,gCfypBkB;ALovCxC;;AuBxkEA;EACE,cAAA;EACA,WAAA;EACA,0CAAA;EACA,uCAAA;EpB4RI,eALI;EoBpRR,gBlBiiB4B;EkBhiB5B,gBlBuiB4B;EkBtiB5B,clBGS;EkBFT,sBlBPS;EkBQT,iPAAA;EACA,4BAAA;EACA,yClBw5BkC;EkBv5BlC,0BlBw5BkC;EkBv5BlC,yBAAA;EjBDE,uBAAA;EeHE,wEEOJ;EACA,wBAAA;EAAA,qBAAA;EAAA,gBAAA;AvBykEF;AqB7kEM;EEfN;IFgBQ,gBAAA;ErBglEN;AACF;AuB5kEE;EACE,qBlB8yBoC;EkB7yBpC,UAAA;EAKE,kDlBy5B4B;ALirClC;AuBtkEE;EAEE,sBlBuqB0B;EkBtqB1B,sBAAA;AvBukEJ;AuBpkEE;EAEE,yBlBnCO;ALwmEX;AuBhkEE;EACE,kBAAA;EACA,0BAAA;AvBkkEJ;;AuB9jEA;EACE,oBlBgqB4B;EkB/pB5B,uBlB+pB4B;EkB9pB5B,oBlB+pB4B;EFrbxB,mBALI;EG7QN,sBAAA;AN2mEJ;;AuB9jEA;EACE,mBlB4pB4B;EkB3pB5B,sBlB2pB4B;EkB1pB5B,kBlB2pB4B;EFzbxB,kBALI;EG7QN,qBAAA;ANmnEJ;;AwBloEA;EACE,cAAA;EACA,kBnB41BwC;EmB31BxC,mBnB41BwC;EmB31BxC,uBnB41BwC;ALyyC1C;AwBnoEE;EACE,WAAA;EACA,mBAAA;AxBqoEJ;;AwBjoEA;EACE,oBnBk1BwC;EmBj1BxC,eAAA;EACA,iBAAA;AxBooEF;AwBloEE;EACE,YAAA;EACA,oBAAA;EACA,cAAA;AxBooEJ;;AwBhoEA;EACE,UnBo0BwC;EmBn0BxC,WnBm0BwC;EmBl0BxC,kBAAA;EACA,mBAAA;EACA,sBnBzBS;EmB0BT,4BAAA;EACA,2BAAA;EACA,wBAAA;EACA,qCnBu0BwC;EmBt0BxC,wBAAA;EAAA,qBAAA;EAAA,gBAAA;EACA,iCAAA;EAAA,mBAAA;EAAA,yBAAA;AxBmoEF;AwBhoEE;ElBvBE,qBAAA;AN0pEJ;AwB/nEE;EAEE,kBnB8zBsC;ALk0C1C;AwB7nEE;EACE,uBnBqzBsC;AL00C1C;AwB5nEE;EACE,qBnBixBoC;EmBhxBpC,UAAA;EACA,kDnB6pB4B;ALi+ChC;AwB3nEE;EACE,yBnBxBM;EmByBN,qBnBzBM;ALspEV;AwB3nEI;EAII,+OAAA;AxB0nER;AwBtnEI;EAII,uJAAA;AxBqnER;AwBhnEE;EACE,yBnB7CM;EmB8CN,qBnB9CM;EmBmDJ,yOAAA;AxB8mEN;AwB1mEE;EACE,oBAAA;EACA,YAAA;EACA,YnB6xBuC;AL+0C3C;AwBrmEI;EACE,eAAA;EACA,YnBoxBqC;ALm1C3C;;AwBzlEA;EACE,mBnB+wBgC;AL60ClC;AwB1lEE;EACE,UnB2wB8B;EmB1wB9B,mBAAA;EACA,wKAAA;EACA,gCAAA;ElB3GA,kBAAA;EeHE,iDGgHF;AxB4lEJ;AqBxsEM;EGsGJ;IHrGM,gBAAA;ErB2sEN;AACF;AwB/lEI;EACE,0JAAA;AxBimEN;AwB9lEI;EACE,iCnB0wB4B;EmBrwB1B,uJAAA;AxB4lER;AwBvlEE;EACE,oBnBqvB8B;EmBpvB9B,eAAA;AxBylEJ;AwBvlEI;EACE,oBAAA;EACA,cAAA;AxBylEN;;AwBplEA;EACE,qBAAA;EACA,kBnBmuBgC;ALo3ClC;;AwBplEA;EACE,kBAAA;EACA,sBAAA;EACA,oBAAA;AxBulEF;AwBnlEI;EACE,oBAAA;EACA,YAAA;EACA,anBolBwB;ALigD9B;;AyB1vEA;EACE,WAAA;EACA,cAAA;EACA,UAAA;EACA,6BAAA;EACA,wBAAA;EAAA,qBAAA;EAAA,gBAAA;AzB6vEF;AyB3vEE;EACE,UAAA;AzB6vEJ;AyBzvEI;EAA0B,kEpBq8Ba;ALuzC3C;AyB3vEI;EAA0B,kEpBo8Ba;AL0zC3C;AyB3vEE;EACE,SAAA;AzB6vEJ;AyB1vEE;EACE,WpBs7BuC;EoBr7BvC,YpBq7BuC;EoBp7BvC,oBAAA;EHzBF,yBjBkCQ;EoBPN,SpBq7BuC;ECj8BvC,mBAAA;EeHE,oHIkBF;EJlBE,4GIkBF;EACA,wBAAA;EAAA,gBAAA;AzB2vEJ;AqB1wEM;EIMJ;IJLM,wBAAA;IAAA,gBAAA;ErB6wEN;AACF;AyB9vEI;EHjCF,yBjBq9ByC;AL60C3C;AyB5vEE;EACE,WpB+5B8B;EoB95B9B,cpB+5B8B;EoB95B9B,kBAAA;EACA,epB85B8B;EoB75B9B,yBpBpCO;EoBqCP,yBAAA;EnB7BA,mBAAA;AN4xEJ;AyB1vEE;EACE,WpB25BuC;EoB15BvC,YpB05BuC;EiB78BzC,yBjBkCQ;EoBmBN,SpB25BuC;ECj8BvC,mBAAA;EeHE,iHI4CF;EJ5CE,4GI4CF;EACA,qBAAA;EAAA,gBAAA;AzB2vEJ;AqBpyEM;EIiCJ;IJhCM,qBAAA;IAAA,gBAAA;ErBuyEN;AACF;AyB9vEI;EH3DF,yBjBq9ByC;ALu2C3C;AyB5vEE;EACE,WpBq4B8B;EoBp4B9B,cpBq4B8B;EoBp4B9B,kBAAA;EACA,epBo4B8B;EoBn4B9B,yBpB9DO;EoB+DP,yBAAA;EnBvDA,mBAAA;ANszEJ;AyB1vEE;EACE,oBAAA;AzB4vEJ;AyB1vEI;EACE,yBpBtEK;ALk0EX;AyBzvEI;EACE,yBpB1EK;ALq0EX;;A0Bl1EA;EACE,kBAAA;A1Bq1EF;A0Bn1EE;;;EAGE,0BrB+9B8B;EqB99B9B,iBrB+9B8B;ALs3ClC;A0Bl1EE;EACE,kBAAA;EACA,MAAA;EACA,OAAA;EACA,WAAA;EACA,YAAA;EACA,qBAAA;EACA,gBAAA;EACA,iBAAA;EACA,uBAAA;EACA,mBAAA;EACA,oBAAA;EACA,6BAAA;EACA,qBAAA;ELPE,gEKQF;A1Bo1EJ;AqBx1EM;EKVJ;ILWM,gBAAA;ErB21EN;AACF;A0Bt1EE;;EAEE,qBAAA;A1Bw1EJ;A0Bt1EI;EACE,kBAAA;A1By1EN;A0B11EI;;EACE,kBAAA;A1By1EN;A0Bt1EI;EAEE,qBrBo8B4B;EqBn8B5B,wBrBo8B4B;ALq5ClC;A0B51EI;;;EAEE,qBrBo8B4B;EqBn8B5B,wBrBo8B4B;ALq5ClC;A0Bt1EI;;EACE,qBrB+7B4B;EqB97B5B,wBrB+7B4B;AL05ClC;A0Br1EE;EACE,qBrBy7B8B;EqBx7B9B,wBrBy7B8B;AL85ClC;A0Bh1EI;EACE,arBk7B4B;EqBj7B5B,8DrBk7B4B;ALm6ClC;A0Bv1EI;;;;EACE,arBk7B4B;EqBj7B5B,8DrBk7B4B;ALm6ClC;A0Bh1EI;EACE,arB26B4B;EqB16B5B,8DrB26B4B;ALu6ClC;A0B70EI;EACE,mBAAA;A1B+0EN;;A2Bl5EA;EACE,kBAAA;EACA,aAAA;EACA,eAAA;EACA,oBAAA;EACA,WAAA;A3Bq5EF;A2Bn5EE;;;EAGE,kBAAA;EACA,cAAA;EACA,SAAA;EACA,YAAA;A3Bq5EJ;A2Bj5EE;;;EAGE,UAAA;A3Bm5EJ;A2B74EE;EACE,kBAAA;EACA,UAAA;A3B+4EJ;A2B74EI;EACE,UAAA;A3B+4EN;;A2Bp4EA;EACE,aAAA;EACA,mBAAA;EACA,yBAAA;ExBoPI,eALI;EwB7OR,gBtB0f4B;EsBzf5B,gBtBggB4B;EsB/f5B,ctBpCS;EsBqCT,kBAAA;EACA,mBAAA;EACA,yBtB9CS;EsB+CT,yBAAA;ErBtCE,uBAAA;AN86EJ;;A2B93EA;;;;EAIE,oBAAA;ExB8NI,kBALI;EG7QN,qBAAA;ANu7EJ;;A2B93EA;;;;EAIE,uBAAA;ExBqNI,mBALI;EG7QN,sBAAA;ANg8EJ;;A2B93EA;;EAEE,mBAAA;A3Bi4EF;;A2Bp3EI;;;;ErBjEA,0BAAA;EACA,6BAAA;AN47EJ;A2Bn3EI;;;;ErB1EA,0BAAA;EACA,6BAAA;ANm8EJ;A2B72EE;EACE,iBAAA;ErB1EA,yBAAA;EACA,4BAAA;AN07EJ;A2B72EE;;ErB9EE,yBAAA;EACA,4BAAA;AN+7EJ;;A4Bx9EE;EACE,aAAA;EACA,WAAA;EACA,mBvB+vBoC;EFtflC,kBALI;EyBjQN,cvBi+BqB;ALy/CzB;;A4Bv9EE;EACE,kBAAA;EACA,SAAA;EACA,UAAA;EACA,aAAA;EACA,eAAA;EACA,uBAAA;EACA,kBAAA;EzB4PE,mBALI;EyBpPN,WAvBc;EAwBd,wCAvBiB;EtBHjB,uBAAA;ANo/EJ;;A4Br9EI;;;;EAEE,cAAA;A5B09EN;;A4BxgFI;EAoDE,qBvBs8BmB;EuBn8BjB,oCvBsxBgC;EuBrxBhC,2PAAA;EACA,4BAAA;EACA,2DAAA;EACA,gEAAA;A5Bs9ER;A4Bn9EM;EACE,qBvB27BiB;EuB17BjB,iDA/Ca;A5BogFrB;;A4BrhFI;EAyEI,oCvBowBgC;EuBnwBhC,kFAAA;A5Bg9ER;;A4B1hFI;EAiFE,qBvBy6BmB;ALoiDzB;A4B18EQ;EAEE,uBvBm1B8B;EuBl1B9B,4dAAA;EACA,+DAAA;EACA,2EAAA;A5B28EV;A4Bv8EM;EACE,qBvB45BiB;EuB35BjB,iDA9Ea;A5BuhFrB;;A4BxiFI;EAuGI,yCAAA;A5Bq8ER;;A4B5iFI;EA8GE,qBvB44BmB;ALsjDzB;A4Bh8EM;EACE,yBvBy4BiB;ALyjDzB;A4B/7EM;EACE,iDApGa;A5BqiFrB;A4B97EM;EACE,cvBi4BiB;AL+jDzB;;A4B37EI;EACE,kBAAA;A5B87EN;;A4B7jFI;;;;;EAyIM,UAAA;A5B47EV;;A4BljFE;EACE,aAAA;EACA,WAAA;EACA,mBvB+vBoC;EFtflC,kBALI;EyBjQN,cvBi+BqB;ALmlDzB;;A4BjjFE;EACE,kBAAA;EACA,SAAA;EACA,UAAA;EACA,aAAA;EACA,eAAA;EACA,uBAAA;EACA,kBAAA;EzB4PE,mBALI;EyBpPN,WAvBc;EAwBd,wCAvBiB;EtBHjB,uBAAA;AN8kFJ;;A4B/iFI;;;;EAEE,cAAA;A5BojFN;;A4BlmFI;EAoDE,qBvBs8BmB;EuBn8BjB,oCvBsxBgC;EuBrxBhC,4UAAA;EACA,4BAAA;EACA,2DAAA;EACA,gEAAA;A5BgjFR;A4B7iFM;EACE,qBvB27BiB;EuB17BjB,iDA/Ca;A5B8lFrB;;A4B/mFI;EAyEI,oCvBowBgC;EuBnwBhC,kFAAA;A5B0iFR;;A4BpnFI;EAiFE,qBvBy6BmB;AL8nDzB;A4BpiFQ;EAEE,uBvBm1B8B;EuBl1B9B,6iBAAA;EACA,+DAAA;EACA,2EAAA;A5BqiFV;A4BjiFM;EACE,qBvB45BiB;EuB35BjB,iDA9Ea;A5BinFrB;;A4BloFI;EAuGI,yCAAA;A5B+hFR;;A4BtoFI;EA8GE,qBvB44BmB;ALgpDzB;A4B1hFM;EACE,yBvBy4BiB;ALmpDzB;A4BzhFM;EACE,iDApGa;A5B+nFrB;A4BxhFM;EACE,cvBi4BiB;ALypDzB;;A4BrhFI;EACE,kBAAA;A5BwhFN;;A4BvpFI;;;;;EA2IM,UAAA;A5BohFV;;A6BjqFA;EAEE,2BAAA;EACA,4BAAA;EACA,sBAAA;E1B6RI,wBALI;E0BtRR,yBAAA;EACA,yBAAA;EACA,uBAAA;EACA,wBAAA;EACA,0BAAA;EACA,kCAAA;EACA,gCAAA;EACA,wCAAA;EACA,4FAAA;EACA,+BAAA;EACA,iFAAA;EAGA,qBAAA;EACA,wDAAA;EACA,sCAAA;E1B4QI,kCALI;E0BrQR,sCAAA;EACA,sCAAA;EACA,0BAAA;EACA,kBAAA;EACA,qBAAA;EAEA,sBAAA;EACA,eAAA;EACA,yBAAA;EAAA,sBAAA;EAAA,iBAAA;EACA,mEAAA;EvBjBE,0CAAA;EgBfF,kCOkCqB;ERtBjB,qIQwBJ;A7B+pFF;AqBnrFM;EQhBN;IRiBQ,gBAAA;ErBsrFN;AACF;A6BlqFE;EACE,gCAAA;EAEA,wCAAA;EACA,8CAAA;A7BmqFJ;A6BhqFE;EAEE,0BAAA;EACA,kCAAA;EACA,wCAAA;A7BiqFJ;A6B9pFE;EACE,gCAAA;EPrDF,wCOsDuB;EACrB,8CAAA;EACA,UAAA;EAKE,0CAAA;A7B4pFN;A6BxpFE;EACE,8CAAA;EACA,UAAA;EAKE,0CAAA;A7BspFN;A6BlpFE;EAKE,iCAAA;EACA,yCAAA;EAGA,+CAAA;A7B8oFJ;A6B3oFI;EAKI,0CAAA;A7ByoFR;A6BpoFE;EAGE,mCAAA;EACA,oBAAA;EACA,2CAAA;EAEA,iDAAA;EACA,uCAAA;A7BmoFJ;;A6BvnFE;ECtGA,oBAAA;EACA,oBAAA;EACA,8BAAA;EACA,0BAAA;EACA,0BAAA;EACA,oCAAA;EACA,uCAAA;EACA,2BAAA;EACA,2BAAA;EACA,qCAAA;EACA,4DAAA;EACA,6BAAA;EACA,6BAAA;EACA,uCAAA;A9BiuFF;;A6BxoFE;ECtGA,oBAAA;EACA,oBAAA;EACA,8BAAA;EACA,0BAAA;EACA,0BAAA;EACA,oCAAA;EACA,wCAAA;EACA,2BAAA;EACA,2BAAA;EACA,qCAAA;EACA,4DAAA;EACA,6BAAA;EACA,6BAAA;EACA,uCAAA;A9BkvFF;;A6BzpFE;ECtGA,oBAAA;EACA,oBAAA;EACA,8BAAA;EACA,0BAAA;EACA,0BAAA;EACA,oCAAA;EACA,uCAAA;EACA,2BAAA;EACA,2BAAA;EACA,qCAAA;EACA,4DAAA;EACA,6BAAA;EACA,6BAAA;EACA,uCAAA;A9BmwFF;;A6B1qFE;ECtGA,oBAAA;EACA,oBAAA;EACA,8BAAA;EACA,0BAAA;EACA,0BAAA;EACA,oCAAA;EACA,uCAAA;EACA,2BAAA;EACA,2BAAA;EACA,qCAAA;EACA,4DAAA;EACA,6BAAA;EACA,6BAAA;EACA,uCAAA;A9BoxFF;;A6B3rFE;ECtGA,oBAAA;EACA,oBAAA;EACA,8BAAA;EACA,0BAAA;EACA,0BAAA;EACA,oCAAA;EACA,sCAAA;EACA,2BAAA;EACA,2BAAA;EACA,qCAAA;EACA,4DAAA;EACA,6BAAA;EACA,6BAAA;EACA,uCAAA;A9BqyFF;;A6B5sFE;ECtGA,oBAAA;EACA,oBAAA;EACA,8BAAA;EACA,0BAAA;EACA,0BAAA;EACA,oCAAA;EACA,sCAAA;EACA,2BAAA;EACA,2BAAA;EACA,qCAAA;EACA,4DAAA;EACA,6BAAA;EACA,6BAAA;EACA,uCAAA;A9BszFF;;A6B7tFE;ECtGA,oBAAA;EACA,oBAAA;EACA,8BAAA;EACA,0BAAA;EACA,0BAAA;EACA,oCAAA;EACA,wCAAA;EACA,2BAAA;EACA,2BAAA;EACA,qCAAA;EACA,4DAAA;EACA,6BAAA;EACA,6BAAA;EACA,uCAAA;A9Bu0FF;;A6B9uFE;ECtGA,oBAAA;EACA,oBAAA;EACA,8BAAA;EACA,0BAAA;EACA,0BAAA;EACA,oCAAA;EACA,qCAAA;EACA,2BAAA;EACA,2BAAA;EACA,qCAAA;EACA,4DAAA;EACA,6BAAA;EACA,6BAAA;EACA,uCAAA;A9Bw1FF;;A6BruFE;ECvGA,uBAAA;EACA,8BAAA;EACA,0BAAA;EACA,0BAAA;EACA,oCAAA;EACA,uCAAA;EACA,2BAAA;EACA,2BAAA;EACA,qCAAA;EACA,4DAAA;EACA,gCAAA;EACA,iCAAA;EACA,uCAAA;EACA,mBAAA;A9Bg1FF;;A6BtvFE;ECvGA,uBAAA;EACA,8BAAA;EACA,0BAAA;EACA,0BAAA;EACA,oCAAA;EACA,wCAAA;EACA,2BAAA;EACA,2BAAA;EACA,qCAAA;EACA,4DAAA;EACA,gCAAA;EACA,iCAAA;EACA,uCAAA;EACA,mBAAA;A9Bi2FF;;A6BvwFE;ECvGA,uBAAA;EACA,8BAAA;EACA,0BAAA;EACA,0BAAA;EACA,oCAAA;EACA,sCAAA;EACA,2BAAA;EACA,2BAAA;EACA,qCAAA;EACA,4DAAA;EACA,gCAAA;EACA,iCAAA;EACA,uCAAA;EACA,mBAAA;A9Bk3FF;;A6BxxFE;ECvGA,uBAAA;EACA,8BAAA;EACA,0BAAA;EACA,0BAAA;EACA,oCAAA;EACA,uCAAA;EACA,2BAAA;EACA,2BAAA;EACA,qCAAA;EACA,4DAAA;EACA,gCAAA;EACA,iCAAA;EACA,uCAAA;EACA,mBAAA;A9Bm4FF;;A6BzyFE;ECvGA,uBAAA;EACA,8BAAA;EACA,0BAAA;EACA,0BAAA;EACA,oCAAA;EACA,sCAAA;EACA,2BAAA;EACA,2BAAA;EACA,qCAAA;EACA,4DAAA;EACA,gCAAA;EACA,iCAAA;EACA,uCAAA;EACA,mBAAA;A9Bo5FF;;A6B1zFE;ECvGA,uBAAA;EACA,8BAAA;EACA,0BAAA;EACA,0BAAA;EACA,oCAAA;EACA,sCAAA;EACA,2BAAA;EACA,2BAAA;EACA,qCAAA;EACA,4DAAA;EACA,gCAAA;EACA,iCAAA;EACA,uCAAA;EACA,mBAAA;A9Bq6FF;;A6B30FE;ECvGA,uBAAA;EACA,8BAAA;EACA,0BAAA;EACA,0BAAA;EACA,oCAAA;EACA,wCAAA;EACA,2BAAA;EACA,2BAAA;EACA,qCAAA;EACA,4DAAA;EACA,gCAAA;EACA,iCAAA;EACA,uCAAA;EACA,mBAAA;A9Bs7FF;;A6B51FE;ECvGA,uBAAA;EACA,8BAAA;EACA,0BAAA;EACA,0BAAA;EACA,oCAAA;EACA,qCAAA;EACA,2BAAA;EACA,2BAAA;EACA,qCAAA;EACA,4DAAA;EACA,gCAAA;EACA,iCAAA;EACA,uCAAA;EACA,mBAAA;A9Bu8FF;;A6Bj2FA;EACE,yBAAA;EACA,oCAAA;EACA,wBAAA;EACA,kCAAA;EACA,gDAAA;EACA,wCAAA;EACA,iDAAA;EACA,yCAAA;EACA,gCAAA;EACA,2CAAA;EACA,yBAAA;EACA,uCAAA;EAEA,0BxB2OwC;ALwnF1C;A6Bz1FE;EACE,0BAAA;A7B21FJ;A6Bx1FE;EACE,gCAAA;A7B01FJ;;A6B/0FA;ECxIE,0BAAA;EACA,wBAAA;E3BoOI,2BALI;E2B7NR,8BAAA;A9B29FF;;A6Bl1FA;EC5IE,2BAAA;EACA,0BAAA;E3BoOI,4BALI;E2B7NR,+BAAA;A9Bk+FF;;A+BriGA;EVgBM,gCUfJ;A/BwiGF;AqBrhGM;EUpBN;IVqBQ,gBAAA;ErBwhGN;AACF;A+B3iGE;EACE,UAAA;A/B6iGJ;;A+BviGE;EACE,aAAA;A/B0iGJ;;A+BtiGA;EACE,SAAA;EACA,gBAAA;EVDI,6BUEJ;A/ByiGF;AqBviGM;EULN;IVMQ,gBAAA;ErB0iGN;AACF;A+B5iGE;EACE,QAAA;EACA,YAAA;EVNE,4BUOF;A/B8iGJ;AqBjjGM;EUAJ;IVCM,gBAAA;ErBojGN;AACF;;AgCzkGA;;;;;;EAME,kBAAA;AhC4kGF;;AgCzkGA;EACE,mBAAA;AhC4kGF;AiCzjGI;EACE,qBAAA;EACA,oB5BmewB;E4BlexB,uB5BiewB;E4BhexB,WAAA;EAhCJ,uBAAA;EACA,qCAAA;EACA,gBAAA;EACA,oCAAA;AjC4lGF;AiCviGI;EACE,cAAA;AjCyiGN;;AgCllGA;EAEE,0BAAA;EACA,8BAAA;EACA,0BAAA;EACA,+BAAA;EACA,8BAAA;E7B6QI,6BALI;E6BtQR,4BAAA;EACA,sBAAA;EACA,8DAAA;EACA,qCAAA;EACA,+BAAA;EACA,uDAAA;EACA,4DAAA;EACA,sCAAA;EACA,2DAAA;EACA,iCAAA;EACA,uCAAA;EACA,oCAAA;EACA,qCAAA;EACA,qCAAA;EACA,0CAAA;EACA,kCAAA;EACA,qCAAA;EACA,mCAAA;EACA,oCAAA;EACA,sCAAA;EAGA,kBAAA;EACA,kCAAA;EACA,aAAA;EACA,uCAAA;EACA,kEAAA;EACA,SAAA;E7BgPI,uCALI;E6BzOR,+BAAA;EACA,gBAAA;EACA,gBAAA;EACA,uCAAA;EACA,4BAAA;EACA,6EAAA;E1BzCE,+CAAA;AN4nGJ;AgC/kGE;EACE,SAAA;EACA,OAAA;EACA,qCAAA;AhCilGJ;;AgCzjGI;EACE,oBAAA;AhC4jGN;AgC1jGM;EACE,WAAA;EACA,OAAA;AhC4jGR;;AgCxjGI;EACE,kBAAA;AhC2jGN;AgCzjGM;EACE,QAAA;EACA,UAAA;AhC2jGR;;AarmGI;EmB4BA;IACE,oBAAA;EhC6kGJ;EgC3kGI;IACE,WAAA;IACA,OAAA;EhC6kGN;EgCzkGE;IACE,kBAAA;EhC2kGJ;EgCzkGI;IACE,QAAA;IACA,UAAA;EhC2kGN;AACF;AatnGI;EmB4BA;IACE,oBAAA;EhC6lGJ;EgC3lGI;IACE,WAAA;IACA,OAAA;EhC6lGN;EgCzlGE;IACE,kBAAA;EhC2lGJ;EgCzlGI;IACE,QAAA;IACA,UAAA;EhC2lGN;AACF;AatoGI;EmB4BA;IACE,oBAAA;EhC6mGJ;EgC3mGI;IACE,WAAA;IACA,OAAA;EhC6mGN;EgCzmGE;IACE,kBAAA;EhC2mGJ;EgCzmGI;IACE,QAAA;IACA,UAAA;EhC2mGN;AACF;AatpGI;EmB4BA;IACE,oBAAA;EhC6nGJ;EgC3nGI;IACE,WAAA;IACA,OAAA;EhC6nGN;EgCznGE;IACE,kBAAA;EhC2nGJ;EgCznGI;IACE,QAAA;IACA,UAAA;EhC2nGN;AACF;AatqGI;EmB4BA;IACE,oBAAA;EhC6oGJ;EgC3oGI;IACE,WAAA;IACA,OAAA;EhC6oGN;EgCzoGE;IACE,kBAAA;EhC2oGJ;EgCzoGI;IACE,QAAA;IACA,UAAA;EhC2oGN;AACF;AgCloGE;EACE,SAAA;EACA,YAAA;EACA,aAAA;EACA,wCAAA;AhCooGJ;AiC7tGI;EACE,qBAAA;EACA,oB5BmewB;E4BlexB,uB5BiewB;E4BhexB,WAAA;EAzBJ,aAAA;EACA,qCAAA;EACA,0BAAA;EACA,oCAAA;AjCyvGF;AiC3sGI;EACE,cAAA;AjC6sGN;;AgCxoGE;EACE,MAAA;EACA,WAAA;EACA,UAAA;EACA,aAAA;EACA,sCAAA;AhC2oGJ;AiClvGI;EACE,qBAAA;EACA,oB5BmewB;E4BlexB,uB5BiewB;E4BhexB,WAAA;EAlBJ,mCAAA;EACA,eAAA;EACA,sCAAA;EACA,wBAAA;AjCuwGF;AiChuGI;EACE,cAAA;AjCkuGN;AgCnpGI;EACE,iBAAA;AhCqpGN;;AgC/oGE;EACE,MAAA;EACA,WAAA;EACA,UAAA;EACA,aAAA;EACA,uCAAA;AhCkpGJ;AiC1wGI;EACE,qBAAA;EACA,oB5BmewB;E4BlexB,uB5BiewB;E4BhexB,WAAA;AjC4wGN;AiCjwGM;EACE,aAAA;AjCmwGR;AiChwGM;EACE,qBAAA;EACA,qB5BgdsB;E4B/ctB,uB5B8csB;E4B7ctB,WAAA;EA9BN,mCAAA;EACA,yBAAA;EACA,sCAAA;AjCiyGF;AiChwGI;EACE,cAAA;AjCkwGN;AgClqGI;EACE,iBAAA;AhCoqGN;;AgC7pGA;EACE,SAAA;EACA,6CAAA;EACA,gBAAA;EACA,mDAAA;EACA,UAAA;AhCgqGF;;AgC1pGA;EACE,cAAA;EACA,WAAA;EACA,4EAAA;EACA,WAAA;EACA,gB3B0X4B;E2BzX5B,oCAAA;EACA,mBAAA;EACA,qBAAA;EACA,mBAAA;EACA,6BAAA;EACA,SAAA;AhC6pGF;AgC3pGE;EAEE,0CAAA;EVzLF,kDU2LuB;AhC2pGzB;AgCxpGE;EAEE,2CAAA;EACA,qBAAA;EVjMF,mDUkMuB;AhCypGzB;AgCtpGE;EAEE,6CAAA;EACA,oBAAA;EACA,6BAAA;AhCupGJ;;AgCjpGA;EACE,cAAA;AhCopGF;;AgChpGA;EACE,cAAA;EACA,gFAAA;EACA,gBAAA;E7B0EI,mBALI;E6BnER,sCAAA;EACA,mBAAA;AhCmpGF;;AgC/oGA;EACE,cAAA;EACA,4EAAA;EACA,oCAAA;AhCkpGF;;AgC9oGA;EAEE,4BAAA;EACA,yBAAA;EACA,8DAAA;EACA,0BAAA;EACA,iCAAA;EACA,oCAAA;EACA,4DAAA;EACA,sDAAA;EACA,qCAAA;EACA,qCAAA;EACA,0CAAA;EACA,mCAAA;AhCgpGF;;AkCr4GA;;EAEE,kBAAA;EACA,oBAAA;EACA,sBAAA;AlCw4GF;AkCt4GE;;EACE,kBAAA;EACA,cAAA;AlCy4GJ;AkCp4GE;;;;;;;;;;;;EAME,UAAA;AlC44GJ;;AkCv4GA;EACE,aAAA;EACA,eAAA;EACA,2BAAA;AlC04GF;AkCx4GE;EACE,WAAA;AlC04GJ;;AkCt4GA;E5BhBI,uBAAA;AN05GJ;AkCt4GE;;EAEE,iBAAA;AlCw4GJ;AkCp4GE;;;E5BVE,0BAAA;EACA,6BAAA;ANm5GJ;AkCh4GE;;;E5BNE,yBAAA;EACA,4BAAA;AN24GJ;;AkCn3GA;EACE,wBAAA;EACA,uBAAA;AlCs3GF;AkCp3GE;EAGE,cAAA;AlCo3GJ;AkCj3GE;EACE,eAAA;AlCm3GJ;;AkC/2GA;EACE,uBAAA;EACA,sBAAA;AlCk3GF;;AkC/2GA;EACE,sBAAA;EACA,qBAAA;AlCk3GF;;AkC91GA;EACE,sBAAA;EACA,uBAAA;EACA,uBAAA;AlCi2GF;AkC/1GE;;EAEE,WAAA;AlCi2GJ;AkC91GE;;EAEE,gBAAA;AlCg2GJ;AkC51GE;;E5B1FE,6BAAA;EACA,4BAAA;AN07GJ;AkC51GE;;E5B7GE,yBAAA;EACA,0BAAA;AN68GJ;;AmCr+GA;EAEE,6BAAA;EACA,+BAAA;EAEA,2BAAA;EACA,yCAAA;EACA,qDAAA;EACA,qCAAA;EAGA,aAAA;EACA,eAAA;EACA,eAAA;EACA,gBAAA;EACA,gBAAA;AnCo+GF;;AmCj+GA;EACE,cAAA;EACA,kEAAA;EhC4QI,uCALI;EgCrQR,2CAAA;EACA,+BAAA;EACA,qBAAA;EdbI,uGccJ;AnCo+GF;AqB9+GM;EcGN;IdFQ,gBAAA;ErBi/GN;AACF;AmCv+GE;EAEE,qCAAA;AnCw+GJ;AmCn+GE;EACE,wCAAA;EACA,oBAAA;EACA,eAAA;AnCq+GJ;;AmC79GA;EAEE,+BAAA;EACA,mCAAA;EACA,qCAAA;EACA,8DAAA;EACA,wCAAA;EACA,kCAAA;EACA,4DAAA;EAGA,oFAAA;AnC69GF;AmC39GE;EACE,yDAAA;EACA,gBAAA;EACA,yDAAA;E7BtCA,wDAAA;EACA,yDAAA;ANogHJ;AmC59GI;EAGE,kBAAA;EACA,wDAAA;AnC49GN;AmCz9GI;EAEE,wCAAA;EACA,6BAAA;EACA,yBAAA;AnC09GN;AmCt9GE;;EAEE,2CAAA;EACA,mDAAA;EACA,yDAAA;AnCw9GJ;AmCr9GE;EAEE,sDAAA;E7BjEA,yBAAA;EACA,0BAAA;ANwhHJ;;AmC78GA;EAEE,sCAAA;EACA,sCAAA;EACA,sCAAA;AnC+8GF;AmC58GE;EACE,gBAAA;EACA,SAAA;E7B9FA,gDAAA;AN6iHJ;AmC58GI;EACE,wCAAA;EACA,6BAAA;EACA,yBAAA;AnC88GN;AmC18GE;;EAEE,4CAAA;EbzHF,oDa0HuB;AnC48GzB;;AmCl8GE;;EAEE,cAAA;EACA,kBAAA;AnCq8GJ;;AmCh8GE;;EAEE,aAAA;EACA,YAAA;EACA,kBAAA;AnCm8GJ;;AmC77GE;;EACE,WAAA;AnCi8GJ;;AmCv7GE;EACE,aAAA;AnC07GJ;AmCx7GE;EACE,cAAA;AnC07GJ;;AoC9lHA;EAEE,wBAAA;EACA,6BAAA;EACA,sCAAA;EACA,2CAAA;EACA,8CAAA;EACA,4CAAA;EACA,sCAAA;EACA,kCAAA;EACA,oCAAA;EACA,2CAAA;EACA,iDAAA;EACA,sCAAA;EACA,sCAAA;EACA,sCAAA;EACA,sCAAA;EACA,wQAAA;EACA,oDAAA;EACA,2CAAA;EACA,wCAAA;EACA,4DAAA;EAGA,kBAAA;EACA,aAAA;EACA,eAAA;EACA,mBAAA;EACA,8BAAA;EACA,8DAAA;ApC8lHF;AoCxlHE;;;;;;;EACE,aAAA;EACA,kBAAA;EACA,mBAAA;EACA,8BAAA;ApCgmHJ;AoC5kHA;EACE,6CAAA;EACA,gDAAA;EACA,+CAAA;EjCkOI,2CALI;EiC3NR,mCAAA;EACA,qBAAA;EACA,mBAAA;ApC8kHF;AoC5kHE;EAEE,yCAAA;ApC6kHJ;;AoCnkHA;EAEE,0BAAA;EACA,+BAAA;EAEA,2BAAA;EACA,2CAAA;EACA,uDAAA;EACA,6DAAA;EAGA,aAAA;EACA,sBAAA;EACA,eAAA;EACA,gBAAA;EACA,gBAAA;ApCkkHF;AoChkHE;;EAEE,oCAAA;ApCkkHJ;AoC/jHE;EACE,gBAAA;ApCikHJ;;AoCxjHA;EACE,mB/B46BkC;E+B36BlC,sB/B26BkC;E+B16BlC,6BAAA;ApC2jHF;AoCzjHE;;;EAGE,oCAAA;ApC2jHJ;;AoC9iHA;EACE,gBAAA;EACA,YAAA;EAGA,mBAAA;ApC+iHF;;AoC3iHA;EACE,8EAAA;EjCiJI,6CALI;EiC1IR,cAAA;EACA,6BAAA;EACA,6BAAA;EACA,0EAAA;E9BtIE,qDAAA;EeHE,+Ce2IJ;ApC8iHF;AqBrrHM;Ee+HN;If9HQ,gBAAA;ErBwrHN;AACF;AoCjjHE;EACE,qBAAA;ApCmjHJ;AoChjHE;EACE,qBAAA;EACA,UAAA;EACA,sDAAA;ApCkjHJ;;AoC5iHA;EACE,qBAAA;EACA,YAAA;EACA,aAAA;EACA,sBAAA;EACA,kDAAA;EACA,4BAAA;EACA,2BAAA;EACA,qBAAA;ApC+iHF;;AoC5iHA;EACE,yCAAA;EACA,gBAAA;ApC+iHF;;AavqHI;EuBoIA;IAEI,iBAAA;IACA,2BAAA;EpCsiHN;EoCpiHM;IACE,mBAAA;EpCsiHR;EoCpiHQ;IACE,kBAAA;EpCsiHV;EoCniHQ;IACE,kDAAA;IACA,iDAAA;EpCqiHV;EoCjiHM;IACE,iBAAA;EpCmiHR;EoChiHM;IACE,wBAAA;IACA,gBAAA;EpCkiHR;EoC/hHM;IACE,aAAA;EpCiiHR;EoC9hHM;IAEE,gBAAA;IACA,aAAA;IACA,YAAA;IACA,sBAAA;IACA,uBAAA;IACA,8BAAA;IACA,wCAAA;IACA,oBAAA;IACA,0BAAA;If5NJ,gBe8NI;EpC8hHR;EoC3hHQ;IACE,aAAA;EpC6hHV;EoC1hHQ;IACE,aAAA;IACA,YAAA;IACA,UAAA;IACA,mBAAA;EpC4hHV;AACF;AavtHI;EuBoIA;IAEI,iBAAA;IACA,2BAAA;EpCqlHN;EoCnlHM;IACE,mBAAA;EpCqlHR;EoCnlHQ;IACE,kBAAA;EpCqlHV;EoCllHQ;IACE,kDAAA;IACA,iDAAA;EpColHV;EoChlHM;IACE,iBAAA;EpCklHR;EoC/kHM;IACE,wBAAA;IACA,gBAAA;EpCilHR;EoC9kHM;IACE,aAAA;EpCglHR;EoC7kHM;IAEE,gBAAA;IACA,aAAA;IACA,YAAA;IACA,sBAAA;IACA,uBAAA;IACA,8BAAA;IACA,wCAAA;IACA,oBAAA;IACA,0BAAA;If5NJ,gBe8NI;EpC6kHR;EoC1kHQ;IACE,aAAA;EpC4kHV;EoCzkHQ;IACE,aAAA;IACA,YAAA;IACA,UAAA;IACA,mBAAA;EpC2kHV;AACF;AatwHI;EuBoIA;IAEI,iBAAA;IACA,2BAAA;EpCooHN;EoCloHM;IACE,mBAAA;EpCooHR;EoCloHQ;IACE,kBAAA;EpCooHV;EoCjoHQ;IACE,kDAAA;IACA,iDAAA;EpCmoHV;EoC/nHM;IACE,iBAAA;EpCioHR;EoC9nHM;IACE,wBAAA;IACA,gBAAA;EpCgoHR;EoC7nHM;IACE,aAAA;EpC+nHR;EoC5nHM;IAEE,gBAAA;IACA,aAAA;IACA,YAAA;IACA,sBAAA;IACA,uBAAA;IACA,8BAAA;IACA,wCAAA;IACA,oBAAA;IACA,0BAAA;If5NJ,gBe8NI;EpC4nHR;EoCznHQ;IACE,aAAA;EpC2nHV;EoCxnHQ;IACE,aAAA;IACA,YAAA;IACA,UAAA;IACA,mBAAA;EpC0nHV;AACF;AarzHI;EuBoIA;IAEI,iBAAA;IACA,2BAAA;EpCmrHN;EoCjrHM;IACE,mBAAA;EpCmrHR;EoCjrHQ;IACE,kBAAA;EpCmrHV;EoChrHQ;IACE,kDAAA;IACA,iDAAA;EpCkrHV;EoC9qHM;IACE,iBAAA;EpCgrHR;EoC7qHM;IACE,wBAAA;IACA,gBAAA;EpC+qHR;EoC5qHM;IACE,aAAA;EpC8qHR;EoC3qHM;IAEE,gBAAA;IACA,aAAA;IACA,YAAA;IACA,sBAAA;IACA,uBAAA;IACA,8BAAA;IACA,wCAAA;IACA,oBAAA;IACA,0BAAA;If5NJ,gBe8NI;EpC2qHR;EoCxqHQ;IACE,aAAA;EpC0qHV;EoCvqHQ;IACE,aAAA;IACA,YAAA;IACA,UAAA;IACA,mBAAA;EpCyqHV;AACF;Aap2HI;EuBoIA;IAEI,iBAAA;IACA,2BAAA;EpCkuHN;EoChuHM;IACE,mBAAA;EpCkuHR;EoChuHQ;IACE,kBAAA;EpCkuHV;EoC/tHQ;IACE,kDAAA;IACA,iDAAA;EpCiuHV;EoC7tHM;IACE,iBAAA;EpC+tHR;EoC5tHM;IACE,wBAAA;IACA,gBAAA;EpC8tHR;EoC3tHM;IACE,aAAA;EpC6tHR;EoC1tHM;IAEE,gBAAA;IACA,aAAA;IACA,YAAA;IACA,sBAAA;IACA,uBAAA;IACA,8BAAA;IACA,wCAAA;IACA,oBAAA;IACA,0BAAA;If5NJ,gBe8NI;EpC0tHR;EoCvtHQ;IACE,aAAA;EpCytHV;EoCttHQ;IACE,aAAA;IACA,YAAA;IACA,UAAA;IACA,mBAAA;EpCwtHV;AACF;AoC/wHI;EAEI,iBAAA;EACA,2BAAA;ApCgxHR;AoC9wHQ;EACE,mBAAA;ApCgxHV;AoC9wHU;EACE,kBAAA;ApCgxHZ;AoC7wHU;EACE,kDAAA;EACA,iDAAA;ApC+wHZ;AoC3wHQ;EACE,iBAAA;ApC6wHV;AoC1wHQ;EACE,wBAAA;EACA,gBAAA;ApC4wHV;AoCzwHQ;EACE,aAAA;ApC2wHV;AoCxwHQ;EAEE,gBAAA;EACA,aAAA;EACA,YAAA;EACA,sBAAA;EACA,uBAAA;EACA,8BAAA;EACA,wCAAA;EACA,oBAAA;EACA,0BAAA;Ef5NJ,gBe8NI;ApCwwHV;AoCrwHU;EACE,aAAA;ApCuwHZ;AoCpwHU;EACE,aAAA;EACA,YAAA;EACA,UAAA;EACA,mBAAA;ApCswHZ;;AoCrvHA;EAEE,4CAAA;EACA,kDAAA;EACA,qDAAA;EACA,8BAAA;EACA,6BAAA;EACA,mCAAA;EACA,0DAAA;EACA,8QAAA;ApCuvHF;;AqCtgIA;EAEE,wBAAA;EACA,wBAAA;EACA,gCAAA;EACA,2BAAA;EACA,0DAAA;EACA,iCAAA;EACA,sBAAA;EACA,mDAAA;EACA,+BAAA;EACA,6BAAA;EACA,qCAAA;EACA,qBAAA;EACA,kBAAA;EACA,iBAAA;EACA,kBAAA;EACA,mCAAA;EACA,+BAAA;EAGA,kBAAA;EACA,aAAA;EACA,sBAAA;EACA,YAAA;EACA,6BAAA;EACA,qBAAA;EACA,mCAAA;EACA,2BAAA;EACA,qEAAA;E/BdE,2CAAA;ANqhIJ;AqCngIE;EACE,eAAA;EACA,cAAA;ArCqgIJ;AqClgIE;EACE,mBAAA;EACA,sBAAA;ArCogIJ;AqClgII;EACE,mBAAA;E/BnBF,0DAAA;EACA,2DAAA;ANwhIJ;AqClgII;EACE,sBAAA;E/BVF,8DAAA;EACA,6DAAA;AN+gIJ;AqC//HE;;EAEE,aAAA;ArCigIJ;;AqC7/HA;EAGE,cAAA;EACA,wDAAA;EACA,2BAAA;ArC8/HF;;AqC3/HA;EACE,4CAAA;ArC8/HF;;AqC3/HA;EACE,sDAAA;EACA,gBAAA;ArC8/HF;;AqC3/HA;EACE,gBAAA;ArC8/HF;;AqCt/HE;EACE,oCAAA;ArCy/HJ;;AqCj/HA;EACE,kEAAA;EACA,gBAAA;EACA,+BAAA;EACA,uCAAA;EACA,4EAAA;ArCo/HF;AqCl/HE;E/BxFE,wFAAA;AN6kIJ;;AqCh/HA;EACE,kEAAA;EACA,+BAAA;EACA,uCAAA;EACA,yEAAA;ArCm/HF;AqCj/HE;E/BnGE,wFAAA;ANulIJ;;AqC1+HA;EACE,uDAAA;EACA,sDAAA;EACA,sDAAA;EACA,gBAAA;ArC6+HF;AqC3+HE;EACE,mCAAA;EACA,sCAAA;ArC6+HJ;;AqCz+HA;EACE,uDAAA;EACA,sDAAA;ArC4+HF;;AqCx+HA;EACE,kBAAA;EACA,MAAA;EACA,QAAA;EACA,SAAA;EACA,OAAA;EACA,2CAAA;E/BrIE,iDAAA;ANinIJ;;AqCx+HA;;;EAGE,WAAA;ArC2+HF;;AqCx+HA;;E/BtII,0DAAA;EACA,2DAAA;ANmnIJ;;AqCz+HA;;E/B7HI,8DAAA;EACA,6DAAA;AN2mIJ;;AqCl+HE;EACE,0CAAA;ArCq+HJ;Aa3lII;EwBkHJ;IAQI,aAAA;IACA,mBAAA;ErCq+HF;EqCl+HE;IAEE,YAAA;IACA,gBAAA;ErCm+HJ;EqCj+HI;IACE,cAAA;IACA,cAAA;ErCm+HN;EqC99HM;I/BtKJ,0BAAA;IACA,6BAAA;ENuoIF;EqC/9HQ;;IAGE,0BAAA;ErCg+HV;EqC99HQ;;IAGE,6BAAA;ErC+9HV;EqC39HM;I/BvKJ,yBAAA;IACA,4BAAA;ENqoIF;EqC59HQ;;IAGE,yBAAA;ErC69HV;EqC39HQ;;IAGE,4BAAA;ErC49HV;AACF;;AsC5rIA;EAEE,6BAAA;EACA,uBAAA;EACA,8KAAA;EACA,mDAAA;EACA,gCAAA;EACA,sCAAA;EACA,wDAAA;EACA,qCAAA;EACA,kCAAA;EACA,iCAAA;EACA,6CAAA;EACA,wSAAA;EACA,sCAAA;EACA,kDAAA;EACA,8DAAA;EACA,+SAAA;EACA,8CAAA;EACA,2EAAA;EACA,sCAAA;EACA,mCAAA;EACA,oCAAA;EACA,iCAAA;AtC8rIF;;AsC1rIA;EACE,kBAAA;EACA,aAAA;EACA,mBAAA;EACA,WAAA;EACA,4EAAA;EnCiQI,eALI;EmC1PR,oCAAA;EACA,gBAAA;EACA,4CAAA;EACA,SAAA;EhCtBE,gBAAA;EgCwBF,qBAAA;EjB3BI,0CiB4BJ;AtC6rIF;AqBrtIM;EiBWN;IjBVQ,gBAAA;ErBwtIN;AACF;AsChsIE;EACE,uCAAA;EACA,+CAAA;EACA,kGAAA;AtCksIJ;AsChsII;EACE,qDAAA;EACA,iDAAA;AtCksIN;AsC7rIE;EACE,cAAA;EACA,yCAAA;EACA,0CAAA;EACA,iBAAA;EACA,WAAA;EACA,8CAAA;EACA,4BAAA;EACA,mDAAA;EjBlDE,mDiBmDF;AtC+rIJ;AqB9uIM;EiBsCJ;IjBrCM,gBAAA;ErBivIN;AACF;AsCjsIE;EACE,UAAA;AtCmsIJ;AsChsIE;EACE,UAAA;EACA,wDAAA;EACA,UAAA;EACA,oDAAA;AtCksIJ;;AsC9rIA;EACE,gBAAA;AtCisIF;;AsC9rIA;EACE,gCAAA;EACA,wCAAA;EACA,+EAAA;AtCisIF;AsC/rIE;EhC/DE,yDAAA;EACA,0DAAA;ANiwIJ;AsChsII;EhClEA,+DAAA;EACA,gEAAA;ANqwIJ;AsC/rIE;EACE,aAAA;AtCisIJ;AsC7rIE;EhC9DE,6DAAA;EACA,4DAAA;AN8vIJ;AsC7rIM;EhClEF,mEAAA;EACA,kEAAA;ANkwIJ;AsC5rII;EhCvEA,6DAAA;EACA,4DAAA;ANswIJ;;AsC1rIA;EACE,8EAAA;AtC6rIF;;AsCprIE;EACE,eAAA;AtCurIJ;AsCprIE;EACE,eAAA;EACA,cAAA;EhCpHA,gBAAA;AN2yIJ;AsCprII;EAAgB,aAAA;AtCurIpB;AsCtrII;EAAe,gBAAA;AtCyrInB;AsCtrIM;EhC3HF,gBAAA;ANozIJ;;AuCv0IA;EAEE,4BAAA;EACA,4BAAA;EACA,mCAAA;EAEA,oBAAA;EACA,+BAAA;EACA,sCAAA;EACA,sCAAA;EACA,0CAAA;EAGA,aAAA;EACA,eAAA;EACA,sEAAA;EACA,iDAAA;EpCqRI,yCALI;EoC9QR,gBAAA;EACA,yCAAA;EjCAE,iDAAA;ANu0IJ;;AuCj0IE;EACE,iDAAA;AvCo0IJ;AuCl0II;EACE,WAAA;EACA,kDAAA;EACA,yCAAA;EACA,uFAAA;AvCo0IN;AuCh0IE;EACE,6CAAA;AvCk0IJ;;AwCv2IA;EAEE,kCAAA;EACA,mCAAA;ErCkSI,+BALI;EqC3RR,2CAAA;EACA,wBAAA;EACA,iCAAA;EACA,qCAAA;EACA,uCAAA;EACA,uDAAA;EACA,iCAAA;EACA,2CAAA;EACA,uDAAA;EACA,iCAAA;EACA,wEAAA;EACA,kCAAA;EACA,kCAAA;EACA,4CAAA;EACA,uCAAA;EACA,iCAAA;EACA,8CAAA;EAGA,aAAA;EhCpBA,eAAA;EACA,gBAAA;AR43IF;;AwCr2IA;EACE,kBAAA;EACA,cAAA;EACA,sEAAA;ErCsQI,yCALI;EqC/PR,iCAAA;EACA,qBAAA;EACA,yCAAA;EACA,iFAAA;EnBpBI,qImBqBJ;AxCw2IF;AqBz3IM;EmBQN;InBPQ,gBAAA;ErB43IN;AACF;AwC32IE;EACE,UAAA;EACA,uCAAA;EAEA,+CAAA;EACA,qDAAA;AxC42IJ;AwCz2IE;EACE,UAAA;EACA,uCAAA;EACA,+CAAA;EACA,UnCgoCgC;EmC/nChC,iDAAA;AxC22IJ;AwCx2IE;EAEE,UAAA;EACA,wCAAA;ElBtDF,gDkBuDuB;EACrB,sDAAA;AxCy2IJ;AwCt2IE;EAEE,0CAAA;EACA,oBAAA;EACA,kDAAA;EACA,wDAAA;AxCu2IJ;;AwCl2IE;EACE,iBnCmmCgC;ALkwGpC;AwCh2IM;ElC9BF,0DAAA;EACA,6DAAA;ANi4IJ;AwC91IM;ElClDF,2DAAA;EACA,8DAAA;ANm5IJ;;AwCj1IA;EClGE,iCAAA;EACA,kCAAA;EtCgSI,kCALI;EsCzRR,qCAAA;AzCu7IF;;AwCp1IA;ECtGE,iCAAA;EACA,kCAAA;EtCgSI,mCALI;EsCzRR,sCAAA;AzC87IF;;A0Ch8IA;EAEE,4BAAA;EACA,4BAAA;EvC6RI,4BALI;EuCtRR,2BAAA;EACA,sBAAA;EACA,kCAAA;EAGA,qBAAA;EACA,4DAAA;EvCqRI,oCALI;EuC9QR,wCAAA;EACA,cAAA;EACA,4BAAA;EACA,kBAAA;EACA,mBAAA;EACA,wBAAA;EpCJE,4CAAA;ANq8IJ;A0C57IE;EACE,aAAA;A1C87IJ;;A0Cz7IA;EACE,kBAAA;EACA,SAAA;A1C47IF;;A2C59IA;EAEE,0BAAA;EACA,0BAAA;EACA,0BAAA;EACA,8BAAA;EACA,yBAAA;EACA,oCAAA;EACA,yDAAA;EACA,kCAAA;EAGA,kBAAA;EACA,4DAAA;EACA,4CAAA;EACA,4BAAA;EACA,oCAAA;EACA,8BAAA;ErCFE,4CAAA;AN+9IJ;;A2Cx9IA;EAEE,cAAA;A3C09IF;;A2Ct9IA;EACE,gBtC8gB4B;AL28H9B;;A2Cj9IA;EACE,mBtC43C8B;ALwlGhC;A2Cj9IE;EACE,kBAAA;EACA,MAAA;EACA,QAAA;EACA,UAAA;EACA,qBAAA;A3Cm9IJ;;A2Cn8IE;EChEA,yBAAA;EACA,sBAAA;EACA,gCAAA;A5CugJF;A4CjgJE;EACE,cAAA;A5CmgJJ;;A2C58IE;EChEA,yBAAA;EACA,sBAAA;EACA,gCAAA;A5CghJF;A4C1gJE;EACE,cAAA;A5C4gJJ;;A2Cr9IE;EChEA,yBAAA;EACA,sBAAA;EACA,gCAAA;A5CyhJF;A4CnhJE;EACE,cAAA;A5CqhJJ;;A2C99IE;EChEA,yBAAA;EACA,sBAAA;EACA,gCAAA;A5CkiJF;A4C5hJE;EACE,cAAA;A5C8hJJ;;A2Cv+IE;EChEA,yBAAA;EACA,sBAAA;EACA,gCAAA;A5C2iJF;A4CriJE;EACE,cAAA;A5CuiJJ;;A2Ch/IE;EChEA,yBAAA;EACA,sBAAA;EACA,gCAAA;A5CojJF;A4C9iJE;EACE,cAAA;A5CgjJJ;;A2Cz/IE;EChEA,yBAAA;EACA,sBAAA;EACA,gCAAA;A5C6jJF;A4CvjJE;EACE,cAAA;A5CyjJJ;;A2ClgJE;EChEA,yBAAA;EACA,sBAAA;EACA,gCAAA;A5CskJF;A4ChkJE;EACE,cAAA;A5CkkJJ;;A6CzkJE;EACE;IAAK,2BxCw6C2B;ELqqGlC;AACF;A6CzkJA;EAEE,0BAAA;E1CyRI,gCALI;E0ClRR,yBAAA;EACA,qCAAA;EACA,8DAAA;EACA,6BAAA;EACA,6BAAA;EACA,6CAAA;EAGA,aAAA;EACA,iCAAA;EACA,gBAAA;E1C6QI,uCALI;E0CtQR,uCAAA;EvCPE,+CAAA;ANglJJ;;A6CpkJA;EACE,aAAA;EACA,sBAAA;EACA,uBAAA;EACA,gBAAA;EACA,mCAAA;EACA,kBAAA;EACA,mBAAA;EACA,2CAAA;ExBvBI,6CwBwBJ;A7CukJF;AqB3lJM;EwBWN;IxBVQ,gBAAA;ErB8lJN;AACF;;A6CzkJA;EvBCE,qMAAA;EuBCA,oEAAA;A7C4kJF;;A6CxkJE;EACE,kDAAA;A7C2kJJ;A6CxkJM;EAJJ;IAKM,eAAA;E7C2kJN;AACF;;A8C9nJA;EAEE,8BAAA;EACA,wBAAA;EACA,kDAAA;EACA,iCAAA;EACA,uCAAA;EACA,oCAAA;EACA,sCAAA;EACA,qCAAA;EACA,2CAAA;EACA,wCAAA;EACA,4CAAA;EACA,yCAAA;EACA,uCAAA;EACA,iCAAA;EACA,kCAAA;EACA,kCAAA;EACA,4CAAA;EAGA,aAAA;EACA,sBAAA;EAGA,eAAA;EACA,gBAAA;ExCXE,iDAAA;ANwoJJ;;A8CznJA;EACE,qBAAA;EACA,sBAAA;A9C4nJF;A8C1nJE;EAEE,oCAAA;EACA,0BAAA;A9C2nJJ;;A8ClnJA;EACE,WAAA;EACA,wCAAA;EACA,mBAAA;A9CqnJF;A8ClnJE;EAEE,UAAA;EACA,8CAAA;EACA,qBAAA;EACA,sDAAA;A9CmnJJ;A8ChnJE;EACE,+CAAA;EACA,uDAAA;A9CknJJ;;A8C1mJA;EACE,kBAAA;EACA,cAAA;EACA,gFAAA;EACA,iCAAA;EACA,qBAAA;EACA,yCAAA;EACA,iFAAA;A9C6mJF;A8C3mJE;ExCvDE,+BAAA;EACA,gCAAA;ANqqJJ;A8C3mJE;ExC7CE,mCAAA;EACA,kCAAA;AN2pJJ;A8C3mJE;EAEE,0CAAA;EACA,oBAAA;EACA,kDAAA;A9C4mJJ;A8CxmJE;EACE,UAAA;EACA,wCAAA;EACA,gDAAA;EACA,sDAAA;A9C0mJJ;A8CtmJE;EACE,mBAAA;A9CwmJJ;A8CtmJI;EACE,wDAAA;EACA,mDAAA;A9CwmJN;;A8C3lJI;EACE,mBAAA;A9C8lJN;A8C3lJQ;ExCvDJ,6DAAA;EAZA,0BAAA;ANkqJJ;A8C1lJQ;ExCxEJ,2DAAA;EAYA,4BAAA;AN0pJJ;A8CzlJQ;EACE,aAAA;A9C2lJV;A8CxlJQ;EACE,mDAAA;EACA,oBAAA;A9C0lJV;A8CxlJU;EACE,yDAAA;EACA,oDAAA;A9C0lJZ;;AahrJI;EiC8DA;IACE,mBAAA;E9CsnJJ;E8CnnJM;IxCvDJ,6DAAA;IAZA,0BAAA;EN0rJF;E8ClnJM;IxCxEJ,2DAAA;IAYA,4BAAA;ENkrJF;E8CjnJM;IACE,aAAA;E9CmnJR;E8ChnJM;IACE,mDAAA;IACA,oBAAA;E9CknJR;E8ChnJQ;IACE,yDAAA;IACA,oDAAA;E9CknJV;AACF;AazsJI;EiC8DA;IACE,mBAAA;E9C8oJJ;E8C3oJM;IxCvDJ,6DAAA;IAZA,0BAAA;ENktJF;E8C1oJM;IxCxEJ,2DAAA;IAYA,4BAAA;EN0sJF;E8CzoJM;IACE,aAAA;E9C2oJR;E8CxoJM;IACE,mDAAA;IACA,oBAAA;E9C0oJR;E8CxoJQ;IACE,yDAAA;IACA,oDAAA;E9C0oJV;AACF;AajuJI;EiC8DA;IACE,mBAAA;E9CsqJJ;E8CnqJM;IxCvDJ,6DAAA;IAZA,0BAAA;EN0uJF;E8ClqJM;IxCxEJ,2DAAA;IAYA,4BAAA;ENkuJF;E8CjqJM;IACE,aAAA;E9CmqJR;E8ChqJM;IACE,mDAAA;IACA,oBAAA;E9CkqJR;E8ChqJQ;IACE,yDAAA;IACA,oDAAA;E9CkqJV;AACF;AazvJI;EiC8DA;IACE,mBAAA;E9C8rJJ;E8C3rJM;IxCvDJ,6DAAA;IAZA,0BAAA;ENkwJF;E8C1rJM;IxCxEJ,2DAAA;IAYA,4BAAA;EN0vJF;E8CzrJM;IACE,aAAA;E9C2rJR;E8CxrJM;IACE,mDAAA;IACA,oBAAA;E9C0rJR;E8CxrJQ;IACE,yDAAA;IACA,oDAAA;E9C0rJV;AACF;AajxJI;EiC8DA;IACE,mBAAA;E9CstJJ;E8CntJM;IxCvDJ,6DAAA;IAZA,0BAAA;EN0xJF;E8CltJM;IxCxEJ,2DAAA;IAYA,4BAAA;ENkxJF;E8CjtJM;IACE,aAAA;E9CmtJR;E8ChtJM;IACE,mDAAA;IACA,oBAAA;E9CktJR;E8ChtJQ;IACE,yDAAA;IACA,oDAAA;E9CktJV;AACF;A8CrsJA;ExChJI,gBAAA;ANw1JJ;A8CrsJE;EACE,mDAAA;A9CusJJ;A8CrsJI;EACE,sBAAA;A9CusJN;;A+C72JE;EACE,cDmLyB;EClLzB,yBDiLsB;A9C+rJ1B;A+C72JM;EAEE,cD6KqB;EC5KrB,yBAAA;A/C82JR;A+C32JM;EACE,W1CRG;E0CSH,yBDuKqB;ECtKrB,qBDsKqB;A9CusJ7B;;A+C33JE;EACE,cDmLyB;EClLzB,yBDiLsB;A9C6sJ1B;A+C33JM;EAEE,cD6KqB;EC5KrB,yBAAA;A/C43JR;A+Cz3JM;EACE,W1CRG;E0CSH,yBDuKqB;ECtKrB,qBDsKqB;A9CqtJ7B;;A+Cz4JE;EACE,cDmLyB;EClLzB,yBDiLsB;A9C2tJ1B;A+Cz4JM;EAEE,cD6KqB;EC5KrB,yBAAA;A/C04JR;A+Cv4JM;EACE,W1CRG;E0CSH,yBDuKqB;ECtKrB,qBDsKqB;A9CmuJ7B;;A+Cv5JE;EACE,cDqL2B;ECpL3B,yBDiLsB;A9CyuJ1B;A+Cv5JM;EAEE,cD+KuB;EC9KvB,yBAAA;A/Cw5JR;A+Cr5JM;EACE,W1CRG;E0CSH,yBDyKuB;ECxKvB,qBDwKuB;A9C+uJ/B;;A+Cr6JE;EACE,cDqL2B;ECpL3B,yBDiLsB;A9CuvJ1B;A+Cr6JM;EAEE,cD+KuB;EC9KvB,yBAAA;A/Cs6JR;A+Cn6JM;EACE,W1CRG;E0CSH,yBDyKuB;ECxKvB,qBDwKuB;A9C6vJ/B;;A+Cn7JE;EACE,cDmLyB;EClLzB,yBDiLsB;A9CqwJ1B;A+Cn7JM;EAEE,cD6KqB;EC5KrB,yBAAA;A/Co7JR;A+Cj7JM;EACE,W1CRG;E0CSH,yBDuKqB;ECtKrB,qBDsKqB;A9C6wJ7B;;A+Cj8JE;EACE,cDqL2B;ECpL3B,yBDiLsB;A9CmxJ1B;A+Cj8JM;EAEE,cD+KuB;EC9KvB,yBAAA;A/Ck8JR;A+C/7JM;EACE,W1CRG;E0CSH,yBDyKuB;ECxKvB,qBDwKuB;A9CyxJ/B;;A+C/8JE;EACE,cDmLyB;EClLzB,yBDiLsB;A9CiyJ1B;A+C/8JM;EAEE,cD6KqB;EC5KrB,yBAAA;A/Cg9JR;A+C78JM;EACE,W1CRG;E0CSH,yBDuKqB;ECtKrB,qBDsKqB;A9CyyJ7B;;AgD59JA;EACE,uBAAA;EACA,U3C6iD2B;E2C5iD3B,W3C4iD2B;E2C3iD3B,sBAAA;EACA,W3CQS;E2CPT,mXAAA;EACA,SAAA;E1COE,uBAAA;E0CLF,Y3C6iD2B;ALk7G7B;AgD59JE;EACE,WAAA;EACA,qBAAA;EACA,a3CwiDyB;ALs7G7B;AgD39JE;EACE,UAAA;EACA,kD3C8rB4B;E2C7rB5B,U3CmiDyB;AL07G7B;AgD19JE;EAEE,oBAAA;EACA,yBAAA;EAAA,sBAAA;EAAA,iBAAA;EACA,a3C6hDyB;AL87G7B;;AgDv9JA;EACE,kD3CyhD2B;ALi8G7B;;AiDhgKA;EAEE,uBAAA;EACA,6BAAA;EACA,4BAAA;EACA,0BAAA;EACA,2BAAA;E9C+RI,8BALI;E8CxRR,kBAAA;EACA,wCAAA;EACA,4BAAA;EACA,2DAAA;EACA,kCAAA;EACA,wDAAA;EACA,gCAAA;EACA,+CAAA;EACA,mDAAA;EAGA,gCAAA;EACA,eAAA;E9CiRI,oCALI;E8C1QR,4BAAA;EACA,oBAAA;EACA,oCAAA;EACA,4BAAA;EACA,uEAAA;EACA,sCAAA;E3CRE,4CAAA;ANygKJ;AiD9/JE;EACE,UAAA;AjDggKJ;AiD7/JE;EACE,aAAA;AjD+/JJ;;AiD3/JA;EACE,uBAAA;EAEA,kBAAA;EACA,+BAAA;EACA,0BAAA;EAAA,uBAAA;EAAA,kBAAA;EACA,eAAA;EACA,oBAAA;AjD6/JF;AiD3/JE;EACE,sCAAA;AjD6/JJ;;AiDz/JA;EACE,aAAA;EACA,mBAAA;EACA,4DAAA;EACA,mCAAA;EACA,2CAAA;EACA,4BAAA;EACA,qFAAA;E3ChCE,0FAAA;EACA,2FAAA;AN6hKJ;AiD3/JE;EACE,oDAAA;EACA,sCAAA;AjD6/JJ;;AiDz/JA;EACE,kCAAA;EACA,qBAAA;AjD4/JF;;AkD1jKA;EAEE,uBAAA;EACA,uBAAA;EACA,wBAAA;EACA,yBAAA;EACA,kBAAA;EACA,mBAAA;EACA,2DAAA;EACA,4BAAA;EACA,gCAAA;EACA,8DAAA;EACA,kDAAA;EACA,iCAAA;EACA,iCAAA;EACA,oCAAA;EACA,sDAAA;EACA,mCAAA;EACA,iCAAA;EACA,6BAAA;EACA,sBAAA;EACA,sDAAA;EACA,mCAAA;EAGA,eAAA;EACA,MAAA;EACA,OAAA;EACA,+BAAA;EACA,aAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;EACA,gBAAA;EAGA,UAAA;AlDwjKF;;AkDjjKA;EACE,kBAAA;EACA,WAAA;EACA,8BAAA;EAEA,oBAAA;AlDmjKF;AkDhjKE;E7B5CI,mC6B6CF;EACA,8B7Cm1CgC;AL+tHpC;AqB5lKM;E6BwCJ;I7BvCM,gBAAA;ErB+lKN;AACF;AkDrjKE;EACE,e7Ci1CgC;ALsuHpC;AkDnjKE;EACE,sB7C80CgC;ALuuHpC;;AkDjjKA;EACE,+CAAA;AlDojKF;AkDljKE;EACE,gBAAA;EACA,gBAAA;AlDojKJ;AkDjjKE;EACE,gBAAA;AlDmjKJ;;AkD/iKA;EACE,aAAA;EACA,mBAAA;EACA,mDAAA;AlDkjKF;;AkD9iKA;EACE,kBAAA;EACA,aAAA;EACA,sBAAA;EACA,WAAA;EAEA,4BAAA;EACA,oBAAA;EACA,oCAAA;EACA,4BAAA;EACA,uEAAA;E5CrFE,4CAAA;E4CyFF,UAAA;AlD8iKF;;AkD1iKA;EAEE,0BAAA;EACA,sBAAA;EACA,0BAAA;EClHA,eAAA;EACA,MAAA;EACA,OAAA;EACA,kCDkH0B;ECjH1B,YAAA;EACA,aAAA;EACA,uCD+G4D;AlDgjK9D;AmD5pKE;EAAS,UAAA;AnD+pKX;AmD9pKE;EAAS,mCD2GiF;AlDsjK5F;;AkDjjKA;EACE,aAAA;EACA,cAAA;EACA,mBAAA;EACA,8BAAA;EACA,uCAAA;EACA,4FAAA;E5CtGE,2DAAA;EACA,4DAAA;AN2pKJ;AkDnjKE;EACE,kGAAA;EACA,sJAAA;AlDqjKJ;;AkDhjKA;EACE,gBAAA;EACA,8CAAA;AlDmjKF;;AkD9iKA;EACE,kBAAA;EAGA,cAAA;EACA,gCAAA;AlD+iKF;;AkD3iKA;EACE,aAAA;EACA,cAAA;EACA,eAAA;EACA,mBAAA;EACA,yBAAA;EACA,yEAAA;EACA,2CAAA;EACA,yFAAA;E5C1HE,+DAAA;EACA,8DAAA;ANyqKJ;AkD1iKE;EACE,8CAAA;AlD4iKJ;;AaxpKI;EqCkHF;IACE,0BAAA;IACA,wDAAA;ElD0iKF;EkDtiKA;IACE,gCAAA;IACA,kBAAA;IACA,iBAAA;ElDwiKF;EkDriKA;IACE,uBAAA;ElDuiKF;AACF;AavqKI;EqCoIF;;IAEE,uBAAA;ElDsiKF;AACF;Aa7qKI;EqC2IF;IACE,wBAAA;ElDqiKF;AACF;AkD5hKI;EACE,YAAA;EACA,eAAA;EACA,YAAA;EACA,SAAA;AlD8hKN;AkD5hKM;EACE,YAAA;EACA,SAAA;E5C1MJ,gBAAA;ANyuKJ;AkD3hKM;;E5C9MF,gBAAA;AN6uKJ;AkD1hKM;EACE,gBAAA;AlD4hKR;;AavrKI;EqCyIA;IACE,YAAA;IACA,eAAA;IACA,YAAA;IACA,SAAA;ElDkjKJ;EkDhjKI;IACE,YAAA;IACA,SAAA;I5C1MJ,gBAAA;EN6vKF;EkD/iKI;;I5C9MF,gBAAA;ENiwKF;EkD9iKI;IACE,gBAAA;ElDgjKN;AACF;Aa5sKI;EqCyIA;IACE,YAAA;IACA,eAAA;IACA,YAAA;IACA,SAAA;ElDskKJ;EkDpkKI;IACE,YAAA;IACA,SAAA;I5C1MJ,gBAAA;ENixKF;EkDnkKI;;I5C9MF,gBAAA;ENqxKF;EkDlkKI;IACE,gBAAA;ElDokKN;AACF;AahuKI;EqCyIA;IACE,YAAA;IACA,eAAA;IACA,YAAA;IACA,SAAA;ElD0lKJ;EkDxlKI;IACE,YAAA;IACA,SAAA;I5C1MJ,gBAAA;ENqyKF;EkDvlKI;;I5C9MF,gBAAA;ENyyKF;EkDtlKI;IACE,gBAAA;ElDwlKN;AACF;AapvKI;EqCyIA;IACE,YAAA;IACA,eAAA;IACA,YAAA;IACA,SAAA;ElD8mKJ;EkD5mKI;IACE,YAAA;IACA,SAAA;I5C1MJ,gBAAA;ENyzKF;EkD3mKI;;I5C9MF,gBAAA;EN6zKF;EkD1mKI;IACE,gBAAA;ElD4mKN;AACF;AaxwKI;EqCyIA;IACE,YAAA;IACA,eAAA;IACA,YAAA;IACA,SAAA;ElDkoKJ;EkDhoKI;IACE,YAAA;IACA,SAAA;I5C1MJ,gBAAA;EN60KF;EkD/nKI;;I5C9MF,gBAAA;ENi1KF;EkD9nKI;IACE,gBAAA;ElDgoKN;AACF;AoDv2KA;EAEE,yBAAA;EACA,6BAAA;EACA,8BAAA;EACA,+BAAA;EACA,qBAAA;EjD8RI,gCALI;EiDvRR,wBAAA;EACA,qBAAA;EACA,oCAAA;EACA,yBAAA;EACA,gCAAA;EACA,iCAAA;EAGA,iCAAA;EACA,cAAA;EACA,uCAAA;EACA,gCAAA;ECnBA,sChDgiB4B;EgD9hB5B,kBAAA;EACA,gBhDyiB4B;EgDxiB5B,gBhD+iB4B;EgD9iB5B,gBAAA;EACA,iBAAA;EACA,qBAAA;EACA,iBAAA;EACA,oBAAA;EACA,sBAAA;EACA,kBAAA;EACA,mBAAA;EACA,oBAAA;EACA,gBAAA;ElDsRI,sCALI;EiDrQR,qBAAA;EACA,UAAA;ApD+2KF;AoD72KE;EAAS,kCAAA;ApDg3KX;AoD92KE;EACE,cAAA;EACA,oCAAA;EACA,sCAAA;ApDg3KJ;AoD92KI;EACE,kBAAA;EACA,WAAA;EACA,yBAAA;EACA,mBAAA;ApDg3KN;;AoD32KA;EACE,SAAA;ApD82KF;AoD52KE;EACE,SAAA;EACA,wFAAA;EACA,sCAAA;ApD82KJ;;AoD12KA,qBAAA;AACA;EACE,OAAA;EACA,qCAAA;EACA,qCAAA;ApD62KF;AoD32KE;EACE,WAAA;EACA,kIAAA;EACA,wCAAA;ApD62KJ;;AoDz2KA,mBAAA;AAEA;EACE,MAAA;ApD22KF;AoDz2KE;EACE,YAAA;EACA,wFAAA;EACA,yCAAA;ApD22KJ;;AoDv2KA,qBAAA;AACA;EACE,QAAA;EACA,qCAAA;EACA,qCAAA;ApD02KF;AoDx2KE;EACE,UAAA;EACA,kIAAA;EACA,uCAAA;ApD02KJ;;AoDt2KA,mBAAA;AAkBA;EACE,sCAAA;EACA,gEAAA;EACA,8BAAA;EACA,kBAAA;EACA,sCAAA;E9ClGE,8CAAA;AN27KJ;;AsD98KA;EAEE,yBAAA;EACA,6BAAA;EnDkSI,gCALI;EmD3RR,qBAAA;EACA,8BAAA;EACA,6DAAA;EACA,kCAAA;EACA,oDAAA;EACA,0DAAA;EACA,mCAAA;EACA,qCAAA;EnDyRI,mCALI;EmDlRR,2BAAA;EACA,+BAAA;EACA,iCAAA;EACA,iCAAA;EACA,gCAAA;EACA,8BAAA;EACA,iCAAA;EACA,yDAAA;EAGA,iCAAA;EACA,cAAA;EACA,sCAAA;EDzBA,sChDgiB4B;EgD9hB5B,kBAAA;EACA,gBhDyiB4B;EgDxiB5B,gBhD+iB4B;EgD9iB5B,gBAAA;EACA,iBAAA;EACA,qBAAA;EACA,iBAAA;EACA,oBAAA;EACA,sBAAA;EACA,kBAAA;EACA,mBAAA;EACA,oBAAA;EACA,gBAAA;ElDsRI,sCALI;EmDhQR,qBAAA;EACA,sCAAA;EACA,4BAAA;EACA,2EAAA;EhDhBE,8CAAA;ANy+KJ;AsDr9KE;EACE,cAAA;EACA,oCAAA;EACA,sCAAA;AtDu9KJ;AsDr9KI;EAEE,kBAAA;EACA,cAAA;EACA,WAAA;EACA,yBAAA;EACA,mBAAA;EACA,eAAA;AtDs9KN;;AsDh9KE;EACE,oFAAA;AtDm9KJ;AsDj9KI;EAEE,wFAAA;AtDk9KN;AsD/8KI;EACE,SAAA;EACA,gDAAA;AtDi9KN;AsD98KI;EACE,sCAAA;EACA,sCAAA;AtDg9KN;;AsD38KA,qBAAA;AAEE;EACE,kFAAA;EACA,qCAAA;EACA,qCAAA;AtD68KJ;AsD38KI;EAEE,kIAAA;AtD48KN;AsDz8KI;EACE,OAAA;EACA,kDAAA;AtD28KN;AsDx8KI;EACE,oCAAA;EACA,wCAAA;AtD08KN;;AsDr8KA,mBAAA;AAGE;EACE,iFAAA;AtDs8KJ;AsDp8KI;EAEE,wFAAA;AtDq8KN;AsDl8KI;EACE,MAAA;EACA,mDAAA;AtDo8KN;AsDj8KI;EACE,mCAAA;EACA,yCAAA;AtDm8KN;AsD97KE;EACE,kBAAA;EACA,MAAA;EACA,SAAA;EACA,cAAA;EACA,oCAAA;EACA,uDAAA;EACA,WAAA;EACA,+EAAA;AtDg8KJ;;AsD57KA,qBAAA;AAEE;EACE,mFAAA;EACA,qCAAA;EACA,qCAAA;AtD87KJ;AsD57KI;EAEE,kIAAA;AtD67KN;AsD17KI;EACE,QAAA;EACA,iDAAA;AtD47KN;AsDz7KI;EACE,qCAAA;EACA,uCAAA;AtD27KN;;AsDt7KA,mBAAA;AAkBA;EACE,8EAAA;EACA,gBAAA;EnDiHI,6CALI;EmD1GR,qCAAA;EACA,6CAAA;EACA,kFAAA;EhD5JE,6DAAA;EACA,8DAAA;ANqkLJ;AsDv6KE;EACE,aAAA;AtDy6KJ;;AsDr6KA;EACE,0EAAA;EACA,mCAAA;AtDw6KF;;AuD7lLA;EACE,kBAAA;AvDgmLF;;AuD7lLA;EACE,mBAAA;AvDgmLF;;AuD7lLA;EACE,kBAAA;EACA,WAAA;EACA,gBAAA;AvDgmLF;AwDtnLE;EACE,cAAA;EACA,WAAA;EACA,WAAA;AxDwnLJ;;AuDjmLA;EACE,kBAAA;EACA,aAAA;EACA,WAAA;EACA,WAAA;EACA,mBAAA;EACA,mCAAA;EAAA,2BAAA;ElClBI,sCkCmBJ;AvDomLF;AqBnnLM;EkCQN;IlCPQ,gBAAA;ErBsnLN;AACF;;AuDtmLA;;;EAGE,cAAA;AvDymLF;;AuDtmLA,qBAAA;AACA;;EAEE,2BAAA;AvDymLF;;AuDtmLA;;EAEE,4BAAA;AvDymLF;;AuDtmLA,mBAAA;AAQE;EACE,UAAA;EACA,4BAAA;EACA,eAAA;AvDkmLJ;AuD/lLE;;;EAGE,UAAA;EACA,UAAA;AvDimLJ;AuD9lLE;;EAEE,UAAA;EACA,UAAA;ElC/DE,2BkCgEF;AvDgmLJ;AqB5pLM;EkCwDJ;;IlCvDM,gBAAA;ErBgqLN;AACF;;AuD7lLA;;EAEE,kBAAA;EACA,MAAA;EACA,SAAA;EACA,UAAA;EAEA,aAAA;EACA,mBAAA;EACA,uBAAA;EACA,UlD45CmC;EkD35CnC,UAAA;EACA,WlD7FS;EkD8FT,kBAAA;EACA,gBAAA;EACA,SAAA;EACA,YlDu5CmC;EgBh/C/B,8BkC0FJ;AvD+lLF;AqBrrLM;EkCqEN;;IlCpEQ,gBAAA;ErByrLN;AACF;AuDlmLE;;;EAEE,WlDvGO;EkDwGP,qBAAA;EACA,UAAA;EACA,YlD+4CiC;ALstIrC;;AuDlmLA;EACE,OAAA;AvDqmLF;;AuDlmLA;EACE,QAAA;AvDqmLF;;AuDhmLA;;EAEE,qBAAA;EACA,WlDg5CmC;EkD/4CnC,YlD+4CmC;EkD94CnC,4BAAA;EACA,wBAAA;EACA,0BAAA;AvDmmLF;;AuDhmLA;;;;;;;GAAA;AAQA;EACE,yQAAA;AvDmmLF;;AuDjmLA;EACE,0QAAA;AvDomLF;;AuD5lLA;EACE,kBAAA;EACA,QAAA;EACA,SAAA;EACA,OAAA;EACA,UAAA;EACA,aAAA;EACA,uBAAA;EACA,UAAA;EAEA,iBlDw1CmC;EkDv1CnC,mBAAA;EACA,gBlDs1CmC;EkDr1CnC,gBAAA;AvD8lLF;AuD5lLE;EACE,uBAAA;EACA,cAAA;EACA,WlDq1CiC;EkDp1CjC,WlDq1CiC;EkDp1CjC,UAAA;EACA,iBlDq1CiC;EkDp1CjC,gBlDo1CiC;EkDn1CjC,mBAAA;EACA,eAAA;EACA,sBlD9KO;EkD+KP,4BAAA;EACA,SAAA;EAEA,kCAAA;EACA,qCAAA;EACA,YlD40CiC;EgBx/C/B,6BkC6KF;AvD6lLJ;AqBtwLM;EkCwJJ;IlCvJM,gBAAA;ErBywLN;AACF;AuD/lLE;EACE,UlDy0CiC;ALwxIrC;;AuDxlLA;EACE,kBAAA;EACA,UAAA;EACA,elDm0CmC;EkDl0CnC,SAAA;EACA,oBlDg0CmC;EkD/zCnC,uBlD+zCmC;EkD9zCnC,WlDzMS;EkD0MT,kBAAA;AvD2lLF;;AuDrlLE;;EAEE,gClDo0CiC;ALoxIrC;AuDrlLE;EACE,sBlD5MO;ALmyLX;AuDplLE;EACE,WlDhNO;ALsyLX;;AyDpzLA;;EAEE,qBAAA;EACA,8BAAA;EACA,gCAAA;EACA,gDAAA;EAEA,kBAAA;EACA,6FAAA;AzDszLF;;AyDlzLA;EACE;IAAK,0CAAA;EzDszLL;AACF;AyDnzLA;EAEE,wBAAA;EACA,yBAAA;EACA,qCAAA;EACA,iCAAA;EACA,mCAAA;EACA,2CAAA;EAGA,yDAAA;EACA,+BAAA;AzDkzLF;;AyD/yLA;EAEE,wBAAA;EACA,yBAAA;EACA,gCAAA;AzDizLF;;AyDxyLA;EACE;IACE,mBAAA;EzD2yLF;EyDzyLA;IACE,UAAA;IACA,eAAA;EzD2yLF;AACF;AyDvyLA;EAEE,wBAAA;EACA,yBAAA;EACA,qCAAA;EACA,mCAAA;EACA,yCAAA;EAGA,8BAAA;EACA,UAAA;AzDsyLF;;AyDnyLA;EACE,wBAAA;EACA,yBAAA;AzDsyLF;;AyDlyLE;EACE;;IAEE,kCAAA;EzDqyLJ;AACF;A0Dr3LA;EAEE,2BAAA;EACA,2BAAA;EACA,2BAAA;EACA,8BAAA;EACA,8BAAA;EACA,sBAAA;EACA,uBAAA;EACA,gCAAA;EACA,+DAAA;EACA,kEAAA;A1Ds3LF;;AavzLI;E6C9CF;IAEI,eAAA;IACA,SAAA;IACA,mCAAA;IACA,aAAA;IACA,sBAAA;IACA,eAAA;IACA,gCAAA;IACA,kBAAA;IACA,wCAAA;IACA,4BAAA;IACA,UAAA;IrC1BA,sCqC4BA;E1Du2LJ;AACF;AqBh4LM;EqCUJ;IrCTM,gBAAA;ErBm4LN;AACF;Aa70LI;E6C9BE;IACE,MAAA;IACA,OAAA;IACA,gCAAA;IACA,qFAAA;IACA,4BAAA;E1D82LN;AACF;Aat1LI;E6CtBE;IACE,MAAA;IACA,QAAA;IACA,gCAAA;IACA,oFAAA;IACA,2BAAA;E1D+2LN;AACF;Aa/1LI;E6CdE;IACE,MAAA;IACA,QAAA;IACA,OAAA;IACA,kCAAA;IACA,gBAAA;IACA,sFAAA;IACA,4BAAA;E1Dg3LN;AACF;Aa12LI;E6CJE;IACE,QAAA;IACA,OAAA;IACA,kCAAA;IACA,gBAAA;IACA,mFAAA;IACA,2BAAA;E1Di3LN;AACF;Aap3LI;E6CKE;IAEE,eAAA;E1Di3LN;AACF;Aaz3LI;E6CUE;IAGE,mBAAA;E1Dg3LN;AACF;Aa34LI;E6CjCF;IAiEM,2BAAA;IACA,8BAAA;IACA,wCAAA;E1D+2LN;E0D72LM;IACE,aAAA;E1D+2LR;E0D52LM;IACE,aAAA;IACA,YAAA;IACA,UAAA;IACA,mBAAA;IAEA,wCAAA;E1D62LR;AACF;;Aa/4LI;E6C9CF;IAEI,eAAA;IACA,SAAA;IACA,mCAAA;IACA,aAAA;IACA,sBAAA;IACA,eAAA;IACA,gCAAA;IACA,kBAAA;IACA,wCAAA;IACA,4BAAA;IACA,UAAA;IrC1BA,sCqC4BA;E1D+7LJ;AACF;AqBx9LM;EqCUJ;IrCTM,gBAAA;ErB29LN;AACF;Aar6LI;E6C9BE;IACE,MAAA;IACA,OAAA;IACA,gCAAA;IACA,qFAAA;IACA,4BAAA;E1Ds8LN;AACF;Aa96LI;E6CtBE;IACE,MAAA;IACA,QAAA;IACA,gCAAA;IACA,oFAAA;IACA,2BAAA;E1Du8LN;AACF;Aav7LI;E6CdE;IACE,MAAA;IACA,QAAA;IACA,OAAA;IACA,kCAAA;IACA,gBAAA;IACA,sFAAA;IACA,4BAAA;E1Dw8LN;AACF;Aal8LI;E6CJE;IACE,QAAA;IACA,OAAA;IACA,kCAAA;IACA,gBAAA;IACA,mFAAA;IACA,2BAAA;E1Dy8LN;AACF;Aa58LI;E6CKE;IAEE,eAAA;E1Dy8LN;AACF;Aaj9LI;E6CUE;IAGE,mBAAA;E1Dw8LN;AACF;Aan+LI;E6CjCF;IAiEM,2BAAA;IACA,8BAAA;IACA,wCAAA;E1Du8LN;E0Dr8LM;IACE,aAAA;E1Du8LR;E0Dp8LM;IACE,aAAA;IACA,YAAA;IACA,UAAA;IACA,mBAAA;IAEA,wCAAA;E1Dq8LR;AACF;;Aav+LI;E6C9CF;IAEI,eAAA;IACA,SAAA;IACA,mCAAA;IACA,aAAA;IACA,sBAAA;IACA,eAAA;IACA,gCAAA;IACA,kBAAA;IACA,wCAAA;IACA,4BAAA;IACA,UAAA;IrC1BA,sCqC4BA;E1DuhMJ;AACF;AqBhjMM;EqCUJ;IrCTM,gBAAA;ErBmjMN;AACF;Aa7/LI;E6C9BE;IACE,MAAA;IACA,OAAA;IACA,gCAAA;IACA,qFAAA;IACA,4BAAA;E1D8hMN;AACF;AatgMI;E6CtBE;IACE,MAAA;IACA,QAAA;IACA,gCAAA;IACA,oFAAA;IACA,2BAAA;E1D+hMN;AACF;Aa/gMI;E6CdE;IACE,MAAA;IACA,QAAA;IACA,OAAA;IACA,kCAAA;IACA,gBAAA;IACA,sFAAA;IACA,4BAAA;E1DgiMN;AACF;Aa1hMI;E6CJE;IACE,QAAA;IACA,OAAA;IACA,kCAAA;IACA,gBAAA;IACA,mFAAA;IACA,2BAAA;E1DiiMN;AACF;AapiMI;E6CKE;IAEE,eAAA;E1DiiMN;AACF;AaziMI;E6CUE;IAGE,mBAAA;E1DgiMN;AACF;Aa3jMI;E6CjCF;IAiEM,2BAAA;IACA,8BAAA;IACA,wCAAA;E1D+hMN;E0D7hMM;IACE,aAAA;E1D+hMR;E0D5hMM;IACE,aAAA;IACA,YAAA;IACA,UAAA;IACA,mBAAA;IAEA,wCAAA;E1D6hMR;AACF;;Aa/jMI;E6C9CF;IAEI,eAAA;IACA,SAAA;IACA,mCAAA;IACA,aAAA;IACA,sBAAA;IACA,eAAA;IACA,gCAAA;IACA,kBAAA;IACA,wCAAA;IACA,4BAAA;IACA,UAAA;IrC1BA,sCqC4BA;E1D+mMJ;AACF;AqBxoMM;EqCUJ;IrCTM,gBAAA;ErB2oMN;AACF;AarlMI;E6C9BE;IACE,MAAA;IACA,OAAA;IACA,gCAAA;IACA,qFAAA;IACA,4BAAA;E1DsnMN;AACF;Aa9lMI;E6CtBE;IACE,MAAA;IACA,QAAA;IACA,gCAAA;IACA,oFAAA;IACA,2BAAA;E1DunMN;AACF;AavmMI;E6CdE;IACE,MAAA;IACA,QAAA;IACA,OAAA;IACA,kCAAA;IACA,gBAAA;IACA,sFAAA;IACA,4BAAA;E1DwnMN;AACF;AalnMI;E6CJE;IACE,QAAA;IACA,OAAA;IACA,kCAAA;IACA,gBAAA;IACA,mFAAA;IACA,2BAAA;E1DynMN;AACF;Aa5nMI;E6CKE;IAEE,eAAA;E1DynMN;AACF;AajoMI;E6CUE;IAGE,mBAAA;E1DwnMN;AACF;AanpMI;E6CjCF;IAiEM,2BAAA;IACA,8BAAA;IACA,wCAAA;E1DunMN;E0DrnMM;IACE,aAAA;E1DunMR;E0DpnMM;IACE,aAAA;IACA,YAAA;IACA,UAAA;IACA,mBAAA;IAEA,wCAAA;E1DqnMR;AACF;;AavpMI;E6C9CF;IAEI,eAAA;IACA,SAAA;IACA,mCAAA;IACA,aAAA;IACA,sBAAA;IACA,eAAA;IACA,gCAAA;IACA,kBAAA;IACA,wCAAA;IACA,4BAAA;IACA,UAAA;IrC1BA,sCqC4BA;E1DusMJ;AACF;AqBhuMM;EqCUJ;IrCTM,gBAAA;ErBmuMN;AACF;Aa7qMI;E6C9BE;IACE,MAAA;IACA,OAAA;IACA,gCAAA;IACA,qFAAA;IACA,4BAAA;E1D8sMN;AACF;AatrMI;E6CtBE;IACE,MAAA;IACA,QAAA;IACA,gCAAA;IACA,oFAAA;IACA,2BAAA;E1D+sMN;AACF;Aa/rMI;E6CdE;IACE,MAAA;IACA,QAAA;IACA,OAAA;IACA,kCAAA;IACA,gBAAA;IACA,sFAAA;IACA,4BAAA;E1DgtMN;AACF;Aa1sMI;E6CJE;IACE,QAAA;IACA,OAAA;IACA,kCAAA;IACA,gBAAA;IACA,mFAAA;IACA,2BAAA;E1DitMN;AACF;AaptMI;E6CKE;IAEE,eAAA;E1DitMN;AACF;AaztMI;E6CUE;IAGE,mBAAA;E1DgtMN;AACF;Aa3uMI;E6CjCF;IAiEM,2BAAA;IACA,8BAAA;IACA,wCAAA;E1D+sMN;E0D7sMM;IACE,aAAA;E1D+sMR;E0D5sMM;IACE,aAAA;IACA,YAAA;IACA,UAAA;IACA,mBAAA;IAEA,wCAAA;E1D6sMR;AACF;;A0D7xME;EAEI,eAAA;EACA,SAAA;EACA,mCAAA;EACA,aAAA;EACA,sBAAA;EACA,eAAA;EACA,gCAAA;EACA,kBAAA;EACA,wCAAA;EACA,4BAAA;EACA,UAAA;ErC1BA,sCqC4BA;A1D8xMN;AqBtzMM;EqCUJ;IrCTM,gBAAA;ErByzMN;AACF;A0DjyMM;EACE,MAAA;EACA,OAAA;EACA,gCAAA;EACA,qFAAA;EACA,4BAAA;A1DmyMR;A0DhyMM;EACE,MAAA;EACA,QAAA;EACA,gCAAA;EACA,oFAAA;EACA,2BAAA;A1DkyMR;A0D/xMM;EACE,MAAA;EACA,QAAA;EACA,OAAA;EACA,kCAAA;EACA,gBAAA;EACA,sFAAA;EACA,4BAAA;A1DiyMR;A0D9xMM;EACE,QAAA;EACA,OAAA;EACA,kCAAA;EACA,gBAAA;EACA,mFAAA;EACA,2BAAA;A1DgyMR;A0D7xMM;EAEE,eAAA;A1D8xMR;A0D3xMM;EAGE,mBAAA;A1D2xMR;;A0DhwMA;EPlHE,eAAA;EACA,MAAA;EACA,OAAA;EACA,a9CghCkC;E8C/gClC,YAAA;EACA,aAAA;EACA,sB9CUS;AL42MX;AmDn3ME;EAAS,UAAA;AnDs3MX;AmDr3ME;EAAS,Y9Co3CyB;ALogKpC;;A0D5wMA;EACE,aAAA;EACA,mBAAA;EACA,8BAAA;EACA,oEAAA;A1D+wMF;A0D7wME;EACE,4FAAA;EACA,sDAAA;EACA,wDAAA;EACA,yDAAA;A1D+wMJ;;A0D3wMA;EACE,gBAAA;EACA,gBrD4a4B;ALk2L9B;;A0D3wMA;EACE,YAAA;EACA,oEAAA;EACA,gBAAA;A1D8wMF;;A2D55MA;EACE,qBAAA;EACA,eAAA;EACA,sBAAA;EACA,YAAA;EACA,8BAAA;EACA,YtDqsCkC;AL0tKpC;A2D75ME;EACE,qBAAA;EACA,WAAA;A3D+5MJ;;A2D15MA;EACE,iBAAA;A3D65MF;;A2D15MA;EACE,iBAAA;A3D65MF;;A2D15MA;EACE,iBAAA;A3D65MF;;A2Dx5ME;EACE,mDAAA;A3D25MJ;;A2Dv5MA;EACE;IACE,YtDwqCgC;ELkvKlC;AACF;A2Dv5MA;EACE,uFAAA;EAAA,+EAAA;EACA,4BAAA;EAAA,oBAAA;EACA,8CAAA;A3Dy5MF;;A2Dt5MA;EACE;IACE,+BAAA;IAAA,uBAAA;E3Dy5MF;AACF;AwDx8ME;EACE,cAAA;EACA,WAAA;EACA,WAAA;AxD08MJ;;A4D18ME;EACE,sBAAA;EACA,wEAAA;A5D68MJ;;A4D/8ME;EACE,sBAAA;EACA,yEAAA;A5Dk9MJ;;A4Dp9ME;EACE,sBAAA;EACA,uEAAA;A5Du9MJ;;A4Dz9ME;EACE,sBAAA;EACA,wEAAA;A5D49MJ;;A4D99ME;EACE,sBAAA;EACA,uEAAA;A5Di+MJ;;A4Dn+ME;EACE,sBAAA;EACA,uEAAA;A5Ds+MJ;;A4Dx+ME;EACE,sBAAA;EACA,yEAAA;A5D2+MJ;;A4D7+ME;EACE,sBAAA;EACA,sEAAA;A5Dg/MJ;;A6Dt/ME;EACE,yBAAA;A7Dy/MJ;A6Dt/MM;EAEE,yBAAA;A7Du/MR;;A6D7/ME;EACE,yBAAA;A7DggNJ;A6D7/MM;EAEE,yBAAA;A7D8/MR;;A6DpgNE;EACE,yBAAA;A7DugNJ;A6DpgNM;EAEE,yBAAA;A7DqgNR;;A6D3gNE;EACE,yBAAA;A7D8gNJ;A6D3gNM;EAEE,yBAAA;A7D4gNR;;A6DlhNE;EACE,yBAAA;A7DqhNJ;A6DlhNM;EAEE,yBAAA;A7DmhNR;;A6DzhNE;EACE,yBAAA;A7D4hNJ;A6DzhNM;EAEE,yBAAA;A7D0hNR;;A6DhiNE;EACE,yBAAA;A7DmiNJ;A6DhiNM;EAEE,yBAAA;A7DiiNR;;A6DviNE;EACE,yBAAA;A7D0iNJ;A6DviNM;EAEE,yBAAA;A7DwiNR;;A8D7iNA;EACE,kBAAA;EACA,WAAA;A9DgjNF;A8D9iNE;EACE,cAAA;EACA,mCAAA;EACA,WAAA;A9DgjNJ;A8D7iNE;EACE,kBAAA;EACA,MAAA;EACA,OAAA;EACA,WAAA;EACA,YAAA;A9D+iNJ;;A8D1iNE;EACE,uBAAA;A9D6iNJ;;A8D9iNE;EACE,sBAAA;A9DijNJ;;A8DljNE;EACE,yBAAA;A9DqjNJ;;A8DtjNE;EACE,iCAAA;A9DyjNJ;;A+D9kNA;EACE,eAAA;EACA,MAAA;EACA,QAAA;EACA,OAAA;EACA,a1D6gCkC;ALokLpC;;A+D9kNA;EACE,eAAA;EACA,QAAA;EACA,SAAA;EACA,OAAA;EACA,a1DqgCkC;AL4kLpC;;A+DzkNI;EACE,wBAAA;EAAA,gBAAA;EACA,MAAA;EACA,a1Dy/B8B;ALmlLpC;;A+DzkNI;EACE,wBAAA;EAAA,gBAAA;EACA,SAAA;EACA,a1Dm/B8B;ALylLpC;;Aa7iNI;EkDxCA;IACE,wBAAA;IAAA,gBAAA;IACA,MAAA;IACA,a1Dy/B8B;ELgmLlC;E+DtlNE;IACE,wBAAA;IAAA,gBAAA;IACA,SAAA;IACA,a1Dm/B8B;ELqmLlC;AACF;Aa1jNI;EkDxCA;IACE,wBAAA;IAAA,gBAAA;IACA,MAAA;IACA,a1Dy/B8B;EL4mLlC;E+DlmNE;IACE,wBAAA;IAAA,gBAAA;IACA,SAAA;IACA,a1Dm/B8B;ELinLlC;AACF;AatkNI;EkDxCA;IACE,wBAAA;IAAA,gBAAA;IACA,MAAA;IACA,a1Dy/B8B;ELwnLlC;E+D9mNE;IACE,wBAAA;IAAA,gBAAA;IACA,SAAA;IACA,a1Dm/B8B;EL6nLlC;AACF;AallNI;EkDxCA;IACE,wBAAA;IAAA,gBAAA;IACA,MAAA;IACA,a1Dy/B8B;ELooLlC;E+D1nNE;IACE,wBAAA;IAAA,gBAAA;IACA,SAAA;IACA,a1Dm/B8B;ELyoLlC;AACF;Aa9lNI;EkDxCA;IACE,wBAAA;IAAA,gBAAA;IACA,MAAA;IACA,a1Dy/B8B;ELgpLlC;E+DtoNE;IACE,wBAAA;IAAA,gBAAA;IACA,SAAA;IACA,a1Dm/B8B;ELqpLlC;AACF;AgExqNA;EACE,aAAA;EACA,mBAAA;EACA,mBAAA;EACA,mBAAA;AhE0qNF;;AgEvqNA;EACE,aAAA;EACA,cAAA;EACA,sBAAA;EACA,mBAAA;AhE0qNF;;AiElrNA;;ECIE,6BAAA;EACA,qBAAA;EACA,sBAAA;EACA,qBAAA;EACA,uBAAA;EACA,2BAAA;EACA,iCAAA;EACA,8BAAA;EACA,oBAAA;AlEmrNF;;AmE9rNE;EACE,kBAAA;EACA,MAAA;EACA,QAAA;EACA,SAAA;EACA,OAAA;EACA,U9DoZsC;E8DnZtC,WAAA;AnEisNJ;;AoEzsNA;ECAE,gBAAA;EACA,uBAAA;EACA,mBAAA;ArE6sNF;;AsEntNA;EACE,qBAAA;EACA,mBAAA;EACA,UAAA;EACA,eAAA;EACA,8BAAA;EACA,ajEynB4B;AL6lM9B;;AuE1pNQ;EAOI,mCAAA;AvEupNZ;;AuE9pNQ;EAOI,8BAAA;AvE2pNZ;;AuElqNQ;EAOI,iCAAA;AvE+pNZ;;AuEtqNQ;EAOI,iCAAA;AvEmqNZ;;AuE1qNQ;EAOI,sCAAA;AvEuqNZ;;AuE9qNQ;EAOI,mCAAA;AvE2qNZ;;AuElrNQ;EAOI,sBAAA;AvE+qNZ;;AuEtrNQ;EAOI,uBAAA;AvEmrNZ;;AuE1rNQ;EAOI,sBAAA;AvEurNZ;;AuE9rNQ;EAOI,qBAAA;AvE2rNZ;;AuElsNQ;EAOI,wBAAA;AvE+rNZ;;AuEtsNQ;EAOI,uBAAA;AvEmsNZ;;AuE1sNQ;EAOI,wBAAA;AvEusNZ;;AuE9sNQ;EAOI,qBAAA;AvE2sNZ;;AuEltNQ;EAOI,yBAAA;AvE+sNZ;;AuEttNQ;EAOI,2BAAA;AvEmtNZ;;AuE1tNQ;EAOI,4BAAA;AvEutNZ;;AuE9tNQ;EAOI,2BAAA;AvE2tNZ;;AuEluNQ;EAOI,0BAAA;AvE+tNZ;;AuEtuNQ;EAOI,gCAAA;AvEmuNZ;;AuE1uNQ;EAOI,yBAAA;AvEuuNZ;;AuE9uNQ;EAOI,wBAAA;AvE2uNZ;;AuElvNQ;EAOI,yBAAA;AvE+uNZ;;AuEtvNQ;EAOI,6BAAA;AvEmvNZ;;AuE1vNQ;EAOI,8BAAA;AvEuvNZ;;AuE9vNQ;EAOI,wBAAA;AvE2vNZ;;AuElwNQ;EAOI,+BAAA;AvE+vNZ;;AuEtwNQ;EAOI,wBAAA;AvEmwNZ;;AuE1wNQ;EAOI,wDAAA;AvEuwNZ;;AuE9wNQ;EAOI,8DAAA;AvE2wNZ;;AuElxNQ;EAOI,uDAAA;AvE+wNZ;;AuEtxNQ;EAOI,2BAAA;AvEmxNZ;;AuE1xNQ;EAOI,2BAAA;AvEuxNZ;;AuE9xNQ;EAOI,6BAAA;AvE2xNZ;;AuElyNQ;EAOI,6BAAA;AvE+xNZ;;AuEtyNQ;EAOI,0BAAA;AvEmyNZ;;AuE1yNQ;EAOI,mCAAA;EAAA,2BAAA;AvEuyNZ;;AuE9yNQ;EAOI,iBAAA;AvE2yNZ;;AuElzNQ;EAOI,mBAAA;AvE+yNZ;;AuEtzNQ;EAOI,oBAAA;AvEmzNZ;;AuE1zNQ;EAOI,oBAAA;AvEuzNZ;;AuE9zNQ;EAOI,sBAAA;AvE2zNZ;;AuEl0NQ;EAOI,uBAAA;AvE+zNZ;;AuEt0NQ;EAOI,kBAAA;AvEm0NZ;;AuE10NQ;EAOI,oBAAA;AvEu0NZ;;AuE90NQ;EAOI,qBAAA;AvE20NZ;;AuEl1NQ;EAOI,mBAAA;AvE+0NZ;;AuEt1NQ;EAOI,qBAAA;AvEm1NZ;;AuE11NQ;EAOI,sBAAA;AvEu1NZ;;AuE91NQ;EAOI,2CAAA;AvE21NZ;;AuEl2NQ;EAOI,sCAAA;AvE+1NZ;;AuEt2NQ;EAOI,sCAAA;AvEm2NZ;;AuE12NQ;EAOI,uFAAA;AvEu2NZ;;AuE92NQ;EAOI,oBAAA;AvE22NZ;;AuEl3NQ;EAOI,2FAAA;AvE+2NZ;;AuEt3NQ;EAOI,wBAAA;AvEm3NZ;;AuE13NQ;EAOI,6FAAA;AvEu3NZ;;AuE93NQ;EAOI,0BAAA;AvE23NZ;;AuEl4NQ;EAOI,8FAAA;AvE+3NZ;;AuEt4NQ;EAOI,2BAAA;AvEm4NZ;;AuE14NQ;EAOI,4FAAA;AvEu4NZ;;AuE94NQ;EAOI,yBAAA;AvE24NZ;;AuEl5NQ;EAIQ,sBAAA;EAGJ,8EAAA;AvEg5NZ;;AuEv5NQ;EAIQ,sBAAA;EAGJ,gFAAA;AvEq5NZ;;AuE55NQ;EAIQ,sBAAA;EAGJ,8EAAA;AvE05NZ;;AuEj6NQ;EAIQ,sBAAA;EAGJ,2EAAA;AvE+5NZ;;AuEt6NQ;EAIQ,sBAAA;EAGJ,8EAAA;AvEo6NZ;;AuE36NQ;EAIQ,sBAAA;EAGJ,6EAAA;AvEy6NZ;;AuEh7NQ;EAIQ,sBAAA;EAGJ,4EAAA;AvE86NZ;;AuEr7NQ;EAIQ,sBAAA;EAGJ,2EAAA;AvEm7NZ;;AuE17NQ;EAIQ,sBAAA;EAGJ,4EAAA;AvEw7NZ;;AuEz8NQ;EACE,sBAAA;AvE48NV;;AuE78NQ;EACE,sBAAA;AvEg9NV;;AuEj9NQ;EACE,sBAAA;AvEo9NV;;AuEr9NQ;EACE,sBAAA;AvEw9NV;;AuEz9NQ;EACE,sBAAA;AvE49NV;;AuE79NQ;EACE,wBAAA;AvEg+NV;;AuEj+NQ;EACE,yBAAA;AvEo+NV;;AuEr+NQ;EACE,wBAAA;AvEw+NV;;AuEz+NQ;EACE,yBAAA;AvE4+NV;;AuE7+NQ;EACE,sBAAA;AvEg/NV;;AuEv+NQ;EAOI,qBAAA;AvEo+NZ;;AuE3+NQ;EAOI,qBAAA;AvEw+NZ;;AuE/+NQ;EAOI,qBAAA;AvE4+NZ;;AuEn/NQ;EAOI,sBAAA;AvEg/NZ;;AuEv/NQ;EAOI,sBAAA;AvEo/NZ;;AuE3/NQ;EAOI,0BAAA;AvEw/NZ;;AuE//NQ;EAOI,uBAAA;AvE4/NZ;;AuEngOQ;EAOI,2BAAA;AvEggOZ;;AuEvgOQ;EAOI,sBAAA;AvEogOZ;;AuE3gOQ;EAOI,sBAAA;AvEwgOZ;;AuE/gOQ;EAOI,sBAAA;AvE4gOZ;;AuEnhOQ;EAOI,uBAAA;AvEghOZ;;AuEvhOQ;EAOI,uBAAA;AvEohOZ;;AuE3hOQ;EAOI,2BAAA;AvEwhOZ;;AuE/hOQ;EAOI,wBAAA;AvE4hOZ;;AuEniOQ;EAOI,4BAAA;AvEgiOZ;;AuEviOQ;EAOI,yBAAA;AvEoiOZ;;AuE3iOQ;EAOI,8BAAA;AvEwiOZ;;AuE/iOQ;EAOI,iCAAA;AvE4iOZ;;AuEnjOQ;EAOI,sCAAA;AvEgjOZ;;AuEvjOQ;EAOI,yCAAA;AvEojOZ;;AuE3jOQ;EAOI,uBAAA;AvEwjOZ;;AuE/jOQ;EAOI,uBAAA;AvE4jOZ;;AuEnkOQ;EAOI,yBAAA;AvEgkOZ;;AuEvkOQ;EAOI,yBAAA;AvEokOZ;;AuE3kOQ;EAOI,0BAAA;AvEwkOZ;;AuE/kOQ;EAOI,4BAAA;AvE4kOZ;;AuEnlOQ;EAOI,kCAAA;AvEglOZ;;AuEvlOQ;EAOI,sCAAA;AvEolOZ;;AuE3lOQ;EAOI,oCAAA;AvEwlOZ;;AuE/lOQ;EAOI,kCAAA;AvE4lOZ;;AuEnmOQ;EAOI,yCAAA;AvEgmOZ;;AuEvmOQ;EAOI,wCAAA;AvEomOZ;;AuE3mOQ;EAOI,wCAAA;AvEwmOZ;;AuE/mOQ;EAOI,kCAAA;AvE4mOZ;;AuEnnOQ;EAOI,gCAAA;AvEgnOZ;;AuEvnOQ;EAOI,8BAAA;AvEonOZ;;AuE3nOQ;EAOI,gCAAA;AvEwnOZ;;AuE/nOQ;EAOI,+BAAA;AvE4nOZ;;AuEnoOQ;EAOI,oCAAA;AvEgoOZ;;AuEvoOQ;EAOI,kCAAA;AvEooOZ;;AuE3oOQ;EAOI,gCAAA;AvEwoOZ;;AuE/oOQ;EAOI,uCAAA;AvE4oOZ;;AuEnpOQ;EAOI,sCAAA;AvEgpOZ;;AuEvpOQ;EAOI,iCAAA;AvEopOZ;;AuE3pOQ;EAOI,2BAAA;AvEwpOZ;;AuE/pOQ;EAOI,iCAAA;AvE4pOZ;;AuEnqOQ;EAOI,+BAAA;AvEgqOZ;;AuEvqOQ;EAOI,6BAAA;AvEoqOZ;;AuE3qOQ;EAOI,+BAAA;AvEwqOZ;;AuE/qOQ;EAOI,8BAAA;AvE4qOZ;;AuEnrOQ;EAOI,oBAAA;AvEgrOZ;;AuEvrOQ;EAOI,mBAAA;AvEorOZ;;AuE3rOQ;EAOI,mBAAA;AvEwrOZ;;AuE/rOQ;EAOI,mBAAA;AvE4rOZ;;AuEnsOQ;EAOI,mBAAA;AvEgsOZ;;AuEvsOQ;EAOI,mBAAA;AvEosOZ;;AuE3sOQ;EAOI,mBAAA;AvEwsOZ;;AuE/sOQ;EAOI,mBAAA;AvE4sOZ;;AuEntOQ;EAOI,oBAAA;AvEgtOZ;;AuEvtOQ;EAOI,0BAAA;AvEotOZ;;AuE3tOQ;EAOI,yBAAA;AvEwtOZ;;AuE/tOQ;EAOI,uBAAA;AvE4tOZ;;AuEnuOQ;EAOI,yBAAA;AvEguOZ;;AuEvuOQ;EAOI,uBAAA;AvEouOZ;;AuE3uOQ;EAOI,uBAAA;AvEwuOZ;;AuE/uOQ;EAOI,0BAAA;EAAA,yBAAA;AvE6uOZ;;AuEpvOQ;EAOI,gCAAA;EAAA,+BAAA;AvEkvOZ;;AuEzvOQ;EAOI,+BAAA;EAAA,8BAAA;AvEuvOZ;;AuE9vOQ;EAOI,6BAAA;EAAA,4BAAA;AvE4vOZ;;AuEnwOQ;EAOI,+BAAA;EAAA,8BAAA;AvEiwOZ;;AuExwOQ;EAOI,6BAAA;EAAA,4BAAA;AvEswOZ;;AuE7wOQ;EAOI,6BAAA;EAAA,4BAAA;AvE2wOZ;;AuElxOQ;EAOI,wBAAA;EAAA,2BAAA;AvEgxOZ;;AuEvxOQ;EAOI,8BAAA;EAAA,iCAAA;AvEqxOZ;;AuE5xOQ;EAOI,6BAAA;EAAA,gCAAA;AvE0xOZ;;AuEjyOQ;EAOI,2BAAA;EAAA,8BAAA;AvE+xOZ;;AuEtyOQ;EAOI,6BAAA;EAAA,gCAAA;AvEoyOZ;;AuE3yOQ;EAOI,2BAAA;EAAA,8BAAA;AvEyyOZ;;AuEhzOQ;EAOI,2BAAA;EAAA,8BAAA;AvE8yOZ;;AuErzOQ;EAOI,wBAAA;AvEkzOZ;;AuEzzOQ;EAOI,8BAAA;AvEszOZ;;AuE7zOQ;EAOI,6BAAA;AvE0zOZ;;AuEj0OQ;EAOI,2BAAA;AvE8zOZ;;AuEr0OQ;EAOI,6BAAA;AvEk0OZ;;AuEz0OQ;EAOI,2BAAA;AvEs0OZ;;AuE70OQ;EAOI,2BAAA;AvE00OZ;;AuEj1OQ;EAOI,0BAAA;AvE80OZ;;AuEr1OQ;EAOI,gCAAA;AvEk1OZ;;AuEz1OQ;EAOI,+BAAA;AvEs1OZ;;AuE71OQ;EAOI,6BAAA;AvE01OZ;;AuEj2OQ;EAOI,+BAAA;AvE81OZ;;AuEr2OQ;EAOI,6BAAA;AvEk2OZ;;AuEz2OQ;EAOI,6BAAA;AvEs2OZ;;AuE72OQ;EAOI,2BAAA;AvE02OZ;;AuEj3OQ;EAOI,iCAAA;AvE82OZ;;AuEr3OQ;EAOI,gCAAA;AvEk3OZ;;AuEz3OQ;EAOI,8BAAA;AvEs3OZ;;AuE73OQ;EAOI,gCAAA;AvE03OZ;;AuEj4OQ;EAOI,8BAAA;AvE83OZ;;AuEr4OQ;EAOI,8BAAA;AvEk4OZ;;AuEz4OQ;EAOI,yBAAA;AvEs4OZ;;AuE74OQ;EAOI,+BAAA;AvE04OZ;;AuEj5OQ;EAOI,8BAAA;AvE84OZ;;AuEr5OQ;EAOI,4BAAA;AvEk5OZ;;AuEz5OQ;EAOI,8BAAA;AvEs5OZ;;AuE75OQ;EAOI,4BAAA;AvE05OZ;;AuEj6OQ;EAOI,4BAAA;AvE85OZ;;AuEr6OQ;EAOI,qBAAA;AvEk6OZ;;AuEz6OQ;EAOI,2BAAA;AvEs6OZ;;AuE76OQ;EAOI,0BAAA;AvE06OZ;;AuEj7OQ;EAOI,wBAAA;AvE86OZ;;AuEr7OQ;EAOI,0BAAA;AvEk7OZ;;AuEz7OQ;EAOI,wBAAA;AvEs7OZ;;AuE77OQ;EAOI,2BAAA;EAAA,0BAAA;AvE27OZ;;AuEl8OQ;EAOI,iCAAA;EAAA,gCAAA;AvEg8OZ;;AuEv8OQ;EAOI,gCAAA;EAAA,+BAAA;AvEq8OZ;;AuE58OQ;EAOI,8BAAA;EAAA,6BAAA;AvE08OZ;;AuEj9OQ;EAOI,gCAAA;EAAA,+BAAA;AvE+8OZ;;AuEt9OQ;EAOI,8BAAA;EAAA,6BAAA;AvEo9OZ;;AuE39OQ;EAOI,yBAAA;EAAA,4BAAA;AvEy9OZ;;AuEh+OQ;EAOI,+BAAA;EAAA,kCAAA;AvE89OZ;;AuEr+OQ;EAOI,8BAAA;EAAA,iCAAA;AvEm+OZ;;AuE1+OQ;EAOI,4BAAA;EAAA,+BAAA;AvEw+OZ;;AuE/+OQ;EAOI,8BAAA;EAAA,iCAAA;AvE6+OZ;;AuEp/OQ;EAOI,4BAAA;EAAA,+BAAA;AvEk/OZ;;AuEz/OQ;EAOI,yBAAA;AvEs/OZ;;AuE7/OQ;EAOI,+BAAA;AvE0/OZ;;AuEjgPQ;EAOI,8BAAA;AvE8/OZ;;AuErgPQ;EAOI,4BAAA;AvEkgPZ;;AuEzgPQ;EAOI,8BAAA;AvEsgPZ;;AuE7gPQ;EAOI,4BAAA;AvE0gPZ;;AuEjhPQ;EAOI,2BAAA;AvE8gPZ;;AuErhPQ;EAOI,iCAAA;AvEkhPZ;;AuEzhPQ;EAOI,gCAAA;AvEshPZ;;AuE7hPQ;EAOI,8BAAA;AvE0hPZ;;AuEjiPQ;EAOI,gCAAA;AvE8hPZ;;AuEriPQ;EAOI,8BAAA;AvEkiPZ;;AuEziPQ;EAOI,4BAAA;AvEsiPZ;;AuE7iPQ;EAOI,kCAAA;AvE0iPZ;;AuEjjPQ;EAOI,iCAAA;AvE8iPZ;;AuErjPQ;EAOI,+BAAA;AvEkjPZ;;AuEzjPQ;EAOI,iCAAA;AvEsjPZ;;AuE7jPQ;EAOI,+BAAA;AvE0jPZ;;AuEjkPQ;EAOI,0BAAA;AvE8jPZ;;AuErkPQ;EAOI,gCAAA;AvEkkPZ;;AuEzkPQ;EAOI,+BAAA;AvEskPZ;;AuE7kPQ;EAOI,6BAAA;AvE0kPZ;;AuEjlPQ;EAOI,+BAAA;AvE8kPZ;;AuErlPQ;EAOI,6BAAA;AvEklPZ;;AuEzlPQ;EAOI,iBAAA;AvEslPZ;;AuE7lPQ;EAOI,uBAAA;AvE0lPZ;;AuEjmPQ;EAOI,sBAAA;AvE8lPZ;;AuErmPQ;EAOI,oBAAA;AvEkmPZ;;AuEzmPQ;EAOI,sBAAA;AvEsmPZ;;AuE7mPQ;EAOI,oBAAA;AvE0mPZ;;AuEjnPQ;EAOI,gDAAA;AvE8mPZ;;AuErnPQ;EAOI,4CAAA;AvEknPZ;;AuEznPQ;EAOI,4CAAA;AvEsnPZ;;AuE7nPQ;EAOI,0CAAA;AvE0nPZ;;AuEjoPQ;EAOI,4CAAA;AvE8nPZ;;AuEroPQ;EAOI,6BAAA;AvEkoPZ;;AuEzoPQ;EAOI,0BAAA;AvEsoPZ;;AuE7oPQ;EAOI,6BAAA;AvE0oPZ;;AuEjpPQ;EAOI,6BAAA;AvE8oPZ;;AuErpPQ;EAOI,2BAAA;AvEkpPZ;;AuEzpPQ;EAOI,+BAAA;AvEspPZ;;AuE7pPQ;EAOI,2BAAA;AvE0pPZ;;AuEjqPQ;EAOI,2BAAA;AvE8pPZ;;AuErqPQ;EAOI,2BAAA;AvEkqPZ;;AuEzqPQ;EAOI,8BAAA;AvEsqPZ;;AuE7qPQ;EAOI,yBAAA;AvE0qPZ;;AuEjrPQ;EAOI,4BAAA;AvE8qPZ;;AuErrPQ;EAOI,2BAAA;AvEkrPZ;;AuEzrPQ;EAOI,yBAAA;AvEsrPZ;;AuE7rPQ;EAOI,2BAAA;AvE0rPZ;;AuEjsPQ;EAOI,4BAAA;AvE8rPZ;;AuErsPQ;EAOI,6BAAA;AvEksPZ;;AuEzsPQ;EAOI,gCAAA;AvEssPZ;;AuE7sPQ;EAOI,qCAAA;AvE0sPZ;;AuEjtPQ;EAOI,wCAAA;AvE8sPZ;;AuErtPQ;EAOI,oCAAA;AvEktPZ;;AuEztPQ;EAOI,oCAAA;AvEstPZ;;AuE7tPQ;EAOI,qCAAA;AvE0tPZ;;AuEjuPQ;EAOI,8BAAA;AvE8tPZ;;AuEruPQ;EAOI,8BAAA;AvEkuPZ;;AuEvvPQ,qBAAA;AAcA;EAOI,gCAAA;EAAA,iCAAA;AvEwuPZ;;AuErtPQ,mBAAA;AA1BA;EAIQ,oBAAA;EAGJ,qEAAA;AvE8uPZ;;AuErvPQ;EAIQ,oBAAA;EAGJ,uEAAA;AvEmvPZ;;AuE1vPQ;EAIQ,oBAAA;EAGJ,qEAAA;AvEwvPZ;;AuE/vPQ;EAIQ,oBAAA;EAGJ,kEAAA;AvE6vPZ;;AuEpwPQ;EAIQ,oBAAA;EAGJ,qEAAA;AvEkwPZ;;AuEzwPQ;EAIQ,oBAAA;EAGJ,oEAAA;AvEuwPZ;;AuE9wPQ;EAIQ,oBAAA;EAGJ,mEAAA;AvE4wPZ;;AuEnxPQ;EAIQ,oBAAA;EAGJ,kEAAA;AvEixPZ;;AuExxPQ;EAIQ,oBAAA;EAGJ,mEAAA;AvEsxPZ;;AuE7xPQ;EAIQ,oBAAA;EAGJ,mEAAA;AvE2xPZ;;AuElyPQ;EAIQ,oBAAA;EAGJ,wEAAA;AvEgyPZ;;AuEvyPQ;EAIQ,oBAAA;EAGJ,yBAAA;AvEqyPZ;;AuE5yPQ;EAIQ,oBAAA;EAGJ,oCAAA;AvE0yPZ;;AuEjzPQ;EAIQ,oBAAA;EAGJ,0CAAA;AvE+yPZ;;AuEtzPQ;EAIQ,oBAAA;EAGJ,yBAAA;AvEozPZ;;AuEr0PQ;EACE,uBAAA;AvEw0PV;;AuEz0PQ;EACE,sBAAA;AvE40PV;;AuE70PQ;EACE,uBAAA;AvEg1PV;;AuEj1PQ;EACE,oBAAA;AvEo1PV;;AuE30PQ;EAIQ,kBAAA;EAGJ,8EAAA;AvEy0PZ;;AuEh1PQ;EAIQ,kBAAA;EAGJ,gFAAA;AvE80PZ;;AuEr1PQ;EAIQ,kBAAA;EAGJ,8EAAA;AvEm1PZ;;AuE11PQ;EAIQ,kBAAA;EAGJ,2EAAA;AvEw1PZ;;AuE/1PQ;EAIQ,kBAAA;EAGJ,8EAAA;AvE61PZ;;AuEp2PQ;EAIQ,kBAAA;EAGJ,6EAAA;AvEk2PZ;;AuEz2PQ;EAIQ,kBAAA;EAGJ,4EAAA;AvEu2PZ;;AuE92PQ;EAIQ,kBAAA;EAGJ,2EAAA;AvE42PZ;;AuEn3PQ;EAIQ,kBAAA;EAGJ,4EAAA;AvEi3PZ;;AuEx3PQ;EAIQ,kBAAA;EAGJ,4EAAA;AvEs3PZ;;AuE73PQ;EAIQ,kBAAA;EAGJ,8EAAA;AvE23PZ;;AuEl4PQ;EAIQ,kBAAA;EAGJ,wCAAA;AvEg4PZ;;AuEj5PQ;EACE,oBAAA;AvEo5PV;;AuEr5PQ;EACE,qBAAA;AvEw5PV;;AuEz5PQ;EACE,oBAAA;AvE45PV;;AuE75PQ;EACE,qBAAA;AvEg6PV;;AuEj6PQ;EACE,kBAAA;AvEo6PV;;AuE35PQ;EAOI,+CAAA;AvEw5PZ;;AuE/5PQ;EAOI,mCAAA;EAAA,gCAAA;EAAA,2BAAA;AvE45PZ;;AuEn6PQ;EAOI,oCAAA;EAAA,iCAAA;EAAA,4BAAA;AvEg6PZ;;AuEv6PQ;EAOI,oCAAA;EAAA,iCAAA;EAAA,4BAAA;AvEo6PZ;;AuE36PQ;EAOI,+BAAA;AvEw6PZ;;AuE/6PQ;EAOI,+BAAA;AvE46PZ;;AuEn7PQ;EAOI,iDAAA;AvEg7PZ;;AuEv7PQ;EAOI,2BAAA;AvEo7PZ;;AuE37PQ;EAOI,oDAAA;AvEw7PZ;;AuE/7PQ;EAOI,iDAAA;AvE47PZ;;AuEn8PQ;EAOI,oDAAA;AvEg8PZ;;AuEv8PQ;EAOI,oDAAA;AvEo8PZ;;AuE38PQ;EAOI,qDAAA;AvEw8PZ;;AuE/8PQ;EAOI,6BAAA;AvE48PZ;;AuEn9PQ;EAOI,sDAAA;AvEg9PZ;;AuEv9PQ;EAOI,0DAAA;EAAA,2DAAA;AvEq9PZ;;AuE59PQ;EAOI,2DAAA;EAAA,8DAAA;AvE09PZ;;AuEj+PQ;EAOI,8DAAA;EAAA,6DAAA;AvE+9PZ;;AuEt+PQ;EAOI,6DAAA;EAAA,0DAAA;AvEo+PZ;;AuE3+PQ;EAOI,8BAAA;AvEw+PZ;;AuE/+PQ;EAOI,6BAAA;AvE4+PZ;;Aat/PI;E0DGI;IAOI,sBAAA;EvEi/PV;EuEx/PM;IAOI,uBAAA;EvEo/PV;EuE3/PM;IAOI,sBAAA;EvEu/PV;EuE9/PM;IAOI,0BAAA;EvE0/PV;EuEjgQM;IAOI,gCAAA;EvE6/PV;EuEpgQM;IAOI,yBAAA;EvEggQV;EuEvgQM;IAOI,wBAAA;EvEmgQV;EuE1gQM;IAOI,yBAAA;EvEsgQV;EuE7gQM;IAOI,6BAAA;EvEygQV;EuEhhQM;IAOI,8BAAA;EvE4gQV;EuEnhQM;IAOI,wBAAA;EvE+gQV;EuEthQM;IAOI,+BAAA;EvEkhQV;EuEzhQM;IAOI,wBAAA;EvEqhQV;EuE5hQM;IAOI,yBAAA;EvEwhQV;EuE/hQM;IAOI,8BAAA;EvE2hQV;EuEliQM;IAOI,iCAAA;EvE8hQV;EuEriQM;IAOI,sCAAA;EvEiiQV;EuExiQM;IAOI,yCAAA;EvEoiQV;EuE3iQM;IAOI,uBAAA;EvEuiQV;EuE9iQM;IAOI,uBAAA;EvE0iQV;EuEjjQM;IAOI,yBAAA;EvE6iQV;EuEpjQM;IAOI,yBAAA;EvEgjQV;EuEvjQM;IAOI,0BAAA;EvEmjQV;EuE1jQM;IAOI,4BAAA;EvEsjQV;EuE7jQM;IAOI,kCAAA;EvEyjQV;EuEhkQM;IAOI,sCAAA;EvE4jQV;EuEnkQM;IAOI,oCAAA;EvE+jQV;EuEtkQM;IAOI,kCAAA;EvEkkQV;EuEzkQM;IAOI,yCAAA;EvEqkQV;EuE5kQM;IAOI,wCAAA;EvEwkQV;EuE/kQM;IAOI,wCAAA;EvE2kQV;EuEllQM;IAOI,kCAAA;EvE8kQV;EuErlQM;IAOI,gCAAA;EvEilQV;EuExlQM;IAOI,8BAAA;EvEolQV;EuE3lQM;IAOI,gCAAA;EvEulQV;EuE9lQM;IAOI,+BAAA;EvE0lQV;EuEjmQM;IAOI,oCAAA;EvE6lQV;EuEpmQM;IAOI,kCAAA;EvEgmQV;EuEvmQM;IAOI,gCAAA;EvEmmQV;EuE1mQM;IAOI,uCAAA;EvEsmQV;EuE7mQM;IAOI,sCAAA;EvEymQV;EuEhnQM;IAOI,iCAAA;EvE4mQV;EuEnnQM;IAOI,2BAAA;EvE+mQV;EuEtnQM;IAOI,iCAAA;EvEknQV;EuEznQM;IAOI,+BAAA;EvEqnQV;EuE5nQM;IAOI,6BAAA;EvEwnQV;EuE/nQM;IAOI,+BAAA;EvE2nQV;EuEloQM;IAOI,8BAAA;EvE8nQV;EuEroQM;IAOI,oBAAA;EvEioQV;EuExoQM;IAOI,mBAAA;EvEooQV;EuE3oQM;IAOI,mBAAA;EvEuoQV;EuE9oQM;IAOI,mBAAA;EvE0oQV;EuEjpQM;IAOI,mBAAA;EvE6oQV;EuEppQM;IAOI,mBAAA;EvEgpQV;EuEvpQM;IAOI,mBAAA;EvEmpQV;EuE1pQM;IAOI,mBAAA;EvEspQV;EuE7pQM;IAOI,oBAAA;EvEypQV;EuEhqQM;IAOI,0BAAA;EvE4pQV;EuEnqQM;IAOI,yBAAA;EvE+pQV;EuEtqQM;IAOI,uBAAA;EvEkqQV;EuEzqQM;IAOI,yBAAA;EvEqqQV;EuE5qQM;IAOI,uBAAA;EvEwqQV;EuE/qQM;IAOI,uBAAA;EvE2qQV;EuElrQM;IAOI,0BAAA;IAAA,yBAAA;EvE+qQV;EuEtrQM;IAOI,gCAAA;IAAA,+BAAA;EvEmrQV;EuE1rQM;IAOI,+BAAA;IAAA,8BAAA;EvEurQV;EuE9rQM;IAOI,6BAAA;IAAA,4BAAA;EvE2rQV;EuElsQM;IAOI,+BAAA;IAAA,8BAAA;EvE+rQV;EuEtsQM;IAOI,6BAAA;IAAA,4BAAA;EvEmsQV;EuE1sQM;IAOI,6BAAA;IAAA,4BAAA;EvEusQV;EuE9sQM;IAOI,wBAAA;IAAA,2BAAA;EvE2sQV;EuEltQM;IAOI,8BAAA;IAAA,iCAAA;EvE+sQV;EuEttQM;IAOI,6BAAA;IAAA,gCAAA;EvEmtQV;EuE1tQM;IAOI,2BAAA;IAAA,8BAAA;EvEutQV;EuE9tQM;IAOI,6BAAA;IAAA,gCAAA;EvE2tQV;EuEluQM;IAOI,2BAAA;IAAA,8BAAA;EvE+tQV;EuEtuQM;IAOI,2BAAA;IAAA,8BAAA;EvEmuQV;EuE1uQM;IAOI,wBAAA;EvEsuQV;EuE7uQM;IAOI,8BAAA;EvEyuQV;EuEhvQM;IAOI,6BAAA;EvE4uQV;EuEnvQM;IAOI,2BAAA;EvE+uQV;EuEtvQM;IAOI,6BAAA;EvEkvQV;EuEzvQM;IAOI,2BAAA;EvEqvQV;EuE5vQM;IAOI,2BAAA;EvEwvQV;EuE/vQM;IAOI,0BAAA;EvE2vQV;EuElwQM;IAOI,gCAAA;EvE8vQV;EuErwQM;IAOI,+BAAA;EvEiwQV;EuExwQM;IAOI,6BAAA;EvEowQV;EuE3wQM;IAOI,+BAAA;EvEuwQV;EuE9wQM;IAOI,6BAAA;EvE0wQV;EuEjxQM;IAOI,6BAAA;EvE6wQV;EuEpxQM;IAOI,2BAAA;EvEgxQV;EuEvxQM;IAOI,iCAAA;EvEmxQV;EuE1xQM;IAOI,gCAAA;EvEsxQV;EuE7xQM;IAOI,8BAAA;EvEyxQV;EuEhyQM;IAOI,gCAAA;EvE4xQV;EuEnyQM;IAOI,8BAAA;EvE+xQV;EuEtyQM;IAOI,8BAAA;EvEkyQV;EuEzyQM;IAOI,yBAAA;EvEqyQV;EuE5yQM;IAOI,+BAAA;EvEwyQV;EuE/yQM;IAOI,8BAAA;EvE2yQV;EuElzQM;IAOI,4BAAA;EvE8yQV;EuErzQM;IAOI,8BAAA;EvEizQV;EuExzQM;IAOI,4BAAA;EvEozQV;EuE3zQM;IAOI,4BAAA;EvEuzQV;EuE9zQM;IAOI,qBAAA;EvE0zQV;EuEj0QM;IAOI,2BAAA;EvE6zQV;EuEp0QM;IAOI,0BAAA;EvEg0QV;EuEv0QM;IAOI,wBAAA;EvEm0QV;EuE10QM;IAOI,0BAAA;EvEs0QV;EuE70QM;IAOI,wBAAA;EvEy0QV;EuEh1QM;IAOI,2BAAA;IAAA,0BAAA;EvE60QV;EuEp1QM;IAOI,iCAAA;IAAA,gCAAA;EvEi1QV;EuEx1QM;IAOI,gCAAA;IAAA,+BAAA;EvEq1QV;EuE51QM;IAOI,8BAAA;IAAA,6BAAA;EvEy1QV;EuEh2QM;IAOI,gCAAA;IAAA,+BAAA;EvE61QV;EuEp2QM;IAOI,8BAAA;IAAA,6BAAA;EvEi2QV;EuEx2QM;IAOI,yBAAA;IAAA,4BAAA;EvEq2QV;EuE52QM;IAOI,+BAAA;IAAA,kCAAA;EvEy2QV;EuEh3QM;IAOI,8BAAA;IAAA,iCAAA;EvE62QV;EuEp3QM;IAOI,4BAAA;IAAA,+BAAA;EvEi3QV;EuEx3QM;IAOI,8BAAA;IAAA,iCAAA;EvEq3QV;EuE53QM;IAOI,4BAAA;IAAA,+BAAA;EvEy3QV;EuEh4QM;IAOI,yBAAA;EvE43QV;EuEn4QM;IAOI,+BAAA;EvE+3QV;EuEt4QM;IAOI,8BAAA;EvEk4QV;EuEz4QM;IAOI,4BAAA;EvEq4QV;EuE54QM;IAOI,8BAAA;EvEw4QV;EuE/4QM;IAOI,4BAAA;EvE24QV;EuEl5QM;IAOI,2BAAA;EvE84QV;EuEr5QM;IAOI,iCAAA;EvEi5QV;EuEx5QM;IAOI,gCAAA;EvEo5QV;EuE35QM;IAOI,8BAAA;EvEu5QV;EuE95QM;IAOI,gCAAA;EvE05QV;EuEj6QM;IAOI,8BAAA;EvE65QV;EuEp6QM;IAOI,4BAAA;EvEg6QV;EuEv6QM;IAOI,kCAAA;EvEm6QV;EuE16QM;IAOI,iCAAA;EvEs6QV;EuE76QM;IAOI,+BAAA;EvEy6QV;EuEh7QM;IAOI,iCAAA;EvE46QV;EuEn7QM;IAOI,+BAAA;EvE+6QV;EuEt7QM;IAOI,0BAAA;EvEk7QV;EuEz7QM;IAOI,gCAAA;EvEq7QV;EuE57QM;IAOI,+BAAA;EvEw7QV;EuE/7QM;IAOI,6BAAA;EvE27QV;EuEl8QM;IAOI,+BAAA;EvE87QV;EuEr8QM;IAOI,6BAAA;EvEi8QV;EuEx8QM;IAOI,iBAAA;EvEo8QV;EuE38QM;IAOI,uBAAA;EvEu8QV;EuE98QM;IAOI,sBAAA;EvE08QV;EuEj9QM;IAOI,oBAAA;EvE68QV;EuEp9QM;IAOI,sBAAA;EvEg9QV;EuEv9QM;IAOI,oBAAA;EvEm9QV;EuE19QM;IAOI,2BAAA;EvEs9QV;EuE79QM;IAOI,4BAAA;EvEy9QV;EuEh+QM;IAOI,6BAAA;EvE49QV;AACF;Aav+QI;E0DGI;IAOI,sBAAA;EvEi+QV;EuEx+QM;IAOI,uBAAA;EvEo+QV;EuE3+QM;IAOI,sBAAA;EvEu+QV;EuE9+QM;IAOI,0BAAA;EvE0+QV;EuEj/QM;IAOI,gCAAA;EvE6+QV;EuEp/QM;IAOI,yBAAA;EvEg/QV;EuEv/QM;IAOI,wBAAA;EvEm/QV;EuE1/QM;IAOI,yBAAA;EvEs/QV;EuE7/QM;IAOI,6BAAA;EvEy/QV;EuEhgRM;IAOI,8BAAA;EvE4/QV;EuEngRM;IAOI,wBAAA;EvE+/QV;EuEtgRM;IAOI,+BAAA;EvEkgRV;EuEzgRM;IAOI,wBAAA;EvEqgRV;EuE5gRM;IAOI,yBAAA;EvEwgRV;EuE/gRM;IAOI,8BAAA;EvE2gRV;EuElhRM;IAOI,iCAAA;EvE8gRV;EuErhRM;IAOI,sCAAA;EvEihRV;EuExhRM;IAOI,yCAAA;EvEohRV;EuE3hRM;IAOI,uBAAA;EvEuhRV;EuE9hRM;IAOI,uBAAA;EvE0hRV;EuEjiRM;IAOI,yBAAA;EvE6hRV;EuEpiRM;IAOI,yBAAA;EvEgiRV;EuEviRM;IAOI,0BAAA;EvEmiRV;EuE1iRM;IAOI,4BAAA;EvEsiRV;EuE7iRM;IAOI,kCAAA;EvEyiRV;EuEhjRM;IAOI,sCAAA;EvE4iRV;EuEnjRM;IAOI,oCAAA;EvE+iRV;EuEtjRM;IAOI,kCAAA;EvEkjRV;EuEzjRM;IAOI,yCAAA;EvEqjRV;EuE5jRM;IAOI,wCAAA;EvEwjRV;EuE/jRM;IAOI,wCAAA;EvE2jRV;EuElkRM;IAOI,kCAAA;EvE8jRV;EuErkRM;IAOI,gCAAA;EvEikRV;EuExkRM;IAOI,8BAAA;EvEokRV;EuE3kRM;IAOI,gCAAA;EvEukRV;EuE9kRM;IAOI,+BAAA;EvE0kRV;EuEjlRM;IAOI,oCAAA;EvE6kRV;EuEplRM;IAOI,kCAAA;EvEglRV;EuEvlRM;IAOI,gCAAA;EvEmlRV;EuE1lRM;IAOI,uCAAA;EvEslRV;EuE7lRM;IAOI,sCAAA;EvEylRV;EuEhmRM;IAOI,iCAAA;EvE4lRV;EuEnmRM;IAOI,2BAAA;EvE+lRV;EuEtmRM;IAOI,iCAAA;EvEkmRV;EuEzmRM;IAOI,+BAAA;EvEqmRV;EuE5mRM;IAOI,6BAAA;EvEwmRV;EuE/mRM;IAOI,+BAAA;EvE2mRV;EuElnRM;IAOI,8BAAA;EvE8mRV;EuErnRM;IAOI,oBAAA;EvEinRV;EuExnRM;IAOI,mBAAA;EvEonRV;EuE3nRM;IAOI,mBAAA;EvEunRV;EuE9nRM;IAOI,mBAAA;EvE0nRV;EuEjoRM;IAOI,mBAAA;EvE6nRV;EuEpoRM;IAOI,mBAAA;EvEgoRV;EuEvoRM;IAOI,mBAAA;EvEmoRV;EuE1oRM;IAOI,mBAAA;EvEsoRV;EuE7oRM;IAOI,oBAAA;EvEyoRV;EuEhpRM;IAOI,0BAAA;EvE4oRV;EuEnpRM;IAOI,yBAAA;EvE+oRV;EuEtpRM;IAOI,uBAAA;EvEkpRV;EuEzpRM;IAOI,yBAAA;EvEqpRV;EuE5pRM;IAOI,uBAAA;EvEwpRV;EuE/pRM;IAOI,uBAAA;EvE2pRV;EuElqRM;IAOI,0BAAA;IAAA,yBAAA;EvE+pRV;EuEtqRM;IAOI,gCAAA;IAAA,+BAAA;EvEmqRV;EuE1qRM;IAOI,+BAAA;IAAA,8BAAA;EvEuqRV;EuE9qRM;IAOI,6BAAA;IAAA,4BAAA;EvE2qRV;EuElrRM;IAOI,+BAAA;IAAA,8BAAA;EvE+qRV;EuEtrRM;IAOI,6BAAA;IAAA,4BAAA;EvEmrRV;EuE1rRM;IAOI,6BAAA;IAAA,4BAAA;EvEurRV;EuE9rRM;IAOI,wBAAA;IAAA,2BAAA;EvE2rRV;EuElsRM;IAOI,8BAAA;IAAA,iCAAA;EvE+rRV;EuEtsRM;IAOI,6BAAA;IAAA,gCAAA;EvEmsRV;EuE1sRM;IAOI,2BAAA;IAAA,8BAAA;EvEusRV;EuE9sRM;IAOI,6BAAA;IAAA,gCAAA;EvE2sRV;EuEltRM;IAOI,2BAAA;IAAA,8BAAA;EvE+sRV;EuEttRM;IAOI,2BAAA;IAAA,8BAAA;EvEmtRV;EuE1tRM;IAOI,wBAAA;EvEstRV;EuE7tRM;IAOI,8BAAA;EvEytRV;EuEhuRM;IAOI,6BAAA;EvE4tRV;EuEnuRM;IAOI,2BAAA;EvE+tRV;EuEtuRM;IAOI,6BAAA;EvEkuRV;EuEzuRM;IAOI,2BAAA;EvEquRV;EuE5uRM;IAOI,2BAAA;EvEwuRV;EuE/uRM;IAOI,0BAAA;EvE2uRV;EuElvRM;IAOI,gCAAA;EvE8uRV;EuErvRM;IAOI,+BAAA;EvEivRV;EuExvRM;IAOI,6BAAA;EvEovRV;EuE3vRM;IAOI,+BAAA;EvEuvRV;EuE9vRM;IAOI,6BAAA;EvE0vRV;EuEjwRM;IAOI,6BAAA;EvE6vRV;EuEpwRM;IAOI,2BAAA;EvEgwRV;EuEvwRM;IAOI,iCAAA;EvEmwRV;EuE1wRM;IAOI,gCAAA;EvEswRV;EuE7wRM;IAOI,8BAAA;EvEywRV;EuEhxRM;IAOI,gCAAA;EvE4wRV;EuEnxRM;IAOI,8BAAA;EvE+wRV;EuEtxRM;IAOI,8BAAA;EvEkxRV;EuEzxRM;IAOI,yBAAA;EvEqxRV;EuE5xRM;IAOI,+BAAA;EvEwxRV;EuE/xRM;IAOI,8BAAA;EvE2xRV;EuElyRM;IAOI,4BAAA;EvE8xRV;EuEryRM;IAOI,8BAAA;EvEiyRV;EuExyRM;IAOI,4BAAA;EvEoyRV;EuE3yRM;IAOI,4BAAA;EvEuyRV;EuE9yRM;IAOI,qBAAA;EvE0yRV;EuEjzRM;IAOI,2BAAA;EvE6yRV;EuEpzRM;IAOI,0BAAA;EvEgzRV;EuEvzRM;IAOI,wBAAA;EvEmzRV;EuE1zRM;IAOI,0BAAA;EvEszRV;EuE7zRM;IAOI,wBAAA;EvEyzRV;EuEh0RM;IAOI,2BAAA;IAAA,0BAAA;EvE6zRV;EuEp0RM;IAOI,iCAAA;IAAA,gCAAA;EvEi0RV;EuEx0RM;IAOI,gCAAA;IAAA,+BAAA;EvEq0RV;EuE50RM;IAOI,8BAAA;IAAA,6BAAA;EvEy0RV;EuEh1RM;IAOI,gCAAA;IAAA,+BAAA;EvE60RV;EuEp1RM;IAOI,8BAAA;IAAA,6BAAA;EvEi1RV;EuEx1RM;IAOI,yBAAA;IAAA,4BAAA;EvEq1RV;EuE51RM;IAOI,+BAAA;IAAA,kCAAA;EvEy1RV;EuEh2RM;IAOI,8BAAA;IAAA,iCAAA;EvE61RV;EuEp2RM;IAOI,4BAAA;IAAA,+BAAA;EvEi2RV;EuEx2RM;IAOI,8BAAA;IAAA,iCAAA;EvEq2RV;EuE52RM;IAOI,4BAAA;IAAA,+BAAA;EvEy2RV;EuEh3RM;IAOI,yBAAA;EvE42RV;EuEn3RM;IAOI,+BAAA;EvE+2RV;EuEt3RM;IAOI,8BAAA;EvEk3RV;EuEz3RM;IAOI,4BAAA;EvEq3RV;EuE53RM;IAOI,8BAAA;EvEw3RV;EuE/3RM;IAOI,4BAAA;EvE23RV;EuEl4RM;IAOI,2BAAA;EvE83RV;EuEr4RM;IAOI,iCAAA;EvEi4RV;EuEx4RM;IAOI,gCAAA;EvEo4RV;EuE34RM;IAOI,8BAAA;EvEu4RV;EuE94RM;IAOI,gCAAA;EvE04RV;EuEj5RM;IAOI,8BAAA;EvE64RV;EuEp5RM;IAOI,4BAAA;EvEg5RV;EuEv5RM;IAOI,kCAAA;EvEm5RV;EuE15RM;IAOI,iCAAA;EvEs5RV;EuE75RM;IAOI,+BAAA;EvEy5RV;EuEh6RM;IAOI,iCAAA;EvE45RV;EuEn6RM;IAOI,+BAAA;EvE+5RV;EuEt6RM;IAOI,0BAAA;EvEk6RV;EuEz6RM;IAOI,gCAAA;EvEq6RV;EuE56RM;IAOI,+BAAA;EvEw6RV;EuE/6RM;IAOI,6BAAA;EvE26RV;EuEl7RM;IAOI,+BAAA;EvE86RV;EuEr7RM;IAOI,6BAAA;EvEi7RV;EuEx7RM;IAOI,iBAAA;EvEo7RV;EuE37RM;IAOI,uBAAA;EvEu7RV;EuE97RM;IAOI,sBAAA;EvE07RV;EuEj8RM;IAOI,oBAAA;EvE67RV;EuEp8RM;IAOI,sBAAA;EvEg8RV;EuEv8RM;IAOI,oBAAA;EvEm8RV;EuE18RM;IAOI,2BAAA;EvEs8RV;EuE78RM;IAOI,4BAAA;EvEy8RV;EuEh9RM;IAOI,6BAAA;EvE48RV;AACF;Aav9RI;E0DGI;IAOI,sBAAA;EvEi9RV;EuEx9RM;IAOI,uBAAA;EvEo9RV;EuE39RM;IAOI,sBAAA;EvEu9RV;EuE99RM;IAOI,0BAAA;EvE09RV;EuEj+RM;IAOI,gCAAA;EvE69RV;EuEp+RM;IAOI,yBAAA;EvEg+RV;EuEv+RM;IAOI,wBAAA;EvEm+RV;EuE1+RM;IAOI,yBAAA;EvEs+RV;EuE7+RM;IAOI,6BAAA;EvEy+RV;EuEh/RM;IAOI,8BAAA;EvE4+RV;EuEn/RM;IAOI,wBAAA;EvE++RV;EuEt/RM;IAOI,+BAAA;EvEk/RV;EuEz/RM;IAOI,wBAAA;EvEq/RV;EuE5/RM;IAOI,yBAAA;EvEw/RV;EuE//RM;IAOI,8BAAA;EvE2/RV;EuElgSM;IAOI,iCAAA;EvE8/RV;EuErgSM;IAOI,sCAAA;EvEigSV;EuExgSM;IAOI,yCAAA;EvEogSV;EuE3gSM;IAOI,uBAAA;EvEugSV;EuE9gSM;IAOI,uBAAA;EvE0gSV;EuEjhSM;IAOI,yBAAA;EvE6gSV;EuEphSM;IAOI,yBAAA;EvEghSV;EuEvhSM;IAOI,0BAAA;EvEmhSV;EuE1hSM;IAOI,4BAAA;EvEshSV;EuE7hSM;IAOI,kCAAA;EvEyhSV;EuEhiSM;IAOI,sCAAA;EvE4hSV;EuEniSM;IAOI,oCAAA;EvE+hSV;EuEtiSM;IAOI,kCAAA;EvEkiSV;EuEziSM;IAOI,yCAAA;EvEqiSV;EuE5iSM;IAOI,wCAAA;EvEwiSV;EuE/iSM;IAOI,wCAAA;EvE2iSV;EuEljSM;IAOI,kCAAA;EvE8iSV;EuErjSM;IAOI,gCAAA;EvEijSV;EuExjSM;IAOI,8BAAA;EvEojSV;EuE3jSM;IAOI,gCAAA;EvEujSV;EuE9jSM;IAOI,+BAAA;EvE0jSV;EuEjkSM;IAOI,oCAAA;EvE6jSV;EuEpkSM;IAOI,kCAAA;EvEgkSV;EuEvkSM;IAOI,gCAAA;EvEmkSV;EuE1kSM;IAOI,uCAAA;EvEskSV;EuE7kSM;IAOI,sCAAA;EvEykSV;EuEhlSM;IAOI,iCAAA;EvE4kSV;EuEnlSM;IAOI,2BAAA;EvE+kSV;EuEtlSM;IAOI,iCAAA;EvEklSV;EuEzlSM;IAOI,+BAAA;EvEqlSV;EuE5lSM;IAOI,6BAAA;EvEwlSV;EuE/lSM;IAOI,+BAAA;EvE2lSV;EuElmSM;IAOI,8BAAA;EvE8lSV;EuErmSM;IAOI,oBAAA;EvEimSV;EuExmSM;IAOI,mBAAA;EvEomSV;EuE3mSM;IAOI,mBAAA;EvEumSV;EuE9mSM;IAOI,mBAAA;EvE0mSV;EuEjnSM;IAOI,mBAAA;EvE6mSV;EuEpnSM;IAOI,mBAAA;EvEgnSV;EuEvnSM;IAOI,mBAAA;EvEmnSV;EuE1nSM;IAOI,mBAAA;EvEsnSV;EuE7nSM;IAOI,oBAAA;EvEynSV;EuEhoSM;IAOI,0BAAA;EvE4nSV;EuEnoSM;IAOI,yBAAA;EvE+nSV;EuEtoSM;IAOI,uBAAA;EvEkoSV;EuEzoSM;IAOI,yBAAA;EvEqoSV;EuE5oSM;IAOI,uBAAA;EvEwoSV;EuE/oSM;IAOI,uBAAA;EvE2oSV;EuElpSM;IAOI,0BAAA;IAAA,yBAAA;EvE+oSV;EuEtpSM;IAOI,gCAAA;IAAA,+BAAA;EvEmpSV;EuE1pSM;IAOI,+BAAA;IAAA,8BAAA;EvEupSV;EuE9pSM;IAOI,6BAAA;IAAA,4BAAA;EvE2pSV;EuElqSM;IAOI,+BAAA;IAAA,8BAAA;EvE+pSV;EuEtqSM;IAOI,6BAAA;IAAA,4BAAA;EvEmqSV;EuE1qSM;IAOI,6BAAA;IAAA,4BAAA;EvEuqSV;EuE9qSM;IAOI,wBAAA;IAAA,2BAAA;EvE2qSV;EuElrSM;IAOI,8BAAA;IAAA,iCAAA;EvE+qSV;EuEtrSM;IAOI,6BAAA;IAAA,gCAAA;EvEmrSV;EuE1rSM;IAOI,2BAAA;IAAA,8BAAA;EvEurSV;EuE9rSM;IAOI,6BAAA;IAAA,gCAAA;EvE2rSV;EuElsSM;IAOI,2BAAA;IAAA,8BAAA;EvE+rSV;EuEtsSM;IAOI,2BAAA;IAAA,8BAAA;EvEmsSV;EuE1sSM;IAOI,wBAAA;EvEssSV;EuE7sSM;IAOI,8BAAA;EvEysSV;EuEhtSM;IAOI,6BAAA;EvE4sSV;EuEntSM;IAOI,2BAAA;EvE+sSV;EuEttSM;IAOI,6BAAA;EvEktSV;EuEztSM;IAOI,2BAAA;EvEqtSV;EuE5tSM;IAOI,2BAAA;EvEwtSV;EuE/tSM;IAOI,0BAAA;EvE2tSV;EuEluSM;IAOI,gCAAA;EvE8tSV;EuEruSM;IAOI,+BAAA;EvEiuSV;EuExuSM;IAOI,6BAAA;EvEouSV;EuE3uSM;IAOI,+BAAA;EvEuuSV;EuE9uSM;IAOI,6BAAA;EvE0uSV;EuEjvSM;IAOI,6BAAA;EvE6uSV;EuEpvSM;IAOI,2BAAA;EvEgvSV;EuEvvSM;IAOI,iCAAA;EvEmvSV;EuE1vSM;IAOI,gCAAA;EvEsvSV;EuE7vSM;IAOI,8BAAA;EvEyvSV;EuEhwSM;IAOI,gCAAA;EvE4vSV;EuEnwSM;IAOI,8BAAA;EvE+vSV;EuEtwSM;IAOI,8BAAA;EvEkwSV;EuEzwSM;IAOI,yBAAA;EvEqwSV;EuE5wSM;IAOI,+BAAA;EvEwwSV;EuE/wSM;IAOI,8BAAA;EvE2wSV;EuElxSM;IAOI,4BAAA;EvE8wSV;EuErxSM;IAOI,8BAAA;EvEixSV;EuExxSM;IAOI,4BAAA;EvEoxSV;EuE3xSM;IAOI,4BAAA;EvEuxSV;EuE9xSM;IAOI,qBAAA;EvE0xSV;EuEjySM;IAOI,2BAAA;EvE6xSV;EuEpySM;IAOI,0BAAA;EvEgySV;EuEvySM;IAOI,wBAAA;EvEmySV;EuE1ySM;IAOI,0BAAA;EvEsySV;EuE7ySM;IAOI,wBAAA;EvEyySV;EuEhzSM;IAOI,2BAAA;IAAA,0BAAA;EvE6ySV;EuEpzSM;IAOI,iCAAA;IAAA,gCAAA;EvEizSV;EuExzSM;IAOI,gCAAA;IAAA,+BAAA;EvEqzSV;EuE5zSM;IAOI,8BAAA;IAAA,6BAAA;EvEyzSV;EuEh0SM;IAOI,gCAAA;IAAA,+BAAA;EvE6zSV;EuEp0SM;IAOI,8BAAA;IAAA,6BAAA;EvEi0SV;EuEx0SM;IAOI,yBAAA;IAAA,4BAAA;EvEq0SV;EuE50SM;IAOI,+BAAA;IAAA,kCAAA;EvEy0SV;EuEh1SM;IAOI,8BAAA;IAAA,iCAAA;EvE60SV;EuEp1SM;IAOI,4BAAA;IAAA,+BAAA;EvEi1SV;EuEx1SM;IAOI,8BAAA;IAAA,iCAAA;EvEq1SV;EuE51SM;IAOI,4BAAA;IAAA,+BAAA;EvEy1SV;EuEh2SM;IAOI,yBAAA;EvE41SV;EuEn2SM;IAOI,+BAAA;EvE+1SV;EuEt2SM;IAOI,8BAAA;EvEk2SV;EuEz2SM;IAOI,4BAAA;EvEq2SV;EuE52SM;IAOI,8BAAA;EvEw2SV;EuE/2SM;IAOI,4BAAA;EvE22SV;EuEl3SM;IAOI,2BAAA;EvE82SV;EuEr3SM;IAOI,iCAAA;EvEi3SV;EuEx3SM;IAOI,gCAAA;EvEo3SV;EuE33SM;IAOI,8BAAA;EvEu3SV;EuE93SM;IAOI,gCAAA;EvE03SV;EuEj4SM;IAOI,8BAAA;EvE63SV;EuEp4SM;IAOI,4BAAA;EvEg4SV;EuEv4SM;IAOI,kCAAA;EvEm4SV;EuE14SM;IAOI,iCAAA;EvEs4SV;EuE74SM;IAOI,+BAAA;EvEy4SV;EuEh5SM;IAOI,iCAAA;EvE44SV;EuEn5SM;IAOI,+BAAA;EvE+4SV;EuEt5SM;IAOI,0BAAA;EvEk5SV;EuEz5SM;IAOI,gCAAA;EvEq5SV;EuE55SM;IAOI,+BAAA;EvEw5SV;EuE/5SM;IAOI,6BAAA;EvE25SV;EuEl6SM;IAOI,+BAAA;EvE85SV;EuEr6SM;IAOI,6BAAA;EvEi6SV;EuEx6SM;IAOI,iBAAA;EvEo6SV;EuE36SM;IAOI,uBAAA;EvEu6SV;EuE96SM;IAOI,sBAAA;EvE06SV;EuEj7SM;IAOI,oBAAA;EvE66SV;EuEp7SM;IAOI,sBAAA;EvEg7SV;EuEv7SM;IAOI,oBAAA;EvEm7SV;EuE17SM;IAOI,2BAAA;EvEs7SV;EuE77SM;IAOI,4BAAA;EvEy7SV;EuEh8SM;IAOI,6BAAA;EvE47SV;AACF;Aav8SI;E0DGI;IAOI,sBAAA;EvEi8SV;EuEx8SM;IAOI,uBAAA;EvEo8SV;EuE38SM;IAOI,sBAAA;EvEu8SV;EuE98SM;IAOI,0BAAA;EvE08SV;EuEj9SM;IAOI,gCAAA;EvE68SV;EuEp9SM;IAOI,yBAAA;EvEg9SV;EuEv9SM;IAOI,wBAAA;EvEm9SV;EuE19SM;IAOI,yBAAA;EvEs9SV;EuE79SM;IAOI,6BAAA;EvEy9SV;EuEh+SM;IAOI,8BAAA;EvE49SV;EuEn+SM;IAOI,wBAAA;EvE+9SV;EuEt+SM;IAOI,+BAAA;EvEk+SV;EuEz+SM;IAOI,wBAAA;EvEq+SV;EuE5+SM;IAOI,yBAAA;EvEw+SV;EuE/+SM;IAOI,8BAAA;EvE2+SV;EuEl/SM;IAOI,iCAAA;EvE8+SV;EuEr/SM;IAOI,sCAAA;EvEi/SV;EuEx/SM;IAOI,yCAAA;EvEo/SV;EuE3/SM;IAOI,uBAAA;EvEu/SV;EuE9/SM;IAOI,uBAAA;EvE0/SV;EuEjgTM;IAOI,yBAAA;EvE6/SV;EuEpgTM;IAOI,yBAAA;EvEggTV;EuEvgTM;IAOI,0BAAA;EvEmgTV;EuE1gTM;IAOI,4BAAA;EvEsgTV;EuE7gTM;IAOI,kCAAA;EvEygTV;EuEhhTM;IAOI,sCAAA;EvE4gTV;EuEnhTM;IAOI,oCAAA;EvE+gTV;EuEthTM;IAOI,kCAAA;EvEkhTV;EuEzhTM;IAOI,yCAAA;EvEqhTV;EuE5hTM;IAOI,wCAAA;EvEwhTV;EuE/hTM;IAOI,wCAAA;EvE2hTV;EuEliTM;IAOI,kCAAA;EvE8hTV;EuEriTM;IAOI,gCAAA;EvEiiTV;EuExiTM;IAOI,8BAAA;EvEoiTV;EuE3iTM;IAOI,gCAAA;EvEuiTV;EuE9iTM;IAOI,+BAAA;EvE0iTV;EuEjjTM;IAOI,oCAAA;EvE6iTV;EuEpjTM;IAOI,kCAAA;EvEgjTV;EuEvjTM;IAOI,gCAAA;EvEmjTV;EuE1jTM;IAOI,uCAAA;EvEsjTV;EuE7jTM;IAOI,sCAAA;EvEyjTV;EuEhkTM;IAOI,iCAAA;EvE4jTV;EuEnkTM;IAOI,2BAAA;EvE+jTV;EuEtkTM;IAOI,iCAAA;EvEkkTV;EuEzkTM;IAOI,+BAAA;EvEqkTV;EuE5kTM;IAOI,6BAAA;EvEwkTV;EuE/kTM;IAOI,+BAAA;EvE2kTV;EuEllTM;IAOI,8BAAA;EvE8kTV;EuErlTM;IAOI,oBAAA;EvEilTV;EuExlTM;IAOI,mBAAA;EvEolTV;EuE3lTM;IAOI,mBAAA;EvEulTV;EuE9lTM;IAOI,mBAAA;EvE0lTV;EuEjmTM;IAOI,mBAAA;EvE6lTV;EuEpmTM;IAOI,mBAAA;EvEgmTV;EuEvmTM;IAOI,mBAAA;EvEmmTV;EuE1mTM;IAOI,mBAAA;EvEsmTV;EuE7mTM;IAOI,oBAAA;EvEymTV;EuEhnTM;IAOI,0BAAA;EvE4mTV;EuEnnTM;IAOI,yBAAA;EvE+mTV;EuEtnTM;IAOI,uBAAA;EvEknTV;EuEznTM;IAOI,yBAAA;EvEqnTV;EuE5nTM;IAOI,uBAAA;EvEwnTV;EuE/nTM;IAOI,uBAAA;EvE2nTV;EuEloTM;IAOI,0BAAA;IAAA,yBAAA;EvE+nTV;EuEtoTM;IAOI,gCAAA;IAAA,+BAAA;EvEmoTV;EuE1oTM;IAOI,+BAAA;IAAA,8BAAA;EvEuoTV;EuE9oTM;IAOI,6BAAA;IAAA,4BAAA;EvE2oTV;EuElpTM;IAOI,+BAAA;IAAA,8BAAA;EvE+oTV;EuEtpTM;IAOI,6BAAA;IAAA,4BAAA;EvEmpTV;EuE1pTM;IAOI,6BAAA;IAAA,4BAAA;EvEupTV;EuE9pTM;IAOI,wBAAA;IAAA,2BAAA;EvE2pTV;EuElqTM;IAOI,8BAAA;IAAA,iCAAA;EvE+pTV;EuEtqTM;IAOI,6BAAA;IAAA,gCAAA;EvEmqTV;EuE1qTM;IAOI,2BAAA;IAAA,8BAAA;EvEuqTV;EuE9qTM;IAOI,6BAAA;IAAA,gCAAA;EvE2qTV;EuElrTM;IAOI,2BAAA;IAAA,8BAAA;EvE+qTV;EuEtrTM;IAOI,2BAAA;IAAA,8BAAA;EvEmrTV;EuE1rTM;IAOI,wBAAA;EvEsrTV;EuE7rTM;IAOI,8BAAA;EvEyrTV;EuEhsTM;IAOI,6BAAA;EvE4rTV;EuEnsTM;IAOI,2BAAA;EvE+rTV;EuEtsTM;IAOI,6BAAA;EvEksTV;EuEzsTM;IAOI,2BAAA;EvEqsTV;EuE5sTM;IAOI,2BAAA;EvEwsTV;EuE/sTM;IAOI,0BAAA;EvE2sTV;EuEltTM;IAOI,gCAAA;EvE8sTV;EuErtTM;IAOI,+BAAA;EvEitTV;EuExtTM;IAOI,6BAAA;EvEotTV;EuE3tTM;IAOI,+BAAA;EvEutTV;EuE9tTM;IAOI,6BAAA;EvE0tTV;EuEjuTM;IAOI,6BAAA;EvE6tTV;EuEpuTM;IAOI,2BAAA;EvEguTV;EuEvuTM;IAOI,iCAAA;EvEmuTV;EuE1uTM;IAOI,gCAAA;EvEsuTV;EuE7uTM;IAOI,8BAAA;EvEyuTV;EuEhvTM;IAOI,gCAAA;EvE4uTV;EuEnvTM;IAOI,8BAAA;EvE+uTV;EuEtvTM;IAOI,8BAAA;EvEkvTV;EuEzvTM;IAOI,yBAAA;EvEqvTV;EuE5vTM;IAOI,+BAAA;EvEwvTV;EuE/vTM;IAOI,8BAAA;EvE2vTV;EuElwTM;IAOI,4BAAA;EvE8vTV;EuErwTM;IAOI,8BAAA;EvEiwTV;EuExwTM;IAOI,4BAAA;EvEowTV;EuE3wTM;IAOI,4BAAA;EvEuwTV;EuE9wTM;IAOI,qBAAA;EvE0wTV;EuEjxTM;IAOI,2BAAA;EvE6wTV;EuEpxTM;IAOI,0BAAA;EvEgxTV;EuEvxTM;IAOI,wBAAA;EvEmxTV;EuE1xTM;IAOI,0BAAA;EvEsxTV;EuE7xTM;IAOI,wBAAA;EvEyxTV;EuEhyTM;IAOI,2BAAA;IAAA,0BAAA;EvE6xTV;EuEpyTM;IAOI,iCAAA;IAAA,gCAAA;EvEiyTV;EuExyTM;IAOI,gCAAA;IAAA,+BAAA;EvEqyTV;EuE5yTM;IAOI,8BAAA;IAAA,6BAAA;EvEyyTV;EuEhzTM;IAOI,gCAAA;IAAA,+BAAA;EvE6yTV;EuEpzTM;IAOI,8BAAA;IAAA,6BAAA;EvEizTV;EuExzTM;IAOI,yBAAA;IAAA,4BAAA;EvEqzTV;EuE5zTM;IAOI,+BAAA;IAAA,kCAAA;EvEyzTV;EuEh0TM;IAOI,8BAAA;IAAA,iCAAA;EvE6zTV;EuEp0TM;IAOI,4BAAA;IAAA,+BAAA;EvEi0TV;EuEx0TM;IAOI,8BAAA;IAAA,iCAAA;EvEq0TV;EuE50TM;IAOI,4BAAA;IAAA,+BAAA;EvEy0TV;EuEh1TM;IAOI,yBAAA;EvE40TV;EuEn1TM;IAOI,+BAAA;EvE+0TV;EuEt1TM;IAOI,8BAAA;EvEk1TV;EuEz1TM;IAOI,4BAAA;EvEq1TV;EuE51TM;IAOI,8BAAA;EvEw1TV;EuE/1TM;IAOI,4BAAA;EvE21TV;EuEl2TM;IAOI,2BAAA;EvE81TV;EuEr2TM;IAOI,iCAAA;EvEi2TV;EuEx2TM;IAOI,gCAAA;EvEo2TV;EuE32TM;IAOI,8BAAA;EvEu2TV;EuE92TM;IAOI,gCAAA;EvE02TV;EuEj3TM;IAOI,8BAAA;EvE62TV;EuEp3TM;IAOI,4BAAA;EvEg3TV;EuEv3TM;IAOI,kCAAA;EvEm3TV;EuE13TM;IAOI,iCAAA;EvEs3TV;EuE73TM;IAOI,+BAAA;EvEy3TV;EuEh4TM;IAOI,iCAAA;EvE43TV;EuEn4TM;IAOI,+BAAA;EvE+3TV;EuEt4TM;IAOI,0BAAA;EvEk4TV;EuEz4TM;IAOI,gCAAA;EvEq4TV;EuE54TM;IAOI,+BAAA;EvEw4TV;EuE/4TM;IAOI,6BAAA;EvE24TV;EuEl5TM;IAOI,+BAAA;EvE84TV;EuEr5TM;IAOI,6BAAA;EvEi5TV;EuEx5TM;IAOI,iBAAA;EvEo5TV;EuE35TM;IAOI,uBAAA;EvEu5TV;EuE95TM;IAOI,sBAAA;EvE05TV;EuEj6TM;IAOI,oBAAA;EvE65TV;EuEp6TM;IAOI,sBAAA;EvEg6TV;EuEv6TM;IAOI,oBAAA;EvEm6TV;EuE16TM;IAOI,2BAAA;EvEs6TV;EuE76TM;IAOI,4BAAA;EvEy6TV;EuEh7TM;IAOI,6BAAA;EvE46TV;AACF;Aav7TI;E0DGI;IAOI,sBAAA;EvEi7TV;EuEx7TM;IAOI,uBAAA;EvEo7TV;EuE37TM;IAOI,sBAAA;EvEu7TV;EuE97TM;IAOI,0BAAA;EvE07TV;EuEj8TM;IAOI,gCAAA;EvE67TV;EuEp8TM;IAOI,yBAAA;EvEg8TV;EuEv8TM;IAOI,wBAAA;EvEm8TV;EuE18TM;IAOI,yBAAA;EvEs8TV;EuE78TM;IAOI,6BAAA;EvEy8TV;EuEh9TM;IAOI,8BAAA;EvE48TV;EuEn9TM;IAOI,wBAAA;EvE+8TV;EuEt9TM;IAOI,+BAAA;EvEk9TV;EuEz9TM;IAOI,wBAAA;EvEq9TV;EuE59TM;IAOI,yBAAA;EvEw9TV;EuE/9TM;IAOI,8BAAA;EvE29TV;EuEl+TM;IAOI,iCAAA;EvE89TV;EuEr+TM;IAOI,sCAAA;EvEi+TV;EuEx+TM;IAOI,yCAAA;EvEo+TV;EuE3+TM;IAOI,uBAAA;EvEu+TV;EuE9+TM;IAOI,uBAAA;EvE0+TV;EuEj/TM;IAOI,yBAAA;EvE6+TV;EuEp/TM;IAOI,yBAAA;EvEg/TV;EuEv/TM;IAOI,0BAAA;EvEm/TV;EuE1/TM;IAOI,4BAAA;EvEs/TV;EuE7/TM;IAOI,kCAAA;EvEy/TV;EuEhgUM;IAOI,sCAAA;EvE4/TV;EuEngUM;IAOI,oCAAA;EvE+/TV;EuEtgUM;IAOI,kCAAA;EvEkgUV;EuEzgUM;IAOI,yCAAA;EvEqgUV;EuE5gUM;IAOI,wCAAA;EvEwgUV;EuE/gUM;IAOI,wCAAA;EvE2gUV;EuElhUM;IAOI,kCAAA;EvE8gUV;EuErhUM;IAOI,gCAAA;EvEihUV;EuExhUM;IAOI,8BAAA;EvEohUV;EuE3hUM;IAOI,gCAAA;EvEuhUV;EuE9hUM;IAOI,+BAAA;EvE0hUV;EuEjiUM;IAOI,oCAAA;EvE6hUV;EuEpiUM;IAOI,kCAAA;EvEgiUV;EuEviUM;IAOI,gCAAA;EvEmiUV;EuE1iUM;IAOI,uCAAA;EvEsiUV;EuE7iUM;IAOI,sCAAA;EvEyiUV;EuEhjUM;IAOI,iCAAA;EvE4iUV;EuEnjUM;IAOI,2BAAA;EvE+iUV;EuEtjUM;IAOI,iCAAA;EvEkjUV;EuEzjUM;IAOI,+BAAA;EvEqjUV;EuE5jUM;IAOI,6BAAA;EvEwjUV;EuE/jUM;IAOI,+BAAA;EvE2jUV;EuElkUM;IAOI,8BAAA;EvE8jUV;EuErkUM;IAOI,oBAAA;EvEikUV;EuExkUM;IAOI,mBAAA;EvEokUV;EuE3kUM;IAOI,mBAAA;EvEukUV;EuE9kUM;IAOI,mBAAA;EvE0kUV;EuEjlUM;IAOI,mBAAA;EvE6kUV;EuEplUM;IAOI,mBAAA;EvEglUV;EuEvlUM;IAOI,mBAAA;EvEmlUV;EuE1lUM;IAOI,mBAAA;EvEslUV;EuE7lUM;IAOI,oBAAA;EvEylUV;EuEhmUM;IAOI,0BAAA;EvE4lUV;EuEnmUM;IAOI,yBAAA;EvE+lUV;EuEtmUM;IAOI,uBAAA;EvEkmUV;EuEzmUM;IAOI,yBAAA;EvEqmUV;EuE5mUM;IAOI,uBAAA;EvEwmUV;EuE/mUM;IAOI,uBAAA;EvE2mUV;EuElnUM;IAOI,0BAAA;IAAA,yBAAA;EvE+mUV;EuEtnUM;IAOI,gCAAA;IAAA,+BAAA;EvEmnUV;EuE1nUM;IAOI,+BAAA;IAAA,8BAAA;EvEunUV;EuE9nUM;IAOI,6BAAA;IAAA,4BAAA;EvE2nUV;EuEloUM;IAOI,+BAAA;IAAA,8BAAA;EvE+nUV;EuEtoUM;IAOI,6BAAA;IAAA,4BAAA;EvEmoUV;EuE1oUM;IAOI,6BAAA;IAAA,4BAAA;EvEuoUV;EuE9oUM;IAOI,wBAAA;IAAA,2BAAA;EvE2oUV;EuElpUM;IAOI,8BAAA;IAAA,iCAAA;EvE+oUV;EuEtpUM;IAOI,6BAAA;IAAA,gCAAA;EvEmpUV;EuE1pUM;IAOI,2BAAA;IAAA,8BAAA;EvEupUV;EuE9pUM;IAOI,6BAAA;IAAA,gCAAA;EvE2pUV;EuElqUM;IAOI,2BAAA;IAAA,8BAAA;EvE+pUV;EuEtqUM;IAOI,2BAAA;IAAA,8BAAA;EvEmqUV;EuE1qUM;IAOI,wBAAA;EvEsqUV;EuE7qUM;IAOI,8BAAA;EvEyqUV;EuEhrUM;IAOI,6BAAA;EvE4qUV;EuEnrUM;IAOI,2BAAA;EvE+qUV;EuEtrUM;IAOI,6BAAA;EvEkrUV;EuEzrUM;IAOI,2BAAA;EvEqrUV;EuE5rUM;IAOI,2BAAA;EvEwrUV;EuE/rUM;IAOI,0BAAA;EvE2rUV;EuElsUM;IAOI,gCAAA;EvE8rUV;EuErsUM;IAOI,+BAAA;EvEisUV;EuExsUM;IAOI,6BAAA;EvEosUV;EuE3sUM;IAOI,+BAAA;EvEusUV;EuE9sUM;IAOI,6BAAA;EvE0sUV;EuEjtUM;IAOI,6BAAA;EvE6sUV;EuEptUM;IAOI,2BAAA;EvEgtUV;EuEvtUM;IAOI,iCAAA;EvEmtUV;EuE1tUM;IAOI,gCAAA;EvEstUV;EuE7tUM;IAOI,8BAAA;EvEytUV;EuEhuUM;IAOI,gCAAA;EvE4tUV;EuEnuUM;IAOI,8BAAA;EvE+tUV;EuEtuUM;IAOI,8BAAA;EvEkuUV;EuEzuUM;IAOI,yBAAA;EvEquUV;EuE5uUM;IAOI,+BAAA;EvEwuUV;EuE/uUM;IAOI,8BAAA;EvE2uUV;EuElvUM;IAOI,4BAAA;EvE8uUV;EuErvUM;IAOI,8BAAA;EvEivUV;EuExvUM;IAOI,4BAAA;EvEovUV;EuE3vUM;IAOI,4BAAA;EvEuvUV;EuE9vUM;IAOI,qBAAA;EvE0vUV;EuEjwUM;IAOI,2BAAA;EvE6vUV;EuEpwUM;IAOI,0BAAA;EvEgwUV;EuEvwUM;IAOI,wBAAA;EvEmwUV;EuE1wUM;IAOI,0BAAA;EvEswUV;EuE7wUM;IAOI,wBAAA;EvEywUV;EuEhxUM;IAOI,2BAAA;IAAA,0BAAA;EvE6wUV;EuEpxUM;IAOI,iCAAA;IAAA,gCAAA;EvEixUV;EuExxUM;IAOI,gCAAA;IAAA,+BAAA;EvEqxUV;EuE5xUM;IAOI,8BAAA;IAAA,6BAAA;EvEyxUV;EuEhyUM;IAOI,gCAAA;IAAA,+BAAA;EvE6xUV;EuEpyUM;IAOI,8BAAA;IAAA,6BAAA;EvEiyUV;EuExyUM;IAOI,yBAAA;IAAA,4BAAA;EvEqyUV;EuE5yUM;IAOI,+BAAA;IAAA,kCAAA;EvEyyUV;EuEhzUM;IAOI,8BAAA;IAAA,iCAAA;EvE6yUV;EuEpzUM;IAOI,4BAAA;IAAA,+BAAA;EvEizUV;EuExzUM;IAOI,8BAAA;IAAA,iCAAA;EvEqzUV;EuE5zUM;IAOI,4BAAA;IAAA,+BAAA;EvEyzUV;EuEh0UM;IAOI,yBAAA;EvE4zUV;EuEn0UM;IAOI,+BAAA;EvE+zUV;EuEt0UM;IAOI,8BAAA;EvEk0UV;EuEz0UM;IAOI,4BAAA;EvEq0UV;EuE50UM;IAOI,8BAAA;EvEw0UV;EuE/0UM;IAOI,4BAAA;EvE20UV;EuEl1UM;IAOI,2BAAA;EvE80UV;EuEr1UM;IAOI,iCAAA;EvEi1UV;EuEx1UM;IAOI,gCAAA;EvEo1UV;EuE31UM;IAOI,8BAAA;EvEu1UV;EuE91UM;IAOI,gCAAA;EvE01UV;EuEj2UM;IAOI,8BAAA;EvE61UV;EuEp2UM;IAOI,4BAAA;EvEg2UV;EuEv2UM;IAOI,kCAAA;EvEm2UV;EuE12UM;IAOI,iCAAA;EvEs2UV;EuE72UM;IAOI,+BAAA;EvEy2UV;EuEh3UM;IAOI,iCAAA;EvE42UV;EuEn3UM;IAOI,+BAAA;EvE+2UV;EuEt3UM;IAOI,0BAAA;EvEk3UV;EuEz3UM;IAOI,gCAAA;EvEq3UV;EuE53UM;IAOI,+BAAA;EvEw3UV;EuE/3UM;IAOI,6BAAA;EvE23UV;EuEl4UM;IAOI,+BAAA;EvE83UV;EuEr4UM;IAOI,6BAAA;EvEi4UV;EuEx4UM;IAOI,iBAAA;EvEo4UV;EuE34UM;IAOI,uBAAA;EvEu4UV;EuE94UM;IAOI,sBAAA;EvE04UV;EuEj5UM;IAOI,oBAAA;EvE64UV;EuEp5UM;IAOI,sBAAA;EvEg5UV;EuEv5UM;IAOI,oBAAA;EvEm5UV;EuE15UM;IAOI,2BAAA;EvEs5UV;EuE75UM;IAOI,4BAAA;EvEy5UV;EuEh6UM;IAOI,6BAAA;EvE45UV;AACF;AwEn9UA;ED+CQ;IAOI,4BAAA;EvEi6UV;EuEx6UM;IAOI,0BAAA;EvEo6UV;EuE36UM;IAOI,6BAAA;EvEu6UV;EuE96UM;IAOI,4BAAA;EvE06UV;AACF;AwE98UA;ED4BQ;IAOI,0BAAA;EvE+6UV;EuEt7UM;IAOI,gCAAA;EvEk7UV;EuEz7UM;IAOI,yBAAA;EvEq7UV;EuE57UM;IAOI,wBAAA;EvEw7UV;EuE/7UM;IAOI,yBAAA;EvE27UV;EuEl8UM;IAOI,6BAAA;EvE87UV;EuEr8UM;IAOI,8BAAA;EvEi8UV;EuEx8UM;IAOI,wBAAA;EvEo8UV;EuE38UM;IAOI,+BAAA;EvEu8UV;EuE98UM;IAOI,wBAAA;EvE08UV;AACF","file":"bootstrap.css","sourcesContent":["@charset \"UTF-8\";\n/*!\n * Bootstrap v5.2.2 (https://getbootstrap.com/)\n * Copyright 2011-2022 The Bootstrap Authors\n * Copyright 2011-2022 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n */\n:root {\n --bs-blue: #0d6efd;\n --bs-indigo: #6610f2;\n --bs-purple: #6f42c1;\n --bs-pink: #d63384;\n --bs-red: #dc3545;\n --bs-orange: #fd7e14;\n --bs-yellow: #ffc107;\n --bs-green: #198754;\n --bs-teal: #20c997;\n --bs-cyan: #0dcaf0;\n --bs-black: #000;\n --bs-white: #fff;\n --bs-gray: #6c757d;\n --bs-gray-dark: #343a40;\n --bs-gray-100: #f8f9fa;\n --bs-gray-200: #e9ecef;\n --bs-gray-300: #dee2e6;\n --bs-gray-400: #ced4da;\n --bs-gray-500: #adb5bd;\n --bs-gray-600: #6c757d;\n --bs-gray-700: #495057;\n --bs-gray-800: #343a40;\n --bs-gray-900: #212529;\n --bs-primary: #0d6efd;\n --bs-secondary: #6c757d;\n --bs-success: #198754;\n --bs-info: #0dcaf0;\n --bs-warning: #ffc107;\n --bs-danger: #dc3545;\n --bs-light: #f8f9fa;\n --bs-dark: #212529;\n --bs-primary-rgb: 13, 110, 253;\n --bs-secondary-rgb: 108, 117, 125;\n --bs-success-rgb: 25, 135, 84;\n --bs-info-rgb: 13, 202, 240;\n --bs-warning-rgb: 255, 193, 7;\n --bs-danger-rgb: 220, 53, 69;\n --bs-light-rgb: 248, 249, 250;\n --bs-dark-rgb: 33, 37, 41;\n --bs-white-rgb: 255, 255, 255;\n --bs-black-rgb: 0, 0, 0;\n --bs-body-color-rgb: 33, 37, 41;\n --bs-body-bg-rgb: 255, 255, 255;\n --bs-font-sans-serif: system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));\n --bs-body-font-family: var(--bs-font-sans-serif);\n --bs-body-font-size: 1rem;\n --bs-body-font-weight: 400;\n --bs-body-line-height: 1.5;\n --bs-body-color: #212529;\n --bs-body-bg: #fff;\n --bs-border-width: 1px;\n --bs-border-style: solid;\n --bs-border-color: #dee2e6;\n --bs-border-color-translucent: rgba(0, 0, 0, 0.175);\n --bs-border-radius: 0.375rem;\n --bs-border-radius-sm: 0.25rem;\n --bs-border-radius-lg: 0.5rem;\n --bs-border-radius-xl: 1rem;\n --bs-border-radius-2xl: 2rem;\n --bs-border-radius-pill: 50rem;\n --bs-link-color: #0d6efd;\n --bs-link-hover-color: #0a58ca;\n --bs-code-color: #d63384;\n --bs-highlight-bg: #fff3cd;\n}\n\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n :root {\n scroll-behavior: smooth;\n }\n}\n\nbody {\n margin: 0;\n font-family: var(--bs-body-font-family);\n font-size: var(--bs-body-font-size);\n font-weight: var(--bs-body-font-weight);\n line-height: var(--bs-body-line-height);\n color: var(--bs-body-color);\n text-align: var(--bs-body-text-align);\n background-color: var(--bs-body-bg);\n -webkit-text-size-adjust: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\nhr {\n margin: 1rem 0;\n color: inherit;\n border: 0;\n border-top: 1px solid;\n opacity: 0.25;\n}\n\nh6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {\n margin-top: 0;\n margin-bottom: 0.5rem;\n font-weight: 500;\n line-height: 1.2;\n}\n\nh1, .h1 {\n font-size: calc(1.375rem + 1.5vw);\n}\n@media (min-width: 1200px) {\n h1, .h1 {\n font-size: 2.5rem;\n }\n}\n\nh2, .h2 {\n font-size: calc(1.325rem + 0.9vw);\n}\n@media (min-width: 1200px) {\n h2, .h2 {\n font-size: 2rem;\n }\n}\n\nh3, .h3 {\n font-size: calc(1.3rem + 0.6vw);\n}\n@media (min-width: 1200px) {\n h3, .h3 {\n font-size: 1.75rem;\n }\n}\n\nh4, .h4 {\n font-size: calc(1.275rem + 0.3vw);\n}\n@media (min-width: 1200px) {\n h4, .h4 {\n font-size: 1.5rem;\n }\n}\n\nh5, .h5 {\n font-size: 1.25rem;\n}\n\nh6, .h6 {\n font-size: 1rem;\n}\n\np {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nabbr[title] {\n text-decoration: underline dotted;\n cursor: help;\n text-decoration-skip-ink: none;\n}\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\nol,\nul {\n padding-left: 2rem;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: 700;\n}\n\ndd {\n margin-bottom: 0.5rem;\n margin-left: 0;\n}\n\nblockquote {\n margin: 0 0 1rem;\n}\n\nb,\nstrong {\n font-weight: bolder;\n}\n\nsmall, .small {\n font-size: 0.875em;\n}\n\nmark, .mark {\n padding: 0.1875em;\n background-color: var(--bs-highlight-bg);\n}\n\nsub,\nsup {\n position: relative;\n font-size: 0.75em;\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\na {\n color: var(--bs-link-color);\n text-decoration: underline;\n}\na:hover {\n color: var(--bs-link-hover-color);\n}\n\na:not([href]):not([class]), a:not([href]):not([class]):hover {\n color: inherit;\n text-decoration: none;\n}\n\npre,\ncode,\nkbd,\nsamp {\n font-family: var(--bs-font-monospace);\n font-size: 1em;\n}\n\npre {\n display: block;\n margin-top: 0;\n margin-bottom: 1rem;\n overflow: auto;\n font-size: 0.875em;\n}\npre code {\n font-size: inherit;\n color: inherit;\n word-break: normal;\n}\n\ncode {\n font-size: 0.875em;\n color: var(--bs-code-color);\n word-wrap: break-word;\n}\na > code {\n color: inherit;\n}\n\nkbd {\n padding: 0.1875rem 0.375rem;\n font-size: 0.875em;\n color: var(--bs-body-bg);\n background-color: var(--bs-body-color);\n border-radius: 0.25rem;\n}\nkbd kbd {\n padding: 0;\n font-size: 1em;\n}\n\nfigure {\n margin: 0 0 1rem;\n}\n\nimg,\nsvg {\n vertical-align: middle;\n}\n\ntable {\n caption-side: bottom;\n border-collapse: collapse;\n}\n\ncaption {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n color: #6c757d;\n text-align: left;\n}\n\nth {\n text-align: inherit;\n text-align: -webkit-match-parent;\n}\n\nthead,\ntbody,\ntfoot,\ntr,\ntd,\nth {\n border-color: inherit;\n border-style: solid;\n border-width: 0;\n}\n\nlabel {\n display: inline-block;\n}\n\nbutton {\n border-radius: 0;\n}\n\nbutton:focus:not(:focus-visible) {\n outline: 0;\n}\n\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\nbutton,\nselect {\n text-transform: none;\n}\n\n[role=button] {\n cursor: pointer;\n}\n\nselect {\n word-wrap: normal;\n}\nselect:disabled {\n opacity: 1;\n}\n\n[list]:not([type=date]):not([type=datetime-local]):not([type=month]):not([type=week]):not([type=time])::-webkit-calendar-picker-indicator {\n display: none !important;\n}\n\nbutton,\n[type=button],\n[type=reset],\n[type=submit] {\n -webkit-appearance: button;\n}\nbutton:not(:disabled),\n[type=button]:not(:disabled),\n[type=reset]:not(:disabled),\n[type=submit]:not(:disabled) {\n cursor: pointer;\n}\n\n::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\ntextarea {\n resize: vertical;\n}\n\nfieldset {\n min-width: 0;\n padding: 0;\n margin: 0;\n border: 0;\n}\n\nlegend {\n float: left;\n width: 100%;\n padding: 0;\n margin-bottom: 0.5rem;\n font-size: calc(1.275rem + 0.3vw);\n line-height: inherit;\n}\n@media (min-width: 1200px) {\n legend {\n font-size: 1.5rem;\n }\n}\nlegend + * {\n clear: left;\n}\n\n::-webkit-datetime-edit-fields-wrapper,\n::-webkit-datetime-edit-text,\n::-webkit-datetime-edit-minute,\n::-webkit-datetime-edit-hour-field,\n::-webkit-datetime-edit-day-field,\n::-webkit-datetime-edit-month-field,\n::-webkit-datetime-edit-year-field {\n padding: 0;\n}\n\n::-webkit-inner-spin-button {\n height: auto;\n}\n\n[type=search] {\n outline-offset: -2px;\n -webkit-appearance: textfield;\n}\n\n/* rtl:raw:\n[type=\"tel\"],\n[type=\"url\"],\n[type=\"email\"],\n[type=\"number\"] {\n direction: ltr;\n}\n*/\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n::-webkit-color-swatch-wrapper {\n padding: 0;\n}\n\n::file-selector-button {\n font: inherit;\n -webkit-appearance: button;\n}\n\noutput {\n display: inline-block;\n}\n\niframe {\n border: 0;\n}\n\nsummary {\n display: list-item;\n cursor: pointer;\n}\n\nprogress {\n vertical-align: baseline;\n}\n\n[hidden] {\n display: none !important;\n}\n\n.lead {\n font-size: 1.25rem;\n font-weight: 300;\n}\n\n.display-1 {\n font-size: calc(1.625rem + 4.5vw);\n font-weight: 300;\n line-height: 1.2;\n}\n@media (min-width: 1200px) {\n .display-1 {\n font-size: 5rem;\n }\n}\n\n.display-2 {\n font-size: calc(1.575rem + 3.9vw);\n font-weight: 300;\n line-height: 1.2;\n}\n@media (min-width: 1200px) {\n .display-2 {\n font-size: 4.5rem;\n }\n}\n\n.display-3 {\n font-size: calc(1.525rem + 3.3vw);\n font-weight: 300;\n line-height: 1.2;\n}\n@media (min-width: 1200px) {\n .display-3 {\n font-size: 4rem;\n }\n}\n\n.display-4 {\n font-size: calc(1.475rem + 2.7vw);\n font-weight: 300;\n line-height: 1.2;\n}\n@media (min-width: 1200px) {\n .display-4 {\n font-size: 3.5rem;\n }\n}\n\n.display-5 {\n font-size: calc(1.425rem + 2.1vw);\n font-weight: 300;\n line-height: 1.2;\n}\n@media (min-width: 1200px) {\n .display-5 {\n font-size: 3rem;\n }\n}\n\n.display-6 {\n font-size: calc(1.375rem + 1.5vw);\n font-weight: 300;\n line-height: 1.2;\n}\n@media (min-width: 1200px) {\n .display-6 {\n font-size: 2.5rem;\n }\n}\n\n.list-unstyled {\n padding-left: 0;\n list-style: none;\n}\n\n.list-inline {\n padding-left: 0;\n list-style: none;\n}\n\n.list-inline-item {\n display: inline-block;\n}\n.list-inline-item:not(:last-child) {\n margin-right: 0.5rem;\n}\n\n.initialism {\n font-size: 0.875em;\n text-transform: uppercase;\n}\n\n.blockquote {\n margin-bottom: 1rem;\n font-size: 1.25rem;\n}\n.blockquote > :last-child {\n margin-bottom: 0;\n}\n\n.blockquote-footer {\n margin-top: -1rem;\n margin-bottom: 1rem;\n font-size: 0.875em;\n color: #6c757d;\n}\n.blockquote-footer::before {\n content: \"— \";\n}\n\n.img-fluid {\n max-width: 100%;\n height: auto;\n}\n\n.img-thumbnail {\n padding: 0.25rem;\n background-color: #fff;\n border: 1px solid var(--bs-border-color);\n border-radius: 0.375rem;\n max-width: 100%;\n height: auto;\n}\n\n.figure {\n display: inline-block;\n}\n\n.figure-img {\n margin-bottom: 0.5rem;\n line-height: 1;\n}\n\n.figure-caption {\n font-size: 0.875em;\n color: #6c757d;\n}\n\n.container,\n.container-fluid,\n.container-xxl,\n.container-xl,\n.container-lg,\n.container-md,\n.container-sm {\n --bs-gutter-x: 1.5rem;\n --bs-gutter-y: 0;\n width: 100%;\n padding-right: calc(var(--bs-gutter-x) * 0.5);\n padding-left: calc(var(--bs-gutter-x) * 0.5);\n margin-right: auto;\n margin-left: auto;\n}\n\n@media (min-width: 576px) {\n .container-sm, .container {\n max-width: 540px;\n }\n}\n@media (min-width: 768px) {\n .container-md, .container-sm, .container {\n max-width: 720px;\n }\n}\n@media (min-width: 992px) {\n .container-lg, .container-md, .container-sm, .container {\n max-width: 960px;\n }\n}\n@media (min-width: 1200px) {\n .container-xl, .container-lg, .container-md, .container-sm, .container {\n max-width: 1140px;\n }\n}\n@media (min-width: 1400px) {\n .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {\n max-width: 1320px;\n }\n}\n.row {\n --bs-gutter-x: 1.5rem;\n --bs-gutter-y: 0;\n display: flex;\n flex-wrap: wrap;\n margin-top: calc(-1 * var(--bs-gutter-y));\n margin-right: calc(-0.5 * var(--bs-gutter-x));\n margin-left: calc(-0.5 * var(--bs-gutter-x));\n}\n.row > * {\n flex-shrink: 0;\n width: 100%;\n max-width: 100%;\n padding-right: calc(var(--bs-gutter-x) * 0.5);\n padding-left: calc(var(--bs-gutter-x) * 0.5);\n margin-top: var(--bs-gutter-y);\n}\n\n.col {\n flex: 1 0 0%;\n}\n\n.row-cols-auto > * {\n flex: 0 0 auto;\n width: auto;\n}\n\n.row-cols-1 > * {\n flex: 0 0 auto;\n width: 100%;\n}\n\n.row-cols-2 > * {\n flex: 0 0 auto;\n width: 50%;\n}\n\n.row-cols-3 > * {\n flex: 0 0 auto;\n width: 33.3333333333%;\n}\n\n.row-cols-4 > * {\n flex: 0 0 auto;\n width: 25%;\n}\n\n.row-cols-5 > * {\n flex: 0 0 auto;\n width: 20%;\n}\n\n.row-cols-6 > * {\n flex: 0 0 auto;\n width: 16.6666666667%;\n}\n\n.col-auto {\n flex: 0 0 auto;\n width: auto;\n}\n\n.col-1 {\n flex: 0 0 auto;\n width: 8.33333333%;\n}\n\n.col-2 {\n flex: 0 0 auto;\n width: 16.66666667%;\n}\n\n.col-3 {\n flex: 0 0 auto;\n width: 25%;\n}\n\n.col-4 {\n flex: 0 0 auto;\n width: 33.33333333%;\n}\n\n.col-5 {\n flex: 0 0 auto;\n width: 41.66666667%;\n}\n\n.col-6 {\n flex: 0 0 auto;\n width: 50%;\n}\n\n.col-7 {\n flex: 0 0 auto;\n width: 58.33333333%;\n}\n\n.col-8 {\n flex: 0 0 auto;\n width: 66.66666667%;\n}\n\n.col-9 {\n flex: 0 0 auto;\n width: 75%;\n}\n\n.col-10 {\n flex: 0 0 auto;\n width: 83.33333333%;\n}\n\n.col-11 {\n flex: 0 0 auto;\n width: 91.66666667%;\n}\n\n.col-12 {\n flex: 0 0 auto;\n width: 100%;\n}\n\n.offset-1 {\n margin-left: 8.33333333%;\n}\n\n.offset-2 {\n margin-left: 16.66666667%;\n}\n\n.offset-3 {\n margin-left: 25%;\n}\n\n.offset-4 {\n margin-left: 33.33333333%;\n}\n\n.offset-5 {\n margin-left: 41.66666667%;\n}\n\n.offset-6 {\n margin-left: 50%;\n}\n\n.offset-7 {\n margin-left: 58.33333333%;\n}\n\n.offset-8 {\n margin-left: 66.66666667%;\n}\n\n.offset-9 {\n margin-left: 75%;\n}\n\n.offset-10 {\n margin-left: 83.33333333%;\n}\n\n.offset-11 {\n margin-left: 91.66666667%;\n}\n\n.g-0,\n.gx-0 {\n --bs-gutter-x: 0;\n}\n\n.g-0,\n.gy-0 {\n --bs-gutter-y: 0;\n}\n\n.g-1,\n.gx-1 {\n --bs-gutter-x: 0.25rem;\n}\n\n.g-1,\n.gy-1 {\n --bs-gutter-y: 0.25rem;\n}\n\n.g-2,\n.gx-2 {\n --bs-gutter-x: 0.5rem;\n}\n\n.g-2,\n.gy-2 {\n --bs-gutter-y: 0.5rem;\n}\n\n.g-3,\n.gx-3 {\n --bs-gutter-x: 1rem;\n}\n\n.g-3,\n.gy-3 {\n --bs-gutter-y: 1rem;\n}\n\n.g-4,\n.gx-4 {\n --bs-gutter-x: 1.5rem;\n}\n\n.g-4,\n.gy-4 {\n --bs-gutter-y: 1.5rem;\n}\n\n.g-5,\n.gx-5 {\n --bs-gutter-x: 3rem;\n}\n\n.g-5,\n.gy-5 {\n --bs-gutter-y: 3rem;\n}\n\n@media (min-width: 576px) {\n .col-sm {\n flex: 1 0 0%;\n }\n .row-cols-sm-auto > * {\n flex: 0 0 auto;\n width: auto;\n }\n .row-cols-sm-1 > * {\n flex: 0 0 auto;\n width: 100%;\n }\n .row-cols-sm-2 > * {\n flex: 0 0 auto;\n width: 50%;\n }\n .row-cols-sm-3 > * {\n flex: 0 0 auto;\n width: 33.3333333333%;\n }\n .row-cols-sm-4 > * {\n flex: 0 0 auto;\n width: 25%;\n }\n .row-cols-sm-5 > * {\n flex: 0 0 auto;\n width: 20%;\n }\n .row-cols-sm-6 > * {\n flex: 0 0 auto;\n width: 16.6666666667%;\n }\n .col-sm-auto {\n flex: 0 0 auto;\n width: auto;\n }\n .col-sm-1 {\n flex: 0 0 auto;\n width: 8.33333333%;\n }\n .col-sm-2 {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n .col-sm-3 {\n flex: 0 0 auto;\n width: 25%;\n }\n .col-sm-4 {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n .col-sm-5 {\n flex: 0 0 auto;\n width: 41.66666667%;\n }\n .col-sm-6 {\n flex: 0 0 auto;\n width: 50%;\n }\n .col-sm-7 {\n flex: 0 0 auto;\n width: 58.33333333%;\n }\n .col-sm-8 {\n flex: 0 0 auto;\n width: 66.66666667%;\n }\n .col-sm-9 {\n flex: 0 0 auto;\n width: 75%;\n }\n .col-sm-10 {\n flex: 0 0 auto;\n width: 83.33333333%;\n }\n .col-sm-11 {\n flex: 0 0 auto;\n width: 91.66666667%;\n }\n .col-sm-12 {\n flex: 0 0 auto;\n width: 100%;\n }\n .offset-sm-0 {\n margin-left: 0;\n }\n .offset-sm-1 {\n margin-left: 8.33333333%;\n }\n .offset-sm-2 {\n margin-left: 16.66666667%;\n }\n .offset-sm-3 {\n margin-left: 25%;\n }\n .offset-sm-4 {\n margin-left: 33.33333333%;\n }\n .offset-sm-5 {\n margin-left: 41.66666667%;\n }\n .offset-sm-6 {\n margin-left: 50%;\n }\n .offset-sm-7 {\n margin-left: 58.33333333%;\n }\n .offset-sm-8 {\n margin-left: 66.66666667%;\n }\n .offset-sm-9 {\n margin-left: 75%;\n }\n .offset-sm-10 {\n margin-left: 83.33333333%;\n }\n .offset-sm-11 {\n margin-left: 91.66666667%;\n }\n .g-sm-0,\n.gx-sm-0 {\n --bs-gutter-x: 0;\n }\n .g-sm-0,\n.gy-sm-0 {\n --bs-gutter-y: 0;\n }\n .g-sm-1,\n.gx-sm-1 {\n --bs-gutter-x: 0.25rem;\n }\n .g-sm-1,\n.gy-sm-1 {\n --bs-gutter-y: 0.25rem;\n }\n .g-sm-2,\n.gx-sm-2 {\n --bs-gutter-x: 0.5rem;\n }\n .g-sm-2,\n.gy-sm-2 {\n --bs-gutter-y: 0.5rem;\n }\n .g-sm-3,\n.gx-sm-3 {\n --bs-gutter-x: 1rem;\n }\n .g-sm-3,\n.gy-sm-3 {\n --bs-gutter-y: 1rem;\n }\n .g-sm-4,\n.gx-sm-4 {\n --bs-gutter-x: 1.5rem;\n }\n .g-sm-4,\n.gy-sm-4 {\n --bs-gutter-y: 1.5rem;\n }\n .g-sm-5,\n.gx-sm-5 {\n --bs-gutter-x: 3rem;\n }\n .g-sm-5,\n.gy-sm-5 {\n --bs-gutter-y: 3rem;\n }\n}\n@media (min-width: 768px) {\n .col-md {\n flex: 1 0 0%;\n }\n .row-cols-md-auto > * {\n flex: 0 0 auto;\n width: auto;\n }\n .row-cols-md-1 > * {\n flex: 0 0 auto;\n width: 100%;\n }\n .row-cols-md-2 > * {\n flex: 0 0 auto;\n width: 50%;\n }\n .row-cols-md-3 > * {\n flex: 0 0 auto;\n width: 33.3333333333%;\n }\n .row-cols-md-4 > * {\n flex: 0 0 auto;\n width: 25%;\n }\n .row-cols-md-5 > * {\n flex: 0 0 auto;\n width: 20%;\n }\n .row-cols-md-6 > * {\n flex: 0 0 auto;\n width: 16.6666666667%;\n }\n .col-md-auto {\n flex: 0 0 auto;\n width: auto;\n }\n .col-md-1 {\n flex: 0 0 auto;\n width: 8.33333333%;\n }\n .col-md-2 {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n .col-md-3 {\n flex: 0 0 auto;\n width: 25%;\n }\n .col-md-4 {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n .col-md-5 {\n flex: 0 0 auto;\n width: 41.66666667%;\n }\n .col-md-6 {\n flex: 0 0 auto;\n width: 50%;\n }\n .col-md-7 {\n flex: 0 0 auto;\n width: 58.33333333%;\n }\n .col-md-8 {\n flex: 0 0 auto;\n width: 66.66666667%;\n }\n .col-md-9 {\n flex: 0 0 auto;\n width: 75%;\n }\n .col-md-10 {\n flex: 0 0 auto;\n width: 83.33333333%;\n }\n .col-md-11 {\n flex: 0 0 auto;\n width: 91.66666667%;\n }\n .col-md-12 {\n flex: 0 0 auto;\n width: 100%;\n }\n .offset-md-0 {\n margin-left: 0;\n }\n .offset-md-1 {\n margin-left: 8.33333333%;\n }\n .offset-md-2 {\n margin-left: 16.66666667%;\n }\n .offset-md-3 {\n margin-left: 25%;\n }\n .offset-md-4 {\n margin-left: 33.33333333%;\n }\n .offset-md-5 {\n margin-left: 41.66666667%;\n }\n .offset-md-6 {\n margin-left: 50%;\n }\n .offset-md-7 {\n margin-left: 58.33333333%;\n }\n .offset-md-8 {\n margin-left: 66.66666667%;\n }\n .offset-md-9 {\n margin-left: 75%;\n }\n .offset-md-10 {\n margin-left: 83.33333333%;\n }\n .offset-md-11 {\n margin-left: 91.66666667%;\n }\n .g-md-0,\n.gx-md-0 {\n --bs-gutter-x: 0;\n }\n .g-md-0,\n.gy-md-0 {\n --bs-gutter-y: 0;\n }\n .g-md-1,\n.gx-md-1 {\n --bs-gutter-x: 0.25rem;\n }\n .g-md-1,\n.gy-md-1 {\n --bs-gutter-y: 0.25rem;\n }\n .g-md-2,\n.gx-md-2 {\n --bs-gutter-x: 0.5rem;\n }\n .g-md-2,\n.gy-md-2 {\n --bs-gutter-y: 0.5rem;\n }\n .g-md-3,\n.gx-md-3 {\n --bs-gutter-x: 1rem;\n }\n .g-md-3,\n.gy-md-3 {\n --bs-gutter-y: 1rem;\n }\n .g-md-4,\n.gx-md-4 {\n --bs-gutter-x: 1.5rem;\n }\n .g-md-4,\n.gy-md-4 {\n --bs-gutter-y: 1.5rem;\n }\n .g-md-5,\n.gx-md-5 {\n --bs-gutter-x: 3rem;\n }\n .g-md-5,\n.gy-md-5 {\n --bs-gutter-y: 3rem;\n }\n}\n@media (min-width: 992px) {\n .col-lg {\n flex: 1 0 0%;\n }\n .row-cols-lg-auto > * {\n flex: 0 0 auto;\n width: auto;\n }\n .row-cols-lg-1 > * {\n flex: 0 0 auto;\n width: 100%;\n }\n .row-cols-lg-2 > * {\n flex: 0 0 auto;\n width: 50%;\n }\n .row-cols-lg-3 > * {\n flex: 0 0 auto;\n width: 33.3333333333%;\n }\n .row-cols-lg-4 > * {\n flex: 0 0 auto;\n width: 25%;\n }\n .row-cols-lg-5 > * {\n flex: 0 0 auto;\n width: 20%;\n }\n .row-cols-lg-6 > * {\n flex: 0 0 auto;\n width: 16.6666666667%;\n }\n .col-lg-auto {\n flex: 0 0 auto;\n width: auto;\n }\n .col-lg-1 {\n flex: 0 0 auto;\n width: 8.33333333%;\n }\n .col-lg-2 {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n .col-lg-3 {\n flex: 0 0 auto;\n width: 25%;\n }\n .col-lg-4 {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n .col-lg-5 {\n flex: 0 0 auto;\n width: 41.66666667%;\n }\n .col-lg-6 {\n flex: 0 0 auto;\n width: 50%;\n }\n .col-lg-7 {\n flex: 0 0 auto;\n width: 58.33333333%;\n }\n .col-lg-8 {\n flex: 0 0 auto;\n width: 66.66666667%;\n }\n .col-lg-9 {\n flex: 0 0 auto;\n width: 75%;\n }\n .col-lg-10 {\n flex: 0 0 auto;\n width: 83.33333333%;\n }\n .col-lg-11 {\n flex: 0 0 auto;\n width: 91.66666667%;\n }\n .col-lg-12 {\n flex: 0 0 auto;\n width: 100%;\n }\n .offset-lg-0 {\n margin-left: 0;\n }\n .offset-lg-1 {\n margin-left: 8.33333333%;\n }\n .offset-lg-2 {\n margin-left: 16.66666667%;\n }\n .offset-lg-3 {\n margin-left: 25%;\n }\n .offset-lg-4 {\n margin-left: 33.33333333%;\n }\n .offset-lg-5 {\n margin-left: 41.66666667%;\n }\n .offset-lg-6 {\n margin-left: 50%;\n }\n .offset-lg-7 {\n margin-left: 58.33333333%;\n }\n .offset-lg-8 {\n margin-left: 66.66666667%;\n }\n .offset-lg-9 {\n margin-left: 75%;\n }\n .offset-lg-10 {\n margin-left: 83.33333333%;\n }\n .offset-lg-11 {\n margin-left: 91.66666667%;\n }\n .g-lg-0,\n.gx-lg-0 {\n --bs-gutter-x: 0;\n }\n .g-lg-0,\n.gy-lg-0 {\n --bs-gutter-y: 0;\n }\n .g-lg-1,\n.gx-lg-1 {\n --bs-gutter-x: 0.25rem;\n }\n .g-lg-1,\n.gy-lg-1 {\n --bs-gutter-y: 0.25rem;\n }\n .g-lg-2,\n.gx-lg-2 {\n --bs-gutter-x: 0.5rem;\n }\n .g-lg-2,\n.gy-lg-2 {\n --bs-gutter-y: 0.5rem;\n }\n .g-lg-3,\n.gx-lg-3 {\n --bs-gutter-x: 1rem;\n }\n .g-lg-3,\n.gy-lg-3 {\n --bs-gutter-y: 1rem;\n }\n .g-lg-4,\n.gx-lg-4 {\n --bs-gutter-x: 1.5rem;\n }\n .g-lg-4,\n.gy-lg-4 {\n --bs-gutter-y: 1.5rem;\n }\n .g-lg-5,\n.gx-lg-5 {\n --bs-gutter-x: 3rem;\n }\n .g-lg-5,\n.gy-lg-5 {\n --bs-gutter-y: 3rem;\n }\n}\n@media (min-width: 1200px) {\n .col-xl {\n flex: 1 0 0%;\n }\n .row-cols-xl-auto > * {\n flex: 0 0 auto;\n width: auto;\n }\n .row-cols-xl-1 > * {\n flex: 0 0 auto;\n width: 100%;\n }\n .row-cols-xl-2 > * {\n flex: 0 0 auto;\n width: 50%;\n }\n .row-cols-xl-3 > * {\n flex: 0 0 auto;\n width: 33.3333333333%;\n }\n .row-cols-xl-4 > * {\n flex: 0 0 auto;\n width: 25%;\n }\n .row-cols-xl-5 > * {\n flex: 0 0 auto;\n width: 20%;\n }\n .row-cols-xl-6 > * {\n flex: 0 0 auto;\n width: 16.6666666667%;\n }\n .col-xl-auto {\n flex: 0 0 auto;\n width: auto;\n }\n .col-xl-1 {\n flex: 0 0 auto;\n width: 8.33333333%;\n }\n .col-xl-2 {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n .col-xl-3 {\n flex: 0 0 auto;\n width: 25%;\n }\n .col-xl-4 {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n .col-xl-5 {\n flex: 0 0 auto;\n width: 41.66666667%;\n }\n .col-xl-6 {\n flex: 0 0 auto;\n width: 50%;\n }\n .col-xl-7 {\n flex: 0 0 auto;\n width: 58.33333333%;\n }\n .col-xl-8 {\n flex: 0 0 auto;\n width: 66.66666667%;\n }\n .col-xl-9 {\n flex: 0 0 auto;\n width: 75%;\n }\n .col-xl-10 {\n flex: 0 0 auto;\n width: 83.33333333%;\n }\n .col-xl-11 {\n flex: 0 0 auto;\n width: 91.66666667%;\n }\n .col-xl-12 {\n flex: 0 0 auto;\n width: 100%;\n }\n .offset-xl-0 {\n margin-left: 0;\n }\n .offset-xl-1 {\n margin-left: 8.33333333%;\n }\n .offset-xl-2 {\n margin-left: 16.66666667%;\n }\n .offset-xl-3 {\n margin-left: 25%;\n }\n .offset-xl-4 {\n margin-left: 33.33333333%;\n }\n .offset-xl-5 {\n margin-left: 41.66666667%;\n }\n .offset-xl-6 {\n margin-left: 50%;\n }\n .offset-xl-7 {\n margin-left: 58.33333333%;\n }\n .offset-xl-8 {\n margin-left: 66.66666667%;\n }\n .offset-xl-9 {\n margin-left: 75%;\n }\n .offset-xl-10 {\n margin-left: 83.33333333%;\n }\n .offset-xl-11 {\n margin-left: 91.66666667%;\n }\n .g-xl-0,\n.gx-xl-0 {\n --bs-gutter-x: 0;\n }\n .g-xl-0,\n.gy-xl-0 {\n --bs-gutter-y: 0;\n }\n .g-xl-1,\n.gx-xl-1 {\n --bs-gutter-x: 0.25rem;\n }\n .g-xl-1,\n.gy-xl-1 {\n --bs-gutter-y: 0.25rem;\n }\n .g-xl-2,\n.gx-xl-2 {\n --bs-gutter-x: 0.5rem;\n }\n .g-xl-2,\n.gy-xl-2 {\n --bs-gutter-y: 0.5rem;\n }\n .g-xl-3,\n.gx-xl-3 {\n --bs-gutter-x: 1rem;\n }\n .g-xl-3,\n.gy-xl-3 {\n --bs-gutter-y: 1rem;\n }\n .g-xl-4,\n.gx-xl-4 {\n --bs-gutter-x: 1.5rem;\n }\n .g-xl-4,\n.gy-xl-4 {\n --bs-gutter-y: 1.5rem;\n }\n .g-xl-5,\n.gx-xl-5 {\n --bs-gutter-x: 3rem;\n }\n .g-xl-5,\n.gy-xl-5 {\n --bs-gutter-y: 3rem;\n }\n}\n@media (min-width: 1400px) {\n .col-xxl {\n flex: 1 0 0%;\n }\n .row-cols-xxl-auto > * {\n flex: 0 0 auto;\n width: auto;\n }\n .row-cols-xxl-1 > * {\n flex: 0 0 auto;\n width: 100%;\n }\n .row-cols-xxl-2 > * {\n flex: 0 0 auto;\n width: 50%;\n }\n .row-cols-xxl-3 > * {\n flex: 0 0 auto;\n width: 33.3333333333%;\n }\n .row-cols-xxl-4 > * {\n flex: 0 0 auto;\n width: 25%;\n }\n .row-cols-xxl-5 > * {\n flex: 0 0 auto;\n width: 20%;\n }\n .row-cols-xxl-6 > * {\n flex: 0 0 auto;\n width: 16.6666666667%;\n }\n .col-xxl-auto {\n flex: 0 0 auto;\n width: auto;\n }\n .col-xxl-1 {\n flex: 0 0 auto;\n width: 8.33333333%;\n }\n .col-xxl-2 {\n flex: 0 0 auto;\n width: 16.66666667%;\n }\n .col-xxl-3 {\n flex: 0 0 auto;\n width: 25%;\n }\n .col-xxl-4 {\n flex: 0 0 auto;\n width: 33.33333333%;\n }\n .col-xxl-5 {\n flex: 0 0 auto;\n width: 41.66666667%;\n }\n .col-xxl-6 {\n flex: 0 0 auto;\n width: 50%;\n }\n .col-xxl-7 {\n flex: 0 0 auto;\n width: 58.33333333%;\n }\n .col-xxl-8 {\n flex: 0 0 auto;\n width: 66.66666667%;\n }\n .col-xxl-9 {\n flex: 0 0 auto;\n width: 75%;\n }\n .col-xxl-10 {\n flex: 0 0 auto;\n width: 83.33333333%;\n }\n .col-xxl-11 {\n flex: 0 0 auto;\n width: 91.66666667%;\n }\n .col-xxl-12 {\n flex: 0 0 auto;\n width: 100%;\n }\n .offset-xxl-0 {\n margin-left: 0;\n }\n .offset-xxl-1 {\n margin-left: 8.33333333%;\n }\n .offset-xxl-2 {\n margin-left: 16.66666667%;\n }\n .offset-xxl-3 {\n margin-left: 25%;\n }\n .offset-xxl-4 {\n margin-left: 33.33333333%;\n }\n .offset-xxl-5 {\n margin-left: 41.66666667%;\n }\n .offset-xxl-6 {\n margin-left: 50%;\n }\n .offset-xxl-7 {\n margin-left: 58.33333333%;\n }\n .offset-xxl-8 {\n margin-left: 66.66666667%;\n }\n .offset-xxl-9 {\n margin-left: 75%;\n }\n .offset-xxl-10 {\n margin-left: 83.33333333%;\n }\n .offset-xxl-11 {\n margin-left: 91.66666667%;\n }\n .g-xxl-0,\n.gx-xxl-0 {\n --bs-gutter-x: 0;\n }\n .g-xxl-0,\n.gy-xxl-0 {\n --bs-gutter-y: 0;\n }\n .g-xxl-1,\n.gx-xxl-1 {\n --bs-gutter-x: 0.25rem;\n }\n .g-xxl-1,\n.gy-xxl-1 {\n --bs-gutter-y: 0.25rem;\n }\n .g-xxl-2,\n.gx-xxl-2 {\n --bs-gutter-x: 0.5rem;\n }\n .g-xxl-2,\n.gy-xxl-2 {\n --bs-gutter-y: 0.5rem;\n }\n .g-xxl-3,\n.gx-xxl-3 {\n --bs-gutter-x: 1rem;\n }\n .g-xxl-3,\n.gy-xxl-3 {\n --bs-gutter-y: 1rem;\n }\n .g-xxl-4,\n.gx-xxl-4 {\n --bs-gutter-x: 1.5rem;\n }\n .g-xxl-4,\n.gy-xxl-4 {\n --bs-gutter-y: 1.5rem;\n }\n .g-xxl-5,\n.gx-xxl-5 {\n --bs-gutter-x: 3rem;\n }\n .g-xxl-5,\n.gy-xxl-5 {\n --bs-gutter-y: 3rem;\n }\n}\n.table {\n --bs-table-color: var(--bs-body-color);\n --bs-table-bg: transparent;\n --bs-table-border-color: var(--bs-border-color);\n --bs-table-accent-bg: transparent;\n --bs-table-striped-color: var(--bs-body-color);\n --bs-table-striped-bg: rgba(0, 0, 0, 0.05);\n --bs-table-active-color: var(--bs-body-color);\n --bs-table-active-bg: rgba(0, 0, 0, 0.1);\n --bs-table-hover-color: var(--bs-body-color);\n --bs-table-hover-bg: rgba(0, 0, 0, 0.075);\n width: 100%;\n margin-bottom: 1rem;\n color: var(--bs-table-color);\n vertical-align: top;\n border-color: var(--bs-table-border-color);\n}\n.table > :not(caption) > * > * {\n padding: 0.5rem 0.5rem;\n background-color: var(--bs-table-bg);\n border-bottom-width: 1px;\n box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);\n}\n.table > tbody {\n vertical-align: inherit;\n}\n.table > thead {\n vertical-align: bottom;\n}\n\n.table-group-divider {\n border-top: 2px solid currentcolor;\n}\n\n.caption-top {\n caption-side: top;\n}\n\n.table-sm > :not(caption) > * > * {\n padding: 0.25rem 0.25rem;\n}\n\n.table-bordered > :not(caption) > * {\n border-width: 1px 0;\n}\n.table-bordered > :not(caption) > * > * {\n border-width: 0 1px;\n}\n\n.table-borderless > :not(caption) > * > * {\n border-bottom-width: 0;\n}\n.table-borderless > :not(:first-child) {\n border-top-width: 0;\n}\n\n.table-striped > tbody > tr:nth-of-type(odd) > * {\n --bs-table-accent-bg: var(--bs-table-striped-bg);\n color: var(--bs-table-striped-color);\n}\n\n.table-striped-columns > :not(caption) > tr > :nth-child(even) {\n --bs-table-accent-bg: var(--bs-table-striped-bg);\n color: var(--bs-table-striped-color);\n}\n\n.table-active {\n --bs-table-accent-bg: var(--bs-table-active-bg);\n color: var(--bs-table-active-color);\n}\n\n.table-hover > tbody > tr:hover > * {\n --bs-table-accent-bg: var(--bs-table-hover-bg);\n color: var(--bs-table-hover-color);\n}\n\n.table-primary {\n --bs-table-color: #000;\n --bs-table-bg: #cfe2ff;\n --bs-table-border-color: #bacbe6;\n --bs-table-striped-bg: #c5d7f2;\n --bs-table-striped-color: #000;\n --bs-table-active-bg: #bacbe6;\n --bs-table-active-color: #000;\n --bs-table-hover-bg: #bfd1ec;\n --bs-table-hover-color: #000;\n color: var(--bs-table-color);\n border-color: var(--bs-table-border-color);\n}\n\n.table-secondary {\n --bs-table-color: #000;\n --bs-table-bg: #e2e3e5;\n --bs-table-border-color: #cbccce;\n --bs-table-striped-bg: #d7d8da;\n --bs-table-striped-color: #000;\n --bs-table-active-bg: #cbccce;\n --bs-table-active-color: #000;\n --bs-table-hover-bg: #d1d2d4;\n --bs-table-hover-color: #000;\n color: var(--bs-table-color);\n border-color: var(--bs-table-border-color);\n}\n\n.table-success {\n --bs-table-color: #000;\n --bs-table-bg: #d1e7dd;\n --bs-table-border-color: #bcd0c7;\n --bs-table-striped-bg: #c7dbd2;\n --bs-table-striped-color: #000;\n --bs-table-active-bg: #bcd0c7;\n --bs-table-active-color: #000;\n --bs-table-hover-bg: #c1d6cc;\n --bs-table-hover-color: #000;\n color: var(--bs-table-color);\n border-color: var(--bs-table-border-color);\n}\n\n.table-info {\n --bs-table-color: #000;\n --bs-table-bg: #cff4fc;\n --bs-table-border-color: #badce3;\n --bs-table-striped-bg: #c5e8ef;\n --bs-table-striped-color: #000;\n --bs-table-active-bg: #badce3;\n --bs-table-active-color: #000;\n --bs-table-hover-bg: #bfe2e9;\n --bs-table-hover-color: #000;\n color: var(--bs-table-color);\n border-color: var(--bs-table-border-color);\n}\n\n.table-warning {\n --bs-table-color: #000;\n --bs-table-bg: #fff3cd;\n --bs-table-border-color: #e6dbb9;\n --bs-table-striped-bg: #f2e7c3;\n --bs-table-striped-color: #000;\n --bs-table-active-bg: #e6dbb9;\n --bs-table-active-color: #000;\n --bs-table-hover-bg: #ece1be;\n --bs-table-hover-color: #000;\n color: var(--bs-table-color);\n border-color: var(--bs-table-border-color);\n}\n\n.table-danger {\n --bs-table-color: #000;\n --bs-table-bg: #f8d7da;\n --bs-table-border-color: #dfc2c4;\n --bs-table-striped-bg: #eccccf;\n --bs-table-striped-color: #000;\n --bs-table-active-bg: #dfc2c4;\n --bs-table-active-color: #000;\n --bs-table-hover-bg: #e5c7ca;\n --bs-table-hover-color: #000;\n color: var(--bs-table-color);\n border-color: var(--bs-table-border-color);\n}\n\n.table-light {\n --bs-table-color: #000;\n --bs-table-bg: #f8f9fa;\n --bs-table-border-color: #dfe0e1;\n --bs-table-striped-bg: #ecedee;\n --bs-table-striped-color: #000;\n --bs-table-active-bg: #dfe0e1;\n --bs-table-active-color: #000;\n --bs-table-hover-bg: #e5e6e7;\n --bs-table-hover-color: #000;\n color: var(--bs-table-color);\n border-color: var(--bs-table-border-color);\n}\n\n.table-dark {\n --bs-table-color: #fff;\n --bs-table-bg: #212529;\n --bs-table-border-color: #373b3e;\n --bs-table-striped-bg: #2c3034;\n --bs-table-striped-color: #fff;\n --bs-table-active-bg: #373b3e;\n --bs-table-active-color: #fff;\n --bs-table-hover-bg: #323539;\n --bs-table-hover-color: #fff;\n color: var(--bs-table-color);\n border-color: var(--bs-table-border-color);\n}\n\n.table-responsive {\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n}\n\n@media (max-width: 575.98px) {\n .table-responsive-sm {\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n }\n}\n@media (max-width: 767.98px) {\n .table-responsive-md {\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n }\n}\n@media (max-width: 991.98px) {\n .table-responsive-lg {\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n }\n}\n@media (max-width: 1199.98px) {\n .table-responsive-xl {\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n }\n}\n@media (max-width: 1399.98px) {\n .table-responsive-xxl {\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n }\n}\n.form-label {\n margin-bottom: 0.5rem;\n}\n\n.col-form-label {\n padding-top: calc(0.375rem + 1px);\n padding-bottom: calc(0.375rem + 1px);\n margin-bottom: 0;\n font-size: inherit;\n line-height: 1.5;\n}\n\n.col-form-label-lg {\n padding-top: calc(0.5rem + 1px);\n padding-bottom: calc(0.5rem + 1px);\n font-size: 1.25rem;\n}\n\n.col-form-label-sm {\n padding-top: calc(0.25rem + 1px);\n padding-bottom: calc(0.25rem + 1px);\n font-size: 0.875rem;\n}\n\n.form-text {\n margin-top: 0.25rem;\n font-size: 0.875em;\n color: #6c757d;\n}\n\n.form-control {\n display: block;\n width: 100%;\n padding: 0.375rem 0.75rem;\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5;\n color: #212529;\n background-color: #fff;\n background-clip: padding-box;\n border: 1px solid #ced4da;\n appearance: none;\n border-radius: 0.375rem;\n transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .form-control {\n transition: none;\n }\n}\n.form-control[type=file] {\n overflow: hidden;\n}\n.form-control[type=file]:not(:disabled):not([readonly]) {\n cursor: pointer;\n}\n.form-control:focus {\n color: #212529;\n background-color: #fff;\n border-color: #86b7fe;\n outline: 0;\n box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);\n}\n.form-control::-webkit-date-and-time-value {\n height: 1.5em;\n}\n.form-control::placeholder {\n color: #6c757d;\n opacity: 1;\n}\n.form-control:disabled {\n background-color: #e9ecef;\n opacity: 1;\n}\n.form-control::file-selector-button {\n padding: 0.375rem 0.75rem;\n margin: -0.375rem -0.75rem;\n margin-inline-end: 0.75rem;\n color: #212529;\n background-color: #e9ecef;\n pointer-events: none;\n border-color: inherit;\n border-style: solid;\n border-width: 0;\n border-inline-end-width: 1px;\n border-radius: 0;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .form-control::file-selector-button {\n transition: none;\n }\n}\n.form-control:hover:not(:disabled):not([readonly])::file-selector-button {\n background-color: #dde0e3;\n}\n\n.form-control-plaintext {\n display: block;\n width: 100%;\n padding: 0.375rem 0;\n margin-bottom: 0;\n line-height: 1.5;\n color: #212529;\n background-color: transparent;\n border: solid transparent;\n border-width: 1px 0;\n}\n.form-control-plaintext:focus {\n outline: 0;\n}\n.form-control-plaintext.form-control-sm, .form-control-plaintext.form-control-lg {\n padding-right: 0;\n padding-left: 0;\n}\n\n.form-control-sm {\n min-height: calc(1.5em + 0.5rem + 2px);\n padding: 0.25rem 0.5rem;\n font-size: 0.875rem;\n border-radius: 0.25rem;\n}\n.form-control-sm::file-selector-button {\n padding: 0.25rem 0.5rem;\n margin: -0.25rem -0.5rem;\n margin-inline-end: 0.5rem;\n}\n\n.form-control-lg {\n min-height: calc(1.5em + 1rem + 2px);\n padding: 0.5rem 1rem;\n font-size: 1.25rem;\n border-radius: 0.5rem;\n}\n.form-control-lg::file-selector-button {\n padding: 0.5rem 1rem;\n margin: -0.5rem -1rem;\n margin-inline-end: 1rem;\n}\n\ntextarea.form-control {\n min-height: calc(1.5em + 0.75rem + 2px);\n}\ntextarea.form-control-sm {\n min-height: calc(1.5em + 0.5rem + 2px);\n}\ntextarea.form-control-lg {\n min-height: calc(1.5em + 1rem + 2px);\n}\n\n.form-control-color {\n width: 3rem;\n height: calc(1.5em + 0.75rem + 2px);\n padding: 0.375rem;\n}\n.form-control-color:not(:disabled):not([readonly]) {\n cursor: pointer;\n}\n.form-control-color::-moz-color-swatch {\n border: 0 !important;\n border-radius: 0.375rem;\n}\n.form-control-color::-webkit-color-swatch {\n border-radius: 0.375rem;\n}\n.form-control-color.form-control-sm {\n height: calc(1.5em + 0.5rem + 2px);\n}\n.form-control-color.form-control-lg {\n height: calc(1.5em + 1rem + 2px);\n}\n\n.form-select {\n display: block;\n width: 100%;\n padding: 0.375rem 2.25rem 0.375rem 0.75rem;\n -moz-padding-start: calc(0.75rem - 3px);\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5;\n color: #212529;\n background-color: #fff;\n background-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\");\n background-repeat: no-repeat;\n background-position: right 0.75rem center;\n background-size: 16px 12px;\n border: 1px solid #ced4da;\n border-radius: 0.375rem;\n transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n appearance: none;\n}\n@media (prefers-reduced-motion: reduce) {\n .form-select {\n transition: none;\n }\n}\n.form-select:focus {\n border-color: #86b7fe;\n outline: 0;\n box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);\n}\n.form-select[multiple], .form-select[size]:not([size=\"1\"]) {\n padding-right: 0.75rem;\n background-image: none;\n}\n.form-select:disabled {\n background-color: #e9ecef;\n}\n.form-select:-moz-focusring {\n color: transparent;\n text-shadow: 0 0 0 #212529;\n}\n\n.form-select-sm {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem;\n padding-left: 0.5rem;\n font-size: 0.875rem;\n border-radius: 0.25rem;\n}\n\n.form-select-lg {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n padding-left: 1rem;\n font-size: 1.25rem;\n border-radius: 0.5rem;\n}\n\n.form-check {\n display: block;\n min-height: 1.5rem;\n padding-left: 1.5em;\n margin-bottom: 0.125rem;\n}\n.form-check .form-check-input {\n float: left;\n margin-left: -1.5em;\n}\n\n.form-check-reverse {\n padding-right: 1.5em;\n padding-left: 0;\n text-align: right;\n}\n.form-check-reverse .form-check-input {\n float: right;\n margin-right: -1.5em;\n margin-left: 0;\n}\n\n.form-check-input {\n width: 1em;\n height: 1em;\n margin-top: 0.25em;\n vertical-align: top;\n background-color: #fff;\n background-repeat: no-repeat;\n background-position: center;\n background-size: contain;\n border: 1px solid rgba(0, 0, 0, 0.25);\n appearance: none;\n print-color-adjust: exact;\n}\n.form-check-input[type=checkbox] {\n border-radius: 0.25em;\n}\n.form-check-input[type=radio] {\n border-radius: 50%;\n}\n.form-check-input:active {\n filter: brightness(90%);\n}\n.form-check-input:focus {\n border-color: #86b7fe;\n outline: 0;\n box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);\n}\n.form-check-input:checked {\n background-color: #0d6efd;\n border-color: #0d6efd;\n}\n.form-check-input:checked[type=checkbox] {\n background-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e\");\n}\n.form-check-input:checked[type=radio] {\n background-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e\");\n}\n.form-check-input[type=checkbox]:indeterminate {\n background-color: #0d6efd;\n border-color: #0d6efd;\n background-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e\");\n}\n.form-check-input:disabled {\n pointer-events: none;\n filter: none;\n opacity: 0.5;\n}\n.form-check-input[disabled] ~ .form-check-label, .form-check-input:disabled ~ .form-check-label {\n cursor: default;\n opacity: 0.5;\n}\n\n.form-switch {\n padding-left: 2.5em;\n}\n.form-switch .form-check-input {\n width: 2em;\n margin-left: -2.5em;\n background-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='rgba%280, 0, 0, 0.25%29'/%3e%3c/svg%3e\");\n background-position: left center;\n border-radius: 2em;\n transition: background-position 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .form-switch .form-check-input {\n transition: none;\n }\n}\n.form-switch .form-check-input:focus {\n background-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e\");\n}\n.form-switch .form-check-input:checked {\n background-position: right center;\n background-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e\");\n}\n.form-switch.form-check-reverse {\n padding-right: 2.5em;\n padding-left: 0;\n}\n.form-switch.form-check-reverse .form-check-input {\n margin-right: -2.5em;\n margin-left: 0;\n}\n\n.form-check-inline {\n display: inline-block;\n margin-right: 1rem;\n}\n\n.btn-check {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n pointer-events: none;\n}\n.btn-check[disabled] + .btn, .btn-check:disabled + .btn {\n pointer-events: none;\n filter: none;\n opacity: 0.65;\n}\n\n.form-range {\n width: 100%;\n height: 1.5rem;\n padding: 0;\n background-color: transparent;\n appearance: none;\n}\n.form-range:focus {\n outline: 0;\n}\n.form-range:focus::-webkit-slider-thumb {\n box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(13, 110, 253, 0.25);\n}\n.form-range:focus::-moz-range-thumb {\n box-shadow: 0 0 0 1px #fff, 0 0 0 0.25rem rgba(13, 110, 253, 0.25);\n}\n.form-range::-moz-focus-outer {\n border: 0;\n}\n.form-range::-webkit-slider-thumb {\n width: 1rem;\n height: 1rem;\n margin-top: -0.25rem;\n background-color: #0d6efd;\n border: 0;\n border-radius: 1rem;\n transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n appearance: none;\n}\n@media (prefers-reduced-motion: reduce) {\n .form-range::-webkit-slider-thumb {\n transition: none;\n }\n}\n.form-range::-webkit-slider-thumb:active {\n background-color: #b6d4fe;\n}\n.form-range::-webkit-slider-runnable-track {\n width: 100%;\n height: 0.5rem;\n color: transparent;\n cursor: pointer;\n background-color: #dee2e6;\n border-color: transparent;\n border-radius: 1rem;\n}\n.form-range::-moz-range-thumb {\n width: 1rem;\n height: 1rem;\n background-color: #0d6efd;\n border: 0;\n border-radius: 1rem;\n transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n appearance: none;\n}\n@media (prefers-reduced-motion: reduce) {\n .form-range::-moz-range-thumb {\n transition: none;\n }\n}\n.form-range::-moz-range-thumb:active {\n background-color: #b6d4fe;\n}\n.form-range::-moz-range-track {\n width: 100%;\n height: 0.5rem;\n color: transparent;\n cursor: pointer;\n background-color: #dee2e6;\n border-color: transparent;\n border-radius: 1rem;\n}\n.form-range:disabled {\n pointer-events: none;\n}\n.form-range:disabled::-webkit-slider-thumb {\n background-color: #adb5bd;\n}\n.form-range:disabled::-moz-range-thumb {\n background-color: #adb5bd;\n}\n\n.form-floating {\n position: relative;\n}\n.form-floating > .form-control,\n.form-floating > .form-control-plaintext,\n.form-floating > .form-select {\n height: calc(3.5rem + 2px);\n line-height: 1.25;\n}\n.form-floating > label {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n padding: 1rem 0.75rem;\n overflow: hidden;\n text-align: start;\n text-overflow: ellipsis;\n white-space: nowrap;\n pointer-events: none;\n border: 1px solid transparent;\n transform-origin: 0 0;\n transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .form-floating > label {\n transition: none;\n }\n}\n.form-floating > .form-control,\n.form-floating > .form-control-plaintext {\n padding: 1rem 0.75rem;\n}\n.form-floating > .form-control::placeholder,\n.form-floating > .form-control-plaintext::placeholder {\n color: transparent;\n}\n.form-floating > .form-control:focus, .form-floating > .form-control:not(:placeholder-shown),\n.form-floating > .form-control-plaintext:focus,\n.form-floating > .form-control-plaintext:not(:placeholder-shown) {\n padding-top: 1.625rem;\n padding-bottom: 0.625rem;\n}\n.form-floating > .form-control:-webkit-autofill,\n.form-floating > .form-control-plaintext:-webkit-autofill {\n padding-top: 1.625rem;\n padding-bottom: 0.625rem;\n}\n.form-floating > .form-select {\n padding-top: 1.625rem;\n padding-bottom: 0.625rem;\n}\n.form-floating > .form-control:focus ~ label,\n.form-floating > .form-control:not(:placeholder-shown) ~ label,\n.form-floating > .form-control-plaintext ~ label,\n.form-floating > .form-select ~ label {\n opacity: 0.65;\n transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);\n}\n.form-floating > .form-control:-webkit-autofill ~ label {\n opacity: 0.65;\n transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);\n}\n.form-floating > .form-control-plaintext ~ label {\n border-width: 1px 0;\n}\n\n.input-group {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: stretch;\n width: 100%;\n}\n.input-group > .form-control,\n.input-group > .form-select,\n.input-group > .form-floating {\n position: relative;\n flex: 1 1 auto;\n width: 1%;\n min-width: 0;\n}\n.input-group > .form-control:focus,\n.input-group > .form-select:focus,\n.input-group > .form-floating:focus-within {\n z-index: 5;\n}\n.input-group .btn {\n position: relative;\n z-index: 2;\n}\n.input-group .btn:focus {\n z-index: 5;\n}\n\n.input-group-text {\n display: flex;\n align-items: center;\n padding: 0.375rem 0.75rem;\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5;\n color: #212529;\n text-align: center;\n white-space: nowrap;\n background-color: #e9ecef;\n border: 1px solid #ced4da;\n border-radius: 0.375rem;\n}\n\n.input-group-lg > .form-control,\n.input-group-lg > .form-select,\n.input-group-lg > .input-group-text,\n.input-group-lg > .btn {\n padding: 0.5rem 1rem;\n font-size: 1.25rem;\n border-radius: 0.5rem;\n}\n\n.input-group-sm > .form-control,\n.input-group-sm > .form-select,\n.input-group-sm > .input-group-text,\n.input-group-sm > .btn {\n padding: 0.25rem 0.5rem;\n font-size: 0.875rem;\n border-radius: 0.25rem;\n}\n\n.input-group-lg > .form-select,\n.input-group-sm > .form-select {\n padding-right: 3rem;\n}\n\n.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),\n.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3),\n.input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-control,\n.input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-select {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.input-group.has-validation > :nth-last-child(n+3):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),\n.input-group.has-validation > .dropdown-toggle:nth-last-child(n+4),\n.input-group.has-validation > .form-floating:nth-last-child(n+3) > .form-control,\n.input-group.has-validation > .form-floating:nth-last-child(n+3) > .form-select {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {\n margin-left: -1px;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.input-group > .form-floating:not(:first-child) > .form-control,\n.input-group > .form-floating:not(:first-child) > .form-select {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.valid-feedback {\n display: none;\n width: 100%;\n margin-top: 0.25rem;\n font-size: 0.875em;\n color: #198754;\n}\n\n.valid-tooltip {\n position: absolute;\n top: 100%;\n z-index: 5;\n display: none;\n max-width: 100%;\n padding: 0.25rem 0.5rem;\n margin-top: 0.1rem;\n font-size: 0.875rem;\n color: #fff;\n background-color: rgba(25, 135, 84, 0.9);\n border-radius: 0.375rem;\n}\n\n.was-validated :valid ~ .valid-feedback,\n.was-validated :valid ~ .valid-tooltip,\n.is-valid ~ .valid-feedback,\n.is-valid ~ .valid-tooltip {\n display: block;\n}\n\n.was-validated .form-control:valid, .form-control.is-valid {\n border-color: #198754;\n padding-right: calc(1.5em + 0.75rem);\n background-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e\");\n background-repeat: no-repeat;\n background-position: right calc(0.375em + 0.1875rem) center;\n background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);\n}\n.was-validated .form-control:valid:focus, .form-control.is-valid:focus {\n border-color: #198754;\n box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);\n}\n\n.was-validated textarea.form-control:valid, textarea.form-control.is-valid {\n padding-right: calc(1.5em + 0.75rem);\n background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);\n}\n\n.was-validated .form-select:valid, .form-select.is-valid {\n border-color: #198754;\n}\n.was-validated .form-select:valid:not([multiple]):not([size]), .was-validated .form-select:valid:not([multiple])[size=\"1\"], .form-select.is-valid:not([multiple]):not([size]), .form-select.is-valid:not([multiple])[size=\"1\"] {\n padding-right: 4.125rem;\n background-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\"), url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e\");\n background-position: right 0.75rem center, center right 2.25rem;\n background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);\n}\n.was-validated .form-select:valid:focus, .form-select.is-valid:focus {\n border-color: #198754;\n box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);\n}\n\n.was-validated .form-control-color:valid, .form-control-color.is-valid {\n width: calc(3rem + calc(1.5em + 0.75rem));\n}\n\n.was-validated .form-check-input:valid, .form-check-input.is-valid {\n border-color: #198754;\n}\n.was-validated .form-check-input:valid:checked, .form-check-input.is-valid:checked {\n background-color: #198754;\n}\n.was-validated .form-check-input:valid:focus, .form-check-input.is-valid:focus {\n box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);\n}\n.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {\n color: #198754;\n}\n\n.form-check-inline .form-check-input ~ .valid-feedback {\n margin-left: 0.5em;\n}\n\n.was-validated .input-group > .form-control:not(:focus):valid, .input-group > .form-control:not(:focus).is-valid,\n.was-validated .input-group > .form-select:not(:focus):valid,\n.input-group > .form-select:not(:focus).is-valid,\n.was-validated .input-group > .form-floating:not(:focus-within):valid,\n.input-group > .form-floating:not(:focus-within).is-valid {\n z-index: 3;\n}\n\n.invalid-feedback {\n display: none;\n width: 100%;\n margin-top: 0.25rem;\n font-size: 0.875em;\n color: #dc3545;\n}\n\n.invalid-tooltip {\n position: absolute;\n top: 100%;\n z-index: 5;\n display: none;\n max-width: 100%;\n padding: 0.25rem 0.5rem;\n margin-top: 0.1rem;\n font-size: 0.875rem;\n color: #fff;\n background-color: rgba(220, 53, 69, 0.9);\n border-radius: 0.375rem;\n}\n\n.was-validated :invalid ~ .invalid-feedback,\n.was-validated :invalid ~ .invalid-tooltip,\n.is-invalid ~ .invalid-feedback,\n.is-invalid ~ .invalid-tooltip {\n display: block;\n}\n\n.was-validated .form-control:invalid, .form-control.is-invalid {\n border-color: #dc3545;\n padding-right: calc(1.5em + 0.75rem);\n background-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e\");\n background-repeat: no-repeat;\n background-position: right calc(0.375em + 0.1875rem) center;\n background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);\n}\n.was-validated .form-control:invalid:focus, .form-control.is-invalid:focus {\n border-color: #dc3545;\n box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);\n}\n\n.was-validated textarea.form-control:invalid, textarea.form-control.is-invalid {\n padding-right: calc(1.5em + 0.75rem);\n background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);\n}\n\n.was-validated .form-select:invalid, .form-select.is-invalid {\n border-color: #dc3545;\n}\n.was-validated .form-select:invalid:not([multiple]):not([size]), .was-validated .form-select:invalid:not([multiple])[size=\"1\"], .form-select.is-invalid:not([multiple]):not([size]), .form-select.is-invalid:not([multiple])[size=\"1\"] {\n padding-right: 4.125rem;\n background-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e\"), url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e\");\n background-position: right 0.75rem center, center right 2.25rem;\n background-size: 16px 12px, calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);\n}\n.was-validated .form-select:invalid:focus, .form-select.is-invalid:focus {\n border-color: #dc3545;\n box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);\n}\n\n.was-validated .form-control-color:invalid, .form-control-color.is-invalid {\n width: calc(3rem + calc(1.5em + 0.75rem));\n}\n\n.was-validated .form-check-input:invalid, .form-check-input.is-invalid {\n border-color: #dc3545;\n}\n.was-validated .form-check-input:invalid:checked, .form-check-input.is-invalid:checked {\n background-color: #dc3545;\n}\n.was-validated .form-check-input:invalid:focus, .form-check-input.is-invalid:focus {\n box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);\n}\n.was-validated .form-check-input:invalid ~ .form-check-label, .form-check-input.is-invalid ~ .form-check-label {\n color: #dc3545;\n}\n\n.form-check-inline .form-check-input ~ .invalid-feedback {\n margin-left: 0.5em;\n}\n\n.was-validated .input-group > .form-control:not(:focus):invalid, .input-group > .form-control:not(:focus).is-invalid,\n.was-validated .input-group > .form-select:not(:focus):invalid,\n.input-group > .form-select:not(:focus).is-invalid,\n.was-validated .input-group > .form-floating:not(:focus-within):invalid,\n.input-group > .form-floating:not(:focus-within).is-invalid {\n z-index: 4;\n}\n\n.btn {\n --bs-btn-padding-x: 0.75rem;\n --bs-btn-padding-y: 0.375rem;\n --bs-btn-font-family: ;\n --bs-btn-font-size: 1rem;\n --bs-btn-font-weight: 400;\n --bs-btn-line-height: 1.5;\n --bs-btn-color: #212529;\n --bs-btn-bg: transparent;\n --bs-btn-border-width: 1px;\n --bs-btn-border-color: transparent;\n --bs-btn-border-radius: 0.375rem;\n --bs-btn-hover-border-color: transparent;\n --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);\n --bs-btn-disabled-opacity: 0.65;\n --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);\n display: inline-block;\n padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);\n font-family: var(--bs-btn-font-family);\n font-size: var(--bs-btn-font-size);\n font-weight: var(--bs-btn-font-weight);\n line-height: var(--bs-btn-line-height);\n color: var(--bs-btn-color);\n text-align: center;\n text-decoration: none;\n vertical-align: middle;\n cursor: pointer;\n user-select: none;\n border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);\n border-radius: var(--bs-btn-border-radius);\n background-color: var(--bs-btn-bg);\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .btn {\n transition: none;\n }\n}\n.btn:hover {\n color: var(--bs-btn-hover-color);\n background-color: var(--bs-btn-hover-bg);\n border-color: var(--bs-btn-hover-border-color);\n}\n.btn-check + .btn:hover {\n color: var(--bs-btn-color);\n background-color: var(--bs-btn-bg);\n border-color: var(--bs-btn-border-color);\n}\n.btn:focus-visible {\n color: var(--bs-btn-hover-color);\n background-color: var(--bs-btn-hover-bg);\n border-color: var(--bs-btn-hover-border-color);\n outline: 0;\n box-shadow: var(--bs-btn-focus-box-shadow);\n}\n.btn-check:focus-visible + .btn {\n border-color: var(--bs-btn-hover-border-color);\n outline: 0;\n box-shadow: var(--bs-btn-focus-box-shadow);\n}\n.btn-check:checked + .btn, :not(.btn-check) + .btn:active, .btn:first-child:active, .btn.active, .btn.show {\n color: var(--bs-btn-active-color);\n background-color: var(--bs-btn-active-bg);\n border-color: var(--bs-btn-active-border-color);\n}\n.btn-check:checked + .btn:focus-visible, :not(.btn-check) + .btn:active:focus-visible, .btn:first-child:active:focus-visible, .btn.active:focus-visible, .btn.show:focus-visible {\n box-shadow: var(--bs-btn-focus-box-shadow);\n}\n.btn:disabled, .btn.disabled, fieldset:disabled .btn {\n color: var(--bs-btn-disabled-color);\n pointer-events: none;\n background-color: var(--bs-btn-disabled-bg);\n border-color: var(--bs-btn-disabled-border-color);\n opacity: var(--bs-btn-disabled-opacity);\n}\n\n.btn-primary {\n --bs-btn-color: #fff;\n --bs-btn-bg: #0d6efd;\n --bs-btn-border-color: #0d6efd;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #0b5ed7;\n --bs-btn-hover-border-color: #0a58ca;\n --bs-btn-focus-shadow-rgb: 49, 132, 253;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #0a58ca;\n --bs-btn-active-border-color: #0a53be;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #fff;\n --bs-btn-disabled-bg: #0d6efd;\n --bs-btn-disabled-border-color: #0d6efd;\n}\n\n.btn-secondary {\n --bs-btn-color: #fff;\n --bs-btn-bg: #6c757d;\n --bs-btn-border-color: #6c757d;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #5c636a;\n --bs-btn-hover-border-color: #565e64;\n --bs-btn-focus-shadow-rgb: 130, 138, 145;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #565e64;\n --bs-btn-active-border-color: #51585e;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #fff;\n --bs-btn-disabled-bg: #6c757d;\n --bs-btn-disabled-border-color: #6c757d;\n}\n\n.btn-success {\n --bs-btn-color: #fff;\n --bs-btn-bg: #198754;\n --bs-btn-border-color: #198754;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #157347;\n --bs-btn-hover-border-color: #146c43;\n --bs-btn-focus-shadow-rgb: 60, 153, 110;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #146c43;\n --bs-btn-active-border-color: #13653f;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #fff;\n --bs-btn-disabled-bg: #198754;\n --bs-btn-disabled-border-color: #198754;\n}\n\n.btn-info {\n --bs-btn-color: #000;\n --bs-btn-bg: #0dcaf0;\n --bs-btn-border-color: #0dcaf0;\n --bs-btn-hover-color: #000;\n --bs-btn-hover-bg: #31d2f2;\n --bs-btn-hover-border-color: #25cff2;\n --bs-btn-focus-shadow-rgb: 11, 172, 204;\n --bs-btn-active-color: #000;\n --bs-btn-active-bg: #3dd5f3;\n --bs-btn-active-border-color: #25cff2;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #000;\n --bs-btn-disabled-bg: #0dcaf0;\n --bs-btn-disabled-border-color: #0dcaf0;\n}\n\n.btn-warning {\n --bs-btn-color: #000;\n --bs-btn-bg: #ffc107;\n --bs-btn-border-color: #ffc107;\n --bs-btn-hover-color: #000;\n --bs-btn-hover-bg: #ffca2c;\n --bs-btn-hover-border-color: #ffc720;\n --bs-btn-focus-shadow-rgb: 217, 164, 6;\n --bs-btn-active-color: #000;\n --bs-btn-active-bg: #ffcd39;\n --bs-btn-active-border-color: #ffc720;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #000;\n --bs-btn-disabled-bg: #ffc107;\n --bs-btn-disabled-border-color: #ffc107;\n}\n\n.btn-danger {\n --bs-btn-color: #fff;\n --bs-btn-bg: #dc3545;\n --bs-btn-border-color: #dc3545;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #bb2d3b;\n --bs-btn-hover-border-color: #b02a37;\n --bs-btn-focus-shadow-rgb: 225, 83, 97;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #b02a37;\n --bs-btn-active-border-color: #a52834;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #fff;\n --bs-btn-disabled-bg: #dc3545;\n --bs-btn-disabled-border-color: #dc3545;\n}\n\n.btn-light {\n --bs-btn-color: #000;\n --bs-btn-bg: #f8f9fa;\n --bs-btn-border-color: #f8f9fa;\n --bs-btn-hover-color: #000;\n --bs-btn-hover-bg: #d3d4d5;\n --bs-btn-hover-border-color: #c6c7c8;\n --bs-btn-focus-shadow-rgb: 211, 212, 213;\n --bs-btn-active-color: #000;\n --bs-btn-active-bg: #c6c7c8;\n --bs-btn-active-border-color: #babbbc;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #000;\n --bs-btn-disabled-bg: #f8f9fa;\n --bs-btn-disabled-border-color: #f8f9fa;\n}\n\n.btn-dark {\n --bs-btn-color: #fff;\n --bs-btn-bg: #212529;\n --bs-btn-border-color: #212529;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #424649;\n --bs-btn-hover-border-color: #373b3e;\n --bs-btn-focus-shadow-rgb: 66, 70, 73;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #4d5154;\n --bs-btn-active-border-color: #373b3e;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #fff;\n --bs-btn-disabled-bg: #212529;\n --bs-btn-disabled-border-color: #212529;\n}\n\n.btn-outline-primary {\n --bs-btn-color: #0d6efd;\n --bs-btn-border-color: #0d6efd;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #0d6efd;\n --bs-btn-hover-border-color: #0d6efd;\n --bs-btn-focus-shadow-rgb: 13, 110, 253;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #0d6efd;\n --bs-btn-active-border-color: #0d6efd;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #0d6efd;\n --bs-btn-disabled-bg: transparent;\n --bs-btn-disabled-border-color: #0d6efd;\n --bs-gradient: none;\n}\n\n.btn-outline-secondary {\n --bs-btn-color: #6c757d;\n --bs-btn-border-color: #6c757d;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #6c757d;\n --bs-btn-hover-border-color: #6c757d;\n --bs-btn-focus-shadow-rgb: 108, 117, 125;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #6c757d;\n --bs-btn-active-border-color: #6c757d;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #6c757d;\n --bs-btn-disabled-bg: transparent;\n --bs-btn-disabled-border-color: #6c757d;\n --bs-gradient: none;\n}\n\n.btn-outline-success {\n --bs-btn-color: #198754;\n --bs-btn-border-color: #198754;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #198754;\n --bs-btn-hover-border-color: #198754;\n --bs-btn-focus-shadow-rgb: 25, 135, 84;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #198754;\n --bs-btn-active-border-color: #198754;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #198754;\n --bs-btn-disabled-bg: transparent;\n --bs-btn-disabled-border-color: #198754;\n --bs-gradient: none;\n}\n\n.btn-outline-info {\n --bs-btn-color: #0dcaf0;\n --bs-btn-border-color: #0dcaf0;\n --bs-btn-hover-color: #000;\n --bs-btn-hover-bg: #0dcaf0;\n --bs-btn-hover-border-color: #0dcaf0;\n --bs-btn-focus-shadow-rgb: 13, 202, 240;\n --bs-btn-active-color: #000;\n --bs-btn-active-bg: #0dcaf0;\n --bs-btn-active-border-color: #0dcaf0;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #0dcaf0;\n --bs-btn-disabled-bg: transparent;\n --bs-btn-disabled-border-color: #0dcaf0;\n --bs-gradient: none;\n}\n\n.btn-outline-warning {\n --bs-btn-color: #ffc107;\n --bs-btn-border-color: #ffc107;\n --bs-btn-hover-color: #000;\n --bs-btn-hover-bg: #ffc107;\n --bs-btn-hover-border-color: #ffc107;\n --bs-btn-focus-shadow-rgb: 255, 193, 7;\n --bs-btn-active-color: #000;\n --bs-btn-active-bg: #ffc107;\n --bs-btn-active-border-color: #ffc107;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #ffc107;\n --bs-btn-disabled-bg: transparent;\n --bs-btn-disabled-border-color: #ffc107;\n --bs-gradient: none;\n}\n\n.btn-outline-danger {\n --bs-btn-color: #dc3545;\n --bs-btn-border-color: #dc3545;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #dc3545;\n --bs-btn-hover-border-color: #dc3545;\n --bs-btn-focus-shadow-rgb: 220, 53, 69;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #dc3545;\n --bs-btn-active-border-color: #dc3545;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #dc3545;\n --bs-btn-disabled-bg: transparent;\n --bs-btn-disabled-border-color: #dc3545;\n --bs-gradient: none;\n}\n\n.btn-outline-light {\n --bs-btn-color: #f8f9fa;\n --bs-btn-border-color: #f8f9fa;\n --bs-btn-hover-color: #000;\n --bs-btn-hover-bg: #f8f9fa;\n --bs-btn-hover-border-color: #f8f9fa;\n --bs-btn-focus-shadow-rgb: 248, 249, 250;\n --bs-btn-active-color: #000;\n --bs-btn-active-bg: #f8f9fa;\n --bs-btn-active-border-color: #f8f9fa;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #f8f9fa;\n --bs-btn-disabled-bg: transparent;\n --bs-btn-disabled-border-color: #f8f9fa;\n --bs-gradient: none;\n}\n\n.btn-outline-dark {\n --bs-btn-color: #212529;\n --bs-btn-border-color: #212529;\n --bs-btn-hover-color: #fff;\n --bs-btn-hover-bg: #212529;\n --bs-btn-hover-border-color: #212529;\n --bs-btn-focus-shadow-rgb: 33, 37, 41;\n --bs-btn-active-color: #fff;\n --bs-btn-active-bg: #212529;\n --bs-btn-active-border-color: #212529;\n --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);\n --bs-btn-disabled-color: #212529;\n --bs-btn-disabled-bg: transparent;\n --bs-btn-disabled-border-color: #212529;\n --bs-gradient: none;\n}\n\n.btn-link {\n --bs-btn-font-weight: 400;\n --bs-btn-color: var(--bs-link-color);\n --bs-btn-bg: transparent;\n --bs-btn-border-color: transparent;\n --bs-btn-hover-color: var(--bs-link-hover-color);\n --bs-btn-hover-border-color: transparent;\n --bs-btn-active-color: var(--bs-link-hover-color);\n --bs-btn-active-border-color: transparent;\n --bs-btn-disabled-color: #6c757d;\n --bs-btn-disabled-border-color: transparent;\n --bs-btn-box-shadow: none;\n --bs-btn-focus-shadow-rgb: 49, 132, 253;\n text-decoration: underline;\n}\n.btn-link:focus-visible {\n color: var(--bs-btn-color);\n}\n.btn-link:hover {\n color: var(--bs-btn-hover-color);\n}\n\n.btn-lg, .btn-group-lg > .btn {\n --bs-btn-padding-y: 0.5rem;\n --bs-btn-padding-x: 1rem;\n --bs-btn-font-size: 1.25rem;\n --bs-btn-border-radius: 0.5rem;\n}\n\n.btn-sm, .btn-group-sm > .btn {\n --bs-btn-padding-y: 0.25rem;\n --bs-btn-padding-x: 0.5rem;\n --bs-btn-font-size: 0.875rem;\n --bs-btn-border-radius: 0.25rem;\n}\n\n.fade {\n transition: opacity 0.15s linear;\n}\n@media (prefers-reduced-motion: reduce) {\n .fade {\n transition: none;\n }\n}\n.fade:not(.show) {\n opacity: 0;\n}\n\n.collapse:not(.show) {\n display: none;\n}\n\n.collapsing {\n height: 0;\n overflow: hidden;\n transition: height 0.35s ease;\n}\n@media (prefers-reduced-motion: reduce) {\n .collapsing {\n transition: none;\n }\n}\n.collapsing.collapse-horizontal {\n width: 0;\n height: auto;\n transition: width 0.35s ease;\n}\n@media (prefers-reduced-motion: reduce) {\n .collapsing.collapse-horizontal {\n transition: none;\n }\n}\n\n.dropup,\n.dropend,\n.dropdown,\n.dropstart,\n.dropup-center,\n.dropdown-center {\n position: relative;\n}\n\n.dropdown-toggle {\n white-space: nowrap;\n}\n.dropdown-toggle::after {\n display: inline-block;\n margin-left: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n border-top: 0.3em solid;\n border-right: 0.3em solid transparent;\n border-bottom: 0;\n border-left: 0.3em solid transparent;\n}\n.dropdown-toggle:empty::after {\n margin-left: 0;\n}\n\n.dropdown-menu {\n --bs-dropdown-zindex: 1000;\n --bs-dropdown-min-width: 10rem;\n --bs-dropdown-padding-x: 0;\n --bs-dropdown-padding-y: 0.5rem;\n --bs-dropdown-spacer: 0.125rem;\n --bs-dropdown-font-size: 1rem;\n --bs-dropdown-color: #212529;\n --bs-dropdown-bg: #fff;\n --bs-dropdown-border-color: var(--bs-border-color-translucent);\n --bs-dropdown-border-radius: 0.375rem;\n --bs-dropdown-border-width: 1px;\n --bs-dropdown-inner-border-radius: calc(0.375rem - 1px);\n --bs-dropdown-divider-bg: var(--bs-border-color-translucent);\n --bs-dropdown-divider-margin-y: 0.5rem;\n --bs-dropdown-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);\n --bs-dropdown-link-color: #212529;\n --bs-dropdown-link-hover-color: #1e2125;\n --bs-dropdown-link-hover-bg: #e9ecef;\n --bs-dropdown-link-active-color: #fff;\n --bs-dropdown-link-active-bg: #0d6efd;\n --bs-dropdown-link-disabled-color: #adb5bd;\n --bs-dropdown-item-padding-x: 1rem;\n --bs-dropdown-item-padding-y: 0.25rem;\n --bs-dropdown-header-color: #6c757d;\n --bs-dropdown-header-padding-x: 1rem;\n --bs-dropdown-header-padding-y: 0.5rem;\n position: absolute;\n z-index: var(--bs-dropdown-zindex);\n display: none;\n min-width: var(--bs-dropdown-min-width);\n padding: var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);\n margin: 0;\n font-size: var(--bs-dropdown-font-size);\n color: var(--bs-dropdown-color);\n text-align: left;\n list-style: none;\n background-color: var(--bs-dropdown-bg);\n background-clip: padding-box;\n border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);\n border-radius: var(--bs-dropdown-border-radius);\n}\n.dropdown-menu[data-bs-popper] {\n top: 100%;\n left: 0;\n margin-top: var(--bs-dropdown-spacer);\n}\n\n.dropdown-menu-start {\n --bs-position: start;\n}\n.dropdown-menu-start[data-bs-popper] {\n right: auto;\n left: 0;\n}\n\n.dropdown-menu-end {\n --bs-position: end;\n}\n.dropdown-menu-end[data-bs-popper] {\n right: 0;\n left: auto;\n}\n\n@media (min-width: 576px) {\n .dropdown-menu-sm-start {\n --bs-position: start;\n }\n .dropdown-menu-sm-start[data-bs-popper] {\n right: auto;\n left: 0;\n }\n .dropdown-menu-sm-end {\n --bs-position: end;\n }\n .dropdown-menu-sm-end[data-bs-popper] {\n right: 0;\n left: auto;\n }\n}\n@media (min-width: 768px) {\n .dropdown-menu-md-start {\n --bs-position: start;\n }\n .dropdown-menu-md-start[data-bs-popper] {\n right: auto;\n left: 0;\n }\n .dropdown-menu-md-end {\n --bs-position: end;\n }\n .dropdown-menu-md-end[data-bs-popper] {\n right: 0;\n left: auto;\n }\n}\n@media (min-width: 992px) {\n .dropdown-menu-lg-start {\n --bs-position: start;\n }\n .dropdown-menu-lg-start[data-bs-popper] {\n right: auto;\n left: 0;\n }\n .dropdown-menu-lg-end {\n --bs-position: end;\n }\n .dropdown-menu-lg-end[data-bs-popper] {\n right: 0;\n left: auto;\n }\n}\n@media (min-width: 1200px) {\n .dropdown-menu-xl-start {\n --bs-position: start;\n }\n .dropdown-menu-xl-start[data-bs-popper] {\n right: auto;\n left: 0;\n }\n .dropdown-menu-xl-end {\n --bs-position: end;\n }\n .dropdown-menu-xl-end[data-bs-popper] {\n right: 0;\n left: auto;\n }\n}\n@media (min-width: 1400px) {\n .dropdown-menu-xxl-start {\n --bs-position: start;\n }\n .dropdown-menu-xxl-start[data-bs-popper] {\n right: auto;\n left: 0;\n }\n .dropdown-menu-xxl-end {\n --bs-position: end;\n }\n .dropdown-menu-xxl-end[data-bs-popper] {\n right: 0;\n left: auto;\n }\n}\n.dropup .dropdown-menu[data-bs-popper] {\n top: auto;\n bottom: 100%;\n margin-top: 0;\n margin-bottom: var(--bs-dropdown-spacer);\n}\n.dropup .dropdown-toggle::after {\n display: inline-block;\n margin-left: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n border-top: 0;\n border-right: 0.3em solid transparent;\n border-bottom: 0.3em solid;\n border-left: 0.3em solid transparent;\n}\n.dropup .dropdown-toggle:empty::after {\n margin-left: 0;\n}\n\n.dropend .dropdown-menu[data-bs-popper] {\n top: 0;\n right: auto;\n left: 100%;\n margin-top: 0;\n margin-left: var(--bs-dropdown-spacer);\n}\n.dropend .dropdown-toggle::after {\n display: inline-block;\n margin-left: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n border-top: 0.3em solid transparent;\n border-right: 0;\n border-bottom: 0.3em solid transparent;\n border-left: 0.3em solid;\n}\n.dropend .dropdown-toggle:empty::after {\n margin-left: 0;\n}\n.dropend .dropdown-toggle::after {\n vertical-align: 0;\n}\n\n.dropstart .dropdown-menu[data-bs-popper] {\n top: 0;\n right: 100%;\n left: auto;\n margin-top: 0;\n margin-right: var(--bs-dropdown-spacer);\n}\n.dropstart .dropdown-toggle::after {\n display: inline-block;\n margin-left: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n}\n.dropstart .dropdown-toggle::after {\n display: none;\n}\n.dropstart .dropdown-toggle::before {\n display: inline-block;\n margin-right: 0.255em;\n vertical-align: 0.255em;\n content: \"\";\n border-top: 0.3em solid transparent;\n border-right: 0.3em solid;\n border-bottom: 0.3em solid transparent;\n}\n.dropstart .dropdown-toggle:empty::after {\n margin-left: 0;\n}\n.dropstart .dropdown-toggle::before {\n vertical-align: 0;\n}\n\n.dropdown-divider {\n height: 0;\n margin: var(--bs-dropdown-divider-margin-y) 0;\n overflow: hidden;\n border-top: 1px solid var(--bs-dropdown-divider-bg);\n opacity: 1;\n}\n\n.dropdown-item {\n display: block;\n width: 100%;\n padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);\n clear: both;\n font-weight: 400;\n color: var(--bs-dropdown-link-color);\n text-align: inherit;\n text-decoration: none;\n white-space: nowrap;\n background-color: transparent;\n border: 0;\n}\n.dropdown-item:hover, .dropdown-item:focus {\n color: var(--bs-dropdown-link-hover-color);\n background-color: var(--bs-dropdown-link-hover-bg);\n}\n.dropdown-item.active, .dropdown-item:active {\n color: var(--bs-dropdown-link-active-color);\n text-decoration: none;\n background-color: var(--bs-dropdown-link-active-bg);\n}\n.dropdown-item.disabled, .dropdown-item:disabled {\n color: var(--bs-dropdown-link-disabled-color);\n pointer-events: none;\n background-color: transparent;\n}\n\n.dropdown-menu.show {\n display: block;\n}\n\n.dropdown-header {\n display: block;\n padding: var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);\n margin-bottom: 0;\n font-size: 0.875rem;\n color: var(--bs-dropdown-header-color);\n white-space: nowrap;\n}\n\n.dropdown-item-text {\n display: block;\n padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);\n color: var(--bs-dropdown-link-color);\n}\n\n.dropdown-menu-dark {\n --bs-dropdown-color: #dee2e6;\n --bs-dropdown-bg: #343a40;\n --bs-dropdown-border-color: var(--bs-border-color-translucent);\n --bs-dropdown-box-shadow: ;\n --bs-dropdown-link-color: #dee2e6;\n --bs-dropdown-link-hover-color: #fff;\n --bs-dropdown-divider-bg: var(--bs-border-color-translucent);\n --bs-dropdown-link-hover-bg: rgba(255, 255, 255, 0.15);\n --bs-dropdown-link-active-color: #fff;\n --bs-dropdown-link-active-bg: #0d6efd;\n --bs-dropdown-link-disabled-color: #adb5bd;\n --bs-dropdown-header-color: #adb5bd;\n}\n\n.btn-group,\n.btn-group-vertical {\n position: relative;\n display: inline-flex;\n vertical-align: middle;\n}\n.btn-group > .btn,\n.btn-group-vertical > .btn {\n position: relative;\n flex: 1 1 auto;\n}\n.btn-group > .btn-check:checked + .btn,\n.btn-group > .btn-check:focus + .btn,\n.btn-group > .btn:hover,\n.btn-group > .btn:focus,\n.btn-group > .btn:active,\n.btn-group > .btn.active,\n.btn-group-vertical > .btn-check:checked + .btn,\n.btn-group-vertical > .btn-check:focus + .btn,\n.btn-group-vertical > .btn:hover,\n.btn-group-vertical > .btn:focus,\n.btn-group-vertical > .btn:active,\n.btn-group-vertical > .btn.active {\n z-index: 1;\n}\n\n.btn-toolbar {\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-start;\n}\n.btn-toolbar .input-group {\n width: auto;\n}\n\n.btn-group {\n border-radius: 0.375rem;\n}\n.btn-group > :not(.btn-check:first-child) + .btn,\n.btn-group > .btn-group:not(:first-child) {\n margin-left: -1px;\n}\n.btn-group > .btn:not(:last-child):not(.dropdown-toggle),\n.btn-group > .btn.dropdown-toggle-split:first-child,\n.btn-group > .btn-group:not(:last-child) > .btn {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.btn-group > .btn:nth-child(n+3),\n.btn-group > :not(.btn-check) + .btn,\n.btn-group > .btn-group:not(:first-child) > .btn {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.dropdown-toggle-split {\n padding-right: 0.5625rem;\n padding-left: 0.5625rem;\n}\n.dropdown-toggle-split::after, .dropup .dropdown-toggle-split::after, .dropend .dropdown-toggle-split::after {\n margin-left: 0;\n}\n.dropstart .dropdown-toggle-split::before {\n margin-right: 0;\n}\n\n.btn-sm + .dropdown-toggle-split, .btn-group-sm > .btn + .dropdown-toggle-split {\n padding-right: 0.375rem;\n padding-left: 0.375rem;\n}\n\n.btn-lg + .dropdown-toggle-split, .btn-group-lg > .btn + .dropdown-toggle-split {\n padding-right: 0.75rem;\n padding-left: 0.75rem;\n}\n\n.btn-group-vertical {\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n}\n.btn-group-vertical > .btn,\n.btn-group-vertical > .btn-group {\n width: 100%;\n}\n.btn-group-vertical > .btn:not(:first-child),\n.btn-group-vertical > .btn-group:not(:first-child) {\n margin-top: -1px;\n}\n.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle),\n.btn-group-vertical > .btn-group:not(:last-child) > .btn {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.btn-group-vertical > .btn ~ .btn,\n.btn-group-vertical > .btn-group:not(:first-child) > .btn {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n.nav {\n --bs-nav-link-padding-x: 1rem;\n --bs-nav-link-padding-y: 0.5rem;\n --bs-nav-link-font-weight: ;\n --bs-nav-link-color: var(--bs-link-color);\n --bs-nav-link-hover-color: var(--bs-link-hover-color);\n --bs-nav-link-disabled-color: #6c757d;\n display: flex;\n flex-wrap: wrap;\n padding-left: 0;\n margin-bottom: 0;\n list-style: none;\n}\n\n.nav-link {\n display: block;\n padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);\n font-size: var(--bs-nav-link-font-size);\n font-weight: var(--bs-nav-link-font-weight);\n color: var(--bs-nav-link-color);\n text-decoration: none;\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .nav-link {\n transition: none;\n }\n}\n.nav-link:hover, .nav-link:focus {\n color: var(--bs-nav-link-hover-color);\n}\n.nav-link.disabled {\n color: var(--bs-nav-link-disabled-color);\n pointer-events: none;\n cursor: default;\n}\n\n.nav-tabs {\n --bs-nav-tabs-border-width: 1px;\n --bs-nav-tabs-border-color: #dee2e6;\n --bs-nav-tabs-border-radius: 0.375rem;\n --bs-nav-tabs-link-hover-border-color: #e9ecef #e9ecef #dee2e6;\n --bs-nav-tabs-link-active-color: #495057;\n --bs-nav-tabs-link-active-bg: #fff;\n --bs-nav-tabs-link-active-border-color: #dee2e6 #dee2e6 #fff;\n border-bottom: var(--bs-nav-tabs-border-width) solid var(--bs-nav-tabs-border-color);\n}\n.nav-tabs .nav-link {\n margin-bottom: calc(-1 * var(--bs-nav-tabs-border-width));\n background: none;\n border: var(--bs-nav-tabs-border-width) solid transparent;\n border-top-left-radius: var(--bs-nav-tabs-border-radius);\n border-top-right-radius: var(--bs-nav-tabs-border-radius);\n}\n.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {\n isolation: isolate;\n border-color: var(--bs-nav-tabs-link-hover-border-color);\n}\n.nav-tabs .nav-link.disabled, .nav-tabs .nav-link:disabled {\n color: var(--bs-nav-link-disabled-color);\n background-color: transparent;\n border-color: transparent;\n}\n.nav-tabs .nav-link.active,\n.nav-tabs .nav-item.show .nav-link {\n color: var(--bs-nav-tabs-link-active-color);\n background-color: var(--bs-nav-tabs-link-active-bg);\n border-color: var(--bs-nav-tabs-link-active-border-color);\n}\n.nav-tabs .dropdown-menu {\n margin-top: calc(-1 * var(--bs-nav-tabs-border-width));\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n}\n\n.nav-pills {\n --bs-nav-pills-border-radius: 0.375rem;\n --bs-nav-pills-link-active-color: #fff;\n --bs-nav-pills-link-active-bg: #0d6efd;\n}\n.nav-pills .nav-link {\n background: none;\n border: 0;\n border-radius: var(--bs-nav-pills-border-radius);\n}\n.nav-pills .nav-link:disabled {\n color: var(--bs-nav-link-disabled-color);\n background-color: transparent;\n border-color: transparent;\n}\n.nav-pills .nav-link.active,\n.nav-pills .show > .nav-link {\n color: var(--bs-nav-pills-link-active-color);\n background-color: var(--bs-nav-pills-link-active-bg);\n}\n\n.nav-fill > .nav-link,\n.nav-fill .nav-item {\n flex: 1 1 auto;\n text-align: center;\n}\n\n.nav-justified > .nav-link,\n.nav-justified .nav-item {\n flex-basis: 0;\n flex-grow: 1;\n text-align: center;\n}\n\n.nav-fill .nav-item .nav-link,\n.nav-justified .nav-item .nav-link {\n width: 100%;\n}\n\n.tab-content > .tab-pane {\n display: none;\n}\n.tab-content > .active {\n display: block;\n}\n\n.navbar {\n --bs-navbar-padding-x: 0;\n --bs-navbar-padding-y: 0.5rem;\n --bs-navbar-color: rgba(0, 0, 0, 0.55);\n --bs-navbar-hover-color: rgba(0, 0, 0, 0.7);\n --bs-navbar-disabled-color: rgba(0, 0, 0, 0.3);\n --bs-navbar-active-color: rgba(0, 0, 0, 0.9);\n --bs-navbar-brand-padding-y: 0.3125rem;\n --bs-navbar-brand-margin-end: 1rem;\n --bs-navbar-brand-font-size: 1.25rem;\n --bs-navbar-brand-color: rgba(0, 0, 0, 0.9);\n --bs-navbar-brand-hover-color: rgba(0, 0, 0, 0.9);\n --bs-navbar-nav-link-padding-x: 0.5rem;\n --bs-navbar-toggler-padding-y: 0.25rem;\n --bs-navbar-toggler-padding-x: 0.75rem;\n --bs-navbar-toggler-font-size: 1.25rem;\n --bs-navbar-toggler-icon-bg: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\");\n --bs-navbar-toggler-border-color: rgba(0, 0, 0, 0.1);\n --bs-navbar-toggler-border-radius: 0.375rem;\n --bs-navbar-toggler-focus-width: 0.25rem;\n --bs-navbar-toggler-transition: box-shadow 0.15s ease-in-out;\n position: relative;\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n padding: var(--bs-navbar-padding-y) var(--bs-navbar-padding-x);\n}\n.navbar > .container,\n.navbar > .container-fluid,\n.navbar > .container-sm,\n.navbar > .container-md,\n.navbar > .container-lg,\n.navbar > .container-xl,\n.navbar > .container-xxl {\n display: flex;\n flex-wrap: inherit;\n align-items: center;\n justify-content: space-between;\n}\n.navbar-brand {\n padding-top: var(--bs-navbar-brand-padding-y);\n padding-bottom: var(--bs-navbar-brand-padding-y);\n margin-right: var(--bs-navbar-brand-margin-end);\n font-size: var(--bs-navbar-brand-font-size);\n color: var(--bs-navbar-brand-color);\n text-decoration: none;\n white-space: nowrap;\n}\n.navbar-brand:hover, .navbar-brand:focus {\n color: var(--bs-navbar-brand-hover-color);\n}\n\n.navbar-nav {\n --bs-nav-link-padding-x: 0;\n --bs-nav-link-padding-y: 0.5rem;\n --bs-nav-link-font-weight: ;\n --bs-nav-link-color: var(--bs-navbar-color);\n --bs-nav-link-hover-color: var(--bs-navbar-hover-color);\n --bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);\n display: flex;\n flex-direction: column;\n padding-left: 0;\n margin-bottom: 0;\n list-style: none;\n}\n.navbar-nav .show > .nav-link,\n.navbar-nav .nav-link.active {\n color: var(--bs-navbar-active-color);\n}\n.navbar-nav .dropdown-menu {\n position: static;\n}\n\n.navbar-text {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n color: var(--bs-navbar-color);\n}\n.navbar-text a,\n.navbar-text a:hover,\n.navbar-text a:focus {\n color: var(--bs-navbar-active-color);\n}\n\n.navbar-collapse {\n flex-basis: 100%;\n flex-grow: 1;\n align-items: center;\n}\n\n.navbar-toggler {\n padding: var(--bs-navbar-toggler-padding-y) var(--bs-navbar-toggler-padding-x);\n font-size: var(--bs-navbar-toggler-font-size);\n line-height: 1;\n color: var(--bs-navbar-color);\n background-color: transparent;\n border: var(--bs-border-width) solid var(--bs-navbar-toggler-border-color);\n border-radius: var(--bs-navbar-toggler-border-radius);\n transition: var(--bs-navbar-toggler-transition);\n}\n@media (prefers-reduced-motion: reduce) {\n .navbar-toggler {\n transition: none;\n }\n}\n.navbar-toggler:hover {\n text-decoration: none;\n}\n.navbar-toggler:focus {\n text-decoration: none;\n outline: 0;\n box-shadow: 0 0 0 var(--bs-navbar-toggler-focus-width);\n}\n\n.navbar-toggler-icon {\n display: inline-block;\n width: 1.5em;\n height: 1.5em;\n vertical-align: middle;\n background-image: var(--bs-navbar-toggler-icon-bg);\n background-repeat: no-repeat;\n background-position: center;\n background-size: 100%;\n}\n\n.navbar-nav-scroll {\n max-height: var(--bs-scroll-height, 75vh);\n overflow-y: auto;\n}\n\n@media (min-width: 576px) {\n .navbar-expand-sm {\n flex-wrap: nowrap;\n justify-content: flex-start;\n }\n .navbar-expand-sm .navbar-nav {\n flex-direction: row;\n }\n .navbar-expand-sm .navbar-nav .dropdown-menu {\n position: absolute;\n }\n .navbar-expand-sm .navbar-nav .nav-link {\n padding-right: var(--bs-navbar-nav-link-padding-x);\n padding-left: var(--bs-navbar-nav-link-padding-x);\n }\n .navbar-expand-sm .navbar-nav-scroll {\n overflow: visible;\n }\n .navbar-expand-sm .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n }\n .navbar-expand-sm .navbar-toggler {\n display: none;\n }\n .navbar-expand-sm .offcanvas {\n position: static;\n z-index: auto;\n flex-grow: 1;\n width: auto !important;\n height: auto !important;\n visibility: visible !important;\n background-color: transparent !important;\n border: 0 !important;\n transform: none !important;\n transition: none;\n }\n .navbar-expand-sm .offcanvas .offcanvas-header {\n display: none;\n }\n .navbar-expand-sm .offcanvas .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n }\n}\n@media (min-width: 768px) {\n .navbar-expand-md {\n flex-wrap: nowrap;\n justify-content: flex-start;\n }\n .navbar-expand-md .navbar-nav {\n flex-direction: row;\n }\n .navbar-expand-md .navbar-nav .dropdown-menu {\n position: absolute;\n }\n .navbar-expand-md .navbar-nav .nav-link {\n padding-right: var(--bs-navbar-nav-link-padding-x);\n padding-left: var(--bs-navbar-nav-link-padding-x);\n }\n .navbar-expand-md .navbar-nav-scroll {\n overflow: visible;\n }\n .navbar-expand-md .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n }\n .navbar-expand-md .navbar-toggler {\n display: none;\n }\n .navbar-expand-md .offcanvas {\n position: static;\n z-index: auto;\n flex-grow: 1;\n width: auto !important;\n height: auto !important;\n visibility: visible !important;\n background-color: transparent !important;\n border: 0 !important;\n transform: none !important;\n transition: none;\n }\n .navbar-expand-md .offcanvas .offcanvas-header {\n display: none;\n }\n .navbar-expand-md .offcanvas .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n }\n}\n@media (min-width: 992px) {\n .navbar-expand-lg {\n flex-wrap: nowrap;\n justify-content: flex-start;\n }\n .navbar-expand-lg .navbar-nav {\n flex-direction: row;\n }\n .navbar-expand-lg .navbar-nav .dropdown-menu {\n position: absolute;\n }\n .navbar-expand-lg .navbar-nav .nav-link {\n padding-right: var(--bs-navbar-nav-link-padding-x);\n padding-left: var(--bs-navbar-nav-link-padding-x);\n }\n .navbar-expand-lg .navbar-nav-scroll {\n overflow: visible;\n }\n .navbar-expand-lg .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n }\n .navbar-expand-lg .navbar-toggler {\n display: none;\n }\n .navbar-expand-lg .offcanvas {\n position: static;\n z-index: auto;\n flex-grow: 1;\n width: auto !important;\n height: auto !important;\n visibility: visible !important;\n background-color: transparent !important;\n border: 0 !important;\n transform: none !important;\n transition: none;\n }\n .navbar-expand-lg .offcanvas .offcanvas-header {\n display: none;\n }\n .navbar-expand-lg .offcanvas .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n }\n}\n@media (min-width: 1200px) {\n .navbar-expand-xl {\n flex-wrap: nowrap;\n justify-content: flex-start;\n }\n .navbar-expand-xl .navbar-nav {\n flex-direction: row;\n }\n .navbar-expand-xl .navbar-nav .dropdown-menu {\n position: absolute;\n }\n .navbar-expand-xl .navbar-nav .nav-link {\n padding-right: var(--bs-navbar-nav-link-padding-x);\n padding-left: var(--bs-navbar-nav-link-padding-x);\n }\n .navbar-expand-xl .navbar-nav-scroll {\n overflow: visible;\n }\n .navbar-expand-xl .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n }\n .navbar-expand-xl .navbar-toggler {\n display: none;\n }\n .navbar-expand-xl .offcanvas {\n position: static;\n z-index: auto;\n flex-grow: 1;\n width: auto !important;\n height: auto !important;\n visibility: visible !important;\n background-color: transparent !important;\n border: 0 !important;\n transform: none !important;\n transition: none;\n }\n .navbar-expand-xl .offcanvas .offcanvas-header {\n display: none;\n }\n .navbar-expand-xl .offcanvas .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n }\n}\n@media (min-width: 1400px) {\n .navbar-expand-xxl {\n flex-wrap: nowrap;\n justify-content: flex-start;\n }\n .navbar-expand-xxl .navbar-nav {\n flex-direction: row;\n }\n .navbar-expand-xxl .navbar-nav .dropdown-menu {\n position: absolute;\n }\n .navbar-expand-xxl .navbar-nav .nav-link {\n padding-right: var(--bs-navbar-nav-link-padding-x);\n padding-left: var(--bs-navbar-nav-link-padding-x);\n }\n .navbar-expand-xxl .navbar-nav-scroll {\n overflow: visible;\n }\n .navbar-expand-xxl .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n }\n .navbar-expand-xxl .navbar-toggler {\n display: none;\n }\n .navbar-expand-xxl .offcanvas {\n position: static;\n z-index: auto;\n flex-grow: 1;\n width: auto !important;\n height: auto !important;\n visibility: visible !important;\n background-color: transparent !important;\n border: 0 !important;\n transform: none !important;\n transition: none;\n }\n .navbar-expand-xxl .offcanvas .offcanvas-header {\n display: none;\n }\n .navbar-expand-xxl .offcanvas .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n }\n}\n.navbar-expand {\n flex-wrap: nowrap;\n justify-content: flex-start;\n}\n.navbar-expand .navbar-nav {\n flex-direction: row;\n}\n.navbar-expand .navbar-nav .dropdown-menu {\n position: absolute;\n}\n.navbar-expand .navbar-nav .nav-link {\n padding-right: var(--bs-navbar-nav-link-padding-x);\n padding-left: var(--bs-navbar-nav-link-padding-x);\n}\n.navbar-expand .navbar-nav-scroll {\n overflow: visible;\n}\n.navbar-expand .navbar-collapse {\n display: flex !important;\n flex-basis: auto;\n}\n.navbar-expand .navbar-toggler {\n display: none;\n}\n.navbar-expand .offcanvas {\n position: static;\n z-index: auto;\n flex-grow: 1;\n width: auto !important;\n height: auto !important;\n visibility: visible !important;\n background-color: transparent !important;\n border: 0 !important;\n transform: none !important;\n transition: none;\n}\n.navbar-expand .offcanvas .offcanvas-header {\n display: none;\n}\n.navbar-expand .offcanvas .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n}\n\n.navbar-dark {\n --bs-navbar-color: rgba(255, 255, 255, 0.55);\n --bs-navbar-hover-color: rgba(255, 255, 255, 0.75);\n --bs-navbar-disabled-color: rgba(255, 255, 255, 0.25);\n --bs-navbar-active-color: #fff;\n --bs-navbar-brand-color: #fff;\n --bs-navbar-brand-hover-color: #fff;\n --bs-navbar-toggler-border-color: rgba(255, 255, 255, 0.1);\n --bs-navbar-toggler-icon-bg: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e\");\n}\n\n.card {\n --bs-card-spacer-y: 1rem;\n --bs-card-spacer-x: 1rem;\n --bs-card-title-spacer-y: 0.5rem;\n --bs-card-border-width: 1px;\n --bs-card-border-color: var(--bs-border-color-translucent);\n --bs-card-border-radius: 0.375rem;\n --bs-card-box-shadow: ;\n --bs-card-inner-border-radius: calc(0.375rem - 1px);\n --bs-card-cap-padding-y: 0.5rem;\n --bs-card-cap-padding-x: 1rem;\n --bs-card-cap-bg: rgba(0, 0, 0, 0.03);\n --bs-card-cap-color: ;\n --bs-card-height: ;\n --bs-card-color: ;\n --bs-card-bg: #fff;\n --bs-card-img-overlay-padding: 1rem;\n --bs-card-group-margin: 0.75rem;\n position: relative;\n display: flex;\n flex-direction: column;\n min-width: 0;\n height: var(--bs-card-height);\n word-wrap: break-word;\n background-color: var(--bs-card-bg);\n background-clip: border-box;\n border: var(--bs-card-border-width) solid var(--bs-card-border-color);\n border-radius: var(--bs-card-border-radius);\n}\n.card > hr {\n margin-right: 0;\n margin-left: 0;\n}\n.card > .list-group {\n border-top: inherit;\n border-bottom: inherit;\n}\n.card > .list-group:first-child {\n border-top-width: 0;\n border-top-left-radius: var(--bs-card-inner-border-radius);\n border-top-right-radius: var(--bs-card-inner-border-radius);\n}\n.card > .list-group:last-child {\n border-bottom-width: 0;\n border-bottom-right-radius: var(--bs-card-inner-border-radius);\n border-bottom-left-radius: var(--bs-card-inner-border-radius);\n}\n.card > .card-header + .list-group,\n.card > .list-group + .card-footer {\n border-top: 0;\n}\n\n.card-body {\n flex: 1 1 auto;\n padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);\n color: var(--bs-card-color);\n}\n\n.card-title {\n margin-bottom: var(--bs-card-title-spacer-y);\n}\n\n.card-subtitle {\n margin-top: calc(-0.5 * var(--bs-card-title-spacer-y));\n margin-bottom: 0;\n}\n\n.card-text:last-child {\n margin-bottom: 0;\n}\n\n.card-link + .card-link {\n margin-left: var(--bs-card-spacer-x);\n}\n\n.card-header {\n padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);\n margin-bottom: 0;\n color: var(--bs-card-cap-color);\n background-color: var(--bs-card-cap-bg);\n border-bottom: var(--bs-card-border-width) solid var(--bs-card-border-color);\n}\n.card-header:first-child {\n border-radius: var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0;\n}\n\n.card-footer {\n padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);\n color: var(--bs-card-cap-color);\n background-color: var(--bs-card-cap-bg);\n border-top: var(--bs-card-border-width) solid var(--bs-card-border-color);\n}\n.card-footer:last-child {\n border-radius: 0 0 var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius);\n}\n\n.card-header-tabs {\n margin-right: calc(-0.5 * var(--bs-card-cap-padding-x));\n margin-bottom: calc(-1 * var(--bs-card-cap-padding-y));\n margin-left: calc(-0.5 * var(--bs-card-cap-padding-x));\n border-bottom: 0;\n}\n.card-header-tabs .nav-link.active {\n background-color: var(--bs-card-bg);\n border-bottom-color: var(--bs-card-bg);\n}\n\n.card-header-pills {\n margin-right: calc(-0.5 * var(--bs-card-cap-padding-x));\n margin-left: calc(-0.5 * var(--bs-card-cap-padding-x));\n}\n\n.card-img-overlay {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n padding: var(--bs-card-img-overlay-padding);\n border-radius: var(--bs-card-inner-border-radius);\n}\n\n.card-img,\n.card-img-top,\n.card-img-bottom {\n width: 100%;\n}\n\n.card-img,\n.card-img-top {\n border-top-left-radius: var(--bs-card-inner-border-radius);\n border-top-right-radius: var(--bs-card-inner-border-radius);\n}\n\n.card-img,\n.card-img-bottom {\n border-bottom-right-radius: var(--bs-card-inner-border-radius);\n border-bottom-left-radius: var(--bs-card-inner-border-radius);\n}\n\n.card-group > .card {\n margin-bottom: var(--bs-card-group-margin);\n}\n@media (min-width: 576px) {\n .card-group {\n display: flex;\n flex-flow: row wrap;\n }\n .card-group > .card {\n flex: 1 0 0%;\n margin-bottom: 0;\n }\n .card-group > .card + .card {\n margin-left: 0;\n border-left: 0;\n }\n .card-group > .card:not(:last-child) {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n }\n .card-group > .card:not(:last-child) .card-img-top,\n.card-group > .card:not(:last-child) .card-header {\n border-top-right-radius: 0;\n }\n .card-group > .card:not(:last-child) .card-img-bottom,\n.card-group > .card:not(:last-child) .card-footer {\n border-bottom-right-radius: 0;\n }\n .card-group > .card:not(:first-child) {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n .card-group > .card:not(:first-child) .card-img-top,\n.card-group > .card:not(:first-child) .card-header {\n border-top-left-radius: 0;\n }\n .card-group > .card:not(:first-child) .card-img-bottom,\n.card-group > .card:not(:first-child) .card-footer {\n border-bottom-left-radius: 0;\n }\n}\n\n.accordion {\n --bs-accordion-color: #212529;\n --bs-accordion-bg: #fff;\n --bs-accordion-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;\n --bs-accordion-border-color: var(--bs-border-color);\n --bs-accordion-border-width: 1px;\n --bs-accordion-border-radius: 0.375rem;\n --bs-accordion-inner-border-radius: calc(0.375rem - 1px);\n --bs-accordion-btn-padding-x: 1.25rem;\n --bs-accordion-btn-padding-y: 1rem;\n --bs-accordion-btn-color: #212529;\n --bs-accordion-btn-bg: var(--bs-accordion-bg);\n --bs-accordion-btn-icon: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e\");\n --bs-accordion-btn-icon-width: 1.25rem;\n --bs-accordion-btn-icon-transform: rotate(-180deg);\n --bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;\n --bs-accordion-btn-active-icon: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e\");\n --bs-accordion-btn-focus-border-color: #86b7fe;\n --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);\n --bs-accordion-body-padding-x: 1.25rem;\n --bs-accordion-body-padding-y: 1rem;\n --bs-accordion-active-color: #0c63e4;\n --bs-accordion-active-bg: #e7f1ff;\n}\n\n.accordion-button {\n position: relative;\n display: flex;\n align-items: center;\n width: 100%;\n padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);\n font-size: 1rem;\n color: var(--bs-accordion-btn-color);\n text-align: left;\n background-color: var(--bs-accordion-btn-bg);\n border: 0;\n border-radius: 0;\n overflow-anchor: none;\n transition: var(--bs-accordion-transition);\n}\n@media (prefers-reduced-motion: reduce) {\n .accordion-button {\n transition: none;\n }\n}\n.accordion-button:not(.collapsed) {\n color: var(--bs-accordion-active-color);\n background-color: var(--bs-accordion-active-bg);\n box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);\n}\n.accordion-button:not(.collapsed)::after {\n background-image: var(--bs-accordion-btn-active-icon);\n transform: var(--bs-accordion-btn-icon-transform);\n}\n.accordion-button::after {\n flex-shrink: 0;\n width: var(--bs-accordion-btn-icon-width);\n height: var(--bs-accordion-btn-icon-width);\n margin-left: auto;\n content: \"\";\n background-image: var(--bs-accordion-btn-icon);\n background-repeat: no-repeat;\n background-size: var(--bs-accordion-btn-icon-width);\n transition: var(--bs-accordion-btn-icon-transition);\n}\n@media (prefers-reduced-motion: reduce) {\n .accordion-button::after {\n transition: none;\n }\n}\n.accordion-button:hover {\n z-index: 2;\n}\n.accordion-button:focus {\n z-index: 3;\n border-color: var(--bs-accordion-btn-focus-border-color);\n outline: 0;\n box-shadow: var(--bs-accordion-btn-focus-box-shadow);\n}\n\n.accordion-header {\n margin-bottom: 0;\n}\n\n.accordion-item {\n color: var(--bs-accordion-color);\n background-color: var(--bs-accordion-bg);\n border: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);\n}\n.accordion-item:first-of-type {\n border-top-left-radius: var(--bs-accordion-border-radius);\n border-top-right-radius: var(--bs-accordion-border-radius);\n}\n.accordion-item:first-of-type .accordion-button {\n border-top-left-radius: var(--bs-accordion-inner-border-radius);\n border-top-right-radius: var(--bs-accordion-inner-border-radius);\n}\n.accordion-item:not(:first-of-type) {\n border-top: 0;\n}\n.accordion-item:last-of-type {\n border-bottom-right-radius: var(--bs-accordion-border-radius);\n border-bottom-left-radius: var(--bs-accordion-border-radius);\n}\n.accordion-item:last-of-type .accordion-button.collapsed {\n border-bottom-right-radius: var(--bs-accordion-inner-border-radius);\n border-bottom-left-radius: var(--bs-accordion-inner-border-radius);\n}\n.accordion-item:last-of-type .accordion-collapse {\n border-bottom-right-radius: var(--bs-accordion-border-radius);\n border-bottom-left-radius: var(--bs-accordion-border-radius);\n}\n\n.accordion-body {\n padding: var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x);\n}\n\n.accordion-flush .accordion-collapse {\n border-width: 0;\n}\n.accordion-flush .accordion-item {\n border-right: 0;\n border-left: 0;\n border-radius: 0;\n}\n.accordion-flush .accordion-item:first-child {\n border-top: 0;\n}\n.accordion-flush .accordion-item:last-child {\n border-bottom: 0;\n}\n.accordion-flush .accordion-item .accordion-button, .accordion-flush .accordion-item .accordion-button.collapsed {\n border-radius: 0;\n}\n\n.breadcrumb {\n --bs-breadcrumb-padding-x: 0;\n --bs-breadcrumb-padding-y: 0;\n --bs-breadcrumb-margin-bottom: 1rem;\n --bs-breadcrumb-bg: ;\n --bs-breadcrumb-border-radius: ;\n --bs-breadcrumb-divider-color: #6c757d;\n --bs-breadcrumb-item-padding-x: 0.5rem;\n --bs-breadcrumb-item-active-color: #6c757d;\n display: flex;\n flex-wrap: wrap;\n padding: var(--bs-breadcrumb-padding-y) var(--bs-breadcrumb-padding-x);\n margin-bottom: var(--bs-breadcrumb-margin-bottom);\n font-size: var(--bs-breadcrumb-font-size);\n list-style: none;\n background-color: var(--bs-breadcrumb-bg);\n border-radius: var(--bs-breadcrumb-border-radius);\n}\n\n.breadcrumb-item + .breadcrumb-item {\n padding-left: var(--bs-breadcrumb-item-padding-x);\n}\n.breadcrumb-item + .breadcrumb-item::before {\n float: left;\n padding-right: var(--bs-breadcrumb-item-padding-x);\n color: var(--bs-breadcrumb-divider-color);\n content: var(--bs-breadcrumb-divider, \"/\") /* rtl: var(--bs-breadcrumb-divider, \"/\") */;\n}\n.breadcrumb-item.active {\n color: var(--bs-breadcrumb-item-active-color);\n}\n\n.pagination {\n --bs-pagination-padding-x: 0.75rem;\n --bs-pagination-padding-y: 0.375rem;\n --bs-pagination-font-size: 1rem;\n --bs-pagination-color: var(--bs-link-color);\n --bs-pagination-bg: #fff;\n --bs-pagination-border-width: 1px;\n --bs-pagination-border-color: #dee2e6;\n --bs-pagination-border-radius: 0.375rem;\n --bs-pagination-hover-color: var(--bs-link-hover-color);\n --bs-pagination-hover-bg: #e9ecef;\n --bs-pagination-hover-border-color: #dee2e6;\n --bs-pagination-focus-color: var(--bs-link-hover-color);\n --bs-pagination-focus-bg: #e9ecef;\n --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);\n --bs-pagination-active-color: #fff;\n --bs-pagination-active-bg: #0d6efd;\n --bs-pagination-active-border-color: #0d6efd;\n --bs-pagination-disabled-color: #6c757d;\n --bs-pagination-disabled-bg: #fff;\n --bs-pagination-disabled-border-color: #dee2e6;\n display: flex;\n padding-left: 0;\n list-style: none;\n}\n\n.page-link {\n position: relative;\n display: block;\n padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);\n font-size: var(--bs-pagination-font-size);\n color: var(--bs-pagination-color);\n text-decoration: none;\n background-color: var(--bs-pagination-bg);\n border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);\n transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .page-link {\n transition: none;\n }\n}\n.page-link:hover {\n z-index: 2;\n color: var(--bs-pagination-hover-color);\n background-color: var(--bs-pagination-hover-bg);\n border-color: var(--bs-pagination-hover-border-color);\n}\n.page-link:focus {\n z-index: 3;\n color: var(--bs-pagination-focus-color);\n background-color: var(--bs-pagination-focus-bg);\n outline: 0;\n box-shadow: var(--bs-pagination-focus-box-shadow);\n}\n.page-link.active, .active > .page-link {\n z-index: 3;\n color: var(--bs-pagination-active-color);\n background-color: var(--bs-pagination-active-bg);\n border-color: var(--bs-pagination-active-border-color);\n}\n.page-link.disabled, .disabled > .page-link {\n color: var(--bs-pagination-disabled-color);\n pointer-events: none;\n background-color: var(--bs-pagination-disabled-bg);\n border-color: var(--bs-pagination-disabled-border-color);\n}\n\n.page-item:not(:first-child) .page-link {\n margin-left: -1px;\n}\n.page-item:first-child .page-link {\n border-top-left-radius: var(--bs-pagination-border-radius);\n border-bottom-left-radius: var(--bs-pagination-border-radius);\n}\n.page-item:last-child .page-link {\n border-top-right-radius: var(--bs-pagination-border-radius);\n border-bottom-right-radius: var(--bs-pagination-border-radius);\n}\n\n.pagination-lg {\n --bs-pagination-padding-x: 1.5rem;\n --bs-pagination-padding-y: 0.75rem;\n --bs-pagination-font-size: 1.25rem;\n --bs-pagination-border-radius: 0.5rem;\n}\n\n.pagination-sm {\n --bs-pagination-padding-x: 0.5rem;\n --bs-pagination-padding-y: 0.25rem;\n --bs-pagination-font-size: 0.875rem;\n --bs-pagination-border-radius: 0.25rem;\n}\n\n.badge {\n --bs-badge-padding-x: 0.65em;\n --bs-badge-padding-y: 0.35em;\n --bs-badge-font-size: 0.75em;\n --bs-badge-font-weight: 700;\n --bs-badge-color: #fff;\n --bs-badge-border-radius: 0.375rem;\n display: inline-block;\n padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);\n font-size: var(--bs-badge-font-size);\n font-weight: var(--bs-badge-font-weight);\n line-height: 1;\n color: var(--bs-badge-color);\n text-align: center;\n white-space: nowrap;\n vertical-align: baseline;\n border-radius: var(--bs-badge-border-radius);\n}\n.badge:empty {\n display: none;\n}\n\n.btn .badge {\n position: relative;\n top: -1px;\n}\n\n.alert {\n --bs-alert-bg: transparent;\n --bs-alert-padding-x: 1rem;\n --bs-alert-padding-y: 1rem;\n --bs-alert-margin-bottom: 1rem;\n --bs-alert-color: inherit;\n --bs-alert-border-color: transparent;\n --bs-alert-border: 1px solid var(--bs-alert-border-color);\n --bs-alert-border-radius: 0.375rem;\n position: relative;\n padding: var(--bs-alert-padding-y) var(--bs-alert-padding-x);\n margin-bottom: var(--bs-alert-margin-bottom);\n color: var(--bs-alert-color);\n background-color: var(--bs-alert-bg);\n border: var(--bs-alert-border);\n border-radius: var(--bs-alert-border-radius);\n}\n\n.alert-heading {\n color: inherit;\n}\n\n.alert-link {\n font-weight: 700;\n}\n\n.alert-dismissible {\n padding-right: 3rem;\n}\n.alert-dismissible .btn-close {\n position: absolute;\n top: 0;\n right: 0;\n z-index: 2;\n padding: 1.25rem 1rem;\n}\n\n.alert-primary {\n --bs-alert-color: #084298;\n --bs-alert-bg: #cfe2ff;\n --bs-alert-border-color: #b6d4fe;\n}\n.alert-primary .alert-link {\n color: #06357a;\n}\n\n.alert-secondary {\n --bs-alert-color: #41464b;\n --bs-alert-bg: #e2e3e5;\n --bs-alert-border-color: #d3d6d8;\n}\n.alert-secondary .alert-link {\n color: #34383c;\n}\n\n.alert-success {\n --bs-alert-color: #0f5132;\n --bs-alert-bg: #d1e7dd;\n --bs-alert-border-color: #badbcc;\n}\n.alert-success .alert-link {\n color: #0c4128;\n}\n\n.alert-info {\n --bs-alert-color: #055160;\n --bs-alert-bg: #cff4fc;\n --bs-alert-border-color: #b6effb;\n}\n.alert-info .alert-link {\n color: #04414d;\n}\n\n.alert-warning {\n --bs-alert-color: #664d03;\n --bs-alert-bg: #fff3cd;\n --bs-alert-border-color: #ffecb5;\n}\n.alert-warning .alert-link {\n color: #523e02;\n}\n\n.alert-danger {\n --bs-alert-color: #842029;\n --bs-alert-bg: #f8d7da;\n --bs-alert-border-color: #f5c2c7;\n}\n.alert-danger .alert-link {\n color: #6a1a21;\n}\n\n.alert-light {\n --bs-alert-color: #636464;\n --bs-alert-bg: #fefefe;\n --bs-alert-border-color: #fdfdfe;\n}\n.alert-light .alert-link {\n color: #4f5050;\n}\n\n.alert-dark {\n --bs-alert-color: #141619;\n --bs-alert-bg: #d3d3d4;\n --bs-alert-border-color: #bcbebf;\n}\n.alert-dark .alert-link {\n color: #101214;\n}\n\n@keyframes progress-bar-stripes {\n 0% {\n background-position-x: 1rem;\n }\n}\n.progress {\n --bs-progress-height: 1rem;\n --bs-progress-font-size: 0.75rem;\n --bs-progress-bg: #e9ecef;\n --bs-progress-border-radius: 0.375rem;\n --bs-progress-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);\n --bs-progress-bar-color: #fff;\n --bs-progress-bar-bg: #0d6efd;\n --bs-progress-bar-transition: width 0.6s ease;\n display: flex;\n height: var(--bs-progress-height);\n overflow: hidden;\n font-size: var(--bs-progress-font-size);\n background-color: var(--bs-progress-bg);\n border-radius: var(--bs-progress-border-radius);\n}\n\n.progress-bar {\n display: flex;\n flex-direction: column;\n justify-content: center;\n overflow: hidden;\n color: var(--bs-progress-bar-color);\n text-align: center;\n white-space: nowrap;\n background-color: var(--bs-progress-bar-bg);\n transition: var(--bs-progress-bar-transition);\n}\n@media (prefers-reduced-motion: reduce) {\n .progress-bar {\n transition: none;\n }\n}\n\n.progress-bar-striped {\n background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);\n background-size: var(--bs-progress-height) var(--bs-progress-height);\n}\n\n.progress-bar-animated {\n animation: 1s linear infinite progress-bar-stripes;\n}\n@media (prefers-reduced-motion: reduce) {\n .progress-bar-animated {\n animation: none;\n }\n}\n\n.list-group {\n --bs-list-group-color: #212529;\n --bs-list-group-bg: #fff;\n --bs-list-group-border-color: rgba(0, 0, 0, 0.125);\n --bs-list-group-border-width: 1px;\n --bs-list-group-border-radius: 0.375rem;\n --bs-list-group-item-padding-x: 1rem;\n --bs-list-group-item-padding-y: 0.5rem;\n --bs-list-group-action-color: #495057;\n --bs-list-group-action-hover-color: #495057;\n --bs-list-group-action-hover-bg: #f8f9fa;\n --bs-list-group-action-active-color: #212529;\n --bs-list-group-action-active-bg: #e9ecef;\n --bs-list-group-disabled-color: #6c757d;\n --bs-list-group-disabled-bg: #fff;\n --bs-list-group-active-color: #fff;\n --bs-list-group-active-bg: #0d6efd;\n --bs-list-group-active-border-color: #0d6efd;\n display: flex;\n flex-direction: column;\n padding-left: 0;\n margin-bottom: 0;\n border-radius: var(--bs-list-group-border-radius);\n}\n\n.list-group-numbered {\n list-style-type: none;\n counter-reset: section;\n}\n.list-group-numbered > .list-group-item::before {\n content: counters(section, \".\") \". \";\n counter-increment: section;\n}\n\n.list-group-item-action {\n width: 100%;\n color: var(--bs-list-group-action-color);\n text-align: inherit;\n}\n.list-group-item-action:hover, .list-group-item-action:focus {\n z-index: 1;\n color: var(--bs-list-group-action-hover-color);\n text-decoration: none;\n background-color: var(--bs-list-group-action-hover-bg);\n}\n.list-group-item-action:active {\n color: var(--bs-list-group-action-active-color);\n background-color: var(--bs-list-group-action-active-bg);\n}\n\n.list-group-item {\n position: relative;\n display: block;\n padding: var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);\n color: var(--bs-list-group-color);\n text-decoration: none;\n background-color: var(--bs-list-group-bg);\n border: var(--bs-list-group-border-width) solid var(--bs-list-group-border-color);\n}\n.list-group-item:first-child {\n border-top-left-radius: inherit;\n border-top-right-radius: inherit;\n}\n.list-group-item:last-child {\n border-bottom-right-radius: inherit;\n border-bottom-left-radius: inherit;\n}\n.list-group-item.disabled, .list-group-item:disabled {\n color: var(--bs-list-group-disabled-color);\n pointer-events: none;\n background-color: var(--bs-list-group-disabled-bg);\n}\n.list-group-item.active {\n z-index: 2;\n color: var(--bs-list-group-active-color);\n background-color: var(--bs-list-group-active-bg);\n border-color: var(--bs-list-group-active-border-color);\n}\n.list-group-item + .list-group-item {\n border-top-width: 0;\n}\n.list-group-item + .list-group-item.active {\n margin-top: calc(-1 * var(--bs-list-group-border-width));\n border-top-width: var(--bs-list-group-border-width);\n}\n\n.list-group-horizontal {\n flex-direction: row;\n}\n.list-group-horizontal > .list-group-item:first-child:not(:last-child) {\n border-bottom-left-radius: var(--bs-list-group-border-radius);\n border-top-right-radius: 0;\n}\n.list-group-horizontal > .list-group-item:last-child:not(:first-child) {\n border-top-right-radius: var(--bs-list-group-border-radius);\n border-bottom-left-radius: 0;\n}\n.list-group-horizontal > .list-group-item.active {\n margin-top: 0;\n}\n.list-group-horizontal > .list-group-item + .list-group-item {\n border-top-width: var(--bs-list-group-border-width);\n border-left-width: 0;\n}\n.list-group-horizontal > .list-group-item + .list-group-item.active {\n margin-left: calc(-1 * var(--bs-list-group-border-width));\n border-left-width: var(--bs-list-group-border-width);\n}\n\n@media (min-width: 576px) {\n .list-group-horizontal-sm {\n flex-direction: row;\n }\n .list-group-horizontal-sm > .list-group-item:first-child:not(:last-child) {\n border-bottom-left-radius: var(--bs-list-group-border-radius);\n border-top-right-radius: 0;\n }\n .list-group-horizontal-sm > .list-group-item:last-child:not(:first-child) {\n border-top-right-radius: var(--bs-list-group-border-radius);\n border-bottom-left-radius: 0;\n }\n .list-group-horizontal-sm > .list-group-item.active {\n margin-top: 0;\n }\n .list-group-horizontal-sm > .list-group-item + .list-group-item {\n border-top-width: var(--bs-list-group-border-width);\n border-left-width: 0;\n }\n .list-group-horizontal-sm > .list-group-item + .list-group-item.active {\n margin-left: calc(-1 * var(--bs-list-group-border-width));\n border-left-width: var(--bs-list-group-border-width);\n }\n}\n@media (min-width: 768px) {\n .list-group-horizontal-md {\n flex-direction: row;\n }\n .list-group-horizontal-md > .list-group-item:first-child:not(:last-child) {\n border-bottom-left-radius: var(--bs-list-group-border-radius);\n border-top-right-radius: 0;\n }\n .list-group-horizontal-md > .list-group-item:last-child:not(:first-child) {\n border-top-right-radius: var(--bs-list-group-border-radius);\n border-bottom-left-radius: 0;\n }\n .list-group-horizontal-md > .list-group-item.active {\n margin-top: 0;\n }\n .list-group-horizontal-md > .list-group-item + .list-group-item {\n border-top-width: var(--bs-list-group-border-width);\n border-left-width: 0;\n }\n .list-group-horizontal-md > .list-group-item + .list-group-item.active {\n margin-left: calc(-1 * var(--bs-list-group-border-width));\n border-left-width: var(--bs-list-group-border-width);\n }\n}\n@media (min-width: 992px) {\n .list-group-horizontal-lg {\n flex-direction: row;\n }\n .list-group-horizontal-lg > .list-group-item:first-child:not(:last-child) {\n border-bottom-left-radius: var(--bs-list-group-border-radius);\n border-top-right-radius: 0;\n }\n .list-group-horizontal-lg > .list-group-item:last-child:not(:first-child) {\n border-top-right-radius: var(--bs-list-group-border-radius);\n border-bottom-left-radius: 0;\n }\n .list-group-horizontal-lg > .list-group-item.active {\n margin-top: 0;\n }\n .list-group-horizontal-lg > .list-group-item + .list-group-item {\n border-top-width: var(--bs-list-group-border-width);\n border-left-width: 0;\n }\n .list-group-horizontal-lg > .list-group-item + .list-group-item.active {\n margin-left: calc(-1 * var(--bs-list-group-border-width));\n border-left-width: var(--bs-list-group-border-width);\n }\n}\n@media (min-width: 1200px) {\n .list-group-horizontal-xl {\n flex-direction: row;\n }\n .list-group-horizontal-xl > .list-group-item:first-child:not(:last-child) {\n border-bottom-left-radius: var(--bs-list-group-border-radius);\n border-top-right-radius: 0;\n }\n .list-group-horizontal-xl > .list-group-item:last-child:not(:first-child) {\n border-top-right-radius: var(--bs-list-group-border-radius);\n border-bottom-left-radius: 0;\n }\n .list-group-horizontal-xl > .list-group-item.active {\n margin-top: 0;\n }\n .list-group-horizontal-xl > .list-group-item + .list-group-item {\n border-top-width: var(--bs-list-group-border-width);\n border-left-width: 0;\n }\n .list-group-horizontal-xl > .list-group-item + .list-group-item.active {\n margin-left: calc(-1 * var(--bs-list-group-border-width));\n border-left-width: var(--bs-list-group-border-width);\n }\n}\n@media (min-width: 1400px) {\n .list-group-horizontal-xxl {\n flex-direction: row;\n }\n .list-group-horizontal-xxl > .list-group-item:first-child:not(:last-child) {\n border-bottom-left-radius: var(--bs-list-group-border-radius);\n border-top-right-radius: 0;\n }\n .list-group-horizontal-xxl > .list-group-item:last-child:not(:first-child) {\n border-top-right-radius: var(--bs-list-group-border-radius);\n border-bottom-left-radius: 0;\n }\n .list-group-horizontal-xxl > .list-group-item.active {\n margin-top: 0;\n }\n .list-group-horizontal-xxl > .list-group-item + .list-group-item {\n border-top-width: var(--bs-list-group-border-width);\n border-left-width: 0;\n }\n .list-group-horizontal-xxl > .list-group-item + .list-group-item.active {\n margin-left: calc(-1 * var(--bs-list-group-border-width));\n border-left-width: var(--bs-list-group-border-width);\n }\n}\n.list-group-flush {\n border-radius: 0;\n}\n.list-group-flush > .list-group-item {\n border-width: 0 0 var(--bs-list-group-border-width);\n}\n.list-group-flush > .list-group-item:last-child {\n border-bottom-width: 0;\n}\n\n.list-group-item-primary {\n color: #084298;\n background-color: #cfe2ff;\n}\n.list-group-item-primary.list-group-item-action:hover, .list-group-item-primary.list-group-item-action:focus {\n color: #084298;\n background-color: #bacbe6;\n}\n.list-group-item-primary.list-group-item-action.active {\n color: #fff;\n background-color: #084298;\n border-color: #084298;\n}\n\n.list-group-item-secondary {\n color: #41464b;\n background-color: #e2e3e5;\n}\n.list-group-item-secondary.list-group-item-action:hover, .list-group-item-secondary.list-group-item-action:focus {\n color: #41464b;\n background-color: #cbccce;\n}\n.list-group-item-secondary.list-group-item-action.active {\n color: #fff;\n background-color: #41464b;\n border-color: #41464b;\n}\n\n.list-group-item-success {\n color: #0f5132;\n background-color: #d1e7dd;\n}\n.list-group-item-success.list-group-item-action:hover, .list-group-item-success.list-group-item-action:focus {\n color: #0f5132;\n background-color: #bcd0c7;\n}\n.list-group-item-success.list-group-item-action.active {\n color: #fff;\n background-color: #0f5132;\n border-color: #0f5132;\n}\n\n.list-group-item-info {\n color: #055160;\n background-color: #cff4fc;\n}\n.list-group-item-info.list-group-item-action:hover, .list-group-item-info.list-group-item-action:focus {\n color: #055160;\n background-color: #badce3;\n}\n.list-group-item-info.list-group-item-action.active {\n color: #fff;\n background-color: #055160;\n border-color: #055160;\n}\n\n.list-group-item-warning {\n color: #664d03;\n background-color: #fff3cd;\n}\n.list-group-item-warning.list-group-item-action:hover, .list-group-item-warning.list-group-item-action:focus {\n color: #664d03;\n background-color: #e6dbb9;\n}\n.list-group-item-warning.list-group-item-action.active {\n color: #fff;\n background-color: #664d03;\n border-color: #664d03;\n}\n\n.list-group-item-danger {\n color: #842029;\n background-color: #f8d7da;\n}\n.list-group-item-danger.list-group-item-action:hover, .list-group-item-danger.list-group-item-action:focus {\n color: #842029;\n background-color: #dfc2c4;\n}\n.list-group-item-danger.list-group-item-action.active {\n color: #fff;\n background-color: #842029;\n border-color: #842029;\n}\n\n.list-group-item-light {\n color: #636464;\n background-color: #fefefe;\n}\n.list-group-item-light.list-group-item-action:hover, .list-group-item-light.list-group-item-action:focus {\n color: #636464;\n background-color: #e5e5e5;\n}\n.list-group-item-light.list-group-item-action.active {\n color: #fff;\n background-color: #636464;\n border-color: #636464;\n}\n\n.list-group-item-dark {\n color: #141619;\n background-color: #d3d3d4;\n}\n.list-group-item-dark.list-group-item-action:hover, .list-group-item-dark.list-group-item-action:focus {\n color: #141619;\n background-color: #bebebf;\n}\n.list-group-item-dark.list-group-item-action.active {\n color: #fff;\n background-color: #141619;\n border-color: #141619;\n}\n\n.btn-close {\n box-sizing: content-box;\n width: 1em;\n height: 1em;\n padding: 0.25em 0.25em;\n color: #000;\n background: transparent url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e\") center/1em auto no-repeat;\n border: 0;\n border-radius: 0.375rem;\n opacity: 0.5;\n}\n.btn-close:hover {\n color: #000;\n text-decoration: none;\n opacity: 0.75;\n}\n.btn-close:focus {\n outline: 0;\n box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);\n opacity: 1;\n}\n.btn-close:disabled, .btn-close.disabled {\n pointer-events: none;\n user-select: none;\n opacity: 0.25;\n}\n\n.btn-close-white {\n filter: invert(1) grayscale(100%) brightness(200%);\n}\n\n.toast {\n --bs-toast-zindex: 1090;\n --bs-toast-padding-x: 0.75rem;\n --bs-toast-padding-y: 0.5rem;\n --bs-toast-spacing: 1.5rem;\n --bs-toast-max-width: 350px;\n --bs-toast-font-size: 0.875rem;\n --bs-toast-color: ;\n --bs-toast-bg: rgba(255, 255, 255, 0.85);\n --bs-toast-border-width: 1px;\n --bs-toast-border-color: var(--bs-border-color-translucent);\n --bs-toast-border-radius: 0.375rem;\n --bs-toast-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);\n --bs-toast-header-color: #6c757d;\n --bs-toast-header-bg: rgba(255, 255, 255, 0.85);\n --bs-toast-header-border-color: rgba(0, 0, 0, 0.05);\n width: var(--bs-toast-max-width);\n max-width: 100%;\n font-size: var(--bs-toast-font-size);\n color: var(--bs-toast-color);\n pointer-events: auto;\n background-color: var(--bs-toast-bg);\n background-clip: padding-box;\n border: var(--bs-toast-border-width) solid var(--bs-toast-border-color);\n box-shadow: var(--bs-toast-box-shadow);\n border-radius: var(--bs-toast-border-radius);\n}\n.toast.showing {\n opacity: 0;\n}\n.toast:not(.show) {\n display: none;\n}\n\n.toast-container {\n --bs-toast-zindex: 1090;\n position: absolute;\n z-index: var(--bs-toast-zindex);\n width: max-content;\n max-width: 100%;\n pointer-events: none;\n}\n.toast-container > :not(:last-child) {\n margin-bottom: var(--bs-toast-spacing);\n}\n\n.toast-header {\n display: flex;\n align-items: center;\n padding: var(--bs-toast-padding-y) var(--bs-toast-padding-x);\n color: var(--bs-toast-header-color);\n background-color: var(--bs-toast-header-bg);\n background-clip: padding-box;\n border-bottom: var(--bs-toast-border-width) solid var(--bs-toast-header-border-color);\n border-top-left-radius: calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));\n border-top-right-radius: calc(var(--bs-toast-border-radius) - var(--bs-toast-border-width));\n}\n.toast-header .btn-close {\n margin-right: calc(-0.5 * var(--bs-toast-padding-x));\n margin-left: var(--bs-toast-padding-x);\n}\n\n.toast-body {\n padding: var(--bs-toast-padding-x);\n word-wrap: break-word;\n}\n\n.modal {\n --bs-modal-zindex: 1055;\n --bs-modal-width: 500px;\n --bs-modal-padding: 1rem;\n --bs-modal-margin: 0.5rem;\n --bs-modal-color: ;\n --bs-modal-bg: #fff;\n --bs-modal-border-color: var(--bs-border-color-translucent);\n --bs-modal-border-width: 1px;\n --bs-modal-border-radius: 0.5rem;\n --bs-modal-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);\n --bs-modal-inner-border-radius: calc(0.5rem - 1px);\n --bs-modal-header-padding-x: 1rem;\n --bs-modal-header-padding-y: 1rem;\n --bs-modal-header-padding: 1rem 1rem;\n --bs-modal-header-border-color: var(--bs-border-color);\n --bs-modal-header-border-width: 1px;\n --bs-modal-title-line-height: 1.5;\n --bs-modal-footer-gap: 0.5rem;\n --bs-modal-footer-bg: ;\n --bs-modal-footer-border-color: var(--bs-border-color);\n --bs-modal-footer-border-width: 1px;\n position: fixed;\n top: 0;\n left: 0;\n z-index: var(--bs-modal-zindex);\n display: none;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n outline: 0;\n}\n\n.modal-dialog {\n position: relative;\n width: auto;\n margin: var(--bs-modal-margin);\n pointer-events: none;\n}\n.modal.fade .modal-dialog {\n transition: transform 0.3s ease-out;\n transform: translate(0, -50px);\n}\n@media (prefers-reduced-motion: reduce) {\n .modal.fade .modal-dialog {\n transition: none;\n }\n}\n.modal.show .modal-dialog {\n transform: none;\n}\n.modal.modal-static .modal-dialog {\n transform: scale(1.02);\n}\n\n.modal-dialog-scrollable {\n height: calc(100% - var(--bs-modal-margin) * 2);\n}\n.modal-dialog-scrollable .modal-content {\n max-height: 100%;\n overflow: hidden;\n}\n.modal-dialog-scrollable .modal-body {\n overflow-y: auto;\n}\n\n.modal-dialog-centered {\n display: flex;\n align-items: center;\n min-height: calc(100% - var(--bs-modal-margin) * 2);\n}\n\n.modal-content {\n position: relative;\n display: flex;\n flex-direction: column;\n width: 100%;\n color: var(--bs-modal-color);\n pointer-events: auto;\n background-color: var(--bs-modal-bg);\n background-clip: padding-box;\n border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);\n border-radius: var(--bs-modal-border-radius);\n outline: 0;\n}\n\n.modal-backdrop {\n --bs-backdrop-zindex: 1050;\n --bs-backdrop-bg: #000;\n --bs-backdrop-opacity: 0.5;\n position: fixed;\n top: 0;\n left: 0;\n z-index: var(--bs-backdrop-zindex);\n width: 100vw;\n height: 100vh;\n background-color: var(--bs-backdrop-bg);\n}\n.modal-backdrop.fade {\n opacity: 0;\n}\n.modal-backdrop.show {\n opacity: var(--bs-backdrop-opacity);\n}\n\n.modal-header {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: space-between;\n padding: var(--bs-modal-header-padding);\n border-bottom: var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);\n border-top-left-radius: var(--bs-modal-inner-border-radius);\n border-top-right-radius: var(--bs-modal-inner-border-radius);\n}\n.modal-header .btn-close {\n padding: calc(var(--bs-modal-header-padding-y) * 0.5) calc(var(--bs-modal-header-padding-x) * 0.5);\n margin: calc(-0.5 * var(--bs-modal-header-padding-y)) calc(-0.5 * var(--bs-modal-header-padding-x)) calc(-0.5 * var(--bs-modal-header-padding-y)) auto;\n}\n\n.modal-title {\n margin-bottom: 0;\n line-height: var(--bs-modal-title-line-height);\n}\n\n.modal-body {\n position: relative;\n flex: 1 1 auto;\n padding: var(--bs-modal-padding);\n}\n\n.modal-footer {\n display: flex;\n flex-shrink: 0;\n flex-wrap: wrap;\n align-items: center;\n justify-content: flex-end;\n padding: calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * 0.5);\n background-color: var(--bs-modal-footer-bg);\n border-top: var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);\n border-bottom-right-radius: var(--bs-modal-inner-border-radius);\n border-bottom-left-radius: var(--bs-modal-inner-border-radius);\n}\n.modal-footer > * {\n margin: calc(var(--bs-modal-footer-gap) * 0.5);\n}\n\n@media (min-width: 576px) {\n .modal {\n --bs-modal-margin: 1.75rem;\n --bs-modal-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);\n }\n .modal-dialog {\n max-width: var(--bs-modal-width);\n margin-right: auto;\n margin-left: auto;\n }\n .modal-sm {\n --bs-modal-width: 300px;\n }\n}\n@media (min-width: 992px) {\n .modal-lg,\n.modal-xl {\n --bs-modal-width: 800px;\n }\n}\n@media (min-width: 1200px) {\n .modal-xl {\n --bs-modal-width: 1140px;\n }\n}\n.modal-fullscreen {\n width: 100vw;\n max-width: none;\n height: 100%;\n margin: 0;\n}\n.modal-fullscreen .modal-content {\n height: 100%;\n border: 0;\n border-radius: 0;\n}\n.modal-fullscreen .modal-header,\n.modal-fullscreen .modal-footer {\n border-radius: 0;\n}\n.modal-fullscreen .modal-body {\n overflow-y: auto;\n}\n\n@media (max-width: 575.98px) {\n .modal-fullscreen-sm-down {\n width: 100vw;\n max-width: none;\n height: 100%;\n margin: 0;\n }\n .modal-fullscreen-sm-down .modal-content {\n height: 100%;\n border: 0;\n border-radius: 0;\n }\n .modal-fullscreen-sm-down .modal-header,\n.modal-fullscreen-sm-down .modal-footer {\n border-radius: 0;\n }\n .modal-fullscreen-sm-down .modal-body {\n overflow-y: auto;\n }\n}\n@media (max-width: 767.98px) {\n .modal-fullscreen-md-down {\n width: 100vw;\n max-width: none;\n height: 100%;\n margin: 0;\n }\n .modal-fullscreen-md-down .modal-content {\n height: 100%;\n border: 0;\n border-radius: 0;\n }\n .modal-fullscreen-md-down .modal-header,\n.modal-fullscreen-md-down .modal-footer {\n border-radius: 0;\n }\n .modal-fullscreen-md-down .modal-body {\n overflow-y: auto;\n }\n}\n@media (max-width: 991.98px) {\n .modal-fullscreen-lg-down {\n width: 100vw;\n max-width: none;\n height: 100%;\n margin: 0;\n }\n .modal-fullscreen-lg-down .modal-content {\n height: 100%;\n border: 0;\n border-radius: 0;\n }\n .modal-fullscreen-lg-down .modal-header,\n.modal-fullscreen-lg-down .modal-footer {\n border-radius: 0;\n }\n .modal-fullscreen-lg-down .modal-body {\n overflow-y: auto;\n }\n}\n@media (max-width: 1199.98px) {\n .modal-fullscreen-xl-down {\n width: 100vw;\n max-width: none;\n height: 100%;\n margin: 0;\n }\n .modal-fullscreen-xl-down .modal-content {\n height: 100%;\n border: 0;\n border-radius: 0;\n }\n .modal-fullscreen-xl-down .modal-header,\n.modal-fullscreen-xl-down .modal-footer {\n border-radius: 0;\n }\n .modal-fullscreen-xl-down .modal-body {\n overflow-y: auto;\n }\n}\n@media (max-width: 1399.98px) {\n .modal-fullscreen-xxl-down {\n width: 100vw;\n max-width: none;\n height: 100%;\n margin: 0;\n }\n .modal-fullscreen-xxl-down .modal-content {\n height: 100%;\n border: 0;\n border-radius: 0;\n }\n .modal-fullscreen-xxl-down .modal-header,\n.modal-fullscreen-xxl-down .modal-footer {\n border-radius: 0;\n }\n .modal-fullscreen-xxl-down .modal-body {\n overflow-y: auto;\n }\n}\n.tooltip {\n --bs-tooltip-zindex: 1080;\n --bs-tooltip-max-width: 200px;\n --bs-tooltip-padding-x: 0.5rem;\n --bs-tooltip-padding-y: 0.25rem;\n --bs-tooltip-margin: ;\n --bs-tooltip-font-size: 0.875rem;\n --bs-tooltip-color: #fff;\n --bs-tooltip-bg: #000;\n --bs-tooltip-border-radius: 0.375rem;\n --bs-tooltip-opacity: 0.9;\n --bs-tooltip-arrow-width: 0.8rem;\n --bs-tooltip-arrow-height: 0.4rem;\n z-index: var(--bs-tooltip-zindex);\n display: block;\n padding: var(--bs-tooltip-arrow-height);\n margin: var(--bs-tooltip-margin);\n font-family: var(--bs-font-sans-serif);\n font-style: normal;\n font-weight: 400;\n line-height: 1.5;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n white-space: normal;\n word-spacing: normal;\n line-break: auto;\n font-size: var(--bs-tooltip-font-size);\n word-wrap: break-word;\n opacity: 0;\n}\n.tooltip.show {\n opacity: var(--bs-tooltip-opacity);\n}\n.tooltip .tooltip-arrow {\n display: block;\n width: var(--bs-tooltip-arrow-width);\n height: var(--bs-tooltip-arrow-height);\n}\n.tooltip .tooltip-arrow::before {\n position: absolute;\n content: \"\";\n border-color: transparent;\n border-style: solid;\n}\n\n.bs-tooltip-top .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow {\n bottom: 0;\n}\n.bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {\n top: -1px;\n border-width: var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * 0.5) 0;\n border-top-color: var(--bs-tooltip-bg);\n}\n\n/* rtl:begin:ignore */\n.bs-tooltip-end .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow {\n left: 0;\n width: var(--bs-tooltip-arrow-height);\n height: var(--bs-tooltip-arrow-width);\n}\n.bs-tooltip-end .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before {\n right: -1px;\n border-width: calc(var(--bs-tooltip-arrow-width) * 0.5) var(--bs-tooltip-arrow-height) calc(var(--bs-tooltip-arrow-width) * 0.5) 0;\n border-right-color: var(--bs-tooltip-bg);\n}\n\n/* rtl:end:ignore */\n.bs-tooltip-bottom .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow {\n top: 0;\n}\n.bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before {\n bottom: -1px;\n border-width: 0 calc(var(--bs-tooltip-arrow-width) * 0.5) var(--bs-tooltip-arrow-height);\n border-bottom-color: var(--bs-tooltip-bg);\n}\n\n/* rtl:begin:ignore */\n.bs-tooltip-start .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow {\n right: 0;\n width: var(--bs-tooltip-arrow-height);\n height: var(--bs-tooltip-arrow-width);\n}\n.bs-tooltip-start .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before {\n left: -1px;\n border-width: calc(var(--bs-tooltip-arrow-width) * 0.5) 0 calc(var(--bs-tooltip-arrow-width) * 0.5) var(--bs-tooltip-arrow-height);\n border-left-color: var(--bs-tooltip-bg);\n}\n\n/* rtl:end:ignore */\n.tooltip-inner {\n max-width: var(--bs-tooltip-max-width);\n padding: var(--bs-tooltip-padding-y) var(--bs-tooltip-padding-x);\n color: var(--bs-tooltip-color);\n text-align: center;\n background-color: var(--bs-tooltip-bg);\n border-radius: var(--bs-tooltip-border-radius);\n}\n\n.popover {\n --bs-popover-zindex: 1070;\n --bs-popover-max-width: 276px;\n --bs-popover-font-size: 0.875rem;\n --bs-popover-bg: #fff;\n --bs-popover-border-width: 1px;\n --bs-popover-border-color: var(--bs-border-color-translucent);\n --bs-popover-border-radius: 0.5rem;\n --bs-popover-inner-border-radius: calc(0.5rem - 1px);\n --bs-popover-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);\n --bs-popover-header-padding-x: 1rem;\n --bs-popover-header-padding-y: 0.5rem;\n --bs-popover-header-font-size: 1rem;\n --bs-popover-header-color: ;\n --bs-popover-header-bg: #f0f0f0;\n --bs-popover-body-padding-x: 1rem;\n --bs-popover-body-padding-y: 1rem;\n --bs-popover-body-color: #212529;\n --bs-popover-arrow-width: 1rem;\n --bs-popover-arrow-height: 0.5rem;\n --bs-popover-arrow-border: var(--bs-popover-border-color);\n z-index: var(--bs-popover-zindex);\n display: block;\n max-width: var(--bs-popover-max-width);\n font-family: var(--bs-font-sans-serif);\n font-style: normal;\n font-weight: 400;\n line-height: 1.5;\n text-align: left;\n text-align: start;\n text-decoration: none;\n text-shadow: none;\n text-transform: none;\n letter-spacing: normal;\n word-break: normal;\n white-space: normal;\n word-spacing: normal;\n line-break: auto;\n font-size: var(--bs-popover-font-size);\n word-wrap: break-word;\n background-color: var(--bs-popover-bg);\n background-clip: padding-box;\n border: var(--bs-popover-border-width) solid var(--bs-popover-border-color);\n border-radius: var(--bs-popover-border-radius);\n}\n.popover .popover-arrow {\n display: block;\n width: var(--bs-popover-arrow-width);\n height: var(--bs-popover-arrow-height);\n}\n.popover .popover-arrow::before, .popover .popover-arrow::after {\n position: absolute;\n display: block;\n content: \"\";\n border-color: transparent;\n border-style: solid;\n border-width: 0;\n}\n\n.bs-popover-top > .popover-arrow, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow {\n bottom: calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));\n}\n.bs-popover-top > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::before, .bs-popover-top > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::after {\n border-width: var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * 0.5) 0;\n}\n.bs-popover-top > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::before {\n bottom: 0;\n border-top-color: var(--bs-popover-arrow-border);\n}\n.bs-popover-top > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=top] > .popover-arrow::after {\n bottom: var(--bs-popover-border-width);\n border-top-color: var(--bs-popover-bg);\n}\n\n/* rtl:begin:ignore */\n.bs-popover-end > .popover-arrow, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow {\n left: calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));\n width: var(--bs-popover-arrow-height);\n height: var(--bs-popover-arrow-width);\n}\n.bs-popover-end > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::before, .bs-popover-end > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::after {\n border-width: calc(var(--bs-popover-arrow-width) * 0.5) var(--bs-popover-arrow-height) calc(var(--bs-popover-arrow-width) * 0.5) 0;\n}\n.bs-popover-end > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::before {\n left: 0;\n border-right-color: var(--bs-popover-arrow-border);\n}\n.bs-popover-end > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=right] > .popover-arrow::after {\n left: var(--bs-popover-border-width);\n border-right-color: var(--bs-popover-bg);\n}\n\n/* rtl:end:ignore */\n.bs-popover-bottom > .popover-arrow, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow {\n top: calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));\n}\n.bs-popover-bottom > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::before, .bs-popover-bottom > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::after {\n border-width: 0 calc(var(--bs-popover-arrow-width) * 0.5) var(--bs-popover-arrow-height);\n}\n.bs-popover-bottom > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::before {\n top: 0;\n border-bottom-color: var(--bs-popover-arrow-border);\n}\n.bs-popover-bottom > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=bottom] > .popover-arrow::after {\n top: var(--bs-popover-border-width);\n border-bottom-color: var(--bs-popover-bg);\n}\n.bs-popover-bottom .popover-header::before, .bs-popover-auto[data-popper-placement^=bottom] .popover-header::before {\n position: absolute;\n top: 0;\n left: 50%;\n display: block;\n width: var(--bs-popover-arrow-width);\n margin-left: calc(-0.5 * var(--bs-popover-arrow-width));\n content: \"\";\n border-bottom: var(--bs-popover-border-width) solid var(--bs-popover-header-bg);\n}\n\n/* rtl:begin:ignore */\n.bs-popover-start > .popover-arrow, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow {\n right: calc(-1 * (var(--bs-popover-arrow-height)) - var(--bs-popover-border-width));\n width: var(--bs-popover-arrow-height);\n height: var(--bs-popover-arrow-width);\n}\n.bs-popover-start > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::before, .bs-popover-start > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::after {\n border-width: calc(var(--bs-popover-arrow-width) * 0.5) 0 calc(var(--bs-popover-arrow-width) * 0.5) var(--bs-popover-arrow-height);\n}\n.bs-popover-start > .popover-arrow::before, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::before {\n right: 0;\n border-left-color: var(--bs-popover-arrow-border);\n}\n.bs-popover-start > .popover-arrow::after, .bs-popover-auto[data-popper-placement^=left] > .popover-arrow::after {\n right: var(--bs-popover-border-width);\n border-left-color: var(--bs-popover-bg);\n}\n\n/* rtl:end:ignore */\n.popover-header {\n padding: var(--bs-popover-header-padding-y) var(--bs-popover-header-padding-x);\n margin-bottom: 0;\n font-size: var(--bs-popover-header-font-size);\n color: var(--bs-popover-header-color);\n background-color: var(--bs-popover-header-bg);\n border-bottom: var(--bs-popover-border-width) solid var(--bs-popover-border-color);\n border-top-left-radius: var(--bs-popover-inner-border-radius);\n border-top-right-radius: var(--bs-popover-inner-border-radius);\n}\n.popover-header:empty {\n display: none;\n}\n\n.popover-body {\n padding: var(--bs-popover-body-padding-y) var(--bs-popover-body-padding-x);\n color: var(--bs-popover-body-color);\n}\n\n.carousel {\n position: relative;\n}\n\n.carousel.pointer-event {\n touch-action: pan-y;\n}\n\n.carousel-inner {\n position: relative;\n width: 100%;\n overflow: hidden;\n}\n.carousel-inner::after {\n display: block;\n clear: both;\n content: \"\";\n}\n\n.carousel-item {\n position: relative;\n display: none;\n float: left;\n width: 100%;\n margin-right: -100%;\n backface-visibility: hidden;\n transition: transform 0.6s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .carousel-item {\n transition: none;\n }\n}\n\n.carousel-item.active,\n.carousel-item-next,\n.carousel-item-prev {\n display: block;\n}\n\n/* rtl:begin:ignore */\n.carousel-item-next:not(.carousel-item-start),\n.active.carousel-item-end {\n transform: translateX(100%);\n}\n\n.carousel-item-prev:not(.carousel-item-end),\n.active.carousel-item-start {\n transform: translateX(-100%);\n}\n\n/* rtl:end:ignore */\n.carousel-fade .carousel-item {\n opacity: 0;\n transition-property: opacity;\n transform: none;\n}\n.carousel-fade .carousel-item.active,\n.carousel-fade .carousel-item-next.carousel-item-start,\n.carousel-fade .carousel-item-prev.carousel-item-end {\n z-index: 1;\n opacity: 1;\n}\n.carousel-fade .active.carousel-item-start,\n.carousel-fade .active.carousel-item-end {\n z-index: 0;\n opacity: 0;\n transition: opacity 0s 0.6s;\n}\n@media (prefers-reduced-motion: reduce) {\n .carousel-fade .active.carousel-item-start,\n.carousel-fade .active.carousel-item-end {\n transition: none;\n }\n}\n\n.carousel-control-prev,\n.carousel-control-next {\n position: absolute;\n top: 0;\n bottom: 0;\n z-index: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 15%;\n padding: 0;\n color: #fff;\n text-align: center;\n background: none;\n border: 0;\n opacity: 0.5;\n transition: opacity 0.15s ease;\n}\n@media (prefers-reduced-motion: reduce) {\n .carousel-control-prev,\n.carousel-control-next {\n transition: none;\n }\n}\n.carousel-control-prev:hover, .carousel-control-prev:focus,\n.carousel-control-next:hover,\n.carousel-control-next:focus {\n color: #fff;\n text-decoration: none;\n outline: 0;\n opacity: 0.9;\n}\n\n.carousel-control-prev {\n left: 0;\n}\n\n.carousel-control-next {\n right: 0;\n}\n\n.carousel-control-prev-icon,\n.carousel-control-next-icon {\n display: inline-block;\n width: 2rem;\n height: 2rem;\n background-repeat: no-repeat;\n background-position: 50%;\n background-size: 100% 100%;\n}\n\n/* rtl:options: {\n \"autoRename\": true,\n \"stringMap\":[ {\n \"name\" : \"prev-next\",\n \"search\" : \"prev\",\n \"replace\" : \"next\"\n } ]\n} */\n.carousel-control-prev-icon {\n background-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e\");\n}\n\n.carousel-control-next-icon {\n background-image: url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e\");\n}\n\n.carousel-indicators {\n position: absolute;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 2;\n display: flex;\n justify-content: center;\n padding: 0;\n margin-right: 15%;\n margin-bottom: 1rem;\n margin-left: 15%;\n list-style: none;\n}\n.carousel-indicators [data-bs-target] {\n box-sizing: content-box;\n flex: 0 1 auto;\n width: 30px;\n height: 3px;\n padding: 0;\n margin-right: 3px;\n margin-left: 3px;\n text-indent: -999px;\n cursor: pointer;\n background-color: #fff;\n background-clip: padding-box;\n border: 0;\n border-top: 10px solid transparent;\n border-bottom: 10px solid transparent;\n opacity: 0.5;\n transition: opacity 0.6s ease;\n}\n@media (prefers-reduced-motion: reduce) {\n .carousel-indicators [data-bs-target] {\n transition: none;\n }\n}\n.carousel-indicators .active {\n opacity: 1;\n}\n\n.carousel-caption {\n position: absolute;\n right: 15%;\n bottom: 1.25rem;\n left: 15%;\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n color: #fff;\n text-align: center;\n}\n\n.carousel-dark .carousel-control-prev-icon,\n.carousel-dark .carousel-control-next-icon {\n filter: invert(1) grayscale(100);\n}\n.carousel-dark .carousel-indicators [data-bs-target] {\n background-color: #000;\n}\n.carousel-dark .carousel-caption {\n color: #000;\n}\n\n.spinner-grow,\n.spinner-border {\n display: inline-block;\n width: var(--bs-spinner-width);\n height: var(--bs-spinner-height);\n vertical-align: var(--bs-spinner-vertical-align);\n border-radius: 50%;\n animation: var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name);\n}\n\n@keyframes spinner-border {\n to {\n transform: rotate(360deg) /* rtl:ignore */;\n }\n}\n.spinner-border {\n --bs-spinner-width: 2rem;\n --bs-spinner-height: 2rem;\n --bs-spinner-vertical-align: -0.125em;\n --bs-spinner-border-width: 0.25em;\n --bs-spinner-animation-speed: 0.75s;\n --bs-spinner-animation-name: spinner-border;\n border: var(--bs-spinner-border-width) solid currentcolor;\n border-right-color: transparent;\n}\n\n.spinner-border-sm {\n --bs-spinner-width: 1rem;\n --bs-spinner-height: 1rem;\n --bs-spinner-border-width: 0.2em;\n}\n\n@keyframes spinner-grow {\n 0% {\n transform: scale(0);\n }\n 50% {\n opacity: 1;\n transform: none;\n }\n}\n.spinner-grow {\n --bs-spinner-width: 2rem;\n --bs-spinner-height: 2rem;\n --bs-spinner-vertical-align: -0.125em;\n --bs-spinner-animation-speed: 0.75s;\n --bs-spinner-animation-name: spinner-grow;\n background-color: currentcolor;\n opacity: 0;\n}\n\n.spinner-grow-sm {\n --bs-spinner-width: 1rem;\n --bs-spinner-height: 1rem;\n}\n\n@media (prefers-reduced-motion: reduce) {\n .spinner-border,\n.spinner-grow {\n --bs-spinner-animation-speed: 1.5s;\n }\n}\n.offcanvas, .offcanvas-xxl, .offcanvas-xl, .offcanvas-lg, .offcanvas-md, .offcanvas-sm {\n --bs-offcanvas-zindex: 1045;\n --bs-offcanvas-width: 400px;\n --bs-offcanvas-height: 30vh;\n --bs-offcanvas-padding-x: 1rem;\n --bs-offcanvas-padding-y: 1rem;\n --bs-offcanvas-color: ;\n --bs-offcanvas-bg: #fff;\n --bs-offcanvas-border-width: 1px;\n --bs-offcanvas-border-color: var(--bs-border-color-translucent);\n --bs-offcanvas-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);\n}\n\n@media (max-width: 575.98px) {\n .offcanvas-sm {\n position: fixed;\n bottom: 0;\n z-index: var(--bs-offcanvas-zindex);\n display: flex;\n flex-direction: column;\n max-width: 100%;\n color: var(--bs-offcanvas-color);\n visibility: hidden;\n background-color: var(--bs-offcanvas-bg);\n background-clip: padding-box;\n outline: 0;\n transition: transform 0.3s ease-in-out;\n }\n}\n@media (max-width: 575.98px) and (prefers-reduced-motion: reduce) {\n .offcanvas-sm {\n transition: none;\n }\n}\n@media (max-width: 575.98px) {\n .offcanvas-sm.offcanvas-start {\n top: 0;\n left: 0;\n width: var(--bs-offcanvas-width);\n border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(-100%);\n }\n}\n@media (max-width: 575.98px) {\n .offcanvas-sm.offcanvas-end {\n top: 0;\n right: 0;\n width: var(--bs-offcanvas-width);\n border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(100%);\n }\n}\n@media (max-width: 575.98px) {\n .offcanvas-sm.offcanvas-top {\n top: 0;\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(-100%);\n }\n}\n@media (max-width: 575.98px) {\n .offcanvas-sm.offcanvas-bottom {\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(100%);\n }\n}\n@media (max-width: 575.98px) {\n .offcanvas-sm.showing, .offcanvas-sm.show:not(.hiding) {\n transform: none;\n }\n}\n@media (max-width: 575.98px) {\n .offcanvas-sm.showing, .offcanvas-sm.hiding, .offcanvas-sm.show {\n visibility: visible;\n }\n}\n@media (min-width: 576px) {\n .offcanvas-sm {\n --bs-offcanvas-height: auto;\n --bs-offcanvas-border-width: 0;\n background-color: transparent !important;\n }\n .offcanvas-sm .offcanvas-header {\n display: none;\n }\n .offcanvas-sm .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n background-color: transparent !important;\n }\n}\n\n@media (max-width: 767.98px) {\n .offcanvas-md {\n position: fixed;\n bottom: 0;\n z-index: var(--bs-offcanvas-zindex);\n display: flex;\n flex-direction: column;\n max-width: 100%;\n color: var(--bs-offcanvas-color);\n visibility: hidden;\n background-color: var(--bs-offcanvas-bg);\n background-clip: padding-box;\n outline: 0;\n transition: transform 0.3s ease-in-out;\n }\n}\n@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {\n .offcanvas-md {\n transition: none;\n }\n}\n@media (max-width: 767.98px) {\n .offcanvas-md.offcanvas-start {\n top: 0;\n left: 0;\n width: var(--bs-offcanvas-width);\n border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(-100%);\n }\n}\n@media (max-width: 767.98px) {\n .offcanvas-md.offcanvas-end {\n top: 0;\n right: 0;\n width: var(--bs-offcanvas-width);\n border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(100%);\n }\n}\n@media (max-width: 767.98px) {\n .offcanvas-md.offcanvas-top {\n top: 0;\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(-100%);\n }\n}\n@media (max-width: 767.98px) {\n .offcanvas-md.offcanvas-bottom {\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(100%);\n }\n}\n@media (max-width: 767.98px) {\n .offcanvas-md.showing, .offcanvas-md.show:not(.hiding) {\n transform: none;\n }\n}\n@media (max-width: 767.98px) {\n .offcanvas-md.showing, .offcanvas-md.hiding, .offcanvas-md.show {\n visibility: visible;\n }\n}\n@media (min-width: 768px) {\n .offcanvas-md {\n --bs-offcanvas-height: auto;\n --bs-offcanvas-border-width: 0;\n background-color: transparent !important;\n }\n .offcanvas-md .offcanvas-header {\n display: none;\n }\n .offcanvas-md .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n background-color: transparent !important;\n }\n}\n\n@media (max-width: 991.98px) {\n .offcanvas-lg {\n position: fixed;\n bottom: 0;\n z-index: var(--bs-offcanvas-zindex);\n display: flex;\n flex-direction: column;\n max-width: 100%;\n color: var(--bs-offcanvas-color);\n visibility: hidden;\n background-color: var(--bs-offcanvas-bg);\n background-clip: padding-box;\n outline: 0;\n transition: transform 0.3s ease-in-out;\n }\n}\n@media (max-width: 991.98px) and (prefers-reduced-motion: reduce) {\n .offcanvas-lg {\n transition: none;\n }\n}\n@media (max-width: 991.98px) {\n .offcanvas-lg.offcanvas-start {\n top: 0;\n left: 0;\n width: var(--bs-offcanvas-width);\n border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(-100%);\n }\n}\n@media (max-width: 991.98px) {\n .offcanvas-lg.offcanvas-end {\n top: 0;\n right: 0;\n width: var(--bs-offcanvas-width);\n border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(100%);\n }\n}\n@media (max-width: 991.98px) {\n .offcanvas-lg.offcanvas-top {\n top: 0;\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(-100%);\n }\n}\n@media (max-width: 991.98px) {\n .offcanvas-lg.offcanvas-bottom {\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(100%);\n }\n}\n@media (max-width: 991.98px) {\n .offcanvas-lg.showing, .offcanvas-lg.show:not(.hiding) {\n transform: none;\n }\n}\n@media (max-width: 991.98px) {\n .offcanvas-lg.showing, .offcanvas-lg.hiding, .offcanvas-lg.show {\n visibility: visible;\n }\n}\n@media (min-width: 992px) {\n .offcanvas-lg {\n --bs-offcanvas-height: auto;\n --bs-offcanvas-border-width: 0;\n background-color: transparent !important;\n }\n .offcanvas-lg .offcanvas-header {\n display: none;\n }\n .offcanvas-lg .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n background-color: transparent !important;\n }\n}\n\n@media (max-width: 1199.98px) {\n .offcanvas-xl {\n position: fixed;\n bottom: 0;\n z-index: var(--bs-offcanvas-zindex);\n display: flex;\n flex-direction: column;\n max-width: 100%;\n color: var(--bs-offcanvas-color);\n visibility: hidden;\n background-color: var(--bs-offcanvas-bg);\n background-clip: padding-box;\n outline: 0;\n transition: transform 0.3s ease-in-out;\n }\n}\n@media (max-width: 1199.98px) and (prefers-reduced-motion: reduce) {\n .offcanvas-xl {\n transition: none;\n }\n}\n@media (max-width: 1199.98px) {\n .offcanvas-xl.offcanvas-start {\n top: 0;\n left: 0;\n width: var(--bs-offcanvas-width);\n border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(-100%);\n }\n}\n@media (max-width: 1199.98px) {\n .offcanvas-xl.offcanvas-end {\n top: 0;\n right: 0;\n width: var(--bs-offcanvas-width);\n border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(100%);\n }\n}\n@media (max-width: 1199.98px) {\n .offcanvas-xl.offcanvas-top {\n top: 0;\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(-100%);\n }\n}\n@media (max-width: 1199.98px) {\n .offcanvas-xl.offcanvas-bottom {\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(100%);\n }\n}\n@media (max-width: 1199.98px) {\n .offcanvas-xl.showing, .offcanvas-xl.show:not(.hiding) {\n transform: none;\n }\n}\n@media (max-width: 1199.98px) {\n .offcanvas-xl.showing, .offcanvas-xl.hiding, .offcanvas-xl.show {\n visibility: visible;\n }\n}\n@media (min-width: 1200px) {\n .offcanvas-xl {\n --bs-offcanvas-height: auto;\n --bs-offcanvas-border-width: 0;\n background-color: transparent !important;\n }\n .offcanvas-xl .offcanvas-header {\n display: none;\n }\n .offcanvas-xl .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n background-color: transparent !important;\n }\n}\n\n@media (max-width: 1399.98px) {\n .offcanvas-xxl {\n position: fixed;\n bottom: 0;\n z-index: var(--bs-offcanvas-zindex);\n display: flex;\n flex-direction: column;\n max-width: 100%;\n color: var(--bs-offcanvas-color);\n visibility: hidden;\n background-color: var(--bs-offcanvas-bg);\n background-clip: padding-box;\n outline: 0;\n transition: transform 0.3s ease-in-out;\n }\n}\n@media (max-width: 1399.98px) and (prefers-reduced-motion: reduce) {\n .offcanvas-xxl {\n transition: none;\n }\n}\n@media (max-width: 1399.98px) {\n .offcanvas-xxl.offcanvas-start {\n top: 0;\n left: 0;\n width: var(--bs-offcanvas-width);\n border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(-100%);\n }\n}\n@media (max-width: 1399.98px) {\n .offcanvas-xxl.offcanvas-end {\n top: 0;\n right: 0;\n width: var(--bs-offcanvas-width);\n border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(100%);\n }\n}\n@media (max-width: 1399.98px) {\n .offcanvas-xxl.offcanvas-top {\n top: 0;\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(-100%);\n }\n}\n@media (max-width: 1399.98px) {\n .offcanvas-xxl.offcanvas-bottom {\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(100%);\n }\n}\n@media (max-width: 1399.98px) {\n .offcanvas-xxl.showing, .offcanvas-xxl.show:not(.hiding) {\n transform: none;\n }\n}\n@media (max-width: 1399.98px) {\n .offcanvas-xxl.showing, .offcanvas-xxl.hiding, .offcanvas-xxl.show {\n visibility: visible;\n }\n}\n@media (min-width: 1400px) {\n .offcanvas-xxl {\n --bs-offcanvas-height: auto;\n --bs-offcanvas-border-width: 0;\n background-color: transparent !important;\n }\n .offcanvas-xxl .offcanvas-header {\n display: none;\n }\n .offcanvas-xxl .offcanvas-body {\n display: flex;\n flex-grow: 0;\n padding: 0;\n overflow-y: visible;\n background-color: transparent !important;\n }\n}\n\n.offcanvas {\n position: fixed;\n bottom: 0;\n z-index: var(--bs-offcanvas-zindex);\n display: flex;\n flex-direction: column;\n max-width: 100%;\n color: var(--bs-offcanvas-color);\n visibility: hidden;\n background-color: var(--bs-offcanvas-bg);\n background-clip: padding-box;\n outline: 0;\n transition: transform 0.3s ease-in-out;\n}\n@media (prefers-reduced-motion: reduce) {\n .offcanvas {\n transition: none;\n }\n}\n.offcanvas.offcanvas-start {\n top: 0;\n left: 0;\n width: var(--bs-offcanvas-width);\n border-right: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(-100%);\n}\n.offcanvas.offcanvas-end {\n top: 0;\n right: 0;\n width: var(--bs-offcanvas-width);\n border-left: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateX(100%);\n}\n.offcanvas.offcanvas-top {\n top: 0;\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-bottom: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(-100%);\n}\n.offcanvas.offcanvas-bottom {\n right: 0;\n left: 0;\n height: var(--bs-offcanvas-height);\n max-height: 100%;\n border-top: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);\n transform: translateY(100%);\n}\n.offcanvas.showing, .offcanvas.show:not(.hiding) {\n transform: none;\n}\n.offcanvas.showing, .offcanvas.hiding, .offcanvas.show {\n visibility: visible;\n}\n\n.offcanvas-backdrop {\n position: fixed;\n top: 0;\n left: 0;\n z-index: 1040;\n width: 100vw;\n height: 100vh;\n background-color: #000;\n}\n.offcanvas-backdrop.fade {\n opacity: 0;\n}\n.offcanvas-backdrop.show {\n opacity: 0.5;\n}\n\n.offcanvas-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);\n}\n.offcanvas-header .btn-close {\n padding: calc(var(--bs-offcanvas-padding-y) * 0.5) calc(var(--bs-offcanvas-padding-x) * 0.5);\n margin-top: calc(-0.5 * var(--bs-offcanvas-padding-y));\n margin-right: calc(-0.5 * var(--bs-offcanvas-padding-x));\n margin-bottom: calc(-0.5 * var(--bs-offcanvas-padding-y));\n}\n\n.offcanvas-title {\n margin-bottom: 0;\n line-height: 1.5;\n}\n\n.offcanvas-body {\n flex-grow: 1;\n padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);\n overflow-y: auto;\n}\n\n.placeholder {\n display: inline-block;\n min-height: 1em;\n vertical-align: middle;\n cursor: wait;\n background-color: currentcolor;\n opacity: 0.5;\n}\n.placeholder.btn::before {\n display: inline-block;\n content: \"\";\n}\n\n.placeholder-xs {\n min-height: 0.6em;\n}\n\n.placeholder-sm {\n min-height: 0.8em;\n}\n\n.placeholder-lg {\n min-height: 1.2em;\n}\n\n.placeholder-glow .placeholder {\n animation: placeholder-glow 2s ease-in-out infinite;\n}\n\n@keyframes placeholder-glow {\n 50% {\n opacity: 0.2;\n }\n}\n.placeholder-wave {\n mask-image: linear-gradient(130deg, #000 55%, rgba(0, 0, 0, 0.8) 75%, #000 95%);\n mask-size: 200% 100%;\n animation: placeholder-wave 2s linear infinite;\n}\n\n@keyframes placeholder-wave {\n 100% {\n mask-position: -200% 0%;\n }\n}\n.clearfix::after {\n display: block;\n clear: both;\n content: \"\";\n}\n\n.text-bg-primary {\n color: #fff !important;\n background-color: RGBA(13, 110, 253, var(--bs-bg-opacity, 1)) !important;\n}\n\n.text-bg-secondary {\n color: #fff !important;\n background-color: RGBA(108, 117, 125, var(--bs-bg-opacity, 1)) !important;\n}\n\n.text-bg-success {\n color: #fff !important;\n background-color: RGBA(25, 135, 84, var(--bs-bg-opacity, 1)) !important;\n}\n\n.text-bg-info {\n color: #000 !important;\n background-color: RGBA(13, 202, 240, var(--bs-bg-opacity, 1)) !important;\n}\n\n.text-bg-warning {\n color: #000 !important;\n background-color: RGBA(255, 193, 7, var(--bs-bg-opacity, 1)) !important;\n}\n\n.text-bg-danger {\n color: #fff !important;\n background-color: RGBA(220, 53, 69, var(--bs-bg-opacity, 1)) !important;\n}\n\n.text-bg-light {\n color: #000 !important;\n background-color: RGBA(248, 249, 250, var(--bs-bg-opacity, 1)) !important;\n}\n\n.text-bg-dark {\n color: #fff !important;\n background-color: RGBA(33, 37, 41, var(--bs-bg-opacity, 1)) !important;\n}\n\n.link-primary {\n color: #0d6efd !important;\n}\n.link-primary:hover, .link-primary:focus {\n color: #0a58ca !important;\n}\n\n.link-secondary {\n color: #6c757d !important;\n}\n.link-secondary:hover, .link-secondary:focus {\n color: #565e64 !important;\n}\n\n.link-success {\n color: #198754 !important;\n}\n.link-success:hover, .link-success:focus {\n color: #146c43 !important;\n}\n\n.link-info {\n color: #0dcaf0 !important;\n}\n.link-info:hover, .link-info:focus {\n color: #3dd5f3 !important;\n}\n\n.link-warning {\n color: #ffc107 !important;\n}\n.link-warning:hover, .link-warning:focus {\n color: #ffcd39 !important;\n}\n\n.link-danger {\n color: #dc3545 !important;\n}\n.link-danger:hover, .link-danger:focus {\n color: #b02a37 !important;\n}\n\n.link-light {\n color: #f8f9fa !important;\n}\n.link-light:hover, .link-light:focus {\n color: #f9fafb !important;\n}\n\n.link-dark {\n color: #212529 !important;\n}\n.link-dark:hover, .link-dark:focus {\n color: #1a1e21 !important;\n}\n\n.ratio {\n position: relative;\n width: 100%;\n}\n.ratio::before {\n display: block;\n padding-top: var(--bs-aspect-ratio);\n content: \"\";\n}\n.ratio > * {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.ratio-1x1 {\n --bs-aspect-ratio: 100%;\n}\n\n.ratio-4x3 {\n --bs-aspect-ratio: 75%;\n}\n\n.ratio-16x9 {\n --bs-aspect-ratio: 56.25%;\n}\n\n.ratio-21x9 {\n --bs-aspect-ratio: 42.8571428571%;\n}\n\n.fixed-top {\n position: fixed;\n top: 0;\n right: 0;\n left: 0;\n z-index: 1030;\n}\n\n.fixed-bottom {\n position: fixed;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1030;\n}\n\n.sticky-top {\n position: sticky;\n top: 0;\n z-index: 1020;\n}\n\n.sticky-bottom {\n position: sticky;\n bottom: 0;\n z-index: 1020;\n}\n\n@media (min-width: 576px) {\n .sticky-sm-top {\n position: sticky;\n top: 0;\n z-index: 1020;\n }\n .sticky-sm-bottom {\n position: sticky;\n bottom: 0;\n z-index: 1020;\n }\n}\n@media (min-width: 768px) {\n .sticky-md-top {\n position: sticky;\n top: 0;\n z-index: 1020;\n }\n .sticky-md-bottom {\n position: sticky;\n bottom: 0;\n z-index: 1020;\n }\n}\n@media (min-width: 992px) {\n .sticky-lg-top {\n position: sticky;\n top: 0;\n z-index: 1020;\n }\n .sticky-lg-bottom {\n position: sticky;\n bottom: 0;\n z-index: 1020;\n }\n}\n@media (min-width: 1200px) {\n .sticky-xl-top {\n position: sticky;\n top: 0;\n z-index: 1020;\n }\n .sticky-xl-bottom {\n position: sticky;\n bottom: 0;\n z-index: 1020;\n }\n}\n@media (min-width: 1400px) {\n .sticky-xxl-top {\n position: sticky;\n top: 0;\n z-index: 1020;\n }\n .sticky-xxl-bottom {\n position: sticky;\n bottom: 0;\n z-index: 1020;\n }\n}\n.hstack {\n display: flex;\n flex-direction: row;\n align-items: center;\n align-self: stretch;\n}\n\n.vstack {\n display: flex;\n flex: 1 1 auto;\n flex-direction: column;\n align-self: stretch;\n}\n\n.visually-hidden,\n.visually-hidden-focusable:not(:focus):not(:focus-within) {\n position: absolute !important;\n width: 1px !important;\n height: 1px !important;\n padding: 0 !important;\n margin: -1px !important;\n overflow: hidden !important;\n clip: rect(0, 0, 0, 0) !important;\n white-space: nowrap !important;\n border: 0 !important;\n}\n\n.stretched-link::after {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 1;\n content: \"\";\n}\n\n.text-truncate {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.vr {\n display: inline-block;\n align-self: stretch;\n width: 1px;\n min-height: 1em;\n background-color: currentcolor;\n opacity: 0.25;\n}\n\n.align-baseline {\n vertical-align: baseline !important;\n}\n\n.align-top {\n vertical-align: top !important;\n}\n\n.align-middle {\n vertical-align: middle !important;\n}\n\n.align-bottom {\n vertical-align: bottom !important;\n}\n\n.align-text-bottom {\n vertical-align: text-bottom !important;\n}\n\n.align-text-top {\n vertical-align: text-top !important;\n}\n\n.float-start {\n float: left !important;\n}\n\n.float-end {\n float: right !important;\n}\n\n.float-none {\n float: none !important;\n}\n\n.opacity-0 {\n opacity: 0 !important;\n}\n\n.opacity-25 {\n opacity: 0.25 !important;\n}\n\n.opacity-50 {\n opacity: 0.5 !important;\n}\n\n.opacity-75 {\n opacity: 0.75 !important;\n}\n\n.opacity-100 {\n opacity: 1 !important;\n}\n\n.overflow-auto {\n overflow: auto !important;\n}\n\n.overflow-hidden {\n overflow: hidden !important;\n}\n\n.overflow-visible {\n overflow: visible !important;\n}\n\n.overflow-scroll {\n overflow: scroll !important;\n}\n\n.d-inline {\n display: inline !important;\n}\n\n.d-inline-block {\n display: inline-block !important;\n}\n\n.d-block {\n display: block !important;\n}\n\n.d-grid {\n display: grid !important;\n}\n\n.d-table {\n display: table !important;\n}\n\n.d-table-row {\n display: table-row !important;\n}\n\n.d-table-cell {\n display: table-cell !important;\n}\n\n.d-flex {\n display: flex !important;\n}\n\n.d-inline-flex {\n display: inline-flex !important;\n}\n\n.d-none {\n display: none !important;\n}\n\n.shadow {\n box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;\n}\n\n.shadow-sm {\n box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;\n}\n\n.shadow-lg {\n box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;\n}\n\n.shadow-none {\n box-shadow: none !important;\n}\n\n.position-static {\n position: static !important;\n}\n\n.position-relative {\n position: relative !important;\n}\n\n.position-absolute {\n position: absolute !important;\n}\n\n.position-fixed {\n position: fixed !important;\n}\n\n.position-sticky {\n position: sticky !important;\n}\n\n.top-0 {\n top: 0 !important;\n}\n\n.top-50 {\n top: 50% !important;\n}\n\n.top-100 {\n top: 100% !important;\n}\n\n.bottom-0 {\n bottom: 0 !important;\n}\n\n.bottom-50 {\n bottom: 50% !important;\n}\n\n.bottom-100 {\n bottom: 100% !important;\n}\n\n.start-0 {\n left: 0 !important;\n}\n\n.start-50 {\n left: 50% !important;\n}\n\n.start-100 {\n left: 100% !important;\n}\n\n.end-0 {\n right: 0 !important;\n}\n\n.end-50 {\n right: 50% !important;\n}\n\n.end-100 {\n right: 100% !important;\n}\n\n.translate-middle {\n transform: translate(-50%, -50%) !important;\n}\n\n.translate-middle-x {\n transform: translateX(-50%) !important;\n}\n\n.translate-middle-y {\n transform: translateY(-50%) !important;\n}\n\n.border {\n border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;\n}\n\n.border-0 {\n border: 0 !important;\n}\n\n.border-top {\n border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;\n}\n\n.border-top-0 {\n border-top: 0 !important;\n}\n\n.border-end {\n border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;\n}\n\n.border-end-0 {\n border-right: 0 !important;\n}\n\n.border-bottom {\n border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;\n}\n\n.border-bottom-0 {\n border-bottom: 0 !important;\n}\n\n.border-start {\n border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;\n}\n\n.border-start-0 {\n border-left: 0 !important;\n}\n\n.border-primary {\n --bs-border-opacity: 1;\n border-color: rgba(var(--bs-primary-rgb), var(--bs-border-opacity)) !important;\n}\n\n.border-secondary {\n --bs-border-opacity: 1;\n border-color: rgba(var(--bs-secondary-rgb), var(--bs-border-opacity)) !important;\n}\n\n.border-success {\n --bs-border-opacity: 1;\n border-color: rgba(var(--bs-success-rgb), var(--bs-border-opacity)) !important;\n}\n\n.border-info {\n --bs-border-opacity: 1;\n border-color: rgba(var(--bs-info-rgb), var(--bs-border-opacity)) !important;\n}\n\n.border-warning {\n --bs-border-opacity: 1;\n border-color: rgba(var(--bs-warning-rgb), var(--bs-border-opacity)) !important;\n}\n\n.border-danger {\n --bs-border-opacity: 1;\n border-color: rgba(var(--bs-danger-rgb), var(--bs-border-opacity)) !important;\n}\n\n.border-light {\n --bs-border-opacity: 1;\n border-color: rgba(var(--bs-light-rgb), var(--bs-border-opacity)) !important;\n}\n\n.border-dark {\n --bs-border-opacity: 1;\n border-color: rgba(var(--bs-dark-rgb), var(--bs-border-opacity)) !important;\n}\n\n.border-white {\n --bs-border-opacity: 1;\n border-color: rgba(var(--bs-white-rgb), var(--bs-border-opacity)) !important;\n}\n\n.border-1 {\n --bs-border-width: 1px;\n}\n\n.border-2 {\n --bs-border-width: 2px;\n}\n\n.border-3 {\n --bs-border-width: 3px;\n}\n\n.border-4 {\n --bs-border-width: 4px;\n}\n\n.border-5 {\n --bs-border-width: 5px;\n}\n\n.border-opacity-10 {\n --bs-border-opacity: 0.1;\n}\n\n.border-opacity-25 {\n --bs-border-opacity: 0.25;\n}\n\n.border-opacity-50 {\n --bs-border-opacity: 0.5;\n}\n\n.border-opacity-75 {\n --bs-border-opacity: 0.75;\n}\n\n.border-opacity-100 {\n --bs-border-opacity: 1;\n}\n\n.w-25 {\n width: 25% !important;\n}\n\n.w-50 {\n width: 50% !important;\n}\n\n.w-75 {\n width: 75% !important;\n}\n\n.w-100 {\n width: 100% !important;\n}\n\n.w-auto {\n width: auto !important;\n}\n\n.mw-100 {\n max-width: 100% !important;\n}\n\n.vw-100 {\n width: 100vw !important;\n}\n\n.min-vw-100 {\n min-width: 100vw !important;\n}\n\n.h-25 {\n height: 25% !important;\n}\n\n.h-50 {\n height: 50% !important;\n}\n\n.h-75 {\n height: 75% !important;\n}\n\n.h-100 {\n height: 100% !important;\n}\n\n.h-auto {\n height: auto !important;\n}\n\n.mh-100 {\n max-height: 100% !important;\n}\n\n.vh-100 {\n height: 100vh !important;\n}\n\n.min-vh-100 {\n min-height: 100vh !important;\n}\n\n.flex-fill {\n flex: 1 1 auto !important;\n}\n\n.flex-row {\n flex-direction: row !important;\n}\n\n.flex-column {\n flex-direction: column !important;\n}\n\n.flex-row-reverse {\n flex-direction: row-reverse !important;\n}\n\n.flex-column-reverse {\n flex-direction: column-reverse !important;\n}\n\n.flex-grow-0 {\n flex-grow: 0 !important;\n}\n\n.flex-grow-1 {\n flex-grow: 1 !important;\n}\n\n.flex-shrink-0 {\n flex-shrink: 0 !important;\n}\n\n.flex-shrink-1 {\n flex-shrink: 1 !important;\n}\n\n.flex-wrap {\n flex-wrap: wrap !important;\n}\n\n.flex-nowrap {\n flex-wrap: nowrap !important;\n}\n\n.flex-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n}\n\n.justify-content-start {\n justify-content: flex-start !important;\n}\n\n.justify-content-end {\n justify-content: flex-end !important;\n}\n\n.justify-content-center {\n justify-content: center !important;\n}\n\n.justify-content-between {\n justify-content: space-between !important;\n}\n\n.justify-content-around {\n justify-content: space-around !important;\n}\n\n.justify-content-evenly {\n justify-content: space-evenly !important;\n}\n\n.align-items-start {\n align-items: flex-start !important;\n}\n\n.align-items-end {\n align-items: flex-end !important;\n}\n\n.align-items-center {\n align-items: center !important;\n}\n\n.align-items-baseline {\n align-items: baseline !important;\n}\n\n.align-items-stretch {\n align-items: stretch !important;\n}\n\n.align-content-start {\n align-content: flex-start !important;\n}\n\n.align-content-end {\n align-content: flex-end !important;\n}\n\n.align-content-center {\n align-content: center !important;\n}\n\n.align-content-between {\n align-content: space-between !important;\n}\n\n.align-content-around {\n align-content: space-around !important;\n}\n\n.align-content-stretch {\n align-content: stretch !important;\n}\n\n.align-self-auto {\n align-self: auto !important;\n}\n\n.align-self-start {\n align-self: flex-start !important;\n}\n\n.align-self-end {\n align-self: flex-end !important;\n}\n\n.align-self-center {\n align-self: center !important;\n}\n\n.align-self-baseline {\n align-self: baseline !important;\n}\n\n.align-self-stretch {\n align-self: stretch !important;\n}\n\n.order-first {\n order: -1 !important;\n}\n\n.order-0 {\n order: 0 !important;\n}\n\n.order-1 {\n order: 1 !important;\n}\n\n.order-2 {\n order: 2 !important;\n}\n\n.order-3 {\n order: 3 !important;\n}\n\n.order-4 {\n order: 4 !important;\n}\n\n.order-5 {\n order: 5 !important;\n}\n\n.order-last {\n order: 6 !important;\n}\n\n.m-0 {\n margin: 0 !important;\n}\n\n.m-1 {\n margin: 0.25rem !important;\n}\n\n.m-2 {\n margin: 0.5rem !important;\n}\n\n.m-3 {\n margin: 1rem !important;\n}\n\n.m-4 {\n margin: 1.5rem !important;\n}\n\n.m-5 {\n margin: 3rem !important;\n}\n\n.m-auto {\n margin: auto !important;\n}\n\n.mx-0 {\n margin-right: 0 !important;\n margin-left: 0 !important;\n}\n\n.mx-1 {\n margin-right: 0.25rem !important;\n margin-left: 0.25rem !important;\n}\n\n.mx-2 {\n margin-right: 0.5rem !important;\n margin-left: 0.5rem !important;\n}\n\n.mx-3 {\n margin-right: 1rem !important;\n margin-left: 1rem !important;\n}\n\n.mx-4 {\n margin-right: 1.5rem !important;\n margin-left: 1.5rem !important;\n}\n\n.mx-5 {\n margin-right: 3rem !important;\n margin-left: 3rem !important;\n}\n\n.mx-auto {\n margin-right: auto !important;\n margin-left: auto !important;\n}\n\n.my-0 {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n}\n\n.my-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n}\n\n.my-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n}\n\n.my-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n}\n\n.my-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n}\n\n.my-5 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n}\n\n.my-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n}\n\n.mt-0 {\n margin-top: 0 !important;\n}\n\n.mt-1 {\n margin-top: 0.25rem !important;\n}\n\n.mt-2 {\n margin-top: 0.5rem !important;\n}\n\n.mt-3 {\n margin-top: 1rem !important;\n}\n\n.mt-4 {\n margin-top: 1.5rem !important;\n}\n\n.mt-5 {\n margin-top: 3rem !important;\n}\n\n.mt-auto {\n margin-top: auto !important;\n}\n\n.me-0 {\n margin-right: 0 !important;\n}\n\n.me-1 {\n margin-right: 0.25rem !important;\n}\n\n.me-2 {\n margin-right: 0.5rem !important;\n}\n\n.me-3 {\n margin-right: 1rem !important;\n}\n\n.me-4 {\n margin-right: 1.5rem !important;\n}\n\n.me-5 {\n margin-right: 3rem !important;\n}\n\n.me-auto {\n margin-right: auto !important;\n}\n\n.mb-0 {\n margin-bottom: 0 !important;\n}\n\n.mb-1 {\n margin-bottom: 0.25rem !important;\n}\n\n.mb-2 {\n margin-bottom: 0.5rem !important;\n}\n\n.mb-3 {\n margin-bottom: 1rem !important;\n}\n\n.mb-4 {\n margin-bottom: 1.5rem !important;\n}\n\n.mb-5 {\n margin-bottom: 3rem !important;\n}\n\n.mb-auto {\n margin-bottom: auto !important;\n}\n\n.ms-0 {\n margin-left: 0 !important;\n}\n\n.ms-1 {\n margin-left: 0.25rem !important;\n}\n\n.ms-2 {\n margin-left: 0.5rem !important;\n}\n\n.ms-3 {\n margin-left: 1rem !important;\n}\n\n.ms-4 {\n margin-left: 1.5rem !important;\n}\n\n.ms-5 {\n margin-left: 3rem !important;\n}\n\n.ms-auto {\n margin-left: auto !important;\n}\n\n.p-0 {\n padding: 0 !important;\n}\n\n.p-1 {\n padding: 0.25rem !important;\n}\n\n.p-2 {\n padding: 0.5rem !important;\n}\n\n.p-3 {\n padding: 1rem !important;\n}\n\n.p-4 {\n padding: 1.5rem !important;\n}\n\n.p-5 {\n padding: 3rem !important;\n}\n\n.px-0 {\n padding-right: 0 !important;\n padding-left: 0 !important;\n}\n\n.px-1 {\n padding-right: 0.25rem !important;\n padding-left: 0.25rem !important;\n}\n\n.px-2 {\n padding-right: 0.5rem !important;\n padding-left: 0.5rem !important;\n}\n\n.px-3 {\n padding-right: 1rem !important;\n padding-left: 1rem !important;\n}\n\n.px-4 {\n padding-right: 1.5rem !important;\n padding-left: 1.5rem !important;\n}\n\n.px-5 {\n padding-right: 3rem !important;\n padding-left: 3rem !important;\n}\n\n.py-0 {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n}\n\n.py-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n}\n\n.py-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n}\n\n.py-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n}\n\n.py-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n}\n\n.py-5 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n}\n\n.pt-0 {\n padding-top: 0 !important;\n}\n\n.pt-1 {\n padding-top: 0.25rem !important;\n}\n\n.pt-2 {\n padding-top: 0.5rem !important;\n}\n\n.pt-3 {\n padding-top: 1rem !important;\n}\n\n.pt-4 {\n padding-top: 1.5rem !important;\n}\n\n.pt-5 {\n padding-top: 3rem !important;\n}\n\n.pe-0 {\n padding-right: 0 !important;\n}\n\n.pe-1 {\n padding-right: 0.25rem !important;\n}\n\n.pe-2 {\n padding-right: 0.5rem !important;\n}\n\n.pe-3 {\n padding-right: 1rem !important;\n}\n\n.pe-4 {\n padding-right: 1.5rem !important;\n}\n\n.pe-5 {\n padding-right: 3rem !important;\n}\n\n.pb-0 {\n padding-bottom: 0 !important;\n}\n\n.pb-1 {\n padding-bottom: 0.25rem !important;\n}\n\n.pb-2 {\n padding-bottom: 0.5rem !important;\n}\n\n.pb-3 {\n padding-bottom: 1rem !important;\n}\n\n.pb-4 {\n padding-bottom: 1.5rem !important;\n}\n\n.pb-5 {\n padding-bottom: 3rem !important;\n}\n\n.ps-0 {\n padding-left: 0 !important;\n}\n\n.ps-1 {\n padding-left: 0.25rem !important;\n}\n\n.ps-2 {\n padding-left: 0.5rem !important;\n}\n\n.ps-3 {\n padding-left: 1rem !important;\n}\n\n.ps-4 {\n padding-left: 1.5rem !important;\n}\n\n.ps-5 {\n padding-left: 3rem !important;\n}\n\n.gap-0 {\n gap: 0 !important;\n}\n\n.gap-1 {\n gap: 0.25rem !important;\n}\n\n.gap-2 {\n gap: 0.5rem !important;\n}\n\n.gap-3 {\n gap: 1rem !important;\n}\n\n.gap-4 {\n gap: 1.5rem !important;\n}\n\n.gap-5 {\n gap: 3rem !important;\n}\n\n.font-monospace {\n font-family: var(--bs-font-monospace) !important;\n}\n\n.fs-1 {\n font-size: calc(1.375rem + 1.5vw) !important;\n}\n\n.fs-2 {\n font-size: calc(1.325rem + 0.9vw) !important;\n}\n\n.fs-3 {\n font-size: calc(1.3rem + 0.6vw) !important;\n}\n\n.fs-4 {\n font-size: calc(1.275rem + 0.3vw) !important;\n}\n\n.fs-5 {\n font-size: 1.25rem !important;\n}\n\n.fs-6 {\n font-size: 1rem !important;\n}\n\n.fst-italic {\n font-style: italic !important;\n}\n\n.fst-normal {\n font-style: normal !important;\n}\n\n.fw-light {\n font-weight: 300 !important;\n}\n\n.fw-lighter {\n font-weight: lighter !important;\n}\n\n.fw-normal {\n font-weight: 400 !important;\n}\n\n.fw-bold {\n font-weight: 700 !important;\n}\n\n.fw-semibold {\n font-weight: 600 !important;\n}\n\n.fw-bolder {\n font-weight: bolder !important;\n}\n\n.lh-1 {\n line-height: 1 !important;\n}\n\n.lh-sm {\n line-height: 1.25 !important;\n}\n\n.lh-base {\n line-height: 1.5 !important;\n}\n\n.lh-lg {\n line-height: 2 !important;\n}\n\n.text-start {\n text-align: left !important;\n}\n\n.text-end {\n text-align: right !important;\n}\n\n.text-center {\n text-align: center !important;\n}\n\n.text-decoration-none {\n text-decoration: none !important;\n}\n\n.text-decoration-underline {\n text-decoration: underline !important;\n}\n\n.text-decoration-line-through {\n text-decoration: line-through !important;\n}\n\n.text-lowercase {\n text-transform: lowercase !important;\n}\n\n.text-uppercase {\n text-transform: uppercase !important;\n}\n\n.text-capitalize {\n text-transform: capitalize !important;\n}\n\n.text-wrap {\n white-space: normal !important;\n}\n\n.text-nowrap {\n white-space: nowrap !important;\n}\n\n/* rtl:begin:remove */\n.text-break {\n word-wrap: break-word !important;\n word-break: break-word !important;\n}\n\n/* rtl:end:remove */\n.text-primary {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-secondary {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-secondary-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-success {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-info {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-info-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-warning {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-warning-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-danger {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-light {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-dark {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-black {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-black-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-white {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-white-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-body {\n --bs-text-opacity: 1;\n color: rgba(var(--bs-body-color-rgb), var(--bs-text-opacity)) !important;\n}\n\n.text-muted {\n --bs-text-opacity: 1;\n color: #6c757d !important;\n}\n\n.text-black-50 {\n --bs-text-opacity: 1;\n color: rgba(0, 0, 0, 0.5) !important;\n}\n\n.text-white-50 {\n --bs-text-opacity: 1;\n color: rgba(255, 255, 255, 0.5) !important;\n}\n\n.text-reset {\n --bs-text-opacity: 1;\n color: inherit !important;\n}\n\n.text-opacity-25 {\n --bs-text-opacity: 0.25;\n}\n\n.text-opacity-50 {\n --bs-text-opacity: 0.5;\n}\n\n.text-opacity-75 {\n --bs-text-opacity: 0.75;\n}\n\n.text-opacity-100 {\n --bs-text-opacity: 1;\n}\n\n.bg-primary {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-secondary {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-secondary-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-success {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-info {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-info-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-warning {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-danger {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-light {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-dark {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-black {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-black-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-white {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-white-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-body {\n --bs-bg-opacity: 1;\n background-color: rgba(var(--bs-body-bg-rgb), var(--bs-bg-opacity)) !important;\n}\n\n.bg-transparent {\n --bs-bg-opacity: 1;\n background-color: transparent !important;\n}\n\n.bg-opacity-10 {\n --bs-bg-opacity: 0.1;\n}\n\n.bg-opacity-25 {\n --bs-bg-opacity: 0.25;\n}\n\n.bg-opacity-50 {\n --bs-bg-opacity: 0.5;\n}\n\n.bg-opacity-75 {\n --bs-bg-opacity: 0.75;\n}\n\n.bg-opacity-100 {\n --bs-bg-opacity: 1;\n}\n\n.bg-gradient {\n background-image: var(--bs-gradient) !important;\n}\n\n.user-select-all {\n user-select: all !important;\n}\n\n.user-select-auto {\n user-select: auto !important;\n}\n\n.user-select-none {\n user-select: none !important;\n}\n\n.pe-none {\n pointer-events: none !important;\n}\n\n.pe-auto {\n pointer-events: auto !important;\n}\n\n.rounded {\n border-radius: var(--bs-border-radius) !important;\n}\n\n.rounded-0 {\n border-radius: 0 !important;\n}\n\n.rounded-1 {\n border-radius: var(--bs-border-radius-sm) !important;\n}\n\n.rounded-2 {\n border-radius: var(--bs-border-radius) !important;\n}\n\n.rounded-3 {\n border-radius: var(--bs-border-radius-lg) !important;\n}\n\n.rounded-4 {\n border-radius: var(--bs-border-radius-xl) !important;\n}\n\n.rounded-5 {\n border-radius: var(--bs-border-radius-2xl) !important;\n}\n\n.rounded-circle {\n border-radius: 50% !important;\n}\n\n.rounded-pill {\n border-radius: var(--bs-border-radius-pill) !important;\n}\n\n.rounded-top {\n border-top-left-radius: var(--bs-border-radius) !important;\n border-top-right-radius: var(--bs-border-radius) !important;\n}\n\n.rounded-end {\n border-top-right-radius: var(--bs-border-radius) !important;\n border-bottom-right-radius: var(--bs-border-radius) !important;\n}\n\n.rounded-bottom {\n border-bottom-right-radius: var(--bs-border-radius) !important;\n border-bottom-left-radius: var(--bs-border-radius) !important;\n}\n\n.rounded-start {\n border-bottom-left-radius: var(--bs-border-radius) !important;\n border-top-left-radius: var(--bs-border-radius) !important;\n}\n\n.visible {\n visibility: visible !important;\n}\n\n.invisible {\n visibility: hidden !important;\n}\n\n@media (min-width: 576px) {\n .float-sm-start {\n float: left !important;\n }\n .float-sm-end {\n float: right !important;\n }\n .float-sm-none {\n float: none !important;\n }\n .d-sm-inline {\n display: inline !important;\n }\n .d-sm-inline-block {\n display: inline-block !important;\n }\n .d-sm-block {\n display: block !important;\n }\n .d-sm-grid {\n display: grid !important;\n }\n .d-sm-table {\n display: table !important;\n }\n .d-sm-table-row {\n display: table-row !important;\n }\n .d-sm-table-cell {\n display: table-cell !important;\n }\n .d-sm-flex {\n display: flex !important;\n }\n .d-sm-inline-flex {\n display: inline-flex !important;\n }\n .d-sm-none {\n display: none !important;\n }\n .flex-sm-fill {\n flex: 1 1 auto !important;\n }\n .flex-sm-row {\n flex-direction: row !important;\n }\n .flex-sm-column {\n flex-direction: column !important;\n }\n .flex-sm-row-reverse {\n flex-direction: row-reverse !important;\n }\n .flex-sm-column-reverse {\n flex-direction: column-reverse !important;\n }\n .flex-sm-grow-0 {\n flex-grow: 0 !important;\n }\n .flex-sm-grow-1 {\n flex-grow: 1 !important;\n }\n .flex-sm-shrink-0 {\n flex-shrink: 0 !important;\n }\n .flex-sm-shrink-1 {\n flex-shrink: 1 !important;\n }\n .flex-sm-wrap {\n flex-wrap: wrap !important;\n }\n .flex-sm-nowrap {\n flex-wrap: nowrap !important;\n }\n .flex-sm-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .justify-content-sm-start {\n justify-content: flex-start !important;\n }\n .justify-content-sm-end {\n justify-content: flex-end !important;\n }\n .justify-content-sm-center {\n justify-content: center !important;\n }\n .justify-content-sm-between {\n justify-content: space-between !important;\n }\n .justify-content-sm-around {\n justify-content: space-around !important;\n }\n .justify-content-sm-evenly {\n justify-content: space-evenly !important;\n }\n .align-items-sm-start {\n align-items: flex-start !important;\n }\n .align-items-sm-end {\n align-items: flex-end !important;\n }\n .align-items-sm-center {\n align-items: center !important;\n }\n .align-items-sm-baseline {\n align-items: baseline !important;\n }\n .align-items-sm-stretch {\n align-items: stretch !important;\n }\n .align-content-sm-start {\n align-content: flex-start !important;\n }\n .align-content-sm-end {\n align-content: flex-end !important;\n }\n .align-content-sm-center {\n align-content: center !important;\n }\n .align-content-sm-between {\n align-content: space-between !important;\n }\n .align-content-sm-around {\n align-content: space-around !important;\n }\n .align-content-sm-stretch {\n align-content: stretch !important;\n }\n .align-self-sm-auto {\n align-self: auto !important;\n }\n .align-self-sm-start {\n align-self: flex-start !important;\n }\n .align-self-sm-end {\n align-self: flex-end !important;\n }\n .align-self-sm-center {\n align-self: center !important;\n }\n .align-self-sm-baseline {\n align-self: baseline !important;\n }\n .align-self-sm-stretch {\n align-self: stretch !important;\n }\n .order-sm-first {\n order: -1 !important;\n }\n .order-sm-0 {\n order: 0 !important;\n }\n .order-sm-1 {\n order: 1 !important;\n }\n .order-sm-2 {\n order: 2 !important;\n }\n .order-sm-3 {\n order: 3 !important;\n }\n .order-sm-4 {\n order: 4 !important;\n }\n .order-sm-5 {\n order: 5 !important;\n }\n .order-sm-last {\n order: 6 !important;\n }\n .m-sm-0 {\n margin: 0 !important;\n }\n .m-sm-1 {\n margin: 0.25rem !important;\n }\n .m-sm-2 {\n margin: 0.5rem !important;\n }\n .m-sm-3 {\n margin: 1rem !important;\n }\n .m-sm-4 {\n margin: 1.5rem !important;\n }\n .m-sm-5 {\n margin: 3rem !important;\n }\n .m-sm-auto {\n margin: auto !important;\n }\n .mx-sm-0 {\n margin-right: 0 !important;\n margin-left: 0 !important;\n }\n .mx-sm-1 {\n margin-right: 0.25rem !important;\n margin-left: 0.25rem !important;\n }\n .mx-sm-2 {\n margin-right: 0.5rem !important;\n margin-left: 0.5rem !important;\n }\n .mx-sm-3 {\n margin-right: 1rem !important;\n margin-left: 1rem !important;\n }\n .mx-sm-4 {\n margin-right: 1.5rem !important;\n margin-left: 1.5rem !important;\n }\n .mx-sm-5 {\n margin-right: 3rem !important;\n margin-left: 3rem !important;\n }\n .mx-sm-auto {\n margin-right: auto !important;\n margin-left: auto !important;\n }\n .my-sm-0 {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n }\n .my-sm-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n .my-sm-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n .my-sm-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n .my-sm-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n }\n .my-sm-5 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n }\n .my-sm-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n }\n .mt-sm-0 {\n margin-top: 0 !important;\n }\n .mt-sm-1 {\n margin-top: 0.25rem !important;\n }\n .mt-sm-2 {\n margin-top: 0.5rem !important;\n }\n .mt-sm-3 {\n margin-top: 1rem !important;\n }\n .mt-sm-4 {\n margin-top: 1.5rem !important;\n }\n .mt-sm-5 {\n margin-top: 3rem !important;\n }\n .mt-sm-auto {\n margin-top: auto !important;\n }\n .me-sm-0 {\n margin-right: 0 !important;\n }\n .me-sm-1 {\n margin-right: 0.25rem !important;\n }\n .me-sm-2 {\n margin-right: 0.5rem !important;\n }\n .me-sm-3 {\n margin-right: 1rem !important;\n }\n .me-sm-4 {\n margin-right: 1.5rem !important;\n }\n .me-sm-5 {\n margin-right: 3rem !important;\n }\n .me-sm-auto {\n margin-right: auto !important;\n }\n .mb-sm-0 {\n margin-bottom: 0 !important;\n }\n .mb-sm-1 {\n margin-bottom: 0.25rem !important;\n }\n .mb-sm-2 {\n margin-bottom: 0.5rem !important;\n }\n .mb-sm-3 {\n margin-bottom: 1rem !important;\n }\n .mb-sm-4 {\n margin-bottom: 1.5rem !important;\n }\n .mb-sm-5 {\n margin-bottom: 3rem !important;\n }\n .mb-sm-auto {\n margin-bottom: auto !important;\n }\n .ms-sm-0 {\n margin-left: 0 !important;\n }\n .ms-sm-1 {\n margin-left: 0.25rem !important;\n }\n .ms-sm-2 {\n margin-left: 0.5rem !important;\n }\n .ms-sm-3 {\n margin-left: 1rem !important;\n }\n .ms-sm-4 {\n margin-left: 1.5rem !important;\n }\n .ms-sm-5 {\n margin-left: 3rem !important;\n }\n .ms-sm-auto {\n margin-left: auto !important;\n }\n .p-sm-0 {\n padding: 0 !important;\n }\n .p-sm-1 {\n padding: 0.25rem !important;\n }\n .p-sm-2 {\n padding: 0.5rem !important;\n }\n .p-sm-3 {\n padding: 1rem !important;\n }\n .p-sm-4 {\n padding: 1.5rem !important;\n }\n .p-sm-5 {\n padding: 3rem !important;\n }\n .px-sm-0 {\n padding-right: 0 !important;\n padding-left: 0 !important;\n }\n .px-sm-1 {\n padding-right: 0.25rem !important;\n padding-left: 0.25rem !important;\n }\n .px-sm-2 {\n padding-right: 0.5rem !important;\n padding-left: 0.5rem !important;\n }\n .px-sm-3 {\n padding-right: 1rem !important;\n padding-left: 1rem !important;\n }\n .px-sm-4 {\n padding-right: 1.5rem !important;\n padding-left: 1.5rem !important;\n }\n .px-sm-5 {\n padding-right: 3rem !important;\n padding-left: 3rem !important;\n }\n .py-sm-0 {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n }\n .py-sm-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n .py-sm-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n .py-sm-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n .py-sm-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n }\n .py-sm-5 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n .pt-sm-0 {\n padding-top: 0 !important;\n }\n .pt-sm-1 {\n padding-top: 0.25rem !important;\n }\n .pt-sm-2 {\n padding-top: 0.5rem !important;\n }\n .pt-sm-3 {\n padding-top: 1rem !important;\n }\n .pt-sm-4 {\n padding-top: 1.5rem !important;\n }\n .pt-sm-5 {\n padding-top: 3rem !important;\n }\n .pe-sm-0 {\n padding-right: 0 !important;\n }\n .pe-sm-1 {\n padding-right: 0.25rem !important;\n }\n .pe-sm-2 {\n padding-right: 0.5rem !important;\n }\n .pe-sm-3 {\n padding-right: 1rem !important;\n }\n .pe-sm-4 {\n padding-right: 1.5rem !important;\n }\n .pe-sm-5 {\n padding-right: 3rem !important;\n }\n .pb-sm-0 {\n padding-bottom: 0 !important;\n }\n .pb-sm-1 {\n padding-bottom: 0.25rem !important;\n }\n .pb-sm-2 {\n padding-bottom: 0.5rem !important;\n }\n .pb-sm-3 {\n padding-bottom: 1rem !important;\n }\n .pb-sm-4 {\n padding-bottom: 1.5rem !important;\n }\n .pb-sm-5 {\n padding-bottom: 3rem !important;\n }\n .ps-sm-0 {\n padding-left: 0 !important;\n }\n .ps-sm-1 {\n padding-left: 0.25rem !important;\n }\n .ps-sm-2 {\n padding-left: 0.5rem !important;\n }\n .ps-sm-3 {\n padding-left: 1rem !important;\n }\n .ps-sm-4 {\n padding-left: 1.5rem !important;\n }\n .ps-sm-5 {\n padding-left: 3rem !important;\n }\n .gap-sm-0 {\n gap: 0 !important;\n }\n .gap-sm-1 {\n gap: 0.25rem !important;\n }\n .gap-sm-2 {\n gap: 0.5rem !important;\n }\n .gap-sm-3 {\n gap: 1rem !important;\n }\n .gap-sm-4 {\n gap: 1.5rem !important;\n }\n .gap-sm-5 {\n gap: 3rem !important;\n }\n .text-sm-start {\n text-align: left !important;\n }\n .text-sm-end {\n text-align: right !important;\n }\n .text-sm-center {\n text-align: center !important;\n }\n}\n@media (min-width: 768px) {\n .float-md-start {\n float: left !important;\n }\n .float-md-end {\n float: right !important;\n }\n .float-md-none {\n float: none !important;\n }\n .d-md-inline {\n display: inline !important;\n }\n .d-md-inline-block {\n display: inline-block !important;\n }\n .d-md-block {\n display: block !important;\n }\n .d-md-grid {\n display: grid !important;\n }\n .d-md-table {\n display: table !important;\n }\n .d-md-table-row {\n display: table-row !important;\n }\n .d-md-table-cell {\n display: table-cell !important;\n }\n .d-md-flex {\n display: flex !important;\n }\n .d-md-inline-flex {\n display: inline-flex !important;\n }\n .d-md-none {\n display: none !important;\n }\n .flex-md-fill {\n flex: 1 1 auto !important;\n }\n .flex-md-row {\n flex-direction: row !important;\n }\n .flex-md-column {\n flex-direction: column !important;\n }\n .flex-md-row-reverse {\n flex-direction: row-reverse !important;\n }\n .flex-md-column-reverse {\n flex-direction: column-reverse !important;\n }\n .flex-md-grow-0 {\n flex-grow: 0 !important;\n }\n .flex-md-grow-1 {\n flex-grow: 1 !important;\n }\n .flex-md-shrink-0 {\n flex-shrink: 0 !important;\n }\n .flex-md-shrink-1 {\n flex-shrink: 1 !important;\n }\n .flex-md-wrap {\n flex-wrap: wrap !important;\n }\n .flex-md-nowrap {\n flex-wrap: nowrap !important;\n }\n .flex-md-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .justify-content-md-start {\n justify-content: flex-start !important;\n }\n .justify-content-md-end {\n justify-content: flex-end !important;\n }\n .justify-content-md-center {\n justify-content: center !important;\n }\n .justify-content-md-between {\n justify-content: space-between !important;\n }\n .justify-content-md-around {\n justify-content: space-around !important;\n }\n .justify-content-md-evenly {\n justify-content: space-evenly !important;\n }\n .align-items-md-start {\n align-items: flex-start !important;\n }\n .align-items-md-end {\n align-items: flex-end !important;\n }\n .align-items-md-center {\n align-items: center !important;\n }\n .align-items-md-baseline {\n align-items: baseline !important;\n }\n .align-items-md-stretch {\n align-items: stretch !important;\n }\n .align-content-md-start {\n align-content: flex-start !important;\n }\n .align-content-md-end {\n align-content: flex-end !important;\n }\n .align-content-md-center {\n align-content: center !important;\n }\n .align-content-md-between {\n align-content: space-between !important;\n }\n .align-content-md-around {\n align-content: space-around !important;\n }\n .align-content-md-stretch {\n align-content: stretch !important;\n }\n .align-self-md-auto {\n align-self: auto !important;\n }\n .align-self-md-start {\n align-self: flex-start !important;\n }\n .align-self-md-end {\n align-self: flex-end !important;\n }\n .align-self-md-center {\n align-self: center !important;\n }\n .align-self-md-baseline {\n align-self: baseline !important;\n }\n .align-self-md-stretch {\n align-self: stretch !important;\n }\n .order-md-first {\n order: -1 !important;\n }\n .order-md-0 {\n order: 0 !important;\n }\n .order-md-1 {\n order: 1 !important;\n }\n .order-md-2 {\n order: 2 !important;\n }\n .order-md-3 {\n order: 3 !important;\n }\n .order-md-4 {\n order: 4 !important;\n }\n .order-md-5 {\n order: 5 !important;\n }\n .order-md-last {\n order: 6 !important;\n }\n .m-md-0 {\n margin: 0 !important;\n }\n .m-md-1 {\n margin: 0.25rem !important;\n }\n .m-md-2 {\n margin: 0.5rem !important;\n }\n .m-md-3 {\n margin: 1rem !important;\n }\n .m-md-4 {\n margin: 1.5rem !important;\n }\n .m-md-5 {\n margin: 3rem !important;\n }\n .m-md-auto {\n margin: auto !important;\n }\n .mx-md-0 {\n margin-right: 0 !important;\n margin-left: 0 !important;\n }\n .mx-md-1 {\n margin-right: 0.25rem !important;\n margin-left: 0.25rem !important;\n }\n .mx-md-2 {\n margin-right: 0.5rem !important;\n margin-left: 0.5rem !important;\n }\n .mx-md-3 {\n margin-right: 1rem !important;\n margin-left: 1rem !important;\n }\n .mx-md-4 {\n margin-right: 1.5rem !important;\n margin-left: 1.5rem !important;\n }\n .mx-md-5 {\n margin-right: 3rem !important;\n margin-left: 3rem !important;\n }\n .mx-md-auto {\n margin-right: auto !important;\n margin-left: auto !important;\n }\n .my-md-0 {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n }\n .my-md-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n .my-md-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n .my-md-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n .my-md-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n }\n .my-md-5 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n }\n .my-md-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n }\n .mt-md-0 {\n margin-top: 0 !important;\n }\n .mt-md-1 {\n margin-top: 0.25rem !important;\n }\n .mt-md-2 {\n margin-top: 0.5rem !important;\n }\n .mt-md-3 {\n margin-top: 1rem !important;\n }\n .mt-md-4 {\n margin-top: 1.5rem !important;\n }\n .mt-md-5 {\n margin-top: 3rem !important;\n }\n .mt-md-auto {\n margin-top: auto !important;\n }\n .me-md-0 {\n margin-right: 0 !important;\n }\n .me-md-1 {\n margin-right: 0.25rem !important;\n }\n .me-md-2 {\n margin-right: 0.5rem !important;\n }\n .me-md-3 {\n margin-right: 1rem !important;\n }\n .me-md-4 {\n margin-right: 1.5rem !important;\n }\n .me-md-5 {\n margin-right: 3rem !important;\n }\n .me-md-auto {\n margin-right: auto !important;\n }\n .mb-md-0 {\n margin-bottom: 0 !important;\n }\n .mb-md-1 {\n margin-bottom: 0.25rem !important;\n }\n .mb-md-2 {\n margin-bottom: 0.5rem !important;\n }\n .mb-md-3 {\n margin-bottom: 1rem !important;\n }\n .mb-md-4 {\n margin-bottom: 1.5rem !important;\n }\n .mb-md-5 {\n margin-bottom: 3rem !important;\n }\n .mb-md-auto {\n margin-bottom: auto !important;\n }\n .ms-md-0 {\n margin-left: 0 !important;\n }\n .ms-md-1 {\n margin-left: 0.25rem !important;\n }\n .ms-md-2 {\n margin-left: 0.5rem !important;\n }\n .ms-md-3 {\n margin-left: 1rem !important;\n }\n .ms-md-4 {\n margin-left: 1.5rem !important;\n }\n .ms-md-5 {\n margin-left: 3rem !important;\n }\n .ms-md-auto {\n margin-left: auto !important;\n }\n .p-md-0 {\n padding: 0 !important;\n }\n .p-md-1 {\n padding: 0.25rem !important;\n }\n .p-md-2 {\n padding: 0.5rem !important;\n }\n .p-md-3 {\n padding: 1rem !important;\n }\n .p-md-4 {\n padding: 1.5rem !important;\n }\n .p-md-5 {\n padding: 3rem !important;\n }\n .px-md-0 {\n padding-right: 0 !important;\n padding-left: 0 !important;\n }\n .px-md-1 {\n padding-right: 0.25rem !important;\n padding-left: 0.25rem !important;\n }\n .px-md-2 {\n padding-right: 0.5rem !important;\n padding-left: 0.5rem !important;\n }\n .px-md-3 {\n padding-right: 1rem !important;\n padding-left: 1rem !important;\n }\n .px-md-4 {\n padding-right: 1.5rem !important;\n padding-left: 1.5rem !important;\n }\n .px-md-5 {\n padding-right: 3rem !important;\n padding-left: 3rem !important;\n }\n .py-md-0 {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n }\n .py-md-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n .py-md-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n .py-md-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n .py-md-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n }\n .py-md-5 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n .pt-md-0 {\n padding-top: 0 !important;\n }\n .pt-md-1 {\n padding-top: 0.25rem !important;\n }\n .pt-md-2 {\n padding-top: 0.5rem !important;\n }\n .pt-md-3 {\n padding-top: 1rem !important;\n }\n .pt-md-4 {\n padding-top: 1.5rem !important;\n }\n .pt-md-5 {\n padding-top: 3rem !important;\n }\n .pe-md-0 {\n padding-right: 0 !important;\n }\n .pe-md-1 {\n padding-right: 0.25rem !important;\n }\n .pe-md-2 {\n padding-right: 0.5rem !important;\n }\n .pe-md-3 {\n padding-right: 1rem !important;\n }\n .pe-md-4 {\n padding-right: 1.5rem !important;\n }\n .pe-md-5 {\n padding-right: 3rem !important;\n }\n .pb-md-0 {\n padding-bottom: 0 !important;\n }\n .pb-md-1 {\n padding-bottom: 0.25rem !important;\n }\n .pb-md-2 {\n padding-bottom: 0.5rem !important;\n }\n .pb-md-3 {\n padding-bottom: 1rem !important;\n }\n .pb-md-4 {\n padding-bottom: 1.5rem !important;\n }\n .pb-md-5 {\n padding-bottom: 3rem !important;\n }\n .ps-md-0 {\n padding-left: 0 !important;\n }\n .ps-md-1 {\n padding-left: 0.25rem !important;\n }\n .ps-md-2 {\n padding-left: 0.5rem !important;\n }\n .ps-md-3 {\n padding-left: 1rem !important;\n }\n .ps-md-4 {\n padding-left: 1.5rem !important;\n }\n .ps-md-5 {\n padding-left: 3rem !important;\n }\n .gap-md-0 {\n gap: 0 !important;\n }\n .gap-md-1 {\n gap: 0.25rem !important;\n }\n .gap-md-2 {\n gap: 0.5rem !important;\n }\n .gap-md-3 {\n gap: 1rem !important;\n }\n .gap-md-4 {\n gap: 1.5rem !important;\n }\n .gap-md-5 {\n gap: 3rem !important;\n }\n .text-md-start {\n text-align: left !important;\n }\n .text-md-end {\n text-align: right !important;\n }\n .text-md-center {\n text-align: center !important;\n }\n}\n@media (min-width: 992px) {\n .float-lg-start {\n float: left !important;\n }\n .float-lg-end {\n float: right !important;\n }\n .float-lg-none {\n float: none !important;\n }\n .d-lg-inline {\n display: inline !important;\n }\n .d-lg-inline-block {\n display: inline-block !important;\n }\n .d-lg-block {\n display: block !important;\n }\n .d-lg-grid {\n display: grid !important;\n }\n .d-lg-table {\n display: table !important;\n }\n .d-lg-table-row {\n display: table-row !important;\n }\n .d-lg-table-cell {\n display: table-cell !important;\n }\n .d-lg-flex {\n display: flex !important;\n }\n .d-lg-inline-flex {\n display: inline-flex !important;\n }\n .d-lg-none {\n display: none !important;\n }\n .flex-lg-fill {\n flex: 1 1 auto !important;\n }\n .flex-lg-row {\n flex-direction: row !important;\n }\n .flex-lg-column {\n flex-direction: column !important;\n }\n .flex-lg-row-reverse {\n flex-direction: row-reverse !important;\n }\n .flex-lg-column-reverse {\n flex-direction: column-reverse !important;\n }\n .flex-lg-grow-0 {\n flex-grow: 0 !important;\n }\n .flex-lg-grow-1 {\n flex-grow: 1 !important;\n }\n .flex-lg-shrink-0 {\n flex-shrink: 0 !important;\n }\n .flex-lg-shrink-1 {\n flex-shrink: 1 !important;\n }\n .flex-lg-wrap {\n flex-wrap: wrap !important;\n }\n .flex-lg-nowrap {\n flex-wrap: nowrap !important;\n }\n .flex-lg-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .justify-content-lg-start {\n justify-content: flex-start !important;\n }\n .justify-content-lg-end {\n justify-content: flex-end !important;\n }\n .justify-content-lg-center {\n justify-content: center !important;\n }\n .justify-content-lg-between {\n justify-content: space-between !important;\n }\n .justify-content-lg-around {\n justify-content: space-around !important;\n }\n .justify-content-lg-evenly {\n justify-content: space-evenly !important;\n }\n .align-items-lg-start {\n align-items: flex-start !important;\n }\n .align-items-lg-end {\n align-items: flex-end !important;\n }\n .align-items-lg-center {\n align-items: center !important;\n }\n .align-items-lg-baseline {\n align-items: baseline !important;\n }\n .align-items-lg-stretch {\n align-items: stretch !important;\n }\n .align-content-lg-start {\n align-content: flex-start !important;\n }\n .align-content-lg-end {\n align-content: flex-end !important;\n }\n .align-content-lg-center {\n align-content: center !important;\n }\n .align-content-lg-between {\n align-content: space-between !important;\n }\n .align-content-lg-around {\n align-content: space-around !important;\n }\n .align-content-lg-stretch {\n align-content: stretch !important;\n }\n .align-self-lg-auto {\n align-self: auto !important;\n }\n .align-self-lg-start {\n align-self: flex-start !important;\n }\n .align-self-lg-end {\n align-self: flex-end !important;\n }\n .align-self-lg-center {\n align-self: center !important;\n }\n .align-self-lg-baseline {\n align-self: baseline !important;\n }\n .align-self-lg-stretch {\n align-self: stretch !important;\n }\n .order-lg-first {\n order: -1 !important;\n }\n .order-lg-0 {\n order: 0 !important;\n }\n .order-lg-1 {\n order: 1 !important;\n }\n .order-lg-2 {\n order: 2 !important;\n }\n .order-lg-3 {\n order: 3 !important;\n }\n .order-lg-4 {\n order: 4 !important;\n }\n .order-lg-5 {\n order: 5 !important;\n }\n .order-lg-last {\n order: 6 !important;\n }\n .m-lg-0 {\n margin: 0 !important;\n }\n .m-lg-1 {\n margin: 0.25rem !important;\n }\n .m-lg-2 {\n margin: 0.5rem !important;\n }\n .m-lg-3 {\n margin: 1rem !important;\n }\n .m-lg-4 {\n margin: 1.5rem !important;\n }\n .m-lg-5 {\n margin: 3rem !important;\n }\n .m-lg-auto {\n margin: auto !important;\n }\n .mx-lg-0 {\n margin-right: 0 !important;\n margin-left: 0 !important;\n }\n .mx-lg-1 {\n margin-right: 0.25rem !important;\n margin-left: 0.25rem !important;\n }\n .mx-lg-2 {\n margin-right: 0.5rem !important;\n margin-left: 0.5rem !important;\n }\n .mx-lg-3 {\n margin-right: 1rem !important;\n margin-left: 1rem !important;\n }\n .mx-lg-4 {\n margin-right: 1.5rem !important;\n margin-left: 1.5rem !important;\n }\n .mx-lg-5 {\n margin-right: 3rem !important;\n margin-left: 3rem !important;\n }\n .mx-lg-auto {\n margin-right: auto !important;\n margin-left: auto !important;\n }\n .my-lg-0 {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n }\n .my-lg-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n .my-lg-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n .my-lg-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n .my-lg-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n }\n .my-lg-5 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n }\n .my-lg-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n }\n .mt-lg-0 {\n margin-top: 0 !important;\n }\n .mt-lg-1 {\n margin-top: 0.25rem !important;\n }\n .mt-lg-2 {\n margin-top: 0.5rem !important;\n }\n .mt-lg-3 {\n margin-top: 1rem !important;\n }\n .mt-lg-4 {\n margin-top: 1.5rem !important;\n }\n .mt-lg-5 {\n margin-top: 3rem !important;\n }\n .mt-lg-auto {\n margin-top: auto !important;\n }\n .me-lg-0 {\n margin-right: 0 !important;\n }\n .me-lg-1 {\n margin-right: 0.25rem !important;\n }\n .me-lg-2 {\n margin-right: 0.5rem !important;\n }\n .me-lg-3 {\n margin-right: 1rem !important;\n }\n .me-lg-4 {\n margin-right: 1.5rem !important;\n }\n .me-lg-5 {\n margin-right: 3rem !important;\n }\n .me-lg-auto {\n margin-right: auto !important;\n }\n .mb-lg-0 {\n margin-bottom: 0 !important;\n }\n .mb-lg-1 {\n margin-bottom: 0.25rem !important;\n }\n .mb-lg-2 {\n margin-bottom: 0.5rem !important;\n }\n .mb-lg-3 {\n margin-bottom: 1rem !important;\n }\n .mb-lg-4 {\n margin-bottom: 1.5rem !important;\n }\n .mb-lg-5 {\n margin-bottom: 3rem !important;\n }\n .mb-lg-auto {\n margin-bottom: auto !important;\n }\n .ms-lg-0 {\n margin-left: 0 !important;\n }\n .ms-lg-1 {\n margin-left: 0.25rem !important;\n }\n .ms-lg-2 {\n margin-left: 0.5rem !important;\n }\n .ms-lg-3 {\n margin-left: 1rem !important;\n }\n .ms-lg-4 {\n margin-left: 1.5rem !important;\n }\n .ms-lg-5 {\n margin-left: 3rem !important;\n }\n .ms-lg-auto {\n margin-left: auto !important;\n }\n .p-lg-0 {\n padding: 0 !important;\n }\n .p-lg-1 {\n padding: 0.25rem !important;\n }\n .p-lg-2 {\n padding: 0.5rem !important;\n }\n .p-lg-3 {\n padding: 1rem !important;\n }\n .p-lg-4 {\n padding: 1.5rem !important;\n }\n .p-lg-5 {\n padding: 3rem !important;\n }\n .px-lg-0 {\n padding-right: 0 !important;\n padding-left: 0 !important;\n }\n .px-lg-1 {\n padding-right: 0.25rem !important;\n padding-left: 0.25rem !important;\n }\n .px-lg-2 {\n padding-right: 0.5rem !important;\n padding-left: 0.5rem !important;\n }\n .px-lg-3 {\n padding-right: 1rem !important;\n padding-left: 1rem !important;\n }\n .px-lg-4 {\n padding-right: 1.5rem !important;\n padding-left: 1.5rem !important;\n }\n .px-lg-5 {\n padding-right: 3rem !important;\n padding-left: 3rem !important;\n }\n .py-lg-0 {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n }\n .py-lg-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n .py-lg-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n .py-lg-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n .py-lg-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n }\n .py-lg-5 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n .pt-lg-0 {\n padding-top: 0 !important;\n }\n .pt-lg-1 {\n padding-top: 0.25rem !important;\n }\n .pt-lg-2 {\n padding-top: 0.5rem !important;\n }\n .pt-lg-3 {\n padding-top: 1rem !important;\n }\n .pt-lg-4 {\n padding-top: 1.5rem !important;\n }\n .pt-lg-5 {\n padding-top: 3rem !important;\n }\n .pe-lg-0 {\n padding-right: 0 !important;\n }\n .pe-lg-1 {\n padding-right: 0.25rem !important;\n }\n .pe-lg-2 {\n padding-right: 0.5rem !important;\n }\n .pe-lg-3 {\n padding-right: 1rem !important;\n }\n .pe-lg-4 {\n padding-right: 1.5rem !important;\n }\n .pe-lg-5 {\n padding-right: 3rem !important;\n }\n .pb-lg-0 {\n padding-bottom: 0 !important;\n }\n .pb-lg-1 {\n padding-bottom: 0.25rem !important;\n }\n .pb-lg-2 {\n padding-bottom: 0.5rem !important;\n }\n .pb-lg-3 {\n padding-bottom: 1rem !important;\n }\n .pb-lg-4 {\n padding-bottom: 1.5rem !important;\n }\n .pb-lg-5 {\n padding-bottom: 3rem !important;\n }\n .ps-lg-0 {\n padding-left: 0 !important;\n }\n .ps-lg-1 {\n padding-left: 0.25rem !important;\n }\n .ps-lg-2 {\n padding-left: 0.5rem !important;\n }\n .ps-lg-3 {\n padding-left: 1rem !important;\n }\n .ps-lg-4 {\n padding-left: 1.5rem !important;\n }\n .ps-lg-5 {\n padding-left: 3rem !important;\n }\n .gap-lg-0 {\n gap: 0 !important;\n }\n .gap-lg-1 {\n gap: 0.25rem !important;\n }\n .gap-lg-2 {\n gap: 0.5rem !important;\n }\n .gap-lg-3 {\n gap: 1rem !important;\n }\n .gap-lg-4 {\n gap: 1.5rem !important;\n }\n .gap-lg-5 {\n gap: 3rem !important;\n }\n .text-lg-start {\n text-align: left !important;\n }\n .text-lg-end {\n text-align: right !important;\n }\n .text-lg-center {\n text-align: center !important;\n }\n}\n@media (min-width: 1200px) {\n .float-xl-start {\n float: left !important;\n }\n .float-xl-end {\n float: right !important;\n }\n .float-xl-none {\n float: none !important;\n }\n .d-xl-inline {\n display: inline !important;\n }\n .d-xl-inline-block {\n display: inline-block !important;\n }\n .d-xl-block {\n display: block !important;\n }\n .d-xl-grid {\n display: grid !important;\n }\n .d-xl-table {\n display: table !important;\n }\n .d-xl-table-row {\n display: table-row !important;\n }\n .d-xl-table-cell {\n display: table-cell !important;\n }\n .d-xl-flex {\n display: flex !important;\n }\n .d-xl-inline-flex {\n display: inline-flex !important;\n }\n .d-xl-none {\n display: none !important;\n }\n .flex-xl-fill {\n flex: 1 1 auto !important;\n }\n .flex-xl-row {\n flex-direction: row !important;\n }\n .flex-xl-column {\n flex-direction: column !important;\n }\n .flex-xl-row-reverse {\n flex-direction: row-reverse !important;\n }\n .flex-xl-column-reverse {\n flex-direction: column-reverse !important;\n }\n .flex-xl-grow-0 {\n flex-grow: 0 !important;\n }\n .flex-xl-grow-1 {\n flex-grow: 1 !important;\n }\n .flex-xl-shrink-0 {\n flex-shrink: 0 !important;\n }\n .flex-xl-shrink-1 {\n flex-shrink: 1 !important;\n }\n .flex-xl-wrap {\n flex-wrap: wrap !important;\n }\n .flex-xl-nowrap {\n flex-wrap: nowrap !important;\n }\n .flex-xl-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .justify-content-xl-start {\n justify-content: flex-start !important;\n }\n .justify-content-xl-end {\n justify-content: flex-end !important;\n }\n .justify-content-xl-center {\n justify-content: center !important;\n }\n .justify-content-xl-between {\n justify-content: space-between !important;\n }\n .justify-content-xl-around {\n justify-content: space-around !important;\n }\n .justify-content-xl-evenly {\n justify-content: space-evenly !important;\n }\n .align-items-xl-start {\n align-items: flex-start !important;\n }\n .align-items-xl-end {\n align-items: flex-end !important;\n }\n .align-items-xl-center {\n align-items: center !important;\n }\n .align-items-xl-baseline {\n align-items: baseline !important;\n }\n .align-items-xl-stretch {\n align-items: stretch !important;\n }\n .align-content-xl-start {\n align-content: flex-start !important;\n }\n .align-content-xl-end {\n align-content: flex-end !important;\n }\n .align-content-xl-center {\n align-content: center !important;\n }\n .align-content-xl-between {\n align-content: space-between !important;\n }\n .align-content-xl-around {\n align-content: space-around !important;\n }\n .align-content-xl-stretch {\n align-content: stretch !important;\n }\n .align-self-xl-auto {\n align-self: auto !important;\n }\n .align-self-xl-start {\n align-self: flex-start !important;\n }\n .align-self-xl-end {\n align-self: flex-end !important;\n }\n .align-self-xl-center {\n align-self: center !important;\n }\n .align-self-xl-baseline {\n align-self: baseline !important;\n }\n .align-self-xl-stretch {\n align-self: stretch !important;\n }\n .order-xl-first {\n order: -1 !important;\n }\n .order-xl-0 {\n order: 0 !important;\n }\n .order-xl-1 {\n order: 1 !important;\n }\n .order-xl-2 {\n order: 2 !important;\n }\n .order-xl-3 {\n order: 3 !important;\n }\n .order-xl-4 {\n order: 4 !important;\n }\n .order-xl-5 {\n order: 5 !important;\n }\n .order-xl-last {\n order: 6 !important;\n }\n .m-xl-0 {\n margin: 0 !important;\n }\n .m-xl-1 {\n margin: 0.25rem !important;\n }\n .m-xl-2 {\n margin: 0.5rem !important;\n }\n .m-xl-3 {\n margin: 1rem !important;\n }\n .m-xl-4 {\n margin: 1.5rem !important;\n }\n .m-xl-5 {\n margin: 3rem !important;\n }\n .m-xl-auto {\n margin: auto !important;\n }\n .mx-xl-0 {\n margin-right: 0 !important;\n margin-left: 0 !important;\n }\n .mx-xl-1 {\n margin-right: 0.25rem !important;\n margin-left: 0.25rem !important;\n }\n .mx-xl-2 {\n margin-right: 0.5rem !important;\n margin-left: 0.5rem !important;\n }\n .mx-xl-3 {\n margin-right: 1rem !important;\n margin-left: 1rem !important;\n }\n .mx-xl-4 {\n margin-right: 1.5rem !important;\n margin-left: 1.5rem !important;\n }\n .mx-xl-5 {\n margin-right: 3rem !important;\n margin-left: 3rem !important;\n }\n .mx-xl-auto {\n margin-right: auto !important;\n margin-left: auto !important;\n }\n .my-xl-0 {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n }\n .my-xl-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n .my-xl-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n .my-xl-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n .my-xl-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n }\n .my-xl-5 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n }\n .my-xl-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n }\n .mt-xl-0 {\n margin-top: 0 !important;\n }\n .mt-xl-1 {\n margin-top: 0.25rem !important;\n }\n .mt-xl-2 {\n margin-top: 0.5rem !important;\n }\n .mt-xl-3 {\n margin-top: 1rem !important;\n }\n .mt-xl-4 {\n margin-top: 1.5rem !important;\n }\n .mt-xl-5 {\n margin-top: 3rem !important;\n }\n .mt-xl-auto {\n margin-top: auto !important;\n }\n .me-xl-0 {\n margin-right: 0 !important;\n }\n .me-xl-1 {\n margin-right: 0.25rem !important;\n }\n .me-xl-2 {\n margin-right: 0.5rem !important;\n }\n .me-xl-3 {\n margin-right: 1rem !important;\n }\n .me-xl-4 {\n margin-right: 1.5rem !important;\n }\n .me-xl-5 {\n margin-right: 3rem !important;\n }\n .me-xl-auto {\n margin-right: auto !important;\n }\n .mb-xl-0 {\n margin-bottom: 0 !important;\n }\n .mb-xl-1 {\n margin-bottom: 0.25rem !important;\n }\n .mb-xl-2 {\n margin-bottom: 0.5rem !important;\n }\n .mb-xl-3 {\n margin-bottom: 1rem !important;\n }\n .mb-xl-4 {\n margin-bottom: 1.5rem !important;\n }\n .mb-xl-5 {\n margin-bottom: 3rem !important;\n }\n .mb-xl-auto {\n margin-bottom: auto !important;\n }\n .ms-xl-0 {\n margin-left: 0 !important;\n }\n .ms-xl-1 {\n margin-left: 0.25rem !important;\n }\n .ms-xl-2 {\n margin-left: 0.5rem !important;\n }\n .ms-xl-3 {\n margin-left: 1rem !important;\n }\n .ms-xl-4 {\n margin-left: 1.5rem !important;\n }\n .ms-xl-5 {\n margin-left: 3rem !important;\n }\n .ms-xl-auto {\n margin-left: auto !important;\n }\n .p-xl-0 {\n padding: 0 !important;\n }\n .p-xl-1 {\n padding: 0.25rem !important;\n }\n .p-xl-2 {\n padding: 0.5rem !important;\n }\n .p-xl-3 {\n padding: 1rem !important;\n }\n .p-xl-4 {\n padding: 1.5rem !important;\n }\n .p-xl-5 {\n padding: 3rem !important;\n }\n .px-xl-0 {\n padding-right: 0 !important;\n padding-left: 0 !important;\n }\n .px-xl-1 {\n padding-right: 0.25rem !important;\n padding-left: 0.25rem !important;\n }\n .px-xl-2 {\n padding-right: 0.5rem !important;\n padding-left: 0.5rem !important;\n }\n .px-xl-3 {\n padding-right: 1rem !important;\n padding-left: 1rem !important;\n }\n .px-xl-4 {\n padding-right: 1.5rem !important;\n padding-left: 1.5rem !important;\n }\n .px-xl-5 {\n padding-right: 3rem !important;\n padding-left: 3rem !important;\n }\n .py-xl-0 {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n }\n .py-xl-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n .py-xl-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n .py-xl-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n .py-xl-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n }\n .py-xl-5 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n .pt-xl-0 {\n padding-top: 0 !important;\n }\n .pt-xl-1 {\n padding-top: 0.25rem !important;\n }\n .pt-xl-2 {\n padding-top: 0.5rem !important;\n }\n .pt-xl-3 {\n padding-top: 1rem !important;\n }\n .pt-xl-4 {\n padding-top: 1.5rem !important;\n }\n .pt-xl-5 {\n padding-top: 3rem !important;\n }\n .pe-xl-0 {\n padding-right: 0 !important;\n }\n .pe-xl-1 {\n padding-right: 0.25rem !important;\n }\n .pe-xl-2 {\n padding-right: 0.5rem !important;\n }\n .pe-xl-3 {\n padding-right: 1rem !important;\n }\n .pe-xl-4 {\n padding-right: 1.5rem !important;\n }\n .pe-xl-5 {\n padding-right: 3rem !important;\n }\n .pb-xl-0 {\n padding-bottom: 0 !important;\n }\n .pb-xl-1 {\n padding-bottom: 0.25rem !important;\n }\n .pb-xl-2 {\n padding-bottom: 0.5rem !important;\n }\n .pb-xl-3 {\n padding-bottom: 1rem !important;\n }\n .pb-xl-4 {\n padding-bottom: 1.5rem !important;\n }\n .pb-xl-5 {\n padding-bottom: 3rem !important;\n }\n .ps-xl-0 {\n padding-left: 0 !important;\n }\n .ps-xl-1 {\n padding-left: 0.25rem !important;\n }\n .ps-xl-2 {\n padding-left: 0.5rem !important;\n }\n .ps-xl-3 {\n padding-left: 1rem !important;\n }\n .ps-xl-4 {\n padding-left: 1.5rem !important;\n }\n .ps-xl-5 {\n padding-left: 3rem !important;\n }\n .gap-xl-0 {\n gap: 0 !important;\n }\n .gap-xl-1 {\n gap: 0.25rem !important;\n }\n .gap-xl-2 {\n gap: 0.5rem !important;\n }\n .gap-xl-3 {\n gap: 1rem !important;\n }\n .gap-xl-4 {\n gap: 1.5rem !important;\n }\n .gap-xl-5 {\n gap: 3rem !important;\n }\n .text-xl-start {\n text-align: left !important;\n }\n .text-xl-end {\n text-align: right !important;\n }\n .text-xl-center {\n text-align: center !important;\n }\n}\n@media (min-width: 1400px) {\n .float-xxl-start {\n float: left !important;\n }\n .float-xxl-end {\n float: right !important;\n }\n .float-xxl-none {\n float: none !important;\n }\n .d-xxl-inline {\n display: inline !important;\n }\n .d-xxl-inline-block {\n display: inline-block !important;\n }\n .d-xxl-block {\n display: block !important;\n }\n .d-xxl-grid {\n display: grid !important;\n }\n .d-xxl-table {\n display: table !important;\n }\n .d-xxl-table-row {\n display: table-row !important;\n }\n .d-xxl-table-cell {\n display: table-cell !important;\n }\n .d-xxl-flex {\n display: flex !important;\n }\n .d-xxl-inline-flex {\n display: inline-flex !important;\n }\n .d-xxl-none {\n display: none !important;\n }\n .flex-xxl-fill {\n flex: 1 1 auto !important;\n }\n .flex-xxl-row {\n flex-direction: row !important;\n }\n .flex-xxl-column {\n flex-direction: column !important;\n }\n .flex-xxl-row-reverse {\n flex-direction: row-reverse !important;\n }\n .flex-xxl-column-reverse {\n flex-direction: column-reverse !important;\n }\n .flex-xxl-grow-0 {\n flex-grow: 0 !important;\n }\n .flex-xxl-grow-1 {\n flex-grow: 1 !important;\n }\n .flex-xxl-shrink-0 {\n flex-shrink: 0 !important;\n }\n .flex-xxl-shrink-1 {\n flex-shrink: 1 !important;\n }\n .flex-xxl-wrap {\n flex-wrap: wrap !important;\n }\n .flex-xxl-nowrap {\n flex-wrap: nowrap !important;\n }\n .flex-xxl-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .justify-content-xxl-start {\n justify-content: flex-start !important;\n }\n .justify-content-xxl-end {\n justify-content: flex-end !important;\n }\n .justify-content-xxl-center {\n justify-content: center !important;\n }\n .justify-content-xxl-between {\n justify-content: space-between !important;\n }\n .justify-content-xxl-around {\n justify-content: space-around !important;\n }\n .justify-content-xxl-evenly {\n justify-content: space-evenly !important;\n }\n .align-items-xxl-start {\n align-items: flex-start !important;\n }\n .align-items-xxl-end {\n align-items: flex-end !important;\n }\n .align-items-xxl-center {\n align-items: center !important;\n }\n .align-items-xxl-baseline {\n align-items: baseline !important;\n }\n .align-items-xxl-stretch {\n align-items: stretch !important;\n }\n .align-content-xxl-start {\n align-content: flex-start !important;\n }\n .align-content-xxl-end {\n align-content: flex-end !important;\n }\n .align-content-xxl-center {\n align-content: center !important;\n }\n .align-content-xxl-between {\n align-content: space-between !important;\n }\n .align-content-xxl-around {\n align-content: space-around !important;\n }\n .align-content-xxl-stretch {\n align-content: stretch !important;\n }\n .align-self-xxl-auto {\n align-self: auto !important;\n }\n .align-self-xxl-start {\n align-self: flex-start !important;\n }\n .align-self-xxl-end {\n align-self: flex-end !important;\n }\n .align-self-xxl-center {\n align-self: center !important;\n }\n .align-self-xxl-baseline {\n align-self: baseline !important;\n }\n .align-self-xxl-stretch {\n align-self: stretch !important;\n }\n .order-xxl-first {\n order: -1 !important;\n }\n .order-xxl-0 {\n order: 0 !important;\n }\n .order-xxl-1 {\n order: 1 !important;\n }\n .order-xxl-2 {\n order: 2 !important;\n }\n .order-xxl-3 {\n order: 3 !important;\n }\n .order-xxl-4 {\n order: 4 !important;\n }\n .order-xxl-5 {\n order: 5 !important;\n }\n .order-xxl-last {\n order: 6 !important;\n }\n .m-xxl-0 {\n margin: 0 !important;\n }\n .m-xxl-1 {\n margin: 0.25rem !important;\n }\n .m-xxl-2 {\n margin: 0.5rem !important;\n }\n .m-xxl-3 {\n margin: 1rem !important;\n }\n .m-xxl-4 {\n margin: 1.5rem !important;\n }\n .m-xxl-5 {\n margin: 3rem !important;\n }\n .m-xxl-auto {\n margin: auto !important;\n }\n .mx-xxl-0 {\n margin-right: 0 !important;\n margin-left: 0 !important;\n }\n .mx-xxl-1 {\n margin-right: 0.25rem !important;\n margin-left: 0.25rem !important;\n }\n .mx-xxl-2 {\n margin-right: 0.5rem !important;\n margin-left: 0.5rem !important;\n }\n .mx-xxl-3 {\n margin-right: 1rem !important;\n margin-left: 1rem !important;\n }\n .mx-xxl-4 {\n margin-right: 1.5rem !important;\n margin-left: 1.5rem !important;\n }\n .mx-xxl-5 {\n margin-right: 3rem !important;\n margin-left: 3rem !important;\n }\n .mx-xxl-auto {\n margin-right: auto !important;\n margin-left: auto !important;\n }\n .my-xxl-0 {\n margin-top: 0 !important;\n margin-bottom: 0 !important;\n }\n .my-xxl-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n .my-xxl-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n .my-xxl-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n .my-xxl-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n }\n .my-xxl-5 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n }\n .my-xxl-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n }\n .mt-xxl-0 {\n margin-top: 0 !important;\n }\n .mt-xxl-1 {\n margin-top: 0.25rem !important;\n }\n .mt-xxl-2 {\n margin-top: 0.5rem !important;\n }\n .mt-xxl-3 {\n margin-top: 1rem !important;\n }\n .mt-xxl-4 {\n margin-top: 1.5rem !important;\n }\n .mt-xxl-5 {\n margin-top: 3rem !important;\n }\n .mt-xxl-auto {\n margin-top: auto !important;\n }\n .me-xxl-0 {\n margin-right: 0 !important;\n }\n .me-xxl-1 {\n margin-right: 0.25rem !important;\n }\n .me-xxl-2 {\n margin-right: 0.5rem !important;\n }\n .me-xxl-3 {\n margin-right: 1rem !important;\n }\n .me-xxl-4 {\n margin-right: 1.5rem !important;\n }\n .me-xxl-5 {\n margin-right: 3rem !important;\n }\n .me-xxl-auto {\n margin-right: auto !important;\n }\n .mb-xxl-0 {\n margin-bottom: 0 !important;\n }\n .mb-xxl-1 {\n margin-bottom: 0.25rem !important;\n }\n .mb-xxl-2 {\n margin-bottom: 0.5rem !important;\n }\n .mb-xxl-3 {\n margin-bottom: 1rem !important;\n }\n .mb-xxl-4 {\n margin-bottom: 1.5rem !important;\n }\n .mb-xxl-5 {\n margin-bottom: 3rem !important;\n }\n .mb-xxl-auto {\n margin-bottom: auto !important;\n }\n .ms-xxl-0 {\n margin-left: 0 !important;\n }\n .ms-xxl-1 {\n margin-left: 0.25rem !important;\n }\n .ms-xxl-2 {\n margin-left: 0.5rem !important;\n }\n .ms-xxl-3 {\n margin-left: 1rem !important;\n }\n .ms-xxl-4 {\n margin-left: 1.5rem !important;\n }\n .ms-xxl-5 {\n margin-left: 3rem !important;\n }\n .ms-xxl-auto {\n margin-left: auto !important;\n }\n .p-xxl-0 {\n padding: 0 !important;\n }\n .p-xxl-1 {\n padding: 0.25rem !important;\n }\n .p-xxl-2 {\n padding: 0.5rem !important;\n }\n .p-xxl-3 {\n padding: 1rem !important;\n }\n .p-xxl-4 {\n padding: 1.5rem !important;\n }\n .p-xxl-5 {\n padding: 3rem !important;\n }\n .px-xxl-0 {\n padding-right: 0 !important;\n padding-left: 0 !important;\n }\n .px-xxl-1 {\n padding-right: 0.25rem !important;\n padding-left: 0.25rem !important;\n }\n .px-xxl-2 {\n padding-right: 0.5rem !important;\n padding-left: 0.5rem !important;\n }\n .px-xxl-3 {\n padding-right: 1rem !important;\n padding-left: 1rem !important;\n }\n .px-xxl-4 {\n padding-right: 1.5rem !important;\n padding-left: 1.5rem !important;\n }\n .px-xxl-5 {\n padding-right: 3rem !important;\n padding-left: 3rem !important;\n }\n .py-xxl-0 {\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n }\n .py-xxl-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n .py-xxl-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n .py-xxl-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n .py-xxl-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n }\n .py-xxl-5 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n .pt-xxl-0 {\n padding-top: 0 !important;\n }\n .pt-xxl-1 {\n padding-top: 0.25rem !important;\n }\n .pt-xxl-2 {\n padding-top: 0.5rem !important;\n }\n .pt-xxl-3 {\n padding-top: 1rem !important;\n }\n .pt-xxl-4 {\n padding-top: 1.5rem !important;\n }\n .pt-xxl-5 {\n padding-top: 3rem !important;\n }\n .pe-xxl-0 {\n padding-right: 0 !important;\n }\n .pe-xxl-1 {\n padding-right: 0.25rem !important;\n }\n .pe-xxl-2 {\n padding-right: 0.5rem !important;\n }\n .pe-xxl-3 {\n padding-right: 1rem !important;\n }\n .pe-xxl-4 {\n padding-right: 1.5rem !important;\n }\n .pe-xxl-5 {\n padding-right: 3rem !important;\n }\n .pb-xxl-0 {\n padding-bottom: 0 !important;\n }\n .pb-xxl-1 {\n padding-bottom: 0.25rem !important;\n }\n .pb-xxl-2 {\n padding-bottom: 0.5rem !important;\n }\n .pb-xxl-3 {\n padding-bottom: 1rem !important;\n }\n .pb-xxl-4 {\n padding-bottom: 1.5rem !important;\n }\n .pb-xxl-5 {\n padding-bottom: 3rem !important;\n }\n .ps-xxl-0 {\n padding-left: 0 !important;\n }\n .ps-xxl-1 {\n padding-left: 0.25rem !important;\n }\n .ps-xxl-2 {\n padding-left: 0.5rem !important;\n }\n .ps-xxl-3 {\n padding-left: 1rem !important;\n }\n .ps-xxl-4 {\n padding-left: 1.5rem !important;\n }\n .ps-xxl-5 {\n padding-left: 3rem !important;\n }\n .gap-xxl-0 {\n gap: 0 !important;\n }\n .gap-xxl-1 {\n gap: 0.25rem !important;\n }\n .gap-xxl-2 {\n gap: 0.5rem !important;\n }\n .gap-xxl-3 {\n gap: 1rem !important;\n }\n .gap-xxl-4 {\n gap: 1.5rem !important;\n }\n .gap-xxl-5 {\n gap: 3rem !important;\n }\n .text-xxl-start {\n text-align: left !important;\n }\n .text-xxl-end {\n text-align: right !important;\n }\n .text-xxl-center {\n text-align: center !important;\n }\n}\n@media (min-width: 1200px) {\n .fs-1 {\n font-size: 2.5rem !important;\n }\n .fs-2 {\n font-size: 2rem !important;\n }\n .fs-3 {\n font-size: 1.75rem !important;\n }\n .fs-4 {\n font-size: 1.5rem !important;\n }\n}\n@media print {\n .d-print-inline {\n display: inline !important;\n }\n .d-print-inline-block {\n display: inline-block !important;\n }\n .d-print-block {\n display: block !important;\n }\n .d-print-grid {\n display: grid !important;\n }\n .d-print-table {\n display: table !important;\n }\n .d-print-table-row {\n display: table-row !important;\n }\n .d-print-table-cell {\n display: table-cell !important;\n }\n .d-print-flex {\n display: flex !important;\n }\n .d-print-inline-flex {\n display: inline-flex !important;\n }\n .d-print-none {\n display: none !important;\n }\n}\n\n/*# sourceMappingURL=bootstrap.css.map */\n","@mixin bsBanner($file) {\n /*!\n * Bootstrap #{$file} v5.2.2 (https://getbootstrap.com/)\n * Copyright 2011-2022 The Bootstrap Authors\n * Copyright 2011-2022 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n */\n}\n\n",":root {\n // Note: Custom variable values only support SassScript inside `#{}`.\n\n // Colors\n //\n // Generate palettes for full colors, grays, and theme colors.\n\n @each $color, $value in $colors {\n --#{$prefix}#{$color}: #{$value};\n }\n\n @each $color, $value in $grays {\n --#{$prefix}gray-#{$color}: #{$value};\n }\n\n @each $color, $value in $theme-colors {\n --#{$prefix}#{$color}: #{$value};\n }\n\n @each $color, $value in $theme-colors-rgb {\n --#{$prefix}#{$color}-rgb: #{$value};\n }\n\n --#{$prefix}white-rgb: #{to-rgb($white)};\n --#{$prefix}black-rgb: #{to-rgb($black)};\n --#{$prefix}body-color-rgb: #{to-rgb($body-color)};\n --#{$prefix}body-bg-rgb: #{to-rgb($body-bg)};\n\n // Fonts\n\n // Note: Use `inspect` for lists so that quoted items keep the quotes.\n // See https://github.com/sass/sass/issues/2383#issuecomment-336349172\n --#{$prefix}font-sans-serif: #{inspect($font-family-sans-serif)};\n --#{$prefix}font-monospace: #{inspect($font-family-monospace)};\n --#{$prefix}gradient: #{$gradient};\n\n // Root and body\n // scss-docs-start root-body-variables\n @if $font-size-root != null {\n --#{$prefix}root-font-size: #{$font-size-root};\n }\n --#{$prefix}body-font-family: #{$font-family-base};\n @include rfs($font-size-base, --#{$prefix}body-font-size);\n --#{$prefix}body-font-weight: #{$font-weight-base};\n --#{$prefix}body-line-height: #{$line-height-base};\n --#{$prefix}body-color: #{$body-color};\n @if $body-text-align != null {\n --#{$prefix}body-text-align: #{$body-text-align};\n }\n --#{$prefix}body-bg: #{$body-bg};\n // scss-docs-end root-body-variables\n\n // scss-docs-start root-border-var\n --#{$prefix}border-width: #{$border-width};\n --#{$prefix}border-style: #{$border-style};\n --#{$prefix}border-color: #{$border-color};\n --#{$prefix}border-color-translucent: #{$border-color-translucent};\n\n --#{$prefix}border-radius: #{$border-radius};\n --#{$prefix}border-radius-sm: #{$border-radius-sm};\n --#{$prefix}border-radius-lg: #{$border-radius-lg};\n --#{$prefix}border-radius-xl: #{$border-radius-xl};\n --#{$prefix}border-radius-2xl: #{$border-radius-2xl};\n --#{$prefix}border-radius-pill: #{$border-radius-pill};\n // scss-docs-end root-border-var\n\n --#{$prefix}link-color: #{$link-color};\n --#{$prefix}link-hover-color: #{$link-hover-color};\n\n --#{$prefix}code-color: #{$code-color};\n\n --#{$prefix}highlight-bg: #{$mark-bg};\n}\n","// stylelint-disable property-blacklist, scss/dollar-variable-default\n\n// SCSS RFS mixin\n//\n// Automated responsive values for font sizes, paddings, margins and much more\n//\n// Licensed under MIT (https://github.com/twbs/rfs/blob/main/LICENSE)\n\n// Configuration\n\n// Base value\n$rfs-base-value: 1.25rem !default;\n$rfs-unit: rem !default;\n\n@if $rfs-unit != rem and $rfs-unit != px {\n @error \"`#{$rfs-unit}` is not a valid unit for $rfs-unit. Use `px` or `rem`.\";\n}\n\n// Breakpoint at where values start decreasing if screen width is smaller\n$rfs-breakpoint: 1200px !default;\n$rfs-breakpoint-unit: px !default;\n\n@if $rfs-breakpoint-unit != px and $rfs-breakpoint-unit != em and $rfs-breakpoint-unit != rem {\n @error \"`#{$rfs-breakpoint-unit}` is not a valid unit for $rfs-breakpoint-unit. Use `px`, `em` or `rem`.\";\n}\n\n// Resize values based on screen height and width\n$rfs-two-dimensional: false !default;\n\n// Factor of decrease\n$rfs-factor: 10 !default;\n\n@if type-of($rfs-factor) != number or $rfs-factor <= 1 {\n @error \"`#{$rfs-factor}` is not a valid $rfs-factor, it must be greater than 1.\";\n}\n\n// Mode. Possibilities: \"min-media-query\", \"max-media-query\"\n$rfs-mode: min-media-query !default;\n\n// Generate enable or disable classes. Possibilities: false, \"enable\" or \"disable\"\n$rfs-class: false !default;\n\n// 1 rem = $rfs-rem-value px\n$rfs-rem-value: 16 !default;\n\n// Safari iframe resize bug: https://github.com/twbs/rfs/issues/14\n$rfs-safari-iframe-resize-bug-fix: false !default;\n\n// Disable RFS by setting $enable-rfs to false\n$enable-rfs: true !default;\n\n// Cache $rfs-base-value unit\n$rfs-base-value-unit: unit($rfs-base-value);\n\n@function divide($dividend, $divisor, $precision: 10) {\n $sign: if($dividend > 0 and $divisor > 0 or $dividend < 0 and $divisor < 0, 1, -1);\n $dividend: abs($dividend);\n $divisor: abs($divisor);\n @if $dividend == 0 {\n @return 0;\n }\n @if $divisor == 0 {\n @error \"Cannot divide by 0\";\n }\n $remainder: $dividend;\n $result: 0;\n $factor: 10;\n @while ($remainder > 0 and $precision >= 0) {\n $quotient: 0;\n @while ($remainder >= $divisor) {\n $remainder: $remainder - $divisor;\n $quotient: $quotient + 1;\n }\n $result: $result * 10 + $quotient;\n $factor: $factor * .1;\n $remainder: $remainder * 10;\n $precision: $precision - 1;\n @if ($precision < 0 and $remainder >= $divisor * 5) {\n $result: $result + 1;\n }\n }\n $result: $result * $factor * $sign;\n $dividend-unit: unit($dividend);\n $divisor-unit: unit($divisor);\n $unit-map: (\n \"px\": 1px,\n \"rem\": 1rem,\n \"em\": 1em,\n \"%\": 1%\n );\n @if ($dividend-unit != $divisor-unit and map-has-key($unit-map, $dividend-unit)) {\n $result: $result * map-get($unit-map, $dividend-unit);\n }\n @return $result;\n}\n\n// Remove px-unit from $rfs-base-value for calculations\n@if $rfs-base-value-unit == px {\n $rfs-base-value: divide($rfs-base-value, $rfs-base-value * 0 + 1);\n}\n@else if $rfs-base-value-unit == rem {\n $rfs-base-value: divide($rfs-base-value, divide($rfs-base-value * 0 + 1, $rfs-rem-value));\n}\n\n// Cache $rfs-breakpoint unit to prevent multiple calls\n$rfs-breakpoint-unit-cache: unit($rfs-breakpoint);\n\n// Remove unit from $rfs-breakpoint for calculations\n@if $rfs-breakpoint-unit-cache == px {\n $rfs-breakpoint: divide($rfs-breakpoint, $rfs-breakpoint * 0 + 1);\n}\n@else if $rfs-breakpoint-unit-cache == rem or $rfs-breakpoint-unit-cache == \"em\" {\n $rfs-breakpoint: divide($rfs-breakpoint, divide($rfs-breakpoint * 0 + 1, $rfs-rem-value));\n}\n\n// Calculate the media query value\n$rfs-mq-value: if($rfs-breakpoint-unit == px, #{$rfs-breakpoint}px, #{divide($rfs-breakpoint, $rfs-rem-value)}#{$rfs-breakpoint-unit});\n$rfs-mq-property-width: if($rfs-mode == max-media-query, max-width, min-width);\n$rfs-mq-property-height: if($rfs-mode == max-media-query, max-height, min-height);\n\n// Internal mixin used to determine which media query needs to be used\n@mixin _rfs-media-query {\n @if $rfs-two-dimensional {\n @if $rfs-mode == max-media-query {\n @media (#{$rfs-mq-property-width}: #{$rfs-mq-value}), (#{$rfs-mq-property-height}: #{$rfs-mq-value}) {\n @content;\n }\n }\n @else {\n @media (#{$rfs-mq-property-width}: #{$rfs-mq-value}) and (#{$rfs-mq-property-height}: #{$rfs-mq-value}) {\n @content;\n }\n }\n }\n @else {\n @media (#{$rfs-mq-property-width}: #{$rfs-mq-value}) {\n @content;\n }\n }\n}\n\n// Internal mixin that adds disable classes to the selector if needed.\n@mixin _rfs-rule {\n @if $rfs-class == disable and $rfs-mode == max-media-query {\n // Adding an extra class increases specificity, which prevents the media query to override the property\n &,\n .disable-rfs &,\n &.disable-rfs {\n @content;\n }\n }\n @else if $rfs-class == enable and $rfs-mode == min-media-query {\n .enable-rfs &,\n &.enable-rfs {\n @content;\n }\n }\n @else {\n @content;\n }\n}\n\n// Internal mixin that adds enable classes to the selector if needed.\n@mixin _rfs-media-query-rule {\n\n @if $rfs-class == enable {\n @if $rfs-mode == min-media-query {\n @content;\n }\n\n @include _rfs-media-query {\n .enable-rfs &,\n &.enable-rfs {\n @content;\n }\n }\n }\n @else {\n @if $rfs-class == disable and $rfs-mode == min-media-query {\n .disable-rfs &,\n &.disable-rfs {\n @content;\n }\n }\n @include _rfs-media-query {\n @content;\n }\n }\n}\n\n// Helper function to get the formatted non-responsive value\n@function rfs-value($values) {\n // Convert to list\n $values: if(type-of($values) != list, ($values,), $values);\n\n $val: '';\n\n // Loop over each value and calculate value\n @each $value in $values {\n @if $value == 0 {\n $val: $val + ' 0';\n }\n @else {\n // Cache $value unit\n $unit: if(type-of($value) == \"number\", unit($value), false);\n\n @if $unit == px {\n // Convert to rem if needed\n $val: $val + ' ' + if($rfs-unit == rem, #{divide($value, $value * 0 + $rfs-rem-value)}rem, $value);\n }\n @else if $unit == rem {\n // Convert to px if needed\n $val: $val + ' ' + if($rfs-unit == px, #{divide($value, $value * 0 + 1) * $rfs-rem-value}px, $value);\n }\n @else {\n // If $value isn't a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value\n $val: $val + ' ' + $value;\n }\n }\n }\n\n // Remove first space\n @return unquote(str-slice($val, 2));\n}\n\n// Helper function to get the responsive value calculated by RFS\n@function rfs-fluid-value($values) {\n // Convert to list\n $values: if(type-of($values) != list, ($values,), $values);\n\n $val: '';\n\n // Loop over each value and calculate value\n @each $value in $values {\n @if $value == 0 {\n $val: $val + ' 0';\n }\n\n @else {\n // Cache $value unit\n $unit: if(type-of($value) == \"number\", unit($value), false);\n\n // If $value isn't a number (like inherit) or $value has a unit (not px or rem, like 1.5em) or $ is 0, just print the value\n @if not $unit or $unit != px and $unit != rem {\n $val: $val + ' ' + $value;\n }\n\n @else {\n // Remove unit from $value for calculations\n $value: divide($value, $value * 0 + if($unit == px, 1, divide(1, $rfs-rem-value)));\n\n // Only add the media query if the value is greater than the minimum value\n @if abs($value) <= $rfs-base-value or not $enable-rfs {\n $val: $val + ' ' + if($rfs-unit == rem, #{divide($value, $rfs-rem-value)}rem, #{$value}px);\n }\n @else {\n // Calculate the minimum value\n $value-min: $rfs-base-value + divide(abs($value) - $rfs-base-value, $rfs-factor);\n\n // Calculate difference between $value and the minimum value\n $value-diff: abs($value) - $value-min;\n\n // Base value formatting\n $min-width: if($rfs-unit == rem, #{divide($value-min, $rfs-rem-value)}rem, #{$value-min}px);\n\n // Use negative value if needed\n $min-width: if($value < 0, -$min-width, $min-width);\n\n // Use `vmin` if two-dimensional is enabled\n $variable-unit: if($rfs-two-dimensional, vmin, vw);\n\n // Calculate the variable width between 0 and $rfs-breakpoint\n $variable-width: #{divide($value-diff * 100, $rfs-breakpoint)}#{$variable-unit};\n\n // Return the calculated value\n $val: $val + ' calc(' + $min-width + if($value < 0, ' - ', ' + ') + $variable-width + ')';\n }\n }\n }\n }\n\n // Remove first space\n @return unquote(str-slice($val, 2));\n}\n\n// RFS mixin\n@mixin rfs($values, $property: font-size) {\n @if $values != null {\n $val: rfs-value($values);\n $fluidVal: rfs-fluid-value($values);\n\n // Do not print the media query if responsive & non-responsive values are the same\n @if $val == $fluidVal {\n #{$property}: $val;\n }\n @else {\n @include _rfs-rule {\n #{$property}: if($rfs-mode == max-media-query, $val, $fluidVal);\n\n // Include safari iframe resize fix if needed\n min-width: if($rfs-safari-iframe-resize-bug-fix, (0 * 1vw), null);\n }\n\n @include _rfs-media-query-rule {\n #{$property}: if($rfs-mode == max-media-query, $fluidVal, $val);\n }\n }\n }\n}\n\n// Shorthand helper mixins\n@mixin font-size($value) {\n @include rfs($value);\n}\n\n@mixin padding($value) {\n @include rfs($value, padding);\n}\n\n@mixin padding-top($value) {\n @include rfs($value, padding-top);\n}\n\n@mixin padding-right($value) {\n @include rfs($value, padding-right);\n}\n\n@mixin padding-bottom($value) {\n @include rfs($value, padding-bottom);\n}\n\n@mixin padding-left($value) {\n @include rfs($value, padding-left);\n}\n\n@mixin margin($value) {\n @include rfs($value, margin);\n}\n\n@mixin margin-top($value) {\n @include rfs($value, margin-top);\n}\n\n@mixin margin-right($value) {\n @include rfs($value, margin-right);\n}\n\n@mixin margin-bottom($value) {\n @include rfs($value, margin-bottom);\n}\n\n@mixin margin-left($value) {\n @include rfs($value, margin-left);\n}\n","// stylelint-disable declaration-no-important, selector-no-qualifying-type, property-no-vendor-prefix\n\n\n// Reboot\n//\n// Normalization of HTML elements, manually forked from Normalize.css to remove\n// styles targeting irrelevant browsers while applying new styles.\n//\n// Normalize is licensed MIT. https://github.com/necolas/normalize.css\n\n\n// Document\n//\n// Change from `box-sizing: content-box` so that `width` is not affected by `padding` or `border`.\n\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\n\n// Root\n//\n// Ability to the value of the root font sizes, affecting the value of `rem`.\n// null by default, thus nothing is generated.\n\n:root {\n @if $font-size-root != null {\n @include font-size(var(--#{$prefix}root-font-size));\n }\n\n @if $enable-smooth-scroll {\n @media (prefers-reduced-motion: no-preference) {\n scroll-behavior: smooth;\n }\n }\n}\n\n\n// Body\n//\n// 1. Remove the margin in all browsers.\n// 2. As a best practice, apply a default `background-color`.\n// 3. Prevent adjustments of font size after orientation changes in iOS.\n// 4. Change the default tap highlight to be completely transparent in iOS.\n\n// scss-docs-start reboot-body-rules\nbody {\n margin: 0; // 1\n font-family: var(--#{$prefix}body-font-family);\n @include font-size(var(--#{$prefix}body-font-size));\n font-weight: var(--#{$prefix}body-font-weight);\n line-height: var(--#{$prefix}body-line-height);\n color: var(--#{$prefix}body-color);\n text-align: var(--#{$prefix}body-text-align);\n background-color: var(--#{$prefix}body-bg); // 2\n -webkit-text-size-adjust: 100%; // 3\n -webkit-tap-highlight-color: rgba($black, 0); // 4\n}\n// scss-docs-end reboot-body-rules\n\n\n// Content grouping\n//\n// 1. Reset Firefox's gray color\n\nhr {\n margin: $hr-margin-y 0;\n color: $hr-color; // 1\n border: 0;\n border-top: $hr-border-width solid $hr-border-color;\n opacity: $hr-opacity;\n}\n\n\n// Typography\n//\n// 1. Remove top margins from headings\n// By default, `

`-`

` all receive top and bottom margins. We nuke the top\n// margin for easier control within type scales as it avoids margin collapsing.\n\n%heading {\n margin-top: 0; // 1\n margin-bottom: $headings-margin-bottom;\n font-family: $headings-font-family;\n font-style: $headings-font-style;\n font-weight: $headings-font-weight;\n line-height: $headings-line-height;\n color: $headings-color;\n}\n\nh1 {\n @extend %heading;\n @include font-size($h1-font-size);\n}\n\nh2 {\n @extend %heading;\n @include font-size($h2-font-size);\n}\n\nh3 {\n @extend %heading;\n @include font-size($h3-font-size);\n}\n\nh4 {\n @extend %heading;\n @include font-size($h4-font-size);\n}\n\nh5 {\n @extend %heading;\n @include font-size($h5-font-size);\n}\n\nh6 {\n @extend %heading;\n @include font-size($h6-font-size);\n}\n\n\n// Reset margins on paragraphs\n//\n// Similarly, the top margin on `

`s get reset. However, we also reset the\n// bottom margin to use `rem` units instead of `em`.\n\np {\n margin-top: 0;\n margin-bottom: $paragraph-margin-bottom;\n}\n\n\n// Abbreviations\n//\n// 1. Add the correct text decoration in Chrome, Edge, Opera, and Safari.\n// 2. Add explicit cursor to indicate changed behavior.\n// 3. Prevent the text-decoration to be skipped.\n\nabbr[title] {\n text-decoration: underline dotted; // 1\n cursor: help; // 2\n text-decoration-skip-ink: none; // 3\n}\n\n\n// Address\n\naddress {\n margin-bottom: 1rem;\n font-style: normal;\n line-height: inherit;\n}\n\n\n// Lists\n\nol,\nul {\n padding-left: 2rem;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: $dt-font-weight;\n}\n\n// 1. Undo browser default\n\ndd {\n margin-bottom: .5rem;\n margin-left: 0; // 1\n}\n\n\n// Blockquote\n\nblockquote {\n margin: 0 0 1rem;\n}\n\n\n// Strong\n//\n// Add the correct font weight in Chrome, Edge, and Safari\n\nb,\nstrong {\n font-weight: $font-weight-bolder;\n}\n\n\n// Small\n//\n// Add the correct font size in all browsers\n\nsmall {\n @include font-size($small-font-size);\n}\n\n\n// Mark\n\nmark {\n padding: $mark-padding;\n background-color: var(--#{$prefix}highlight-bg);\n}\n\n\n// Sub and Sup\n//\n// Prevent `sub` and `sup` elements from affecting the line height in\n// all browsers.\n\nsub,\nsup {\n position: relative;\n @include font-size($sub-sup-font-size);\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub { bottom: -.25em; }\nsup { top: -.5em; }\n\n\n// Links\n\na {\n color: var(--#{$prefix}link-color);\n text-decoration: $link-decoration;\n\n &:hover {\n color: var(--#{$prefix}link-hover-color);\n text-decoration: $link-hover-decoration;\n }\n}\n\n// And undo these styles for placeholder links/named anchors (without href).\n// It would be more straightforward to just use a[href] in previous block, but that\n// causes specificity issues in many other styles that are too complex to fix.\n// See https://github.com/twbs/bootstrap/issues/19402\n\na:not([href]):not([class]) {\n &,\n &:hover {\n color: inherit;\n text-decoration: none;\n }\n}\n\n\n// Code\n\npre,\ncode,\nkbd,\nsamp {\n font-family: $font-family-code;\n @include font-size(1em); // Correct the odd `em` font sizing in all browsers.\n}\n\n// 1. Remove browser default top margin\n// 2. Reset browser default of `1em` to use `rem`s\n// 3. Don't allow content to break outside\n\npre {\n display: block;\n margin-top: 0; // 1\n margin-bottom: 1rem; // 2\n overflow: auto; // 3\n @include font-size($code-font-size);\n color: $pre-color;\n\n // Account for some code outputs that place code tags in pre tags\n code {\n @include font-size(inherit);\n color: inherit;\n word-break: normal;\n }\n}\n\ncode {\n @include font-size($code-font-size);\n color: var(--#{$prefix}code-color);\n word-wrap: break-word;\n\n // Streamline the style when inside anchors to avoid broken underline and more\n a > & {\n color: inherit;\n }\n}\n\nkbd {\n padding: $kbd-padding-y $kbd-padding-x;\n @include font-size($kbd-font-size);\n color: $kbd-color;\n background-color: $kbd-bg;\n @include border-radius($border-radius-sm);\n\n kbd {\n padding: 0;\n @include font-size(1em);\n font-weight: $nested-kbd-font-weight;\n }\n}\n\n\n// Figures\n//\n// Apply a consistent margin strategy (matches our type styles).\n\nfigure {\n margin: 0 0 1rem;\n}\n\n\n// Images and content\n\nimg,\nsvg {\n vertical-align: middle;\n}\n\n\n// Tables\n//\n// Prevent double borders\n\ntable {\n caption-side: bottom;\n border-collapse: collapse;\n}\n\ncaption {\n padding-top: $table-cell-padding-y;\n padding-bottom: $table-cell-padding-y;\n color: $table-caption-color;\n text-align: left;\n}\n\n// 1. Removes font-weight bold by inheriting\n// 2. Matches default `` alignment by inheriting `text-align`.\n// 3. Fix alignment for Safari\n\nth {\n font-weight: $table-th-font-weight; // 1\n text-align: inherit; // 2\n text-align: -webkit-match-parent; // 3\n}\n\nthead,\ntbody,\ntfoot,\ntr,\ntd,\nth {\n border-color: inherit;\n border-style: solid;\n border-width: 0;\n}\n\n\n// Forms\n//\n// 1. Allow labels to use `margin` for spacing.\n\nlabel {\n display: inline-block; // 1\n}\n\n// Remove the default `border-radius` that macOS Chrome adds.\n// See https://github.com/twbs/bootstrap/issues/24093\n\nbutton {\n // stylelint-disable-next-line property-disallowed-list\n border-radius: 0;\n}\n\n// Explicitly remove focus outline in Chromium when it shouldn't be\n// visible (e.g. as result of mouse click or touch tap). It already\n// should be doing this automatically, but seems to currently be\n// confused and applies its very visible two-tone outline anyway.\n\nbutton:focus:not(:focus-visible) {\n outline: 0;\n}\n\n// 1. Remove the margin in Firefox and Safari\n\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n margin: 0; // 1\n font-family: inherit;\n @include font-size(inherit);\n line-height: inherit;\n}\n\n// Remove the inheritance of text transform in Firefox\nbutton,\nselect {\n text-transform: none;\n}\n// Set the cursor for non-`

',Cm=Number.isNaN||P.isNaN;function Le(W){return typeof W=="number"&&!Cm(W)}var zp=function(L){return L>0&&L<1/0};function fc(W){return typeof W=="undefined"}function eo(W){return t(W)==="object"&&W!==null}var Nm=Object.prototype.hasOwnProperty;function Lo(W){if(!eo(W))return!1;try{var L=W.constructor,M=L.prototype;return L&&M&&Nm.call(M,"isPrototypeOf")}catch(D){return!1}}function Sr(W){return typeof W=="function"}var Dm=Array.prototype.slice;function Mm(W){return Array.from?Array.from(W):Dm.call(W)}function jt(W,L){return W&&Sr(L)&&(Array.isArray(W)||Le(W.length)?Mm(W).forEach(function(M,D){L.call(W,M,D,W)}):eo(W)&&Object.keys(W).forEach(function(M){L.call(W,W[M],M,W)})),W}var lt=Object.assign||function(L){for(var M=arguments.length,D=new Array(M>1?M-1:0),J=1;J0&&D.forEach(function(V){eo(V)&&Object.keys(V).forEach(function(Z){L[Z]=V[Z]})}),L},qS=/\.\d*(?:0|9){12}\d*$/;function to(W){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return qS.test(W)?Math.round(W*L)/L:W}var Um=/^width|height|left|top|marginLeft|marginTop$/;function Ei(W,L){var M=W.style;jt(L,function(D,J){Um.test(J)&&Le(D)&&(D="".concat(D,"px")),M[J]=D})}function Hp(W,L){return W.classList?W.classList.contains(L):W.className.indexOf(L)>-1}function qt(W,L){if(L){if(Le(W.length)){jt(W,function(D){qt(D,L)});return}if(W.classList){W.classList.add(L);return}var M=W.className.trim();M?M.indexOf(L)<0&&(W.className="".concat(M," ").concat(L)):W.className=L}}function xn(W,L){if(L){if(Le(W.length)){jt(W,function(M){xn(M,L)});return}if(W.classList){W.classList.remove(L);return}W.className.indexOf(L)>=0&&(W.className=W.className.replace(L,""))}}function Co(W,L,M){if(L){if(Le(W.length)){jt(W,function(D){Co(D,L,M)});return}M?qt(W,L):xn(W,L)}}var Bm=/([a-z\d])([A-Z])/g;function pc(W){return W.replace(Bm,"$1-$2").toLowerCase()}function hc(W,L){return eo(W[L])?W[L]:W.dataset?W.dataset[L]:W.getAttribute("data-".concat(pc(L)))}function dc(W,L,M){eo(M)?W[L]=M:W.dataset?W.dataset[L]=M:W.setAttribute("data-".concat(pc(L)),M)}function hs(W,L){if(eo(W[L]))try{delete W[L]}catch(M){W[L]=void 0}else if(W.dataset)try{delete W.dataset[L]}catch(M){W.dataset[L]=void 0}else W.removeAttribute("data-".concat(pc(L)))}var Wp=/\s\s*/,Vp=function(){var W=!1;if(w){var L=!1,M=function(){},D=Object.defineProperty({},"once",{get:function(){return W=!0,L},set:function(V){L=V}});P.addEventListener("test",M,D),P.removeEventListener("test",M,D)}return W}();function dr(W,L,M){var D=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},J=M;L.trim().split(Wp).forEach(function(V){if(!Vp){var Z=W.listeners;Z&&Z[V]&&Z[V][M]&&(J=Z[V][M],delete Z[V][M],Object.keys(Z[V]).length===0&&delete Z[V],Object.keys(Z).length===0&&delete W.listeners)}W.removeEventListener(V,J,D)})}function Nr(W,L,M){var D=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},J=M;L.trim().split(Wp).forEach(function(V){if(D.once&&!Vp){var Z=W.listeners,ee=Z===void 0?{}:Z;J=function(){delete ee[V][M],W.removeEventListener(V,J,D);for(var ne=arguments.length,re=new Array(ne),te=0;te1&&arguments[1]!==void 0?arguments[1]:"contain",V=zp(D),Z=zp(M);if(V&&Z){var ee=M*L;J==="contain"&&ee>D||J==="cover"&&ee90?{width:ae,height:ee}:{width:ee,height:ae}}function Uie(W,L,M,D){var J=L.aspectRatio,V=L.naturalWidth,Z=L.naturalHeight,ee=L.rotate,ae=ee===void 0?0:ee,ne=L.scaleX,re=ne===void 0?1:ne,te=L.scaleY,oe=te===void 0?1:te,Ye=M.aspectRatio,Ve=M.naturalWidth,mt=M.naturalHeight,et=D.fillColor,Zt=et===void 0?"transparent":et,vr=D.imageSmoothingEnabled,Gt=vr===void 0?!0:vr,No=D.imageSmoothingQuality,Rn=No===void 0?"low":No,se=D.maxWidth,tt=se===void 0?1/0:se,er=D.maxHeight,ni=er===void 0?1/0:er,Do=D.minWidth,ds=Do===void 0?0:Do,vs=D.minHeight,Ua=vs===void 0?0:vs,ro=document.createElement("canvas"),pn=ro.getContext("2d"),ys=Ma({aspectRatio:Ye,width:tt,height:ni}),$m=Ma({aspectRatio:Ye,width:ds,height:Ua},"cover"),LS=Math.min(ys.width,Math.max($m.width,Ve)),CS=Math.min(ys.height,Math.max($m.height,mt)),DF=Ma({aspectRatio:J,width:tt,height:ni}),MF=Ma({aspectRatio:J,width:ds,height:Ua},"cover"),UF=Math.min(DF.width,Math.max(MF.width,V)),BF=Math.min(DF.height,Math.max(MF.height,Z)),eoe=[-UF/2,-BF/2,UF,BF];return ro.width=to(LS),ro.height=to(CS),pn.fillStyle=Zt,pn.fillRect(0,0,LS,CS),pn.save(),pn.translate(LS/2,CS/2),pn.rotate(ae*Math.PI/180),pn.scale(re,oe),pn.imageSmoothingEnabled=Gt,pn.imageSmoothingQuality=Rn,pn.drawImage.apply(pn,[W].concat(c(eoe.map(function(toe){return Math.floor(to(toe))})))),pn.restore(),ro}var CF=String.fromCharCode;function Bie(W,L,M){var D="";M+=L;for(var J=L;J0;)M.push(CF.apply(null,Mm(J.subarray(0,D)))),J=J.subarray(D);return"data:".concat(L,";base64,").concat(btoa(M.join("")))}function Hie(W){var L=new DataView(W),M;try{var D,J,V;if(L.getUint8(0)===255&&L.getUint8(1)===216)for(var Z=L.byteLength,ee=2;ee+1=8&&(V=ne+te)}}}if(V){var oe=L.getUint16(V,D),Ye,Ve;for(Ve=0;VeL.width?D===3?ae=L.height*ee:ne=L.width/ee:D===3?ne=L.width/ee:ae=L.height*ee;var re={aspectRatio:ee,naturalWidth:V,naturalHeight:Z,width:ae,height:ne};re.left=(L.width-ae)/2,re.top=(L.height-ne)/2,re.oldLeft=re.left,re.oldTop=re.top,this.canvasData=re,this.limited=D===1||D===2,this.limitCanvas(!0,!0),this.initialImageData=lt({},M),this.initialCanvasData=lt({},re)},limitCanvas:function(L,M){var D=this.options,J=this.containerData,V=this.canvasData,Z=this.cropBoxData,ee=D.viewMode,ae=V.aspectRatio,ne=this.cropped&&Z;if(L){var re=Number(D.minCanvasWidth)||0,te=Number(D.minCanvasHeight)||0;ee>1?(re=Math.max(re,J.width),te=Math.max(te,J.height),ee===3&&(te*ae>re?re=te*ae:te=re/ae)):ee>0&&(re?re=Math.max(re,ne?Z.width:0):te?te=Math.max(te,ne?Z.height:0):ne&&(re=Z.width,te=Z.height,te*ae>re?re=te*ae:te=re/ae));var oe=Ma({aspectRatio:ae,width:re,height:te});re=oe.width,te=oe.height,V.minWidth=re,V.minHeight=te,V.maxWidth=1/0,V.maxHeight=1/0}if(M)if(ee>(ne?0:1)){var Ye=J.width-V.width,Ve=J.height-V.height;V.minLeft=Math.min(0,Ye),V.minTop=Math.min(0,Ve),V.maxLeft=Math.max(0,Ye),V.maxTop=Math.max(0,Ve),ne&&this.limited&&(V.minLeft=Math.min(Z.left,Z.left+(Z.width-V.width)),V.minTop=Math.min(Z.top,Z.top+(Z.height-V.height)),V.maxLeft=Z.left,V.maxTop=Z.top,ee===2&&(V.width>=J.width&&(V.minLeft=Math.min(0,Ye),V.maxLeft=Math.max(0,Ye)),V.height>=J.height&&(V.minTop=Math.min(0,Ve),V.maxTop=Math.max(0,Ve))))}else V.minLeft=-V.width,V.minTop=-V.height,V.maxLeft=J.width,V.maxTop=J.height},renderCanvas:function(L,M){var D=this.canvasData,J=this.imageData;if(M){var V=Mie({width:J.naturalWidth*Math.abs(J.scaleX||1),height:J.naturalHeight*Math.abs(J.scaleY||1),degree:J.rotate||0}),Z=V.width,ee=V.height,ae=D.width*(Z/D.naturalWidth),ne=D.height*(ee/D.naturalHeight);D.left-=(ae-D.width)/2,D.top-=(ne-D.height)/2,D.width=ae,D.height=ne,D.aspectRatio=Z/ee,D.naturalWidth=Z,D.naturalHeight=ee,this.limitCanvas(!0,!1)}(D.width>D.maxWidth||D.widthD.maxHeight||D.heightM.width?V.height=V.width/D:V.width=V.height*D),this.cropBoxData=V,this.limitCropBox(!0,!0),V.width=Math.min(Math.max(V.width,V.minWidth),V.maxWidth),V.height=Math.min(Math.max(V.height,V.minHeight),V.maxHeight),V.width=Math.max(V.minWidth,V.width*J),V.height=Math.max(V.minHeight,V.height*J),V.left=M.left+(M.width-V.width)/2,V.top=M.top+(M.height-V.height)/2,V.oldLeft=V.left,V.oldTop=V.top,this.initialCropBoxData=lt({},V)},limitCropBox:function(L,M){var D=this.options,J=this.containerData,V=this.canvasData,Z=this.cropBoxData,ee=this.limited,ae=D.aspectRatio;if(L){var ne=Number(D.minCropBoxWidth)||0,re=Number(D.minCropBoxHeight)||0,te=ee?Math.min(J.width,V.width,V.width+V.left,J.width-V.left):J.width,oe=ee?Math.min(J.height,V.height,V.height+V.top,J.height-V.top):J.height;ne=Math.min(ne,J.width),re=Math.min(re,J.height),ae&&(ne&&re?re*ae>ne?re=ne/ae:ne=re*ae:ne?re=ne/ae:re&&(ne=re*ae),oe*ae>te?oe=te/ae:te=oe*ae),Z.minWidth=Math.min(ne,te),Z.minHeight=Math.min(re,oe),Z.maxWidth=te,Z.maxHeight=oe}M&&(ee?(Z.minLeft=Math.max(0,V.left),Z.minTop=Math.max(0,V.top),Z.maxLeft=Math.min(J.width,V.left+V.width)-Z.width,Z.maxTop=Math.min(J.height,V.top+V.height)-Z.height):(Z.minLeft=0,Z.minTop=0,Z.maxLeft=J.width-Z.width,Z.maxTop=J.height-Z.height))},renderCropBox:function(){var L=this.options,M=this.containerData,D=this.cropBoxData;(D.width>D.maxWidth||D.widthD.maxHeight||D.height=M.width&&D.height>=M.height?I:R),Ei(this.cropBox,lt({width:D.width,height:D.height},Kp({translateX:D.left,translateY:D.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),ri(this.element,F,this.getData())}},Kie={initPreview:function(){var L=this.element,M=this.crossOrigin,D=this.options.preview,J=M?this.crossOriginUrl:this.url,V=L.alt||"The image to preview",Z=document.createElement("img");if(M&&(Z.crossOrigin=M),Z.src=J,Z.alt=V,this.viewBox.appendChild(Z),this.viewBoxImage=Z,!!D){var ee=D;typeof D=="string"?ee=L.ownerDocument.querySelectorAll(D):D.querySelector&&(ee=[D]),this.previews=ee,jt(ee,function(ae){var ne=document.createElement("img");dc(ae,b,{width:ae.offsetWidth,height:ae.offsetHeight,html:ae.innerHTML}),M&&(ne.crossOrigin=M),ne.src=J,ne.alt=V,ne.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',ae.innerHTML="",ae.appendChild(ne)})}},resetPreview:function(){jt(this.previews,function(L){var M=hc(L,b);Ei(L,{width:M.width,height:M.height}),L.innerHTML=M.html,hs(L,b)})},preview:function(){var L=this.imageData,M=this.canvasData,D=this.cropBoxData,J=D.width,V=D.height,Z=L.width,ee=L.height,ae=D.left-M.left-L.left,ne=D.top-M.top-L.top;!this.cropped||this.disabled||(Ei(this.viewBoxImage,lt({width:Z,height:ee},Kp(lt({translateX:-ae,translateY:-ne},L)))),jt(this.previews,function(re){var te=hc(re,b),oe=te.width,Ye=te.height,Ve=oe,mt=Ye,et=1;J&&(et=oe/J,mt=V*et),V&&mt>Ye&&(et=Ye/V,Ve=J*et,mt=Ye),Ei(re,{width:Ve,height:mt}),Ei(re.getElementsByTagName("img")[0],lt({width:Z*et,height:ee*et},Kp(lt({translateX:-ae*et,translateY:-ne*et},L))))}))}},Yie={bind:function(){var L=this.element,M=this.options,D=this.cropper;Sr(M.cropstart)&&Nr(L,Fe,M.cropstart),Sr(M.cropmove)&&Nr(L,Me,M.cropmove),Sr(M.cropend)&&Nr(L,N,M.cropend),Sr(M.crop)&&Nr(L,F,M.crop),Sr(M.zoom)&&Nr(L,ls,M.zoom),Nr(D,Xt,this.onCropStart=this.cropStart.bind(this)),M.zoomable&&M.zoomOnWheel&&Nr(D,Pi,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),M.toggleDragModeOnDblclick&&Nr(D,Ee,this.onDblclick=this.dblclick.bind(this)),Nr(L.ownerDocument,pt,this.onCropMove=this.cropMove.bind(this)),Nr(L.ownerDocument,we,this.onCropEnd=this.cropEnd.bind(this)),M.responsive&&Nr(window,kt,this.onResize=this.resize.bind(this))},unbind:function(){var L=this.element,M=this.options,D=this.cropper;Sr(M.cropstart)&&dr(L,Fe,M.cropstart),Sr(M.cropmove)&&dr(L,Me,M.cropmove),Sr(M.cropend)&&dr(L,N,M.cropend),Sr(M.crop)&&dr(L,F,M.crop),Sr(M.zoom)&&dr(L,ls,M.zoom),dr(D,Xt,this.onCropStart),M.zoomable&&M.zoomOnWheel&&dr(D,Pi,this.onWheel,{passive:!1,capture:!0}),M.toggleDragModeOnDblclick&&dr(D,Ee,this.onDblclick),dr(L.ownerDocument,pt,this.onCropMove),dr(L.ownerDocument,we,this.onCropEnd),M.responsive&&dr(window,kt,this.onResize)}},Xie={resize:function(){if(!this.disabled){var L=this.options,M=this.container,D=this.containerData,J=M.offsetWidth/D.width;if(J!==1||M.offsetHeight!==D.height){var V,Z;L.restore&&(V=this.getCanvasData(),Z=this.getCropBoxData()),this.render(),L.restore&&(this.setCanvasData(jt(V,function(ee,ae){V[ae]=ee*J})),this.setCropBoxData(jt(Z,function(ee,ae){Z[ae]=ee*J})))}}},dblclick:function(){this.disabled||this.options.dragMode===q||this.setDragMode(Hp(this.dragBox,H)?_:S)},wheel:function(L){var M=this,D=Number(this.options.wheelZoomRatio)||.1,J=1;this.disabled||(L.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){M.wheeling=!1},50),L.deltaY?J=L.deltaY>0?1:-1:L.wheelDelta?J=-L.wheelDelta/120:L.detail&&(J=L.detail>0?1:-1),this.zoom(-J*D,L)))},cropStart:function(L){var M=L.buttons,D=L.button;if(!(this.disabled||(L.type==="mousedown"||L.type==="pointerdown"&&L.pointerType==="mouse")&&(Le(M)&&M!==1||Le(D)&&D!==0||L.ctrlKey))){var J=this.options,V=this.pointers,Z;L.changedTouches?jt(L.changedTouches,function(ee){V[ee.identifier]=Gm(ee)}):V[L.pointerId||0]=Gm(L),Object.keys(V).length>1&&J.zoomable&&J.zoomOnTouch?Z=C:Z=hc(L.target,h),cs.test(Z)&&ri(this.element,Fe,{originalEvent:L,action:Z})!==!1&&(L.preventDefault(),this.action=Z,this.cropping=!1,Z===A&&(this.cropping=!0,qt(this.dragBox,p)))}},cropMove:function(L){var M=this.action;if(!(this.disabled||!M)){var D=this.pointers;L.preventDefault(),ri(this.element,Me,{originalEvent:L,action:M})!==!1&&(L.changedTouches?jt(L.changedTouches,function(J){lt(D[J.identifier]||{},Gm(J,!0))}):lt(D[L.pointerId||0]||{},Gm(L,!0)),this.change(L))}},cropEnd:function(L){if(!this.disabled){var M=this.action,D=this.pointers;L.changedTouches?jt(L.changedTouches,function(J){delete D[J.identifier]}):delete D[L.pointerId||0],M&&(L.preventDefault(),Object.keys(D).length||(this.action=""),this.cropping&&(this.cropping=!1,Co(this.dragBox,p,this.cropped&&this.options.modal)),ri(this.element,N,{originalEvent:L,action:M}))}}},Qie={change:function(L){var M=this.options,D=this.canvasData,J=this.containerData,V=this.cropBoxData,Z=this.pointers,ee=this.action,ae=M.aspectRatio,ne=V.left,re=V.top,te=V.width,oe=V.height,Ye=ne+te,Ve=re+oe,mt=0,et=0,Zt=J.width,vr=J.height,Gt=!0,No;!ae&&L.shiftKey&&(ae=te&&oe?te/oe:1),this.limited&&(mt=V.minLeft,et=V.minTop,Zt=mt+Math.min(J.width,D.width,D.left+D.width),vr=et+Math.min(J.height,D.height,D.top+D.height));var Rn=Z[Object.keys(Z)[0]],se={x:Rn.endX-Rn.startX,y:Rn.endY-Rn.startY},tt=function(ni){switch(ni){case k:Ye+se.x>Zt&&(se.x=Zt-Ye);break;case j:ne+se.xvr&&(se.y=vr-Ve);break}};switch(ee){case R:ne+=se.x,re+=se.y;break;case k:if(se.x>=0&&(Ye>=Zt||ae&&(re<=et||Ve>=vr))){Gt=!1;break}tt(k),te+=se.x,te<0&&(ee=j,te=-te,ne-=te),ae&&(oe=te/ae,re+=(V.height-oe)/2);break;case B:if(se.y<=0&&(re<=et||ae&&(ne<=mt||Ye>=Zt))){Gt=!1;break}tt(B),oe-=se.y,re+=se.y,oe<0&&(ee=z,oe=-oe,re-=oe),ae&&(te=oe*ae,ne+=(V.width-te)/2);break;case j:if(se.x<=0&&(ne<=mt||ae&&(re<=et||Ve>=vr))){Gt=!1;break}tt(j),te-=se.x,ne+=se.x,te<0&&(ee=k,te=-te,ne-=te),ae&&(oe=te/ae,re+=(V.height-oe)/2);break;case z:if(se.y>=0&&(Ve>=vr||ae&&(ne<=mt||Ye>=Zt))){Gt=!1;break}tt(z),oe+=se.y,oe<0&&(ee=B,oe=-oe,re-=oe),ae&&(te=oe*ae,ne+=(V.width-te)/2);break;case Y:if(ae){if(se.y<=0&&(re<=et||Ye>=Zt)){Gt=!1;break}tt(B),oe-=se.y,re+=se.y,te=oe*ae}else tt(B),tt(k),se.x>=0?Yeet&&(oe-=se.y,re+=se.y):(oe-=se.y,re+=se.y);te<0&&oe<0?(ee=$,oe=-oe,te=-te,re-=oe,ne-=te):te<0?(ee=Q,te=-te,ne-=te):oe<0&&(ee=X,oe=-oe,re-=oe);break;case Q:if(ae){if(se.y<=0&&(re<=et||ne<=mt)){Gt=!1;break}tt(B),oe-=se.y,re+=se.y,te=oe*ae,ne+=V.width-te}else tt(B),tt(j),se.x<=0?ne>mt?(te-=se.x,ne+=se.x):se.y<=0&&re<=et&&(Gt=!1):(te-=se.x,ne+=se.x),se.y<=0?re>et&&(oe-=se.y,re+=se.y):(oe-=se.y,re+=se.y);te<0&&oe<0?(ee=X,oe=-oe,te=-te,re-=oe,ne-=te):te<0?(ee=Y,te=-te,ne-=te):oe<0&&(ee=$,oe=-oe,re-=oe);break;case $:if(ae){if(se.x<=0&&(ne<=mt||Ve>=vr)){Gt=!1;break}tt(j),te-=se.x,ne+=se.x,oe=te/ae}else tt(z),tt(j),se.x<=0?ne>mt?(te-=se.x,ne+=se.x):se.y>=0&&Ve>=vr&&(Gt=!1):(te-=se.x,ne+=se.x),se.y>=0?Ve=0&&(Ye>=Zt||Ve>=vr)){Gt=!1;break}tt(k),te+=se.x,oe=te/ae}else tt(z),tt(k),se.x>=0?Ye=0&&Ve>=vr&&(Gt=!1):te+=se.x,se.y>=0?Ve0?ee=se.y>0?X:Y:se.x<0&&(ne-=te,ee=se.y>0?$:Q),se.y<0&&(re-=oe),this.cropped||(xn(this.cropBox,s),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}Gt&&(V.width=te,V.height=oe,V.left=ne,V.top=re,this.action=ee,this.renderCropBox()),jt(Z,function(er){er.startX=er.endX,er.startY=er.endY})}},Jie={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&qt(this.dragBox,p),xn(this.cropBox,s),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=lt({},this.initialImageData),this.canvasData=lt({},this.initialCanvasData),this.cropBoxData=lt({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(lt(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),xn(this.dragBox,p),qt(this.cropBox,s)),this},replace:function(L){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!this.disabled&&L&&(this.isImg&&(this.element.src=L),M?(this.url=L,this.image.src=L,this.ready&&(this.viewBoxImage.src=L,jt(this.previews,function(D){D.getElementsByTagName("img")[0].src=L}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(L))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,xn(this.cropper,K)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,qt(this.cropper,K)),this},destroy:function(){var L=this.element;return L[x]?(L[x]=void 0,this.isImg&&this.replaced&&(L.src=this.originalUrl),this.uncreate(),this):this},move:function(L){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:L,D=this.canvasData,J=D.left,V=D.top;return this.moveTo(fc(L)?L:J+Number(L),fc(M)?M:V+Number(M))},moveTo:function(L){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:L,D=this.canvasData,J=!1;return L=Number(L),M=Number(M),this.ready&&!this.disabled&&this.options.movable&&(Le(L)&&(D.left=L,J=!0),Le(M)&&(D.top=M,J=!0),J&&this.renderCanvas(!0)),this},zoom:function(L,M){var D=this.canvasData;return L=Number(L),L<0?L=1/(1-L):L=1+L,this.zoomTo(D.width*L/D.naturalWidth,null,M)},zoomTo:function(L,M,D){var J=this.options,V=this.canvasData,Z=V.width,ee=V.height,ae=V.naturalWidth,ne=V.naturalHeight;if(L=Number(L),L>=0&&this.ready&&!this.disabled&&J.zoomable){var re=ae*L,te=ne*L;if(ri(this.element,ls,{ratio:L,oldRatio:Z/ae,originalEvent:D})===!1)return this;if(D){var oe=this.pointers,Ye=qF(this.cropper),Ve=oe&&Object.keys(oe).length?Die(oe):{pageX:D.pageX,pageY:D.pageY};V.left-=(re-Z)*((Ve.pageX-Ye.left-V.left)/Z),V.top-=(te-ee)*((Ve.pageY-Ye.top-V.top)/ee)}else Lo(M)&&Le(M.x)&&Le(M.y)?(V.left-=(re-Z)*((M.x-V.left)/Z),V.top-=(te-ee)*((M.y-V.top)/ee)):(V.left-=(re-Z)/2,V.top-=(te-ee)/2);V.width=re,V.height=te,this.renderCanvas(!0)}return this},rotate:function(L){return this.rotateTo((this.imageData.rotate||0)+Number(L))},rotateTo:function(L){return L=Number(L),Le(L)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=L%360,this.renderCanvas(!0,!0)),this},scaleX:function(L){var M=this.imageData.scaleY;return this.scale(L,Le(M)?M:1)},scaleY:function(L){var M=this.imageData.scaleX;return this.scale(Le(M)?M:1,L)},scale:function(L){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:L,D=this.imageData,J=!1;return L=Number(L),M=Number(M),this.ready&&!this.disabled&&this.options.scalable&&(Le(L)&&(D.scaleX=L,J=!0),Le(M)&&(D.scaleY=M,J=!0),J&&this.renderCanvas(!0,!0)),this},getData:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,M=this.options,D=this.imageData,J=this.canvasData,V=this.cropBoxData,Z;if(this.ready&&this.cropped){Z={x:V.left-J.left,y:V.top-J.top,width:V.width,height:V.height};var ee=D.width/D.naturalWidth;if(jt(Z,function(re,te){Z[te]=re/ee}),L){var ae=Math.round(Z.y+Z.height),ne=Math.round(Z.x+Z.width);Z.x=Math.round(Z.x),Z.y=Math.round(Z.y),Z.width=ne-Z.x,Z.height=ae-Z.y}}else Z={x:0,y:0,width:0,height:0};return M.rotatable&&(Z.rotate=D.rotate||0),M.scalable&&(Z.scaleX=D.scaleX||1,Z.scaleY=D.scaleY||1),Z},setData:function(L){var M=this.options,D=this.imageData,J=this.canvasData,V={};if(this.ready&&!this.disabled&&Lo(L)){var Z=!1;M.rotatable&&Le(L.rotate)&&L.rotate!==D.rotate&&(D.rotate=L.rotate,Z=!0),M.scalable&&(Le(L.scaleX)&&L.scaleX!==D.scaleX&&(D.scaleX=L.scaleX,Z=!0),Le(L.scaleY)&&L.scaleY!==D.scaleY&&(D.scaleY=L.scaleY,Z=!0)),Z&&this.renderCanvas(!0,!0);var ee=D.width/D.naturalWidth;Le(L.x)&&(V.left=L.x*ee+J.left),Le(L.y)&&(V.top=L.y*ee+J.top),Le(L.width)&&(V.width=L.width*ee),Le(L.height)&&(V.height=L.height*ee),this.setCropBoxData(V)}return this},getContainerData:function(){return this.ready?lt({},this.containerData):{}},getImageData:function(){return this.sized?lt({},this.imageData):{}},getCanvasData:function(){var L=this.canvasData,M={};return this.ready&&jt(["left","top","width","height","naturalWidth","naturalHeight"],function(D){M[D]=L[D]}),M},setCanvasData:function(L){var M=this.canvasData,D=M.aspectRatio;return this.ready&&!this.disabled&&Lo(L)&&(Le(L.left)&&(M.left=L.left),Le(L.top)&&(M.top=L.top),Le(L.width)?(M.width=L.width,M.height=L.width/D):Le(L.height)&&(M.height=L.height,M.width=L.height*D),this.renderCanvas(!0)),this},getCropBoxData:function(){var L=this.cropBoxData,M;return this.ready&&this.cropped&&(M={left:L.left,top:L.top,width:L.width,height:L.height}),M||{}},setCropBoxData:function(L){var M=this.cropBoxData,D=this.options.aspectRatio,J,V;return this.ready&&this.cropped&&!this.disabled&&Lo(L)&&(Le(L.left)&&(M.left=L.left),Le(L.top)&&(M.top=L.top),Le(L.width)&&L.width!==M.width&&(J=!0,M.width=L.width),Le(L.height)&&L.height!==M.height&&(V=!0,M.height=L.height),D&&(J?M.height=M.width/D:V&&(M.width=M.height*D)),this.renderCropBox()),this},getCroppedCanvas:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var M=this.canvasData,D=Uie(this.image,this.imageData,M,L);if(!this.cropped)return D;var J=this.getData(),V=J.x,Z=J.y,ee=J.width,ae=J.height,ne=D.width/Math.floor(M.naturalWidth);ne!==1&&(V*=ne,Z*=ne,ee*=ne,ae*=ne);var re=ee/ae,te=Ma({aspectRatio:re,width:L.maxWidth||1/0,height:L.maxHeight||1/0}),oe=Ma({aspectRatio:re,width:L.minWidth||0,height:L.minHeight||0},"cover"),Ye=Ma({aspectRatio:re,width:L.width||(ne!==1?D.width:ee),height:L.height||(ne!==1?D.height:ae)}),Ve=Ye.width,mt=Ye.height;Ve=Math.min(te.width,Math.max(oe.width,Ve)),mt=Math.min(te.height,Math.max(oe.height,mt));var et=document.createElement("canvas"),Zt=et.getContext("2d");et.width=to(Ve),et.height=to(mt),Zt.fillStyle=L.fillColor||"transparent",Zt.fillRect(0,0,Ve,mt);var vr=L.imageSmoothingEnabled,Gt=vr===void 0?!0:vr,No=L.imageSmoothingQuality;Zt.imageSmoothingEnabled=Gt,No&&(Zt.imageSmoothingQuality=No);var Rn=D.width,se=D.height,tt=V,er=Z,ni,Do,ds,vs,Ua,ro;tt<=-ee||tt>Rn?(tt=0,ni=0,ds=0,Ua=0):tt<=0?(ds=-tt,tt=0,ni=Math.min(Rn,ee+tt),Ua=ni):tt<=Rn&&(ds=0,ni=Math.min(ee,Rn-tt),Ua=ni),ni<=0||er<=-ae||er>se?(er=0,Do=0,vs=0,ro=0):er<=0?(vs=-er,er=0,Do=Math.min(se,ae+er),ro=Do):er<=se&&(vs=0,Do=Math.min(ae,se-er),ro=Do);var pn=[tt,er,ni,Do];if(Ua>0&&ro>0){var ys=Ve/ee;pn.push(ds*ys,vs*ys,Ua*ys,ro*ys)}return Zt.drawImage.apply(Zt,[D].concat(c(pn.map(function($m){return Math.floor(to($m))})))),et},setAspectRatio:function(L){var M=this.options;return!this.disabled&&!fc(L)&&(M.aspectRatio=Math.max(0,L)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(L){var M=this.options,D=this.dragBox,J=this.face;if(this.ready&&!this.disabled){var V=L===S,Z=M.movable&&L===_;L=V||Z?L:q,M.dragMode=L,dc(D,h,L),Co(D,H,V),Co(D,v,Z),M.cropBoxMovable||(dc(J,h,L),Co(J,H,V),Co(J,v,Z))}return this}},Zie=P.Cropper,NF=function(){function W(L){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(e(this,W),!L||!Da.test(L.tagName))throw new Error("The first argument is required and must be an or element.");this.element=L,this.options=lt({},Jt,Lo(M)&&M),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return n(W,[{key:"init",value:function(){var M=this.element,D=M.tagName.toLowerCase(),J;if(!M[x]){if(M[x]=this,D==="img"){if(this.isImg=!0,J=M.getAttribute("src")||"",this.originalUrl=J,!J)return;J=M.src}else D==="canvas"&&window.HTMLCanvasElement&&(J=M.toDataURL());this.load(J)}}},{key:"load",value:function(M){var D=this;if(M){this.url=M,this.imageData={};var J=this.element,V=this.options;if(!V.rotatable&&!V.scalable&&(V.checkOrientation=!1),!V.checkOrientation||!window.ArrayBuffer){this.clone();return}if(fs.test(M)){ps.test(M)?this.read($ie(M)):this.clone();return}var Z=new XMLHttpRequest,ee=this.clone.bind(this);this.reloading=!0,this.xhr=Z,Z.onabort=ee,Z.onerror=ee,Z.ontimeout=ee,Z.onprogress=function(){Z.getResponseHeader("content-type")!==Na&&Z.abort()},Z.onload=function(){D.read(Z.response)},Z.onloadend=function(){D.reloading=!1,D.xhr=null},V.checkCrossOrigin&&FF(M)&&J.crossOrigin&&(M=LF(M)),Z.open("GET",M),Z.responseType="arraybuffer",Z.withCredentials=J.crossOrigin==="use-credentials",Z.send()}}},{key:"read",value:function(M){var D=this.options,J=this.imageData,V=Hie(M),Z=0,ee=1,ae=1;if(V>1){this.url=zie(M,Na);var ne=Wie(V);Z=ne.rotate,ee=ne.scaleX,ae=ne.scaleY}D.rotatable&&(J.rotate=Z),D.scalable&&(J.scaleX=ee,J.scaleY=ae),this.clone()}},{key:"clone",value:function(){var M=this.element,D=this.url,J=M.crossOrigin,V=D;this.options.checkCrossOrigin&&FF(D)&&(J||(J="anonymous"),V=LF(D)),this.crossOrigin=J,this.crossOriginUrl=V;var Z=document.createElement("img");J&&(Z.crossOrigin=J),Z.src=V||D,Z.alt=M.alt||"The image to crop",this.image=Z,Z.onload=this.start.bind(this),Z.onerror=this.stop.bind(this),qt(Z,o),M.parentNode.insertBefore(Z,M.nextSibling)}},{key:"start",value:function(){var M=this,D=this.image;D.onload=null,D.onerror=null,this.sizing=!0;var J=P.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(P.navigator.userAgent),V=function(ne,re){lt(M.imageData,{naturalWidth:ne,naturalHeight:re,aspectRatio:ne/re}),M.sizing=!1,M.sized=!0,M.build()};if(D.naturalWidth&&!J){V(D.naturalWidth,D.naturalHeight);return}var Z=document.createElement("img"),ee=document.body||document.documentElement;this.sizingImage=Z,Z.onload=function(){V(Z.width,Z.height),J||ee.removeChild(Z)},Z.src=D.src,J||(Z.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",ee.appendChild(Z))}},{key:"stop",value:function(){var M=this.image;M.onload=null,M.onerror=null,M.parentNode.removeChild(M),this.image=null}},{key:"build",value:function(){if(!(!this.sized||this.ready)){var M=this.element,D=this.options,J=this.image,V=M.parentNode,Z=document.createElement("div");Z.innerHTML=hr;var ee=Z.querySelector(".".concat(x,"-container")),ae=ee.querySelector(".".concat(x,"-canvas")),ne=ee.querySelector(".".concat(x,"-drag-box")),re=ee.querySelector(".".concat(x,"-crop-box")),te=re.querySelector(".".concat(x,"-face"));this.container=V,this.cropper=ee,this.canvas=ae,this.dragBox=ne,this.cropBox=re,this.viewBox=ee.querySelector(".".concat(x,"-view-box")),this.face=te,ae.appendChild(J),qt(M,s),V.insertBefore(ee,M.nextSibling),this.isImg||xn(J,o),this.initPreview(),this.bind(),D.initialAspectRatio=Math.max(0,D.initialAspectRatio)||NaN,D.aspectRatio=Math.max(0,D.aspectRatio)||NaN,D.viewMode=Math.max(0,Math.min(3,Math.round(D.viewMode)))||0,qt(re,s),D.guides||qt(re.getElementsByClassName("".concat(x,"-dashed")),s),D.center||qt(re.getElementsByClassName("".concat(x,"-center")),s),D.background&&qt(ee,"".concat(x,"-bg")),D.highlight||qt(te,u),D.cropBoxMovable&&(qt(te,v),dc(te,h,R)),D.cropBoxResizable||(qt(re.getElementsByClassName("".concat(x,"-line")),s),qt(re.getElementsByClassName("".concat(x,"-point")),s)),this.render(),this.ready=!0,this.setDragMode(D.dragMode),D.autoCrop&&this.crop(),this.setData(D.data),Sr(D.ready)&&Nr(M,Qt,D.ready,{once:!0}),ri(M,Qt)}}},{key:"unbuild",value:function(){this.ready&&(this.ready=!1,this.unbind(),this.resetPreview(),this.cropper.parentNode.removeChild(this.cropper),xn(this.element,s))}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=Zie,W}},{key:"setDefaults",value:function(M){lt(Jt,Lo(M)&&M)}}]),W}();return lt(NF.prototype,Vie,Kie,Yie,Xie,Qie,Jie),NF})});var mee=U(function(ITt,KO){"use strict";KO.exports=nq;KO.exports.isMobile=nq;KO.exports.default=nq;var Bit=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,Git=/CrOS/,$it=/android|ipad|playbook|silk/i;function nq(t){t||(t={});var e=t.ua;if(!e&&typeof navigator!="undefined"&&(e=navigator.userAgent),e&&e.headers&&typeof e.headers["user-agent"]=="string"&&(e=e.headers["user-agent"]),typeof e!="string")return!1;var r=Bit.test(e)&&!Git.test(e)||!!t.tablet&&$it.test(e);return!r&&t.tablet&&t.featureDetect&&navigator&&navigator.maxTouchPoints>1&&e.indexOf("Macintosh")!==-1&&e.indexOf("Safari")!==-1&&(r=!0),r}});var Kte=U(function(dxt,Vte){"use strict";Vte.exports=function(e,r){if(r=r.split(":")[0],e=+e,!e)return!1;switch(r){case"http":case"ws":return e!==80;case"https":case"wss":return e!==443;case"ftp":return e!==21;case"gopher":return e!==70;case"file":return!1}return e!==0}});var Qte=U(function(Zq){"use strict";var kut=Object.prototype.hasOwnProperty,jut;function Yte(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(e){return null}}function Xte(t){try{return encodeURIComponent(t)}catch(e){return null}}function qut(t){for(var e=/([^=?#&]+)=?([^&]*)/g,r={},n;n=e.exec(t);){var i=Yte(n[1]),a=Yte(n[2]);i===null||a===null||i in r||(r[i]=a)}return r}function Fut(t,e){e=e||"";var r=[],n,i;typeof e!="string"&&(e="?");for(i in t)if(kut.call(t,i)){if(n=t[i],!n&&(n===null||n===jut||isNaN(n))&&(n=""),i=Xte(i),n=Xte(n),i===null||n===null)continue;r.push(i+"="+n)}return r.length?e+r.join("&"):""}Zq.stringify=Fut;Zq.parse=qut});var ore=U(function(yxt,ire){"use strict";function em(t){"@babel/helpers - typeof";return em=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},em(t)}var Zte=Kte(),lS=Qte(),Lut=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,ere=/[\n\r\t]/g,Cut=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,tre=/:\d+$/,Nut=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,Dut=/^[a-zA-Z]:/;function t2(t){return(t||"").toString().replace(Lut,"")}var e2=[["#","hash"],["?","query"],function(e,r){return ko(r.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],Jte={hash:1,query:1};function rre(t){var e;typeof window!="undefined"?e=window:typeof global!="undefined"?e=global:typeof self!="undefined"?e=self:e={};var r=e.location||{};t=t||r;var n={},i=em(t),a;if(t.protocol==="blob:")n=new jo(unescape(t.pathname),{});else if(i==="string"){n=new jo(t,{});for(a in Jte)delete n[a]}else if(i==="object"){for(a in t)a in Jte||(n[a]=t[a]);n.slashes===void 0&&(n.slashes=Cut.test(t.href))}return n}function ko(t){return t==="file:"||t==="ftp:"||t==="http:"||t==="https:"||t==="ws:"||t==="wss:"}function nre(t,e){t=t2(t),t=t.replace(ere,""),e=e||{};var r=Nut.exec(t),n=r[1]?r[1].toLowerCase():"",i=!!r[2],a=!!r[3],l=0,c;return i?a?(c=r[2]+r[3]+r[4],l=r[2].length+r[3].length):(c=r[2]+r[4],l=r[2].length):a?(c=r[3]+r[4],l=r[3].length):c=r[4],n==="file:"?l>=2&&(c=c.slice(2)):ko(n)?c=r[4]:n?i&&(c=c.slice(2)):l>=2&&ko(e.protocol)&&(c=r[4]),{protocol:n,slashes:i||ko(n),slashesCount:l,rest:c}}function Mut(t,e){if(t==="")return e;for(var r=(e||"/").split("/").slice(0,-1).concat(t.split("/")),n=r.length,i=r[n-1],a=!1,l=0;n--;)r[n]==="."?r.splice(n,1):r[n]===".."?(r.splice(n,1),l++):l&&(n===0&&(a=!0),r.splice(n,1),l--);return a&&r.unshift(""),(i==="."||i==="..")&&r.push(""),r.join("/")}function jo(t,e,r){if(t=t2(t),t=t.replace(ere,""),!(this instanceof jo))return new jo(t,e,r);var n,i,a,l,c,f,d=e2.slice(),y=em(e),m=this,g=0;for(y!=="object"&&y!=="string"&&(r=e,e=null),r&&typeof r!="function"&&(r=lS.parse),e=rre(e),i=nre(t||"",e),n=!i.protocol&&!i.slashes,m.slashes=i.slashes||n&&e.slashes,m.protocol=i.protocol||e.protocol||"",t=i.rest,(i.protocol==="file:"&&(i.slashesCount!==2||Dut.test(t))||!i.slashes&&(i.protocol||i.slashesCount<2||!ko(m.protocol)))&&(d[3]=[/(.*)/,"pathname"]);g0&&S<1/0},O=Array.prototype.slice;function x(b){return Array.from?Array.from(b):O.call(b)}var R=/^image\/.+$/;function A(b){return R.test(b)}function I(b){var S=A(b)?b.substr(6):"";return S==="jpeg"&&(S="jpg"),".".concat(S)}var C=String.fromCharCode;function k(b,S,_){var q="",F;for(_+=S,F=S;F<_;F+=1)q+=C(b.getUint8(F));return q}var j=P.btoa;function z(b,S){for(var _=[],q=8192,F=new Uint8Array(b);F.length>0;)_.push(C.apply(null,x(F.subarray(0,q)))),F=F.subarray(q);return"data:".concat(S,";base64,").concat(j(_.join("")))}function B(b){var S=new DataView(b),_;try{var q,F,N;if(S.getUint8(0)===255&&S.getUint8(1)===216)for(var Me=S.byteLength,Fe=2;Fe+1=8&&(N=Re+st)}}}if(N){var Xt=S.getUint16(N,q),pt,we;for(we=0;we1&&arguments[1]!==void 0?arguments[1]:1e11;return Q.test(b)?Math.round(b*S)/S:b}function $(b){var S=b.aspectRatio,_=b.height,q=b.width,F=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none",N=E(q),Me=E(_);if(N&&Me){var Fe=_*S;(F==="contain"||F==="none")&&Fe>q||F==="cover"&&Fe1&&l(pt,Y(we))),Ee&&(_.exif=H(Xt)),Fe||Ee?!u||we>1?pt.url=z(Xt,N):pt.url=u.createObjectURL(q):pt.url=Xt,_.load(pt)},Re.onabort=function(){_.fail(new Error("Aborted to read the image with FileReader."))},Re.onerror=function(){_.fail(new Error("Failed to read the image with FileReader."))},Re.onloadend=function(){_.reader=null},Fe||Ee?Re.readAsArrayBuffer(q):Re.readAsDataURL(q)}}},{key:"load",value:function(_){var q=this,F=this.file,N=this.image;N.onload=function(){q.draw(e(e({},_),{},{naturalWidth:N.naturalWidth,naturalHeight:N.naturalHeight}))},N.onabort=function(){q.fail(new Error("Aborted to load the image."))},N.onerror=function(){q.fail(new Error("Failed to load the image."))},P.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(P.navigator.userAgent)&&(N.crossOrigin="anonymous"),N.alt=F.name,N.src=_.url}},{key:"draw",value:function(_){var q=this,F=_.naturalWidth,N=_.naturalHeight,Me=_.rotate,Fe=Me===void 0?0:Me,Ee=_.scaleX,Re=Ee===void 0?1:Ee,Qe=_.scaleY,st=Qe===void 0?1:Qe,Xt=this.file,pt=this.image,we=this.options,Qt=document.createElement("canvas"),kt=Qt.getContext("2d"),Pi=Math.abs(Fe)%180===90,ls=(we.resize==="contain"||we.resize==="cover")&&E(we.width)&&E(we.height),Na=Math.max(we.maxWidth,0)||1/0,cs=Math.max(we.maxHeight,0)||1/0,fs=Math.max(we.minWidth,0)||0,ps=Math.max(we.minHeight,0)||0,Da=F/N,Jt=we.width,hr=we.height;if(Pi){var Cm=[cs,Na];Na=Cm[0],cs=Cm[1];var Le=[ps,fs];fs=Le[0],ps=Le[1];var zp=[hr,Jt];Jt=zp[0],hr=zp[1]}ls&&(Da=Jt/hr);var fc=$({aspectRatio:Da,width:Na,height:cs},"contain");Na=fc.width,cs=fc.height;var eo=$({aspectRatio:Da,width:fs,height:ps},"cover");if(fs=eo.width,ps=eo.height,ls){var Nm=$({aspectRatio:Da,width:Jt,height:hr},we.resize);Jt=Nm.width,hr=Nm.height}else{var Lo=$({aspectRatio:Da,width:Jt,height:hr}),Sr=Lo.width;Jt=Sr===void 0?F:Sr;var Dm=Lo.height;hr=Dm===void 0?N:Dm}Jt=Math.floor(X(Math.min(Math.max(Jt,fs),Na))),hr=Math.floor(X(Math.min(Math.max(hr,ps),cs)));var Mm=-Jt/2,jt=-hr/2,lt=Jt,qS=hr,to=[];if(ls){var Um=0,Ei=0,Hp=F,qt=N,xn=$({aspectRatio:Da,width:F,height:N},{contain:"cover",cover:"contain"}[we.resize]);Hp=xn.width,qt=xn.height,Um=(F-Hp)/2,Ei=(N-qt)/2,to.push(Um,Ei,Hp,qt)}if(to.push(Mm,jt,lt,qS),Pi){var Co=[hr,Jt];Jt=Co[0],hr=Co[1]}Qt.width=Jt,Qt.height=hr,A(we.mimeType)||(we.mimeType=Xt.type);var Bm="transparent";Xt.size>we.convertSize&&we.convertTypes.indexOf(we.mimeType)>=0&&(we.mimeType="image/jpeg");var pc=we.mimeType==="image/jpeg";if(pc&&(Bm="#fff"),kt.fillStyle=Bm,kt.fillRect(0,0,Jt,hr),we.beforeDraw&&we.beforeDraw.call(this,kt,Qt),!this.aborted&&(kt.save(),kt.translate(Jt/2,hr/2),kt.rotate(Fe*Math.PI/180),kt.scale(Re,st),kt.drawImage.apply(kt,[pt].concat(to)),kt.restore(),we.drew&&we.drew.call(this,kt,Qt),!this.aborted)){var hc=function(hs){if(!q.aborted){var Wp=function(ri){return q.done({naturalWidth:F,naturalHeight:N,result:ri})};if(hs&&pc&&we.retainExif&&q.exif&&q.exif.length>0){var Vp=function(ri){return Wp(y(z(K(ri,q.exif),we.mimeType)))};if(hs.arrayBuffer)hs.arrayBuffer().then(Vp).catch(function(){q.fail(new Error("Failed to read the compressed image with Blob.arrayBuffer()."))});else{var dr=new o;q.reader=dr,dr.onload=function(Nr){var ri=Nr.target;Vp(ri.result)},dr.onabort=function(){q.fail(new Error("Aborted to read the compressed image with FileReader."))},dr.onerror=function(){q.fail(new Error("Failed to read the compressed image with FileReader."))},dr.onloadend=function(){q.reader=null},dr.readAsArrayBuffer(hs)}}else Wp(hs)}};Qt.toBlob?Qt.toBlob(hc,we.mimeType,we.quality):hc(y(Qt.toDataURL(we.mimeType,we.quality)))}}},{key:"done",value:function(_){var q=_.naturalWidth,F=_.naturalHeight,N=_.result,Me=this.file,Fe=this.image,Ee=this.options;if(u&&Fe.src.indexOf("blob:")===0&&u.revokeObjectURL(Fe.src),N)if(Ee.strict&&!Ee.retainExif&&N.size>Me.size&&Ee.mimeType===Me.type&&!(Ee.width>q||Ee.height>F||Ee.minWidth>q||Ee.minHeight>F||Ee.maxWidth=0?i:n+i;return a<0||a>=n?void 0:r[a]}});wpe("at");var Ape=G(),xpe=le(),Rpe=_s(),Ipe=Ne(),kpe=$e(),jpe=ze(),ZD=Is(),eM=io(),qpe=Ps(),Fpe=Tc(),Lpe=_e(),Cpe=Ba(),tM=Lpe("isConcatSpreadable"),Npe=Cpe>=51||!xpe(function(){var t=[];return t[tM]=!1,t.concat()[0]!==t}),Dpe=Fpe("concat"),Mpe=function(e){if(!Ipe(e))return!1;var r=e[tM];return r!==void 0?!!r:Rpe(e)},Upe=!Npe||!Dpe;Ape({target:"Array",proto:!0,arity:1,forced:Upe},{concat:function(e){var r=kpe(this),n=qpe(r,0),i=0,a,l,c,f,d;for(a=-1,c=arguments.length;a1?arguments[1]:void 0)}});var ihe=G(),ohe=Wt().find,ahe=wt(),a_="find",uM=!0;a_ in[]&&Array(1)[a_](function(){uM=!1});ihe({target:"Array",proto:!0,forced:uM},{find:function(e){return ohe(this,e,arguments.length>1?arguments[1]:void 0)}});ahe(a_);var uhe=G(),she=Wt().findIndex,lhe=wt(),u_="findIndex",sM=!0;u_ in[]&&Array(1)[u_](function(){sM=!1});uhe({target:"Array",proto:!0,forced:sM},{findIndex:function(e){return she(this,e,arguments.length>1?arguments[1]:void 0)}});lhe(u_);var dhe=G(),vhe=hh().findLast,yhe=wt();dhe({target:"Array",proto:!0},{findLast:function(e){return vhe(this,e,arguments.length>1?arguments[1]:void 0)}});yhe("findLast");var mhe=G(),ghe=hh().findLastIndex,bhe=wt();mhe({target:"Array",proto:!0},{findLastIndex:function(e){return ghe(this,e,arguments.length>1?arguments[1]:void 0)}});bhe("findLastIndex");var Ehe=G(),The=s_(),Ahe=$e(),xhe=ze(),Rhe=Pt(),Ihe=Ps();Ehe({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,r=Ahe(this),n=xhe(r),i=Ihe(r,0);return i.length=The(i,r,r,n,0,e===void 0?1:Rhe(e)),i}});var khe=G(),jhe=s_(),qhe=ge(),Fhe=$e(),Lhe=ze(),Che=Ps();khe({target:"Array",proto:!0},{flatMap:function(e){var r=Fhe(this),n=Lhe(r),i;return qhe(e),i=Che(r,0),i.length=jhe(i,r,r,n,0,1,e,arguments.length>1?arguments[1]:void 0),i}});var Yhe=G(),Xhe=l_(),Qhe=dh(),Jhe=!Qhe(function(t){Array.from(t)});Yhe({target:"Array",stat:!0,forced:Jhe},{from:Xhe});var Zhe=G(),ede=eh().includes,tde=le(),rde=wt(),nde=tde(function(){return!Array(1).includes()});Zhe({target:"Array",proto:!0,forced:nde},{includes:function(e){return ede(this,e,arguments.length>1?arguments[1]:void 0)}});rde("includes");var Tkt=Ce(mh(),1);var Fde=G(),Lde=ce(),Cde=Mo(),Nde=zt(),Dde=ks(),Mde=Lde([].join),Ude=Cde!=Object,Bde=Dde("join",",");Fde({target:"Array",proto:!0,forced:Ude||!Bde},{join:function(e){return Mde(Nde(this),e===void 0?",":e)}});var Gde=G(),$de=Wt().map,zde=Tc(),Hde=zde("map");Gde({target:"Array",proto:!0,forced:!Hde},{map:function(e){return $de(this,e,arguments.length>1?arguments[1]:void 0)}});var Wde=G(),Vde=le(),Kde=Ri(),Yde=io(),UM=Array,Xde=Vde(function(){function t(){}return!(UM.of.call(t)instanceof t)});Wde({target:"Array",stat:!0,forced:Xde},{of:function(){for(var e=0,r=arguments.length,n=new(Kde(this)?this:UM)(r);r>e;)Yde(n,e,arguments[e++]);return n.length=r,n}});var Qde=G(),Jde=$e(),Zde=ze(),eve=Is(),tve=le(),rve=tve(function(){return[].push.call({length:4294967296},1)!==4294967297}),nve=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();Qde({target:"Array",proto:!0,arity:1,forced:rve||nve},{push:function(e){var r=Jde(this),n=Zde(r),i=arguments.length;eve(n+i);for(var a=0;a3)){if(Ive)return!0;if(ZM)return ZM<603;var t="",e,r,n,i;for(e=65;e<76;e++){switch(r=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(i=0;i<47;i++)Qa.push({k:r+i,v:n})}for(Qa.sort(function(a,l){return l.v-a.v}),i=0;iXM(n)?1:-1}};_ve({target:"Array",proto:!0,forced:Lve},{sort:function(e){e!==void 0&&Pve(e);var r=Eve(this);if(r5)return e===void 0?e5(r):e5(r,e);var n=[],i=Tve(r),a,l;for(l=0;li-f+c;y--)w_(n,y-1)}else if(c>f)for(y=i-f;y>a;y--)m=y+f-1,g=y+c-1,m in n?n[g]=n[m]:w_(n,g);for(y=0;y9490626562425156e-8?Wme(r)+Vme:Hme(r-1+r3(r-1)*r3(r+1))}});var Yme=G(),n3=Math.asinh,Xme=Math.log,Qme=Math.sqrt;function i3(t){var e=+t;return!isFinite(e)||e==0?e:e<0?-i3(-e):Xme(e+Qme(e*e+1))}Yme({target:"Math",stat:!0,forced:!(n3&&1/n3(0)>0)},{asinh:i3});var Jme=G(),o3=Math.atanh,Zme=Math.log;Jme({target:"Math",stat:!0,forced:!(o3&&1/o3(-0)<0)},{atanh:function(e){var r=+e;return r==0?r:Zme((1+r)/(1-r))/2}});var ege=G(),tge=zg(),rge=Math.abs,nge=Math.pow;ege({target:"Math",stat:!0},{cbrt:function(e){var r=+e;return tge(r)*nge(rge(r),1/3)}});var ige=G(),oge=Math.floor,age=Math.log,uge=Math.LOG2E;ige({target:"Math",stat:!0},{clz32:function(e){var r=e>>>0;return r?31-oge(age(r+.5)*uge):32}});var lge=G(),cge=_h(),s3=Math.cosh,fge=Math.abs,$_=Math.E;lge({target:"Math",stat:!0,forced:!s3||s3(710)===1/0},{cosh:function(e){var r=cge(fge(e)-1)+1;return(r+1/(r*$_*$_))*($_/2)}});var pge=G(),l3=_h();pge({target:"Math",stat:!0,forced:l3!=Math.expm1},{expm1:l3});var mge=G(),gge=W_();mge({target:"Math",stat:!0},{fround:gge});var bge=G(),f3=Math.hypot,wge=Math.abs,Oge=Math.sqrt,Sge=!!f3&&f3(1/0,NaN)!==1/0;bge({target:"Math",stat:!0,arity:2,forced:Sge},{hypot:function(e,r){for(var n=0,i=0,a=arguments.length,l=0,c,f;i0?(f=c/l,n+=f*f):n+=c;return l===1/0?1/0:l*Oge(n)}});var _ge=G(),Pge=le(),p3=Math.imul,Ege=Pge(function(){return p3(4294967295,5)!=-5||p3.length!=2});_ge({target:"Math",stat:!0,forced:Ege},{imul:function(e,r){var n=65535,i=+e,a=+r,l=n&i,c=n&a;return 0|l*c+((n&i>>>16)*c+l*(n&a>>>16)<<16>>>0)}});var xge=G(),Rge=V_();xge({target:"Math",stat:!0},{log10:Rge});var Ige=G(),kge=B_();Ige({target:"Math",stat:!0},{log1p:kge});var jge=G(),qge=Math.log,Fge=Math.LN2;jge({target:"Math",stat:!0},{log2:function(e){return qge(e)/Fge}});var Lge=G(),Cge=zg();Lge({target:"Math",stat:!0},{sign:Cge});var Nge=G(),Dge=le(),d3=_h(),Mge=Math.abs,v3=Math.exp,Uge=Math.E,Bge=Dge(function(){return Math.sinh(-2e-17)!=-2e-17});Nge({target:"Math",stat:!0,forced:Bge},{sinh:function(e){var r=+e;return Mge(r)<1?(d3(r)-d3(-r))/2:(v3(r-1)-v3(-r-1))*(Uge/2)}});var Gge=G(),y3=_h(),m3=Math.exp;Gge({target:"Math",stat:!0},{tanh:function(e){var r=+e,n=y3(r),i=y3(-r);return n==1/0?1:i==1/0?-1:(n-i)/(m3(r)+m3(-r))}});var $ge=dn();$ge(Math,"Math",!0);var zge=G(),Hge=h1();zge({target:"Math",stat:!0},{trunc:Hge});var Zge=xe(),J_=be(),_3=ce(),ebe=wc(),tbe=bt(),S3=Ue(),rbe=As(),nbe=Wr(),ibe=Ga(),P3=Ym(),obe=le(),abe=Bo().f,ube=_r().f,sbe=it().f,lbe=Vg(),cbe=qs().trim,Q_="Number",ru=J_[Q_],Y_=ru.prototype,fbe=J_.TypeError,pbe=_3("".slice),Yg=_3("".charCodeAt),hbe=function(e){var r=P3(e,"number");return typeof r=="bigint"?r:dbe(r)},dbe=function(e){var r=P3(e,"number"),n,i,a,l,c,f,d,y;if(ibe(r))throw fbe("Cannot convert a Symbol value to a number");if(typeof r=="string"&&r.length>2){if(r=cbe(r),n=Yg(r,0),n===43||n===45){if(i=Yg(r,2),i===88||i===120)return NaN}else if(n===48){switch(Yg(r,1)){case 66:case 98:a=2,l=49;break;case 79:case 111:a=8,l=55;break;default:return+r}for(c=pbe(r,2),f=c.length,d=0;dl)return NaN;return parseInt(c,a)}}return+r};if(ebe(Q_,!ru(" 0o1")||!ru("0b1")||ru("+0x1"))){for(Fs=function(e){var r=arguments.length<1?0:ru(hbe(e)),n=this;return nbe(Y_,n)&&obe(function(){lbe(n)})?rbe(Object(r),n,Fs):r},X_=Zge?abe(ru):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Xg=0;X_.length>Xg;Xg++)S3(ru,Eh=X_[Xg])&&!S3(Fs,Eh)&&sbe(Fs,Eh,ube(ru,Eh));Fs.prototype=Y_,Y_.constructor=Fs,tbe(J_,Q_,Fs,{constructor:!0})}var Fs,X_,Xg,Eh;var vbe=G();vbe({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)});var gbe=G(),bbe=Z_();gbe({target:"Number",stat:!0},{isFinite:bbe});var Sbe=G(),_be=Qg();Sbe({target:"Number",stat:!0},{isInteger:_be});var Pbe=G();Pbe({target:"Number",stat:!0},{isNaN:function(e){return e!=e}});var Ebe=G(),Tbe=Qg(),Abe=Math.abs;Ebe({target:"Number",stat:!0},{isSafeInteger:function(e){return Tbe(e)&&Abe(e)<=9007199254740991}});var xbe=G();xbe({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991});var Rbe=G();Rbe({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991});var Nbe=G(),j3=k3();Nbe({target:"Number",stat:!0,forced:Number.parseFloat!=j3},{parseFloat:j3});var zbe=G(),M3=eP();zbe({target:"Number",stat:!0,forced:Number.parseInt!=M3},{parseInt:M3});var Ybe=G(),tP=ce(),Xbe=Pt(),Qbe=Vg(),Jbe=Ah(),Zbe=V_(),Zg=le(),ewe=RangeError,B3=String,twe=isFinite,rwe=Math.abs,nwe=Math.floor,G3=Math.pow,iwe=Math.round,co=tP(1 .toExponential),owe=tP(Jbe),$3=tP("".slice),z3=co(-69e-12,4)==="-6.9000e-11"&&co(1.255,2)==="1.25e+0"&&co(12345,3)==="1.235e+4"&&co(25,0)==="3e+1",awe=Zg(function(){co(1,1/0)})&&Zg(function(){co(1,-1/0)}),uwe=!Zg(function(){co(1/0,1/0)})&&!Zg(function(){co(NaN,1/0)}),swe=!z3||!awe||!uwe;Ybe({target:"Number",proto:!0,forced:swe},{toExponential:function(e){var r=Qbe(this);if(e===void 0)return co(r);var n=Xbe(e);if(!twe(r))return String(r);if(n<0||n>20)throw ewe("Incorrect fraction digits");if(z3)return co(r,n);var i="",a="",l=0,c="",f="";if(r<0&&(i="-",r=-r),r===0)l=0,a=owe("0",n+1);else{var d=Zbe(r);l=nwe(d);var y=0,m=G3(10,l-n);y=iwe(r/m),2*r>=(2*y+1)*m&&(y+=1),y>=G3(10,n+1)&&(y/=10,l+=1),a=B3(y)}return n!==0&&(a=$3(a,0,1)+"."+$3(a,1)),l===0?(c="+",f="0"):(c=l>0?"+":"-",f=B3(rwe(l))),a+="e"+c+f,i+a}});var lwe=G(),iP=ce(),cwe=Pt(),fwe=Vg(),pwe=Ah(),H3=le(),hwe=RangeError,K3=String,Y3=Math.floor,nP=iP(pwe),W3=iP("".slice),xh=iP(1 .toFixed),eb=function t(e,r,n){return r===0?n:r%2===1?t(e,r-1,n*e):t(e*e,r/2,n)},dwe=function(e){for(var r=0,n=e;n>=4096;)r+=12,n/=4096;for(;n>=2;)r+=1,n/=2;return r},jc=function(e,r,n){for(var i=-1,a=n;++i<6;)a+=r*e[i],e[i]=a%1e7,a=Y3(a/1e7)},rP=function(e,r){for(var n=6,i=0;--n>=0;)i+=e[n],e[n]=Y3(i/r),i=i%r*1e7},V3=function(e){for(var r=6,n="";--r>=0;)if(n!==""||r===0||e[r]!==0){var i=K3(e[r]);n=n===""?i:n+nP("0",7-i.length)+i}return n},vwe=H3(function(){return xh(8e-5,3)!=="0.000"||xh(.9,0)!=="1"||xh(1.255,2)!=="1.25"||xh(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!H3(function(){xh({})});lwe({target:"Number",proto:!0,forced:vwe},{toFixed:function(e){var r=fwe(this),n=cwe(e),i=[0,0,0,0,0,0],a="",l="0",c,f,d,y;if(n<0||n>20)throw hwe("Incorrect fraction digits");if(r!=r)return"NaN";if(r<=-1e21||r>=1e21)return K3(r);if(r<0&&(a="-",r=-r),r>1e-21)if(c=dwe(r*eb(2,69,1))-69,f=c<0?r*eb(2,-c,1):r/eb(2,c,1),f*=4503599627370496,c=52-c,c>0){for(jc(i,0,f),d=n;d>=7;)jc(i,1e7,0),d-=7;for(jc(i,eb(10,d,1),0),d=c-1;d>=23;)rP(i,1<<23),d-=23;rP(i,1<0?(y=l.length,l=a+(y<=n?"0."+nP("0",n-y)+l:W3(l,0,y-n)+"."+W3(l,y-n))):l=a+l,l}});var Pwe=G(),Z3=aP();Pwe({target:"Object",stat:!0,arity:2,forced:Object.assign!==Z3},{assign:Z3});var xwe=G(),Rwe=xe(),Iwe=Rh(),kwe=ge(),jwe=$e(),qwe=it();Rwe&&xwe({target:"Object",proto:!0,forced:Iwe},{__defineGetter__:function(e,r){qwe.f(jwe(this),e,{get:kwe(r),enumerable:!0,configurable:!0})}});var Fwe=G(),Lwe=xe(),Cwe=Rh(),Nwe=ge(),Dwe=$e(),Mwe=it();Lwe&&Fwe({target:"Object",proto:!0,forced:Cwe},{__defineSetter__:function(e,r){Mwe.f(Dwe(this),e,{set:Nwe(r),enumerable:!0,configurable:!0})}});var Wwe=G(),Vwe=uP().entries;Wwe({target:"Object",stat:!0},{entries:function(e){return Vwe(e)}});var Kwe=G(),Ywe=kc(),Xwe=le(),Qwe=Ne(),Jwe=tu().onFreeze,sP=Object.freeze,Zwe=Xwe(function(){sP(1)});Kwe({target:"Object",stat:!0,forced:Zwe,sham:!Ywe},{freeze:function(e){return sP&&Qwe(e)?sP(Jwe(e)):e}});var e0e=G(),t0e=Te(),r0e=io();e0e({target:"Object",stat:!0},{fromEntries:function(e){var r={};return t0e(e,function(n,i){r0e(r,n,i)},{AS_ENTRIES:!0}),r}});var n0e=G(),i0e=le(),o0e=zt(),oU=_r().f,aU=xe(),a0e=i0e(function(){oU(1)}),u0e=!aU||a0e;n0e({target:"Object",stat:!0,forced:u0e,sham:!aU},{getOwnPropertyDescriptor:function(e,r){return oU(o0e(e),r)}});var s0e=G(),l0e=xe(),c0e=ng(),f0e=zt(),p0e=_r(),h0e=io();s0e({target:"Object",stat:!0,sham:!l0e},{getOwnPropertyDescriptors:function(e){for(var r=f0e(e),n=p0e.f,i=c0e(r),a={},l=0,c,f;i.length>l;)f=n(r,c=i[l++]),f!==void 0&&h0e(a,c,f);return a}});var d0e=G(),v0e=le(),y0e=cg().f,m0e=v0e(function(){return!Object.getOwnPropertyNames(1)});d0e({target:"Object",stat:!0,forced:m0e},{getOwnPropertyNames:y0e});var g0e=G(),b0e=le(),w0e=$e(),uU=Pr(),O0e=wg(),S0e=b0e(function(){uU(1)});g0e({target:"Object",stat:!0,forced:S0e,sham:!O0e},{getPrototypeOf:function(e){return uU(w0e(e))}});var _0e=G(),P0e=Ue();_0e({target:"Object",stat:!0},{hasOwn:P0e});var E0e=G(),T0e=lP();E0e({target:"Object",stat:!0},{is:T0e});var A0e=G(),lU=bh();A0e({target:"Object",stat:!0,forced:Object.isExtensible!==lU},{isExtensible:lU});var x0e=G(),R0e=le(),I0e=Ne(),k0e=hn(),cU=Bg(),cP=Object.isFrozen,j0e=R0e(function(){cP(1)});x0e({target:"Object",stat:!0,forced:j0e||cU},{isFrozen:function(e){return!I0e(e)||cU&&k0e(e)=="ArrayBuffer"?!0:cP?cP(e):!1}});var q0e=G(),F0e=le(),L0e=Ne(),C0e=hn(),fU=Bg(),fP=Object.isSealed,N0e=F0e(function(){fP(1)});q0e({target:"Object",stat:!0,forced:N0e||fU},{isSealed:function(e){return!L0e(e)||fU&&C0e(e)=="ArrayBuffer"?!0:fP?fP(e):!1}});var D0e=G(),M0e=$e(),pU=Ss(),U0e=le(),B0e=U0e(function(){pU(1)});D0e({target:"Object",stat:!0,forced:B0e},{keys:function(e){return pU(M0e(e))}});var G0e=G(),$0e=xe(),z0e=Rh(),H0e=$e(),W0e=no(),V0e=Pr(),K0e=_r().f;$0e&&G0e({target:"Object",proto:!0,forced:z0e},{__lookupGetter__:function(e){var r=H0e(this),n=W0e(e),i;do if(i=K0e(r,n))return i.get;while(r=V0e(r))}});var Y0e=G(),X0e=xe(),Q0e=Rh(),J0e=$e(),Z0e=no(),eOe=Pr(),tOe=_r().f;X0e&&Y0e({target:"Object",proto:!0,forced:Q0e},{__lookupSetter__:function(e){var r=J0e(this),n=Z0e(e),i;do if(i=tOe(r,n))return i.set;while(r=eOe(r))}});var rOe=G(),nOe=Ne(),iOe=tu().onFreeze,oOe=kc(),aOe=le(),pP=Object.preventExtensions,uOe=aOe(function(){pP(1)});rOe({target:"Object",stat:!0,forced:uOe,sham:!oOe},{preventExtensions:function(e){return pP&&nOe(e)?pP(iOe(e)):e}});var sOe=G(),lOe=Ne(),cOe=tu().onFreeze,fOe=kc(),pOe=le(),hP=Object.seal,hOe=pOe(function(){hP(1)});sOe({target:"Object",stat:!0,forced:hOe,sham:!fOe},{seal:function(e){return hP&&lOe(e)?hP(cOe(e)):e}});var yOe=og(),mOe=bt(),gOe=dU();yOe||mOe(Object.prototype,"toString",gOe,{unsafe:!0});var bOe=G(),wOe=uP().values;bOe({target:"Object",stat:!0},{values:function(e){return wOe(e)}});b8();O8();_8();P8();E8();R8();var h1e=G(),d1e=fe(),v1e=ge(),y1e=Vo(),m1e=ou(),g1e=Te();h1e({target:"Promise",stat:!0},{allSettled:function(e){var r=this,n=y1e.f(r),i=n.resolve,a=n.reject,l=m1e(function(){var c=v1e(r.resolve),f=[],d=0,y=1;g1e(e,function(m){var g=d++,w=!1;y++,d1e(c,r,m).then(function(P){w||(w=!0,f[g]={status:"fulfilled",value:P},--y||i(f))},function(P){w||(w=!0,f[g]={status:"rejected",reason:P},--y||i(f))})}),--y||i(f)});return l.error&&a(l.value),n.promise}});var b1e=G(),w1e=fe(),O1e=ge(),S1e=Oe(),_1e=Vo(),P1e=ou(),E1e=Te(),I8="No one promise resolved";b1e({target:"Promise",stat:!0},{any:function(e){var r=this,n=S1e("AggregateError"),i=_1e.f(r),a=i.resolve,l=i.reject,c=P1e(function(){var f=O1e(r.resolve),d=[],y=0,m=1,g=!1;E1e(e,function(w){var P=y++,E=!1;m++,w1e(f,r,w).then(function(O){E||g||(g=!0,a(O))},function(O){E||g||(E=!0,d[P]=O,--m||l(new n(d,I8)))})}),--m||l(new n(d,I8))});return c.error&&l(c.value),i.promise}});var T1e=G(),A1e=gt(),pb=Ds(),x1e=le(),j8=Oe(),q8=ke(),R1e=Vr(),k8=$P(),I1e=bt(),HP=pb&&pb.prototype,k1e=!!pb&&x1e(function(){HP.finally.call({then:function(){}},function(){})});T1e({target:"Promise",proto:!0,real:!0,forced:k1e},{finally:function(e){var r=R1e(this,j8("Promise")),n=q8(e);return this.then(n?function(i){return k8(r,e()).then(function(){return i})}:e,n?function(i){return k8(r,e()).then(function(){throw i})}:e)}});!A1e&&q8(pb)&&(zP=j8("Promise").prototype.finally,HP.finally!==zP&&I1e(HP,"finally",zP,{unsafe:!0}));var zP;var j1e=G(),q1e=yn(),F1e=ge(),L1e=ie(),C1e=le(),N1e=!C1e(function(){Reflect.apply(function(){})});j1e({target:"Reflect",stat:!0,forced:N1e},{apply:function(e,r,n){return q1e(F1e(e),r,L1e(n))}});var H1e=G(),W1e=Oe(),VP=yn(),V1e=D8(),M8=Fc(),K1e=ie(),U8=Ne(),Y1e=Ht(),G8=le(),KP=W1e("Reflect","construct"),X1e=Object.prototype,Q1e=[].push,$8=G8(function(){function t(){}return!(KP(function(){},[],t)instanceof t)}),z8=!G8(function(){KP(function(){})}),B8=$8||z8;H1e({target:"Reflect",stat:!0,forced:B8,sham:B8},{construct:function(e,r){M8(e),K1e(r);var n=arguments.length<3?e:M8(arguments[2]);if(z8&&!$8)return KP(e,r,n);if(e==n){switch(r.length){case 0:return new e;case 1:return new e(r[0]);case 2:return new e(r[0],r[1]);case 3:return new e(r[0],r[1],r[2]);case 4:return new e(r[0],r[1],r[2],r[3])}var i=[null];return VP(Q1e,i,r),new(VP(V1e,e,i))}var a=n.prototype,l=Y1e(U8(a)?a:X1e),c=VP(e,l,r);return U8(c)?c:l}});var J1e=G(),Z1e=xe(),H8=ie(),e_e=no(),W8=it(),t_e=le(),r_e=t_e(function(){Reflect.defineProperty(W8.f({},1,{value:1}),1,{value:2})});J1e({target:"Reflect",stat:!0,forced:r_e,sham:!Z1e},{defineProperty:function(e,r,n){H8(e);var i=e_e(r);H8(n);try{return W8.f(e,i,n),!0}catch(a){return!1}}});var n_e=G(),i_e=ie(),o_e=_r().f;n_e({target:"Reflect",stat:!0},{deleteProperty:function(e,r){var n=o_e(i_e(e),r);return n&&!n.configurable?!1:delete e[r]}});var a_e=G(),u_e=fe(),s_e=Ne(),l_e=ie(),c_e=YP(),f_e=_r(),p_e=Pr();function Y8(t,e){var r=arguments.length<3?t:arguments[2],n,i;if(l_e(t)===r)return t[e];if(n=f_e.f(t,e),n)return c_e(n)?n.value:n.get===void 0?void 0:u_e(n.get,r);if(s_e(i=p_e(t)))return Y8(i,e,r)}a_e({target:"Reflect",stat:!0},{get:Y8});var h_e=G(),d_e=xe(),v_e=ie(),y_e=_r();h_e({target:"Reflect",stat:!0,sham:!d_e},{getOwnPropertyDescriptor:function(e,r){return y_e.f(v_e(e),r)}});var m_e=G(),g_e=ie(),b_e=Pr(),w_e=wg();m_e({target:"Reflect",stat:!0,sham:!w_e},{getPrototypeOf:function(e){return b_e(g_e(e))}});var O_e=G();O_e({target:"Reflect",stat:!0},{has:function(e,r){return r in e}});var S_e=G(),__e=ie(),P_e=bh();S_e({target:"Reflect",stat:!0},{isExtensible:function(e){return __e(e),P_e(e)}});var E_e=G(),T_e=ng();E_e({target:"Reflect",stat:!0},{ownKeys:T_e});var A_e=G(),x_e=Oe(),R_e=ie(),I_e=kc();A_e({target:"Reflect",stat:!0,sham:!I_e},{preventExtensions:function(e){R_e(e);try{var r=x_e("Object","preventExtensions");return r&&r(e),!0}catch(n){return!1}}});var k_e=G(),j_e=fe(),q_e=ie(),X8=Ne(),F_e=YP(),L_e=le(),XP=it(),Q8=_r(),C_e=Pr(),J8=In();function Z8(t,e,r){var n=arguments.length<4?t:arguments[3],i=Q8.f(q_e(t),e),a,l,c;if(!i){if(X8(l=C_e(t)))return Z8(l,e,r,n);i=J8(0)}if(F_e(i)){if(i.writable===!1||!X8(n))return!1;if(a=Q8.f(n,e)){if(a.get||a.set||a.writable===!1)return!1;a.value=r,XP.f(n,e,a)}else XP.f(n,e,J8(0,r))}else{if(c=i.set,c===void 0)return!1;j_e(c,n,r)}return!0}var N_e=L_e(function(){var t=function(){},e=XP.f(new t,"a",{configurable:!0});return Reflect.set(t.prototype,"a",1,e)!==!1});k_e({target:"Reflect",stat:!0,forced:N_e},{set:Z8});var D_e=G(),M_e=ie(),U_e=z1(),e4=oo();e4&&D_e({target:"Reflect",stat:!0},{setPrototypeOf:function(e,r){M_e(e),U_e(r);try{return e4(e,r),!0}catch(n){return!1}}});var B_e=G(),G_e=be(),$_e=dn();B_e({global:!0},{Reflect:{}});$_e(G_e.Reflect,"Reflect",!0);var sPe=xe(),iE=be(),Ch=ce(),lPe=wc(),cPe=As(),fPe=rr(),pPe=Bo().f,s4=Wr(),hPe=Bc(),l4=He(),dPe=Gc(),p4=Lh(),vPe=H1(),yPe=bt(),mPe=le(),gPe=Ue(),bPe=at().enforce,wPe=Ja(),OPe=_e(),h4=db(),d4=eE(),SPe=OPe("match"),su=iE.RegExp,$c=su.prototype,_Pe=iE.SyntaxError,PPe=Ch($c.exec),vb=Ch("".charAt),c4=Ch("".replace),f4=Ch("".indexOf),EPe=Ch("".slice),TPe=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Us=/a/g,tE=/a/g,APe=new su(Us)!==Us,v4=p4.MISSED_STICKY,xPe=p4.UNSUPPORTED_Y,RPe=sPe&&(!APe||v4||h4||d4||mPe(function(){return tE[SPe]=!1,su(Us)!=Us||su(tE)==tE||su(Us,"i")!="/a/i"})),IPe=function(e){for(var r=e.length,n=0,i="",a=!1,l;n<=r;n++){if(l=vb(e,n),l==="\\"){i+=l+vb(e,++n);continue}!a&&l==="."?i+="[\\s\\S]":(l==="["?a=!0:l==="]"&&(a=!1),i+=l)}return i},kPe=function(e){for(var r=e.length,n=0,i="",a=[],l={},c=!1,f=!1,d=0,y="",m;n<=r;n++){if(m=vb(e,n),m==="\\")m=m+vb(e,++n);else if(m==="]")c=!1;else if(!c)switch(!0){case m==="[":c=!0;break;case m==="(":PPe(TPe,EPe(e,n+1))&&(n+=2,f=!0),i+=m,d++;continue;case(m===">"&&f):if(y===""||gPe(l,y))throw new _Pe("Invalid capture group name");l[y]=!0,a[a.length]=[y,d],f=!1,y="";continue}f?y+=m:i+=m}return[i,a]};if(lPe("RegExp",RPe)){for(uu=function(e,r){var n=s4($c,this),i=hPe(e),a=r===void 0,l=[],c=e,f,d,y,m,g,w;if(!n&&i&&a&&e.constructor===uu)return e;if((i||s4($c,e))&&(e=e.source,a&&(r=dPe(c))),e=e===void 0?"":l4(e),r=r===void 0?"":l4(r),c=e,h4&&"dotAll"in Us&&(d=!!r&&f4(r,"s")>-1,d&&(r=c4(r,/s/g,""))),f=r,v4&&"sticky"in Us&&(y=!!r&&f4(r,"y")>-1,y&&xPe&&(r=c4(r,/y/g,""))),d4&&(m=kPe(e),e=m[0],l=m[1]),g=cPe(su(e,r),n?this:$c,uu),(d||y||l.length)&&(w=bPe(g),d&&(w.dotAll=!0,w.raw=uu(IPe(e),f)),y&&(w.sticky=!0),l.length&&(w.groups=l)),e!==c)try{fPe(g,"source",c===""?"(?:)":c)}catch(P){}return g},rE=pPe(su),nE=0;rE.length>nE;)vPe(uu,su,rE[nE++]);$c.constructor=uu,uu.prototype=$c,yPe(iE,"RegExp",uu,{constructor:!0})}var uu,rE,nE;wPe("RegExp");var qPe=xe(),FPe=db(),LPe=hn(),CPe=Ko(),NPe=at().get,g4=RegExp.prototype,DPe=TypeError;qPe&&FPe&&CPe(g4,"dotAll",{configurable:!0,get:function(){if(this!==g4){if(LPe(this)==="RegExp")return!!NPe(this).dotAll;throw DPe("Incompatible receiver, RegExp required")}}});var lqt=Ce(gb(),1);var ZPe=be(),eEe=xe(),tEe=Ko(),rEe=hb(),nEe=le(),S4=ZPe.RegExp,_4=S4.prototype,iEe=eEe&&nEe(function(){var t=!0;try{S4(".","d")}catch(f){t=!1}var e={},r="",n=t?"dgimsy":"gimsy",i=function(d,y){Object.defineProperty(e,d,{get:function(){return r+=y,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};t&&(a.hasIndices="d");for(var l in a)i(l,a[l]);var c=Object.getOwnPropertyDescriptor(_4,"flags").get.call(e);return c!==n||r!==n});iEe&&tEe(_4,"flags",{configurable:!0,get:rEe});var oEe=xe(),aEe=Lh().MISSED_STICKY,uEe=hn(),sEe=Ko(),lEe=at().get,P4=RegExp.prototype,cEe=TypeError;oEe&&aEe&&sEe(P4,"sticky",{configurable:!0,get:function(){if(this!==P4){if(uEe(this)==="RegExp")return!!lEe(this).sticky;throw cEe("Incompatible receiver, RegExp required")}}});gb();var fEe=G(),pEe=fe(),hEe=ce(),dEe=ke(),vEe=Ne(),yEe=function(){var t=!1,e=/[ac]/;return e.exec=function(){return t=!0,/./.exec.apply(this,arguments)},e.test("abc")===!0&&t}(),mEe=TypeError,gEe=hEe(/./.test);fEe({target:"RegExp",proto:!0,forced:!yEe},{test:function(e){var r=this.exec;if(!dEe(r))return gEe(this,e);var n=pEe(r,this,e);if(n!==null&&!vEe(n))throw new mEe("RegExp exec method returned something other than an Object or null");return!!n}});var bEe=ws().PROPER,wEe=bt(),OEe=ie(),E4=He(),SEe=le(),_Ee=Gc(),lE="toString",PEe=RegExp.prototype,T4=PEe[lE],EEe=SEe(function(){return T4.call({source:"a",flags:"b"})!="/a/b"}),TEe=bEe&&T4.name!=lE;(EEe||TEe)&&wEe(RegExp.prototype,lE,function(){var e=OEe(this),r=E4(e.source),n=E4(_Ee(e));return"/"+r+"/"+n},{unsafe:!0});A4();var REe=G(),IEe=ce(),kEe=$t(),jEe=Pt(),qEe=He(),FEe=le(),LEe=IEe("".charAt),CEe=FEe(function(){return"\uD842\uDFB7".at(-2)!=="\uD842"});REe({target:"String",proto:!0,forced:CEe},{at:function(e){var r=qEe(kEe(this)),n=r.length,i=jEe(e),a=i>=0?i:n+i;return a<0||a>=n?void 0:LEe(r,a)}});var GEe=G(),$Ee=Bs().codeAt;GEe({target:"String",proto:!0},{codePointAt:function(e){return $Ee(this,e)}});var KEe=G(),L4=ce(),YEe=_r().f,XEe=kn(),q4=He(),QEe=bb(),JEe=$t(),ZEe=wb(),eTe=gt(),F4=L4("".endsWith),tTe=L4("".slice),rTe=Math.min,C4=ZEe("endsWith"),nTe=!eTe&&!C4&&!!function(){var t=YEe(String.prototype,"endsWith");return t&&!t.writable}();KEe({target:"String",proto:!0,forced:!nTe&&!C4},{endsWith:function(e){var r=q4(JEe(this));QEe(e);var n=arguments.length>1?arguments[1]:void 0,i=r.length,a=n===void 0?i:rTe(XEe(n),i),l=q4(e);return F4?F4(r,l,a):tTe(r,a-l.length,a)===l}});var iTe=G(),oTe=ce(),aTe=Ai(),uTe=RangeError,N4=String.fromCharCode,D4=String.fromCodePoint,sTe=oTe([].join),lTe=!!D4&&D4.length!=1;iTe({target:"String",stat:!0,arity:1,forced:lTe},{fromCodePoint:function(e){for(var r=[],n=arguments.length,i=0,a;n>i;){if(a=+arguments[i++],aTe(a,1114111)!==a)throw uTe(a+" is not a valid code point");r[i]=a<65536?N4(a):N4(((a-=65536)>>10)+55296,a%1024+56320)}return sTe(r,"")}});var cTe=G(),fTe=ce(),pTe=bb(),hTe=$t(),M4=He(),dTe=wb(),vTe=fTe("".indexOf);cTe({target:"String",proto:!0,forced:!dTe("includes")},{includes:function(e){return!!~vTe(M4(hTe(this)),M4(pTe(e)),arguments.length>1?arguments[1]:void 0)}});var wqt=Ce(fE(),1);var ITe=fe(),kTe=Dh(),jTe=ie(),qTe=kn(),hE=He(),FTe=$t(),LTe=tr(),CTe=Mh(),X4=Hc();kTe("match",function(t,e,r){return[function(i){var a=FTe(this),l=i==null?void 0:LTe(i,t);return l?ITe(l,i,a):new RegExp(i)[t](hE(a))},function(n){var i=jTe(this),a=hE(n),l=r(e,i,a);if(l.done)return l.value;if(!i.global)return X4(i,a);var c=i.unicode;i.lastIndex=0;for(var f=[],d=0,y;(y=X4(i,a))!==null;){var m=hE(y[0]);f[d]=m,m===""&&(i.lastIndex=CTe(a,qTe(i.lastIndex),c)),d++}return d===0?null:f}]});var NTe=G(),Q4=fe(),eB=ce(),DTe=Xa(),J4=$t(),tB=kn(),Uh=He(),MTe=ie(),UTe=hn(),BTe=Bc(),rB=Gc(),GTe=tr(),$Te=bt(),zTe=le(),HTe=_e(),WTe=Vr(),VTe=Mh(),KTe=Hc(),nB=at(),vE=gt(),Ob=HTe("matchAll"),iB="RegExp String",oB=iB+" Iterator",YTe=nB.set,XTe=nB.getterFor(oB),Z4=RegExp.prototype,QTe=TypeError,yE=eB("".indexOf),Sb=eB("".matchAll),dE=!!Sb&&!zTe(function(){Sb("a",/./)}),JTe=DTe(function(e,r,n,i){YTe(this,{type:oB,regexp:e,string:r,global:n,unicode:i,done:!1})},iB,function(){var e=XTe(this);if(e.done)return{value:void 0,done:!0};var r=e.regexp,n=e.string,i=KTe(r,n);return i===null?{value:void 0,done:e.done=!0}:e.global?(Uh(i[0])===""&&(r.lastIndex=VTe(n,tB(r.lastIndex),e.unicode)),{value:i,done:!1}):(e.done=!0,{value:i,done:!1})}),mE=function(e){var r=MTe(this),n=Uh(e),i=WTe(r,RegExp),a=Uh(rB(r)),l,c,f;return l=new i(i===RegExp?r.source:r,a),c=!!~yE(a,"g"),f=!!~yE(a,"u"),l.lastIndex=tB(r.lastIndex),new JTe(l,n,c,f)};NTe({target:"String",proto:!0,forced:dE},{matchAll:function(e){var r=J4(this),n,i,a,l;if(e!=null){if(BTe(e)&&(n=Uh(J4(rB(e))),!~yE(n,"g")))throw QTe("`.matchAll` does not allow non-global regexes");if(dE)return Sb(r,e);if(a=GTe(e,Ob),a===void 0&&vE&&UTe(e)=="RegExp"&&(a=mE),a)return Q4(a,e,r)}else if(dE)return Sb(r,e);return i=Uh(r),l=new RegExp(e,"g"),vE?Q4(mE,l,i):l[Ob](i)}});vE||Ob in Z4||$Te(Z4,Ob,mE);var aAe=G(),uAe=gE().end,sAe=bE();aAe({target:"String",proto:!0,forced:sAe},{padEnd:function(e){return uAe(this,e,arguments.length>1?arguments[1]:void 0)}});var lAe=G(),cAe=gE().start,fAe=bE();lAe({target:"String",proto:!0,forced:fAe},{padStart:function(e){return cAe(this,e,arguments.length>1?arguments[1]:void 0)}});var pAe=G(),hB=ce(),hAe=zt(),dAe=$e(),fB=He(),vAe=ze(),pB=hB([].push),yAe=hB([].join);pAe({target:"String",stat:!0},{raw:function(e){for(var r=hAe(dAe(e).raw),n=vAe(r),i=arguments.length,a=[],l=0;n>l;){if(pB(a,fB(r[l++])),l===n)return yAe(a,"");l")!=="7"});EAe("replace",function(t,e,r){var n=gB?"$":"$0";return[function(a,l){var c=kAe(this),f=a==null?void 0:qAe(a,EE);return f?vB(f,a,c,l):vB(e,Wc(c),a,l)},function(i,a){var l=AAe(this),c=Wc(i);if(typeof a=="string"&&yB(a,n)===-1&&yB(a,"$<")===-1){var f=r(e,l,c,a);if(f.done)return f.value}var d=xAe(a);d||(a=Wc(a));var y=l.global;if(y){var m=l.unicode;l.lastIndex=0}for(var g=[];;){var w=LAe(l,c);if(w===null||(PE(g,w),!y))break;var P=Wc(w[0]);P===""&&(l.lastIndex=jAe(c,IAe(l.lastIndex),m))}for(var E="",O=0,x=0;x=O&&(E+=mB(c,O,A)+z,O=A+R.length)}return E+mB(c,O)}]},!GAe||!BAe||gB);var $Ae=G(),zAe=fe(),TE=ce(),bB=$t(),HAe=ke(),WAe=Bc(),Vc=He(),VAe=tr(),KAe=Gc(),YAe=_E(),XAe=_e(),QAe=gt(),JAe=XAe("replace"),ZAe=TypeError,SB=TE("".indexOf),exe=TE("".replace),wB=TE("".slice),txe=Math.max,OB=function(e,r,n){return n>e.length?-1:r===""?n:SB(e,r,n)};$Ae({target:"String",proto:!0},{replaceAll:function(e,r){var n=bB(this),i,a,l,c,f,d,y,m,g,w=0,P=0,E="";if(e!=null){if(i=WAe(e),i&&(a=Vc(bB(KAe(e))),!~SB(a,"g")))throw ZAe("`.replaceAll` does not allow non-global regexes");if(l=VAe(e,JAe),l)return zAe(l,e,n,r);if(QAe&&i)return exe(Vc(n),e,r)}for(c=Vc(n),f=Vc(e),d=HAe(r),d||(r=Vc(r)),y=f.length,m=txe(1,y),w=OB(c,f,0);w!==-1;)g=d?Vc(r(f,w,c)):YAe(f,c,w,[],void 0,r),E+=wB(c,P,w)+g,P=w+y,w=OB(c,f,w+m);return P1||"".split(/.?/).length?n=function(a,l){var c=AE(EB(this)),f=l===void 0?xB:l>>>0;if(f===0)return[];if(a===void 0)return[c];if(!cxe(a))return Bh(e,c,a,f);for(var d=[],y=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(a.sticky?"y":""),m=0,g=new RegExp(a.source,y+"g"),w,P,E;(w=Bh(yxe,g,c))&&(P=g.lastIndex,!(P>m&&(Yc(d,Gh(c,m,w.index)),w.length>1&&w.index=f)));)g.lastIndex===w.index&&g.lastIndex++;return m===c.length?(E||!wxe(g,""))&&Yc(d,""):Yc(d,Gh(c,m)),d.length>f?TB(d,0,f):d}:"0".split(void 0,0).length?n=function(a,l){return a===void 0&&l===0?[]:Bh(e,this,a,l)}:n=e,[function(a,l){var c=EB(this),f=a==null?void 0:vxe(a,t);return f?Bh(f,a,c,l):Bh(n,AE(c),a,l)},function(i,a){var l=fxe(this),c=AE(i),f=r(n,l,c,a,n!==e);if(f.done)return f.value;var d=pxe(l,RegExp),y=l.unicode,m=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(Kc?"g":"y"),g=new d(Kc?"^(?:"+l.source+")":l,m),w=a===void 0?xB:a>>>0;if(w===0)return[];if(c.length===0)return AB(g,c)===null?[c]:[];for(var P=0,E=0,O=[];E1?arguments[1]:void 0,r.length)),i=IB(e);return kB?kB(r,i,n):Rxe(r,n,n+i.length)===i}});var Fxe=G(),Lxe=qs().trim,Cxe=Pb();Fxe({target:"String",proto:!0,forced:Cxe("trim")},{trim:function(){return Lxe(this)}});MB();var Uxe=G(),UB=RE();Uxe({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==UB},{trimEnd:UB});$B();var zxe=G(),zB=IE();zxe({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==zB},{trimStart:zB});var Xxe=G(),Qxe=gn(),Jxe=bn();Xxe({target:"String",proto:!0,forced:Jxe("anchor")},{anchor:function(e){return Qxe(this,"a","name",e)}});var Zxe=G(),eRe=gn(),tRe=bn();Zxe({target:"String",proto:!0,forced:tRe("big")},{big:function(){return eRe(this,"big","","")}});var rRe=G(),nRe=gn(),iRe=bn();rRe({target:"String",proto:!0,forced:iRe("blink")},{blink:function(){return nRe(this,"blink","","")}});var oRe=G(),aRe=gn(),uRe=bn();oRe({target:"String",proto:!0,forced:uRe("bold")},{bold:function(){return aRe(this,"b","","")}});var sRe=G(),lRe=gn(),cRe=bn();sRe({target:"String",proto:!0,forced:cRe("fixed")},{fixed:function(){return lRe(this,"tt","","")}});var fRe=G(),pRe=gn(),hRe=bn();fRe({target:"String",proto:!0,forced:hRe("fontcolor")},{fontcolor:function(e){return pRe(this,"font","color",e)}});var dRe=G(),vRe=gn(),yRe=bn();dRe({target:"String",proto:!0,forced:yRe("fontsize")},{fontsize:function(e){return vRe(this,"font","size",e)}});var mRe=G(),gRe=gn(),bRe=bn();mRe({target:"String",proto:!0,forced:bRe("italics")},{italics:function(){return gRe(this,"i","","")}});var wRe=G(),ORe=gn(),SRe=bn();wRe({target:"String",proto:!0,forced:SRe("link")},{link:function(e){return ORe(this,"a","href",e)}});var _Re=G(),PRe=gn(),ERe=bn();_Re({target:"String",proto:!0,forced:ERe("small")},{small:function(){return PRe(this,"small","","")}});var TRe=G(),ARe=gn(),xRe=bn();TRe({target:"String",proto:!0,forced:xRe("strike")},{strike:function(){return ARe(this,"strike","","")}});var RRe=G(),IRe=gn(),kRe=bn();RRe({target:"String",proto:!0,forced:kRe("sub")},{sub:function(){return IRe(this,"sub","","")}});var jRe=G(),qRe=gn(),FRe=bn();jRe({target:"String",proto:!0,forced:FRe("sup")},{sup:function(){return qRe(this,"sup","","")}});var jIe=po();jIe("Float32",function(t){return function(r,n,i){return t(this,r,n,i)}});var qIe=po();qIe("Float64",function(t){return function(r,n,i){return t(this,r,n,i)}});var FIe=po();FIe("Int8",function(t){return function(r,n,i){return t(this,r,n,i)}});var LIe=po();LIe("Int16",function(t){return function(r,n,i){return t(this,r,n,i)}});var CIe=po();CIe("Int32",function(t){return function(r,n,i){return t(this,r,n,i)}});var NIe=po();NIe("Uint8",function(t){return function(r,n,i){return t(this,r,n,i)}});var DIe=po();DIe("Uint8",function(t){return function(r,n,i){return t(this,r,n,i)}},!0);var MIe=po();MIe("Uint16",function(t){return function(r,n,i){return t(this,r,n,i)}});var UIe=po();UIe("Uint32",function(t){return function(r,n,i){return t(this,r,n,i)}});var T6=Ie(),BIe=ze(),GIe=Pt(),$Ie=T6.aTypedArray,zIe=T6.exportTypedArrayMethod;zIe("at",function(e){var r=$Ie(this),n=BIe(r),i=GIe(e),a=i>=0?i:n+i;return a<0||a>=n?void 0:r[a]});var HIe=ce(),A6=Ie(),WIe=o_(),VIe=HIe(WIe),KIe=A6.aTypedArray,YIe=A6.exportTypedArrayMethod;YIe("copyWithin",function(e,r){return VIe(KIe(this),e,r,arguments.length>2?arguments[2]:void 0)});var x6=Ie(),XIe=Wt().every,QIe=x6.aTypedArray,JIe=x6.exportTypedArrayMethod;JIe("every",function(e){return XIe(QIe(this),e,arguments.length>1?arguments[1]:void 0)});var I6=Ie(),tke=Ag(),rke=XE(),nke=xi(),ike=fe(),oke=ce(),ake=le(),uke=I6.aTypedArray,ske=I6.exportTypedArrayMethod,lke=oke("".slice),cke=ake(function(){var t=0;return new Int8Array(2).fill({valueOf:function(){return t++}}),t!==1});ske("fill",function(e){var r=arguments.length;uke(this);var n=lke(nke(this),0,3)==="Big"?rke(e):+e;return ike(tke,this,n,r>1?arguments[1]:void 0,r>2?arguments[2]:void 0)},cke);var L6=Ie(),mke=Wt().filter,gke=Wh(),bke=L6.aTypedArray,wke=L6.exportTypedArrayMethod;wke("filter",function(e){var r=mke(bke(this),e,arguments.length>1?arguments[1]:void 0);return gke(this,r)});var C6=Ie(),Oke=Wt().find,Ske=C6.aTypedArray,_ke=C6.exportTypedArrayMethod;_ke("find",function(e){return Oke(Ske(this),e,arguments.length>1?arguments[1]:void 0)});var N6=Ie(),Pke=Wt().findIndex,Eke=N6.aTypedArray,Tke=N6.exportTypedArrayMethod;Tke("findIndex",function(e){return Pke(Eke(this),e,arguments.length>1?arguments[1]:void 0)});var D6=Ie(),Ake=hh().findLast,xke=D6.aTypedArray,Rke=D6.exportTypedArrayMethod;Rke("findLast",function(e){return Ake(xke(this),e,arguments.length>1?arguments[1]:void 0)});var M6=Ie(),Ike=hh().findLastIndex,kke=M6.aTypedArray,jke=M6.exportTypedArrayMethod;jke("findLastIndex",function(e){return Ike(kke(this),e,arguments.length>1?arguments[1]:void 0)});var U6=Ie(),qke=Wt().forEach,Fke=U6.aTypedArray,Lke=U6.exportTypedArrayMethod;Lke("forEach",function(e){qke(Fke(this),e,arguments.length>1?arguments[1]:void 0)});var Cke=Rb(),Nke=Ie().exportTypedArrayStaticMethod,Dke=UE();Nke("from",Dke,Cke);var B6=Ie(),Mke=eh().includes,Uke=B6.aTypedArray,Bke=B6.exportTypedArrayMethod;Bke("includes",function(e){return Mke(Uke(this),e,arguments.length>1?arguments[1]:void 0)});var G6=Ie(),Gke=eh().indexOf,$ke=G6.aTypedArray,zke=G6.exportTypedArrayMethod;zke("indexOf",function(e){return Gke($ke(this),e,arguments.length>1?arguments[1]:void 0)});var Hke=be(),Wke=le(),QE=ce(),z6=Ie(),JE=mh(),Vke=_e(),ZE=Vke("iterator"),$6=Hke.Uint8Array,Kke=QE(JE.values),Yke=QE(JE.keys),Xke=QE(JE.entries),eT=z6.aTypedArray,Fb=z6.exportTypedArrayMethod,rf=$6&&$6.prototype,Lb=!Wke(function(){rf[ZE].call([1])}),H6=!!rf&&rf.values&&rf[ZE]===rf.values&&rf.values.name==="values",W6=function(){return Kke(eT(this))};Fb("entries",function(){return Xke(eT(this))},Lb);Fb("keys",function(){return Yke(eT(this))},Lb);Fb("values",W6,Lb||!H6,{name:"values"});Fb(ZE,W6,Lb||!H6,{name:"values"});var V6=Ie(),Qke=ce(),Jke=V6.aTypedArray,Zke=V6.exportTypedArrayMethod,eje=Qke([].join);Zke("join",function(e){return eje(Jke(this),e)});var Q6=Ie(),lje=yn(),cje=X6(),fje=Q6.aTypedArray,pje=Q6.exportTypedArrayMethod;pje("lastIndexOf",function(e){var r=arguments.length;return lje(cje,fje(this),r>1?[e,arguments[1]]:[e])});var J6=Ie(),hje=Wt().map,dje=tf(),vje=J6.aTypedArray,yje=J6.exportTypedArrayMethod;yje("map",function(e){return hje(vje(this),e,arguments.length>1?arguments[1]:void 0,function(r,n){return new(dje(r))(n)})});var Z6=Ie(),mje=Rb(),gje=Z6.aTypedArrayConstructor,bje=Z6.exportTypedArrayStaticMethod;bje("of",function(){for(var e=0,r=arguments.length,n=new(gje(this))(r);r>e;)n[e]=arguments[e++];return n},mje);var r7=Ie(),Eje=rT().left,Tje=r7.aTypedArray,Aje=r7.exportTypedArrayMethod;Aje("reduce",function(e){var r=arguments.length;return Eje(Tje(this),e,r,r>1?arguments[1]:void 0)});var n7=Ie(),xje=rT().right,Rje=n7.aTypedArray,Ije=n7.exportTypedArrayMethod;Ije("reduceRight",function(e){var r=arguments.length;return xje(Rje(this),e,r,r>1?arguments[1]:void 0)});var i7=Ie(),kje=i7.aTypedArray,jje=i7.exportTypedArrayMethod,qje=Math.floor;jje("reverse",function(){for(var e=this,r=kje(e).length,n=qje(r/2),i=0,a;i1?arguments[1]:void 0,1),n=Cje(e);if(iT)return u7(l7,this,n,r);var i=this.length,a=Fje(n),l=0;if(a+r>i)throw Nje("Wrong length");for(;la;)c[a]=n[a++];return c},Wje);var f7=Ie(),Vje=Wt().some,Kje=f7.aTypedArray,Yje=f7.exportTypedArrayMethod;Yje("some",function(e){return Vje(Kje(this),e,arguments.length>1?arguments[1]:void 0)});var Xje=be(),Qje=ce(),aT=le(),Jje=ge(),Zje=jg(),y7=Ie(),p7=m_(),eqe=g_(),h7=Ba(),d7=qg(),tqe=y7.aTypedArray,rqe=y7.exportTypedArrayMethod,Vh=Xje.Uint16Array,nf=Vh&&Qje(Vh.prototype.sort),nqe=!!nf&&!(aT(function(){nf(new Vh(2),null)})&&aT(function(){nf(new Vh(2),{})})),v7=!!nf&&!aT(function(){if(h7)return h7<74;if(p7)return p7<67;if(eqe)return!0;if(d7)return d7<602;var t=new Vh(516),e=Array(516),r,n;for(r=0;r<516;r++)n=r%4,t[r]=515-r,e[r]=r-2*n+3;for(nf(t,function(i,a){return(i/4|0)-(a/4|0)}),r=0;r<516;r++)if(t[r]!==e[r])return!0}),iqe=function(e){return function(r,n){return e!==void 0?+e(r,n)||0:n!==n?-1:r!==r?1:r===0&&n===0?1/r>0&&1/n<0?1:-1:r>n}};rqe("sort",function(e){return e!==void 0&&Jje(e),v7?nf(this,e):Zje(tqe(this),iqe(e))},!v7||nqe);var g7=Ie(),oqe=kn(),m7=Ai(),aqe=tf(),uqe=g7.aTypedArray,sqe=g7.exportTypedArrayMethod;sqe("subarray",function(e,r){var n=uqe(this),i=n.length,a=m7(e,i),l=aqe(n);return new l(n.buffer,n.byteOffset+a*n.BYTES_PER_ELEMENT,oqe((r===void 0?i:m7(r,i))-a))});var lqe=be(),cqe=yn(),O7=Ie(),uT=le(),b7=Ka(),Cb=lqe.Int8Array,w7=O7.aTypedArray,fqe=O7.exportTypedArrayMethod,S7=[].toLocaleString,pqe=!!Cb&&uT(function(){S7.call(new Cb(1))}),hqe=uT(function(){return[1,2].toLocaleString()!=new Cb([1,2]).toLocaleString()})||!uT(function(){Cb.prototype.toLocaleString.call([1,2])});fqe("toLocaleString",function(){return cqe(S7,pqe?b7(w7(this)):w7(this),b7(arguments))},hqe);var dqe=Ie().exportTypedArrayMethod,vqe=le(),yqe=be(),mqe=ce(),_7=yqe.Uint8Array,gqe=_7&&_7.prototype||{},Nb=[].toString,bqe=mqe([].join);vqe(function(){Nb.call({})})&&(Nb=function(){return bqe(this)});var wqe=gqe.toString!=Nb;dqe("toString",Nb,wqe);var k2t=Ce(zb(),1);F7();var A2e=G(),x2e=bT();A2e({target:"Array",stat:!0,forced:!0},{fromAsync:x2e});var R2e=G(),I2e=Wt().filterReject,k2e=wt();R2e({target:"Array",proto:!0,forced:!0},{filterOut:function(e){return I2e(this,e,arguments.length>1?arguments[1]:void 0)}});k2e("filterOut");var j2e=G(),q2e=Wt().filterReject,F2e=wt();j2e({target:"Array",proto:!0,forced:!0},{filterReject:function(e){return q2e(this,e,arguments.length>1?arguments[1]:void 0)}});F2e("filterReject");var H2e=G(),W2e=Vb(),V2e=wt();H2e({target:"Array",proto:!0},{group:function(e){var r=arguments.length>1?arguments[1]:void 0;return W2e(this,e,r)}});V2e("group");var K2e=G(),Y2e=Vb(),X2e=ks(),Q2e=wt();K2e({target:"Array",proto:!0,forced:!X2e("groupBy")},{groupBy:function(e){var r=arguments.length>1?arguments[1]:void 0;return Y2e(this,e,r)}});Q2e("groupBy");var uFe=G(),sFe=ks(),lFe=wt(),cFe=OT();uFe({target:"Array",proto:!0,name:"groupToMap",forced:!sFe("groupByToMap")},{groupByToMap:cFe});lFe("groupByToMap");var fFe=G(),pFe=wt(),hFe=OT();fFe({target:"Array",proto:!0},{groupToMap:hFe});pFe("groupToMap");var dFe=G(),vFe=_s(),a9=Object.isFrozen,u9=function(e,r){if(!a9||!vFe(e)||!a9(e))return!1;for(var n=0,i=e.length,a;n1?arguments[1]:void 0);return!DMe(n,function(a,l,c){if(!i(l,a,r))return c()},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var MMe=G(),UMe=Oe(),BMe=ut(),GMe=fe(),$Me=ge(),zMe=ie(),HMe=Vr(),WMe=ji(),VMe=Te();MMe({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var r=zMe(this),n=WMe(r),i=BMe(e,arguments.length>1?arguments[1]:void 0),a=new(HMe(r,UMe("Map"))),l=$Me(a.set);return VMe(n,function(c,f){i(f,c,r)&&GMe(l,a,c,f)},{AS_ENTRIES:!0,IS_ITERATOR:!0}),a}});var KMe=G(),YMe=ie(),XMe=ut(),QMe=ji(),JMe=Te();KMe({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var r=YMe(this),n=QMe(r),i=XMe(e,arguments.length>1?arguments[1]:void 0);return JMe(n,function(a,l,c){if(i(l,a,r))return c(l)},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}});var ZMe=G(),e5e=ie(),t5e=ut(),r5e=ji(),n5e=Te();ZMe({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(e){var r=e5e(this),n=r5e(r),i=t5e(e,arguments.length>1?arguments[1]:void 0);return n5e(n,function(a,l,c){if(i(l,a,r))return c(a)},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}});var s5e=G(),l5e=nd();s5e({target:"Map",stat:!0,forced:!0},{from:l5e});var c5e=G(),UT=fe(),f5e=ce(),tw=ge(),p5e=oi(),h5e=Te(),d5e=f5e([].push);c5e({target:"Map",stat:!0,forced:!0},{groupBy:function(e,r){tw(r);var n=p5e(e),i=new this,a=tw(i.has),l=tw(i.get),c=tw(i.set);return h5e(n,function(f){var d=r(f);UT(a,i,d)?d5e(UT(l,i,d),f):UT(c,i,d,[f])},{IS_ITERATOR:!0}),i}});var v5e=G(),y5e=ie(),m5e=ji(),g5e=mG(),b5e=Te();v5e({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(e){return b5e(m5e(y5e(this)),function(r,n,i){if(g5e(n,e))return i()},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var w5e=G(),O5e=fe(),S5e=Te(),gG=ge();w5e({target:"Map",stat:!0,forced:!0},{keyBy:function(e,r){var n=new this;gG(r);var i=gG(n.set);return S5e(e,function(a){O5e(i,n,r(a),a)}),n}});var _5e=G(),P5e=ie(),E5e=ji(),T5e=Te();_5e({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){return T5e(E5e(P5e(this)),function(r,n,i){if(n===e)return i(r)},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}});var A5e=G(),x5e=Oe(),R5e=ut(),I5e=fe(),k5e=ge(),j5e=ie(),q5e=Vr(),F5e=ji(),L5e=Te();A5e({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var r=j5e(this),n=F5e(r),i=R5e(e,arguments.length>1?arguments[1]:void 0),a=new(q5e(r,x5e("Map"))),l=k5e(a.set);return L5e(n,function(c,f){I5e(l,a,i(f,c,r),f)},{AS_ENTRIES:!0,IS_ITERATOR:!0}),a}});var C5e=G(),N5e=Oe(),D5e=ut(),M5e=fe(),U5e=ge(),B5e=ie(),G5e=Vr(),$5e=ji(),z5e=Te();C5e({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var r=B5e(this),n=$5e(r),i=D5e(e,arguments.length>1?arguments[1]:void 0),a=new(G5e(r,N5e("Map"))),l=U5e(a.set);return z5e(n,function(c,f){M5e(l,a,c,i(f,c,r))},{AS_ENTRIES:!0,IS_ITERATOR:!0}),a}});var H5e=G(),W5e=ge(),V5e=ie(),K5e=Te();H5e({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(e){for(var r=V5e(this),n=W5e(r.set),i=arguments.length,a=0;a1?arguments[1]:void 0);return s3e(n,function(a,l,c){if(i(l,a,r))return c()},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var l3e=G(),BT=fe(),c3e=ie(),od=ge(),f3e=TypeError;l3e({target:"Map",proto:!0,real:!0,forced:!0},{update:function(e,r){var n=c3e(this),i=od(n.get),a=od(n.has),l=od(n.set),c=arguments.length;od(r);var f=BT(a,n,e);if(!f&&c<3)throw f3e("Updating absent value");var d=f?BT(i,n,e):od(c>2?arguments[2]:void 0)(e,n);return BT(l,n,e,r(d,e,n)),n}});var d3e=G(),v3e=iw();d3e({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:v3e});var y3e=G(),m3e=iw();y3e({target:"Map",proto:!0,real:!0,forced:!0},{upsert:m3e});var g3e=G(),b3e=Math.min,w3e=Math.max;g3e({target:"Math",stat:!0,forced:!0},{clamp:function(e,r,n){return b3e(n,w3e(r,e))}});var O3e=G();O3e({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180});var S3e=G(),_3e=180/Math.PI;S3e({target:"Math",stat:!0,forced:!0},{degrees:function(e){return e*_3e}});var P3e=G(),E3e=$T(),T3e=W_();P3e({target:"Math",stat:!0,forced:!0},{fscale:function(e,r,n,i,a){return T3e(E3e(e,r,n,i,a))}});var A3e=G();A3e({target:"Math",stat:!0,forced:!0},{iaddh:function(e,r,n,i){var a=e>>>0,l=r>>>0,c=n>>>0;return l+(i>>>0)+((a&c|(a|c)&~(a+c>>>0))>>>31)|0}});var x3e=G();x3e({target:"Math",stat:!0,forced:!0},{imulh:function(e,r){var n=65535,i=+e,a=+r,l=i&n,c=a&n,f=i>>16,d=a>>16,y=(f*c>>>0)+(l*c>>>16);return f*d+(y>>16)+((l*d>>>0)+(y&n)>>16)}});var R3e=G();R3e({target:"Math",stat:!0,forced:!0},{isubh:function(e,r,n,i){var a=e>>>0,l=r>>>0,c=n>>>0;return l-(i>>>0)-((~a&c|~(a^c)&a-c>>>0)>>>31)|0}});var I3e=G();I3e({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI});var k3e=G(),j3e=Math.PI/180;k3e({target:"Math",stat:!0,forced:!0},{radians:function(e){return e*j3e}});var q3e=G(),F3e=$T();q3e({target:"Math",stat:!0,forced:!0},{scale:F3e});var L3e=G(),C3e=ie(),N3e=Z_(),D3e=Xa(),SG=at(),_G="Seeded Random",PG=_G+" Generator",M3e='Math.seededPRNG() argument should have a "seed" field with a finite value.',U3e=SG.set,B3e=SG.getterFor(PG),G3e=TypeError,$3e=D3e(function(e){U3e(this,{type:PG,seed:e%2147483647})},_G,function(){var e=B3e(this),r=e.seed=(e.seed*1103515245+12345)%2147483647;return{value:(r&1073741823)/1073741823,done:!1}});L3e({target:"Math",stat:!0,forced:!0},{seededPRNG:function(e){var r=C3e(e).seed;if(!N3e(r))throw G3e(M3e);return new $3e(r)}});var z3e=G();z3e({target:"Math",stat:!0,forced:!0},{signbit:function(e){var r=+e;return r==r&&r==0?1/r==-1/0:r<0}});var H3e=G();H3e({target:"Math",stat:!0,forced:!0},{umulh:function(e,r){var n=65535,i=+e,a=+r,l=i&n,c=a&n,f=i>>>16,d=a>>>16,y=(f*c>>>0)+(l*c>>>16);return f*d+(y>>>16)+((l*d>>>0)+(y&n)>>>16)}});var W3e=G(),aw=ce(),V3e=Pt(),K3e=eP(),ow="Invalid number representation",Y3e="Invalid radix",X3e=RangeError,zT=SyntaxError,Q3e=TypeError,EG=/^[\da-z]+$/,J3e=aw("".charAt),Z3e=aw(EG.exec),eUe=aw(1 .toString),tUe=aw("".slice);W3e({target:"Number",stat:!0,forced:!0},{fromString:function(e,r){var n=1,i,a;if(typeof e!="string")throw Q3e(ow);if(!e.length||J3e(e,0)=="-"&&(n=-1,e=tUe(e,1),!e.length))throw zT(ow);if(i=r===void 0?10:V3e(r),i<2||i>36)throw X3e(Y3e);if(!Z3e(EG,e)||eUe(a=K3e(e,i),i)!==e)throw zT(ow);return n*a}});var rUe=G(),nUe=kT();rUe({target:"Number",stat:!0,forced:!0},{range:function(e,r,n){return new nUe(e,r,n,"number",0,1)}});var cUe=G(),fUe=uw();cUe({target:"Object",stat:!0,forced:!0},{iterateEntries:function(e){return new fUe(e,"entries")}});var pUe=G(),hUe=uw();pUe({target:"Object",stat:!0,forced:!0},{iterateKeys:function(e){return new hUe(e,"keys")}});var dUe=G(),vUe=uw();dUe({target:"Object",stat:!0,forced:!0},{iterateValues:function(e){return new vUe(e,"values")}});UG();GG();zG();var $Ue=G(),zUe=Vo(),HUe=ou();$Ue({target:"Promise",stat:!0,forced:!0},{try:function(e){var r=zUe.f(this),n=HUe(e);return(n.error?r.reject:r.resolve)(n.value),r.promise}});var t8e=G(),YG=vo(),r8e=ie(),n8e=YG.toKey,i8e=YG.set;t8e({target:"Reflect",stat:!0},{defineMetadata:function(e,r,n){var i=arguments.length<4?void 0:n8e(arguments[3]);i8e(e,r,r8e(n),i)}});var o8e=G(),eA=vo(),a8e=ie(),u8e=eA.toKey,s8e=eA.getMap,XG=eA.store;o8e({target:"Reflect",stat:!0},{deleteMetadata:function(e,r){var n=arguments.length<3?void 0:u8e(arguments[2]),i=s8e(a8e(r),n,!1);if(i===void 0||!i.delete(e))return!1;if(i.size)return!0;var a=XG.get(r);return a.delete(n),!!a.size||XG.delete(r)}});var l8e=G(),tA=vo(),c8e=ie(),f8e=Pr(),p8e=tA.has,h8e=tA.get,d8e=tA.toKey,v8e=function t(e,r,n){var i=p8e(e,r,n);if(i)return h8e(e,r,n);var a=f8e(r);return a!==null?t(e,a,n):void 0};l8e({target:"Reflect",stat:!0},{getMetadata:function(e,r){var n=arguments.length<3?void 0:d8e(arguments[2]);return v8e(e,c8e(r),n)}});var y8e=G(),QG=ce(),JG=vo(),m8e=ie(),g8e=Pr(),b8e=Xb(),w8e=QG(b8e),O8e=QG([].concat),S8e=JG.keys,_8e=JG.toKey,P8e=function t(e,r){var n=S8e(e,r),i=g8e(e);if(i===null)return n;var a=t(i,r);return a.length?n.length?w8e(O8e(n,a)):a:n};y8e({target:"Reflect",stat:!0},{getMetadataKeys:function(e){var r=arguments.length<2?void 0:_8e(arguments[1]);return P8e(m8e(e),r)}});var E8e=G(),ZG=vo(),T8e=ie(),A8e=ZG.get,x8e=ZG.toKey;E8e({target:"Reflect",stat:!0},{getOwnMetadata:function(e,r){var n=arguments.length<3?void 0:x8e(arguments[2]);return A8e(e,T8e(r),n)}});var R8e=G(),e$=vo(),I8e=ie(),k8e=e$.keys,j8e=e$.toKey;R8e({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(e){var r=arguments.length<2?void 0:j8e(arguments[1]);return k8e(I8e(e),r)}});var q8e=G(),t$=vo(),F8e=ie(),L8e=Pr(),C8e=t$.has,N8e=t$.toKey,D8e=function t(e,r,n){var i=C8e(e,r,n);if(i)return!0;var a=L8e(r);return a!==null?t(e,a,n):!1};q8e({target:"Reflect",stat:!0},{hasMetadata:function(e,r){var n=arguments.length<3?void 0:N8e(arguments[2]);return D8e(e,F8e(r),n)}});var M8e=G(),r$=vo(),U8e=ie(),B8e=r$.has,G8e=r$.toKey;M8e({target:"Reflect",stat:!0},{hasOwnMetadata:function(e,r){var n=arguments.length<3?void 0:G8e(arguments[2]);return B8e(e,U8e(r),n)}});var $8e=G(),n$=vo(),z8e=ie(),H8e=n$.toKey,W8e=n$.set;$8e({target:"Reflect",stat:!0},{metadata:function(e,r){return function(i,a){W8e(e,r,z8e(i),H8e(a))}}});var X8e=G(),Q8e=rA();X8e({target:"Set",proto:!0,real:!0,forced:!0},{addAll:Q8e});var J8e=G(),Z8e=rd();J8e({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:Z8e});var e4e=G(),t4e=Oe(),r4e=fe(),n4e=ge(),i4e=ie(),o4e=Vr(),a4e=Te();e4e({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(e){var r=i4e(this),n=new(o4e(r,t4e("Set")))(r),i=n4e(n.delete);return a4e(e,function(a){r4e(i,n,a)}),n}});var s4e=G(),l4e=ie(),c4e=ut(),f4e=du(),p4e=Te();s4e({target:"Set",proto:!0,real:!0,forced:!0},{every:function(e){var r=l4e(this),n=f4e(r),i=c4e(e,arguments.length>1?arguments[1]:void 0);return!p4e(n,function(a,l){if(!i(a,a,r))return l()},{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var h4e=G(),d4e=Oe(),v4e=fe(),y4e=ge(),m4e=ie(),g4e=ut(),b4e=Vr(),w4e=du(),O4e=Te();h4e({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(e){var r=m4e(this),n=w4e(r),i=g4e(e,arguments.length>1?arguments[1]:void 0),a=new(b4e(r,d4e("Set"))),l=y4e(a.add);return O4e(n,function(c){i(c,c,r)&&v4e(l,a,c)},{IS_ITERATOR:!0}),a}});var S4e=G(),_4e=ie(),P4e=ut(),E4e=du(),T4e=Te();S4e({target:"Set",proto:!0,real:!0,forced:!0},{find:function(e){var r=_4e(this),n=E4e(r),i=P4e(e,arguments.length>1?arguments[1]:void 0);return T4e(n,function(a,l){if(i(a,a,r))return l(a)},{IS_ITERATOR:!0,INTERRUPTED:!0}).result}});var A4e=G(),x4e=nd();A4e({target:"Set",stat:!0,forced:!0},{from:x4e});var R4e=G(),I4e=Oe(),a$=fe(),u$=ge(),k4e=ie(),j4e=Vr(),q4e=Te();R4e({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(e){var r=k4e(this),n=new(j4e(r,I4e("Set"))),i=u$(r.has),a=u$(n.add);return q4e(e,function(l){a$(i,r,l)&&a$(a,n,l)}),n}});var F4e=G(),L4e=fe(),C4e=ge(),N4e=ie(),D4e=Te();F4e({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(e){var r=N4e(this),n=C4e(r.has);return!D4e(e,function(i,a){if(L4e(n,r,i)===!0)return a()},{INTERRUPTED:!0}).stopped}});var M4e=G(),U4e=Oe(),B4e=fe(),G4e=ge(),$4e=ke(),z4e=ie(),H4e=oi(),W4e=Te();M4e({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(e){var r=H4e(this),n=z4e(e),i=n.has;return $4e(i)||(n=new(U4e("Set"))(e),i=G4e(n.has)),!W4e(r,function(a,l){if(B4e(i,n,a)===!1)return l()},{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var V4e=G(),K4e=fe(),Y4e=ge(),X4e=ie(),Q4e=Te();V4e({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(e){var r=X4e(this),n=Y4e(r.has);return!Q4e(e,function(i,a){if(K4e(n,r,i)===!1)return a()},{INTERRUPTED:!0}).stopped}});var J4e=G(),Z4e=ce(),eBe=ie(),tBe=He(),rBe=du(),nBe=Te(),iBe=Z4e([].join),oBe=[].push;J4e({target:"Set",proto:!0,real:!0,forced:!0},{join:function(e){var r=eBe(this),n=rBe(r),i=e===void 0?",":tBe(e),a=[];return nBe(n,oBe,{that:a,IS_ITERATOR:!0}),iBe(a,i)}});var aBe=G(),uBe=Oe(),sBe=ut(),lBe=fe(),cBe=ge(),fBe=ie(),pBe=Vr(),hBe=du(),dBe=Te();aBe({target:"Set",proto:!0,real:!0,forced:!0},{map:function(e){var r=fBe(this),n=hBe(r),i=sBe(e,arguments.length>1?arguments[1]:void 0),a=new(pBe(r,uBe("Set"))),l=cBe(a.add);return dBe(n,function(c){lBe(l,a,i(c,c,r))},{IS_ITERATOR:!0}),a}});var vBe=G(),yBe=id();vBe({target:"Set",stat:!0,forced:!0},{of:yBe});var mBe=G(),gBe=ge(),bBe=ie(),wBe=du(),OBe=Te(),SBe=TypeError;mBe({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(e){var r=bBe(this),n=wBe(r),i=arguments.length<2,a=i?void 0:arguments[1];if(gBe(e),OBe(n,function(l){i?(i=!1,a=l):a=e(a,l,l,r)},{IS_ITERATOR:!0}),i)throw SBe("Reduce of empty set with no initial value");return a}});var _Be=G(),PBe=ie(),EBe=ut(),TBe=du(),ABe=Te();_Be({target:"Set",proto:!0,real:!0,forced:!0},{some:function(e){var r=PBe(this),n=TBe(r),i=EBe(e,arguments.length>1?arguments[1]:void 0);return ABe(n,function(a,l){if(i(a,a,r))return l()},{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var xBe=G(),RBe=Oe(),s$=fe(),l$=ge(),IBe=ie(),kBe=Vr(),jBe=Te();xBe({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(e){var r=IBe(this),n=new(kBe(r,RBe("Set")))(r),i=l$(n.delete),a=l$(n.add);return jBe(e,function(l){s$(i,n,l)||s$(a,n,l)}),n}});var qBe=G(),FBe=Oe(),LBe=ge(),CBe=ie(),NBe=Vr(),DBe=Te();qBe({target:"Set",proto:!0,real:!0,forced:!0},{union:function(e){var r=CBe(this),n=new(NBe(r,FBe("Set")))(r);return DBe(e,LBe(n.add),{that:n}),n}});var MBe=G(),UBe=Bs().charAt,BBe=$t(),GBe=Pt(),$Be=He();MBe({target:"String",proto:!0,forced:!0},{at:function(e){var r=$Be(BBe(this)),n=r.length,i=GBe(e),a=i>=0?i:n+i;return a<0||a>=n?void 0:UBe(r,a)}});var zBe=G(),p$=ce(),HBe=zt(),c$=He(),WBe=ze(),VBe=TypeError,h$=Array.prototype,f$=p$(h$.push),KBe=p$(h$.join);zBe({target:"String",stat:!0,forced:!0},{cooked:function(e){for(var r=HBe(e),n=WBe(r),i=arguments.length,a=[],l=0;n>l;){var c=r[l++];if(c===void 0)throw VBe("Incorrect template");if(f$(a,c$(c)),l===n)return KBe(a,"");l=r.length?{value:void 0,done:!0}:(i=e6e(r,n),e.index+=i.length,{value:{codePoint:ZBe(i,0),position:n},done:!1})});YBe({target:"String",proto:!0,forced:!0},{codePoints:function(){return new n6e(JBe(QBe(this)))}});var i6e=Et();i6e("asyncDispose");var o6e=Et();o6e("dispose");var a6e=Et();a6e("matcher");var u6e=Et();u6e("metadata");var s6e=Et();s6e("metadataKey");var l6e=Et();l6e("observable");var c6e=Et();c6e("patternMatch");var f6e=Et();f6e("replaceAll");var p6e=Oe(),h6e=Fc(),d6e=bT(),m$=Ie(),v6e=ef(),y6e=m$.aTypedArrayConstructor,m6e=m$.exportTypedArrayStaticMethod;m6e("fromAsync",function(e){var r=this,n=arguments.length,i=n>1?arguments[1]:void 0,a=n>2?arguments[2]:void 0;return new(p6e("Promise"))(function(l){h6e(r),l(d6e(e,i,a))}).then(function(l){return v6e(y6e(r),l)})},!0);var g$=Ie(),g6e=Wt().filterReject,b6e=Wh(),w6e=g$.aTypedArray,O6e=g$.exportTypedArrayMethod;O6e("filterOut",function(e){var r=g6e(w6e(this),e,arguments.length>1?arguments[1]:void 0);return b6e(this,r)},!0);var b$=Ie(),S6e=Wt().filterReject,_6e=Wh(),P6e=b$.aTypedArray,E6e=b$.exportTypedArrayMethod;E6e("filterReject",function(e){var r=S6e(P6e(this),e,arguments.length>1?arguments[1]:void 0);return _6e(this,r)},!0);var w$=Ie(),T6e=Vb(),A6e=tf(),x6e=w$.aTypedArray,R6e=w$.exportTypedArrayMethod;R6e("groupBy",function(e){var r=arguments.length>1?arguments[1]:void 0;return T6e(x6e(this),e,r,A6e)},!0);var I6e=ST(),nA=Ie(),k6e=nA.aTypedArray,j6e=nA.exportTypedArrayMethod,q6e=nA.getTypedArrayConstructor;j6e("toReversed",function(){return I6e(k6e(this),q6e(this))});var pw=Ie(),F6e=ce(),L6e=ge(),C6e=ef(),N6e=pw.aTypedArray,D6e=pw.getTypedArrayConstructor,M6e=pw.exportTypedArrayMethod,U6e=F6e(pw.TypedArrayPrototype.sort);M6e("toSorted",function(e){e!==void 0&&L6e(e);var r=N6e(this),n=C6e(D6e(r),r);return U6e(n,e)});var iA=Ie(),B6e=ze(),G6e=Ai(),$6e=Pt(),z6e=le(),H6e=iA.aTypedArray,W6e=iA.getTypedArrayConstructor,V6e=iA.exportTypedArrayMethod,K6e=Math.max,Y6e=Math.min,X6e=!z6e(function(){var t=new Int8Array([1]),e=t.toSpliced(1,0,{valueOf:function(){return t[0]=2,3}});return e[0]!==2||e[1]!==3});V6e("toSpliced",function(e,r){var n=H6e(this),i=W6e(n),a=B6e(n),l=G6e(e,a),c=arguments.length,f=0,d,y,m,g,w;if(c===0)d=y=0;else if(c===1)d=0,y=a-l;else if(y=Y6e(K6e($6e(r),0),a-l),d=c-2,d){m=new i(d);for(var P=2;P>(-2*a&6))));return n}});var B7e=G(),N$=Oe(),D$=ce(),M$=le(),j$=He(),G7e=iu(),$7e=aA().itoc,Ws=N$("btoa"),q$=D$("".charAt),z7e=D$("".charCodeAt),F$=!!Ws&&!M$(function(){Ws()}),L$=!!Ws&&M$(function(){return Ws(null)!=="bnVsbA=="}),C$=!!Ws&&Ws.length!==1;B7e({global:!0,enumerable:!0,forced:F$||L$||C$},{btoa:function(e){if(G7e(arguments.length,1),F$||L$||C$)return Ws(j$(e));for(var r=j$(e),n="",i=0,a=$7e,l,c;q$(r,i)||(a="=",i%1);){if(c=z7e(r,i+=3/4),c>255)throw new(N$("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");l=l<<8|c,n+=q$(a,63&l>>8-i%1*8)}return n}});var H$=be(),W$=pA(),Y7e=dA(),vA=z$(),X7e=rr(),V$=function(e){if(e&&e.forEach!==vA)try{X7e(e,"forEach",vA)}catch(r){e.forEach=vA}};for(hw in W$)W$[hw]&&V$(H$[hw]&&H$[hw].prototype);var hw;V$(Y7e);var K$=be(),X$=pA(),Q7e=dA(),pd=mh(),yA=rr(),Q$=_e(),mA=Q$("iterator"),Y$=Q$("toStringTag"),gA=pd.values,J$=function(e,r){if(e){if(e[mA]!==gA)try{yA(e,mA,gA)}catch(i){e[mA]=gA}if(e[Y$]||yA(e,Y$,r),X$[r]){for(var n in pd)if(e[n]!==pd[n])try{yA(e,n,pd[n])}catch(i){e[n]=pd[n]}}}};for(dw in X$)J$(K$[dw]&&K$[dw].prototype,dw);var dw;J$(Q7e,"DOMTokenList");var i9e=G(),o9e=ez(),gw=Oe(),EA=le(),a9e=Ht(),TA=In(),bw=it().f,u9e=bt(),yw=Ko(),mw=Ue(),s9e=mn(),l9e=ie(),uz=nz(),oz=Pc(),lf=bA(),c9e=fh(),sz=at(),AA=xe(),lz=gt(),cf="DOMException",PA="DATA_CLONE_ERR",Ow=gw("Error"),Qo=gw(cf)||function(){try{var t=gw("MessageChannel")||o9e("worker_threads").MessageChannel;new t().port1.postMessage(new WeakMap)}catch(e){if(e.name==PA&&e.code==25)return e.constructor}}(),f9e=Qo&&Qo.prototype,cz=Ow.prototype,p9e=sz.set,h9e=sz.getterFor(cf),d9e="stack"in Ow(cf),fz=function(e){return mw(lf,e)&&lf[e].m?lf[e].c:0},xA=function(){s9e(this,dd);var e=arguments.length,r=oz(e<1?void 0:arguments[0]),n=oz(e<2?void 0:arguments[1],"Error"),i=fz(n);if(p9e(this,{type:cf,name:n,message:r,code:i}),AA||(this.name=n,this.message=r,this.code=i),d9e){var a=Ow(r);a.name=cf,bw(this,"stack",TA(1,c9e(a.stack,1)))}},dd=xA.prototype=a9e(cz),pz=function(e){return{enumerable:!0,configurable:!0,get:e}},wA=function(e){return pz(function(){return h9e(this)[e]})};AA&&(yw(dd,"code",wA("code")),yw(dd,"message",wA("message")),yw(dd,"name",wA("name")));bw(dd,"constructor",TA(1,xA));var Sw=EA(function(){return!(new Qo instanceof Ow)}),hz=Sw||EA(function(){return cz.toString!==uz||String(new Qo(1,2))!=="2: 1"}),dz=Sw||EA(function(){return new Qo(1,"DataCloneError").code!==25}),v9e=Sw||Qo[PA]!==25||f9e[PA]!==25,az=lz?hz||dz||v9e:Sw;i9e({global:!0,constructor:!0,forced:az},{DOMException:az?xA:Qo});var vd=gw(cf),ww=vd.prototype;hz&&(lz||Qo===vd)&&u9e(ww,"toString",uz);dz&&AA&&Qo===vd&&yw(ww,"code",pz(function(){return fz(l9e(this).name)}));for(OA in lf)mw(lf,OA)&&(SA=lf[OA],hd=SA.s,_A=TA(6,SA.c),mw(vd,hd)||bw(vd,hd,_A),mw(ww,hd)||bw(ww,hd,_A));var SA,hd,_A,OA;var y9e=G(),m9e=be(),CA=Oe(),FA=In(),LA=it().f,vz=Ue(),g9e=mn(),b9e=As(),yz=Pc(),RA=bA(),w9e=fh(),O9e=xe(),bz=gt(),md="DOMException",wz=CA("Error"),gd=CA(md),NA=function(){g9e(this,S9e);var e=arguments.length,r=yz(e<1?void 0:arguments[0]),n=yz(e<2?void 0:arguments[1],"Error"),i=new gd(r,n),a=wz(r);return a.name=md,LA(i,"stack",FA(1,w9e(a.stack,1))),b9e(i,this,NA),i},S9e=NA.prototype=gd.prototype,_9e="stack"in wz(md),P9e="stack"in new gd(1,2),IA=gd&&O9e&&Object.getOwnPropertyDescriptor(m9e,md),E9e=!!IA&&!(IA.writable&&IA.configurable),mz=_9e&&!E9e&&!P9e;y9e({global:!0,constructor:!0,forced:bz||mz},{DOMException:mz?NA:gd});var yd=CA(md),gz=yd.prototype;if(gz.constructor!==yd){bz||LA(gz,"constructor",FA(1,yd));for(kA in RA)vz(RA,kA)&&(jA=RA[kA],qA=jA.s,vz(yd,qA)||LA(yd,qA,FA(6,jA.c)))}var jA,qA,kA;var T9e=Oe(),A9e=dn(),Oz="DOMException";A9e(T9e(Oz),Oz);var x9e=G(),R9e=be(),I9e=xP(),k9e=ge(),j9e=iu(),q9e=nu(),F9e=R9e.process;x9e({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(e){j9e(arguments.length,1),k9e(e);var r=q9e&&F9e.domain;I9e(r?r.bind(e):e)}});function GA(t){"@babel/helpers - typeof";return GA=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},GA(t)}var L9e=gt(),C9e=G(),Ct=be(),Od=Oe(),Jo=ce(),Ew=le(),N9e=gs(),$A=ke(),_z=Ri(),zA=Ne(),D9e=Ga(),M9e=Te(),Pz=ie(),Ez=xi(),U9e=Ue(),B9e=io(),DA=rr(),HA=ze(),G9e=iu(),$9e=Gc(),z9e=gg(),MA=Ba(),H9e=IP(),W9e=ib(),V9e=nu(),bd=Ct.Object,Tz=Ct.Date,Sd=Ct.Error,K9e=Ct.EvalError,Y9e=Ct.RangeError,X9e=Ct.ReferenceError,Q9e=Ct.SyntaxError,Az=Ct.TypeError,J9e=Ct.URIError,Z9e=Ct.PerformanceMark,ff=Ct.WebAssembly,eGe=ff&&ff.CompileError||Sd,tGe=ff&&ff.LinkError||Sd,rGe=ff&&ff.RuntimeError||Sd,Vs=Od("DOMException"),xz=Od("Set"),_w=Od("Map"),VA=_w.prototype,Rz=Jo(VA.has),nGe=Jo(VA.get),Pw=Jo(VA.set),iGe=Jo(xz.prototype.add),oGe=Od("Object","keys"),aGe=Jo([].push),uGe=Jo((!0).valueOf),sGe=Jo(1 .valueOf),lGe=Jo("".valueOf),cGe=Jo(Tz.prototype.getTime),WA=N9e("structuredClone"),wd="DataCloneError",UA="Transferring",Iz=function(e){return!Ew(function(){var r=new Ct.Set([7]),n=e(r),i=e(bd(7));return n==r||!n.has(7)||GA(i)!="object"||i!=7})&&e},Sz=function(e,r){return!Ew(function(){var n=new r,i=e({a:n,b:n});return!(i&&i.a===i.b&&i.a instanceof r&&i.a.stack===n.stack)})},fGe=function(e){return!Ew(function(){var r=e(new Ct.AggregateError([1],WA,{cause:3}));return r.name!="AggregateError"||r.errors[0]!=1||r.message!=WA||r.cause!=3})},yu=Ct.structuredClone,pGe=L9e||!Sz(yu,Sd)||!Sz(yu,Vs)||!fGe(yu),hGe=!yu&&Iz(function(t){return new Z9e(WA,{detail:t}).detail}),vu=Iz(yu)||hGe,BA=function(e){throw new Vs("Uncloneable type: "+e,wd)},Yr=function(e,r){throw new Vs((r||"Cloning")+" of "+e+" cannot be properly polyfilled in this engine",wd)},dGe=function t(e,r){if(D9e(e)&&BA("Symbol"),!zA(e))return e;if(r){if(Rz(r,e))return nGe(r,e)}else r=new _w;var n=Ez(e),i=!1,a,l,c,f,d,y,m,g,w,P;switch(n){case"Array":c=[],i=!0;break;case"Object":c={},i=!0;break;case"Map":c=new _w,i=!0;break;case"Set":c=new xz,i=!0;break;case"RegExp":c=new RegExp(e.source,$9e(e));break;case"Error":switch(l=e.name,l){case"AggregateError":c=Od("AggregateError")([]);break;case"EvalError":c=K9e();break;case"RangeError":c=Y9e();break;case"ReferenceError":c=X9e();break;case"SyntaxError":c=Q9e();break;case"TypeError":c=Az();break;case"URIError":c=J9e();break;case"CompileError":c=eGe();break;case"LinkError":c=tGe();break;case"RuntimeError":c=rGe();break;default:c=Sd()}i=!0;break;case"DOMException":c=new Vs(e.message,e.name),i=!0;break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":a=Ct[n],zA(a)||Yr(n),c=new a(t(e.buffer,r),e.byteOffset,n==="DataView"?e.byteLength:e.length);break;case"DOMQuad":try{c=new DOMQuad(t(e.p1,r),t(e.p2,r),t(e.p3,r),t(e.p4,r))}catch(E){vu?c=vu(e):Yr(n)}break;case"FileList":if(a=Ct.DataTransfer,_z(a)){for(f=new a,d=0,y=HA(e);d92||V9e&&MA>94||H9e&&MA>97)return!1;var t=new ArrayBuffer(8),e=yu(t,{transfer:[t]});return t.byteLength!=0||e.byteLength!=8}),vGe=function(e,r){if(!zA(e))throw Az("Transfer option cannot be converted to a sequence");var n=[];M9e(e,function(w){aGe(n,Pz(w))});var i=0,a=HA(n),l,c,f,d,y,m,g;if(kz)for(d=yu(n,{transfer:n});i1&&arguments[1]!=null?Pz(arguments[1]):void 0,n=r?r.transfer:void 0,i;return n!==void 0&&(i=new _w,vGe(n,i)),dGe(e,i)}});AH();var C$e=G(),N$e=fe();C$e({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return N$e(URL.prototype.toString,this)}});sx();function Rx(t){"@babel/helpers - typeof";return Rx=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Rx(t)}var Dr=typeof globalThis!="undefined"&&globalThis||typeof self!="undefined"&&self||typeof Dr!="undefined"&&Dr,On={searchParams:"URLSearchParams"in Dr,iterable:"Symbol"in Dr&&"iterator"in Symbol,blob:"FileReader"in Dr&&"Blob"in Dr&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in Dr,arrayBuffer:"ArrayBuffer"in Dr};function D$e(t){return t&&DataView.prototype.isPrototypeOf(t)}On.arrayBuffer&&(xH=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],IH=ArrayBuffer.isView||function(t){return t&&xH.indexOf(Object.prototype.toString.call(t))>-1});var xH,IH;function jd(t){if(typeof t!="string"&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||t==="")throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function Ix(t){return typeof t!="string"&&(t=String(t)),t}function kx(t){var e={next:function(){var n=t.shift();return{done:n===void 0,value:n}}};return On.iterable&&(e[Symbol.iterator]=function(){return e}),e}function nr(t){this.map={},t instanceof nr?t.forEach(function(e,r){this.append(r,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}nr.prototype.append=function(t,e){t=jd(t),e=Ix(e);var r=this.map[t];this.map[t]=r?r+", "+e:e};nr.prototype.delete=function(t){delete this.map[jd(t)]};nr.prototype.get=function(t){return t=jd(t),this.has(t)?this.map[t]:null};nr.prototype.has=function(t){return this.map.hasOwnProperty(jd(t))};nr.prototype.set=function(t,e){this.map[jd(t)]=Ix(e)};nr.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)};nr.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),kx(t)};nr.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),kx(t)};nr.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),kx(t)};On.iterable&&(nr.prototype[Symbol.iterator]=nr.prototype.entries);function xx(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function kH(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function M$e(t){var e=new FileReader,r=kH(e);return e.readAsArrayBuffer(t),r}function U$e(t){var e=new FileReader,r=kH(e);return e.readAsText(t),r}function B$e(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n-1?e:t}function Zs(t,e){if(!(this instanceof Zs))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e=e||{};var r=e.body;if(t instanceof Zs){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new nr(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,!r&&t._bodyInit!=null&&(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",(e.headers||!this.headers)&&(this.headers=new nr(e.headers)),this.method=$$e(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),(this.method==="GET"||this.method==="HEAD")&&(e.cache==="no-store"||e.cache==="no-cache")){var n=/([?&])_=[^&]*/;if(n.test(this.url))this.url=this.url.replace(n,"$1_="+new Date().getTime());else{var i=/\?/;this.url+=(i.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}Zs.prototype.clone=function(){return new Zs(this,{body:this._bodyInit})};function z$e(t){var e=new FormData;return t.trim().split("&").forEach(function(r){if(r){var n=r.split("="),i=n.shift().replace(/\+/g," "),a=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(a))}}),e}function H$e(t){var e=new nr,r=t.replace(/\r?\n[\t ]+/g," ");return r.split("\r").map(function(n){return n.indexOf("\n")===0?n.substr(1,n.length):n}).forEach(function(n){var i=n.split(":"),a=i.shift().trim();if(a){var l=i.join(":").trim();e.append(a,l)}}),e}jH.call(Zs.prototype);function go(t,e){if(!(this instanceof go))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=e.status===void 0?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=e.statusText===void 0?"":""+e.statusText,this.headers=new nr(e.headers),this.url=e.url||"",this._initBody(t)}jH.call(go.prototype);go.prototype.clone=function(){return new go(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new nr(this.headers),url:this.url})};go.error=function(){var t=new go(null,{status:0,statusText:""});return t.type="error",t};var W$e=[301,302,303,307,308];go.redirect=function(t,e){if(W$e.indexOf(e)===-1)throw new RangeError("Invalid status code");return new go(null,{status:e,headers:{location:t}})};var Js=Dr.DOMException;try{new Js}catch(t){Js=function(r,n){this.message=r,this.name=n;var i=Error(r);this.stack=i.stack},Js.prototype=Object.create(Error.prototype),Js.prototype.constructor=Js}function qH(t,e){return new Promise(function(r,n){var i=new Zs(t,e);if(i.signal&&i.signal.aborted)return n(new Js("Aborted","AbortError"));var a=new XMLHttpRequest;function l(){a.abort()}a.onload=function(){var f={status:a.status,statusText:a.statusText,headers:H$e(a.getAllResponseHeaders()||"")};f.url="responseURL"in a?a.responseURL:f.headers.get("X-Request-URL");var d="response"in a?a.response:a.responseText;setTimeout(function(){r(new go(d,f))},0)},a.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},a.onabort=function(){setTimeout(function(){n(new Js("Aborted","AbortError"))},0)};function c(f){try{return f===""&&Dr.location.href?Dr.location.href:f}catch(d){return f}}a.open(i.method,c(i.url),!0),i.credentials==="include"?a.withCredentials=!0:i.credentials==="omit"&&(a.withCredentials=!1),"responseType"in a&&(On.blob?a.responseType="blob":On.arrayBuffer&&i.headers.get("Content-Type")&&i.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(a.responseType="arraybuffer")),e&&Rx(e.headers)==="object"&&!(e.headers instanceof nr)?Object.getOwnPropertyNames(e.headers).forEach(function(f){a.setRequestHeader(f,Ix(e.headers[f]))}):i.headers.forEach(function(f,d){a.setRequestHeader(d,f)}),i.signal&&(i.signal.addEventListener("abort",l),a.onreadystatechange=function(){a.readyState===4&&i.signal.removeEventListener("abort",l)}),a.send(typeof i._bodyInit=="undefined"?null:i._bodyInit)})}qH.polyfill=!0;Dr.fetch||(Dr.fetch=qH,Dr.Headers=nr,Dr.Request=Zs,Dr.Response=go);function jx(t){"@babel/helpers - typeof";return jx=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jx(t)}(function(t){typeof define=="function"&&define.amd?define(t):t()})(function(){"use strict";function t(x,R){if(!(x instanceof R))throw new TypeError("Cannot call a class as a function")}function e(x,R){for(var A=0;A0},t.prototype.connect_=function(){!qx||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),J$e?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){!qx||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(e){var r=e.propertyName,n=r===void 0?"":r,i=Q$e.some(function(a){return!!~n.indexOf(a)});i&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),CH=function(e,r){for(var n=0,i=Object.keys(r);n0},t}(),DH=typeof WeakMap!="undefined"?new WeakMap:new LH,MH=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=Z$e.getInstance(),n=new lze(e,r,this);DH.set(this,n)}return t}();["observe","unobserve","disconnect"].forEach(function(t){MH.prototype[t]=function(){var e;return(e=DH.get(this))[t].apply(e,arguments)}});var cze=function(){return typeof Dw.ResizeObserver!="undefined"?Dw.ResizeObserver:MH}(),UH=cze;var LCt=Ce(BH(),1);var jF={};zm(jF,{Audio:function(){return RO},AwsS3:function(){return Kq},AwsS3Multipart:function(){return $y},BasePlugin:function(){return ht},Box:function(){return ap},Compressor:function(){return Kne},Core:function(){return Apt},Dashboard:function(){return vO},DefaultStore:function(){return Vw},DragDrop:function(){return mO},DropTarget:function(){return Vk},Dropbox:function(){return up},Facebook:function(){return sp},FileInput:function(){return OO},Form:function(){return PF},GoldenRetriever:function(){return xF},GoogleDrive:function(){return fp},ImageEditor:function(){return EO},Informer:function(){return Hf},Instagram:function(){return pp},OneDrive:function(){return hp},ProgressBar:function(){return AO},ReduxDevTools:function(){return kF},ReduxStore:function(){return zY},RemoteSources:function(){return Wj},ScreenCapture:function(){return VO},StatusBar:function(){return Bf},ThumbnailGenerator:function(){return iy},Transloadit:function(){return os},Tus:function(){return Cp},UIPlugin:function(){return Ae},Unsplash:function(){return dp},Uppy:function(){return sR},Url:function(){return Sa},Webcam:function(){return JO},XHRUpload:function(){return gF},Zoom:function(){return yp},debugLogger:function(){return Ud},locales:function(){return Rpt},server:function(){return DR},views:function(){return xpt}});function GH(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function $H(t){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:21,r="",n=e;n--;)r+=bze[Math.random()*64|0];return r};var uV=Ce(Hw(),1);function Nd(t){"@babel/helpers - typeof";return Nd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Nd(t)}function AW(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Hx(t){for(var e=1;e18||i===18&&a>=18218}function Kx(t,e){return e.name?e.name:t.split("/")[0]==="image"?"".concat(t.split("/")[0],".").concat(t.split("/")[1]):"noname"}function Yx(t){return t<10?"0".concat(t):t.toString()}function Of(){var t=new Date,e=Yx(t.getHours()),r=Yx(t.getMinutes()),n=Yx(t.getSeconds());return"".concat(e,":").concat(r,":").concat(n)}var CW={debug:function(){},warn:function(){},error:function(){for(var e,r=arguments.length,n=new Array(r),i=0;i=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return a=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function THe(t,e){if(t){if(typeof t=="string")return zW(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return zW(t,e)}}function zW(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);rl)throw new fi("".concat(this.getI18n()("youCanOnlyUploadX",{smart_count:l})))}if(a){var f=r.reduce(function(g,w){var P;return g+((P=w.size)!=null?P:0)},0),d=$W(n),y;try{for(d.s();!(y=d.n()).done;){var m=y.value;if(m.size!=null&&(f+=m.size,f>a))throw new fi(this.getI18n()("exceedsSize",{size:(0,Yw.default)(a),file:m.name}))}}catch(g){d.e(g)}finally{d.f()}}}},{key:"validateSingleFile",value:function(r){var n=this.getOpts().restrictions,i=n.maxFileSize,a=n.minFileSize,l=n.allowedFileTypes;if(l){var c=l.some(function(d){return d.includes("/")?r.type?(0,KW.default)(r.type.replace(/;.*?$/,""),d):!1:d[0]==="."&&r.extension?r.extension.toLowerCase()===d.slice(1).toLowerCase():!1});if(!c){var f=l.join(", ");throw new fi(this.getI18n()("youCanOnlyUploadFileTypes",{types:f}),{file:r})}}if(i&&r.size!=null&&r.size>i)throw new fi(this.getI18n()("exceedsSize",{size:(0,Yw.default)(i),file:r.name}),{file:r});if(a&&r.size!=null&&r.size=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function JW(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function LHe(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){JW(a,n,i,l,c,"next",f)}function c(f){JW(a,n,i,l,c,"throw",f)}l(void 0)})}}function rV(t,e){var r=typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=uR(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return a=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function Qw(t){return DHe(t)||NHe(t)||uR(t)||CHe()}function CHe(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function NHe(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function DHe(t){if(Array.isArray(t))return iR(t)}function pi(t){"@babel/helpers - typeof";return pi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(t)}function ZW(t,e){return BHe(t)||UHe(t,e)||uR(t,e)||MHe()}function MHe(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function uR(t,e){if(t){if(typeof t=="string")return iR(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return iR(t,e)}}function iR(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0;i.setFileState(c.id,{progress:ue(ue({},d.progress),{},{bytesUploaded:f.bytesUploaded,bytesTotal:f.bytesTotal,percentage:y?Math.round(f.bytesUploaded/f.bytesTotal*100):0})}),i.calculateTotalProgress()},500,{leading:!0,trailing:!0}),Object.defineProperty(this,Ci,{writable:!0,value:this.updateOnlineStatus.bind(this)}),Object.defineProperty(this,Kd,{writable:!0,value:new Map}),this.defaultLocale=QW;var a={id:"uppy",autoProceed:!1,allowMultipleUploadBatches:!0,debug:!1,restrictions:YW,meta:{},onBeforeFileAdded:function(f,d){return!Object.hasOwn(d,f.id)},onBeforeUpload:function(f){return f},store:new Vw,logger:CW,infoTimeout:5e3},l=ue(ue({},a),n);this.opts=ue(ue({},l),{},{restrictions:ue(ue({},a.restrictions),n&&n.restrictions)}),n&&n.logger&&n.debug?this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.","warning"):n&&n.debug&&(this.opts.logger=Ud),this.log("Using Core v".concat(r.VERSION)),this.i18nInit(),this.store=this.opts.store,this.setState(ue(ue({},Xw),{},{plugins:{},files:{},currentUploads:{},capabilities:{uploadProgress:Vx(),individualCancellation:!0,resumableUploads:!1},meta:ue({},this.opts.meta),info:[]})),pe(this,Ln)[Ln]=new XW(function(){return i.opts},function(){return i.i18n}),pe(this,zd)[zd]=this.store.subscribe(function(c,f,d){i.emit("state-update",c,f,d),i.updateAll(f)}),this.opts.debug&&typeof window!="undefined"&&(window[this.opts.id]=this),pe(this,tR)[tR]()}return $He(r,[{key:"emit",value:function(i){for(var a,l=arguments.length,c=new Array(l>1?l-1:0),f=1;f0,isAllComplete:l===100&&P.length===f.length&&x.length===0,isAllErrored:!!c&&E.length===f.length,isAllPaused:d.length!==0&&w.length===d.length,isUploadInProgress:d.length>0,isSomeGhost:f.some(function(k){return k.isGhost})}}},{key:"validateRestrictions",value:function(i,a){a===void 0&&(a=this.getFiles());try{pe(this,Ln)[Ln].validate(a,[i])}catch(l){return l}return null}},{key:"checkIfFileAlreadyExists",value:function(i){var a=this.getState(),l=a.files;return!!(l[i]&&!l[i].isGhost)}},{key:"addFile",value:function(i){pe(this,Hd)[Hd](i);var a=pe(this,Vd)[Vd]([i]),l=a.nextFilesState,c=a.validFilesToAdd,f=a.errors,d=f.filter(function(g){return g.isRestriction});if(pe(this,Cn)[Cn](d),f.length>0)throw f[0];this.setState({files:l});var y=ZW(c,1),m=y[0];return this.emit("file-added",m),this.emit("files-added",c),this.log("Added file: ".concat(m.name,", ").concat(m.id,", mime type: ").concat(m.type)),pe(this,Wd)[Wd](),m.id}},{key:"addFiles",value:function(i){var a=this;pe(this,Hd)[Hd]();var l=pe(this,Vd)[Vd](i),c=l.nextFilesState,f=l.validFilesToAdd,d=l.errors,y=d.filter(function(P){return P.isRestriction});pe(this,Cn)[Cn](y);var m=d.filter(function(P){return!P.isRestriction});if(m.length>0){var g="Multiple errors occurred while adding files:\n";if(m.forEach(function(P){g+="\n * ".concat(P.message)}),this.info({message:this.i18n("addBulkFilesFailed",{smart_count:m.length}),details:g},"error",this.opts.infoTimeout),typeof AggregateError=="function")throw new AggregateError(m,g);var w=new Error(g);throw w.errors=m,w}this.setState({files:c}),f.forEach(function(P){a.emit("file-added",P)}),this.emit("files-added",f),f.length>5?this.log("Added batch of ".concat(f.length," files")):Object.values(f).forEach(function(P){a.log("Added file: ".concat(P.name,"\n id: ").concat(P.id,"\n type: ").concat(P.type))}),f.length>0&&pe(this,Wd)[Wd]()}},{key:"removeFiles",value:function(i,a){var l=this,c=this.getState(),f=c.files,d=c.currentUploads,y=ue({},f),m=ue({},d),g=Object.create(null);i.forEach(function(O){f[O]&&(g[O]=f[O],delete y[O])});function w(O){return g[O]===void 0}Object.keys(m).forEach(function(O){var x=d[O].fileIDs.filter(w);if(x.length===0){delete m[O];return}var R=l.getState(),A=R.capabilities;if(x.length!==d[O].fileIDs.length&&!A.individualCancellation)throw new Error("individualCancellation is disabled");m[O]=ue(ue({},d[O]),{},{fileIDs:x})});var P={currentUploads:m,files:y};Object.keys(y).length===0&&(P.allowNewUpload=!0,P.error=null,P.recoveredState=null),this.setState(P),this.calculateTotalProgress();var E=Object.keys(g);E.forEach(function(O){l.emit("file-removed",g[O],a)}),E.length>5?this.log("Removed ".concat(E.length," files")):this.log("Removed files: ".concat(E.join(", ")))}},{key:"removeFile",value:function(i,a){this.removeFiles([i],a)}},{key:"pauseResume",value:function(i){if(!(!this.getState().capabilities.resumableUploads||this.getFile(i).progress.uploadComplete)){var a=this.getFile(i).isPaused||!1,l=!a;return this.setFileState(i,{isPaused:l}),this.emit("upload-pause",i,l),l}}},{key:"pauseAll",value:function(){var i=ue({},this.getState().files),a=Object.keys(i).filter(function(l){return!i[l].progress.uploadComplete&&i[l].progress.uploadStarted});a.forEach(function(l){var c=ue(ue({},i[l]),{},{isPaused:!0});i[l]=c}),this.setState({files:i}),this.emit("pause-all")}},{key:"resumeAll",value:function(){var i=ue({},this.getState().files),a=Object.keys(i).filter(function(l){return!i[l].progress.uploadComplete&&i[l].progress.uploadStarted});a.forEach(function(l){var c=ue(ue({},i[l]),{},{isPaused:!1,error:null});i[l]=c}),this.setState({files:i}),this.emit("resume-all")}},{key:"retryAll",value:function(){var i=ue({},this.getState().files),a=Object.keys(i).filter(function(c){return i[c].error});if(a.forEach(function(c){var f=ue(ue({},i[c]),{},{isPaused:!1,error:null});i[c]=f}),this.setState({files:i,error:null}),this.emit("retry-all",a),a.length===0)return Promise.resolve({successful:[],failed:[]});var l=pe(this,ra)[ra](a,{forceAllowNewUpload:!0});return pe(this,na)[na](l)}},{key:"cancelAll",value:function(i){var a=i===void 0?{}:i,l=a.reason,c=l===void 0?"user":l;if(this.emit("cancel-all",{reason:c}),c==="user"){var f=this.getState(),d=f.files,y=Object.keys(d);y.length&&this.removeFiles(y,"cancel-all"),this.setState(Xw)}}},{key:"retryUpload",value:function(i){this.setFileState(i,{error:null,isPaused:!1}),this.emit("upload-retry",i);var a=pe(this,ra)[ra]([i],{forceAllowNewUpload:!0});return pe(this,na)[na](a)}},{key:"logout",value:function(){this.iteratePlugins(function(i){var a;(a=i.provider)==null||a.logout==null||a.logout()})}},{key:"calculateTotalProgress",value:function(){var i=this.getFiles(),a=i.filter(function(E){return E.progress.uploadStarted||E.progress.preprocess||E.progress.postprocess});if(a.length===0){this.emit("progress",0),this.setState({totalProgress:0});return}var l=a.filter(function(E){return E.progress.bytesTotal!=null}),c=a.filter(function(E){return E.progress.bytesTotal==null});if(l.length===0){var f=a.length*100,d=c.reduce(function(E,O){return E+O.progress.percentage},0),y=Math.round(d/f*100);this.setState({totalProgress:y});return}var m=l.reduce(function(E,O){var x;return E+((x=O.progress.bytesTotal)!=null?x:0)},0),g=m/l.length;m+=g*c.length;var w=0;l.forEach(function(E){w+=E.progress.bytesUploaded}),c.forEach(function(E){w+=g*(E.progress.percentage||0)/100});var P=m===0?0:Math.round(w/m*100);P>100&&(P=100),this.setState({totalProgress:P}),this.emit("progress",P)}},{key:"updateOnlineStatus",value:function(){var i,a=(i=window.navigator.onLine)!=null?i:!0;a?(this.emit("is-online"),this.wasOffline&&(this.emit("back-online"),this.info(this.i18n("connectedToInternet"),"success",3e3),this.wasOffline=!1)):(this.emit("is-offline"),this.info(this.i18n("noInternetConnection"),"error",0),this.wasOffline=!0)}},{key:"getID",value:function(){return this.opts.id}},{key:"use",value:function(i,a){if(typeof i!="function"){var l="Expected a plugin class, but got ".concat(i===null?"null":pi(i),".")+" Please verify that the plugin was imported and spelled correctly.";throw new TypeError(l)}var c=new i(this,a),f=c.id;if(!f)throw new Error("Your plugin must have an id");if(!c.type)throw new Error("Your plugin must have a type");var d=this.getPlugin(f);if(d){var y="Already found a plugin named '".concat(d.id,"'. ")+"Tried to use: '".concat(f,"'.\n")+"Uppy plugins must have unique `id` options. See https://uppy.io/docs/plugins/#id.";throw new Error(y)}return i.VERSION&&this.log("Using ".concat(f," v").concat(i.VERSION)),c.type in pe(this,Er)[Er]?pe(this,Er)[Er][c.type].push(c):pe(this,Er)[Er][c.type]=[c],c.install(),this.emit("plugin-added",c),this}},{key:"getPlugin",value:function(i){for(var a=0,l=Object.values(pe(this,Er)[Er]);a0&&this.info({message:this.i18n("additionalRestrictionsFailed",{count:f.length})})}function KHe(t){var e=pe(this,Ln)[Ln].getMissingRequiredMetaFields(t),r=e.missingFields,n=e.error;return r.length>0?(this.setFileState(t.id,{missingRequiredMetaFields:r}),this.log(n.message),this.emit("restriction-failed",t,n),!1):!0}function YHe(t){for(var e=!0,r=0,n=Object.values(t);r0?{mode:"indeterminate"}:void 0,uploadComplete:!0,percentage:100,bytesUploaded:l.bytesTotal}),response:a,uploadURL:a.uploadURL,isPaused:!1}),i.size==null&&t.setFileState(i.id,{size:a.bytesUploaded||l.bytesTotal}),t.calculateTotalProgress()}),this.on("preprocess-progress",function(i,a){if(i==null||!t.getFile(i.id)){t.log("Not setting progress for a file that has been removed: ".concat(i==null?void 0:i.id));return}t.setFileState(i.id,{progress:ue(ue({},t.getFile(i.id).progress),{},{preprocess:a})})}),this.on("preprocess-complete",function(i){if(i==null||!t.getFile(i.id)){t.log("Not setting progress for a file that has been removed: ".concat(i==null?void 0:i.id));return}var a=ue({},t.getState().files);a[i.id]=ue(ue({},a[i.id]),{},{progress:ue({},a[i.id].progress)}),delete a[i.id].progress.preprocess,t.setState({files:a})}),this.on("postprocess-progress",function(i,a){if(i==null||!t.getFile(i.id)){t.log("Not setting progress for a file that has been removed: ".concat(i==null?void 0:i.id));return}t.setFileState(i.id,{progress:ue(ue({},t.getState().files[i.id].progress),{},{postprocess:a})})}),this.on("postprocess-complete",function(i){if(i==null||!t.getFile(i.id)){t.log("Not setting progress for a file that has been removed: ".concat(i==null?void 0:i.id));return}var a=ue({},t.getState().files);a[i.id]=ue(ue({},a[i.id]),{},{progress:ue({},a[i.id].progress)}),delete a[i.id].progress.postprocess,t.setState({files:a})}),this.on("restored",function(){t.calculateTotalProgress()}),this.on("dashboard:file-edit-complete",function(i){i&&pe(t,Yd)[Yd](i)}),typeof window!="undefined"&&window.addEventListener&&(window.addEventListener("online",pe(this,Ci)[Ci]),window.addEventListener("offline",pe(this,Ci)[Ci]),setTimeout(pe(this,Ci)[Ci],3e3))}function tWe(t,e){e===void 0&&(e={});var r=e,n=r.forceAllowNewUpload,i=n===void 0?!1:n,a=this.getState(),l=a.allowNewUpload,c=a.currentUploads;if(!l&&!i)throw new Error("Cannot create a new upload: already uploading.");var f=Sn();return this.emit("upload",{id:f,fileIDs:t}),this.setState({allowNewUpload:this.opts.allowMultipleUploadBatches!==!1&&this.opts.allowMultipleUploads!==!1,currentUploads:ue(ue({},c),{},_f({},f,{fileIDs:t,step:0,result:{}}))}),f}function rWe(t){var e=this.getState(),r=e.currentUploads;return r[t]}function nWe(t){var e=ue({},this.getState().currentUploads);delete e[t],this.setState({currentUploads:e})}function iWe(t){return aR.apply(this,arguments)}function aR(){return aR=LHe(nR().mark(function t(e){var r=this,n,i,a,l,c,f,d,y,m,g,w;return nR().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:n=function(){var x=r.getState(),R=x.currentUploads;return R[e]},i=n(),a=[].concat(Qw(pe(this,rl)[rl]),Qw(pe(this,nl)[nl]),Qw(pe(this,ia)[ia])),E.prev=3,l=i.step||0;case 5:if(!(l2&&(l.children=arguments.length>3?Jd.call(arguments,2):r),typeof t=="function"&&t.defaultProps!=null)for(a in t.defaultProps)l[a]===void 0&&(l[a]=t.defaultProps[a]);return Qd(t,l,n,i,null)}function Qd(t,e,r,n,i){var a={type:t,props:e,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:i==null?++dV:i};return i==null&&je.vnode!=null&&je.vnode(a),a}function mV(){return{current:null}}function mr(t){return t.children}function ct(t,e){this.props=t,this.context=e}function Pf(t,e){if(e==null)return t.__?Pf(t.__,t.__.__k.indexOf(t)+1):null;for(var r;e0?Qd(w.type,w.props,w.key,null,w.__v):w)!=null){if(w.__=r,w.__b=r.__b+1,(g=x[y])===null||g&&w.key==g.key&&w.type===g.type)x[y]=void 0;else for(m=0;m2&&(l.children=arguments.length>3?Jd.call(arguments,2):r),Qd(t.type,l,n||t.key,i||t.ref,null)}Jd=vV.slice,je={__e:function(e,r,n,i){for(var a,l,c;r=r.__;)if((a=r.__c)&&!a.__)try{if((l=a.constructor)&&l.getDerivedStateFromError!=null&&(a.setState(l.getDerivedStateFromError(e)),c=a.__d),a.componentDidCatch!=null&&(a.componentDidCatch(e,i||{}),c=a.__d),c)return a.__E=a}catch(f){e=f}throw e}},dV=0,oWe=function(e){return e!=null&&e.constructor===void 0},ct.prototype.setState=function(t,e){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=oa({},this.state),typeof t=="function"&&(t=t(oa({},r),this.props)),t&&oa(r,t),t!=null&&this.__v&&(e&&this.__h.push(e),cV(this))},ct.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),cV(this))},ct.prototype.render=mr,Xd=[],Zw.__r=0,aWe=0;function fR(t){"@babel/helpers - typeof";return fR=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fR(t)}function Zd(t){return fR(t)!=="object"||t===null||!("nodeType"in t)?!1:t.nodeType===Node.ELEMENT_NODE}function fWe(t,e){return e===void 0&&(e=document),typeof t=="string"?e.querySelector(t):Zd(t)?t:null}var r0=fWe;function pWe(t){for(var e;t&&!t.dir;)t=t.parentNode;return(e=t)==null?void 0:e.dir}var n0=pWe;function ev(t){"@babel/helpers - typeof";return ev=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ev(t)}function EV(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ef(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function UV(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function VWe(t){for(var e=1;e=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function ZV(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Dn(t){for(var e=1;e=400&&e.status<=499&&n.message)){a.next=18;break}throw new FV(n.message);case 18:throw new YVe({statusCode:e.status,message:r});case 19:case"end":return a.stop()}},t,null,[[5,13]])})),RR.apply(this,arguments)}var sa=u0("companionHeaders"),hv=u0("getUrl"),AR=u0("requestSocketToken"),dv=u0("awaitRemoteFileUpload");aK=Symbol.for("uppy test: getCompanionHeaders");var Mn=function(t){function e(r,n){var i=this;oK(this,e),Object.defineProperty(this,dv,{value:JVe}),Object.defineProperty(this,hv,{value:QVe}),Object.defineProperty(this,sa,{writable:!0,value:void 0}),Object.defineProperty(this,AR,{writable:!0,value:function(){var a=_n(ot().mark(function c(f){var d,y,m,g,w;return ot().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(y=f.file,m=f.postBody,g=f.signal,((d=y.remote)==null?void 0:d.url)!=null){E.next=3;break}throw new Error("Cannot connect to an undefined URL");case 3:return E.next=5,i.post(y.remote.url,Dn(Dn({},y.remote.body),m),{signal:g});case 5:return w=E.sent,E.abrupt("return",w.token);case 7:case"end":return E.stop()}},c)}));function l(c){return a.apply(this,arguments)}return l}()}),this.uppy=r,this.opts=n,this.onReceiveResponse=this.onReceiveResponse.bind(this),ua(this,sa)[sa]=n==null?void 0:n.companionHeaders}return nK(e,[{key:"setCompanionHeaders",value:function(n){ua(this,sa)[sa]=n}},{key:t,value:function(){return ua(this,sa)[sa]}},{key:"hostname",get:function(){var n=this.uppy.getState(),i=n.companion,a=this.opts.companionUrl;return VVe(i&&i[a]?i[a]:a)}},{key:"headers",value:function(){var r=_n(ot().mark(function i(a){var l;return ot().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return a===void 0&&(a=!1),l=Dn({Accept:"application/json"},a?void 0:{"Content-Type":"application/json"}),f.abrupt("return",Dn(Dn({},l),ua(this,sa)[sa]));case 3:case"end":return f.stop()}},i,this)}));function n(i){return r.apply(this,arguments)}return n}()},{key:"onReceiveResponse",value:function(n){var i=n.headers,a=this.uppy.getState(),l=a.companion||{},c=this.opts.companionUrl;i.has("i-am")&&i.get("i-am")!==l[c]&&this.uppy.setState({companion:Dn(Dn({},l),{},rK({},c,i.get("i-am")))})}},{key:"request",value:function(){var r=_n(ot().mark(function i(a){var l,c,f,d,y,m,g,w;return ot().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return l=a.path,c=a.method,f=c===void 0?"GET":c,d=a.data,y=a.skipPostResponse,m=a.signal,E.prev=1,E.next=4,this.headers(!d);case 4:return g=E.sent,E.next=7,al(ua(this,hv)[hv](l),{method:f,signal:m,headers:g,credentials:this.opts.companionCookiesRule||"same-origin",body:d?JSON.stringify(d):null});case 7:return w=E.sent,y||this.onReceiveResponse(w),E.next=11,XVe(w);case 11:return E.abrupt("return",E.sent);case 14:if(E.prev=14,E.t0=E.catch(1),!(E.t0.isAuthError||E.t0.name==="UserFacingApiError"||E.t0.name==="AbortError")){E.next=18;break}throw E.t0;case 18:throw new aa("Could not ".concat(f," ").concat(ua(this,hv)[hv](l)),{cause:E.t0});case 19:case"end":return E.stop()}},i,this,[[1,14]])}));function n(i){return r.apply(this,arguments)}return n}()},{key:"get",value:function(){var r=_n(ot().mark(function i(a,l){return ot().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return typeof l=="boolean"&&(l={skipPostResponse:l}),f.abrupt("return",this.request(Dn(Dn({},l),{},{path:a})));case 2:case"end":return f.stop()}},i,this)}));function n(i,a){return r.apply(this,arguments)}return n}()},{key:"post",value:function(){var r=_n(ot().mark(function i(a,l,c){return ot().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return typeof c=="boolean"&&(c={skipPostResponse:c}),d.abrupt("return",this.request(Dn(Dn({},c),{},{path:a,method:"POST",data:l})));case 2:case"end":return d.stop()}},i,this)}));function n(i,a,l){return r.apply(this,arguments)}return n}()},{key:"delete",value:function(){var r=_n(ot().mark(function i(a,l,c){return ot().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return typeof c=="boolean"&&(c={skipPostResponse:c}),d.abrupt("return",this.request(Dn(Dn({},c),{},{path:a,method:"DELETE",data:l})));case 2:case"end":return d.stop()}},i,this)}));function n(i,a,l){return r.apply(this,arguments)}return n}()},{key:"uploadRemoteFile",value:function(){var r=_n(ot().mark(function i(a,l,c){var f=this,d,y,m,g;return ot().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return d=this,P.prev=1,y=c||{},m=y.signal,g=y.getQueue,P.next=5,a0(_n(ot().mark(function E(){var O,x,R,A;return ot().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(x=(O=f.uppy.getFile(a.id))==null?void 0:O.serverToken,x==null){C.next=4;break}return f.uppy.log("Connecting to exiting websocket ".concat(x)),C.abrupt("return",ua(f,dv)[dv]({file:a,queue:g(),signal:m}));case 4:return R=g().wrapPromiseFunction(_n(ot().mark(function k(){var j,z,B,Y=arguments;return ot().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:return X.prev=0,X.next=3,(j=ua(d,AR))[AR].apply(j,Y);case 3:return X.abrupt("return",X.sent);case 6:if(X.prev=6,X.t0=X.catch(0),!X.t0.isAuthError){X.next=10;break}throw new o0(X.t0);case 10:if(X.t0.cause!=null){X.next=12;break}throw X.t0;case 12:if(z=X.t0.cause,B=function(){return[408,409,429,418,423].includes(z.statusCode)||z.statusCode>=500&&z.statusCode<=599&&![501,505].includes(z.statusCode)},!(z.name==="HttpError"&&!B())){X.next=16;break}throw new o0(z);case 16:throw z;case 17:case"end":return X.stop()}},k,null,[[0,6]])})),{priority:-1}),C.next=7,R({file:a,postBody:l,signal:m}).abortOn(m);case 7:if(A=C.sent,f.uppy.getFile(a.id)){C.next=10;break}return C.abrupt("return",void 0);case 10:return f.uppy.setFileState(a.id,{serverToken:A}),C.abrupt("return",ua(f,dv)[dv]({file:f.uppy.getFile(a.id),queue:g(),signal:m}));case 12:case"end":return C.stop()}},E)})),{retries:uK,signal:m,onFailedAttempt:function(O){return f.uppy.log("Retrying upload due to: ".concat(O.message),"warning")}});case 5:return P.abrupt("return",P.sent);case 8:if(P.prev=8,P.t0=P.catch(1),P.t0.name!=="AbortError"){P.next=12;break}return P.abrupt("return",void 0);case 12:throw this.uppy.emit("upload-error",a,P.t0),P.t0;case 14:case"end":return P.stop()}},i,this,[[1,8]])}));function n(i,a,l){return r.apply(this,arguments)}return n}()}]),e}(aK);function QVe(t){return/^(https?:|)\/\//.test(t)?t:"".concat(this.hostname,"/").concat(t)}function JVe(t){return IR.apply(this,arguments)}function IR(){return IR=_n(ot().mark(function t(e){var r=this,n,i,a,l,c,f;return ot().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return n=e.file,i=e.queue,a=e.signal,c=this.uppy.getState(),f=c.capabilities,y.prev=2,y.next=5,new Promise(function(m,g){var w=n.serverToken,P=PR(n.remote.companionUrl),E,O,x,R=n.isPaused,A=function($,H){if(E==null||E.readyState!==E.OPEN){var K;r.uppy.log('Cannot send "'.concat($,'" to socket ').concat(n.id," because the socket state was ").concat(String((K=E)==null?void 0:K.readyState)),"warning");return}E.send(JSON.stringify({action:$,payload:H!=null?H:{}}))};function I(){f.resumableUploads&&A(R?"pause":"resume")}var C=function(){var X=_n(ot().mark(function $(){var H,K;return ot().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return K=function(){clearTimeout(x),!R&&(x=setTimeout(function(){return H(new Error("Timeout waiting for message from Companion socket"))},KVe))},O&&O.abort(),O=new AbortController,H=function(p){var v;r.uppy.setFileState(n.id,{serverToken:null}),(v=O)==null||v.abort==null||v.abort(),g(p)},o.prev=4,o.next=7,i.wrapPromiseFunction(_n(ot().mark(function u(){var p;return ot().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return p=function(){var b=_n(ot().mark(function S(){return ot().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.abrupt("return",new Promise(function(F,N){E=new WebSocket("".concat(P,"/api/").concat(w)),K(),E.addEventListener("close",function(){E=void 0,N(new Error("Socket closed unexpectedly"))}),E.addEventListener("error",function(Fe){var Ee;r.uppy.log("Companion socket error ".concat(JSON.stringify(Fe),", closing socket"),"warning"),(Ee=E)==null||Ee.close()}),E.addEventListener("open",function(){I()}),E.addEventListener("message",function(Fe){K();try{var Ee=JSON.parse(Fe.data),Re=Ee.action,Qe=Ee.payload;switch(Re){case"progress":{XV(r,Qe,r.uppy.getFile(n.id));break}case"success":{var st,Xt,pt,we,Qt=(st=Qe.response)==null?void 0:st.responseText;r.uppy.emit("upload-success",r.uppy.getFile(n.id),{uploadURL:Qe.url,status:(Xt=(pt=Qe.response)==null?void 0:pt.status)!=null?Xt:200,body:Qt?JSON.parse(Qt):void 0}),(we=O)==null||we.abort==null||we.abort(),m();break}case"error":{var kt=Qe.error.message;throw Object.assign(new Error(kt),{cause:Qe.error})}default:r.uppy.log("Companion socket unknown action ".concat(Re),"warning")}}catch(Pi){H(Pi)}});var Me=function(){r.uppy.log("Closing socket ".concat(n.id),"info"),clearTimeout(x),E&&E.close(),E=void 0};O.signal.addEventListener("abort",function(){Me()})}));case 1:case"end":return q.stop()}},S)}));return function(){return b.apply(this,arguments)}}(),h.next=3,a0(p,{retries:uK,signal:O.signal,onFailedAttempt:function(){O.signal.aborted||r.uppy.log("Retrying websocket ".concat(n.id),"info")}});case 3:case"end":return h.stop()}},u)})))().abortOn(O.signal);case 7:o.next=14;break;case 9:if(o.prev=9,o.t0=o.catch(4),!O.signal.aborted){o.next=13;break}return o.abrupt("return");case 13:H(o.t0);case 14:case"end":return o.stop()}},$,null,[[4,9]])}));return function(){return X.apply(this,arguments)}}(),k=function($){if(f.resumableUploads)if(R=$,E&&I(),$){var H;(H=O)==null||H.abort==null||H.abort()}else C()},j=function($){var H;f.individualCancellation&&$.id===n.id&&(A("cancel"),(H=O)==null||H.abort==null||H.abort(),r.uppy.log("upload ".concat(n.id," was removed"),"info"),m())},z=function($){var H,K=$.reason;K==="user"&&A("cancel"),(H=O)==null||H.abort==null||H.abort(),r.uppy.log("upload ".concat(n.id," was canceled"),"info"),m()},B=function($,H){$===n.id&&k(H)},Y=function(){return k(!0)},Q=function(){return k(!1)};r.uppy.on("file-removed",j),r.uppy.on("cancel-all",z),r.uppy.on("upload-pause",B),r.uppy.on("pause-all",Y),r.uppy.on("resume-all",Q),l=function(){r.uppy.off("file-removed",j),r.uppy.off("cancel-all",z),r.uppy.off("upload-pause",B),r.uppy.off("pause-all",Y),r.uppy.off("resume-all",Q)},a.addEventListener("abort",function(){var X;(X=O)==null||X.abort()}),C()});case 5:return y.abrupt("return",y.sent);case 6:return y.prev=6,l==null||l(),y.finish(6);case 9:case"end":return y.stop()}},t,this,[[2,,6,9]])})),IR.apply(this,arguments)}Mn.VERSION=WVe.version;function Su(t){"@babel/helpers - typeof";return Su=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Su(t)}function dt(){"use strict";dt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,u){s[o]=u.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(s,o,u){return Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(u,p,v){return u[p]=v}}function y(s,o,u,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),b=new H(p||[]);return i(h,"_invoke",{value:Y(s,u,b)}),h}function m(s,o,u){try{return{type:"normal",arg:s.call(o,u)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var g="suspendedStart",w="suspendedYield",P="executing",E="completed",O={};function x(){}function R(){}function A(){}var I={};d(I,l,function(){return this});var C=Object.getPrototypeOf,k=C&&C(C(K([])));k&&k!==r&&n.call(k,l)&&(I=k);var j=A.prototype=x.prototype=Object.create(I);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(u){return this._invoke(o,u)})})}function B(s,o){function u(v,h,b,S){var _=m(s[v],s,h);if(_.type!=="throw"){var q=_.arg,F=q.value;return F&&Su(F)=="object"&&n.call(F,"__await")?o.resolve(F.__await).then(function(N){u("next",N,b,S)},function(N){u("throw",N,b,S)}):o.resolve(F).then(function(N){q.value=N,b(q)},function(N){return u("throw",N,b,S)})}S(_.arg)}var p;i(this,"_invoke",{value:function(h,b){function S(){return new o(function(_,q){u(h,b,_,q)})}return p=p?p.then(S,S):S()}})}function Y(s,o,u){var p=g;return function(v,h){if(p===P)throw new Error("Generator is already running");if(p===E){if(v==="throw")throw h;return{value:t,done:!0}}for(u.method=v,u.arg=h;;){var b=u.delegate;if(b){var S=Q(b,u);if(S){if(S===O)continue;return S}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(p===g)throw p=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);p=P;var _=m(s,o,u);if(_.type==="normal"){if(p=u.done?E:w,_.arg===O)continue;return{value:_.arg,done:u.done}}_.type==="throw"&&(p=E,u.method="throw",u.arg=_.arg)}}}function Q(s,o){var u=o.method,p=s.iterator[u];if(p===t)return o.delegate=null,u==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||u!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+u+"' method")),O;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,O;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,O):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,O)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function K(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var u=-1,p=function v(){for(;++u=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function sK(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function s0(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&Ft(i,Mi)[Mi];){var a=Ft(i,la)[la].shift();i.send(a.action,a.payload)}},Ft(this,ar)[ar].onclose=function(){Ft(i,Mi)[Mi]=!1,Ft(i,ar)[ar]=null},Ft(this,ar)[ar].onmessage=Ft(this,NR)[NR])}},{key:"close",value:function(){var i;(i=Ft(this,ar)[ar])==null||i.close()}},{key:"send",value:function(i,a){if(!Ft(this,Mi)[Mi]){Ft(this,la)[la].push({action:i,payload:a});return}Ft(this,ar)[ar].send(JSON.stringify({action:i,payload:a}))}},{key:"on",value:function(i,a){Ft(this,ul)[ul].on(i,a)}},{key:"emit",value:function(i,a){Ft(this,ul)[ul].emit(i,a)}},{key:"once",value:function(i,a){Ft(this,ul)[ul].once(i,a)}}]),r}(gK,bK);var SI={};zm(SI,{ProviderViews:function(){return gr},SearchProviderViews:function(){return Df},defaultPickerIcon:function(){return Nf}});var UR=Ce(_K(),1);function _u(t){"@babel/helpers - typeof";return _u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_u(t)}function BR(){"use strict";BR=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,u){s[o]=u.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(s,o,u){return Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(u,p,v){return u[p]=v}}function y(s,o,u,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),b=new H(p||[]);return i(h,"_invoke",{value:Y(s,u,b)}),h}function m(s,o,u){try{return{type:"normal",arg:s.call(o,u)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var g="suspendedStart",w="suspendedYield",P="executing",E="completed",O={};function x(){}function R(){}function A(){}var I={};d(I,l,function(){return this});var C=Object.getPrototypeOf,k=C&&C(C(K([])));k&&k!==r&&n.call(k,l)&&(I=k);var j=A.prototype=x.prototype=Object.create(I);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(u){return this._invoke(o,u)})})}function B(s,o){function u(v,h,b,S){var _=m(s[v],s,h);if(_.type!=="throw"){var q=_.arg,F=q.value;return F&&_u(F)=="object"&&n.call(F,"__await")?o.resolve(F.__await).then(function(N){u("next",N,b,S)},function(N){u("throw",N,b,S)}):o.resolve(F).then(function(N){q.value=N,b(q)},function(N){return u("throw",N,b,S)})}S(_.arg)}var p;i(this,"_invoke",{value:function(h,b){function S(){return new o(function(_,q){u(h,b,_,q)})}return p=p?p.then(S,S):S()}})}function Y(s,o,u){var p=g;return function(v,h){if(p===P)throw new Error("Generator is already running");if(p===E){if(v==="throw")throw h;return{value:t,done:!0}}for(u.method=v,u.arg=h;;){var b=u.delegate;if(b){var S=Q(b,u);if(S){if(S===O)continue;return S}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(p===g)throw p=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);p=P;var _=m(s,o,u);if(_.type==="normal"){if(p=u.done?E:w,_.arg===O)continue;return{value:_.arg,done:u.done}}_.type==="throw"&&(p=E,u.method="throw",u.arg=_.arg)}}}function Q(s,o){var u=o.method,p=s.iterator[u];if(p===t)return o.delegate=null,u==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||u!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+u+"' method")),O;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,O;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,O):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,O)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function K(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var u=-1,p=function v(){for(;++u=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function PK(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function NKe(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){PK(a,n,i,l,c,"next",f)}function c(f){PK(a,n,i,l,c,"throw",f)}l(void 0)})}}function EK(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function DKe(t){for(var e=1;e0;){var a=Math.trunc(i/2),l=n+a;r(t[l],e)<=0?(n=++l,i-=a+1):i=a}return n}function _v(t){"@babel/helpers - typeof";return _v=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_v(t)}function FK(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function WKe(t){for(var e=1;e=n.priority){sl(this,ca,"f").push(i);return}var a=HR(sl(this,ca,"f"),i,function(l,c){return c.priority-l.priority});sl(this,ca,"f").splice(a,0,i)}},{key:"dequeue",value:function(){var r=sl(this,ca,"f").shift();return r==null?void 0:r.run}},{key:"filter",value:function(r){return sl(this,ca,"f").filter(function(n){return n.priority===r.priority}).map(function(n){return n.run})}},{key:"size",get:function(){return sl(this,ca,"f").length}}]),t}();ca=new WeakMap;var NK=QKe;function ur(){"use strict";ur=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,u){s[o]=u.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(s,o,u){return Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(u,p,v){return u[p]=v}}function y(s,o,u,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),b=new H(p||[]);return i(h,"_invoke",{value:Y(s,u,b)}),h}function m(s,o,u){try{return{type:"normal",arg:s.call(o,u)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var g="suspendedStart",w="suspendedYield",P="executing",E="completed",O={};function x(){}function R(){}function A(){}var I={};d(I,l,function(){return this});var C=Object.getPrototypeOf,k=C&&C(C(K([])));k&&k!==r&&n.call(k,l)&&(I=k);var j=A.prototype=x.prototype=Object.create(I);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(u){return this._invoke(o,u)})})}function B(s,o){function u(v,h,b,S){var _=m(s[v],s,h);if(_.type!=="throw"){var q=_.arg,F=q.value;return F&&Bi(F)=="object"&&n.call(F,"__await")?o.resolve(F.__await).then(function(N){u("next",N,b,S)},function(N){u("throw",N,b,S)}):o.resolve(F).then(function(N){q.value=N,b(q)},function(N){return u("throw",N,b,S)})}S(_.arg)}var p;i(this,"_invoke",{value:function(h,b){function S(){return new o(function(_,q){u(h,b,_,q)})}return p=p?p.then(S,S):S()}})}function Y(s,o,u){var p=g;return function(v,h){if(p===P)throw new Error("Generator is already running");if(p===E){if(v==="throw")throw h;return{value:t,done:!0}}for(u.method=v,u.arg=h;;){var b=u.delegate;if(b){var S=Q(b,u);if(S){if(S===O)continue;return S}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(p===g)throw p=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);p=P;var _=m(s,o,u);if(_.type==="normal"){if(p=u.done?E:w,_.arg===O)continue;return{value:_.arg,done:u.done}}_.type==="throw"&&(p=E,u.method="throw",u.arg=_.arg)}}}function Q(s,o){var u=o.method,p=s.iterator[u];if(p===t)return o.delegate=null,u==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||u!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+u+"' method")),O;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,O;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,O):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,O)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function K(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var u=-1,p=function v(){for(;++u=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function DK(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function fa(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){DK(a,n,i,l,c,"next",f)}function c(f){DK(a,n,i,l,c,"throw",f)}l(void 0)})}}function Bi(t){"@babel/helpers - typeof";return Bi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Bi(t)}function MK(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function UK(t){for(var e=1;e=1))throw new TypeError("Expected `intervalCap` to be a number from 1 and up, got `".concat((a=(i=r.intervalCap)===null||i===void 0?void 0:i.toString())!==null&&a!==void 0?a:"","` (").concat(Bi(r.intervalCap),")"));if(r.interval===void 0||!(Number.isFinite(r.interval)&&r.interval>=0))throw new TypeError("Expected `interval` to be a finite number >= 0, got `".concat((c=(l=r.interval)===null||l===void 0?void 0:l.toString())!==null&&c!==void 0?c:"","` (").concat(Bi(r.interval),")"));return Tt(vt(n),Ev,r.carryoverConcurrencyCount,"f"),Tt(vt(n),Tv,r.intervalCap===Number.POSITIVE_INFINITY||r.interval===0,"f"),Tt(vt(n),b0,r.intervalCap,"f"),Tt(vt(n),Av,r.interval,"f"),Tt(vt(n),Un,new r.queueClass,"f"),Tt(vt(n),v0,r.queueClass,"f"),n.concurrency=r.concurrency,n.timeout=r.timeout,Tt(vt(n),y0,r.throwOnTimeout===!0,"f"),Tt(vt(n),Pu,r.autoStart===!1,"f"),n}return WK(e,[{key:"concurrency",get:function(){return ve(this,xv,"f")},set:function(n){if(!(typeof n=="number"&&n>=1))throw new TypeError("Expected `concurrency` to be a number from 1 and up, got `".concat(n,"` (").concat(Bi(n),")"));Tt(this,xv,n,"f"),ve(this,Dt,"m",w0).call(this)}},{key:"add",value:function(){var r=fa(ur().mark(function i(a){var l=this,c,f=arguments;return ur().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return c=f.length>1&&f[1]!==void 0?f[1]:{},c=UK({timeout:this.timeout,throwOnTimeout:ve(this,y0,"f")},c),y.abrupt("return",new Promise(function(m,g){ve(l,Un,"f").enqueue(fa(ur().mark(function w(){var P,E,O,x,R;return ur().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:if(Tt(l,Bn,(E=ve(l,Bn,"f"),E++,E),"f"),Tt(l,Eu,(O=ve(l,Eu,"f"),O++,O),"f"),I.prev=2,!(!((P=c.signal)===null||P===void 0)&&P.aborted)){I.next=5;break}throw new ZK("The task was aborted.");case 5:return x=a({signal:c.signal}),c.timeout&&(x=zR(Promise.resolve(x),c.timeout)),c.signal&&(x=Promise.race([x,ve(l,Dt,"m",JK).call(l,c.signal)])),I.next=10,x;case 10:R=I.sent,m(R),l.emit("completed",R),I.next=22;break;case 15:if(I.prev=15,I.t0=I.catch(2),!(I.t0 instanceof $R&&!c.throwOnTimeout)){I.next=20;break}return m(),I.abrupt("return");case 20:g(I.t0),l.emit("error",I.t0);case 22:return I.prev=22,ve(l,Dt,"m",QK).call(l),I.finish(22);case 25:case"end":return I.stop()}},w,null,[[2,15,22,25]])})),c),l.emit("add"),ve(l,Dt,"m",m0).call(l)}));case 3:case"end":return y.stop()}},i,this)}));function n(i){return r.apply(this,arguments)}return n}()},{key:"addAll",value:function(){var r=fa(ur().mark(function i(a,l){var c=this;return ur().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.abrupt("return",Promise.all(a.map(function(){var y=fa(ur().mark(function m(g){return ur().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.abrupt("return",c.add(g,l));case 1:case"end":return P.stop()}},m)}));return function(m){return y.apply(this,arguments)}}())));case 1:case"end":return d.stop()}},i)}));function n(i,a){return r.apply(this,arguments)}return n}()},{key:"start",value:function(){return ve(this,Pu,"f")?(Tt(this,Pu,!1,"f"),ve(this,Dt,"m",w0).call(this),this):this}},{key:"pause",value:function(){Tt(this,Pu,!0,"f")}},{key:"clear",value:function(){Tt(this,Un,new(ve(this,v0,"f")),"f")}},{key:"onEmpty",value:function(){var r=fa(ur().mark(function i(){return ur().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(ve(this,Un,"f").size!==0){l.next=2;break}return l.abrupt("return");case 2:return l.next=4,ve(this,Dt,"m",g0).call(this,"empty");case 4:case"end":return l.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"onSizeLessThan",value:function(){var r=fa(ur().mark(function i(a){var l=this;return ur().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(!(ve(this,Un,"f").size=r.__.length&&r.__.push({__V:O0}),r.__[t]}function pa(t){return kv=1,iYe(cY,t)}function iYe(t,e,r){var n=JR(_0++,2);return n.t=t,n.__c||(n.__=[r?r(e):cY(void 0,e),function(i){var a=n.t(n.__[0],i);n.__[0]!==a&&(n.__=[a,n.__[1]],n.__c.setState({}))}],n.__c=Jr),n.__}function Oo(t,e){var r=JR(_0++,3);!je.__s&&lY(r.__H,e)&&(r.__=t,r.u=e,Jr.__H.__h.push(r))}function ll(t){return kv=5,jf(function(){return{current:t}},[])}function jf(t,e){var r=JR(_0++,7);return lY(r.__H,e)?(r.__V=t(),r.u=e,r.__h=t,r.__V):r.__}function cl(t,e){return kv=8,jf(function(){return t},e)}function oYe(){for(var t;t=sY.shift();)if(t.__P)try{t.__H.__h.forEach(S0),t.__H.__h.forEach(QR),t.__H.__h=[]}catch(e){t.__H.__h=[],je.__e(e,t.__v)}}je.__b=function(t){Jr=null,rY&&rY(t)},je.__r=function(t){nY&&nY(t),_0=0;var e=(Jr=t.__c).__H;e&&(XR===Jr?(e.__h=[],Jr.__h=[],e.__.forEach(function(r){r.__V=O0,r.u=void 0})):(e.__h.forEach(S0),e.__h.forEach(QR),e.__h=[])),XR=Jr},je.diffed=function(t){iY&&iY(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(sY.push(e)!==1&&tY===je.requestAnimationFrame||((tY=je.requestAnimationFrame)||function(r){var n,i=function(){clearTimeout(a),uY&&cancelAnimationFrame(n),setTimeout(r)},a=setTimeout(i,100);uY&&(n=requestAnimationFrame(i))})(oYe)),e.__H.__.forEach(function(r){r.u&&(r.__H=r.u),r.__V!==O0&&(r.__=r.__V),r.u=void 0,r.__V=O0})),XR=Jr=null},je.__c=function(t,e){e.some(function(r){try{r.__h.forEach(S0),r.__h=r.__h.filter(function(n){return!n.__||QR(n)})}catch(n){e.some(function(i){i.__h&&(i.__h=[])}),e=[],je.__e(n,r.__v)}}),oY&&oY(t,e)},je.unmount=function(t){aY&&aY(t);var e,r=t.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{S0(n)}catch(i){e=i}}),e&&je.__e(e,r.__v))};var uY=typeof requestAnimationFrame=="function";function S0(t){var e=Jr,r=t.__c;typeof r=="function"&&(t.__c=void 0,r()),Jr=e}function QR(t){var e=Jr;t.__c=t.__(),Jr=e}function lY(t,e){return!t||t.length!==e.length||e.some(function(r,n){return r!==t[n]})}function cY(t,e){return typeof e=="function"?e(t):e}function aYe(){return T("svg",{width:"26",height:"26",viewBox:"0 0 26 26",xmlns:"http://www.w3.org/2000/svg"},T("g",{fill:"none","fill-rule":"evenodd"},T("circle",{fill:"#FFF",cx:"13",cy:"13",r:"13"}),T("path",{d:"M21.64 13.205c0-.639-.057-1.252-.164-1.841H13v3.481h4.844a4.14 4.14 0 01-1.796 2.716v2.259h2.908c1.702-1.567 2.684-3.875 2.684-6.615z",fill:"#4285F4","fill-rule":"nonzero"}),T("path",{d:"M13 22c2.43 0 4.467-.806 5.956-2.18l-2.908-2.259c-.806.54-1.837.86-3.048.86-2.344 0-4.328-1.584-5.036-3.711H4.957v2.332A8.997 8.997 0 0013 22z",fill:"#34A853","fill-rule":"nonzero"}),T("path",{d:"M7.964 14.71A5.41 5.41 0 017.682 13c0-.593.102-1.17.282-1.71V8.958H4.957A8.996 8.996 0 004 13c0 1.452.348 2.827.957 4.042l3.007-2.332z",fill:"#FBBC05","fill-rule":"nonzero"}),T("path",{d:"M13 7.58c1.321 0 2.508.454 3.44 1.345l2.582-2.58C17.463 4.891 15.426 4 13 4a8.997 8.997 0 00-8.043 4.958l3.007 2.332C8.672 9.163 10.656 7.58 13 7.58z",fill:"#EA4335","fill-rule":"nonzero"}),T("path",{d:"M4 4h18v18H4z"})))}function uYe(t){var e=t.pluginName,r=t.i18n,n=t.onAuth,i=e==="Google Drive",a=cl(function(l){l.preventDefault(),n()},[n]);return T("form",{onSubmit:a},i?T("button",{type:"submit",className:"uppy-u-reset uppy-c-btn uppy-c-btn-primary uppy-Provider-authBtn uppy-Provider-btn-google","data-uppy-super-focusable":!0},T(aYe,null),r("signInWithGoogle")):T("button",{type:"submit",className:"uppy-u-reset uppy-c-btn uppy-c-btn-primary uppy-Provider-authBtn","data-uppy-super-focusable":!0},r("authenticateWith",{pluginName:e})))}var sYe=function(e){var r=e.pluginName,n=e.i18n,i=e.onAuth;return T(uYe,{pluginName:r,i18n:n,onAuth:i})};function ZR(t){var e=t.loading,r=t.pluginName,n=t.pluginIcon,i=t.i18n,a=t.handleAuth,l=t.renderForm,c=l===void 0?sYe:l;return T("div",{className:"uppy-Provider-auth"},T("div",{className:"uppy-Provider-authIcon"},n()),T("div",{className:"uppy-Provider-authTitle"},i("authenticateWithTitle",{pluginName:r})),T("div",{className:"uppy-Provider-authForm"},c({pluginName:r,i18n:i,loading:e,onAuth:a})))}function eI(t){var e=t.i18n,r=t.logout,n=t.username;return T(mr,null,T("span",{className:"uppy-ProviderBrowser-user",key:"username"},n),T("button",{type:"button",onClick:r,className:"uppy-u-reset uppy-c-btn uppy-ProviderBrowser-userLogout",key:"logout"},e("logOut")))}var lYe=function(e){var r=e.getFolder,n=e.title,i=e.isLast;return T(mr,null,T("button",{type:"button",className:"uppy-u-reset uppy-c-btn",onClick:r},n),i?"":" / ")};function tI(t){var e=t.getFolder,r=t.title,n=t.breadcrumbsIcon,i=t.breadcrumbs;return T("div",{className:"uppy-Provider-breadcrumbs"},T("div",{className:"uppy-Provider-breadcrumbsIcon"},n),i.map(function(a,l){return T(lYe,{key:a.id,getFolder:function(){return e(a.requestPath,a.name)},title:l===0?r:a.name,isLast:l+1===i.length})}))}function rI(t){return T(mr,null,t.showBreadcrumbs&&T(tI,{getFolder:t.getFolder,breadcrumbs:t.breadcrumbs,breadcrumbsIcon:t.pluginIcon&&t.pluginIcon(),title:t.title}),T(eI,{logout:t.logout,username:t.username,i18n:t.i18n}))}var cI=Ce(Gn(),1);function jv(t){"@babel/helpers - typeof";return jv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jv(t)}function fY(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function pY(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function yYe(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,a;for(a=0;a=0)&&(r[i]=t[i]);return r}function mYe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dY(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,n=new Array(e);rt.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&T(oI,{selected:X,done:B,cancel:z,i18n:w}))}var k0=UYe;function Ff(t){"@babel/helpers - typeof";return Ff=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ff(t)}function BYe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function SY(t,e){for(var r=0;r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return a=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function EY(t,e){if(t){if(typeof t=="string")return hI(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return hI(t,e)}}function hI(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return a=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function Ke(){"use strict";Ke=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,u){s[o]=u.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(s,o,u){return Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(u,p,v){return u[p]=v}}function y(s,o,u,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),b=new H(p||[]);return i(h,"_invoke",{value:Y(s,u,b)}),h}function m(s,o,u){try{return{type:"normal",arg:s.call(o,u)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var g="suspendedStart",w="suspendedYield",P="executing",E="completed",O={};function x(){}function R(){}function A(){}var I={};d(I,l,function(){return this});var C=Object.getPrototypeOf,k=C&&C(C(K([])));k&&k!==r&&n.call(k,l)&&(I=k);var j=A.prototype=x.prototype=Object.create(I);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(u){return this._invoke(o,u)})})}function B(s,o){function u(v,h,b,S){var _=m(s[v],s,h);if(_.type!=="throw"){var q=_.arg,F=q.value;return F&&Au(F)=="object"&&n.call(F,"__await")?o.resolve(F.__await).then(function(N){u("next",N,b,S)},function(N){u("throw",N,b,S)}):o.resolve(F).then(function(N){q.value=N,b(q)},function(N){return u("throw",N,b,S)})}S(_.arg)}var p;i(this,"_invoke",{value:function(h,b){function S(){return new o(function(_,q){u(h,b,_,q)})}return p=p?p.then(S,S):S()}})}function Y(s,o,u){var p=g;return function(v,h){if(p===P)throw new Error("Generator is already running");if(p===E){if(v==="throw")throw h;return{value:t,done:!0}}for(u.method=v,u.arg=h;;){var b=u.delegate;if(b){var S=Q(b,u);if(S){if(S===O)continue;return S}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(p===g)throw p=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);p=P;var _=m(s,o,u);if(_.type==="normal"){if(p=u.done?E:w,_.arg===O)continue;return{value:_.arg,done:u.done}}_.type==="throw"&&(p=E,u.method="throw",u.arg=_.arg)}}}function Q(s,o){var u=o.method,p=s.iterator[u];if(p===t)return o.delegate=null,u==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||u!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+u+"' method")),O;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,O;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,O):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,O)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function K(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var u=-1,p=function v(){for(;++u=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function nXe(t){return aXe(t)||oXe(t)||IY(t)||iXe()}function iXe(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function IY(t,e){if(t){if(typeof t=="string")return dI(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return dI(t,e)}}function oXe(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function aXe(t){if(Array.isArray(t))return dI(t)}function dI(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function qY(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function FY(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){qY(a,n,i,l,c,"next",f)}function c(f){qY(a,n,i,l,c,"throw",f)}l(void 0)})}}function LY(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function L0(t){for(var e=1;e1;return T("div",{className:"uppy-StatusBar-statusSecondary"},c&&l("filesUploadedOfTotal",{complete:r,smart_count:e}),T("span",{className:"uppy-StatusBar-additionalInfo"},c&&HY(),l("dataUploadedOfTotal",{complete:(0,TI.default)(n),total:(0,TI.default)(i)}),HY(),l("xTimeLeft",{time:EI(a)})))}function ZY(t){var e=t.i18n,r=t.complete,n=t.numUploads;return T("div",{className:"uppy-StatusBar-statusSecondary"},e("filesUploadedOfTotal",{complete:r,smart_count:n}))}function HXe(t){var e=t.i18n,r=t.newFiles,n=t.startUpload,i=(0,AI.default)("uppy-u-reset","uppy-c-btn","uppy-StatusBar-actionBtn","uppy-StatusBar-actionBtn--uploadNewlyAdded");return T("div",{className:"uppy-StatusBar-statusSecondary"},T("div",{className:"uppy-StatusBar-statusSecondaryHint"},e("xMoreFilesAdded",{smart_count:r})),T("button",{type:"button",className:i,"aria-label":e("uploadXFiles",{smart_count:r}),onClick:n},e("upload")))}function eX(t){var e=t.i18n,r=t.supportsUploadProgress,n=t.totalProgress,i=t.showProgressDetails,a=t.isUploadStarted,l=t.isAllComplete,c=t.isAllPaused,f=t.newFiles,d=t.numUploads,y=t.complete,m=t.totalUploadedSize,g=t.totalSize,w=t.totalETA,P=t.startUpload,E=f&&a;if(!a||l)return null;var O=e(c?"paused":"uploading");function x(){return!c&&!E&&i?r?T(zXe,{numUploads:d,complete:y,totalUploadedSize:m,totalSize:g,totalETA:w,i18n:e}):T(ZY,{i18n:e,complete:y,numUploads:d}):null}return T("div",{className:"uppy-StatusBar-content","aria-label":O,title:O},c?null:T(QY,null),T("div",{className:"uppy-StatusBar-status"},T("div",{className:"uppy-StatusBar-statusPrimary"},r?"".concat(O,": ").concat(n,"%"):O),x(),E?T(HXe,{i18n:e,newFiles:f,startUpload:P}):null))}function tX(t){var e=t.i18n;return T("div",{className:"uppy-StatusBar-content",role:"status",title:e("complete")},T("div",{className:"uppy-StatusBar-status"},T("div",{className:"uppy-StatusBar-statusPrimary"},T("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-StatusBar-statusIndicator uppy-c-icon",width:"15",height:"11",viewBox:"0 0 15 11"},T("path",{d:"M.414 5.843L1.627 4.63l3.472 3.472L13.202 0l1.212 1.213L5.1 10.528z"})),e("complete"))))}function rX(t){var e=t.error,r=t.i18n,n=t.complete,i=t.numUploads;function a(){var l="".concat(r("uploadFailed")," \n\n ").concat(e);alert(l)}return T("div",{className:"uppy-StatusBar-content",title:r("uploadFailed")},T("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-StatusBar-statusIndicator uppy-c-icon",width:"11",height:"11",viewBox:"0 0 11 11"},T("path",{d:"M4.278 5.5L0 1.222 1.222 0 5.5 4.278 9.778 0 11 1.222 6.722 5.5 11 9.778 9.778 11 5.5 6.722 1.222 11 0 9.778z"})),T("div",{className:"uppy-StatusBar-status"},T("div",{className:"uppy-StatusBar-statusPrimary"},r("uploadFailed"),T("button",{className:"uppy-u-reset uppy-StatusBar-details","aria-label":r("showErrorDetails"),"data-microtip-position":"top-right","data-microtip-size":"medium",onClick:a,type:"button"},"?")),T(ZY,{i18n:r,complete:n,numUploads:i})))}var nX=br.STATE_ERROR,iX=br.STATE_WAITING,xI=br.STATE_PREPROCESSING,D0=br.STATE_UPLOADING,RI=br.STATE_POSTPROCESSING,M0=br.STATE_COMPLETE;function U0(t){var e=t.newFiles,r=t.allowNewUpload,n=t.isUploadInProgress,i=t.isAllPaused,a=t.resumableUploads,l=t.error,c=t.hideUploadButton,f=t.hidePauseResumeButton,d=t.hideCancelButton,y=t.hideRetryButton,m=t.recoveredState,g=t.uploadState,w=t.totalProgress,P=t.files,E=t.supportsUploadProgress,O=t.hideAfterFinish,x=t.isSomeGhost,R=t.doneButtonHandler,A=t.isUploadStarted,I=t.i18n,C=t.startUpload,k=t.uppy,j=t.isAllComplete,z=t.showProgressDetails,B=t.numUploads,Y=t.complete,Q=t.totalSize,X=t.totalETA,$=t.totalUploadedSize;function H(){switch(g){case RI:case xI:{var N=Hv(P);return N.mode==="determinate"?N.value*100:w}case nX:return null;case D0:return E?w:null;default:return w}}function K(){switch(g){case RI:case xI:{var N=Hv(P),Me=N.mode;return Me==="indeterminate"}case D0:return!E;default:return!1}}function s(){if(m)return!1;switch(g){case iX:return c||e===0;case M0:return O;default:return!1}}var o=H(),u=s(),p=o!=null?o:100,v=!l&&e&&!n&&!i&&r&&!c,h=!d&&g!==iX&&g!==M0,b=a&&!f&&g===D0,S=l&&!j&&!y,_=R&&g===M0,q=(0,II.default)("uppy-StatusBar-progress",{"is-indeterminate":K()}),F=(0,II.default)("uppy-StatusBar","is-".concat(g),{"has-ghosts":x});return T("div",{className:F,"aria-hidden":u},T("div",{className:q,style:{width:"".concat(p,"%")},role:"progressbar","aria-label":"".concat(p,"%"),"aria-valuetext":"".concat(p,"%"),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":o}),function(){switch(g){case xI:case RI:return T(JY,{progress:Hv(P)});case M0:return T(tX,{i18n:I});case nX:return T(rX,{error:l,i18n:I,numUploads:B,complete:Y});case D0:return T(eX,{i18n:I,supportsUploadProgress:E,totalProgress:w,showProgressDetails:z,isUploadStarted:A,isAllComplete:j,isAllPaused:i,newFiles:e,numUploads:B,complete:Y,totalUploadedSize:$,totalSize:Q,totalETA:X,startUpload:C});default:return null}}(),T("div",{className:"uppy-StatusBar-actions"},m||v?T(WY,{newFiles:e,isUploadStarted:A,recoveredState:m,i18n:I,isSomeGhost:x,startUpload:C,uploadState:g}):null,S?T(VY,{i18n:I,uppy:k}):null,b?T(YY,{isAllPaused:i,i18n:I,isAllComplete:j,resumableUploads:a,uppy:k}):null,h?T(KY,{i18n:I,uppy:k}):null,_?T(XY,{i18n:I,doneButtonHandler:R}):null))}U0.defaultProps={doneButtonHandler:void 0,hideAfterFinish:!1,hideCancelButton:!1,hidePauseResumeButton:!1,hideRetryButton:!1,hideUploadButton:void 0,showProgressDetails:void 0};var oX={strings:{uploading:"Uploading",complete:"Complete",uploadFailed:"Upload failed",paused:"Paused",retry:"Retry",cancel:"Cancel",pause:"Pause",resume:"Resume",done:"Done",filesUploadedOfTotal:{0:"%{complete} of %{smart_count} file uploaded",1:"%{complete} of %{smart_count} files uploaded"},dataUploadedOfTotal:"%{complete} of %{total}",xTimeLeft:"%{time} left",uploadXFiles:{0:"Upload %{smart_count} file",1:"Upload %{smart_count} files"},uploadXNewFiles:{0:"Upload +%{smart_count} file",1:"Upload +%{smart_count} files"},upload:"Upload",retryUpload:"Retry upload",xMoreFilesAdded:{0:"%{smart_count} more file added",1:"%{smart_count} more files added"},showErrorDetails:"Show error details"}};function Mf(t){"@babel/helpers - typeof";return Mf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mf(t)}function aX(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function uX(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function OQe(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,a;for(a=0;a=0)&&(r[i]=t[i]);return r}function SQe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yX(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function Qf(t){return KQe(t)||VQe(t)||XI(t)||WQe()}function WQe(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function VQe(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function KQe(t){if(Array.isArray(t))return BI(t)}function gi(t,e){return QQe(t)||XQe(t,e)||XI(t,e)||YQe()}function YQe(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function XQe(t,e){var r=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,a,l,c=[],f=!0,d=!1;try{if(a=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;f=!1}else for(;!(f=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);f=!0);}catch(y){d=!0,i=y}finally{try{if(!f&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(d)throw i}}return c}}function QQe(t){if(Array.isArray(t))return t}function ft(t,e){var r=typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=XI(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return a=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function XI(t,e){if(t){if(typeof t=="string")return BI(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return BI(t,e)}}function BI(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;if($r(this,t),typeof i=="boolean"&&(this.le=i),Array.isArray(e)&&(e=new Uint8Array(e)),e===0)this.byteOffset=0,this.byteLength=0;else if(e instanceof ArrayBuffer){n===void 0&&(n=e.byteLength-r);var a=new DataView(e,r,n);this._swapDataView(a)}else if(e instanceof Uint8Array||e instanceof DataView||e instanceof t){n===void 0&&(n=e.byteLength-r),(r+=e.byteOffset)+n>e.byteOffset+e.byteLength&&wr("Creating view outside of available memory in ArrayBuffer");var l=new DataView(e.buffer,r,n);this._swapDataView(l)}else if(typeof e=="number"){var c=new DataView(new ArrayBuffer(e));this._swapDataView(c)}else wr("Invalid input argument for BufferView: "+e)}return zr(t,[{key:"_swapArrayBuffer",value:function(r){this._swapDataView(new DataView(r))}},{key:"_swapBuffer",value:function(r){this._swapDataView(new DataView(r.buffer,r.byteOffset,r.byteLength))}},{key:"_swapDataView",value:function(r){this.dataView=r,this.buffer=r.buffer,this.byteOffset=r.byteOffset,this.byteLength=r.byteLength}},{key:"_lengthToEnd",value:function(r){return this.byteLength-r}},{key:"set",value:function(r,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:t;return r instanceof DataView||r instanceof t?r=new Uint8Array(r.buffer,r.byteOffset,r.byteLength):r instanceof ArrayBuffer&&(r=new Uint8Array(r)),r instanceof Uint8Array||wr("BufferView.set(): Invalid data argument."),this.toUint8().set(r,n),new i(this,n,r.byteLength)}},{key:"subarray",value:function(r,n){return n=n||this._lengthToEnd(r),new t(this,r,n)}},{key:"toUint8",value:function(){return new Uint8Array(this.buffer,this.byteOffset,this.byteLength)}},{key:"getUint8Array",value:function(r,n){return new Uint8Array(this.buffer,this.byteOffset+r,n)}},{key:"getString",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.byteLength,i=this.getUint8Array(r,n);return a=i,AX?AX.decode(a):KX?Buffer.from(a).toString("utf8"):decodeURIComponent(escape(CI(a)));var a}},{key:"getLatin1String",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.byteLength,i=this.getUint8Array(r,n);return CI(i)}},{key:"getUnicodeString",value:function(){for(var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.byteLength,i=[],a=0;a1&&arguments[1]!==void 0?arguments[1]:this.le;return this.dataView.getInt16(r,n)}},{key:"getInt32",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.le;return this.dataView.getInt32(r,n)}},{key:"getUint16",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.le;return this.dataView.getUint16(r,n)}},{key:"getUint32",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.le;return this.dataView.getUint32(r,n)}},{key:"getFloat32",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.le;return this.dataView.getFloat32(r,n)}},{key:"getFloat64",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.le;return this.dataView.getFloat64(r,n)}},{key:"getFloat",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.le;return this.dataView.getFloat32(r,n)}},{key:"getDouble",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.le;return this.dataView.getFloat64(r,n)}},{key:"getUintBytes",value:function(r,n,i){switch(n){case 1:return this.getUint8(r,i);case 2:return this.getUint16(r,i);case 4:return this.getUint32(r,i);case 8:return this.getUint64&&this.getUint64(r,i)}}},{key:"getUint",value:function(r,n,i){switch(n){case 8:return this.getUint8(r,i);case 16:return this.getUint16(r,i);case 32:return this.getUint32(r,i);case 64:return this.getUint64&&this.getUint64(r,i)}}},{key:"toString",value:function(r){return this.dataView.toString(r,this.constructor.name)}},{key:"ensureChunk",value:function(){}}],[{key:"from",value:function(r,n){return r instanceof this&&r.le===n?r:new t(r,void 0,void 0,n)}}]),t}();function GI(t,e){wr("".concat(t," '").concat(e,"' was not loaded, try using full build of exifr."))}var JI=function(t){To(e,t);function e(r){var n;return $r(this,e),n=Eo(this,e),n.kind=r,n}return zr(e,[{key:"get",value:function(n,i){return this.has(n)||GI(this.kind,n),i&&(n in i||function(a,l){wr("Unknown ".concat(a," '").concat(l,"'."))}(this.kind,n),i[n].enabled||GI(this.kind,n)),pl(Po(e.prototype),"get",this).call(this,n)}},{key:"keyList",value:function(){return Array.from(this.keys())}}]),e}(V0(Map)),Q0=new JI("file parser"),Hn=new JI("segment parser"),ty=new JI("file reader"),nJe=WX.fetch;function xX(t,e){return(r=t).startsWith("data:")||r.length>1e4?HI(t,e,"base64"):EX&&t.includes("://")?$I(t,e,"url",Y0):EX?HI(t,e,"fs"):Iu?$I(t,e,"url",Y0):void wr("Invalid input argument");var r}function $I(t,e,r,n){return zI.apply(this,arguments)}function zI(){return zI=rt(ye().mark(function t(e,r,n,i){return ye().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",ty.has(n)?HI(e,r,n):i?function(){var c=rt(ye().mark(function f(d,y){var m;return ye().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return w.next=2,y(d);case 2:return m=w.sent,w.abrupt("return",new Jv(m));case 4:case"end":return w.stop()}},f)}));return function(f,d){return c.apply(this,arguments)}}()(e,i):void wr("Parser ".concat(n," is not loaded")));case 1:case"end":return l.stop()}},t)})),zI.apply(this,arguments)}function HI(t,e,r){return WI.apply(this,arguments)}function WI(){return WI=rt(ye().mark(function t(e,r,n){var i;return ye().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return i=new(ty.get(n))(e,r),l.next=3,i.read();case 3:return l.abrupt("return",i);case 4:case"end":return l.stop()}},t)})),WI.apply(this,arguments)}var Y0=function(e){return nJe(e).then(function(r){return r.arrayBuffer()})},Zv=function(e){return new Promise(function(r,n){var i=new FileReader;i.onloadend=function(){return r(i.result||new ArrayBuffer)},i.onerror=n,i.readAsArrayBuffer(e)})},iJe=function(t){To(e,t);function e(){return $r(this,e),Eo(this,e,arguments)}return zr(e,[{key:"tagKeys",get:function(){return this.allKeys||(this.allKeys=Array.from(this.keys())),this.allKeys}},{key:"tagValues",get:function(){return this.allValues||(this.allValues=Array.from(this.values())),this.allValues}}]),e}(V0(Map));function XX(t,e,r){var n=new iJe,i=ft(r),a;try{for(i.s();!(a=i.n()).done;){var l=gi(a.value,2),c=l[0],f=l[1];n.set(c,f)}}catch(g){i.e(g)}finally{i.f()}if(Array.isArray(e)){var d=ft(e),y;try{for(d.s();!(y=d.n()).done;){var m=y.value;t.set(m,n)}}catch(g){d.e(g)}finally{d.f()}}else t.set(e,n);return n}function QX(t,e,r){var n,i=t.get(e),a=ft(r),l;try{for(a.s();!(l=a.n()).done;)n=l.value,i.set(n[0],n[1])}catch(c){a.e(c)}finally{a.f()}}var ry=new Map,ZI=new Map,ek=new Map,Wf=["chunked","firstChunkSize","firstChunkSizeNode","firstChunkSizeBrowser","chunkSize","chunkLimit"],J0=["jfif","xmp","icc","iptc","ihdr"],ey=["tiff"].concat(J0),Vt=["ifd0","ifd1","exif","gps","interop"],Vf=[].concat(Qf(ey),Vt),Kf=["makerNote","userComment"],Z0=["translateKeys","translateValues","reviveValues","multiSegment"],Yf=[].concat(Z0,["sanitize","mergeOutput","silentErrors"]),JX=function(){function t(){$r(this,t)}return zr(t,[{key:"translate",get:function(){return this.translateKeys||this.translateValues||this.reviveValues}}]),t}(),Kv=function(t){To(e,t);function e(r,n,i,a){var l;if($r(this,e),l=Eo(this,e),nt(zn(l),"enabled",!1),nt(zn(l),"skip",new Set),nt(zn(l),"pick",new Set),nt(zn(l),"deps",new Set),nt(zn(l),"translateKeys",!1),nt(zn(l),"translateValues",!1),nt(zn(l),"reviveValues",!1),l.key=r,l.enabled=n,l.parse=l.enabled,l.applyInheritables(a),l.canBeFiltered=Vt.includes(r),l.canBeFiltered&&(l.dict=ry.get(r)),i!==void 0)if(Array.isArray(i))l.parse=l.enabled=!0,l.canBeFiltered&&i.length>0&&l.translateTagSet(i,l.pick);else if(bi(i)=="object"){if(l.enabled=!0,l.parse=i.parse!==!1,l.canBeFiltered){var c=i.pick,f=i.skip;c&&c.length>0&&l.translateTagSet(c,l.pick),f&&f.length>0&&l.translateTagSet(f,l.skip)}l.applyInheritables(i)}else i===!0||i===!1?l.parse=l.enabled=i:wr("Invalid options argument: ".concat(i));return zX(l)}return zr(e,[{key:"needed",get:function(){return this.enabled||this.deps.size>0}},{key:"applyInheritables",value:function(n){for(var i,a,l=0,c=Z0;l0?(this.enabled=!0,X0(this.pick,this.deps)):this.enabled&&this.pick.size>0&&X0(this.pick,this.deps)}}]),e}(JX),en={jfif:!1,tiff:!0,xmp:!1,icc:!1,iptc:!1,ifd0:!0,ifd1:!1,exif:!0,gps:!0,interop:!1,ihdr:void 0,makerNote:!1,userComment:!1,multiSegment:!1,skip:[],pick:[],translateKeys:!0,translateValues:!0,reviveValues:!0,sanitize:!0,mergeOutput:!0,silentErrors:!0,chunked:!0,firstChunkSize:void 0,firstChunkSizeNode:512,firstChunkSizeBrowser:65536,chunkSize:65536,chunkLimit:5},RX=new Map,ny=function(t){To(e,t);function e(r){var n;return $r(this,e),n=Eo(this,e),r===!0?n.setupFromTrue():r===void 0?n.setupFromUndefined():Array.isArray(r)?n.setupFromArray(r):bi(r)=="object"?n.setupFromObject(r):wr("Invalid options argument ".concat(r)),n.firstChunkSize===void 0&&(n.firstChunkSize=Iu?n.firstChunkSizeBrowser:n.firstChunkSizeNode),n.mergeOutput&&(n.ifd1.enabled=!1),n.filterNestedSegmentTags(),n.traverseTiffDependencyTree(),n.checkLoadedPlugins(),n}return zr(e,[{key:"setupFromUndefined",value:function(){for(var n,i=0,a=Wf;i3&&arguments[3]!==void 0?arguments[3]:a;if(n&&n.length){var c=ft(l),f;try{for(c.s();!(f=c.n()).done;){var d=f.value;this[d].enabled=!1}}catch(k){c.e(k)}finally{c.f()}var y=IX(n,a),m=ft(y),g;try{for(m.s();!(g=m.n()).done;){var w=gi(g.value,2),P=w[0],E=w[1];X0(this[P].pick,E),this[P].enabled=!0}}catch(k){m.e(k)}finally{m.f()}}else if(i&&i.length){var O=IX(i,a),x=ft(O),R;try{for(x.s();!(R=x.n()).done;){var A=gi(R.value,2),I=A[0],C=A[1];X0(this[I].skip,C)}}catch(k){x.e(k)}finally{x.f()}}}},{key:"filterNestedSegmentTags",value:function(){var n=this.ifd0,i=this.exif,a=this.xmp,l=this.iptc,c=this.icc;this.makerNote?i.deps.add(37500):i.skip.add(37500),this.userComment?i.deps.add(37510):i.skip.add(37510),a.enabled||n.skip.add(700),l.enabled||n.skip.add(33723),c.enabled||n.skip.add(34675)}},{key:"traverseTiffDependencyTree",value:function(){var n=this,i=this.ifd0,a=this.exif,l=this.gps,c=this.interop;c.needed&&(a.deps.add(40965),i.deps.add(40965)),a.needed&&i.deps.add(34665),l.needed&&i.deps.add(34853),this.tiff.enabled=Vt.some(function(m){return n[m].enabled===!0})||this.makerNote||this.userComment;for(var f=0,d=Vt;f0&&(i.errors=a),f.abrupt("return",YX(l=i)?void 0:l);case 13:case"end":return f.stop()}},n,this)}));function r(){return e.apply(this,arguments)}return r}()},{key:"executeParsers",value:function(){var e=rt(ye().mark(function n(){var i=this,a,l;return ye().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return a=this.output,f.next=3,this.fileParser.parse();case 3:return l=Object.values(this.parsers).map(function(){var d=rt(ye().mark(function y(m){var g;return ye().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return P.next=2,m.parse();case 2:g=P.sent,m.assignToOutput(a,g);case 4:case"end":return P.stop()}},y)}));return function(y){return d.apply(this,arguments)}}()),this.options.silentErrors&&(l=l.map(function(d){return d.catch(i.pushToErrors)})),f.next=7,Promise.all(l);case 7:case"end":return f.stop()}},n,this)}));function r(){return e.apply(this,arguments)}return r}()},{key:"extractThumbnail",value:function(){var e=rt(ye().mark(function n(){var i,a,l,c,f,d,y;return ye().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(this.setup(),i=this.options,a=this.file,l=Hn.get("tiff",i),!a.tiff){g.next=6;break}c={start:0,type:"tiff"},g.next=11;break;case 6:if(g.t0=a.jpeg,!g.t0){g.next=11;break}return g.next=10,this.fileParser.getOrFindSegment("tiff");case 10:c=g.sent;case 11:if(c!==void 0){g.next=13;break}return g.abrupt("return");case 13:return g.next=15,this.fileParser.ensureSegmentChunk(c);case 15:return f=g.sent,d=this.parsers.tiff=new l(f,i,a),g.next=19,d.extractThumbnail();case 19:return y=g.sent,g.abrupt("return",(a.close&&a.close(),y));case 21:case"end":return g.stop()}},n,this)}));function r(){return e.apply(this,arguments)}return r}()}]),t}();function ZX(t,e){return VI.apply(this,arguments)}function VI(){return VI=rt(ye().mark(function t(e,r){var n;return ye().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return n=new eO(r),a.next=3,n.read(e);case 3:return a.abrupt("return",n.parse());case 4:case"end":return a.stop()}},t)})),VI.apply(this,arguments)}var oJe=Object.freeze({__proto__:null,parse:ZX,Exifr:eO,fileParsers:Q0,segmentParsers:Hn,fileReaders:ty,tagKeys:ry,tagValues:ZI,tagRevivers:ek,createDictionary:XX,extendDictionary:QX,fetchUrlAsArrayBuffer:Y0,readBlobAsArrayBuffer:Zv,chunkedProps:Wf,otherSegments:J0,segments:ey,tiffBlocks:Vt,segmentsAndBlocks:Vf,tiffExtractables:Kf,inheritables:Z0,allFormatters:Yf,Options:ny}),Xf=function(){function t(e){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;$r(this,t),nt(this,"errors",[]),nt(this,"raw",new Map),nt(this,"handleError",function(a){if(!r.options.silentErrors)throw a;r.errors.push(a.message)}),this.chunk=this.normalizeInput(e),this.file=i,this.type=this.constructor.type,this.globalOptions=this.options=n,this.localOptions=n[this.type],this.canTranslate=this.localOptions&&this.localOptions.translate}return zr(t,[{key:"normalizeInput",value:function(r){return r instanceof Jv?r:new Jv(r)}},{key:"translate",value:function(){this.canTranslate&&(this.translated=this.translateBlock(this.raw,this.type))}},{key:"output",get:function(){return this.translated?this.translated:this.raw?Object.fromEntries(this.raw):void 0}},{key:"translateBlock",value:function(r,n){var i=ek.get(n),a=ZI.get(n),l=ry.get(n),c=this.options[n],f=c.reviveValues&&!!i,d=c.translateValues&&!!a,y=c.translateKeys&&!!l,m={},g=ft(r),w;try{for(g.s();!(w=g.n()).done;){var P=gi(w.value,2),E=P[0],O=P[1];f&&i.has(E)?O=i.get(E)(O):d&&a.has(E)&&(O=this.translateValue(O,a.get(E))),y&&l.has(E)&&(E=l.get(E)||E),m[E]=O}}catch(x){g.e(x)}finally{g.f()}return m}},{key:"translateValue",value:function(r,n){return n[r]||n.DEFAULT||r}},{key:"assignToOutput",value:function(r,n){this.assignObjectToOutput(r,this.constructor.type,n)}},{key:"assignObjectToOutput",value:function(r,n,i){if(this.globalOptions.mergeOutput)return Object.assign(r,i);r[n]?Object.assign(r[n],i):r[n]=i}}],[{key:"findPosition",value:function(r,n){var i=r.getUint16(n+2)+2,a=typeof this.headerLength=="function"?this.headerLength(r,n,i):this.headerLength,l=n+a,c=i-a;return{offset:n,length:i,headerLength:a,start:l,size:c,end:l+c}}},{key:"parse",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new this(r,new ny(HQe({},this.type,n)),r).parse()}}]),t}();nt(Xf,"headerLength",4),nt(Xf,"type",void 0),nt(Xf,"multiSegment",!1),nt(Xf,"canHandle",function(){return!1});function aJe(t){return t===192||t===194||t===196||t===219||t===221||t===218||t===254}function uJe(t){return t>=224&&t<=239}function sJe(t,e,r){var n=ft(Hn),i;try{for(n.s();!(i=n.n()).done;){var a=gi(i.value,2),l=a[0],c=a[1];if(c.canHandle(t,e,r))return l}}catch(f){n.e(f)}finally{n.f()}}var kX=function(t){To(e,t);function e(){var r;$r(this,e);for(var n=arguments.length,i=new Array(n),a=0;a0&&E[0]!==void 0?E[0]:0,c=E.length>1?E[1]:void 0,this.setupSegmentFinderArgs(c),f=this.file,d=this.findAll,y=this.wanted,m=this.remaining,x.t0=!d&&this.file.chunked,!x.t0){x.next=11;break}if(d=Array.from(y).some(function(R){var A=Hn.get(R),I=a.options[R];return A.multiSegment&&I.multiSegment}),x.t1=d,!x.t1){x.next=11;break}return x.next=11,this.file.readWhole();case 11:if(l=this.findAppSegmentsInRange(l,f.byteLength),!(!this.options.onlyTiff&&f.chunked)){x.next=30;break}g=!1;case 14:if(!(m.size>0&&!g&&(f.canReadNextChunk||this.unfinishedMultiSegment))){x.next=30;break}if(w=f.nextChunkOffset,P=this.appSegments.some(function(R){return!a.file.available(R.offset||R.start,R.length||R.size)}),!(l>w&&!P)){x.next=22;break}return x.next=19,f.readNextChunk(l);case 19:x.t2=!x.sent,x.next=25;break;case 22:return x.next=24,f.readNextChunk(w);case 24:x.t2=!x.sent;case 25:if(g=x.t2,(l=this.findAppSegmentsInRange(l,f.byteLength))!==void 0){x.next=28;break}return x.abrupt("return");case 28:x.next=14;break;case 30:case"end":return x.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"findAppSegmentsInRange",value:function(n,i){i-=2;for(var a,l,c,f,d,y,m=this.file,g=this.findAll,w=this.wanted,P=this.remaining,E=this.options;nf+d?c.chunk=i.file.subarray(f,d):c.size===void 0?c.chunk=i.file.subarray(f):wr("Segment unreachable: "+JSON.stringify(c));case 18:return m.abrupt("return",c.chunk);case 19:case"end":return m.stop()}},l,null,[[6,12]])}));return function(l){return a.apply(this,arguments)}}()),this.extendOptions&&this.extendOptions(e),this.options=e,this.file=r,this.parsers=n}return zr(t,[{key:"injectSegment",value:function(r,n){this.options[r].enabled&&this.createParser(r,n)}},{key:"createParser",value:function(r,n){var i=new(Hn.get(r))(n,this.options,this.file);return this.parsers[r]=i}},{key:"createParsers",value:function(r){var n=ft(r),i;try{for(n.s();!(i=n.n()).done;){var a=i.value,l=a.type,c=a.chunk,f=this.options[l];if(f&&f.enabled){var d=this.parsers[l];d&&d.append||d||this.createParser(l,c)}}}catch(y){n.e(y)}finally{n.f()}}},{key:"readSegments",value:function(){var e=rt(ye().mark(function n(i){var a;return ye().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return a=i.map(this.ensureSegmentChunk),c.next=3,Promise.all(a);case 3:case"end":return c.stop()}},n,this)}));function r(n){return e.apply(this,arguments)}return r}()}]),t}());nt(kX,"type","jpeg"),Q0.set("jpeg",kX);var lJe=[void 0,1,1,2,4,8,1,1,2,4,8,4,8,4],cJe=function(t){To(e,t);function e(){return $r(this,e),Eo(this,e,arguments)}return zr(e,[{key:"parseHeader",value:function(){var n=this.chunk.getUint16();n===18761?this.le=!0:n===19789&&(this.le=!1),this.chunk.le=this.le,this.headerParsed=!0}},{key:"parseTags",value:function(n,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new Map,l=this.options[i],c=l.pick,f=l.skip;c=new Set(c);var d=c.size>0,y=f.size===0,m=this.chunk.getUint16(n);n+=2;for(var g=0;g13)&&wr("Invalid TIFF value type. block: ".concat(a.toUpperCase(),", tag: ").concat(i.toString(16),", type: ").concat(c,", offset ").concat(n)),n>l.byteLength&&wr("Invalid TIFF value offset. block: ".concat(a.toUpperCase(),", tag: ").concat(i.toString(16),", type: ").concat(c,", offset ").concat(n," is outside of chunk size ").concat(l.byteLength)),c===1)return l.getUint8Array(n,f);if(c===2)return(y=function(P){for(;P.endsWith("\0");)P=P.slice(0,-1);return P}(y=l.getString(n,f)).trim())===""?void 0:y;var y;if(c===7)return l.getUint8Array(n,f);if(f===1)return this.parseTagValue(c,n);{for(var m=new(function(P){switch(P){case 1:return Uint8Array;case 3:return Uint16Array;case 4:return Uint32Array;case 5:return Array;case 6:return Int8Array;case 8:return Int16Array;case 9:return Int32Array;case 10:return Array;case 11:return Float32Array;case 12:return Float64Array;default:return Array}}(c))(f),g=d,w=0;wa.byteLength&&wr("IFD0 offset points to outside of file.\nthis.ifd0Offset: ".concat(this.ifd0Offset,", file.byteLength: ").concat(a.byteLength)),f.t0=a.tiff,!f.t0){f.next=10;break}return f.next=10,a.ensureChunk(this.ifd0Offset,TX(this.options));case 10:return l=this.parseBlock(this.ifd0Offset,"ifd0"),f.abrupt("return",l.size!==0?(this.exifOffset=l.get(34665),this.interopOffset=l.get(40965),this.gpsOffset=l.get(34853),this.xmp=l.get(700),this.iptc=l.get(33723),this.icc=l.get(34675),this.options.sanitize&&(l.delete(34665),l.delete(40965),l.delete(34853),l.delete(700),l.delete(33723),l.delete(34675)),l):void 0);case 12:case"end":return f.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"parseExifBlock",value:function(){var r=rt(ye().mark(function i(){var a;return ye().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(!this.exif){c.next=2;break}return c.abrupt("return");case 2:if(c.t0=this.ifd0,c.t0){c.next=6;break}return c.next=6,this.parseIfd0Block();case 6:if(this.exifOffset!==void 0){c.next=8;break}return c.abrupt("return");case 8:if(c.t1=this.file.tiff,!c.t1){c.next=12;break}return c.next=12,this.file.ensureChunk(this.exifOffset,TX(this.options));case 12:return a=this.parseBlock(this.exifOffset,"exif"),c.abrupt("return",(this.interopOffset||(this.interopOffset=a.get(40965)),this.makerNote=a.get(37500),this.userComment=a.get(37510),this.options.sanitize&&(a.delete(40965),a.delete(37500),a.delete(37510)),this.unpack(a,41728),this.unpack(a,41729),a));case 14:case"end":return c.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"unpack",value:function(n,i){var a=n.get(i);a&&a.length===1&&n.set(i,a[0])}},{key:"parseGpsBlock",value:function(){var r=rt(ye().mark(function i(){var a;return ye().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(!this.gps){c.next=2;break}return c.abrupt("return");case 2:if(c.t0=this.ifd0,c.t0){c.next=6;break}return c.next=6,this.parseIfd0Block();case 6:if(this.gpsOffset!==void 0){c.next=8;break}return c.abrupt("return");case 8:return a=this.parseBlock(this.gpsOffset,"gps"),c.abrupt("return",(a&&a.has(2)&&a.has(4)&&(a.set("latitude",jX.apply(void 0,Qf(a.get(2)).concat([a.get(1)]))),a.set("longitude",jX.apply(void 0,Qf(a.get(4)).concat([a.get(3)])))),a));case 10:case"end":return c.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"parseInteropBlock",value:function(){var r=rt(ye().mark(function i(){return ye().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(l.t0=!this.interop,!l.t0){l.next=11;break}if(l.t1=this.ifd0,l.t1){l.next=6;break}return l.next=6,this.parseIfd0Block();case 6:if(l.t2=this.interopOffset!==void 0||this.exif,l.t2){l.next=10;break}return l.next=10,this.parseExifBlock();case 10:l.t0=this.interopOffset!==void 0;case 11:if(!l.t0){l.next=13;break}return l.abrupt("return",this.parseBlock(this.interopOffset,"interop"));case 13:case"end":return l.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"parseThumbnailBlock",value:function(){var r=rt(ye().mark(function i(){var a,l=arguments;return ye().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(a=l.length>0&&l[0]!==void 0?l[0]:!1,!(!this.ifd1&&!this.ifd1Parsed&&(!this.options.mergeOutput||a))){f.next=3;break}return f.abrupt("return",(this.findIfd1Offset(),this.ifd1Offset>0&&(this.parseBlock(this.ifd1Offset,"ifd1"),this.ifd1Parsed=!0),this.ifd1));case 3:case"end":return f.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"extractThumbnail",value:function(){var r=rt(ye().mark(function i(){var a,l;return ye().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(this.headerParsed||this.parseHeader(),f.t0=this.ifd1Parsed,f.t0){f.next=5;break}return f.next=5,this.parseThumbnailBlock(!0);case 5:if(this.ifd1!==void 0){f.next=7;break}return f.abrupt("return");case 7:return a=this.ifd1.get(513),l=this.ifd1.get(514),f.abrupt("return",this.chunk.getUint8Array(a,l));case 9:case"end":return f.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"image",get:function(){return this.ifd0}},{key:"thumbnail",get:function(){return this.ifd1}},{key:"createOutput",value:function(){for(var n,i,a,l={},c=0,f=Vt;cthis.byteLength){var f=this._extend(c),d=f.dataView;this._swapDataView(d)}}}},{key:"_extend",value:function(n){var i;i=KX?VX.allocUnsafe(n):new Uint8Array(n);var a=new DataView(i.buffer,i.byteOffset,i.byteLength);return i.set(new Uint8Array(this.buffer,this.byteOffset,this.byteLength),0),{uintView:i,dataView:a}}},{key:"subarray",value:function(n,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return i=i||this._lengthToEnd(n),a&&this._tryExtend(n,i),this.ranges.add(n,i),pl(Po(e.prototype),"subarray",this).call(this,n,i)}},{key:"set",value:function(n,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;a&&this._tryExtend(i,n.byteLength,n);var l=pl(Po(e.prototype),"set",this).call(this,n,i);return this.ranges.add(i,l.byteLength),l}},{key:"ensureChunk",value:function(){var r=rt(ye().mark(function i(a,l){return ye().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(f.t0=this.chunked,!f.t0){f.next=6;break}if(f.t1=this.ranges.available(a,l),f.t1){f.next=6;break}return f.next=6,this.readChunk(a,l);case 6:case"end":return f.stop()}},i,this)}));function n(i,a){return r.apply(this,arguments)}return n}()},{key:"available",value:function(n,i){return this.ranges.available(n,i)}}]),e}(Jv),vJe=function(){function t(){$r(this,t),nt(this,"list",[])}return zr(t,[{key:"length",get:function(){return this.list.length}},{key:"add",value:function(r,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,a=r+n,l=this.list.filter(function(f){return $X(r,f.offset,a)||$X(r,f.end,a)});if(l.length>0){r=Math.min.apply(Math,[r].concat(Qf(l.map(function(f){return f.offset})))),a=Math.max.apply(Math,[a].concat(Qf(l.map(function(f){return f.end})))),n=a-r;var c=l.shift();c.offset=r,c.length=n,c.end=a,this.list=this.list.filter(function(f){return!l.includes(f)})}else this.list.push({offset:r,length:n,end:a})}},{key:"available",value:function(r,n){var i=r+n;return this.list.some(function(a){return a.offset<=r&&i<=a.end})}}]),t}();function $X(t,e,r){return t<=e&&e<=r}var yJe=function(t){To(e,t);function e(r,n){var i;return $r(this,e),i=Eo(this,e,[0]),nt(zn(i),"chunksRead",0),i.input=r,i.options=n,i}return zr(e,[{key:"readWhole",value:function(){var r=rt(ye().mark(function i(){return ye().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return this.chunked=!1,l.next=3,this.readChunk(this.nextChunkOffset);case 3:case"end":return l.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"readChunked",value:function(){var r=rt(ye().mark(function i(){return ye().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return this.chunked=!0,l.next=3,this.readChunk(0,this.options.firstChunkSize);case 3:case"end":return l.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"readNextChunk",value:function(){var r=rt(ye().mark(function i(){var a,l,c,f=arguments;return ye().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(a=f.length>0&&f[0]!==void 0?f[0]:this.nextChunkOffset,!this.fullyRead){y.next=3;break}return y.abrupt("return",(this.chunksRead++,!1));case 3:return l=this.options.chunkSize,y.next=6,this.readChunk(a,l);case 6:return c=y.sent,y.abrupt("return",!!c&&c.byteLength===l);case 8:case"end":return y.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"readChunk",value:function(){var r=rt(ye().mark(function i(a,l){return ye().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(this.chunksRead++,(l=this.safeWrapAddress(a,l))===0){f.next=2;break}return f.abrupt("return",this._readChunk(a,l));case 2:case"end":return f.stop()}},i,this)}));function n(i,a){return r.apply(this,arguments)}return n}()},{key:"safeWrapAddress",value:function(n,i){return this.size!==void 0&&n+i>this.size?Math.max(0,this.size-n):i}},{key:"nextChunkOffset",get:function(){if(this.ranges.list.length!==0)return this.ranges.list[0].length}},{key:"canReadNextChunk",get:function(){return this.chunksReadt.length)&&(e=t.length);for(var r=0,n=new Array(e);rn&&(i=n,a=Math.round(i/e)),a>n&&(a=n,i=Math.round(e*a)),t.width>i){var l=document.createElement("canvas");return l.width=i,l.height=a,l.getContext("2d").drawImage(t,0,0,i,a),l}return t}var FJe={thumbnailWidth:null,thumbnailHeight:null,thumbnailType:"image/jpeg",waitForThumbnailsBeforeUpload:!1,lazy:!1},iy=function(t){RJe(e,t);function e(r,n){var i;if(_Je(this,e),i=TJe(this,e,[r,iQ(iQ({},FJe),n)]),i.onFileAdded=function(a){!a.preview&&a.data&&Cf(a.type)&&!a.isRemote&&i.addToQueue(a.id)},i.onCancelRequest=function(a){var l=i.queue.indexOf(a.id);l!==-1&&i.queue.splice(l,1)},i.onFileRemoved=function(a){var l=i.queue.indexOf(a.id);l!==-1&&i.queue.splice(l,1),a.preview&&W0(a.preview)&&URL.revokeObjectURL(a.preview)},i.onRestored=function(){var a=i.uppy.getFiles().filter(function(l){return l.isRestored});a.forEach(function(l){(!l.preview||W0(l.preview))&&i.addToQueue(l.id)})},i.onAllFilesRemoved=function(){i.queue=[]},i.waitUntilAllProcessed=function(a){a.forEach(function(c){var f=i.uppy.getFile(c);i.uppy.emit("preprocess-progress",f,{mode:"indeterminate",message:i.i18n("generatingThumbnails")})});var l=function(){a.forEach(function(f){var d=i.uppy.getFile(f);i.uppy.emit("preprocess-complete",d)})};return new Promise(function(c){i.queueProcessing?i.uppy.once("thumbnail:all-generated",function(){l(),c()}):(l(),c())})},i.type="modifier",i.id=i.opts.id||"ThumbnailGenerator",i.title="Thumbnail Generator",i.queue=[],i.queueProcessing=!1,i.defaultThumbnailDimension=200,i.thumbnailType=i.opts.thumbnailType,i.defaultLocale=tQ,i.i18nInit(),i.opts.lazy&&i.opts.waitForThumbnailsBeforeUpload)throw new Error("ThumbnailGenerator: The `lazy` and `waitForThumbnailsBeforeUpload` options are mutually exclusive. Please ensure at most one of them is set to `true`.");return i}return PJe(e,[{key:"createThumbnail",value:function(n,i,a){var l=this,c=URL.createObjectURL(n.data),f=new Promise(function(y,m){var g=new Image;g.src=c,g.addEventListener("load",function(){URL.revokeObjectURL(c),y(g)}),g.addEventListener("error",function(w){URL.revokeObjectURL(c),m(w.error||new Error("Could not create thumbnail"))})}),d=eQ(n.data).catch(function(){return 1});return Promise.all([f,d]).then(function(y){var m=mJe(y,2),g=m[0],w=m[1],P=l.getProportionalDimensions(g,i,a,w.deg),E=jJe(g,w),O=l.resizeImage(E,P.width,P.height);return kJe(O,l.thumbnailType,80)}).then(function(y){return URL.createObjectURL(y)})}},{key:"getProportionalDimensions",value:function(n,i,a,l){var c=n.width/n.height;return(l===90||l===270)&&(c=n.height/n.width),i!=null?{width:i,height:Math.round(i/c)}:a!=null?{width:Math.round(a*c),height:a}:{width:this.defaultThumbnailDimension,height:Math.round(this.defaultThumbnailDimension/c)}}},{key:"resizeImage",value:function(n,i,a){var l=qJe(n),c=Math.ceil(Math.log2(l.width/i));c<1&&(c=1);for(var f=i*Math.pow(2,c-1),d=a*Math.pow(2,c-1),y=2;c--;){var m=document.createElement("canvas");m.width=f,m.height=d,m.getContext("2d").drawImage(l,0,0,f,d),l=m,f=Math.round(f/y),d=Math.round(d/y)}return l}},{key:"setPreviewURL",value:function(n,i){this.uppy.setFileState(n,{preview:i})}},{key:"addToQueue",value:function(n){this.queue.push(n),this.queueProcessing===!1&&this.processQueue()}},{key:"processQueue",value:function(){var n=this;if(this.queueProcessing=!0,this.queue.length>0){var i=this.uppy.getFile(this.queue.shift());return i?this.requestThumbnail(i).catch(function(){}).then(function(){return n.processQueue()}):(this.uppy.log("[ThumbnailGenerator] file was removed before a thumbnail could be generated, but not removed from the queue. This is probably a bug","error"),Promise.resolve())}return this.queueProcessing=!1,this.uppy.log("[ThumbnailGenerator] Emptied thumbnail queue"),this.uppy.emit("thumbnail:all-generated"),Promise.resolve()}},{key:"requestThumbnail",value:function(n){var i=this;return Cf(n.type)&&!n.isRemote?this.createThumbnail(n,this.opts.thumbnailWidth,this.opts.thumbnailHeight).then(function(a){i.setPreviewURL(n.id,a),i.uppy.log("[ThumbnailGenerator] Generated thumbnail for ".concat(n.id)),i.uppy.emit("thumbnail:generated",i.uppy.getFile(n.id),a)}).catch(function(a){i.uppy.log("[ThumbnailGenerator] Failed thumbnail for ".concat(n.id,":"),"warning"),i.uppy.log(a,"warning"),i.uppy.emit("thumbnail:error",i.uppy.getFile(n.id),a)}):Promise.resolve()}},{key:"install",value:function(){this.uppy.on("file-removed",this.onFileRemoved),this.uppy.on("cancel-all",this.onAllFilesRemoved),this.opts.lazy?(this.uppy.on("thumbnail:request",this.onFileAdded),this.uppy.on("thumbnail:cancel",this.onCancelRequest)):(this.uppy.on("thumbnail:request",this.onFileAdded),this.uppy.on("file-added",this.onFileAdded),this.uppy.on("restored",this.onRestored)),this.opts.waitForThumbnailsBeforeUpload&&this.uppy.addPreProcessor(this.waitUntilAllProcessed)}},{key:"uninstall",value:function(){this.uppy.off("file-removed",this.onFileRemoved),this.uppy.off("cancel-all",this.onAllFilesRemoved),this.opts.lazy?(this.uppy.off("thumbnail:request",this.onFileAdded),this.uppy.off("thumbnail:cancel",this.onCancelRequest)):(this.uppy.off("thumbnail:request",this.onFileAdded),this.uppy.off("file-added",this.onFileAdded),this.uppy.off("restored",this.onRestored)),this.opts.waitForThumbnailsBeforeUpload&&this.uppy.removePreProcessor(this.waitUntilAllProcessed)}}]),e}(Ae);iy.VERSION=IJe.version;function nk(t){"@babel/helpers - typeof";return nk=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nk(t)}function LJe(t){if(typeof t=="string"){var e=document.querySelectorAll(t);return e.length===0?null:Array.from(e)}return nk(t)==="object"&&Zd(t)?[t]:null}var ik=LJe;var Kt=Array.from;function sQ(t){return MJe(t)||DJe(t)||NJe(t)||CJe()}function CJe(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function NJe(t,e){if(t){if(typeof t=="string")return ok(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ok(t,e)}}function DJe(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function MJe(t){if(Array.isArray(t))return ok(t)}function ok(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return a=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function BJe(t,e){if(t){if(typeof t=="string")return lQ(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return lQ(t,e)}}function lQ(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function uk(t){return function(){return new oy(t.apply(this,arguments))}}function oy(t){var e,r;function n(a,l){try{var c=t[a](l),f=c.value,d=f instanceof lk;Promise.resolve(d?f.v:f).then(function(y){if(d){var m=a==="return"?"return":"next";if(!f.k||y.done)return n(m,y);y=t[m](y).value}i(c.done?"return":"normal",y)},function(y){n("throw",y)})}catch(y){i("throw",y)}}function i(a,l){switch(a){case"return":e.resolve({value:l,done:!0});break;case"throw":e.reject(l);break;default:e.resolve({value:l,done:!1})}(e=e.next)?n(e.key,e.arg):r=null}this._invoke=function(a,l){return new Promise(function(c,f){var d={key:a,arg:l,resolve:c,reject:f,next:null};r?r=r.next=d:(e=r=d,n(a,l))})},typeof t.return!="function"&&(this.return=void 0)}oy.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},oy.prototype.next=function(t){return this._invoke("next",t)},oy.prototype.throw=function(t){return this._invoke("throw",t)},oy.prototype.return=function(t){return this._invoke("return",t)};function ku(t){return new lk(t,0)}function sk(t){var e={},r=!1;function n(i,a){return r=!0,a=new Promise(function(l){l(t[i](a))}),{done:!1,value:new lk(a,1)}}return e[typeof Symbol!="undefined"&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(i){return r?(r=!1,i):n("next",i)},typeof t.throw=="function"&&(e.throw=function(i){if(r)throw r=!1,i;return n("throw",i)}),typeof t.return=="function"&&(e.return=function(i){return r?(r=!1,i):n("return",i)}),e}function lk(t,e){this.v=t,this.k=e}function oO(t){var e,r,n,i=2;for(typeof Symbol!="undefined"&&(r=Symbol.asyncIterator,n=Symbol.iterator);i--;){if(r&&(e=t[r])!=null)return e.call(t);if(n&&(e=t[n])!=null)return new nO(e.call(t));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function nO(t){function e(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(i){return{value:i,done:n}})}return nO=function(n){this.s=n,this.n=n.next},nO.prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(n){var i=this.s.return;return i===void 0?Promise.resolve({value:n,done:!0}):e(i.apply(this.s,arguments))},throw:function(n){var i=this.s.return;return i===void 0?Promise.reject(n):e(i.apply(this.s,arguments))}},new nO(t)}function fQ(t,e){return t==null?t:{kind:t.isFile?"file":t.isDirectory?"directory":void 0,name:t.name,getFile:function(){return new Promise(function(n,i){return t.file(n,i)})},values:function(){return uk(ya().mark(function n(){var i,a;return ya().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return i=t.createReader(),c.next=3,ku(new Promise(function(f){rO(i,[],e,{onSuccess:function(y){return f(y.map(function(m){return fQ(m,e)}))}})}));case 3:return a=c.sent,c.delegateYield(sk(oO(a),ku),"t0",5);case 5:case"end":return c.stop()}},n)}))()},isSameEntry:void 0}}function pQ(t,e,r){try{return r===void 0&&(r=void 0),uk(ya().mark(function n(){var i,a,l,c,f,d,y,m;return ya().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(i=function(){return"".concat(e,"/").concat(t.name)},t.kind!=="file"){w.next=17;break}return w.next=4,ku(t.getFile());case 4:if(a=w.sent,a==null){w.next=12;break}return a.relativePath=e?i():null,w.next=10,a;case 10:w.next=15;break;case 12:if(r==null){w.next=15;break}return w.next=15,r;case 15:w.next=51;break;case 17:if(t.kind!=="directory"){w.next=48;break}l=!1,c=!1,w.prev=20,d=oO(t.values());case 22:return w.next=24,ku(d.next());case 24:if(!(l=!(y=w.sent).done)){w.next=30;break}return m=y.value,w.delegateYield(sk(oO(pQ(m,e?i():t.name)),ku),"t0",27);case 27:l=!1,w.next=22;break;case 30:w.next=36;break;case 32:w.prev=32,w.t1=w.catch(20),c=!0,f=w.t1;case 36:if(w.prev=36,w.prev=37,!(l&&d.return!=null)){w.next=41;break}return w.next=41,ku(d.return());case 41:if(w.prev=41,!c){w.next=44;break}throw f;case 44:return w.finish(41);case 45:return w.finish(36);case 46:w.next=51;break;case 48:if(r==null){w.next=51;break}return w.next=51,r;case 51:case"end":return w.stop()}},n,null,[[20,32,36,46],[37,,41,45]])}))()}catch(n){return Promise.reject(n)}}function ck(t,e){return ak.apply(this,arguments)}function ak(){return ak=uk(ya().mark(function t(e,r){var n,i,a,l,c,f;return ya().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,ku(Promise.all(Array.from(e.items,function(){var m=GJe(ya().mark(function g(w){var P,E,O;return ya().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return O=function(){return typeof w.getAsEntry=="function"?w.getAsEntry():w.webkitGetAsEntry()},(P=E)!=null||(E=fQ(O(),r)),R.abrupt("return",{fileSystemHandle:E,lastResortFile:w.getAsFile()});case 3:case"end":return R.stop()}},g)}));return function(g){return m.apply(this,arguments)}}())));case 2:n=y.sent,i=UJe(n),y.prev=4,i.s();case 6:if((a=i.n()).done){y.next=28;break}if(l=a.value,c=l.lastResortFile,f=l.fileSystemHandle,f==null){y.next=23;break}return y.prev=9,y.delegateYield(sk(oO(pQ(f,"",c)),ku),"t0",11);case 11:y.next=21;break;case 13:if(y.prev=13,y.t1=y.catch(9),c==null){y.next=20;break}return y.next=18,c;case 18:y.next=21;break;case 20:r(y.t1);case 21:y.next=26;break;case 23:if(c==null){y.next=26;break}return y.next=26,c;case 26:y.next=6;break;case 28:y.next=33;break;case 30:y.prev=30,y.t2=y.catch(4),i.e(y.t2);case 33:return y.prev=33,i.f(),y.finish(33);case 36:case"end":return y.stop()}},t,null,[[4,30,33,36],[9,13]])})),ak.apply(this,arguments)}function fk(t){var e=Kt(t.files);return Promise.resolve(e)}function uO(t){"@babel/helpers - typeof";return uO=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uO(t)}function pk(){"use strict";pk=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,u){s[o]=u.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(s,o,u){return Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(u,p,v){return u[p]=v}}function y(s,o,u,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),b=new H(p||[]);return i(h,"_invoke",{value:Y(s,u,b)}),h}function m(s,o,u){try{return{type:"normal",arg:s.call(o,u)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var g="suspendedStart",w="suspendedYield",P="executing",E="completed",O={};function x(){}function R(){}function A(){}var I={};d(I,l,function(){return this});var C=Object.getPrototypeOf,k=C&&C(C(K([])));k&&k!==r&&n.call(k,l)&&(I=k);var j=A.prototype=x.prototype=Object.create(I);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(u){return this._invoke(o,u)})})}function B(s,o){function u(v,h,b,S){var _=m(s[v],s,h);if(_.type!=="throw"){var q=_.arg,F=q.value;return F&&uO(F)=="object"&&n.call(F,"__await")?o.resolve(F.__await).then(function(N){u("next",N,b,S)},function(N){u("throw",N,b,S)}):o.resolve(F).then(function(N){q.value=N,b(q)},function(N){return u("throw",N,b,S)})}S(_.arg)}var p;i(this,"_invoke",{value:function(h,b){function S(){return new o(function(_,q){u(h,b,_,q)})}return p=p?p.then(S,S):S()}})}function Y(s,o,u){var p=g;return function(v,h){if(p===P)throw new Error("Generator is already running");if(p===E){if(v==="throw")throw h;return{value:t,done:!0}}for(u.method=v,u.arg=h;;){var b=u.delegate;if(b){var S=Q(b,u);if(S){if(S===O)continue;return S}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(p===g)throw p=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);p=P;var _=m(s,o,u);if(_.type==="normal"){if(p=u.done?E:w,_.arg===O)continue;return{value:_.arg,done:u.done}}_.type==="throw"&&(p=E,u.method="throw",u.arg=_.arg)}}}function Q(s,o){var u=o.method,p=s.iterator[u];if(p===t)return o.delegate=null,u==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||u!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+u+"' method")),O;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,O;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,O):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,O)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function K(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var u=-1,p=function v(){for(;++u=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function hQ(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function $Je(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){hQ(a,n,i,l,c,"next",f)}function c(f){hQ(a,n,i,l,c,"throw",f)}l(void 0)})}}function zJe(t){var e,r,n,i=2;for(typeof Symbol!="undefined"&&(r=Symbol.asyncIterator,n=Symbol.iterator);i--;){if(r&&(e=t[r])!=null)return e.call(t);if(n&&(e=t[n])!=null)return new aO(e.call(t));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function aO(t){function e(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(i){return{value:i,done:n}})}return aO=function(n){this.s=n,this.n=n.next},aO.prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(n){var i=this.s.return;return i===void 0?Promise.resolve({value:n,done:!0}):e(i.apply(this.s,arguments))},throw:function(n){var i=this.s.return;return i===void 0?Promise.reject(n):e(i.apply(this.s,arguments))}},new aO(t)}function hl(t,e){return hk.apply(this,arguments)}function hk(){return hk=$Je(pk().mark(function t(e,r){var n,i,a,l,c,f,d,y,m;return pk().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:i=(n=r==null?void 0:r.logDropError)!=null?n:Function.prototype,w.prev=1,a=[],l=!1,c=!1,w.prev=5,d=zJe(ck(e,i));case 7:return w.next=9,d.next();case 9:if(!(l=!(y=w.sent).done)){w.next=15;break}m=y.value,a.push(m);case 12:l=!1,w.next=7;break;case 15:w.next=21;break;case 17:w.prev=17,w.t0=w.catch(5),c=!0,f=w.t0;case 21:if(w.prev=21,w.prev=22,!(l&&d.return!=null)){w.next=26;break}return w.next=26,d.return();case 26:if(w.prev=26,!c){w.next=29;break}throw f;case 29:return w.finish(26);case 30:return w.finish(21);case 31:return w.abrupt("return",a);case 34:return w.prev=34,w.t1=w.catch(1),w.abrupt("return",fk(e));case 37:case"end":return w.stop()}},t,null,[[1,34],[5,17,21,31],[22,,26,30]])})),hk.apply(this,arguments)}var dQ=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function HJe(t,e){return!!(t===e||dQ(t)&&dQ(e))}function WJe(t,e){if(t.length!==e.length)return!1;for(var r=0;r=350?90:e.containerWidth<=352?35:e.containerWidth<=576?60:n?20:30}return T("div",{className:"uppy-Dashboard-Item-name",title:i},cO(i,a()))},aZe=function(e){var r,n=e.file.meta.author,i=(r=e.file.remote)==null?void 0:r.providerName,a="\xB7";return n?T("div",{className:"uppy-Dashboard-Item-author"},T("a",{href:"".concat(n.url,"?utm_source=Companion&utm_medium=referral"),target:"_blank",rel:"noopener noreferrer"},cO(n.name,13)),i?T(mr,null," ".concat(a," "),i," ".concat(a," ")):null):null},uZe=function(e){return e.file.size&&T("div",{className:"uppy-Dashboard-Item-statusSize"},(0,OQ.default)(e.file.size))},sZe=function(e){return e.file.isGhost&&T("span",null," \u2022 ",T("button",{className:"uppy-u-reset uppy-c-btn uppy-Dashboard-Item-reSelect",type:"button",onClick:e.toggleAddFilesPanel},e.i18n("reSelect")))},lZe=function(e){var r=e.file,n=e.onClick;return r.error?T("button",{className:"uppy-u-reset uppy-c-btn uppy-Dashboard-Item-errorDetails","aria-label":r.error,"data-microtip-position":"bottom","data-microtip-size":"medium",onClick:n,type:"button"},"?"):null};function Sk(t){var e=t.file;return T("div",{className:"uppy-Dashboard-Item-fileInfo","data-uppy-file-source":e.source},T("div",{className:"uppy-Dashboard-Item-fileName"},oZe(t),T(lZe,{file:t.file,onClick:function(){return alert(t.file.error)}})),T("div",{className:"uppy-Dashboard-Item-status"},aZe(t),uZe(t),sZe(t)),T(ly,{file:t.file,i18n:t.i18n,toggleFileCard:t.toggleFileCard,metaFields:t.metaFields}))}function _k(t,e){return e===void 0&&(e="Copy the URL below"),new Promise(function(r){var n=document.createElement("textarea");n.setAttribute("style",{position:"fixed",top:0,left:0,width:"2em",height:"2em",padding:0,border:"none",outline:"none",boxShadow:"none",background:"transparent"}),n.value=t,document.body.appendChild(n),n.select();var i=function(c){document.body.removeChild(n),window.prompt(e,t),r()};try{var a=document.execCommand("copy");return a?(document.body.removeChild(n),r()):i("copy command unavailable")}catch(l){return document.body.removeChild(n),i(l)}})}function cZe(t){var e=t.file,r=t.uploadInProgressOrComplete,n=t.metaFields,i=t.canEditFile,a=t.i18n,l=t.onClick;return!r&&n&&n.length>0||!r&&i(e)?T("button",{className:"uppy-u-reset uppy-c-btn uppy-Dashboard-Item-action uppy-Dashboard-Item-action--edit",type:"button","aria-label":a("editFileWithFilename",{file:e.meta.name}),title:a("editFileWithFilename",{file:e.meta.name}),onClick:function(){return l()}},T("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"14",height:"14",viewBox:"0 0 14 14"},T("g",{fillRule:"evenodd"},T("path",{d:"M1.5 10.793h2.793A1 1 0 0 0 5 10.5L11.5 4a1 1 0 0 0 0-1.414L9.707.793a1 1 0 0 0-1.414 0l-6.5 6.5A1 1 0 0 0 1.5 8v2.793zm1-1V8L9 1.5l1.793 1.793-6.5 6.5H2.5z",fillRule:"nonzero"}),T("rect",{x:"1",y:"12.293",width:"11",height:"1",rx:".5"}),T("path",{fillRule:"nonzero",d:"M6.793 2.5L9.5 5.207l.707-.707L7.5 1.793z"})))):null}function fZe(t){var e=t.i18n,r=t.onClick,n=t.file;return T("button",{className:"uppy-u-reset uppy-Dashboard-Item-action uppy-Dashboard-Item-action--remove",type:"button","aria-label":e("removeFile",{file:n.meta.name}),title:e("removeFile",{file:n.meta.name}),onClick:function(){return r()}},T("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"18",height:"18",viewBox:"0 0 18 18"},T("path",{d:"M9 0C4.034 0 0 4.034 0 9s4.034 9 9 9 9-4.034 9-9-4.034-9-9-9z"}),T("path",{fill:"#FFF",d:"M13 12.222l-.778.778L9 9.778 5.778 13 5 12.222 8.222 9 5 5.778 5.778 5 9 8.222 12.222 5l.778.778L9.778 9z"})))}var pZe=function(e,r){_k(r.file.uploadURL,r.i18n("copyLinkToClipboardFallback")).then(function(){r.uppy.log("Link copied to clipboard."),r.uppy.info(r.i18n("copyLinkToClipboardSuccess"),"info",3e3)}).catch(r.uppy.log).then(function(){return e.target.focus({preventScroll:!0})})};function hZe(t){var e=t.i18n;return T("button",{className:"uppy-u-reset uppy-Dashboard-Item-action uppy-Dashboard-Item-action--copyLink",type:"button","aria-label":e("copyLink"),title:e("copyLink"),onClick:function(n){return pZe(n,t)}},T("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"14",height:"14",viewBox:"0 0 14 12"},T("path",{d:"M7.94 7.703a2.613 2.613 0 0 1-.626 2.681l-.852.851a2.597 2.597 0 0 1-1.849.766A2.616 2.616 0 0 1 2.764 7.54l.852-.852a2.596 2.596 0 0 1 2.69-.625L5.267 7.099a1.44 1.44 0 0 0-.833.407l-.852.851a1.458 1.458 0 0 0 1.03 2.486c.39 0 .755-.152 1.03-.426l.852-.852c.231-.231.363-.522.406-.824l1.04-1.038zm4.295-5.937A2.596 2.596 0 0 0 10.387 1c-.698 0-1.355.272-1.849.766l-.852.851a2.614 2.614 0 0 0-.624 2.688l1.036-1.036c.041-.304.173-.6.407-.833l.852-.852c.275-.275.64-.426 1.03-.426a1.458 1.458 0 0 1 1.03 2.486l-.852.851a1.442 1.442 0 0 1-.824.406l-1.04 1.04a2.596 2.596 0 0 0 2.683-.628l.851-.85a2.616 2.616 0 0 0 0-3.697zm-6.88 6.883a.577.577 0 0 0 .82 0l3.474-3.474a.579.579 0 1 0-.819-.82L5.355 7.83a.579.579 0 0 0 0 .819z"})))}function Pk(t){var e=t.uppy,r=t.file,n=t.uploadInProgressOrComplete,i=t.canEditFile,a=t.metaFields,l=t.showLinkToFileUploadResult,c=t.showRemoveButton,f=t.i18n,d=t.toggleFileCard,y=t.openFileEditor,m=function(){a&&a.length>0?d(!0,r.id):y(r)};return T("div",{className:"uppy-Dashboard-Item-actionWrapper"},T(cZe,{i18n:f,file:r,uploadInProgressOrComplete:n,canEditFile:i,metaFields:a,onClick:m}),l&&r.uploadURL?T(hZe,{file:r,uppy:e,i18n:f}):null,c?T(fZe,{i18n:f,file:r,uppy:e,onClick:function(){return e.removeFile(r.id,"removed-by-user")}}):null)}function Zf(t){"@babel/helpers - typeof";return Zf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zf(t)}function dZe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function SQ(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?n.props.i18nArray("dropPasteImport".concat(f),{browseFiles:a,browseFolders:l,browse:a}):n.props.i18nArray("dropPaste".concat(f),{browseFiles:a,browseFolders:l,browse:a}))},n.renderAcquirer=function(i){var a;return T("div",{className:"uppy-DashboardTab",role:"presentation","data-uppy-acquirer-id":i.id},T("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-DashboardTab-btn",role:"tab",tabIndex:0,"data-cy":i.id,"aria-controls":"uppy-DashboardContent-panel--".concat(i.id),"aria-selected":((a=n.props.activePickerPanel)==null?void 0:a.id)===i.id,"data-uppy-super-focusable":!0,onClick:function(){return n.props.showPanel(i.id)}},T("div",{className:"uppy-DashboardTab-inner"},i.icon()),T("div",{className:"uppy-DashboardTab-name"},i.name)))},n.renderAcquirers=function(i){var a=Ak(i),l=a.splice(i.length-2,i.length);return T(mr,null,a.map(function(c){return n.renderAcquirer(c)}),T("span",{role:"presentation",style:{"white-space":"nowrap"}},l.map(function(c){return n.renderAcquirer(c)})))},n.renderSourcesList=function(i,a){var l,c=n.props,f=c.showNativePhotoCameraButton,d=c.showNativeVideoCameraButton,y=[],m="myDevice";a||y.push({key:m,elements:n.renderMyDeviceAcquirer()}),f&&y.push({key:"nativePhotoCameraButton",elements:n.renderPhotoCamera()}),d&&y.push({key:"nativePhotoCameraButton",elements:n.renderVideoCamera()}),(l=y).push.apply(l,Ak(i.map(function(O){return{key:O.id,elements:n.renderAcquirer(O)}})));var g=y.length===1&&y[0].key===m;g&&(y=[]);var w=Ak(y),P=w.splice(y.length-2,y.length),E=function(x){return x.map(function(R){var A=R.key,I=R.elements;return T(mr,{key:A},I)})};return T(mr,null,n.renderDropPasteBrowseTagline(y.length),T("div",{className:"uppy-Dashboard-AddFiles-list",role:"tablist"},E(w),T("span",{role:"presentation",style:{"white-space":"nowrap"}},E(P))))},n}return xZe(r,[{key:e,value:function(){this.props.i18nArray("dropPasteBoth"),this.props.i18nArray("dropPasteFiles"),this.props.i18nArray("dropPasteFolders"),this.props.i18nArray("dropPasteImportBoth"),this.props.i18nArray("dropPasteImportFiles"),this.props.i18nArray("dropPasteImportFolders")}},{key:"renderPoweredByUppy",value:function(){var i=this.props.i18nArray,a=T("span",null,T("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon uppy-Dashboard-poweredByIcon",width:"11",height:"11",viewBox:"0 0 11 11"},T("path",{d:"M7.365 10.5l-.01-4.045h2.612L5.5.806l-4.467 5.65h2.604l.01 4.044h3.718z",fillRule:"evenodd"})),T("span",{className:"uppy-Dashboard-poweredByUppy"},"Uppy")),l=i("poweredBy",{uppy:a});return T("a",{tabIndex:-1,href:"https://uppy.io",rel:"noreferrer noopener",target:"_blank",className:"uppy-Dashboard-poweredBy"},l)}},{key:"render",value:function(){var i=this,a=this.props,l=a.showNativePhotoCameraButton,c=a.showNativeVideoCameraButton,f=a.nativeCameraFacingMode;return T("div",{className:"uppy-Dashboard-AddFiles"},this.renderHiddenInput(!1,function(d){i.fileInput=d}),this.renderHiddenInput(!0,function(d){i.folderInput=d}),l&&this.renderHiddenCameraInput("photo",f,function(d){i.mobilePhotoFileInput=d}),c&&this.renderHiddenCameraInput("video",f,function(d){i.mobileVideoFileInput=d}),this.renderSourcesList(this.props.acquirers,this.props.disableLocalFiles),T("div",{className:"uppy-Dashboard-AddFiles-info"},this.props.note&&T("div",{className:"uppy-Dashboard-note"},this.props.note),this.props.proudlyDisplayPoweredByUppy&&this.renderPoweredByUppy(this.props)))}}]),r}(ct,RQ),hO=LZe;var IQ=Ce(Gn(),1);var CZe=function(e){return T("div",{className:(0,IQ.default)("uppy-Dashboard-AddFilesPanel",e.className),"data-uppy-panelType":"AddFiles","aria-hidden":!e.showAddFilesPanel},T("div",{className:"uppy-DashboardContent-bar"},T("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},e.i18n("addingMoreFiles")),T("button",{className:"uppy-DashboardContent-back",type:"button",onClick:function(){return e.toggleAddFilesPanel(!1)}},e.i18n("back"))),T(hO,e))},kQ=CZe;var jQ=Ce(Gn(),1);function NZe(t){var e=t.target.tagName;if(e==="INPUT"||e==="TEXTAREA"){t.stopPropagation();return}t.preventDefault(),t.stopPropagation()}var Ao=NZe;function DZe(t){var e=t.activePickerPanel,r=t.className,n=t.hideAllPanels,i=t.i18n,a=t.state,l=t.uppy;return T("div",{className:(0,jQ.default)("uppy-DashboardContent-panel",r),role:"tabpanel","data-uppy-panelType":"PickerPanel",id:"uppy-DashboardContent-panel--".concat(e.id),onDragOver:Ao,onDragLeave:Ao,onDrop:Ao,onPaste:Ao},T("div",{className:"uppy-DashboardContent-bar"},T("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},i("importFrom",{name:e.name})),T("button",{className:"uppy-DashboardContent-back",type:"button",onClick:n},i("cancel"))),T("div",{className:"uppy-DashboardContent-panelBody"},l.getPlugin(e.id).render(a)))}var qQ=DZe;var FQ=Ce(Gn(),1);function MZe(t){var e=t.files[t.fileCardFor],r=function(){t.uppy.emit("file-editor:cancel",e),t.closeFileEditor()};return T("div",{className:(0,FQ.default)("uppy-DashboardContent-panel",t.className),role:"tabpanel","data-uppy-panelType":"FileEditor",id:"uppy-DashboardContent-panel--editor"},T("div",{className:"uppy-DashboardContent-bar"},T("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},t.i18nArray("editing",{file:T("span",{className:"uppy-DashboardContent-titleFile"},e.meta?e.meta.name:e.name)})),T("button",{className:"uppy-DashboardContent-back",type:"button",onClick:r},t.i18n("cancel")),T("button",{className:"uppy-DashboardContent-save",type:"button",onClick:t.saveFileEditor},t.i18n("save"))),T("div",{className:"uppy-DashboardContent-panelBody"},t.editors.map(function(n){return t.uppy.getPlugin(n.id).render(t.state)})))}var LQ=MZe;var xo={STATE_ERROR:"error",STATE_WAITING:"waiting",STATE_PREPROCESSING:"preprocessing",STATE_UPLOADING:"uploading",STATE_POSTPROCESSING:"postprocessing",STATE_COMPLETE:"complete",STATE_PAUSED:"paused"};function UZe(t,e,r,n){if(n===void 0&&(n={}),t)return xo.STATE_ERROR;if(e)return xo.STATE_COMPLETE;if(r)return xo.STATE_PAUSED;for(var i=xo.STATE_WAITING,a=Object.keys(n),l=0;lt.length)&&(e=t.length);for(var r=0,n=new Array(e);rt.length)&&(e=t.length);for(var r=0,n=new Array(e);rjk,i=t.containerHeight>YQ,a=(0,XQ.default)({"uppy-Dashboard":!0,"uppy-Dashboard--isDisabled":t.disabled,"uppy-Dashboard--animateOpenClose":t.animateOpenClose,"uppy-Dashboard--isClosing":t.isClosing,"uppy-Dashboard--isDraggingOver":t.isDraggingOver,"uppy-Dashboard--modal":!t.inline,"uppy-size--md":t.containerWidth>jk,"uppy-size--lg":t.containerWidth>KQ,"uppy-size--xl":t.containerWidth>VQ,"uppy-size--height-md":t.containerHeight>YQ,"uppy-Dashboard--isAddFilesPanelVisible":t.showAddFilesPanel,"uppy-Dashboard--isInnerWrapVisible":t.areInsidesReadyToBeVisible,"uppy-Dashboard--singleFile":t.singleFileFullScreen&&r&&i}),l=1;t.containerWidth>VQ?l=5:t.containerWidth>KQ?l=4:t.containerWidth>jk&&(l=3);var c=t.showSelectedFiles&&!e,f=t.recoveredState?Object.keys(t.recoveredState.files).length:null,d=t.files?Object.keys(t.files).filter(function(g){return t.files[g].isGhost}).length:null,y=function(){return d>0?t.i18n("recoveredXFiles",{smart_count:d}):t.i18n("recoveredAllFiles")},m=T("div",{className:a,"data-uppy-theme":t.theme,"data-uppy-num-acquirers":t.acquirers.length,"data-uppy-drag-drop-supported":!t.disableLocalFiles&&uy(),"aria-hidden":t.inline?"false":t.isHidden,"aria-disabled":t.disabled,"aria-label":t.inline?t.i18n("dashboardTitle"):t.i18n("dashboardWindowTitle"),onPaste:t.handlePaste,onDragOver:t.handleDragOver,onDragLeave:t.handleDragLeave,onDrop:t.handleDrop},T("div",{"aria-hidden":"true",className:"uppy-Dashboard-overlay",tabIndex:-1,onClick:t.handleClickOutside}),T("div",{className:"uppy-Dashboard-inner","aria-modal":!t.inline&&"true",role:t.inline?void 0:"dialog",style:{width:t.inline&&t.width?t.width:"",height:t.inline&&t.height?t.height:""}},t.inline?null:T("button",{className:"uppy-u-reset uppy-Dashboard-close",type:"button","aria-label":t.i18n("closeModal"),title:t.i18n("closeModal"),onClick:t.closeModal},T("span",{"aria-hidden":"true"},"\xD7")),T("div",{className:"uppy-Dashboard-innerWrap"},T("div",{className:"uppy-Dashboard-dropFilesHereHint"},t.i18n("dropHint")),c&&T(CQ,t),f&&T("div",{className:"uppy-Dashboard-serviceMsg"},T("svg",{className:"uppy-Dashboard-serviceMsg-icon","aria-hidden":"true",focusable:"false",width:"21",height:"16",viewBox:"0 0 24 19"},T("g",{transform:"translate(0 -1)",fill:"none",fillRule:"evenodd"},T("path",{d:"M12.857 1.43l10.234 17.056A1 1 0 0122.234 20H1.766a1 1 0 01-.857-1.514L11.143 1.429a1 1 0 011.714 0z",fill:"#FFD300"}),T("path",{fill:"#000",d:"M11 6h2l-.3 8h-1.4z"}),T("circle",{fill:"#000",cx:"12",cy:"17",r:"1"}))),T("strong",{className:"uppy-Dashboard-serviceMsg-title"},t.i18n("sessionRestored")),T("div",{className:"uppy-Dashboard-serviceMsg-text"},y())),c?T(Tk,{id:t.id,error:t.error,i18n:t.i18n,uppy:t.uppy,files:t.files,acquirers:t.acquirers,resumableUploads:t.resumableUploads,hideRetryButton:t.hideRetryButton,hidePauseResumeButton:t.hidePauseResumeButton,hideCancelButton:t.hideCancelButton,showLinkToFileUploadResult:t.showLinkToFileUploadResult,showRemoveButtonAfterComplete:t.showRemoveButtonAfterComplete,isWide:t.isWide,metaFields:t.metaFields,toggleFileCard:t.toggleFileCard,handleRequestThumbnail:t.handleRequestThumbnail,handleCancelThumbnail:t.handleCancelThumbnail,recoveredState:t.recoveredState,individualCancellation:t.individualCancellation,openFileEditor:t.openFileEditor,canEditFile:t.canEditFile,toggleAddFilesPanel:t.toggleAddFilesPanel,isSingleFile:r,itemsPerRow:l}):T(hO,vl({},t,{isSizeMD:n})),T(fy,null,t.showAddFilesPanel?T(kQ,vl({key:"AddFiles"},t,{isSizeMD:n})):null),T(fy,null,t.fileCardFor?T(kk,vl({key:"FileCard"},t)):null),T(fy,null,t.activePickerPanel?T(qQ,vl({key:"Picker"},t)):null),T(fy,null,t.showFileEditor?T(LQ,vl({key:"Editor"},t)):null),T("div",{className:"uppy-Dashboard-progressindicators"},t.progressindicators.map(function(g){return t.uppy.getPlugin(g.id).render(t.state)})))));return m}var QQ={strings:{closeModal:"Close Modal",addMoreFiles:"Add more files",addingMoreFiles:"Adding more files",importFrom:"Import from %{name}",dashboardWindowTitle:"Uppy Dashboard Window (Press escape to close)",dashboardTitle:"Uppy Dashboard",copyLinkToClipboardSuccess:"Link copied to clipboard.",copyLinkToClipboardFallback:"Copy the URL below",copyLink:"Copy link",back:"Back",removeFile:"Remove file",editFile:"Edit file",editImage:"Edit image",editing:"Editing %{file}",error:"Error",finishEditingFile:"Finish editing file",saveChanges:"Save changes",myDevice:"My Device",dropHint:"Drop your files here",uploadComplete:"Upload complete",uploadPaused:"Upload paused",resumeUpload:"Resume upload",pauseUpload:"Pause upload",retryUpload:"Retry upload",cancelUpload:"Cancel upload",xFilesSelected:{0:"%{smart_count} file selected",1:"%{smart_count} files selected"},uploadingXFiles:{0:"Uploading %{smart_count} file",1:"Uploading %{smart_count} files"},processingXFiles:{0:"Processing %{smart_count} file",1:"Processing %{smart_count} files"},poweredBy:"Powered by %{uppy}",addMore:"Add more",editFileWithFilename:"Edit file %{file}",save:"Save",cancel:"Cancel",dropPasteFiles:"Drop files here or %{browseFiles}",dropPasteFolders:"Drop files here or %{browseFolders}",dropPasteBoth:"Drop files here, %{browseFiles} or %{browseFolders}",dropPasteImportFiles:"Drop files here, %{browseFiles} or import from:",dropPasteImportFolders:"Drop files here, %{browseFolders} or import from:",dropPasteImportBoth:"Drop files here, %{browseFiles}, %{browseFolders} or import from:",importFiles:"Import files from:",browseFiles:"browse files",browseFolders:"browse folders",recoveredXFiles:{0:"We could not fully recover 1 file. Please re-select it and resume the upload.",1:"We could not fully recover %{smart_count} files. Please re-select them and resume the upload."},recoveredAllFiles:"We restored all files. You can now resume the upload.",sessionRestored:"Session restored",reSelect:"Re-select",missingRequiredMetaFields:{0:"Missing required meta field: %{fields}.",1:"Missing required meta fields: %{fields}."},takePictureBtn:"Take Picture",recordVideoBtn:"Record Video"}};function ju(t){"@babel/helpers - typeof";return ju=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ju(t)}function Uk(){"use strict";Uk=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,u){s[o]=u.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(s,o,u){return Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(u,p,v){return u[p]=v}}function y(s,o,u,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),b=new H(p||[]);return i(h,"_invoke",{value:Y(s,u,b)}),h}function m(s,o,u){try{return{type:"normal",arg:s.call(o,u)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var g="suspendedStart",w="suspendedYield",P="executing",E="completed",O={};function x(){}function R(){}function A(){}var I={};d(I,l,function(){return this});var C=Object.getPrototypeOf,k=C&&C(C(K([])));k&&k!==r&&n.call(k,l)&&(I=k);var j=A.prototype=x.prototype=Object.create(I);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(u){return this._invoke(o,u)})})}function B(s,o){function u(v,h,b,S){var _=m(s[v],s,h);if(_.type!=="throw"){var q=_.arg,F=q.value;return F&&ju(F)=="object"&&n.call(F,"__await")?o.resolve(F.__await).then(function(N){u("next",N,b,S)},function(N){u("throw",N,b,S)}):o.resolve(F).then(function(N){q.value=N,b(q)},function(N){return u("throw",N,b,S)})}S(_.arg)}var p;i(this,"_invoke",{value:function(h,b){function S(){return new o(function(_,q){u(h,b,_,q)})}return p=p?p.then(S,S):S()}})}function Y(s,o,u){var p=g;return function(v,h){if(p===P)throw new Error("Generator is already running");if(p===E){if(v==="throw")throw h;return{value:t,done:!0}}for(u.method=v,u.arg=h;;){var b=u.delegate;if(b){var S=Q(b,u);if(S){if(S===O)continue;return S}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(p===g)throw p=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);p=P;var _=m(s,o,u);if(_.type==="normal"){if(p=u.done?E:w,_.arg===O)continue;return{value:_.arg,done:u.done}}_.type==="throw"&&(p=E,u.method="throw",u.arg=_.arg)}}}function Q(s,o){var u=o.method,p=s.iterator[u];if(p===t)return o.delegate=null,u==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||u!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+u+"' method")),O;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,O;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,O):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,O)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function K(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var u=-1,p=function v(){for(;++u=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function JQ(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function eet(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){JQ(a,n,i,l,c,"next",f)}function c(f){JQ(a,n,i,l,c,"throw",f)}l(void 0)})}}function tet(t,e){var r=typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=ret(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return a=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function ret(t,e){if(t){if(typeof t=="string")return ZQ(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ZQ(t,e)}}function ZQ(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0;g?i.setPluginState({showFileEditor:!1,activeOverlayType:"FileCard"}):i.setPluginState({showFileEditor:!1,fileCardFor:null,activeOverlayType:"AddFiles"})},i.saveFileEditor=function(){var y=i.getPluginState(),m=y.targets,g=St(qe(i),ga)[ga](m);g.forEach(function(w){i.uppy.getPlugin(w.id).save()}),i.closeFileEditor()},i.openModal=function(){var y=nJ(),m=y.promise,g=y.resolve;if(i.savedScrollPosition=window.pageYOffset,i.savedActiveElement=document.activeElement,i.opts.disablePageScrollWhenModalOpen&&document.body.classList.add("uppy-Dashboard-isFixed"),i.opts.animateOpenClose&&i.getPluginState().isClosing){var w=function P(){i.setPluginState({isHidden:!1}),i.el.removeEventListener("animationend",P,!1),g()};i.el.addEventListener("animationend",w,!1)}else i.setPluginState({isHidden:!1}),g();return i.opts.browserBackButtonClose&&i.updateBrowserHistory(),document.addEventListener("keydown",i.handleKeyDownInModal),i.uppy.emit("dashboard:modal-open"),m},i.closeModal=function(y){var m,g=(m=y==null?void 0:y.manualClose)!=null?m:!0,w=i.getPluginState(),P=w.isHidden,E=w.isClosing;if(!(P||E)){var O=nJ(),x=O.promise,R=O.resolve;if(i.opts.disablePageScrollWhenModalOpen&&document.body.classList.remove("uppy-Dashboard-isFixed"),i.opts.animateOpenClose){i.setPluginState({isClosing:!0});var A=function C(){i.setPluginState({isHidden:!0,isClosing:!1}),i.superFocus.cancel(),i.savedActiveElement.focus(),i.el.removeEventListener("animationend",C,!1),R()};i.el.addEventListener("animationend",A,!1)}else i.setPluginState({isHidden:!0}),i.superFocus.cancel(),i.savedActiveElement.focus(),R();if(document.removeEventListener("keydown",i.handleKeyDownInModal),g&&i.opts.browserBackButtonClose){var I;(I=history.state)!=null&&I[i.modalName]&&history.back()}return i.uppy.emit("dashboard:modal-closed"),x}},i.isModalOpen=function(){return!i.getPluginState().isHidden||!1},i.requestCloseModal=function(){return i.opts.onRequestCloseModal?i.opts.onRequestCloseModal():i.closeModal()},i.setDarkModeCapability=function(y){var m=i.uppy.getState(),g=m.capabilities;i.uppy.setState({capabilities:zi(zi({},g),{},{darkMode:y})})},i.handleSystemDarkModeChange=function(y){var m=y.matches;i.uppy.log("[Dashboard] Dark mode is ".concat(m?"on":"off")),i.setDarkModeCapability(m)},i.toggleFileCard=function(y,m){var g=i.uppy.getFile(m);y?i.uppy.emit("dashboard:file-edit-start",g):i.uppy.emit("dashboard:file-edit-complete",g),i.setPluginState({fileCardFor:y?m:null,activeOverlayType:y?"FileCard":null})},i.toggleAddFilesPanel=function(y){i.setPluginState({showAddFilesPanel:y,activeOverlayType:y?"AddFiles":null})},i.addFiles=function(y){var m=y.map(function(g){return{source:i.id,name:g.name,type:g.type,data:g,meta:{relativePath:g.relativePath||g.webkitRelativePath||null}}});try{i.uppy.addFiles(m)}catch(g){i.uppy.log(g)}},i.startListeningToResize=function(){i.resizeObserver=new ResizeObserver(function(y){var m=y[0],g=m.contentRect,w=g.width,P=g.height;i.setPluginState({containerWidth:w,containerHeight:P,areInsidesReadyToBeVisible:!0})}),i.resizeObserver.observe(i.el.querySelector(".uppy-Dashboard-inner")),i.makeDashboardInsidesVisibleAnywayTimeout=setTimeout(function(){var y=i.getPluginState(),m=!i.opts.inline&&y.isHidden;!y.areInsidesReadyToBeVisible&&!m&&(i.uppy.log("[Dashboard] resize event didn\u2019t fire on time: defaulted to mobile layout","warning"),i.setPluginState({areInsidesReadyToBeVisible:!0}))},1e3)},i.stopListeningToResize=function(){i.resizeObserver.disconnect(),clearTimeout(i.makeDashboardInsidesVisibleAnywayTimeout)},i.recordIfFocusedOnUppyRecently=function(y){i.el.contains(y.target)?i.ifFocusedOnUppyRecently=!0:(i.ifFocusedOnUppyRecently=!1,i.superFocus.cancel())},i.disableInteractiveElements=function(y){var m,g=["a[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])",'[role="button"]:not([disabled])'],w=(m=St(qe(i),yl)[yl])!=null?m:Kt(i.el.querySelectorAll(g)).filter(function(x){return!x.classList.contains("uppy-Dashboard-close")}),P=tet(w),E;try{for(P.s();!(E=P.n()).done;){var O=E.value;O.tagName==="A"?O.setAttribute("aria-disabled",y):O.disabled=y}}catch(x){P.e(x)}finally{P.f()}y?St(qe(i),yl)[yl]=w:St(qe(i),yl)[yl]=null,i.dashboardIsDisabled=y},i.updateBrowserHistory=function(){var y;(y=history.state)!=null&&y[i.modalName]||history.pushState(zi(zi({},history.state),{},iJ({},i.modalName,!0)),""),window.addEventListener("popstate",i.handlePopState,!1)},i.handlePopState=function(y){var m;i.isModalOpen()&&(!y.state||!y.state[i.modalName])&&i.closeModal({manualClose:!1}),!i.isModalOpen()&&(m=y.state)!=null&&m[i.modalName]&&history.back()},i.handleKeyDownInModal=function(y){y.keyCode===pet&&i.requestCloseModal(),y.keyCode===rJ&&vk(y,i.getPluginState().activeOverlayType,i.el)},i.handleClickOutside=function(){i.opts.closeModalOnClickOutside&&i.requestCloseModal()},i.handlePaste=function(y){i.uppy.iteratePlugins(function(g){g.type==="acquirer"&&(g.handleRootPaste==null||g.handleRootPaste(y))});var m=Kt(y.clipboardData.files);m.length>0&&(i.uppy.log("[Dashboard] Files pasted"),i.addFiles(m))},i.handleInputChange=function(y){y.preventDefault();var m=Kt(y.target.files);m.length>0&&(i.uppy.log("[Dashboard] Files selected through input"),i.addFiles(m))},i.handleDragOver=function(y){var m,g;y.preventDefault(),y.stopPropagation();var w=function(){var R=!0;return i.uppy.iteratePlugins(function(A){A.canHandleRootDrop!=null&&A.canHandleRootDrop(y)&&(R=!0)}),R},P=function(){var R=y.dataTransfer.types;return R.some(function(A){return A==="Files"})},E=w(),O=P();if(!E&&!O||i.opts.disabled||i.opts.disableLocalFiles&&(O||!E)||!i.uppy.getState().allowNewUpload){y.dataTransfer.dropEffect="none",clearTimeout(i.removeDragOverClassTimeout);return}y.dataTransfer.dropEffect="copy",clearTimeout(i.removeDragOverClassTimeout),i.setPluginState({isDraggingOver:!0}),(m=(g=i.opts).onDragOver)==null||m.call(g,y)},i.handleDragLeave=function(y){var m,g;y.preventDefault(),y.stopPropagation(),clearTimeout(i.removeDragOverClassTimeout),i.removeDragOverClassTimeout=setTimeout(function(){i.setPluginState({isDraggingOver:!1})},50),(m=(g=i.opts).onDragLeave)==null||m.call(g,y)},i.handleDrop=function(){var y=eet(Uk().mark(function m(g){var w,P,E,O,x;return Uk().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return g.preventDefault(),g.stopPropagation(),clearTimeout(i.removeDragOverClassTimeout),i.setPluginState({isDraggingOver:!1}),i.uppy.iteratePlugins(function(I){I.type==="acquirer"&&(I.handleRootDrop==null||I.handleRootDrop(g))}),E=!1,O=function(C){i.uppy.log(C,"error"),E||(i.uppy.info(C.message,"error"),E=!0)},i.uppy.log("[Dashboard] Processing dropped files"),A.next=10,hl(g.dataTransfer,{logDropError:O});case 10:x=A.sent,x.length>0&&(i.uppy.log("[Dashboard] Files dropped"),i.addFiles(x)),(w=(P=i.opts).onDrop)==null||w.call(P,g);case 13:case"end":return A.stop()}},m)}));return function(m){return y.apply(this,arguments)}}(),i.handleRequestThumbnail=function(y){i.opts.waitForThumbnailsBeforeUpload||i.uppy.emit("thumbnail:request",y)},i.handleCancelThumbnail=function(y){i.opts.waitForThumbnailsBeforeUpload||i.uppy.emit("thumbnail:cancel",y)},i.handleKeyDownInInline=function(y){y.keyCode===rJ&&yQ(y,i.getPluginState().activeOverlayType,i.el)},i.handlePasteOnBody=function(y){var m=i.el.contains(document.activeElement);m&&i.handlePaste(y)},i.handleComplete=function(y){var m=y.failed;i.opts.closeAfterFinish&&!(m!=null&&m.length)&&i.requestCloseModal()},i.handleCancelRestore=function(){i.uppy.emit("restore-canceled")},Object.defineProperty(qe(i),ma,{writable:!0,value:function(){if(!i.opts.disableThumbnailGenerator){var m=600,g=i.uppy.getFiles();if(g.length===1){var w=i.uppy.getPlugin("".concat(i.id,":ThumbnailGenerator"));w==null||w.setOptions({thumbnailWidth:m});var P=zi(zi({},g[0]),{},{preview:void 0});w==null||w.requestThumbnail(P).then(function(){w==null||w.setOptions({thumbnailWidth:i.opts.thumbnailWidth})})}}}}),Object.defineProperty(qe(i),py,{writable:!0,value:function(m){var g=m[0],w=i.getPluginState(),P=w.metaFields,E=P&&P.length>0,O=i.canEditFile(g);E&&i.opts.autoOpen==="metaEditor"?i.toggleFileCard(!0,g.id):O&&i.opts.autoOpen==="imageEditor"&&i.openFileEditor(g)}}),i.initEvents=function(){if(i.opts.trigger&&!i.opts.inline){var y=ik(i.opts.trigger);y?y.forEach(function(m){return m.addEventListener("click",i.openModal)}):i.uppy.log("Dashboard modal trigger not found. Make sure `trigger` is set in Dashboard options, unless you are planning to call `dashboard.openModal()` method yourself","warning")}i.startListeningToResize(),document.addEventListener("paste",i.handlePasteOnBody),i.uppy.on("plugin-added",St(qe(i),gl)[gl]),i.uppy.on("plugin-remove",i.removeTarget),i.uppy.on("file-added",i.hideAllPanels),i.uppy.on("dashboard:modal-closed",i.hideAllPanels),i.uppy.on("complete",i.handleComplete),i.uppy.on("files-added",St(qe(i),ma)[ma]),i.uppy.on("file-removed",St(qe(i),ma)[ma]),document.addEventListener("focus",i.recordIfFocusedOnUppyRecently,!0),document.addEventListener("click",i.recordIfFocusedOnUppyRecently,!0),i.opts.inline&&i.el.addEventListener("keydown",i.handleKeyDownInInline),i.opts.autoOpen&&i.uppy.on("files-added",St(qe(i),py)[py])},i.removeEvents=function(){var y=ik(i.opts.trigger);!i.opts.inline&&y&&y.forEach(function(m){return m.removeEventListener("click",i.openModal)}),i.stopListeningToResize(),document.removeEventListener("paste",i.handlePasteOnBody),window.removeEventListener("popstate",i.handlePopState,!1),i.uppy.off("plugin-added",St(qe(i),gl)[gl]),i.uppy.off("plugin-remove",i.removeTarget),i.uppy.off("file-added",i.hideAllPanels),i.uppy.off("dashboard:modal-closed",i.hideAllPanels),i.uppy.off("complete",i.handleComplete),i.uppy.off("files-added",St(qe(i),ma)[ma]),i.uppy.off("file-removed",St(qe(i),ma)[ma]),document.removeEventListener("focus",i.recordIfFocusedOnUppyRecently),document.removeEventListener("click",i.recordIfFocusedOnUppyRecently),i.opts.inline&&i.el.removeEventListener("keydown",i.handleKeyDownInInline),i.opts.autoOpen&&i.uppy.off("files-added",St(qe(i),py)[py])},i.superFocusOnEachUpdate=function(){var y=i.el.contains(document.activeElement),m=document.activeElement===document.body||document.activeElement===null,g=i.uppy.getState().info.length===0,w=!i.opts.inline;g&&(w||y||m&&i.ifFocusedOnUppyRecently)?i.superFocus(i.el,i.getPluginState().activeOverlayType):i.superFocus.cancel()},i.afterUpdate=function(){if(i.opts.disabled&&!i.dashboardIsDisabled){i.disableInteractiveElements(!0);return}!i.opts.disabled&&i.dashboardIsDisabled&&i.disableInteractiveElements(!1),i.superFocusOnEachUpdate()},i.saveFileCard=function(y,m){i.uppy.setFileMeta(m,y),i.toggleFileCard(!1,m)},Object.defineProperty(qe(i),ml,{writable:!0,value:function(m){var g=i.uppy.getPlugin(m.id);return zi(zi({},m),{},{icon:g.icon||i.opts.defaultPickerIcon,render:g.render})}}),Object.defineProperty(qe(i),Lk,{writable:!0,value:function(m){var g=i.uppy.getPlugin(m.id);return typeof g.isSupported!="function"?!0:g.isSupported()}}),Object.defineProperty(qe(i),Ck,{writable:!0,value:Fk(function(y){return y.filter(function(m){return m.type==="acquirer"&&St(qe(i),Lk)[Lk](m)}).map(St(qe(i),ml)[ml])})}),Object.defineProperty(qe(i),Nk,{writable:!0,value:Fk(function(y){return y.filter(function(m){return m.type==="progressindicator"}).map(St(qe(i),ml)[ml])})}),Object.defineProperty(qe(i),ga,{writable:!0,value:Fk(function(y){return y.filter(function(m){return m.type==="editor"}).map(St(qe(i),ml)[ml])})}),i.render=function(y){var m=i.getPluginState(),g=y.files,w=y.capabilities,P=y.allowNewUpload,E=i.uppy.getObjectOfFilesPerState(),O=E.newFiles,x=E.uploadStartedFiles,R=E.completeFiles,A=E.erroredFiles,I=E.inProgressFiles,C=E.inProgressNotPausedFiles,k=E.processingFiles,j=E.isUploadStarted,z=E.isAllComplete,B=E.isAllErrored,Y=E.isAllPaused,Q=St(qe(i),Ck)[Ck](m.targets),X=St(qe(i),Nk)[Nk](m.targets),$=St(qe(i),ga)[ga](m.targets),H;return i.opts.theme==="auto"?H=w.darkMode?"dark":"light":H=i.opts.theme,["files","folders","both"].indexOf(i.opts.fileManagerSelectionType)<0&&(i.opts.fileManagerSelectionType="files",console.warn('Unsupported option for "fileManagerSelectionType". Using default of "'.concat(i.opts.fileManagerSelectionType,'".'))),qk({state:y,isHidden:m.isHidden,files:g,newFiles:O,uploadStartedFiles:x,completeFiles:R,erroredFiles:A,inProgressFiles:I,inProgressNotPausedFiles:C,processingFiles:k,isUploadStarted:j,isAllComplete:z,isAllErrored:B,isAllPaused:Y,totalFileCount:Object.keys(g).length,totalProgress:y.totalProgress,allowNewUpload:P,acquirers:Q,theme:H,disabled:i.opts.disabled,disableLocalFiles:i.opts.disableLocalFiles,direction:i.opts.direction,activePickerPanel:m.activePickerPanel,showFileEditor:m.showFileEditor,saveFileEditor:i.saveFileEditor,closeFileEditor:i.closeFileEditor,disableInteractiveElements:i.disableInteractiveElements,animateOpenClose:i.opts.animateOpenClose,isClosing:m.isClosing,progressindicators:X,editors:$,autoProceed:i.uppy.opts.autoProceed,id:i.id,closeModal:i.requestCloseModal,handleClickOutside:i.handleClickOutside,handleInputChange:i.handleInputChange,handlePaste:i.handlePaste,inline:i.opts.inline,showPanel:i.showPanel,hideAllPanels:i.hideAllPanels,i18n:i.i18n,i18nArray:i.i18nArray,uppy:i.uppy,note:i.opts.note,recoveredState:y.recoveredState,metaFields:m.metaFields,resumableUploads:w.resumableUploads||!1,individualCancellation:w.individualCancellation,isMobileDevice:w.isMobileDevice,fileCardFor:m.fileCardFor,toggleFileCard:i.toggleFileCard,toggleAddFilesPanel:i.toggleAddFilesPanel,showAddFilesPanel:m.showAddFilesPanel,saveFileCard:i.saveFileCard,openFileEditor:i.openFileEditor,canEditFile:i.canEditFile,width:i.opts.width,height:i.opts.height,showLinkToFileUploadResult:i.opts.showLinkToFileUploadResult,fileManagerSelectionType:i.opts.fileManagerSelectionType,proudlyDisplayPoweredByUppy:i.opts.proudlyDisplayPoweredByUppy,hideCancelButton:i.opts.hideCancelButton,hideRetryButton:i.opts.hideRetryButton,hidePauseResumeButton:i.opts.hidePauseResumeButton,showRemoveButtonAfterComplete:i.opts.showRemoveButtonAfterComplete,containerWidth:m.containerWidth,containerHeight:m.containerHeight,areInsidesReadyToBeVisible:m.areInsidesReadyToBeVisible,isTargetDOMEl:i.isTargetDOMEl,parentElement:i.el,allowedFileTypes:i.uppy.opts.restrictions.allowedFileTypes,maxNumberOfFiles:i.uppy.opts.restrictions.maxNumberOfFiles,requiredMetaFields:i.uppy.opts.restrictions.requiredMetaFields,showSelectedFiles:i.opts.showSelectedFiles,showNativePhotoCameraButton:i.opts.showNativePhotoCameraButton,showNativeVideoCameraButton:i.opts.showNativeVideoCameraButton,nativeCameraFacingMode:i.opts.nativeCameraFacingMode,singleFileFullScreen:i.opts.singleFileFullScreen,handleCancelRestore:i.handleCancelRestore,handleRequestThumbnail:i.handleRequestThumbnail,handleCancelThumbnail:i.handleCancelThumbnail,isDraggingOver:m.isDraggingOver,handleDragOver:i.handleDragOver,handleDragLeave:i.handleDragLeave,handleDrop:i.handleDrop})},Object.defineProperty(qe(i),Dk,{writable:!0,value:function(){var m=i.opts.plugins||[];m.forEach(function(g){var w=i.uppy.getPlugin(g);w?w.mount(qe(i),w):i.uppy.log("[Uppy] Dashboard could not find plugin '".concat(g,"', make sure to uppy.use() the plugins you are specifying"),"warning")})}}),Object.defineProperty(qe(i),Mk,{writable:!0,value:function(){i.uppy.iteratePlugins(St(qe(i),gl)[gl])}}),Object.defineProperty(qe(i),gl,{writable:!0,value:function(m){var g,w=["acquirer","editor"];if(m&&!((g=m.opts)!=null&&g.target)&&w.includes(m.type)){var P=i.getPluginState().targets.some(function(E){return m.id===E.id});P||m.mount(qe(i),m)}}}),i.install=function(){i.setPluginState({isHidden:!0,fileCardFor:null,activeOverlayType:null,showAddFilesPanel:!1,activePickerPanel:void 0,showFileEditor:!1,metaFields:i.opts.metaFields,targets:[],areInsidesReadyToBeVisible:!1,isDraggingOver:!1});var y=i.opts,m=y.inline,g=y.closeAfterFinish;if(m&&g)throw new Error("[Dashboard] `closeAfterFinish: true` cannot be used on an inline Dashboard, because an inline Dashboard cannot be closed at all. Either set `inline: false`, or disable the `closeAfterFinish` option.");var w=i.uppy.opts,P=w.allowMultipleUploads,E=w.allowMultipleUploadBatches;(P||E)&&g&&i.uppy.log("[Dashboard] When using `closeAfterFinish`, we recommended setting the `allowMultipleUploadBatches` option to `false` in the Uppy constructor. See https://uppy.io/docs/uppy/#allowMultipleUploads-true","warning");var O=i.opts.target;O&&i.mount(O,qe(i)),i.opts.disableStatusBar||i.uppy.use(Bf,{id:"".concat(i.id,":StatusBar"),target:qe(i),hideUploadButton:i.opts.hideUploadButton,hideRetryButton:i.opts.hideRetryButton,hidePauseResumeButton:i.opts.hidePauseResumeButton,hideCancelButton:i.opts.hideCancelButton,showProgressDetails:i.opts.showProgressDetails,hideAfterFinish:i.opts.hideProgressAfterFinish,locale:i.opts.locale,doneButtonHandler:i.opts.doneButtonHandler}),i.opts.disableInformer||i.uppy.use(Hf,{id:"".concat(i.id,":Informer"),target:qe(i)}),i.opts.disableThumbnailGenerator||i.uppy.use(iy,{id:"".concat(i.id,":ThumbnailGenerator"),thumbnailWidth:i.opts.thumbnailWidth,thumbnailHeight:i.opts.thumbnailHeight,thumbnailType:i.opts.thumbnailType,waitForThumbnailsBeforeUpload:i.opts.waitForThumbnailsBeforeUpload,lazy:!i.opts.waitForThumbnailsBeforeUpload}),i.darkModeMediaQuery=typeof window!="undefined"&&window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)"):null;var x=i.darkModeMediaQuery?i.darkModeMediaQuery.matches:!1;if(i.uppy.log("[Dashboard] Dark mode is ".concat(x?"on":"off")),i.setDarkModeCapability(x),i.opts.theme==="auto"){var R;(R=i.darkModeMediaQuery)==null||R.addListener(i.handleSystemDarkModeChange)}St(qe(i),Dk)[Dk](),St(qe(i),Mk)[Mk](),i.initEvents()},i.uninstall=function(){if(!i.opts.disableInformer){var y=i.uppy.getPlugin("".concat(i.id,":Informer"));y&&i.uppy.removePlugin(y)}if(!i.opts.disableStatusBar){var m=i.uppy.getPlugin("".concat(i.id,":StatusBar"));m&&i.uppy.removePlugin(m)}if(!i.opts.disableThumbnailGenerator){var g=i.uppy.getPlugin("".concat(i.id,":ThumbnailGenerator"));g&&i.uppy.removePlugin(g)}var w=i.opts.plugins||[];if(w.forEach(function(E){var O=i.uppy.getPlugin(E);O&&O.unmount()}),i.opts.theme==="auto"){var P;(P=i.darkModeMediaQuery)==null||P.removeListener(i.handleSystemDarkModeChange)}i.opts.disablePageScrollWhenModalOpen&&document.body.classList.remove("uppy-Dashboard-isFixed"),i.unmount(),i.removeEvents()},i.id=i.opts.id||"Dashboard",i.title="Dashboard",i.type="orchestrator",i.defaultLocale=QQ,(l=(a=i.opts).doneButtonHandler)!=null||(a.doneButtonHandler=function(){i.uppy.clearUploadedFiles(),i.requestCloseModal()}),(f=(c=i.opts).onRequestCloseModal)!=null||(c.onRequestCloseModal=function(){return i.closeModal()}),i.i18nInit(),i}return net(e)}(Ae);vO.VERSION=fet.version;var uJ={strings:{dropHereOr:"Drop here or %{browse}",browse:"browse"}};function qu(t){"@babel/helpers - typeof";return qu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qu(t)}function Gk(){"use strict";Gk=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,u){s[o]=u.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(s,o,u){return Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(u,p,v){return u[p]=v}}function y(s,o,u,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),b=new H(p||[]);return i(h,"_invoke",{value:Y(s,u,b)}),h}function m(s,o,u){try{return{type:"normal",arg:s.call(o,u)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var g="suspendedStart",w="suspendedYield",P="executing",E="completed",O={};function x(){}function R(){}function A(){}var I={};d(I,l,function(){return this});var C=Object.getPrototypeOf,k=C&&C(C(K([])));k&&k!==r&&n.call(k,l)&&(I=k);var j=A.prototype=x.prototype=Object.create(I);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(u){return this._invoke(o,u)})})}function B(s,o){function u(v,h,b,S){var _=m(s[v],s,h);if(_.type!=="throw"){var q=_.arg,F=q.value;return F&&qu(F)=="object"&&n.call(F,"__await")?o.resolve(F.__await).then(function(N){u("next",N,b,S)},function(N){u("throw",N,b,S)}):o.resolve(F).then(function(N){q.value=N,b(q)},function(N){return u("throw",N,b,S)})}S(_.arg)}var p;i(this,"_invoke",{value:function(h,b){function S(){return new o(function(_,q){u(h,b,_,q)})}return p=p?p.then(S,S):S()}})}function Y(s,o,u){var p=g;return function(v,h){if(p===P)throw new Error("Generator is already running");if(p===E){if(v==="throw")throw h;return{value:t,done:!0}}for(u.method=v,u.arg=h;;){var b=u.delegate;if(b){var S=Q(b,u);if(S){if(S===O)continue;return S}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(p===g)throw p=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);p=P;var _=m(s,o,u);if(_.type==="normal"){if(p=u.done?E:w,_.arg===O)continue;return{value:_.arg,done:u.done}}_.type==="throw"&&(p=E,u.method="throw",u.arg=_.arg)}}}function Q(s,o){var u=o.method,p=s.iterator[u];if(p===t)return o.delegate=null,u==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||u!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+u+"' method")),O;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,O;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,O):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,O)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function K(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var u=-1,p=function v(){for(;++u=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function sJ(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function det(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){sJ(a,n,i,l,c,"next",f)}function c(f){sJ(a,n,i,l,c,"throw",f)}l(void 0)})}}function lJ(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function cJ(t){for(var e=1;e0&&(i.uppy.log("[DragDrop] Files selected through input"),i.addFiles(l)),a.target.value=null},i.handleDragOver=function(a){var l,c;a.preventDefault(),a.stopPropagation();var f=a.dataTransfer.types,d=f.some(function(g){return g==="Files"}),y=i.uppy.getState(),m=y.allowNewUpload;if(!d||!m){a.dataTransfer.dropEffect="none",clearTimeout(i.removeDragOverClassTimeout);return}a.dataTransfer.dropEffect="copy",clearTimeout(i.removeDragOverClassTimeout),i.setPluginState({isDraggingOver:!0}),(l=(c=i.opts).onDragOver)==null||l.call(c,a)},i.handleDragLeave=function(a){var l,c;a.preventDefault(),a.stopPropagation(),clearTimeout(i.removeDragOverClassTimeout),i.removeDragOverClassTimeout=setTimeout(function(){i.setPluginState({isDraggingOver:!1})},50),(l=(c=i.opts).onDragLeave)==null||l.call(c,a)},i.handleDrop=function(){var a=det(Gk().mark(function l(c){var f,d,y,m;return Gk().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return c.preventDefault(),c.stopPropagation(),clearTimeout(i.removeDragOverClassTimeout),i.setPluginState({isDraggingOver:!1}),y=function(E){i.uppy.log(E,"error")},w.next=7,hl(c.dataTransfer,{logDropError:y});case 7:m=w.sent,m.length>0&&(i.uppy.log("[DragDrop] Files dropped"),i.addFiles(m)),(f=(d=i.opts).onDrop)==null||f.call(d,c);case 10:case"end":return w.stop()}},l)}));return function(l){return a.apply(this,arguments)}}(),i.type="acquirer",i.id=i.opts.id||"DragDrop",i.title="Drag & Drop",i.defaultLocale=uJ,i.i18nInit(),i}return met(e,[{key:"renderHiddenFileInput",value:function(){var n=this,i=this.uppy.opts.restrictions;return T("input",{className:"uppy-DragDrop-input",type:"file",hidden:!0,ref:function(l){n.fileInputRef=l},name:this.opts.inputName,multiple:i.maxNumberOfFiles!==1,accept:i.allowedFileTypes,onChange:this.onInputChange})}},{key:"renderLabel",value:function(){return T("div",{className:"uppy-DragDrop-label"},this.i18nArray("dropHereOr",{browse:T("span",{className:"uppy-DragDrop-browse"},this.i18n("browse"))}))}},{key:"renderNote",value:function(){return T("span",{className:"uppy-DragDrop-note"},this.opts.note)}},{key:"render",value:function(){var n=this,i="uppy-u-reset\n uppy-DragDrop-container\n ".concat(this.isDragDropSupported?"uppy-DragDrop--isDragDropSupported":"","\n ").concat(this.getPluginState().isDraggingOver?"uppy-DragDrop--isDraggingOver":"","\n "),a={width:this.opts.width,height:this.opts.height};return T("button",{type:"button",className:i,style:a,onClick:function(){return n.fileInputRef.click()},onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop},this.renderHiddenFileInput(),T("div",{className:"uppy-DragDrop-inner"},e.renderArrowSvg(),this.renderLabel(),this.renderNote()))}},{key:"install",value:function(){var n=this.opts.target;this.setPluginState({isDraggingOver:!1}),n&&this.mount(n,this)}},{key:"uninstall",value:function(){this.unmount()}}],[{key:"renderArrowSvg",value:function(){return T("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon uppy-DragDrop-arrow",width:"16",height:"16",viewBox:"0 0 16 16"},T("path",{d:"M11 10V0H5v10H2l6 6 6-6h-3zm0 0",fillRule:"evenodd"}))}}]),e}(Ae);mO.VERSION=Pet.version;function Fu(t){"@babel/helpers - typeof";return Fu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fu(t)}function Hk(){"use strict";Hk=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,u){s[o]=u.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(s,o,u){return Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(u,p,v){return u[p]=v}}function y(s,o,u,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),b=new H(p||[]);return i(h,"_invoke",{value:Y(s,u,b)}),h}function m(s,o,u){try{return{type:"normal",arg:s.call(o,u)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var g="suspendedStart",w="suspendedYield",P="executing",E="completed",O={};function x(){}function R(){}function A(){}var I={};d(I,l,function(){return this});var C=Object.getPrototypeOf,k=C&&C(C(K([])));k&&k!==r&&n.call(k,l)&&(I=k);var j=A.prototype=x.prototype=Object.create(I);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(u){return this._invoke(o,u)})})}function B(s,o){function u(v,h,b,S){var _=m(s[v],s,h);if(_.type!=="throw"){var q=_.arg,F=q.value;return F&&Fu(F)=="object"&&n.call(F,"__await")?o.resolve(F.__await).then(function(N){u("next",N,b,S)},function(N){u("throw",N,b,S)}):o.resolve(F).then(function(N){q.value=N,b(q)},function(N){return u("throw",N,b,S)})}S(_.arg)}var p;i(this,"_invoke",{value:function(h,b){function S(){return new o(function(_,q){u(h,b,_,q)})}return p=p?p.then(S,S):S()}})}function Y(s,o,u){var p=g;return function(v,h){if(p===P)throw new Error("Generator is already running");if(p===E){if(v==="throw")throw h;return{value:t,done:!0}}for(u.method=v,u.arg=h;;){var b=u.delegate;if(b){var S=Q(b,u);if(S){if(S===O)continue;return S}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(p===g)throw p=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);p=P;var _=m(s,o,u);if(_.type==="normal"){if(p=u.done?E:w,_.arg===O)continue;return{value:_.arg,done:u.done}}_.type==="throw"&&(p=E,u.method="throw",u.arg=_.arg)}}}function Q(s,o){var u=o.method,p=s.iterator[u];if(p===t)return o.delegate=null,u==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||u!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+u+"' method")),O;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,O;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,O):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,O)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function K(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var u=-1,p=function v(){for(;++u=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function dJ(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Tet(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){dJ(a,n,i,l,c,"next",f)}function c(f){dJ(a,n,i,l,c,"throw",f)}l(void 0)})}}function vJ(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function yJ(t){for(var e=1;e0&&(i.uppy.log("[DropTarget] Files were dropped"),i.addFiles(w)),(d=(y=i.opts).onDrop)==null||d.call(y,c);case 15:case"end":return E.stop()}},l)}));return function(l){return a.apply(this,arguments)}}(),i.handleDragOver=function(a){var l,c;zk(a)&&(a.preventDefault(),a.stopPropagation(),a.dataTransfer.dropEffect="copy",clearTimeout(i.removeDragOverClassTimeout),a.currentTarget.classList.add("uppy-is-drag-over"),i.setPluginState({isDraggingOver:!0}),(l=(c=i.opts).onDragOver)==null||l.call(c,a))},i.handleDragLeave=function(a){var l,c;if(zk(a)){a.preventDefault(),a.stopPropagation();var f=a.currentTarget;clearTimeout(i.removeDragOverClassTimeout),i.removeDragOverClassTimeout=setTimeout(function(){f.classList.remove("uppy-is-drag-over"),i.setPluginState({isDraggingOver:!1})},50),(l=(c=i.opts).onDragLeave)==null||l.call(c,a)}},i.addListeners=function(){var a=i.opts.target;if(a instanceof Element?i.nodes=[a]:typeof a=="string"&&(i.nodes=Kt(document.querySelectorAll(a))),!i.nodes||i.nodes.length===0)throw new Error('"'.concat(a,'" does not match any HTML elements'));i.nodes.forEach(function(l){l.addEventListener("dragover",i.handleDragOver,!1),l.addEventListener("dragleave",i.handleDragLeave,!1),l.addEventListener("drop",i.handleDrop,!1)})},i.removeListeners=function(){i.nodes&&i.nodes.forEach(function(a){a.removeEventListener("dragover",i.handleDragOver,!1),a.removeEventListener("dragleave",i.handleDragLeave,!1),a.removeEventListener("drop",i.handleDrop,!1)})},i.type="acquirer",i.id=i.opts.id||"DropTarget",i.title="Drop Target",i}return Ret(e,[{key:"install",value:function(){this.setPluginState({isDraggingOver:!1}),this.addListeners()}},{key:"uninstall",value:function(){this.removeListeners()}}]),e}(ht);Vk.VERSION=Let.version;var wJ={strings:{chooseFiles:"Choose files"}};function rp(t){"@babel/helpers - typeof";return rp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rp(t)}function OJ(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function SJ(t){for(var e=1;et.left+t.width?{left:t.left+t.width-r.width,width:r.width}:e.top+e.height>t.top+t.height?{top:t.top+t.height-r.height,height:r.height}:null}var RJ=Yet;function Xet(t,e,r){return e.leftt.left+t.width?{left:r.left,width:t.left+t.width-r.left}:e.top+e.height>t.top+t.height?{top:r.top,height:t.top+t.height-r.top}:null}var IJ=Xet;function np(t){"@babel/helpers - typeof";return np=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},np(t)}function Qet(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kJ(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,n=new Array(e);r1;return T("div",{className:"uppy-Audio-container"},T("div",{className:"uppy-Audio-audioContainer"},O?T("audio",{className:"uppy-Audio-player",controls:!0,src:r}):T("canvas",{ref:P,className:"uppy-Audio-canvas"})),T("div",{className:"uppy-Audio-footer"},T("div",{className:"uppy-Audio-audioSourceContainer"},R?YJ(t):null),T("div",{className:"uppy-Audio-buttonContainer"},x&&T(rj,{recording:i,onStartRecording:y,onStopRecording:m,i18n:d}),O&&T(ZJ,{onSubmit:f,i18n:d}),O&&T(eZ,{onDiscard:g,i18n:d})),T("div",{className:"uppy-Audio-recordingLength"},!O&&T(ij,{recordingLengthSeconds:w,i18n:d}))))}var tZ=function(t){var e=t.icon,r=t.hasAudio,n=t.i18n;return T("div",{className:"uppy-Audio-permissons"},T("div",{className:"uppy-Audio-permissonsIcon"},e()),T("h1",{className:"uppy-Audio-title"},n(r?"allowAudioAccessTitle":"noAudioTitle")),T("p",null,n(r?"allowAudioAccessDescription":"noAudioDescription")))};var rZ={strings:{pluginNameAudio:"Audio",startAudioRecording:"Begin audio recording",stopAudioRecording:"Stop audio recording",allowAudioAccessTitle:"Please allow access to your microphone",allowAudioAccessDescription:"In order to record audio, please allow microphone access for this site.",noAudioTitle:"Microphone Not Available",noAudioDescription:"In order to record audio, please connect a microphone or another audio input device",recordingStoppedMaxSize:"Recording stopped because the file size is about to exceed the limit",recordingLength:"Recording length %{recording_length}",submitRecordedFile:"Submit recorded file",discardRecordedFile:"Discard recorded file"}};function Lu(t){"@babel/helpers - typeof";return Lu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Lu(t)}function nZ(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Dtt(t){for(var e=1;e=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function iZ(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Utt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){iZ(a,n,i,l,c,"next",f)}function c(f){iZ(a,n,i,l,c,"throw",f)}l(void 0)})}}function Btt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oZ(t,e){for(var r=0;r1&&f.maxFileSize!=null&&!l){var d=he(me(i),Rt)[Rt].reduce(function(w,P){return w+P.size},0),y=(d-he(me(i),Rt)[Rt][0].size)/(he(me(i),Rt)[Rt].length-1),m=y*3,g=Math.max(0,f.maxFileSize-m);d>g&&(l=!0,i.uppy.info(i.i18n("recordingStoppedMaxSize"),"warning",4e3),he(me(i),yy)[yy]())}}),he(me(i),xt)[xt].start(500),i.recordingLengthTimer=setInterval(function(){var c=i.getPluginState().recordingLengthSeconds;i.setPluginState({recordingLengthSeconds:c+1})},1e3),i.setPluginState({isRecording:!0})}}),Object.defineProperty(me(i),yy,{writable:!0,value:function(){var l=new Promise(function(c){he(me(i),xt)[xt].addEventListener("stop",function(){c()}),he(me(i),xt)[xt].stop(),clearInterval(i.recordingLengthTimer),i.setPluginState({recordingLengthSeconds:0})});return l.then(function(){return i.setPluginState({isRecording:!1}),he(me(i),fj)[fj]()}).then(function(c){try{he(me(i),wa)[wa]=c,i.setPluginState({recordedAudio:URL.createObjectURL(c.data)})}catch(f){f.isRestriction||i.uppy.log(f)}}).then(function(){he(me(i),Rt)[Rt]=null,he(me(i),xt)[xt]=null},function(c){throw he(me(i),Rt)[Rt]=null,he(me(i),xt)[xt]=null,c})}}),Object.defineProperty(me(i),lj,{writable:!0,value:function(){i.setPluginState({recordedAudio:null}),he(me(i),wa)[wa]=null}}),Object.defineProperty(me(i),cj,{writable:!0,value:function(){try{he(me(i),wa)[wa]&&i.uppy.addFile(he(me(i),wa)[wa])}catch(l){l.isRestriction||i.uppy.log(l,"warning")}}}),Object.defineProperty(me(i),Oa,{writable:!0,value:function(){var a=Utt(hj().mark(function c(){var f;return hj().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(he(me(i),Tr)[Tr]&&(f=he(me(i),Tr)[Tr].getAudioTracks(),f.forEach(function(m){return m.stop()})),!he(me(i),xt)[xt]){y.next=4;break}return y.next=4,new Promise(function(m){he(me(i),xt)[xt].addEventListener("stop",m,{once:!0}),he(me(i),xt)[xt].stop(),clearInterval(i.recordingLengthTimer)});case 4:he(me(i),Rt)[Rt]=null,he(me(i),xt)[xt]=null,he(me(i),ba)[ba]=!1,he(me(i),Tr)[Tr]=null,i.setPluginState({recordedAudio:null,isRecording:!1,recordingLengthSeconds:0});case 9:case"end":return y.stop()}},c)}));function l(){return a.apply(this,arguments)}return l}()}),Object.defineProperty(me(i),pj,{writable:!0,value:function(l){he(me(i),Oa)[Oa](),he(me(i),wl)[wl]({deviceId:l})}}),Object.defineProperty(me(i),Ol,{writable:!0,value:function(){he(me(i),Ar)[Ar].enumerateDevices().then(function(l){i.setPluginState({audioSources:l.filter(function(c){return c.kind==="audioinput"})})})}}),he(me(i),Ar)[Ar]=navigator.mediaDevices,he(me(i),vy)[vy]=he(me(i),Ar)[Ar]!=null,i.id=i.opts.id||"Audio",i.type="acquirer",i.icon=function(){return T("svg",{className:"uppy-DashboardTab-iconAudio","aria-hidden":"true",focusable:"false",width:"32px",height:"32px",viewBox:"0 0 32 32"},T("path",{d:"M21.143 12.297c.473 0 .857.383.857.857v2.572c0 3.016-2.24 5.513-5.143 5.931v2.64h2.572a.857.857 0 110 1.714H12.57a.857.857 0 110-1.714h2.572v-2.64C12.24 21.24 10 18.742 10 15.726v-2.572a.857.857 0 111.714 0v2.572A4.29 4.29 0 0016 20.01a4.29 4.29 0 004.286-4.285v-2.572c0-.474.384-.857.857-.857zM16 6.5a3 3 0 013 3v6a3 3 0 01-6 0v-6a3 3 0 013-3z",fill:"currentcolor","fill-rule":"nonzero"}))},i.defaultLocale=rZ,i.opts=Dtt({},n),i.i18nInit(),i.title=i.i18n("pluginNameAudio"),i.setPluginState({hasAudio:!1,audioReady:!1,cameraError:null,recordingLengthSeconds:0,audioSources:[],currentDeviceId:null}),i}return Gtt(e,[{key:"render",value:function(){he(this,ba)[ba]||he(this,wl)[wl]();var n=this.getPluginState();return!n.audioReady||!n.hasAudio?T(tZ,{icon:this.icon,i18n:this.i18n,hasAudio:n.hasAudio}):T(aj,vj({},n,{audioActive:he(this,ba)[ba],onChangeSource:he(this,pj)[pj],onStartRecording:he(this,sj)[sj],onStopRecording:he(this,yy)[yy],onDiscardRecordedAudio:he(this,lj)[lj],onSubmit:he(this,cj)[cj],onStop:he(this,Oa)[Oa],i18n:this.i18n,showAudioSourceDropdown:this.opts.showAudioSourceDropdown,supportsRecording:tj(),recording:n.isRecording,stream:he(this,Tr)[Tr]}))}},{key:"install",value:function(){var n=this;this.setPluginState({audioReady:!1,recordingLengthSeconds:0});var i=this.opts.target;i&&this.mount(i,this),he(this,Ar)[Ar]&&(he(this,Ol)[Ol](),he(this,Ar)[Ar].ondevicechange=function(){if(he(n,Ol)[Ol](),he(n,Tr)[Tr]){var a=!0,l=n.getPluginState(),c=l.audioSources,f=l.currentDeviceId;c.forEach(function(d){f===d.deviceId&&(a=!1)}),a&&(he(n,Oa)[Oa](),he(n,wl)[wl]())}})}},{key:"uninstall",value:function(){he(this,Tr)[Tr]&&he(this,Oa)[Oa](),this.unmount()}}]),e}(Ae);function Ytt(){return he(this,Ar)[Ar]?he(this,Ar)[Ar].enumerateDevices().then(function(t){return t.some(function(e){return e.kind==="audioinput"})}):Promise.resolve(!1)}function Xtt(){var t=he(this,Rt)[Rt].find(function(a){var l;return((l=a.type)==null?void 0:l.length)>0}).type,e=Ro(t);if(!e)return Promise.reject(new Error('Could not retrieve recording: Unsupported media type "'.concat(t,'"')));var r="audio-".concat(Date.now(),".").concat(e),n=new Blob(he(this,Rt)[Rt],{type:t}),i={source:this.id,name:r,data:new Blob([n],{type:t}),type:t};return Promise.resolve(i)}RO.VERSION=Ktt.version;var sZ={strings:{pluginNameBox:"Box"}};function Cu(t){"@babel/helpers - typeof";return Cu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cu(t)}function yj(){"use strict";yj=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,u){s[o]=u.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(s,o,u){return Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(u,p,v){return u[p]=v}}function y(s,o,u,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),b=new H(p||[]);return i(h,"_invoke",{value:Y(s,u,b)}),h}function m(s,o,u){try{return{type:"normal",arg:s.call(o,u)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var g="suspendedStart",w="suspendedYield",P="executing",E="completed",O={};function x(){}function R(){}function A(){}var I={};d(I,l,function(){return this});var C=Object.getPrototypeOf,k=C&&C(C(K([])));k&&k!==r&&n.call(k,l)&&(I=k);var j=A.prototype=x.prototype=Object.create(I);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(u){return this._invoke(o,u)})})}function B(s,o){function u(v,h,b,S){var _=m(s[v],s,h);if(_.type!=="throw"){var q=_.arg,F=q.value;return F&&Cu(F)=="object"&&n.call(F,"__await")?o.resolve(F.__await).then(function(N){u("next",N,b,S)},function(N){u("throw",N,b,S)}):o.resolve(F).then(function(N){q.value=N,b(q)},function(N){return u("throw",N,b,S)})}S(_.arg)}var p;i(this,"_invoke",{value:function(h,b){function S(){return new o(function(_,q){u(h,b,_,q)})}return p=p?p.then(S,S):S()}})}function Y(s,o,u){var p=g;return function(v,h){if(p===P)throw new Error("Generator is already running");if(p===E){if(v==="throw")throw h;return{value:t,done:!0}}for(u.method=v,u.arg=h;;){var b=u.delegate;if(b){var S=Q(b,u);if(S){if(S===O)continue;return S}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(p===g)throw p=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);p=P;var _=m(s,o,u);if(_.type==="normal"){if(p=u.done?E:w,_.arg===O)continue;return{value:_.arg,done:u.done}}_.type==="throw"&&(p=E,u.method="throw",u.arg=_.arg)}}}function Q(s,o){var u=o.method,p=s.iterator[u];if(p===t)return o.delegate=null,u==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||u!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+u+"' method")),O;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,O;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,O):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,O)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function K(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var u=-1,p=function v(){for(;++u=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function lZ(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Qtt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){lZ(a,n,i,l,c,"next",f)}function c(f){lZ(a,n,i,l,c,"throw",f)}l(void 0)})}}function Jtt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cZ(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function hZ(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function art(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){hZ(a,n,i,l,c,"next",f)}function c(f){hZ(a,n,i,l,c,"throw",f)}l(void 0)})}}function urt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dZ(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function mZ(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function vrt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){mZ(a,n,i,l,c,"next",f)}function c(f){mZ(a,n,i,l,c,"throw",f)}l(void 0)})}}function yrt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gZ(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function PZ(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function qrt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){PZ(a,n,i,l,c,"next",f)}function c(f){PZ(a,n,i,l,c,"throw",f)}l(void 0)})}}function Frt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function EZ(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function xZ(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Grt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){xZ(a,n,i,l,c,"next",f)}function c(f){xZ(a,n,i,l,c,"throw",f)}l(void 0)})}}function $rt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function RZ(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function jZ(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Qrt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){jZ(a,n,i,l,c,"next",f)}function c(f){jZ(a,n,i,l,c,"throw",f)}l(void 0)})}}function Jrt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qZ(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function LZ(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function ant(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){LZ(a,n,i,l,c,"next",f)}function c(f){LZ(a,n,i,l,c,"throw",f)}l(void 0)})}}function unt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CZ(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function zZ(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Tnt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){zZ(a,n,i,l,c,"next",f)}function c(f){zZ(a,n,i,l,c,"throw",f)}l(void 0)})}}function Ant(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function HZ(t,e){for(var r=0;r0}function Mnt(t){return(t==null?void 0:t.startsWith("http://"))||(t==null?void 0:t.startsWith("https://"))}function Unt(t){var e=new URL(t),r=e.pathname;return r.substring(r.lastIndexOf("/")+1)}var Sa=function(t){Fnt(e,t);function e(r,n){var i;if(Ant(this,e),i=knt(this,e,[r,n]),i.getMeta=function(a){return i.client.post("url/meta",{url:a}).then(function(l){if(l.error)throw i.uppy.log("[URL] Error:"),i.uppy.log(l.error),new Error("Failed to fetch the file");return l})},i.addFile=function(){var a=Tnt(Dj().mark(function l(c,f){var d,y,m;return Dj().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(d=Nnt(c),Mnt(d)){w.next=5;break}return i.uppy.log("[URL] Incorrect URL entered: ".concat(d)),i.uppy.info(i.i18n("enterCorrectUrl"),"error",4e3),w.abrupt("return",void 0);case 5:return w.prev=5,w.next=8,i.getMeta(d);case 8:return y=w.sent,m={meta:f,source:i.id,name:y.name||Unt(d),type:y.type,data:{size:y.size},isRemote:!0,body:{url:d},remote:{companionUrl:i.opts.companionUrl,url:"".concat(i.hostname,"/url/get"),body:{fileId:d,url:d},requestClientId:e.requestClientId}},i.uppy.log("[Url] Adding remote file"),w.prev=11,w.abrupt("return",i.uppy.addFile(m));case 15:return w.prev=15,w.t0=w.catch(11),w.t0.isRestriction||i.uppy.log(w.t0),w.abrupt("return",w.t0);case 19:w.next=26;break;case 21:return w.prev=21,w.t1=w.catch(5),i.uppy.log(w.t1),i.uppy.info({message:i.i18n("failedToFetch"),details:w.t1},"error",4e3),w.abrupt("return",w.t1);case 26:case"end":return w.stop()}},l,null,[[5,21],[11,15]])}));return function(l,c){return a.apply(this,arguments)}}(),i.handleRootDrop=function(a){MO(a.dataTransfer,"drop",function(l){i.uppy.log("[URL] Adding file from dropped url: ".concat(l)),i.addFile(l)})},i.handleRootPaste=function(a){MO(a.clipboardData,"paste",function(l){i.uppy.log("[URL] Adding file from pasted url: ".concat(l)),i.addFile(l)})},i.id=i.opts.id||"Url",i.title=i.opts.title||"Link",i.type="acquirer",i.icon=function(){return T(Cnt,null)},i.defaultLocale=$Z,i.i18nInit(),i.hostname=i.opts.companionUrl,!i.hostname)throw new Error("Companion hostname is required, please consult https://uppy.io/docs/companion");return i.client=new Mn(r,{pluginId:i.id,provider:"url",companionUrl:i.opts.companionUrl,companionHeaders:i.opts.companionHeaders,companionCookiesRule:i.opts.companionCookiesRule}),i.uppy.registerRequestClient(e.requestClientId,i.client),i}return xnt(e,[{key:"render",value:function(){return T(GZ,{i18n:this.i18n,addFile:this.addFile})}},{key:"install",value:function(){var n=this.opts.target;n&&this.mount(n,this)}},{key:"uninstall",value:function(){this.unmount()}}]),e}(Ae);VZ=Sa;Sa.VERSION=Lnt.version;Sa.requestClientId=VZ.name;Sa.prototype.canHandleRootDrop=Dnt;var KZ={strings:{pluginNameZoom:"Zoom"}};function zu(t){"@babel/helpers - typeof";return zu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zu(t)}function Uj(){"use strict";Uj=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,u){s[o]=u.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(s,o,u){return Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(u,p,v){return u[p]=v}}function y(s,o,u,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),b=new H(p||[]);return i(h,"_invoke",{value:Y(s,u,b)}),h}function m(s,o,u){try{return{type:"normal",arg:s.call(o,u)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var g="suspendedStart",w="suspendedYield",P="executing",E="completed",O={};function x(){}function R(){}function A(){}var I={};d(I,l,function(){return this});var C=Object.getPrototypeOf,k=C&&C(C(K([])));k&&k!==r&&n.call(k,l)&&(I=k);var j=A.prototype=x.prototype=Object.create(I);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(u){return this._invoke(o,u)})})}function B(s,o){function u(v,h,b,S){var _=m(s[v],s,h);if(_.type!=="throw"){var q=_.arg,F=q.value;return F&&zu(F)=="object"&&n.call(F,"__await")?o.resolve(F.__await).then(function(N){u("next",N,b,S)},function(N){u("throw",N,b,S)}):o.resolve(F).then(function(N){q.value=N,b(q)},function(N){return u("throw",N,b,S)})}S(_.arg)}var p;i(this,"_invoke",{value:function(h,b){function S(){return new o(function(_,q){u(h,b,_,q)})}return p=p?p.then(S,S):S()}})}function Y(s,o,u){var p=g;return function(v,h){if(p===P)throw new Error("Generator is already running");if(p===E){if(v==="throw")throw h;return{value:t,done:!0}}for(u.method=v,u.arg=h;;){var b=u.delegate;if(b){var S=Q(b,u);if(S){if(S===O)continue;return S}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(p===g)throw p=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);p=P;var _=m(s,o,u);if(_.type==="normal"){if(p=u.done?E:w,_.arg===O)continue;return{value:_.arg,done:u.done}}_.type==="throw"&&(p=E,u.method="throw",u.arg=_.arg)}}}function Q(s,o){var u=o.method,p=s.iterator[u];if(p===t)return o.delegate=null,u==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||u!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+u+"' method")),O;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,O;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,O):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,O)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function K(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var u=-1,p=function v(){for(;++u=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function YZ(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Bnt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){YZ(a,n,i,l,c,"next",f)}function c(f){YZ(a,n,i,l,c,"throw",f)}l(void 0)})}}function Gnt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function XZ(t,e){for(var r=0;r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return a=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function Qnt(t,e){if(t){if(typeof t=="string")return JZ(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return JZ(t,e)}}function JZ(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r9?":":":0")+t}var wit=function(t){git(e,t);function e(r){var n;return pit(this,e),n=vit(this,e,[r]),n.wrapperStyle={width:"100%",height:"100%",display:"flex"},n.overlayStyle={position:"absolute",width:"100%",height:"100%",background:"black",opacity:.7},n.infoContainerStyle={marginLeft:"auto",marginRight:"auto",marginTop:"auto",marginBottom:"auto",zIndex:1,color:"white"},n.infotextStyle={marginLeft:"auto",marginRight:"auto",marginBottom:"1rem",fontSize:"1.5rem"},n.timeStyle={display:"block",fontWeight:"bold",marginLeft:"auto",marginRight:"auto",fontSize:"3rem",fontFamily:"Courier New"},n.state={elapsedTime:0},n}return hit(e,[{key:"startTimer",value:function(){this.timerTick(),this.timerRunning=!0}},{key:"resetTimer",value:function(){clearTimeout(this.timer),this.setState({elapsedTime:0}),this.timerRunning=!1}},{key:"timerTick",value:function(){var n=this;this.timer=setTimeout(function(){n.setState(function(i){return{elapsedTime:i.elapsedTime+1}}),n.timerTick()},1e3)}},{key:"render",value:function(){var n=cit({},this.props),i=n.recording,a=n.i18n,l=this.state.elapsedTime,c=bit(l);return i&&!this.timerRunning&&this.startTimer(),!i&&this.timerRunning&&this.resetTimer(),i?T("div",{style:this.wrapperStyle},T("div",{style:this.overlayStyle}),T("div",{style:this.infoContainerStyle},T("div",{style:this.infotextStyle},a("recording")),T("div",{style:this.timeStyle},c))):null}}]),e}(ct),see=wit;function Qj(t){var e=t.streamActive,r=t.i18n;return e?T("div",{title:r("streamActive"),"aria-label":r("streamActive"),className:"uppy-ScreenCapture-icon--stream uppy-ScreenCapture-icon--streamActive"},T("svg",{"aria-hidden":"true",focusable:"false",width:"24",height:"24",viewBox:"0 0 24 24"},T("path",{d:"M0 0h24v24H0z",opacity:".1",fill:"none"}),T("path",{d:"M0 0h24v24H0z",fill:"none"}),T("path",{d:"M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm18-7H5v1.63c3.96 1.28 7.09 4.41 8.37 8.37H19V7zM1 10v2c4.97 0 9 4.03 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}))):T("div",{title:r("streamPassive"),"aria-label":r("streamPassive"),className:"uppy-ScreenCapture-icon--stream"},T("svg",{"aria-hidden":"true",focusable:"false",width:"24",height:"24",viewBox:"0 0 24 24"},T("path",{d:"M0 0h24v24H0z",opacity:".1",fill:"none"}),T("path",{d:"M0 0h24v24H0z",fill:"none"}),T("path",{d:"M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2c4.97 0 9 4.03 9 9h2c0-6.08-4.93-11-11-11z"})))}function wp(t){"@babel/helpers - typeof";return wp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},wp(t)}function Oit(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lee(t,e){for(var r=0;r1,Y={playsInline:!0};return l?(Y.muted=!1,Y.controls=!0,Y.src=l,this.videoElement&&(this.videoElement.srcObject=null)):(Y.muted=!0,Y.autoPlay=!0,Y.srcObject=a),T("div",{className:"uppy uppy-Webcam-container"},T("div",{className:"uppy-Webcam-videoContainer"},T("video",pq({ref:function(X){return n.videoElement=X},className:"uppy-Webcam-video ".concat(E?"uppy-Webcam-video--mirrored":"")},Y))),T("div",{className:"uppy-Webcam-footer"},T("div",{className:"uppy-Webcam-videoSourceContainer"},B?cq(this.props):null),T("div",{className:"uppy-Webcam-buttonContainer"},j&&T(aq,{onSnapshot:O,i18n:P}),k&&T(uq,{recording:c,onStartRecording:x,onStopRecording:R,i18n:P}),C&&T(gee,{onSubmit:w,i18n:P}),C&&T(bee,{onDiscard:A,i18n:P})),T("div",{className:"uppy-Webcam-recordingLength"},z&&T(lq,{recordingLengthSeconds:I,i18n:P}))))}}]),e}(ct),See=eot;function hq(t){var e=t.icon,r=t.i18n,n=t.hasCamera;return T("div",{className:"uppy-Webcam-permissons"},T("div",{className:"uppy-Webcam-permissonsIcon"},e()),T("h1",{className:"uppy-Webcam-title"},r(n?"allowAccessTitle":"noCameraTitle")),T("p",null,r(n?"allowAccessDescription":"noCameraDescription")))}var _ee={strings:{pluginNameCamera:"Camera",noCameraTitle:"Camera Not Available",noCameraDescription:"In order to take pictures or record video, please connect a camera device",recordingStoppedMaxSize:"Recording stopped because the file size is about to exceed the limit",submitRecordedFile:"Submit recorded file",discardRecordedFile:"Discard recorded file",smile:"Smile!",takePicture:"Take a picture",startRecording:"Begin video recording",stopRecording:"Stop video recording",recordingLength:"Recording length %{recording_length}",allowAccessTitle:"Please allow access to your camera",allowAccessDescription:"In order to take pictures or record video with your camera, please allow camera access for this site."}};function _a(t){"@babel/helpers - typeof";return _a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_a(t)}function vq(){"use strict";vq=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,u){s[o]=u.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(s,o,u){return Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(u,p,v){return u[p]=v}}function y(s,o,u,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),b=new H(p||[]);return i(h,"_invoke",{value:Y(s,u,b)}),h}function m(s,o,u){try{return{type:"normal",arg:s.call(o,u)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var g="suspendedStart",w="suspendedYield",P="executing",E="completed",O={};function x(){}function R(){}function A(){}var I={};d(I,l,function(){return this});var C=Object.getPrototypeOf,k=C&&C(C(K([])));k&&k!==r&&n.call(k,l)&&(I=k);var j=A.prototype=x.prototype=Object.create(I);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(u){return this._invoke(o,u)})})}function B(s,o){function u(v,h,b,S){var _=m(s[v],s,h);if(_.type!=="throw"){var q=_.arg,F=q.value;return F&&_a(F)=="object"&&n.call(F,"__await")?o.resolve(F.__await).then(function(N){u("next",N,b,S)},function(N){u("throw",N,b,S)}):o.resolve(F).then(function(N){q.value=N,b(q)},function(N){return u("throw",N,b,S)})}S(_.arg)}var p;i(this,"_invoke",{value:function(h,b){function S(){return new o(function(_,q){u(h,b,_,q)})}return p=p?p.then(S,S):S()}})}function Y(s,o,u){var p=g;return function(v,h){if(p===P)throw new Error("Generator is already running");if(p===E){if(v==="throw")throw h;return{value:t,done:!0}}for(u.method=v,u.arg=h;;){var b=u.delegate;if(b){var S=Q(b,u);if(S){if(S===O)continue;return S}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(p===g)throw p=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);p=P;var _=m(s,o,u);if(_.type==="normal"){if(p=u.done?E:w,_.arg===O)continue;return{value:_.arg,done:u.done}}_.type==="throw"&&(p=E,u.method="throw",u.arg=_.arg)}}}function Q(s,o){var u=o.method,p=s.iterator[u];if(p===t)return o.delegate=null,u==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||u!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+u+"' method")),O;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,O;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,O):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,O)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function K(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var u=-1,p=function v(){for(;++u=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function Pee(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function tot(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){Pee(a,n,i,l,c,"next",f)}function c(f){Pee(a,n,i,l,c,"throw",f)}l(void 0)})}}function Eee(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Hu(t){for(var e=1;e0&&(n.mimeType=c[0])}return n}},{key:"startRecording",value:function(){var n=this;this.recorder=new MediaRecorder(this.stream,this.getMediaRecorderOptions()),this.recordingChunks=[];var i=!1;this.recorder.addEventListener("dataavailable",function(a){n.recordingChunks.push(a.data);var l=n.uppy.opts.restrictions;if(n.recordingChunks.length>1&&l.maxFileSize!=null&&!i){var c=n.recordingChunks.reduce(function(m,g){return m+g.size},0),f=(c-n.recordingChunks[0].size)/(n.recordingChunks.length-1),d=f*3,y=Math.max(0,l.maxFileSize-d);c>y&&(i=!0,n.uppy.info(n.i18n("recordingStoppedMaxSize"),"warning",4e3),n.stopRecording())}}),this.recorder.start(500),this.opts.showRecordingLength&&(this.recordingLengthTimer=setInterval(function(){var a=n.getPluginState().recordingLengthSeconds;n.setPluginState({recordingLengthSeconds:a+1})},1e3)),this.setPluginState({isRecording:!0})}},{key:"stopRecording",value:function(){var n=this,i=new Promise(function(a){n.recorder.addEventListener("stop",function(){a()}),n.recorder.stop(),n.opts.showRecordingLength&&(clearInterval(n.recordingLengthTimer),n.setPluginState({recordingLengthSeconds:0}))});return i.then(function(){return n.setPluginState({isRecording:!1}),n.getVideo()}).then(function(a){try{n.capturedMediaFile=a,n.setPluginState({recordedVideo:URL.createObjectURL(a.data)}),by(n,Wi)[Wi]=!1}catch(l){l.isRestriction||n.uppy.log(l)}}).then(function(){n.recordingChunks=null,n.recorder=null},function(a){throw n.recordingChunks=null,n.recorder=null,a})}},{key:"discardRecordedVideo",value:function(){this.setPluginState({recordedVideo:null}),this.opts.mirror&&(by(this,Wi)[Wi]=!0),this.capturedMediaFile=null}},{key:"submit",value:function(){try{this.capturedMediaFile&&this.uppy.addFile(this.capturedMediaFile)}catch(n){n.isRestriction||this.uppy.log(n,"error")}}},{key:"stop",value:function(){var r=tot(vq().mark(function i(){var a=this,l,c;return vq().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(this.stream&&(l=this.stream.getAudioTracks(),c=this.stream.getVideoTracks(),l.concat(c).forEach(function(y){return y.stop()})),!this.recorder){d.next=4;break}return d.next=4,new Promise(function(y){a.recorder.addEventListener("stop",y,{once:!0}),a.recorder.stop(),a.opts.showRecordingLength&&clearInterval(a.recordingLengthTimer)});case 4:this.recordingChunks=null,this.recorder=null,this.webcamActive=!1,this.stream=null,this.setPluginState({recordedVideo:null,isRecording:!1,recordingLengthSeconds:0});case 9:case"end":return d.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"getVideoElement",value:function(){return this.el.querySelector(".uppy-Webcam-video")}},{key:"oneTwoThreeSmile",value:function(){var n=this;return new Promise(function(i,a){var l=n.opts.countdown,c=setInterval(function(){if(!n.webcamActive)return clearInterval(c),n.captureInProgress=!1,a(new Error("Webcam is not active"));l?(n.uppy.info("".concat(l,"..."),"warning",800),l--):(clearInterval(c),n.uppy.info(n.i18n("smile"),"success",1500),setTimeout(function(){return i()},1500))},1e3)})}},{key:"takeSnapshot",value:function(){var n=this;this.captureInProgress||(this.captureInProgress=!0,this.opts.onBeforeSnapshot().catch(function(i){var a=_a(i)==="object"?i.message:i;return n.uppy.info(a,"error",5e3),Promise.reject(new Error("onBeforeSnapshot: ".concat(a)))}).then(function(){return n.getImage()}).then(function(i){n.captureInProgress=!1;try{n.uppy.addFile(i)}catch(a){a.isRestriction||n.uppy.log(a)}},function(i){throw n.captureInProgress=!1,i}))}},{key:"getImage",value:function(){var n=this,i=this.getVideoElement();if(!i)return Promise.reject(new Error("No video element found, likely due to the Webcam tab being closed."));var a=i.videoWidth,l=i.videoHeight,c=document.createElement("canvas");c.width=a,c.height=l;var f=c.getContext("2d");f.drawImage(i,0,0);var d=this.uppy.opts.restrictions,y=[];this.opts.preferredImageMimeType?y=[this.opts.preferredImageMimeType]:d.allowedFileTypes&&(y=d.allowedFileTypes.map(Aee).filter(dot));var m=y[0]||"image/jpeg",g=Ro(m)||"jpg",w="cam-".concat(Date.now(),".").concat(g);return iq(c,m).then(function(P){return{source:n.id,name:w,data:new Blob([P],{type:m}),type:m}})}},{key:"getVideo",value:function(){var n=this.recordingChunks.find(function(f){var d;return((d=f.type)==null?void 0:d.length)>0}).type,i=Ro(n);if(!i)return Promise.reject(new Error('Could not retrieve recording: Unsupported media type "'.concat(n,'"')));var a="webcam-".concat(Date.now(),".").concat(i),l=new Blob(this.recordingChunks,{type:n}),c={source:this.id,name:a,data:new Blob([l],{type:n}),type:n};return Promise.resolve(c)}},{key:"focus",value:function(){var n=this;this.opts.countdown&&setTimeout(function(){n.uppy.info(n.i18n("smile"),"success",1500)},1e3)}},{key:"changeVideoSource",value:function(n){this.stop(),this.start({deviceId:n})}},{key:"updateVideoSources",value:function(){var n=this;this.mediaDevices.enumerateDevices().then(function(i){n.setPluginState({videoSources:i.filter(function(a){return a.kind==="videoinput"})})})}},{key:"render",value:function(){this.webcamActive||this.start();var n=this.getPluginState();return!n.cameraReady||!n.hasCamera?T(hq,{icon:gy,i18n:this.i18n,hasCamera:n.hasCamera}):T(See,mq({},n,{onChangeVideoSource:this.changeVideoSource,onSnapshot:this.takeSnapshot,onStartRecording:this.startRecording,onStopRecording:this.stopRecording,onDiscardRecordedVideo:this.discardRecordedVideo,onSubmit:this.submit,onFocus:this.focus,onStop:this.stop,i18n:this.i18n,modes:this.opts.modes,showRecordingLength:this.opts.showRecordingLength,showVideoSourceDropdown:this.opts.showVideoSourceDropdown,supportsRecording:oq(),recording:n.isRecording,mirror:by(this,Wi)[Wi],src:this.stream}))}},{key:"install",value:function(){var n=this,i=this.opts,a=i.mobileNativeCamera,l=i.modes,c=i.facingMode,f=i.videoConstraints,d=this.opts.target;if(a&&d){var y;(y=this.getTargetPlugin(d))==null||y.setOptions({showNativeVideoCameraButton:dq(l,"video-only")||dq(l,"video-audio"),showNativePhotoCameraButton:dq(l,"picture"),nativeCameraFacingMode:(f==null?void 0:f.facingMode)||c});return}this.setPluginState({cameraReady:!1,recordingLengthSeconds:0}),d&&this.mount(d,this),this.mediaDevices&&(this.updateVideoSources(),this.mediaDevices.ondevicechange=function(){if(n.updateVideoSources(),n.stream){var m=!0,g=n.getPluginState(),w=g.videoSources,P=g.currentDeviceId;w.forEach(function(E){P===E.deviceId&&(m=!1)}),m&&(n.stop(),n.start())}})}},{key:"uninstall",value:function(){this.stop(),this.unmount()}},{key:"onUnmount",value:function(){this.stop()}}]),e}(Ae);JO.VERSION=pot.version;function Oy(t){"@babel/helpers - typeof";return Oy=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Oy(t)}function mot(t,e){return wot(t)||bot(t,e)||qee(t,e)||got()}function got(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function bot(t,e){var r=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,a,l,c=[],f=!0,d=!1;try{if(a=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;f=!1}else for(;!(f=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);f=!0);}catch(y){d=!0,i=y}finally{try{if(!f&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(d)throw i}}return c}}function wot(t){if(Array.isArray(t))return t}function Oot(t,e){var r=typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=qee(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return a=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function qee(t,e){if(t){if(typeof t=="string")return kee(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return kee(t,e)}}function kee(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r3?Se(r,Ea)[Ea]=setTimeout(Se(r,El)[El],2e3):Se(r,rn)[rn]=Math.floor(Se(r,rn)[rn]/2)}}),typeof e!="number"||e===0?this.limit=1/0:this.limit=e}return xot(t,[{key:"run",value:function(r,n){return!Se(this,Wn)[Wn]&&Se(this,Vn)[Vn]1&&Number.isFinite(this.limit)&&(Se(this,Pl)[Pl]=this.limit-1,this.limit=Se(this,rn)[rn],Se(this,Ea)[Ea]=setTimeout(Se(this,El)[El],r))}},{key:"isPaused",get:function(){return Se(this,Wn)[Wn]}}]),t}();function qot(t){var e=this;Se(this,Vn)[Vn]+=1;var r=!1,n;try{n=t()}catch(i){throw Se(this,Vn)[Vn]-=1,i}return{abort:function(a){r||(r=!0,Se(e,Vn)[Vn]-=1,n==null||n(a),Se(e,Ta)[Ta]())},done:function(){r||(r=!0,Se(e,Vn)[Vn]-=1,Se(e,Ta)[Ta]())}}}function Fot(){var t=this;queueMicrotask(function(){return Se(t,wq)[wq]()})}function Lot(){if(!(Se(this,Wn)[Wn]||Se(this,Vn)[Vn]>=this.limit)&&Se(this,nn)[nn].length!==0){var t=Se(this,nn)[nn].shift();if(t==null)throw new Error("Invariant violation: next is null");var e=Se(this,Sy)[Sy](t.fn);t.abort=e.abort,t.done=e.done}}function Cot(t,e){var r=this,n={fn:t,priority:(e==null?void 0:e.priority)||0,abort:function(){Se(r,Oq)[Oq](n)},done:function(){throw new Error("Cannot mark a queued request as done: this indicates a bug")}},i=Se(this,nn)[nn].findIndex(function(a){return n.priority>a.priority});return i===-1?Se(this,nn)[nn].push(n):Se(this,nn)[nn].splice(i,0,n),n}function Not(t){var e=Se(this,nn)[nn].indexOf(t);e!==-1&&Se(this,nn)[nn].splice(e,1)}var Wu=Symbol("__queue");function Vu(t){var e=function(n){return"error"in n&&!!n.error};return t.filter(function(r){return!e(r)})}function Ku(t){return t.filter(function(e){var r;return!((r=e.progress)!=null&&r.uploadStarted)||!e.isRestored})}var ZO=globalThis.AbortController;var PAt=globalThis.AbortSignal;var eS=function(e,r){e===void 0&&(e="Aborted");var n=new DOMException(e,"AbortError");return r!=null&&Nn(r,"cause")&&Object.defineProperty(n,"cause",{__proto__:null,configurable:!0,writable:!0,value:r.cause}),n};function ky(t){"@babel/helpers - typeof";return ky=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ky(t)}function Nee(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Dee(t){for(var e=1;ede(this,Ty)[Ty]){var n=Math.max(this.options.getChunkSize(de(this,Kn)[Kn]),de(this,Ty)[Ty]),i=Math.floor(e/n);i>de(this,Tl)[Tl]&&(i=de(this,Tl)[Tl],n=e/de(this,Tl)[Tl]),de(this,sr)[sr]=Array(i);for(var a=function(d,y){var m=Math.min(e,d+n),g=function(){var E=d;return de(t,Kn)[Kn].slice(E,m)};if(de(t,sr)[sr][y]={getData:g,onProgress:de(t,Ay)[Ay](y),onComplete:de(t,xy)[xy](y),shouldUseMultipart:r},de(t,Al)[Al]){var w=d+n>e?e-d:n;de(t,sr)[sr][y].setAsUploaded=function(){de(t,sr)[sr][y]=null,de(t,on)[on][y].uploaded=w}}},l=0,c=0;l=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function $ee(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function rS(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){$ee(a,n,i,l,c,"next",f)}function c(f){$ee(a,n,i,l,c,"throw",f)}l(void 0)})}}function Xot(t){return eat(t)||Zot(t)||Jot(t)||Qot()}function Qot(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Jot(t,e){if(t){if(typeof t=="string")return Eq(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Eq(t,e)}}function Zot(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function eat(t){if(Array.isArray(t))return Eq(t)}function Eq(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);rt.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function Vee(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Yu(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){Vee(a,n,i,l,c,"next",f)}function c(f){Vee(a,n,i,l,c,"throw",f)}l(void 0)})}}function cat(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kee(t,e){for(var r=0;r400&&l<500&&l!==409)){m.next=28;break}return m.abrupt("return",!1);case 28:if(!(typeof navigator!="undefined"&&navigator.onLine===!1)){m.next=32;break}a.isPaused||(a.pause(),window.addEventListener("online",function(){a.resume()},{once:!0})),m.next=37;break;case 32:if(d=r.next(),!(d==null||d.done)){m.next=35;break}return m.abrupt("return",!1);case 35:return m.next=37,new Promise(function(g){return setTimeout(g,d.value)});case 37:return m.abrupt("return",!0);case 38:case"end":return m.stop()}},t,this)})),Fq.apply(this,arguments)}function yat(t,e,r){return Lq.apply(this,arguments)}function Lq(){return Lq=Yu(cr().mark(function t(e,r,n){var i,a,l,c,f,d,y,m,g,w,P,E;return cr().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,Pe(this,My)[My](Pe(this,kr)[kr](e),{signal:n}).abortOn(n);case 2:return i=x.sent,a=i.method,l=a===void 0?"POST":a,c=i.url,f=i.fields,d=i.headers,m=r.getData(),l.toUpperCase()==="POST"?(g=new FormData,Object.entries(f).forEach(function(R){var A=iat(R,2),I=A[0],C=A[1];return g.set(I,C)}),g.set("file",m),y=g):y=m,w=r.onProgress,P=r.onComplete,x.next=13,Pe(this,Fl)[Fl]({signature:{url:c,headers:d,method:l},body:y,size:m.size,onProgress:w,onComplete:P,signal:n}).abortOn(n);case 13:return E=x.sent,x.abrupt("return","location"in E?E:Yee({location:dat(c)},E));case 15:case"end":return x.stop()}},t,this)})),Lq.apply(this,arguments)}function Xu(t){"@babel/helpers - typeof";return Xu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xu(t)}function Vi(){"use strict";Vi=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,u){s[o]=u.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(s,o,u){return Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(u,p,v){return u[p]=v}}function y(s,o,u,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),b=new H(p||[]);return i(h,"_invoke",{value:Y(s,u,b)}),h}function m(s,o,u){try{return{type:"normal",arg:s.call(o,u)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var g="suspendedStart",w="suspendedYield",P="executing",E="completed",O={};function x(){}function R(){}function A(){}var I={};d(I,l,function(){return this});var C=Object.getPrototypeOf,k=C&&C(C(K([])));k&&k!==r&&n.call(k,l)&&(I=k);var j=A.prototype=x.prototype=Object.create(I);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(u){return this._invoke(o,u)})})}function B(s,o){function u(v,h,b,S){var _=m(s[v],s,h);if(_.type!=="throw"){var q=_.arg,F=q.value;return F&&Xu(F)=="object"&&n.call(F,"__await")?o.resolve(F.__await).then(function(N){u("next",N,b,S)},function(N){u("throw",N,b,S)}):o.resolve(F).then(function(N){q.value=N,b(q)},function(N){return u("throw",N,b,S)})}S(_.arg)}var p;i(this,"_invoke",{value:function(h,b){function S(){return new o(function(_,q){u(h,b,_,q)})}return p=p?p.then(S,S):S()}})}function Y(s,o,u){var p=g;return function(v,h){if(p===P)throw new Error("Generator is already running");if(p===E){if(v==="throw")throw h;return{value:t,done:!0}}for(u.method=v,u.arg=h;;){var b=u.delegate;if(b){var S=Q(b,u);if(S){if(S===O)continue;return S}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(p===g)throw p=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);p=P;var _=m(s,o,u);if(_.type==="normal"){if(p=u.done?E:w,_.arg===O)continue;return{value:_.arg,done:u.done}}_.type==="throw"&&(p=E,u.method="throw",u.arg=_.arg)}}}function Q(s,o){var u=o.method,p=s.iterator[u];if(p===t)return o.delegate=null,u==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||u!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+u+"' method")),O;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,O;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,O):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,O)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function K(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var u=-1,p=function v(){for(;++u=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function Jee(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Gy(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){Jee(a,n,i,l,c,"next",f)}function c(f){Jee(a,n,i,l,c,"throw",f)}l(void 0)})}}function Zee(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Oi(t){for(var e=1;e9)return r}}function tte(t){var e=t.meta,r=t.allowedMetaFields,n=t.querify,i=n===void 0?!1:n,a=r!=null?r:Object.keys(e);return e?Object.fromEntries(a.filter(function(l){return e[l]!=null}).map(function(l){var c=i?"metadata[".concat(l,"]"):l,f=String(e[l]);return[c,f]})):{}}var Aat={allowedMetaFields:null,limit:6,getTemporarySecurityCredentials:!1,shouldUseMultipart:function(e){return e.size!==0},retryDelays:[0,1e3,3e3,5e3],companionHeaders:{}},Nl=Si("companionCommunicationQueue"),Mt=Si("client"),jr=Si("cachedTemporaryCredentials"),Cq=Si("getTemporarySecurityCredentials"),Nq=Si("setS3MultipartState"),Dl=Si("getFile"),Dq=Si("uploadLocalFile"),Mq=Si("getCompanionClientArgs"),Uy=Si("upload"),Cl=Si("setCompanionHeaders"),Ra=Si("setResumableUploadsCapability"),By=Si("resetResumableCapability");ite=Symbol.for("uppy test: getClient");var $y=function(t,e){Pat(r,t);function r(n,i){var a;gat(this,r);var l;a=Oat(this,r,[n,Oi(Oi({},Aat),{},{uploadPartBytes:r.uploadPartBytes,createMultipartUpload:null,listParts:null,abortMultipartUpload:null,completeMultipartUpload:null,signPart:null,getUploadParameters:null},i)]),Object.defineProperty(_t(a),Mq,{value:Iat}),Object.defineProperty(_t(a),Dq,{value:Rat}),Object.defineProperty(_t(a),Cq,{value:xat}),Object.defineProperty(_t(a),Nl,{writable:!0,value:void 0}),Object.defineProperty(_t(a),Mt,{writable:!0,value:void 0}),Object.defineProperty(_t(a),jr,{writable:!0,value:void 0}),Object.defineProperty(_t(a),Nq,{writable:!0,value:function(g,w){var P=w.key,E=w.uploadId,O=a.uppy.getFile(g.id);O!=null&&a.uppy.setFileState(g.id,{s3Multipart:Oi(Oi({},O.s3Multipart),{},{key:P,uploadId:E})})}}),Object.defineProperty(_t(a),Dl,{writable:!0,value:function(g){return a.uppy.getFile(g.id)||g}}),Object.defineProperty(_t(a),Uy,{writable:!0,value:function(){var m=Gy(Vi().mark(function w(P){var E,O,x,R,A;return Vi().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(P.length!==0){C.next=2;break}return C.abrupt("return",void 0);case 2:return E=a.uppy.getFilesByIds(P),O=Vu(E),x=Ku(O),a.uppy.emit("upload-start",x),R=O.map(function(k){if(k.isRemote){var j=function(){return a.requests};De(_t(a),Ra)[Ra](!1);var z=new AbortController,B=function(X){X.id===k.id&&z.abort()};a.uppy.on("file-removed",B);var Y=a.uppy.getRequestClientForFile(k).uploadRemoteFile(k,De(_t(a),Mq)[Mq](k),{signal:z.signal,getQueue:j});return a.requests.wrapSyncFunction(function(){a.uppy.off("file-removed",B)},{priority:-1})(),Y}return De(_t(a),Dq)[Dq](k)}),C.next=9,Promise.all(R);case 9:return A=C.sent,De(_t(a),Ra)[Ra](!0),C.abrupt("return",A);case 12:case"end":return C.stop()}},w)}));function g(w){return m.apply(this,arguments)}return g}()}),Object.defineProperty(_t(a),Cl,{writable:!0,value:function(){De(_t(a),Mt)[Mt].setCompanionHeaders(a.opts.companionHeaders)}}),Object.defineProperty(_t(a),Ra,{writable:!0,value:function(g){var w=a.uppy.getState(),P=w.capabilities;a.uppy.setState({capabilities:Oi(Oi({},P),{},{resumableUploads:g})})}}),Object.defineProperty(_t(a),By,{writable:!0,value:function(){De(_t(a),Ra)[Ra](!0)}}),a.type="uploader",a.id=a.opts.id||"AwsS3Multipart",a.title="AWS S3 Multipart",De(_t(a),Mt)[Mt]=new Mn(n,i);for(var c={createMultipartUpload:a.createMultipartUpload,listParts:a.listParts,abortMultipartUpload:a.abortMultipartUpload,completeMultipartUpload:a.completeMultipartUpload,signPart:i!=null&&i.getTemporarySecurityCredentials?a.createSignedURL:a.signPart,getUploadParameters:i!=null&&i.getTemporarySecurityCredentials?a.createSignedURL:a.getUploadParameters},f=0,d=Object.keys(c);fRequest has expired")){var Q=new Error("Request has expired");Q.source=j,k(Q);return}if(j.status<200||j.status>=300){var X=new Error("Non 2xx");X.source=j,k(X);return}O==null||O({loaded:E,lengthComputable:!0});var $=j.getResponseHeader("ETag"),H=j.getResponseHeader("Location");if(g.toUpperCase()==="POST"&&H===null&&console.warn("AwsS3/Multipart: Could not read the Location header. This likely means CORS is not configured correctly on the S3 Bucket. See https://uppy.io/docs/aws-s3-multipart#S3-Bucket-Configuration for instructions."),$===null){k(new Error("AwsS3/Multipart: Could not read the ETag header. This likely means CORS is not configured correctly on the S3 Bucket. See https://uppy.io/docs/aws-s3-multipart#S3-Bucket-Configuration for instructions."));return}x==null||x($),C(Oi({ETag:$},H?{location:H}:void 0))}),j.addEventListener("error",function(Y){B();var Q=new Error("Unknown error");Q.source=Y.target,k(Q)}),j.send(w)}));case 5:case"end":return I.stop()}},a)}));function i(a){return n.apply(this,arguments)}return i}()}]),r}(ht,ite);function xat(t){return Bq.apply(this,arguments)}function Bq(){return Bq=Gy(Vi().mark(function t(e){var r=this;return Vi().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(Or(e==null?void 0:e.signal),De(this,jr)[jr]!=null){i.next=7;break}return this.opts.getTemporarySecurityCredentials===!0?(this.assertHost("getTemporarySecurityCredentials"),De(this,jr)[jr]=De(this,Mt)[Mt].get("s3/sts",e).then(Ep)):De(this,jr)[jr]=this.opts.getTemporarySecurityCredentials(e),i.next=5,De(this,jr)[jr];case 5:De(this,jr)[jr]=i.sent,setTimeout(function(){De(r,jr)[jr]=null},(ote(De(this,jr)[jr].credentials)||0)*500);case 7:return i.abrupt("return",De(this,jr)[jr]);case 8:case"end":return i.stop()}},t,this)})),Bq.apply(this,arguments)}function Rat(t){var e=this,r=this;return new Promise(function(n,i){var a=function(m,g){e.uppy.emit("upload-progress",e.uppy.getFile(t.id),{uploader:e,bytesUploaded:m,bytesTotal:g})},l=function(m){e.uppy.log(m),e.uppy.emit("upload-error",t,m),e.resetUploaderReferences(t.id),i(m)},c=function(m){var g={body:Oi({},m),status:200,uploadURL:m.location};e.resetUploaderReferences(t.id),e.uppy.emit("upload-success",De(e,Dl)[Dl](t),g),m.location&&e.uppy.log("Download ".concat(t.name," from ").concat(m.location)),n()},f=new Gee(t.data,Oi({companionComm:De(e,Nl)[Nl],log:function(){var m;return(m=r.uppy).log.apply(m,arguments)},getChunkSize:e.opts.getChunkSize?e.opts.getChunkSize.bind(e):null,onProgress:a,onError:l,onSuccess:c,onPartComplete:function(m){e.uppy.emit("s3-multipart:part-uploaded",De(e,Dl)[Dl](t),m)},file:t,shouldUseMultipart:e.opts.shouldUseMultipart},t.s3Multipart));e.uploaders[t.id]=f;var d=new Pp(e.uppy);e.uploaderEvents[t.id]=d,d.onFileRemove(t.id,function(y){f.abort(),e.resetUploaderReferences(t.id,{abort:!0}),n("upload ".concat(y," was removed"))}),d.onCancelAll(t.id,function(y){(y==null?void 0:y.reason)==="user"&&(f.abort(),e.resetUploaderReferences(t.id,{abort:!0})),n("upload ".concat(t.id," was canceled"))}),d.onFilePause(t.id,function(y){y?f.pause():f.start()}),d.onPauseAll(t.id,function(){f.pause()}),d.onResumeAll(t.id,function(){f.start()}),f.start()})}function Iat(t){var e;return Oi(Oi({},(e=t.remote)==null?void 0:e.body),{},{protocol:"s3-multipart",size:t.data.size,metadata:t.meta})}$y.VERSION=Tat.version;function Hy(t){"@babel/helpers - typeof";return Hy=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hy(t)}function kat(t,e){return Fat(t)||qat(t,e)||ste(t,e)||jat()}function jat(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function qat(t,e){var r=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,a,l,c=[],f=!0,d=!1;try{if(a=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;f=!1}else for(;!(f=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);f=!0);}catch(y){d=!0,i=y}finally{try{if(!f&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(d)throw i}}return c}}function Fat(t){if(Array.isArray(t))return t}function Lat(t,e){var r=typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=ste(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return a=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function ste(t,e){if(t){if(typeof t=="string")return ate(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ate(t,e)}}function ate(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&(clearTimeout(_i(this,ka)[ka]),_i(this,ka)[ka]=setTimeout(_i(this,Wy)[Wy],_i(this,Ul)[Ul]))}},{key:"done",value:function(){_i(this,Ml)[Ml]||(clearTimeout(_i(this,ka)[ka]),_i(this,ka)[ka]=void 0,_i(this,Ml)[Ml]=!0)}}]),t}(),oS=Wat;function Vat(t){return t?t.readyState!==0&&t.readyState!==4||t.status===0:!1}var Bl=Vat;function Ky(t){"@babel/helpers - typeof";return Ky=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ky(t)}function pte(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Qu(t){for(var e=1;e=200&&i<300}},r),this.requests=r[Wu],this.uploaderEvents=Object.create(null),this.i18n=r.i18n}return Xat(t,[{key:"getOptions",value:function(r){var n,i=this.uppy,a=i.getState().xhrUpload,l=Qu(Qu(Qu(Qu({},this.opts),a||{}),r.xhrUpload||{}),{},{headers:Qu(Qu(Qu({},this.opts.headers),a==null?void 0:a.headers),(n=r.xhrUpload)==null?void 0:n.headers)});return l}},{key:"uploadLocalFile",value:function(r){var n=this,i=this.getOptions(r);return new Promise(function(a,l){var c=i.formData?tut(r,i):rut(r,i),f=new XMLHttpRequest;n.uploaderEvents[r.id]=new cte(n.uppy);var d=new oS(i.timeout,function(){f.abort(),m.done();var g=new Error(n.i18n("timedOut",{seconds:Math.ceil(i.timeout/1e3)}));n.uppy.emit("upload-error",r,g),l(g)}),y=Sn();f.upload.addEventListener("loadstart",function(){n.uppy.log("[AwsS3/XHRUpload] ".concat(y," started"))}),f.upload.addEventListener("progress",function(g){n.uppy.log("[AwsS3/XHRUpload] ".concat(y," progress: ").concat(g.loaded," / ").concat(g.total)),d.progress(),g.lengthComputable&&n.uppy.emit("upload-progress",n.uppy.getFile(r.id),{uploader:n,bytesUploaded:g.loaded,bytesTotal:g.total})}),f.addEventListener("load",function(g){if(n.uppy.log("[AwsS3/XHRUpload] ".concat(y," finished")),d.done(),m.done(),n.uploaderEvents[r.id]&&(n.uploaderEvents[r.id].remove(),n.uploaderEvents[r.id]=null),i.validateStatus(g.target.status,f.responseText,f)){var w=i.getResponseData(f.responseText,f),P=w[i.responseUrlFieldName],E={status:g.target.status,body:w,uploadURL:P};return n.uppy.emit("upload-success",n.uppy.getFile(r.id),E),P&&n.uppy.log("Download ".concat(r.name," from ").concat(P)),a(r)}var O=i.getResponseData(f.responseText,f),x=vte(f,i.getResponseError(f.responseText,f)),R={status:g.target.status,body:O};return n.uppy.emit("upload-error",r,x,R),l(x)}),f.addEventListener("error",function(){n.uppy.log("[AwsS3/XHRUpload] ".concat(y," errored")),d.done(),m.done(),n.uploaderEvents[r.id]&&(n.uploaderEvents[r.id].remove(),n.uploaderEvents[r.id]=null);var g=vte(f,i.getResponseError(f.responseText,f));return n.uppy.emit("upload-error",r,g),l(g)}),f.open(i.method.toUpperCase(),i.endpoint,!0),f.withCredentials=!!i.withCredentials,i.responseType!==""&&(f.responseType=i.responseType),Object.keys(i.headers).forEach(function(g){f.setRequestHeader(g,i.headers[g])});var m=n.requests.run(function(){return f.send(c),function(){d.done(),f.abort()}},{priority:1});dte(n,Gq)[Gq]("file-removed",r.id,function(){m.abort(),l(new Error("File removed"))}),dte(n,$q)[$q]("cancel-all",r.id,function(g){var w=g===void 0?{}:g,P=w.reason;P==="user"&&m.abort(),l(new Error("Upload cancelled"))})})}}]),t}();function nut(t,e,r){this.uploaderEvents[e].on(t,function(n){var i,a=(i=n==null?void 0:n.id)!=null?i:n;e===a&&r()})}function iut(t,e,r){var n=this;this.uploaderEvents[e].on(t,function(){n.uppy.getFile(e)&&r.apply(void 0,arguments)})}function out(t){return t.replace(/;.*$/,"")}function aut(t,e){var r=e.headers?e.headers["content-type"]:e.getResponseHeader("Content-Type");if(typeof r=="string"){var n=out(r).toLowerCase();if(n==="application/xml"||n==="text/xml"||n==="text/html"&&/^<\?xml /.test(t))return!0}return!1}var zq=aut;var bte={strings:{timedOut:"Upload stalled for %{seconds} seconds, aborting."}};function Wq(){"use strict";Wq=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,u){s[o]=u.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(s,o,u){return Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(u,p,v){return u[p]=v}}function y(s,o,u,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),b=new H(p||[]);return i(h,"_invoke",{value:Y(s,u,b)}),h}function m(s,o,u){try{return{type:"normal",arg:s.call(o,u)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var g="suspendedStart",w="suspendedYield",P="executing",E="completed",O={};function x(){}function R(){}function A(){}var I={};d(I,l,function(){return this});var C=Object.getPrototypeOf,k=C&&C(C(K([])));k&&k!==r&&n.call(k,l)&&(I=k);var j=A.prototype=x.prototype=Object.create(I);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(u){return this._invoke(o,u)})})}function B(s,o){function u(v,h,b,S){var _=m(s[v],s,h);if(_.type!=="throw"){var q=_.arg,F=q.value;return F&&ja(F)=="object"&&n.call(F,"__await")?o.resolve(F.__await).then(function(N){u("next",N,b,S)},function(N){u("throw",N,b,S)}):o.resolve(F).then(function(N){q.value=N,b(q)},function(N){return u("throw",N,b,S)})}S(_.arg)}var p;i(this,"_invoke",{value:function(h,b){function S(){return new o(function(_,q){u(h,b,_,q)})}return p=p?p.then(S,S):S()}})}function Y(s,o,u){var p=g;return function(v,h){if(p===P)throw new Error("Generator is already running");if(p===E){if(v==="throw")throw h;return{value:t,done:!0}}for(u.method=v,u.arg=h;;){var b=u.delegate;if(b){var S=Q(b,u);if(S){if(S===O)continue;return S}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(p===g)throw p=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);p=P;var _=m(s,o,u);if(_.type==="normal"){if(p=u.done?E:w,_.arg===O)continue;return{value:_.arg,done:u.done}}_.type==="throw"&&(p=E,u.method="throw",u.arg=_.arg)}}}function Q(s,o){var u=o.method,p=s.iterator[u];if(p===t)return o.delegate=null,u==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||u!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+u+"' method")),O;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,O;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,O):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,O)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function K(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var u=-1,p=function v(){for(;++u=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function wte(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Gl(t){for(var e=1;e")),n=t.indexOf(""),r);return r!==-1&&n!==-1?t.slice(r+e.length+2,n):""}function yut(t){if(t&&t.error){var e=new Error(t.message);throw Object.assign(e,t.error),e}return t}function mut(t,e){var r=e!=null&&typeof e.url=="string"&&(ja(e.fields)==="object"||e.fields==null);if(!r){var n=new TypeError("AwsS3: got incorrect result from 'getUploadParameters()' for file '".concat(t.name,"', expected an object '{ url, method, fields, headers }' but got '").concat(JSON.stringify(e),"' instead.\nSee https://uppy.io/docs/aws-s3/#getUploadParameters-file for more on the expected format."));throw n}var i=e.method==null||/^p(u|os)t$/i.test(e.method);if(!i){var a=new TypeError("AwsS3: got incorrect method from 'getUploadParameters()' for file '".concat(t.name,"', expected 'PUT' or 'POST' but got '").concat(e.method,"' instead.\nSee https://uppy.io/docs/aws-s3/#getUploadParameters-file for more on the expected format."));throw a}}function gut(t,e){if(zq(t,e)){var r=Jy(t,"Message");return new Error(r)}}var _te=!1,Xn=Ap("client"),Ki=Ap("requests"),$l=Ap("uploader"),Yy=Ap("handleUpload"),Xy=Ap("setCompanionHeaders"),Hq=Ap("getCompanionClientArgs");Ate=Symbol.for("uppy test: getClient");var Kq=function(t,e){put(r,t);function r(n,i){var a;if(sut(this,r),(i==null?void 0:i.shouldUseMultipart)!=null)return Ete(a,new $y(n,i));a=fut(this,r,[n,i]),Object.defineProperty(Qn(a),Xn,{writable:!0,value:void 0}),Object.defineProperty(Qn(a),Ki,{writable:!0,value:void 0}),Object.defineProperty(Qn(a),$l,{writable:!0,value:void 0}),Object.defineProperty(Qn(a),Yy,{writable:!0,value:function(){var c=uut(Wq().mark(function d(y){var m,g,w,P,E,O,x;return Wq().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return g=function(C){var k,j=C.id;(k=m[j])==null||k.abort()},m=Object.create(null),a.uppy.on("file-removed",g),w=a.uppy.getFilesByIds(y),P=Vu(w),E=Ku(P),a.uppy.emit("upload-start",E),O=fr(Qn(a),Ki)[Ki].wrapPromiseFunction(function(I){return a.opts.getUploadParameters(I)}),x=y.length,A.abrupt("return",Promise.allSettled(y.map(function(I,C){return m[I]=O(a.uppy.getFile(I)),m[I].then(function(k){delete m[I];var j=a.uppy.getFile(I);mut(j,k);var z=k.method,B=z===void 0?"POST":z,Y=k.url,Q=k.fields,X=k.headers,$={method:B,formData:B.toUpperCase()==="POST",endpoint:Y,allowedMetaFields:Q?Object.keys(Q):[]};return X&&($.headers=X),a.uppy.setFileState(j.id,{meta:Gl(Gl({},j.meta),Q),xhrUpload:$}),a.uploadFile(j.id,C,x)}).catch(function(k){delete m[I];var j=a.uppy.getFile(I);return a.uppy.emit("upload-error",j,k),Promise.reject(k)})})).finally(function(){a.uppy.off("file-removed",g)}));case 10:case"end":return A.stop()}},d)}));function f(d){return c.apply(this,arguments)}return f}()}),Object.defineProperty(Qn(a),Xy,{writable:!0,value:function(){return fr(Qn(a),Xn)[Xn].setCompanionHeaders(a.opts.companionHeaders),Promise.resolve()}}),Object.defineProperty(Qn(a),Hq,{writable:!0,value:function(f){var d=fr(Qn(a),$l)[$l].getOptions(f),y=Array.isArray(d.allowedMetaFields)?d.allowedMetaFields:Object.keys(f.meta);return Gl(Gl({},f.remote.body),{},{protocol:"multipart",endpoint:d.endpoint,size:f.data.size,fieldname:d.fieldName,metadata:Object.fromEntries(y.map(function(m){return[m,f.meta[m]]})),httpMethod:d.method,useFormData:d.formData,headers:typeof d.headers=="function"?d.headers(f):d.headers})}}),a.type="uploader",a.id=a.opts.id||"AwsS3",a.title="AWS S3",a.defaultLocale=bte;var l={timeout:30*1e3,limit:0,allowedMetaFields:[],getUploadParameters:a.getUploadParameters.bind(Qn(a)),shouldUseMultipart:!1,companionHeaders:{}};if(a.opts=Gl(Gl({},l),i),(i==null?void 0:i.allowedMetaFields)===void 0&&"metaFields"in a.opts)throw new Error("The `metaFields` option has been renamed to `allowedMetaFields`.");return a.i18nInit(),fr(Qn(a),Xn)[Xn]=new Mn(n,i),fr(Qn(a),Ki)[Ki]=new wi(a.opts.limit),a}return lut(r,[{key:e,value:function(){return fr(this,Xn)[Xn]}},{key:"client",get:function(){return fr(this,Xn)[Xn]}},{key:"client",set:function(i){fr(this,Xn)[Xn]=i}},{key:"getUploadParameters",value:function(i){if(!this.opts.companionUrl)throw new Error("Expected a `companionUrl` option containing a Companion address.");var a=i.meta.name,l=i.meta.type,c=Object.fromEntries(this.opts.allowedMetaFields.filter(function(d){return i.meta[d]!=null}).map(function(d){return["metadata[".concat(d,"]"),i.meta[d].toString()]})),f=new URLSearchParams(Gl({filename:a,type:l},c));return fr(this,Xn)[Xn].get("s3/params?".concat(f)).then(yut)}},{key:"uploadFile",value:function(i,a,l){var c=this,f=this.uppy.getFile(i);if(this.uppy.log("uploading ".concat(a," of ").concat(l)),f.error)throw new Error(f.error);if(f.isRemote){var d=function(){return fr(c,Ki)[Ki]},y=new AbortController,m=function(P){P.id===f.id&&y.abort()};this.uppy.on("file-removed",m);var g=this.uppy.getRequestClientForFile(f).uploadRemoteFile(f,fr(this,Hq)[Hq](f),{signal:y.signal,getQueue:d});return fr(this,Ki)[Ki].wrapSyncFunction(function(){c.uppy.off("file-removed",m)},{priority:-1})(),g}return fr(this,$l)[$l].uploadLocalFile(f,a,l)}},{key:"install",value:function(){var i=this.uppy;i.addPreProcessor(fr(this,Xy)[Xy]),i.addUploader(fr(this,Yy)[Yy]);function a(c,f){var d=this;return zq(c,f)?{location:vut(f.responseURL,Jy(c,"Location")),bucket:Jy(c,"Bucket"),key:Jy(c,"Key"),etag:Jy(c,"ETag")}:d.method.toUpperCase()==="POST"?(_te||(i.log("[AwsS3] No response data found, make sure to set the success_action_status AWS SDK option to 201. See https://uppy.io/docs/aws-s3/#POST-Uploads","warning"),_te=!0),{location:null}):f.responseURL?{location:f.responseURL.replace(/\?.*$/,"")}:{location:null}}var l=Qy(Qy(Qy(Qy({fieldName:"file",responseUrlFieldName:"location",timeout:this.opts.timeout},Wu,fr(this,Ki)[Ki]),"responseType","text"),"getResponseData",this.opts.getResponseData||a),"getResponseError",gut);l.i18n=this.i18n,fr(this,$l)[$l]=new gte(i,l)}},{key:"uninstall",value:function(){this.uppy.removePreProcessor(fr(this,Xy)[Xy]),this.uppy.removeUploader(fr(this,Yy)[Yy])}}]),r}(ht,Ate);Kq.VERSION=dut.version;var qte="3.7.2",but=qte,wut=typeof atob=="function",Out=typeof btoa=="function",Rp=typeof Buffer=="function",xte=typeof TextDecoder=="function"?new TextDecoder:void 0,Rte=typeof TextEncoder=="function"?new TextEncoder:void 0,Sut="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Zy=Array.prototype.slice.call(Sut),uS=function(t){var e={};return t.forEach(function(r,n){return e[r]=n}),e}(Zy),_ut=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,qr=String.fromCharCode.bind(String),Ite=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(r){return r};return new Uint8Array(Array.prototype.slice.call(t,0).map(e))},Fte=function(e){return e.replace(/=/g,"").replace(/[+\/]/g,function(r){return r=="+"?"-":"_"})},Lte=function(e){return e.replace(/[^A-Za-z0-9\+\/]/g,"")},Cte=function(e){for(var r,n,i,a,l="",c=e.length%3,f=0;f255||(i=e.charCodeAt(f++))>255||(a=e.charCodeAt(f++))>255)throw new TypeError("invalid character found");r=n<<16|i<<8|a,l+=Zy[r>>18&63]+Zy[r>>12&63]+Zy[r>>6&63]+Zy[r&63]}return c?l.slice(0,c-3)+"===".substring(c):l},Qq=Out?function(t){return btoa(t)}:Rp?function(t){return Buffer.from(t,"binary").toString("base64")}:Cte,Yq=Rp?function(t){return Buffer.from(t).toString("base64")}:function(t){for(var e=4096,r=[],n=0,i=t.length;n1&&arguments[1]!==void 0?arguments[1]:!1;return r?Fte(Yq(e)):Yq(e)},Put=function(e){if(e.length<2){var r=e.charCodeAt(0);return r<128?e:r<2048?qr(192|r>>>6)+qr(128|r&63):qr(224|r>>>12&15)+qr(128|r>>>6&63)+qr(128|r&63)}else{var r=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return qr(240|r>>>18&7)+qr(128|r>>>12&63)+qr(128|r>>>6&63)+qr(128|r&63)}},Eut=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Nte=function(e){return e.replace(Eut,Put)},kte=Rp?function(t){return Buffer.from(t,"utf8").toString("base64")}:Rte?function(t){return Yq(Rte.encode(t))}:function(t){return Qq(Nte(t))},xp=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return r?Fte(kte(e)):kte(e)},jte=function(e){return xp(e,!0)},Tut=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Aut=function(e){switch(e.length){case 4:var r=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=r-65536;return qr((n>>>10)+55296)+qr((n&1023)+56320);case 3:return qr((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return qr((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},Dte=function(e){return e.replace(Tut,Aut)},Mte=function(e){if(e=e.replace(/\s+/g,""),!_ut.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(e.length&3));for(var r,n="",i,a,l=0;l>16&255):a===64?qr(r>>16&255,r>>8&255):qr(r>>16&255,r>>8&255,r&255);return n},Jq=wut?function(t){return atob(Lte(t))}:Rp?function(t){return Buffer.from(t,"base64").toString("binary")}:Mte,Ute=Rp?function(t){return Ite(Buffer.from(t,"base64"))}:function(t){return Ite(Jq(t),function(e){return e.charCodeAt(0)})},Bte=function(e){return Ute(Gte(e))},xut=Rp?function(t){return Buffer.from(t,"base64").toString("utf8")}:xte?function(t){return xte.decode(Ute(t))}:function(t){return Dte(Jq(t))},Gte=function(e){return Lte(e.replace(/[-_]/g,function(r){return r=="-"?"+":"/"}))},Xq=function(e){return xut(Gte(e))},Rut=function(e){if(typeof e!="string")return!1;var r=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(r)||!/[^\s0-9a-zA-Z\-_]/.test(r)},$te=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}},zte=function(){var e=function(n,i){return Object.defineProperty(String.prototype,n,$te(i))};e("fromBase64",function(){return Xq(this)}),e("toBase64",function(r){return xp(this,r)}),e("toBase64URI",function(){return xp(this,!0)}),e("toBase64URL",function(){return xp(this,!0)}),e("toUint8Array",function(){return Bte(this)})},Hte=function(){var e=function(n,i){return Object.defineProperty(Uint8Array.prototype,n,$te(i))};e("toBase64",function(r){return sS(this,r)}),e("toBase64URI",function(){return sS(this,!0)}),e("toBase64URL",function(){return sS(this,!0)})},Iut=function(){zte(),Hte()},Wte={version:qte,VERSION:but,atob:Jq,atobPolyfill:Mte,btoa:Qq,btoaPolyfill:Cte,fromBase64:Xq,toBase64:xp,encode:xp,encodeURI:jte,encodeURL:jte,utob:Nte,btou:Dte,decode:Xq,isValid:Rut,fromUint8Array:sS,toUint8Array:Bte,extendString:zte,extendUint8Array:Hte,extendBuiltins:Iut};var bre=Ce(ore());function Ip(t){"@babel/helpers - typeof";return Ip=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ip(t)}function are(t,e){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:null,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;if(Hut(this,r),i=e.call(this,n),i.originalRequest=l,i.originalResponse=c,i.causingError=a,a!=null&&(n+=", caused by ".concat(a.toString())),l!=null){var f=l.getHeader("X-Request-ID")||"n/a",d=l.getMethod(),y=l.getURL(),m=c?c.getStatus():"n/a",g=c?c.getBody()||"":"n/a";n+=", originated from request (method: ".concat(d,", url: ").concat(y,", response code: ").concat(m,", response text: ").concat(g,", request id: ").concat(f,")")}return i.message=n,i}return Gut(r)}(r2(Error)),kp=Qut;var Jut=!1;function Ju(t){Jut&&console.log(t)}function n2(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=Math.random()*16|0,r=t==="x"?e:e&3|8;return r.toString(16)})}function i2(){"use strict";i2=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,u){s[o]=u.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(s,o,u){return Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(u,p,v){return u[p]=v}}function y(s,o,u,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),b=new H(p||[]);return i(h,"_invoke",{value:Y(s,u,b)}),h}function m(s,o,u){try{return{type:"normal",arg:s.call(o,u)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var g="suspendedStart",w="suspendedYield",P="executing",E="completed",O={};function x(){}function R(){}function A(){}var I={};d(I,l,function(){return this});var C=Object.getPrototypeOf,k=C&&C(C(K([])));k&&k!==r&&n.call(k,l)&&(I=k);var j=A.prototype=x.prototype=Object.create(I);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(u){return this._invoke(o,u)})})}function B(s,o){function u(v,h,b,S){var _=m(s[v],s,h);if(_.type!=="throw"){var q=_.arg,F=q.value;return F&&zl(F)=="object"&&n.call(F,"__await")?o.resolve(F.__await).then(function(N){u("next",N,b,S)},function(N){u("throw",N,b,S)}):o.resolve(F).then(function(N){q.value=N,b(q)},function(N){return u("throw",N,b,S)})}S(_.arg)}var p;i(this,"_invoke",{value:function(h,b){function S(){return new o(function(_,q){u(h,b,_,q)})}return p=p?p.then(S,S):S()}})}function Y(s,o,u){var p=g;return function(v,h){if(p===P)throw new Error("Generator is already running");if(p===E){if(v==="throw")throw h;return{value:t,done:!0}}for(u.method=v,u.arg=h;;){var b=u.delegate;if(b){var S=Q(b,u);if(S){if(S===O)continue;return S}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(p===g)throw p=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);p=P;var _=m(s,o,u);if(_.type==="normal"){if(p=u.done?E:w,_.arg===O)continue;return{value:_.arg,done:u.done}}_.type==="throw"&&(p=E,u.method="throw",u.arg=_.arg)}}}function Q(s,o){var u=o.method,p=s.iterator[u];if(p===t)return o.delegate=null,u==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||u!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+u+"' method")),O;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,O;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,O):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,O)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function K(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var u=-1,p=function v(){for(;++u=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function sre(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Zut(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){sre(a,n,i,l,c,"next",f)}function c(f){sre(a,n,i,l,c,"throw",f)}l(void 0)})}}function mre(t,e){return nst(t)||rst(t,e)||tst(t,e)||est()}function est(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tst(t,e){if(t){if(typeof t=="string")return lre(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return lre(t,e)}}function lre(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r1)for(var a=0,l=["uploadUrl","uploadSize","uploadLengthDeferred"];a1||r._parallelUploadUrls!=null?r._startParallelUpload():r._startSingleUpload()}).catch(function(f){r._emitError(f)})}},{key:"_startParallelUpload",value:function(){var r,n=this,i=this._size,a=0;this._parallelUploads=[];var l=this._parallelUploadUrls!=null?this._parallelUploadUrls.length:this.options.parallelUploads,c=(r=this.options.parallelUploadBoundaries)!==null&&r!==void 0?r:cst(this._source.size,l);this._parallelUploadUrls&&c.forEach(function(y,m){y.uploadUrl=n._parallelUploadUrls[m]||null}),this._parallelUploadUrls=new Array(c.length);var f=c.map(function(y,m){var g=0;return n._source.slice(y.start,y.end).then(function(w){var P=w.value;return new Promise(function(E,O){var x=jp(jp({},n.options),{},{uploadUrl:y.uploadUrl||null,storeFingerprintForResuming:!1,removeFingerprintOnSuccess:!1,parallelUploads:1,parallelUploadBoundaries:null,metadata:{},headers:jp(jp({},n.options.headers),{},{"Upload-Concat":"partial"}),onSuccess:E,onError:O,onProgress:function(I){a=a-g+I,g=I,n._emitProgress(a,i)},onUploadUrlAvailable:function(){n._parallelUploadUrls[m]=R.url,n._parallelUploadUrls.filter(function(I){return!!I}).length===c.length&&n._saveUploadInUrlStorage()}}),R=new t(P,x);R.start(),n._parallelUploads.push(R)})})}),d;Promise.all(f).then(function(){d=n._openRequest("POST",n.options.endpoint),d.setHeader("Upload-Concat","final;".concat(n._parallelUploadUrls.join(" ")));var y=pre(n.options.metadata);return y!==""&&d.setHeader("Upload-Metadata",y),n._sendRequest(d,null)}).then(function(y){if(!qp(y.getStatus(),200)){n._emitHttpError(d,y,"tus: unexpected response while creating upload");return}var m=y.getHeader("Location");if(m==null){n._emitHttpError(d,y,"tus: invalid or missing Location header");return}n.url=yre(n.options.endpoint,m),Ju("Created upload at ".concat(n.url)),n._emitSuccess()}).catch(function(y){n._emitError(y)})}},{key:"_startSingleUpload",value:function(){if(this._aborted=!1,this.url!=null){Ju("Resuming upload from previous URL: ".concat(this.url)),this._resumeUpload();return}if(this.options.uploadUrl!=null){Ju("Resuming upload from provided URL: ".concat(this.options.uploadUrl)),this.url=this.options.uploadUrl,this._resumeUpload();return}Ju("Creating a new upload"),this._createUpload()}},{key:"abort",value:function(r){var n=this;return this._parallelUploads!=null&&this._parallelUploads.forEach(function(i){i.abort(r)}),this._req!==null&&this._req.abort(),this._aborted=!0,this._retryTimeout!=null&&(clearTimeout(this._retryTimeout),this._retryTimeout=null),!r||this.url==null?Promise.resolve():t.terminate(this.url,this.options).then(function(){return n._removeFromUrlStorage()})}},{key:"_emitHttpError",value:function(r,n,i,a){this._emitError(new kp(i,a,r,n))}},{key:"_emitError",value:function(r){var n=this;if(!this._aborted){if(this.options.retryDelays!=null){var i=this._offset!=null&&this._offset>this._offsetBeforeRetry;if(i&&(this._retryAttempt=0),vre(r,this._retryAttempt,this.options)){var a=this.options.retryDelays[this._retryAttempt++];this._offsetBeforeRetry=this._offset,this._retryTimeout=setTimeout(function(){n.start()},a);return}}if(typeof this.options.onError=="function")this.options.onError(r);else throw r}}},{key:"_emitSuccess",value:function(){this.options.removeFingerprintOnSuccess&&this._removeFromUrlStorage(),typeof this.options.onSuccess=="function"&&this.options.onSuccess()}},{key:"_emitProgress",value:function(r,n){typeof this.options.onProgress=="function"&&this.options.onProgress(r,n)}},{key:"_emitChunkComplete",value:function(r,n,i){typeof this.options.onChunkComplete=="function"&&this.options.onChunkComplete(r,n,i)}},{key:"_createUpload",value:function(){var r=this;if(!this.options.endpoint){this._emitError(new Error("tus: unable to create upload because no endpoint is provided"));return}var n=this._openRequest("POST",this.options.endpoint);this.options.uploadLengthDeferred?n.setHeader("Upload-Defer-Length",1):n.setHeader("Upload-Length",this._size);var i=pre(this.options.metadata);i!==""&&n.setHeader("Upload-Metadata",i);var a;this.options.uploadDataDuringCreation&&!this.options.uploadLengthDeferred?(this._offset=0,a=this._addChunkToRequest(n)):a=this._sendRequest(n,null),a.then(function(l){if(!qp(l.getStatus(),200)){r._emitHttpError(n,l,"tus: unexpected response while creating upload");return}var c=l.getHeader("Location");if(c==null){r._emitHttpError(n,l,"tus: invalid or missing Location header");return}if(r.url=yre(r.options.endpoint,c),Ju("Created upload at ".concat(r.url)),typeof r.options.onUploadUrlAvailable=="function"&&r.options.onUploadUrlAvailable(),r._size===0){r._emitSuccess(),r._source.close();return}r._saveUploadInUrlStorage().then(function(){r.options.uploadDataDuringCreation?r._handleUploadResponse(n,l):(r._offset=0,r._performUpload())})}).catch(function(l){r._emitHttpError(n,null,"tus: failed to create upload",l)})}},{key:"_resumeUpload",value:function(){var r=this,n=this._openRequest("HEAD",this.url),i=this._sendRequest(n,null);i.then(function(a){var l=a.getStatus();if(!qp(l,200)){if(l===423){r._emitHttpError(n,a,"tus: upload is currently locked; retry later");return}if(qp(l,400)&&r._removeFromUrlStorage(),!r.options.endpoint){r._emitHttpError(n,a,"tus: unable to resume upload (new upload cannot be created without an endpoint)");return}r.url=null,r._createUpload();return}var c=parseInt(a.getHeader("Upload-Offset"),10);if(Number.isNaN(c)){r._emitHttpError(n,a,"tus: invalid or missing offset value");return}var f=parseInt(a.getHeader("Upload-Length"),10);if(Number.isNaN(f)&&!r.options.uploadLengthDeferred){r._emitHttpError(n,a,"tus: invalid or missing length value");return}typeof r.options.onUploadUrlAvailable=="function"&&r.options.onUploadUrlAvailable(),r._saveUploadInUrlStorage().then(function(){if(c===f){r._emitProgress(f,f),r._emitSuccess();return}r._offset=c,r._performUpload()})}).catch(function(a){r._emitHttpError(n,null,"tus: failed to resume upload",a)})}},{key:"_performUpload",value:function(){var r=this;if(!this._aborted){var n;this.options.overridePatchMethod?(n=this._openRequest("POST",this.url),n.setHeader("X-HTTP-Method-Override","PATCH")):n=this._openRequest("PATCH",this.url),n.setHeader("Upload-Offset",this._offset);var i=this._addChunkToRequest(n);i.then(function(a){if(!qp(a.getStatus(),200)){r._emitHttpError(n,a,"tus: unexpected response while uploading chunk");return}r._handleUploadResponse(n,a)}).catch(function(a){r._aborted||r._emitHttpError(n,null,"tus: failed to upload chunk at offset ".concat(r._offset),a)})}}},{key:"_addChunkToRequest",value:function(r){var n=this,i=this._offset,a=this._offset+this.options.chunkSize;return r.setProgressHandler(function(l){n._emitProgress(i+l,n._size)}),r.setHeader("Content-Type","application/offset+octet-stream"),(a===1/0||a>this._size)&&!this.options.uploadLengthDeferred&&(a=this._size),this._source.slice(i,a).then(function(l){var c=l.value,f=l.done,d=c&&c.size?c.size:0;n.options.uploadLengthDeferred&&f&&(n._size=n._offset+d,r.setHeader("Upload-Length",n._size));var y=n._offset+d;return!n.options.uploadLengthDeferred&&f&&y!==n._size?Promise.reject(new Error("upload was configured with a size of ".concat(n._size," bytes, but the source is done after ").concat(y," bytes"))):c===null?n._sendRequest(r):(n._emitProgress(n._offset,n._size),n._sendRequest(r,c))})}},{key:"_handleUploadResponse",value:function(r,n){var i=parseInt(n.getHeader("Upload-Offset"),10);if(Number.isNaN(i)){this._emitHttpError(r,n,"tus: invalid or missing offset value");return}if(this._emitProgress(i,this._size),this._emitChunkComplete(i-this._offset,i,this._size),this._offset=i,i===this._size){this._emitSuccess(),this._source.close();return}this._performUpload()}},{key:"_openRequest",value:function(r,n){var i=hre(r,n,this.options);return this._req=i,i}},{key:"_removeFromUrlStorage",value:function(){var r=this;this._urlStorageKey&&(this._urlStorage.removeUpload(this._urlStorageKey).catch(function(n){r._emitError(n)}),this._urlStorageKey=null)}},{key:"_saveUploadInUrlStorage",value:function(){var r=this;if(!this.options.storeFingerprintForResuming||!this._fingerprint||this._urlStorageKey!==null)return Promise.resolve();var n={size:this._size,metadata:this.options.metadata,creationTime:new Date().toString()};return this._parallelUploads?n.parallelUploadUrls=this._parallelUploadUrls:n.uploadUrl=this.url,this._urlStorage.addUpload(this._fingerprint,n).then(function(i){r._urlStorageKey=i})}},{key:"_sendRequest",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return dre(r,n,this.options)}}],[{key:"terminate",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=hre("DELETE",r,n);return dre(i,null,n).then(function(a){if(a.getStatus()!==204)throw new kp("tus: unexpected response while terminating upload",null,i,a)}).catch(function(a){if(a instanceof kp||(a=new kp("tus: failed to terminate upload",a,i,null)),!vre(a,0,n))throw a;var l=n.retryDelays[0],c=n.retryDelays.slice(1),f=jp(jp({},n),{},{retryDelays:c});return new Promise(function(d){return setTimeout(d,l)}).then(function(){return t.terminate(r,f)})})}}]),t}();function pre(t){return Object.entries(t).map(function(e){var r=mre(e,2),n=r[0],i=r[1];return"".concat(n," ").concat(Wte.encode(String(i)))}).join(",")}function qp(t,e){return t>=e&&t=r.retryDelays.length||t.originalRequest==null?!1:r&&typeof r.onShouldRetry=="function"?r.onShouldRetry(t,e,r):Ore(t)}function Ore(t){var e=t.originalResponse?t.originalResponse.getStatus():0;return(!qp(e,400)||e===409||e===423)&&lst()}function yre(t,e){return new bre.default(e,t).toString()}function cst(t,e){for(var r=Math.floor(t/e),n=[],i=0;i0&&arguments[0]!==void 0?arguments[0]:null;return new Promise(function(i,a){r._xhr.onload=function(){i(new Sst(r._xhr))},r._xhr.onerror=function(l){a(l)},r._xhr.send(n)})}},{key:"abort",value:function(){return this._xhr.abort(),Promise.resolve()}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]),t}(),Sst=function(){function t(e){s2(this,t),this._xhr=e}return l2(t,[{key:"getStatus",value:function(){return this._xhr.status}},{key:"getHeader",value:function(r){return this._xhr.getResponseHeader(r)}},{key:"getBody",value:function(){return this._xhr.responseText}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]),t}();var _st=function(){return typeof navigator!="undefined"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative"},hS=_st;function c2(t){return new Promise(function(e,r){var n=new XMLHttpRequest;n.responseType="blob",n.onload=function(){var i=n.response;e(i)},n.onerror=function(i){r(i)},n.open("GET",t),n.send()})}var Pst=function(){return typeof window!="undefined"&&(typeof window.PhoneGap!="undefined"||typeof window.Cordova!="undefined"||typeof window.cordova!="undefined")},Rre=Pst;function f2(t){return new Promise(function(e,r){var n=new FileReader;n.onload=function(){var i=new Uint8Array(n.result);e({value:i})},n.onerror=function(i){r(i)},n.readAsArrayBuffer(t)})}function am(t){"@babel/helpers - typeof";return am=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},am(t)}function Est(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ire(t,e){for(var r=0;r=this.size;return Promise.resolve({value:i,done:a})}},{key:"close",value:function(){}}]),t}();function um(t){"@babel/helpers - typeof";return um=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},um(t)}function Rst(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kre(t,e){for(var r=0;rthis._bufferOffset&&(this._buffer=this._buffer.slice(r-this._bufferOffset),this._bufferOffset=r);var i=jre(this._buffer)===0;return this._done&&i?null:this._buffer.slice(0,n-r)}},{key:"close",value:function(){this._reader.cancel&&this._reader.cancel()}}]),t}();function Hl(t){"@babel/helpers - typeof";return Hl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hl(t)}function h2(){"use strict";h2=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,u){s[o]=u.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(s,o,u){return Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(u,p,v){return u[p]=v}}function y(s,o,u,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),b=new H(p||[]);return i(h,"_invoke",{value:Y(s,u,b)}),h}function m(s,o,u){try{return{type:"normal",arg:s.call(o,u)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var g="suspendedStart",w="suspendedYield",P="executing",E="completed",O={};function x(){}function R(){}function A(){}var I={};d(I,l,function(){return this});var C=Object.getPrototypeOf,k=C&&C(C(K([])));k&&k!==r&&n.call(k,l)&&(I=k);var j=A.prototype=x.prototype=Object.create(I);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(u){return this._invoke(o,u)})})}function B(s,o){function u(v,h,b,S){var _=m(s[v],s,h);if(_.type!=="throw"){var q=_.arg,F=q.value;return F&&Hl(F)=="object"&&n.call(F,"__await")?o.resolve(F.__await).then(function(N){u("next",N,b,S)},function(N){u("throw",N,b,S)}):o.resolve(F).then(function(N){q.value=N,b(q)},function(N){return u("throw",N,b,S)})}S(_.arg)}var p;i(this,"_invoke",{value:function(h,b){function S(){return new o(function(_,q){u(h,b,_,q)})}return p=p?p.then(S,S):S()}})}function Y(s,o,u){var p=g;return function(v,h){if(p===P)throw new Error("Generator is already running");if(p===E){if(v==="throw")throw h;return{value:t,done:!0}}for(u.method=v,u.arg=h;;){var b=u.delegate;if(b){var S=Q(b,u);if(S){if(S===O)continue;return S}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(p===g)throw p=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);p=P;var _=m(s,o,u);if(_.type==="normal"){if(p=u.done?E:w,_.arg===O)continue;return{value:_.arg,done:u.done}}_.type==="throw"&&(p=E,u.method="throw",u.arg=_.arg)}}}function Q(s,o){var u=o.method,p=s.iterator[u];if(p===t)return o.delegate=null,u==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||u!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+u+"' method")),O;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,O;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,O):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,O)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function K(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var u=-1,p=function v(){for(;++u=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function Fre(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Fst(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){Fre(a,n,i,l,c,"next",f)}function c(f){Fre(a,n,i,l,c,"throw",f)}l(void 0)})}}function Lst(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lre(t,e){for(var r=0;r0&&arguments[0]!==void 0?arguments[0]:null,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Bst(this,r),i=Fp(Fp({},vS),i),e.call(this,n,i)}return Gst(r,null,[{key:"terminate",value:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return a=Fp(Fp({},vS),a),fS.terminate(i,a)}}]),r}(fS),Gre=window,Xst=Gre.XMLHttpRequest,Mre=Gre.Blob,Jxt=Xst&&Mre&&typeof Mre.prototype.slice=="function";function Qst(){return typeof window!="undefined"&&(typeof window.PhoneGap!="undefined"||typeof window.Cordova!="undefined"||typeof window.cordova!="undefined")}function Jst(){return typeof navigator!="undefined"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative"}function y2(t){return function(e,r){if(Qst()||Jst())return vS.fingerprint(e,r);var n=["tus",t.id,r.endpoint].join("-");return Promise.resolve(n)}}function Zu(t){"@babel/helpers - typeof";return Zu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zu(t)}var Zst=["onShouldRetry","onBeforeRequest"];function elt(t,e){if(t==null)return{};var r=tlt(t,e),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function tlt(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,a;for(a=0;a=0)&&(r[i]=t[i]);return r}function Vl(){"use strict";Vl=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,u){s[o]=u.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(s,o,u){return Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(u,p,v){return u[p]=v}}function y(s,o,u,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),b=new H(p||[]);return i(h,"_invoke",{value:Y(s,u,b)}),h}function m(s,o,u){try{return{type:"normal",arg:s.call(o,u)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var g="suspendedStart",w="suspendedYield",P="executing",E="completed",O={};function x(){}function R(){}function A(){}var I={};d(I,l,function(){return this});var C=Object.getPrototypeOf,k=C&&C(C(K([])));k&&k!==r&&n.call(k,l)&&(I=k);var j=A.prototype=x.prototype=Object.create(I);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(u){return this._invoke(o,u)})})}function B(s,o){function u(v,h,b,S){var _=m(s[v],s,h);if(_.type!=="throw"){var q=_.arg,F=q.value;return F&&Zu(F)=="object"&&n.call(F,"__await")?o.resolve(F.__await).then(function(N){u("next",N,b,S)},function(N){u("throw",N,b,S)}):o.resolve(F).then(function(N){q.value=N,b(q)},function(N){return u("throw",N,b,S)})}S(_.arg)}var p;i(this,"_invoke",{value:function(h,b){function S(){return new o(function(_,q){u(h,b,_,q)})}return p=p?p.then(S,S):S()}})}function Y(s,o,u){var p=g;return function(v,h){if(p===P)throw new Error("Generator is already running");if(p===E){if(v==="throw")throw h;return{value:t,done:!0}}for(u.method=v,u.arg=h;;){var b=u.delegate;if(b){var S=Q(b,u);if(S){if(S===O)continue;return S}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(p===g)throw p=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);p=P;var _=m(s,o,u);if(_.type==="normal"){if(p=u.done?E:w,_.arg===O)continue;return{value:_.arg,done:u.done}}_.type==="throw"&&(p=E,u.method="throw",u.arg=_.arg)}}}function Q(s,o){var u=o.method,p=s.iterator[u];if(p===t)return o.delegate=null,u==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||u!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+u+"' method")),O;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,O;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,O):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,O)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function K(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var u=-1,p=function v(){for(;++u=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function zre(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function S2(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){zre(a,n,i,l,c,"next",f)}function c(f){zre(a,n,i,l,c,"throw",f)}l(void 0)})}}function Hre(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function pr(t){for(var e=1;e400&&C<500&&C!==409&&C!==423)return!1;typeof navigator!="undefined"&&navigator.onLine===!1&&(e.requests.isPaused||(e.requests.pause(),window.addEventListener("online",function(){e.requests.resume()},{once:!0})))}return a.abort(),a={shouldBeRequeued:!0,abort:function(){this.shouldBeRequeued=!1},done:function(){throw new Error("Cannot mark a queued request as done: this indicates a bug")},fn:function(){throw new Error("Cannot run a queued request: this indicates a bug")}},!0};d!=null?g.onShouldRetry=function(R,A){return d(R,A,f,w)}:g.onShouldRetry=w;var P=function(A,I,C){Nn(A,I)&&!Nn(A,C)&&(A[C]=A[I])},E={},O=Array.isArray(f.allowedMetaFields)?f.allowedMetaFields:Object.keys(t.meta);O.forEach(function(R){E[R]=String(t.meta[R])}),P(E,"type","filetype"),P(E,"name","filename"),g.metadata=E,c=new Bre(t.data,g),e.uploaders[t.id]=c;var x=new Pp(e.uppy);e.uploaderEvents[t.id]=x,l=function(){return t.isPaused||c.start(),function(){}},c.findPreviousUploads().then(function(R){var A=R[0];A&&(e.uppy.log("[Tus] Resuming upload of ".concat(t.id," started at ").concat(A.creationTime)),c.resumeFromPreviousUpload(A))}),a=e.requests.run(l),x.onFileRemove(t.id,function(R){a.abort(),e.resetUploaderReferences(t.id,{abort:!!c.url}),n("upload ".concat(R," was removed"))}),x.onPause(t.id,function(R){a.abort(),R?c.abort():a=e.requests.run(l)}),x.onPauseAll(t.id,function(){a.abort(),c.abort()}),x.onCancelAll(t.id,function(R){var A=R===void 0?{}:R,I=A.reason;I==="user"&&(a.abort(),r.resetUploaderReferences(t.id,{abort:!!c.url})),n("upload ".concat(t.id," was canceled"))}),x.onResumeAll(t.id,function(){a.abort(),t.error&&c.abort(),a=e.requests.run(l)})}).catch(function(n){throw e.uppy.emit("upload-error",t,n),n})}function hlt(t){var e,r=pr({},this.opts);return t.tus&&Object.assign(r,t.tus),pr(pr({},(e=t.remote)==null?void 0:e.body),{},{endpoint:r.endpoint,uploadUrl:r.uploadUrl,protocol:"tus",size:t.data.size,headers:r.headers,metadata:t.meta})}function dlt(t){return O2.apply(this,arguments)}function O2(){return O2=S2(Vl().mark(function t(e){var r=this,n,i;return Vl().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return n=Vu(e),i=Ku(n),this.uppy.emit("upload-start",i),l.next=5,Promise.allSettled(n.map(function(c){if(c.isRemote){var f=function(){return r.requests},d=new AbortController,y=function(w){w.id===c.id&&d.abort()};r.uppy.on("file-removed",y);var m=r.uppy.getRequestClientForFile(c).uploadRemoteFile(c,Wl(r,w2)[w2](c),{signal:d.signal,getQueue:f});return r.requests.wrapSyncFunction(function(){r.uppy.off("file-removed",y)},{priority:-1})(),m}return Wl(r,b2)[b2](c)}));case 5:case"end":return l.stop()}},t,this)})),O2.apply(this,arguments)}Cp.VERSION=clt.version;var tne=Ce(P2(),1);function es(t){"@babel/helpers - typeof";return es=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},es(t)}function x2(){"use strict";x2=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,u){s[o]=u.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(s,o,u){return Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(u,p,v){return u[p]=v}}function y(s,o,u,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),b=new H(p||[]);return i(h,"_invoke",{value:Y(s,u,b)}),h}function m(s,o,u){try{return{type:"normal",arg:s.call(o,u)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var g="suspendedStart",w="suspendedYield",P="executing",E="completed",O={};function x(){}function R(){}function A(){}var I={};d(I,l,function(){return this});var C=Object.getPrototypeOf,k=C&&C(C(K([])));k&&k!==r&&n.call(k,l)&&(I=k);var j=A.prototype=x.prototype=Object.create(I);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(u){return this._invoke(o,u)})})}function B(s,o){function u(v,h,b,S){var _=m(s[v],s,h);if(_.type!=="throw"){var q=_.arg,F=q.value;return F&&es(F)=="object"&&n.call(F,"__await")?o.resolve(F.__await).then(function(N){u("next",N,b,S)},function(N){u("throw",N,b,S)}):o.resolve(F).then(function(N){q.value=N,b(q)},function(N){return u("throw",N,b,S)})}S(_.arg)}var p;i(this,"_invoke",{value:function(h,b){function S(){return new o(function(_,q){u(h,b,_,q)})}return p=p?p.then(S,S):S()}})}function Y(s,o,u){var p=g;return function(v,h){if(p===P)throw new Error("Generator is already running");if(p===E){if(v==="throw")throw h;return{value:t,done:!0}}for(u.method=v,u.arg=h;;){var b=u.delegate;if(b){var S=Q(b,u);if(S){if(S===O)continue;return S}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(p===g)throw p=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);p=P;var _=m(s,o,u);if(_.type==="normal"){if(p=u.done?E:w,_.arg===O)continue;return{value:_.arg,done:u.done}}_.type==="throw"&&(p=E,u.method="throw",u.arg=_.arg)}}}function Q(s,o){var u=o.method,p=s.iterator[u];if(p===t)return o.delegate=null,u==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||u!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+u+"' method")),O;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,O;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,O):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,O)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function K(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var u=-1,p=function v(){for(;++u=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function Xre(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function ylt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){Xre(a,n,i,l,c,"next",f)}function c(f){Xre(a,n,i,l,c,"throw",f)}l(void 0)})}}function mlt(t,e){return Olt(t)||wlt(t,e)||blt(t,e)||glt()}function glt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function blt(t,e){if(t){if(typeof t=="string")return Qre(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qre(t,e)}}function Qre(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=Zre.indexOf(e)}var Yl=qo("rateLimitedQueue"),fm=qo("fetchWithNetworkError"),Kl=qo("previousFetchStatusStillPending"),Ut=qo("sse"),j2=qo("onFinished"),E2=qo("connectServerSentEvents"),Yi=qo("onError"),T2=qo("beginPolling"),Fa=qo("fetchStatus"),A2=qo("diffStatus"),klt=function(t){xlt(e,t);function e(r,n){var i;return Slt(this,e),i=Tlt(this,e),Object.defineProperty(Zn(i),A2,{value:Nlt}),Object.defineProperty(Zn(i),Fa,{value:Clt}),Object.defineProperty(Zn(i),T2,{value:Llt}),Object.defineProperty(Zn(i),Yi,{value:Flt}),Object.defineProperty(Zn(i),E2,{value:qlt}),Object.defineProperty(Zn(i),j2,{value:jlt}),Object.defineProperty(Zn(i),Yl,{writable:!0,value:void 0}),Object.defineProperty(Zn(i),fm,{writable:!0,value:void 0}),Object.defineProperty(Zn(i),Kl,{writable:!0,value:!1}),Object.defineProperty(Zn(i),Ut,{writable:!0,value:void 0}),i.status=r,i.pollInterval=null,i.closed=!1,Je(Zn(i),Yl)[Yl]=n,Je(Zn(i),fm)[fm]=n.wrapPromiseFunction(al),i}return _lt(e,[{key:"connect",value:function(){Je(this,E2)[E2](),Je(this,T2)[T2]()}},{key:"update",value:function(){return Je(this,Fa)[Fa]({diff:!0})}},{key:"updateStatus",value:function(n){Je(this,A2)[A2](this.status,n),this.status=n}},{key:"close",value:function(){this.closed=!0,Je(this,Ut)[Ut]&&(Je(this,Ut)[Ut].close(),Je(this,Ut)[Ut]=null),clearInterval(this.pollInterval),this.pollInterval=null}}]),e}(tne.default);function jlt(){this.emit("finished"),this.close()}function qlt(){var t=this;Je(this,Ut)[Ut]=new EventSource("".concat(this.status.websocket_url,"?assembly=").concat(this.status.assembly_id)),Je(this,Ut)[Ut].addEventListener("open",function(){clearInterval(t.pollInterval),t.pollInterval=null}),Je(this,Ut)[Ut].addEventListener("message",function(e){e.data==="assembly_finished"&&Je(t,j2)[j2](),e.data==="assembly_uploading_finished"&&t.emit("executing"),e.data==="assembly_upload_meta_data_extracted"&&(t.emit("metadata"),Je(t,Fa)[Fa]({diff:!1}))}),Je(this,Ut)[Ut].addEventListener("assembly_upload_finished",function(e){var r=JSON.parse(e.data);t.emit("upload",r),t.status.uploads.push(r)}),Je(this,Ut)[Ut].addEventListener("assembly_result_finished",function(e){var r,n,i=JSON.parse(e.data),a=mlt(i,2),l=a[0],c=a[1];t.emit("result",l,c),((n=(r=t.status.results)[l])!=null?n:r[l]=[]).push(c)}),Je(this,Ut)[Ut].addEventListener("assembly_execution_progress",function(e){var r=JSON.parse(e.data);t.emit("execution-progress",r)}),Je(this,Ut)[Ut].addEventListener("assembly_error",function(e){try{Je(t,Yi)[Yi](JSON.parse(e.data))}catch(r){Je(t,Yi)[Yi](new Error(e.data))}Je(t,Fa)[Fa]({diff:!1})})}function Flt(t){this.emit("error",Object.assign(new Error(t.message),t)),this.close()}function Llt(){var t=this;this.pollInterval=setInterval(function(){Je(t,Fa)[Fa]()},2e3)}function Clt(t){return q2.apply(this,arguments)}function q2(){return q2=ylt(x2().mark(function t(e){var r,n,i,a,l;return x2().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(r=e===void 0?{}:e,n=r.diff,i=n===void 0?!0:n,!(this.closed||Je(this,Yl)[Yl].isPaused||Je(this,Kl)[Kl])){f.next=3;break}return f.abrupt("return");case 3:return f.prev=3,Je(this,Kl)[Kl]=!0,f.next=7,Je(this,fm)[fm](this.status.assembly_ssl_url);case 7:if(a=f.sent,Je(this,Kl)[Kl]=!1,!this.closed){f.next=11;break}return f.abrupt("return");case 11:if(a.status!==429){f.next=14;break}return Je(this,Yl)[Yl].rateLimit(2e3),f.abrupt("return");case 14:if(a.ok){f.next=17;break}return Je(this,Yi)[Yi](new Mr(a.statusText)),f.abrupt("return");case 17:return f.next=19,a.json();case 19:if(l=f.sent,!this.closed){f.next=22;break}return f.abrupt("return");case 22:this.emit("status",l),i?this.updateStatus(l):this.status=l,f.next=29;break;case 26:f.prev=26,f.t0=f.catch(3),Je(this,Yi)[Yi](f.t0);case 29:case"end":return f.stop()}},t,this,[[3,26]])})),q2.apply(this,arguments)}function Nlt(t,e){var r=this,n=t.ok,i=e.ok;if(e.error&&!t.error)return Je(this,Yi)[Yi](e);var a=mS(i,I2)&&!mS(n,I2);a&&this.emit("executing"),Object.keys(e.uploads).filter(function(l){return!Nn(t.uploads,l)}).forEach(function(l){r.emit("upload",e.uploads[l])}),a&&this.emit("metadata"),Object.keys(e.results).forEach(function(l){var c=e.results[l],f=t.results[l];c.filter(function(d){return!f||!f.some(function(y){return y.id===d.id})}).forEach(function(d){r.emit("result",l,d)})}),mS(i,k2)&&!mS(n,k2)&&this.emit("finished")}var F2=klt;function rs(t){"@babel/helpers - typeof";return rs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rs(t)}function Lr(){"use strict";Lr=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,u){s[o]=u.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(s,o,u){return Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(u,p,v){return u[p]=v}}function y(s,o,u,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),b=new H(p||[]);return i(h,"_invoke",{value:Y(s,u,b)}),h}function m(s,o,u){try{return{type:"normal",arg:s.call(o,u)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var g="suspendedStart",w="suspendedYield",P="executing",E="completed",O={};function x(){}function R(){}function A(){}var I={};d(I,l,function(){return this});var C=Object.getPrototypeOf,k=C&&C(C(K([])));k&&k!==r&&n.call(k,l)&&(I=k);var j=A.prototype=x.prototype=Object.create(I);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(u){return this._invoke(o,u)})})}function B(s,o){function u(v,h,b,S){var _=m(s[v],s,h);if(_.type!=="throw"){var q=_.arg,F=q.value;return F&&rs(F)=="object"&&n.call(F,"__await")?o.resolve(F.__await).then(function(N){u("next",N,b,S)},function(N){u("throw",N,b,S)}):o.resolve(F).then(function(N){q.value=N,b(q)},function(N){return u("throw",N,b,S)})}S(_.arg)}var p;i(this,"_invoke",{value:function(h,b){function S(){return new o(function(_,q){u(h,b,_,q)})}return p=p?p.then(S,S):S()}})}function Y(s,o,u){var p=g;return function(v,h){if(p===P)throw new Error("Generator is already running");if(p===E){if(v==="throw")throw h;return{value:t,done:!0}}for(u.method=v,u.arg=h;;){var b=u.delegate;if(b){var S=Q(b,u);if(S){if(S===O)continue;return S}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(p===g)throw p=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);p=P;var _=m(s,o,u);if(_.type==="normal"){if(p=u.done?E:w,_.arg===O)continue;return{value:_.arg,done:u.done}}_.type==="throw"&&(p=E,u.method="throw",u.arg=_.arg)}}}function Q(s,o){var u=o.method,p=s.iterator[u];if(p===t)return o.delegate=null,u==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||u!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+u+"' method")),O;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,O;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,O):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,O)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function K(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var u=-1,p=function v(){for(;++u=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function rne(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function ts(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){rne(a,n,i,l,c,"next",f)}function c(f){rne(a,n,i,l,c,"throw",f)}l(void 0)})}}function nne(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function Ylt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sne(t,e){for(var r=0;r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return a=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function ect(t,e){if(t){if(typeof t=="string")return cne(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cne(t,e)}}function cne(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0)){c.next=3;break}return c.abrupt("return",Promise.all(this.files.map(function(){var f=D2(Xl().mark(function d(y){var m;return Xl().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(y!=null){w.next=2;break}return w.abrupt("return",void 0);case 2:return w.next=4,fne(y,i);case 4:if(m=w.sent,y!=null){w.next=7;break}return w.abrupt("return",void 0);case 7:return w.abrupt("return",{fileIDs:[y.id],options:m});case 8:case"end":return w.stop()}},d)}));return function(d){return f.apply(this,arguments)}}())).then(tct));case 3:if(!i.alwaysRunAssembly){c.next=8;break}return c.next=6,fne(null,i);case 6:return a=c.sent,c.abrupt("return",[{fileIDs:[],options:a}]);case 8:return c.abrupt("return",[]);case 9:case"end":return c.stop()}},n,this)}));function r(){return e.apply(this,arguments)}return r}()}]),t}(),pne=rct;var vne=Ce(P2(),1);function Np(t){"@babel/helpers - typeof";return Np=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Np(t)}function hne(t,e){for(var r=0;r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return a=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function bct(t,e){return Sct(t)||Oct(t,e)||aF(t,e)||wct()}function wct(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function aF(t,e){if(t){if(typeof t=="string")return eF(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return eF(t,e)}}function eF(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function gne(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Tm(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){gne(a,n,i,l,c,"next",f)}function c(f){gne(a,n,i,l,c,"throw",f)}l(void 0)})}}function bne(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Xe(t){for(var e=1;e=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function Tne(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Ane(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){Tne(a,n,i,l,c,"next",f)}function c(f){Tne(a,n,i,l,c,"throw",f)}l(void 0)})}}var SS=function(){};function xne(t,e){e===void 0&&(e={});var r=e,n=r.body,i=n===void 0?null:n,a=r.headers,l=a===void 0?{}:a,c=r.method,f=c===void 0?"GET":c,d=r.onBeforeRequest,y=d===void 0?SS:d,m=r.onUploadProgress,g=m===void 0?SS:m,w=r.shouldRetry,P=w===void 0?function(){return!0}:w,E=r.onAfterRequest,O=E===void 0?SS:E,x=r.onTimeout,R=x===void 0?SS:x,A=r.responseType,I=r.retries,C=I===void 0?3:I,k=r.signal,j=k===void 0?null:k,z=r.timeout,B=z===void 0?3e4:z,Y=r.withCredentials,Q=Y===void 0?!1:Y,X=function(s){return .3*Math.pow(2,s-1)*1e3},$=new oS(B,R);function H(K){return K===void 0&&(K=0),new Promise(function(){var s=Ane(Rm().mark(function o(u,p){var v;return Rm().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return v=new XMLHttpRequest,v.open(f,t,!0),v.withCredentials=Q,A&&(v.responseType=A),j==null||j.addEventListener("abort",function(){v.abort(),p(new DOMException("Aborted","AbortError"))}),v.onload=Ane(Rm().mark(function S(){return Rm().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:return q.next=2,O(v,K);case 2:v.status>=200&&v.status<300?($.done(),u(v)):P(v)&&K=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return a=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function Hct(t,e){if(t){if(typeof t=="string")return Ine(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ine(t,e)}}function Ine(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function kne(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function nc(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){kne(a,n,i,l,c,"next",f)}function c(f){kne(a,n,i,l,c,"throw",f)}l(void 0)})}}function jne(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Yt(t){for(var e=1;e=200&&e<300}},rc=Dp("getFetcher"),hF=Dp("uploadLocalFile"),cF=Dp("uploadBundle"),dF=Dp("getCompanionClientArgs"),fF=Dp("uploadFiles"),Im=Dp("handleUpload"),gF=function(t){Jct(e,t);function e(r,n){var i;if(Vct(this,e),i=Xct(this,e,[r,Yt(Yt({},rft),{},{fieldName:n.bundle?"files[]":"file"},n)]),Object.defineProperty(Ji(i),fF,{value:aft}),Object.defineProperty(Ji(i),dF,{value:oft}),Object.defineProperty(Ji(i),cF,{value:ift}),Object.defineProperty(Ji(i),hF,{value:nft}),Object.defineProperty(Ji(i),rc,{writable:!0,value:void 0}),Object.defineProperty(Ji(i),Im,{writable:!0,value:function(){var a=nc(ln().mark(function c(f){var d,y,m,g;return ln().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(f.length!==0){P.next=3;break}return i.uppy.log("[XHRUpload] No files to upload!"),P.abrupt("return");case 3:if(i.opts.limit===0&&!i.opts[Wu]&&i.uppy.log("[XHRUpload] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/xhr-upload/#limit-0","warning"),i.uppy.log("[XHRUpload] Uploading..."),d=i.uppy.getFilesByIds(f),y=Vu(d),m=Ku(y),i.uppy.emit("upload-start",m),!i.opts.bundle){P.next=19;break}if(g=y.some(function(E){return E.isRemote}),!g){P.next=13;break}throw new Error("Can\u2019t upload remote files when the `bundle: true` option is set");case 13:if(typeof i.opts.headers!="function"){P.next=15;break}throw new TypeError("`headers` may not be a function when the `bundle: true` option is set");case 15:return P.next=17,Ca(Ji(i),cF)[cF](y);case 17:P.next=21;break;case 19:return P.next=21,Ca(Ji(i),fF)[fF](y);case 21:case"end":return P.stop()}},c)}));function l(c){return a.apply(this,arguments)}return l}()}),i.type="uploader",i.id=i.opts.id||"XHRUpload",i.defaultLocale=Rne,i.i18nInit(),Wu in i.opts?i.requests=i.opts[Wu]:i.requests=new wi(i.opts.limit),i.opts.bundle&&!i.opts.formData)throw new Error("`opts.formData` must be true when `opts.bundle` is enabled.");if(i.opts.bundle&&typeof i.opts.headers=="function")throw new Error("`opts.headers` can not be a function when the `bundle: true` option is set.");if((n==null?void 0:n.allowedMetaFields)===void 0&&"metaFields"in i.opts)throw new Error("The `metaFields` option has been renamed to `allowedMetaFields`.");return i.uploaderEvents=Object.create(null),Ca(Ji(i),rc)[rc]=function(a){return function(){var l=nc(ln().mark(function c(f,d){var y,m,g,w,P,E,O,x,R,A,I;return ln().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return k.prev=0,k.next=3,xne(f,Yt(Yt({},d),{},{onTimeout:function(z){var B=Math.ceil(z/1e3),Y=new Error(i.i18n("uploadStalled",{seconds:B}));i.uppy.emit("upload-stalled",Y,a)},onUploadProgress:function(z){if(z.lengthComputable){var B=lF(a),Y;try{for(B.s();!(Y=B.n()).done;){var Q=Y.value;i.uppy.emit("upload-progress",Q,{uploader:Ji(i),bytesUploaded:z.loaded/z.total*Q.size,bytesTotal:Q.size})}}catch(X){B.e(X)}finally{B.f()}}}}));case 3:if(y=k.sent,i.opts.validateStatus(y.status,y.responseText,y)){k.next=6;break}throw new Mr(y.statusText,y);case 6:m=i.opts.getResponseData(y.responseText,y),g=m==null?void 0:m[i.opts.responseUrlFieldName],w=lF(a);try{for(w.s();!(P=w.n()).done;)E=P.value,i.uppy.emit("upload-success",E,{status:y.status,body:m,uploadURL:g})}catch(j){w.e(j)}finally{w.f()}return k.abrupt("return",y);case 13:if(k.prev=13,k.t0=k.catch(0),k.t0.name!=="AbortError"){k.next=17;break}return k.abrupt("return",void 0);case 17:if(k.t0 instanceof Mr){O=k.t0.request,x=tft(O,i.opts.getResponseError(O.responseText,O)),R=lF(a);try{for(R.s();!(A=R.n()).done;)I=A.value,i.uppy.emit("upload-error",I,x)}catch(j){R.e(j)}finally{R.f()}}throw k.t0;case 19:case"end":return k.stop()}},c,null,[[0,13]])}));return function(c,f){return l.apply(this,arguments)}}()},i}return Kct(e,[{key:"getOptions",value:function(n){var i=this.uppy.getState().xhrUpload,a=this.opts.headers,l=Yt(Yt(Yt(Yt({},this.opts),i||{}),n.xhrUpload||{}),{},{headers:{}});return typeof a=="function"?l.headers=a(n):Object.assign(l.headers,this.opts.headers),i&&Object.assign(l.headers,i.headers),n.xhrUpload&&Object.assign(l.headers,n.xhrUpload.headers),l}},{key:"addMetadata",value:function(n,i,a){var l=Array.isArray(a.allowedMetaFields)?a.allowedMetaFields:Object.keys(i);l.forEach(function(c){var f=i[c];Array.isArray(f)?f.forEach(function(d){return n.append(c,d)}):n.append(c,f)})}},{key:"createFormDataUpload",value:function(n,i){var a=new FormData;this.addMetadata(a,n.meta,i);var l=Fne(n);return n.name?a.append(i.fieldName,l,n.meta.name):a.append(i.fieldName,l),a}},{key:"createBundledUpload",value:function(n,i){var a=this,l=new FormData,c=this.uppy.getState(),f=c.meta;return this.addMetadata(l,f,i),n.forEach(function(d){var y=a.getOptions(d),m=Fne(d);d.name?l.append(y.fieldName,m,d.name):l.append(y.fieldName,m)}),l}},{key:"install",value:function(){if(this.opts.bundle){var n=this.uppy.getState(),i=n.capabilities;this.uppy.setState({capabilities:Yt(Yt({},i),{},{individualCancellation:!1})})}this.uppy.addUploader(Ca(this,Im)[Im])}},{key:"uninstall",value:function(){if(this.opts.bundle){var n=this.uppy.getState(),i=n.capabilities;this.uppy.setState({capabilities:Yt(Yt({},i),{},{individualCancellation:!0})})}this.uppy.removeUploader(Ca(this,Im)[Im])}}]),e}(ht);function nft(t){return vF.apply(this,arguments)}function vF(){return vF=nc(ln().mark(function t(e){var r=this,n,i,a;return ln().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return n=new Pp(this.uppy),i=new AbortController,a=this.requests.wrapPromiseFunction(nc(ln().mark(function f(){var d,y,m;return ln().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return d=r.getOptions(e),y=Ca(r,rc)[rc]([e]),m=d.formData?r.createFormDataUpload(e,d):e.data,w.abrupt("return",y(d.endpoint,Yt(Yt({},d),{},{body:m,signal:i.signal})));case 4:case"end":return w.stop()}},f)}))),n.onFileRemove(e.id,function(){return i.abort()}),n.onCancelAll(e.id,function(f){var d=f.reason;d==="user"&&i.abort()}),c.prev=5,c.next=8,a().abortOn(i.signal);case 8:c.next=14;break;case 10:if(c.prev=10,c.t0=c.catch(5),c.t0.message==="Cancelled"){c.next=14;break}throw c.t0;case 14:return c.prev=14,n.remove(),c.finish(14);case 17:case"end":return c.stop()}},t,this,[[5,10,14,17]])})),vF.apply(this,arguments)}function ift(t){return yF.apply(this,arguments)}function yF(){return yF=nc(ln().mark(function t(e){var r=this,n,i,a;return ln().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return a=function(){n.abort()},n=new AbortController,i=this.requests.wrapPromiseFunction(nc(ln().mark(function f(){var d,y,m,g;return ln().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return y=(d=r.uppy.getState().xhrUpload)!=null?d:{},m=Ca(r,rc)[rc](e),g=r.createBundledUpload(e,Yt(Yt({},r.opts),y)),P.abrupt("return",m(r.opts.endpoint,Yt(Yt({},r.opts),{},{body:g,signal:n.signal})));case 4:case"end":return P.stop()}},f)}))),this.uppy.once("cancel-all",a),c.prev=4,c.next=7,i().abortOn(n.signal);case 7:c.next=13;break;case 9:if(c.prev=9,c.t0=c.catch(4),c.t0.message==="Cancelled"){c.next=13;break}throw c.t0;case 13:return c.prev=13,this.uppy.off("cancel-all",a),c.finish(13);case 16:case"end":return c.stop()}},t,this,[[4,9,13,16]])})),yF.apply(this,arguments)}function oft(t){var e,r=this.getOptions(t),n=Array.isArray(r.allowedMetaFields)?r.allowedMetaFields:Object.keys(t.meta);return Yt(Yt({},(e=t.remote)==null?void 0:e.body),{},{protocol:"multipart",endpoint:r.endpoint,size:t.data.size,fieldname:r.fieldName,metadata:Object.fromEntries(n.map(function(i){return[i,t.meta[i]]})),httpMethod:r.method,useFormData:r.formData,headers:r.headers})}function aft(t){return mF.apply(this,arguments)}function mF(){return mF=nc(ln().mark(function t(e){var r=this;return ln().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,Promise.allSettled(e.map(function(a){if(a.isRemote){var l=function(){return r.requests},c=new AbortController,f=function(m){m.id===a.id&&c.abort()};r.uppy.on("file-removed",f);var d=r.uppy.getRequestClientForFile(a).uploadRemoteFile(a,Ca(r,dF)[dF](a),{signal:c.signal,getQueue:l});return r.requests.wrapSyncFunction(function(){r.uppy.off("file-removed",f)},{priority:-1})(),d}return Ca(r,hF)[hF](a)}));case 2:case"end":return i.stop()}},t)})),mF.apply(this,arguments)}gF.VERSION=eft.version;var OF=Ce(Bd(),1),Vne=Ce(Nne(),1);var Dne={strings:{compressingImages:"Compressing images...",compressedX:"Saved %{size} by compressing images"}};function us(t){"@babel/helpers - typeof";return us=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},us(t)}function uft(t,e){var r=typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=sft(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return a=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!a&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function sft(t,e){if(t){if(typeof t=="string")return Mne(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Mne(t,e)}}function Mne(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function Une(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Bne(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){Une(a,n,i,l,c,"next",f)}function c(f){Une(a,n,i,l,c,"throw",f)}l(void 0)})}}function Gne(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Zi(t){for(var e=1;e1024&&this.uppy.info(this.i18n("compressedX",{size:(0,OF.default)(c)}),"info"),m=uft(a);try{for(m.s();!(g=m.n()).done;)w=g.value,P=this.uppy.getFile(w),this.uppy.emit("preprocess-complete",P)}catch(x){m.e(x)}finally{m.f()}case 10:case"end":return O.stop()}},i,this)}));function n(i){return r.apply(this,arguments)}return n}()},{key:"install",value:function(){this.uppy.addPreProcessor(this.prepareUpload)}},{key:"uninstall",value:function(){this.uppy.removePreProcessor(this.prepareUpload)}}]),e}(ht);function AS(){return AS=Object.assign||function(t){for(var e=1;e0?i:null}function Xne(t,e){var r=null,n=t.type;if(n==="select-one")return t.options.length&&(r=t.options[t.selectedIndex].value),r;if(n==="select-multiple"){r=[];for(var i=0,a=t.options.length;i element",{cause:t});return t}var ic=kft("completed"),PF=function(t){Rft(e,t);function e(r,n){var i;return Pft(this,e),i=Aft(this,e,[r,Zne(Zne({},qft),n)]),Object.defineProperty(oc(i),ic,{writable:!0,value:!1}),i.type="acquirer",i.id=i.opts.id||"Form",i.handleFormSubmit=i.handleFormSubmit.bind(oc(i)),i.handleUploadStart=i.handleUploadStart.bind(oc(i)),i.handleSuccess=i.handleSuccess.bind(oc(i)),i.addResultToForm=i.addResultToForm.bind(oc(i)),i.getMetaFromForm=i.getMetaFromForm.bind(oc(i)),i}return Eft(e,[{key:"handleUploadStart",value:function(){SF(this,ic)[ic]=!1,this.opts.getMetaFromForm&&this.getMetaFromForm()}},{key:"handleSuccess",value:function(n){SF(this,ic)[ic]=!0,this.opts.addResultToForm&&this.addResultToForm(n),this.opts.submitOnSuccess&&this.form.requestSubmit()}},{key:"handleFormSubmit",value:function(n){var i=this;if(this.opts.triggerUploadOnSubmit&&!SF(this,ic)[ic]){n.preventDefault();var a=Kt(n.target.elements),l=[];a.forEach(function(c){var f=c.tagName==="BUTTON"||c.tagName==="INPUT"&&c.type==="submit";f&&!c.disabled&&(c.disabled=!0,l.push(c))}),this.uppy.upload().then(function(){l.forEach(function(c){c.disabled=!1})},function(c){return l.forEach(function(f){f.disabled=!1}),Promise.reject(c)}).catch(function(c){i.uppy.log(c.stack||c.message||c)})}}},{key:"addResultToForm",value:function(n){this.uppy.log("[Form] Adding result to the original form:"),this.uppy.log(n);var i=this.form.querySelector('[name="'.concat(this.opts.resultName,'"]'));if(i){var a;try{a=JSON.parse(i.value)}catch(l){}Array.isArray(a)||(a=[]),a.push(n),i.value=JSON.stringify(a);return}i=document.createElement("input"),i.name=this.opts.resultName,i.type="hidden",i.value=JSON.stringify([n]),this.form.appendChild(i)}},{key:"getMetaFromForm",value:function(){var n=xS(this.form);delete n[this.opts.resultName],this.uppy.setMeta(n)}},{key:"install",value:function(){this.form=Fft(r0(this.opts.target)),this.form.addEventListener("submit",this.handleFormSubmit),this.uppy.on("upload",this.handleUploadStart),this.uppy.on("complete",this.handleSuccess)}},{key:"uninstall",value:function(){this.form.removeEventListener("submit",this.handleFormSubmit),this.uppy.off("upload",this.handleUploadStart),this.uppy.off("complete",this.handleSuccess)}}]),e}(ht);PF.VERSION=jft.version;var kie=Ce(Hw(),1);function sc(t){"@babel/helpers - typeof";return sc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sc(t)}function uc(){"use strict";uc=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,u){s[o]=u.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function d(s,o,u){return Object.defineProperty(s,o,{value:u,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(u,p,v){return u[p]=v}}function y(s,o,u,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),b=new H(p||[]);return i(h,"_invoke",{value:Y(s,u,b)}),h}function m(s,o,u){try{return{type:"normal",arg:s.call(o,u)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var g="suspendedStart",w="suspendedYield",P="executing",E="completed",O={};function x(){}function R(){}function A(){}var I={};d(I,l,function(){return this});var C=Object.getPrototypeOf,k=C&&C(C(K([])));k&&k!==r&&n.call(k,l)&&(I=k);var j=A.prototype=x.prototype=Object.create(I);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(u){return this._invoke(o,u)})})}function B(s,o){function u(v,h,b,S){var _=m(s[v],s,h);if(_.type!=="throw"){var q=_.arg,F=q.value;return F&&sc(F)=="object"&&n.call(F,"__await")?o.resolve(F.__await).then(function(N){u("next",N,b,S)},function(N){u("throw",N,b,S)}):o.resolve(F).then(function(N){q.value=N,b(q)},function(N){return u("throw",N,b,S)})}S(_.arg)}var p;i(this,"_invoke",{value:function(h,b){function S(){return new o(function(_,q){u(h,b,_,q)})}return p=p?p.then(S,S):S()}})}function Y(s,o,u){var p=g;return function(v,h){if(p===P)throw new Error("Generator is already running");if(p===E){if(v==="throw")throw h;return{value:t,done:!0}}for(u.method=v,u.arg=h;;){var b=u.delegate;if(b){var S=Q(b,u);if(S){if(S===O)continue;return S}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(p===g)throw p=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);p=P;var _=m(s,o,u);if(_.type==="normal"){if(p=u.done?E:w,_.arg===O)continue;return{value:_.arg,done:u.done}}_.type==="throw"&&(p=E,u.method="throw",u.arg=_.arg)}}}function Q(s,o){var u=o.method,p=s.iterator[u];if(p===t)return o.delegate=null,u==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||u!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+u+"' method")),O;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,O;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,O):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,O)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function K(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var u=-1,p=function v(){for(;++u=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function nie(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function EF(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){nie(a,n,i,l,c,"next",f)}function c(f){nie(a,n,i,l,c,"throw",f)}l(void 0)})}}function Lft(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function iie(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function sie(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function lc(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){sie(a,n,i,l,c,"next",f)}function c(f){sie(a,n,i,l,c,"throw",f)}l(void 0)})}}function lie(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Gft(t){for(var e=1;ethis.opts.maxFileSize)){y.next=2;break}throw new Error("File is too big to store.");case 2:return y.next=4,this.getSize();case 4:if(a=y.sent,!(a>this.opts.maxTotalSize)){y.next=7;break}throw new Error("No space left");case 7:return y.next=9,Fo(this,Bt)[Bt];case 9:return l=y.sent,c=l.transaction([An],"readwrite"),f=c.objectStore(An).add({id:this.key(i.id),fileID:i.id,store:this.name,expires:Date.now()+this.opts.expires,data:i.data}),y.abrupt("return",IS(f));case 13:case"end":return y.stop()}},n,this)}));function r(n){return e.apply(this,arguments)}return r}()},{key:"delete",value:function(){var e=lc(fn().mark(function n(i){var a,l,c;return fn().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,Fo(this,Bt)[Bt];case 2:return a=d.sent,l=a.transaction([An],"readwrite"),c=l.objectStore(An).delete(this.key(i)),d.abrupt("return",IS(c));case 6:case"end":return d.stop()}},n,this)}));function r(n){return e.apply(this,arguments)}return r}()}],[{key:"cleanup",value:function(){var e=lc(fn().mark(function n(){var i,a,l,c;return fn().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,hie(fie);case 2:return i=d.sent,a=i.transaction([An],"readwrite"),l=a.objectStore(An),c=l.index("expires").openCursor(IDBKeyRange.upperBound(Date.now())),d.next=8,new Promise(function(y,m){c.onsuccess=function(g){var w=g.target.result;w?(w.delete(),w.continue()):y()},c.onerror=m});case 8:i.close();case 9:case"end":return d.stop()}},n)}));function r(){return e.apply(this,arguments)}return r}()}]),t}();gie.isSupported=Yft;var bie=gie;function Fm(t){"@babel/helpers - typeof";return Fm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fm(t)}function wie(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Jft(t){for(var e=1;e=0;--v){var h=this.tryEntries[v],b=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var S=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(S&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--u){var p=this.tryEntries[u];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),O}},catch:function(o){for(var u=this.tryEntries.length-1;u>=0;--u){var p=this.tryEntries[u];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,u,p){return this.delegate={iterator:K(o),resultName:u,nextLoc:p},this.method==="next"&&(this.arg=t),O}},e}function Eie(t,e,r,n,i,a,l){try{var c=t[a](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function ipt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var a=t.apply(e,r);function l(f){Eie(a,n,i,l,c,"next",f)}function c(f){Eie(a,n,i,l,c,"throw",f)}l(void 0)})}}function opt(t,e){return lpt(t)||spt(t,e)||upt(t,e)||apt()}function apt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function upt(t,e){if(t){if(typeof t=="string")return Tie(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Tie(t,e)}}function Tie(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?Promise.all([i.loadFileBlobsFromServiceWorker(),i.loadFileBlobsFromIndexedDB()]).then(function(a){var l=Cr(Cr({},a[0]),a[1]);i.onBlobsLoaded(l)}):i.uppy.log("[GoldenRetriever] No files need to be loaded, only restoring processing state...")},i.type="debugger",i.id=i.opts.id||"GoldenRetriever",i.MetaDataStore=new Lm({expires:i.opts.expires,storeName:r.getID()}),i.ServiceWorkerStore=null,i.opts.serviceWorker&&(i.ServiceWorkerStore=new uie({storeName:r.getID()})),i.IndexedDBStore=new bie(Cr(Cr({expires:i.opts.expires},i.opts.indexedDB||{}),{},{storeName:r.getID()})),i.saveFilesStateToLocalStorage=(0,kie.default)(i.saveFilesStateToLocalStorage.bind(Bp(i)),500,{leading:!0,trailing:!0}),i.restoreState=i.restoreState.bind(Bp(i)),i.loadFileBlobsFromServiceWorker=i.loadFileBlobsFromServiceWorker.bind(Bp(i)),i.loadFileBlobsFromIndexedDB=i.loadFileBlobsFromIndexedDB.bind(Bp(i)),i.onBlobsLoaded=i.onBlobsLoaded.bind(Bp(i)),i}return ppt(e,[{key:"restoreState",value:function(){var n=this.MetaDataStore.load();n&&(this.uppy.log("[GoldenRetriever] Recovered some state from Local Storage"),this.uppy.setState({currentUploads:n.currentUploads||{},files:n.files||{},recoveredState:n}),this.savedPluginData=n.pluginData)}},{key:"getWaitingFiles",value:function(){var n={};return this.uppy.getFiles().forEach(function(i){(!i.progress||!i.progress.uploadStarted)&&(n[i.id]=i)}),n}},{key:"getUploadingFiles",value:function(){var n=this,i={},a=this.uppy.getState(),l=a.currentUploads;if(l){var c=Object.keys(l);c.forEach(function(f){var d=l[f].fileIDs;d.forEach(function(y){i[y]=n.uppy.getFile(y)})})}return i}},{key:"saveFilesStateToLocalStorage",value:function(){var n=Cr(Cr({},this.getWaitingFiles()),this.getUploadingFiles()),i=Object.entries(n);if(i.length===0){this.uppy.getState().recoveredState!==null&&this.uppy.setState({recoveredState:null}),Lm.cleanup(this.uppy.opts.id);return}var a=Object.fromEntries(i.map(function(d){var y=opt(d,2),m=y[0],g=y[1];return[m,g.isRemote?Cr(Cr({},g),{},{isRestored:!0}):Cr(Cr({},g),{},{isRestored:!0,data:null,preview:null})]})),l={};this.uppy.emit("restore:get-data",function(d){Object.assign(l,d)});var c=this.uppy.getState(),f=c.currentUploads;this.MetaDataStore.save({currentUploads:f,files:a,pluginData:l})}},{key:"loadFileBlobsFromServiceWorker",value:function(){var n=this;return this.ServiceWorkerStore?this.ServiceWorkerStore.list().then(function(i){var a=Object.keys(i).length;return a>0?(n.uppy.log("[GoldenRetriever] Successfully recovered ".concat(a," blobs from Service Worker!")),i):(n.uppy.log("[GoldenRetriever] No blobs found in Service Worker, trying IndexedDB now..."),{})}).catch(function(i){return n.uppy.log("[GoldenRetriever] Failed to recover blobs from Service Worker","warning"),n.uppy.log(i),{}}):Promise.resolve({})}},{key:"loadFileBlobsFromIndexedDB",value:function(){var n=this;return this.IndexedDBStore.list().then(function(i){var a=Object.keys(i).length;return a>0?(n.uppy.log("[GoldenRetriever] Successfully recovered ".concat(a," blobs from IndexedDB!")),i):(n.uppy.log("[GoldenRetriever] No blobs found in IndexedDB"),{})}).catch(function(i){return n.uppy.log("[GoldenRetriever] Failed to recover blobs from IndexedDB","warning"),n.uppy.log(i),{}})}},{key:"onBlobsLoaded",value:function(n){var i=this,a=[],l=Cr({},this.uppy.getState().files);Object.keys(n).forEach(function(c){var f=i.uppy.getFile(c);if(!f){a.push(c);return}var d=n[c],y={data:d,isRestored:!0,isGhost:!1};l[c]=Cr(Cr({},f),y)}),Object.keys(l).forEach(function(c){l[c].data===null&&(l[c]=Cr(Cr({},l[c]),{},{isGhost:!0}))}),this.uppy.setState({files:l}),this.uppy.emit("restored",this.savedPluginData),a.length&&this.deleteBlobs(a).then(function(){i.uppy.log("[GoldenRetriever] Cleaned up ".concat(a.length," old files"))}).catch(function(c){i.uppy.log("[GoldenRetriever] Could not clean up ".concat(a.length," old files"),"warning"),i.uppy.log(c)})}},{key:"deleteBlobs",value:function(){var r=ipt(TF().mark(function i(a){var l=this;return TF().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,Promise.all(a.map(function(d){var y,m,g;return(y=(m=l.ServiceWorkerStore)==null?void 0:m.delete(d))!=null?y:(g=l.IndexedDBStore)==null?void 0:g.delete(d)}));case 2:case"end":return f.stop()}},i)}));function n(i){return r.apply(this,arguments)}return n}()},{key:"install",value:function(){this.restoreState(),this.restoreBlobs(),this.uppy.on("file-added",this.addBlobToStores),this.uppy.on("file-editor:complete",this.replaceBlobInStores),this.uppy.on("file-removed",this.removeBlobFromStores),this.uppy.on("state-update",this.saveFilesStateToLocalStorage),this.uppy.on("restore-confirmed",this.handleRestoreConfirmed),this.uppy.on("restore-canceled",this.abortRestore),this.uppy.on("complete",this.handleComplete)}},{key:"uninstall",value:function(){this.uppy.off("file-added",this.addBlobToStores),this.uppy.off("file-editor:complete",this.replaceBlobInStores),this.uppy.off("file-removed",this.removeBlobFromStores),this.uppy.off("state-update",this.saveFilesStateToLocalStorage),this.uppy.off("restore-confirmed",this.handleRestoreConfirmed),this.uppy.off("restore-canceled",this.abortRestore),this.uppy.off("complete",this.handleComplete)}}]),e}(ht);xF.VERSION=mpt.version;function $p(t){"@babel/helpers - typeof";return $p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$p(t)}function jie(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Gp(t){for(var e=1;e0&&Ei[0]<4?1:+(Ei[0]+Ei[1]));!Vm&&$S&&(Ei=$S.match(/Edge\/(\d+)/),(!Ei||Ei[1]>=74)&&(Ei=$S.match(/Chrome\/(\d+)/),Ei&&(Vm=+Ei[1])));wL.exports=Vm});var ms=B(function(mht,SL){var OL=Ba(),Doe=le();SL.exports=!!Object.getOwnPropertySymbols&&!Doe(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&OL&&OL<41})});var HS=B(function(ght,_L){function zS(t){"@babel/helpers - typeof";return zS=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zS(t)}var Moe=ms();_L.exports=Moe&&!Symbol.sham&&zS(Symbol.iterator)=="symbol"});var Ga=B(function(bht,PL){function WS(t){"@babel/helpers - typeof";return WS=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},WS(t)}var Uoe=Oe(),Boe=ke(),Goe=zr(),$oe=HS(),zoe=Object;PL.exports=$oe?function(t){return WS(t)=="symbol"}:function(t){var e=Uoe("Symbol");return Boe(e)&&Goe(e.prototype,zoe(t))}});var $a=B(function(wht,EL){var Hoe=String;EL.exports=function(t){try{return Hoe(t)}catch(e){return"Object"}}});var ge=B(function(Oht,TL){var Woe=ke(),Voe=$a(),Koe=TypeError;TL.exports=function(t){if(Woe(t))return t;throw Koe(Voe(t)+" is not a function")}});var ir=B(function(Sht,AL){var Yoe=ge();AL.exports=function(t,e){var r=t[e];return r==null?void 0:Yoe(r)}});var XS=B(function(_ht,xL){var VS=fe(),KS=ke(),YS=Ne(),Xoe=TypeError;xL.exports=function(t,e){var r,n;if(e==="string"&&KS(r=t.toString)&&!YS(n=VS(r,t))||KS(r=t.valueOf)&&!YS(n=VS(r,t))||e!=="string"&&KS(r=t.toString)&&!YS(n=VS(r,t)))return n;throw Xoe("Can't convert object to primitive value")}});var gt=B(function(Pht,RL){RL.exports=!1});var Km=B(function(Eht,kL){var IL=be(),Qoe=Object.defineProperty;kL.exports=function(t,e){try{Qoe(IL,t,{value:e,configurable:!0,writable:!0})}catch(r){IL[t]=e}return e}});var Yp=B(function(Tht,qL){var Joe=be(),Zoe=Km(),jL="__core-js_shared__",eae=Joe[jL]||Zoe(jL,{});qL.exports=eae});var za=B(function(Aht,LL){var tae=gt(),FL=Yp();(LL.exports=function(t,e){return FL[t]||(FL[t]=e!==void 0?e:{})})("versions",[]).push({version:"3.24.1",mode:tae?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"})});var $e=B(function(xht,CL){var rae=zt(),nae=Object;CL.exports=function(t){return nae(rae(t))}});var Ue=B(function(Rht,NL){var iae=ce(),oae=$e(),aae=iae({}.hasOwnProperty);NL.exports=Object.hasOwn||function(e,r){return aae(oae(e),r)}});var gs=B(function(Iht,DL){var uae=ce(),sae=0,lae=Math.random(),cae=uae(1 .toString);DL.exports=function(t){return"Symbol("+(t===void 0?"":t)+")_"+cae(++sae+lae,36)}});var _e=B(function(kht,$L){var fae=be(),pae=za(),ML=Ue(),hae=gs(),UL=ms(),GL=HS(),vc=pae("wks"),bs=fae.Symbol,BL=bs&&bs.for,dae=GL?bs:bs&&bs.withoutSetter||hae;$L.exports=function(t){if(!ML(vc,t)||!(UL||typeof vc[t]=="string")){var e="Symbol."+t;UL&&ML(bs,t)?vc[t]=bs[t]:GL&&BL?vc[t]=BL(e):vc[t]=dae(e)}return vc[t]}});var Ym=B(function(jht,WL){var vae=fe(),zL=Ne(),HL=Ga(),yae=ir(),mae=XS(),gae=_e(),bae=TypeError,wae=gae("toPrimitive");WL.exports=function(t,e){if(!zL(t)||HL(t))return t;var r=yae(t,wae),n;if(r){if(e===void 0&&(e="default"),n=vae(r,t,e),!zL(n)||HL(n))return n;throw bae("Can't convert object to primitive value")}return e===void 0&&(e="number"),mae(t,e)}});var no=B(function(qht,VL){var Oae=Ym(),Sae=Ga();VL.exports=function(t){var e=Oae(t,"string");return Sae(e)?e:e+""}});var Xp=B(function(Fht,YL){var _ae=be(),KL=Ne(),QS=_ae.document,Pae=KL(QS)&&KL(QS.createElement);YL.exports=function(t){return Pae?QS.createElement(t):{}}});var JS=B(function(Lht,XL){var Eae=xe(),Tae=le(),Aae=Xp();XL.exports=!Eae&&!Tae(function(){return Object.defineProperty(Aae("div"),"a",{get:function(){return 7}}).a!=7})});var Pr=B(function(JL){var xae=xe(),Rae=fe(),Iae=Kp(),kae=Rn(),jae=Ht(),qae=no(),Fae=Ue(),Lae=JS(),QL=Object.getOwnPropertyDescriptor;JL.f=xae?QL:function(e,r){if(e=jae(e),r=qae(r),Lae)try{return QL(e,r)}catch(n){}if(Fae(e,r))return kae(!Rae(Iae.f,e,r),e[r])}});var ZS=B(function(Nht,ZL){var Cae=xe(),Nae=le();ZL.exports=Cae&&Nae(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})});var ie=B(function(Dht,eC){var Dae=Ne(),Mae=String,Uae=TypeError;eC.exports=function(t){if(Dae(t))return t;throw Uae(Mae(t)+" is not an object")}});var it=B(function(rC){var Bae=xe(),Gae=JS(),$ae=ZS(),Xm=ie(),tC=no(),zae=TypeError,e1=Object.defineProperty,Hae=Object.getOwnPropertyDescriptor,t1="enumerable",r1="configurable",n1="writable";rC.f=Bae?$ae?function(e,r,n){if(Xm(e),r=tC(r),Xm(n),typeof e=="function"&&r==="prototype"&&"value"in n&&n1 in n&&!n[n1]){var i=Hae(e,r);i&&i[n1]&&(e[r]=n.value,n={configurable:r1 in n?n[r1]:i[r1],enumerable:t1 in n?n[t1]:i[t1],writable:!1})}return e1(e,r,n)}:e1:function(e,r,n){if(Xm(e),r=tC(r),Xm(n),Gae)try{return e1(e,r,n)}catch(i){}if("get"in n||"set"in n)throw zae("Accessors not supported");return"value"in n&&(e[r]=n.value),e}});var or=B(function(Uht,nC){var Wae=xe(),Vae=it(),Kae=Rn();nC.exports=Wae?function(t,e,r){return Vae.f(t,e,Kae(1,r))}:function(t,e,r){return t[e]=r,t}});var ws=B(function(Bht,oC){var i1=xe(),Yae=Ue(),iC=Function.prototype,Xae=i1&&Object.getOwnPropertyDescriptor,o1=Yae(iC,"name"),Qae=o1&&function(){}.name==="something",Jae=o1&&(!i1||i1&&Xae(iC,"name").configurable);oC.exports={EXISTS:o1,PROPER:Qae,CONFIGURABLE:Jae}});var yc=B(function(Ght,aC){var Zae=ce(),eue=ke(),a1=Yp(),tue=Zae(Function.toString);eue(a1.inspectSource)||(a1.inspectSource=function(t){return tue(t)});aC.exports=a1.inspectSource});var u1=B(function($ht,sC){var rue=be(),nue=ke(),iue=yc(),uC=rue.WeakMap;sC.exports=nue(uC)&&/native code/.test(iue(uC))});var Qp=B(function(zht,cC){var oue=za(),aue=gs(),lC=oue("keys");cC.exports=function(t){return lC[t]||(lC[t]=aue(t))}});var mc=B(function(Hht,fC){fC.exports={}});var at=B(function(Wht,yC){var uue=u1(),vC=be(),s1=ce(),sue=Ne(),lue=or(),l1=Ue(),c1=Yp(),cue=Qp(),fue=mc(),pC="Object already initialized",p1=vC.TypeError,pue=vC.WeakMap,Qm,Jp,Jm,hue=function(e){return Jm(e)?Jp(e):Qm(e,{})},due=function(e){return function(r){var n;if(!sue(r)||(n=Jp(r)).type!==e)throw p1("Incompatible receiver, "+e+" required");return n}};uue||c1.state?(Ha=c1.state||(c1.state=new pue),hC=s1(Ha.get),f1=s1(Ha.has),dC=s1(Ha.set),Qm=function(e,r){if(f1(Ha,e))throw new p1(pC);return r.facade=e,dC(Ha,e,r),r},Jp=function(e){return hC(Ha,e)||{}},Jm=function(e){return f1(Ha,e)}):(Os=cue("state"),fue[Os]=!0,Qm=function(e,r){if(l1(e,Os))throw new p1(pC);return r.facade=e,lue(e,Os,r),r},Jp=function(e){return l1(e,Os)?e[Os]:{}},Jm=function(e){return l1(e,Os)});var Ha,hC,f1,dC,Os;yC.exports={set:Qm,get:Jp,has:Jm,enforce:hue,getterFor:due}});var tg=B(function(Vht,gC){var vue=le(),yue=ke(),Zm=Ue(),h1=xe(),mue=ws().CONFIGURABLE,gue=yc(),mC=at(),bue=mC.enforce,wue=mC.get,eg=Object.defineProperty,Oue=h1&&!vue(function(){return eg(function(){},"length",{value:8}).length!==8}),Sue=String(String).split("String"),_ue=gC.exports=function(t,e,r){String(e).slice(0,7)==="Symbol("&&(e="["+String(e).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!Zm(t,"name")||mue&&t.name!==e)&&(h1?eg(t,"name",{value:e,configurable:!0}):t.name=e),Oue&&r&&Zm(r,"arity")&&t.length!==r.arity&&eg(t,"length",{value:r.arity});try{r&&Zm(r,"constructor")&&r.constructor?h1&&eg(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(i){}var n=bue(t);return Zm(n,"source")||(n.source=Sue.join(typeof e=="string"?e:"")),t};Function.prototype.toString=_ue(function(){return yue(this)&&wue(this).source||gue(this)},"toString")});var bt=B(function(Kht,bC){var Pue=ke(),Eue=it(),Tue=tg(),Aue=Km();bC.exports=function(t,e,r,n){n||(n={});var i=n.enumerable,u=n.name!==void 0?n.name:e;if(Pue(r)&&Tue(r,u,n),n.global)i?t[e]=r:Aue(e,r);else{try{n.unsafe?t[e]&&(i=!0):delete t[e]}catch(l){}i?t[e]=r:Eue.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t}});var d1=B(function(Yht,wC){var xue=Math.ceil,Rue=Math.floor;wC.exports=Math.trunc||function(e){var r=+e;return(r>0?Rue:xue)(r)}});var Pt=B(function(Xht,OC){var Iue=d1();OC.exports=function(t){var e=+t;return e!==e||e===0?0:Iue(e)}});var Ti=B(function(Qht,SC){var kue=Pt(),jue=Math.max,que=Math.min;SC.exports=function(t,e){var r=kue(t);return r<0?jue(r+e,0):que(r,e)}});var In=B(function(Jht,_C){var Fue=Pt(),Lue=Math.min;_C.exports=function(t){return t>0?Lue(Fue(t),9007199254740991):0}});var ze=B(function(Zht,PC){var Cue=In();PC.exports=function(t){return Cue(t.length)}});var Zp=B(function(edt,TC){var Nue=Ht(),Due=Ti(),Mue=ze(),EC=function(e){return function(r,n,i){var u=Nue(r),l=Mue(u),c=Due(i,l),f;if(e&&n!=n){for(;l>c;)if(f=u[c++],f!=f)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};TC.exports={includes:EC(!0),indexOf:EC(!1)}});var y1=B(function(tdt,xC){var Uue=ce(),v1=Ue(),Bue=Ht(),Gue=Zp().indexOf,$ue=mc(),AC=Uue([].push);xC.exports=function(t,e){var r=Bue(t),n=0,i=[],u;for(u in r)!v1($ue,u)&&v1(r,u)&&AC(i,u);for(;e.length>n;)v1(r,u=e[n++])&&(~Gue(i,u)||AC(i,u));return i}});var rg=B(function(rdt,RC){RC.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Bo=B(function(IC){var zue=y1(),Hue=rg(),Wue=Hue.concat("length","prototype");IC.f=Object.getOwnPropertyNames||function(e){return zue(e,Wue)}});var eh=B(function(kC){kC.f=Object.getOwnPropertySymbols});var ng=B(function(odt,jC){var Vue=Oe(),Kue=ce(),Yue=Bo(),Xue=eh(),Que=ie(),Jue=Kue([].concat);jC.exports=Vue("Reflect","ownKeys")||function(e){var r=Yue.f(Que(e)),n=Xue.f;return n?Jue(r,n(e)):r}});var th=B(function(adt,FC){var qC=Ue(),Zue=ng(),ese=Pr(),tse=it();FC.exports=function(t,e,r){for(var n=Zue(e),i=tse.f,u=ese.f,l=0;ll;)Ise.f(e,c=i[l++],n[c]);return e}});var g1=B(function(ddt,$C){var Fse=Oe();$C.exports=Fse("document","documentElement")});var Wt=B(function(vdt,XC){var Lse=ie(),Cse=ug(),zC=rg(),Nse=mc(),Dse=g1(),Mse=Xp(),Use=Qp(),HC=">",WC="<",w1="prototype",O1="script",KC=Use("IE_PROTO"),b1=function(){},YC=function(e){return WC+O1+HC+e+WC+"/"+O1+HC},VC=function(e){e.write(YC("")),e.close();var r=e.parentWindow.Object;return e=null,r},Bse=function(){var e=Mse("iframe"),r="java"+O1+":",n;return e.style.display="none",Dse.appendChild(e),e.src=String(r),n=e.contentWindow.document,n.open(),n.write(YC("document.F=Object")),n.close(),n.F},sg,lg=function(){try{sg=new ActiveXObject("htmlfile")}catch(r){}lg=typeof document!="undefined"?document.domain&&sg?VC(sg):Bse():VC(sg);for(var e=zC.length;e--;)delete lg[w1][zC[e]];return lg()};Nse[KC]=!0;XC.exports=Object.create||function(e,r){var n;return e!==null?(b1[w1]=Lse(e),n=new b1,b1[w1]=null,n[KC]=e):n=lg(),r===void 0?n:Cse.f(n,r)}});var io=B(function(ydt,QC){"use strict";var Gse=no(),$se=it(),zse=Rn();QC.exports=function(t,e,r){var n=Gse(e);n in t?$se.f(t,n,zse(0,r)):t[n]=r}});var bc=B(function(mdt,ZC){var JC=Ti(),Hse=ze(),Wse=io(),Vse=Array,Kse=Math.max;ZC.exports=function(t,e,r){for(var n=Hse(t),i=JC(e,n),u=JC(r===void 0?n:r,n),l=Vse(Kse(u-i,0)),c=0;ix;x++)if((f||x in E)&&(k=E[x],C=P(k,x,O),e))if(r)A[x]=C;else if(C)switch(e){case 3:return!0;case 5:return k;case 6:return x;case 2:PN(A,k)}else switch(e){case 4:return!1;case 7:PN(A,k)}return l?-1:i||u?u:A}};EN.exports={forEach:Wa(0),map:Wa(1),filter:Wa(2),some:Wa(3),every:Wa(4),find:Wa(5),findIndex:Wa(6),filterReject:Wa(7)}});var BN=B(function(){"use strict";var fg=G(),F1=be(),L1=fe(),Fle=ce(),Lle=gt(),wc=xe(),Oc=ms(),Cle=le(),mr=Ue(),Nle=zr(),R1=ie(),pg=Ht(),C1=no(),Dle=He(),I1=Rn(),oh=Wt(),xN=Ss(),Mle=Bo(),RN=cg(),Ule=eh(),IN=Pr(),kN=it(),Ble=ug(),jN=Kp(),T1=bt(),N1=za(),Gle=Qp(),qN=mc(),TN=gs(),$le=_e(),zle=_1(),Hle=Et(),Wle=P1(),Vle=hn(),FN=at(),hg=Vt().forEach,dn=Gle("hidden"),dg="Symbol",ah="prototype",Kle=FN.set,AN=FN.getterFor(dg),ii=Object[ah],Es=F1.Symbol,ih=Es&&Es[ah],Yle=F1.TypeError,A1=F1.QObject,LN=IN.f,Va=kN.f,CN=RN.f,Xle=jN.f,NN=Fle([].push),Go=N1("symbols"),uh=N1("op-symbols"),Qle=N1("wks"),k1=!A1||!A1[ah]||!A1[ah].findChild,j1=wc&&Cle(function(){return oh(Va({},"a",{get:function(){return Va(this,"a",{value:7}).a}})).a!=7})?function(t,e,r){var n=LN(ii,e);n&&delete ii[e],Va(t,e,r),n&&t!==ii&&Va(ii,e,n)}:Va,x1=function(e,r){var n=Go[e]=oh(ih);return Kle(n,{type:dg,tag:e,description:r}),wc||(n.description=r),n},vg=function(e,r,n){e===ii&&vg(uh,r,n),R1(e);var i=C1(r);return R1(n),mr(Go,i)?(n.enumerable?(mr(e,dn)&&e[dn][i]&&(e[dn][i]=!1),n=oh(n,{enumerable:I1(0,!1)})):(mr(e,dn)||Va(e,dn,I1(1,{})),e[dn][i]=!0),j1(e,i,n)):Va(e,i,n)},D1=function(e,r){R1(e);var n=pg(r),i=xN(n).concat(UN(n));return hg(i,function(u){(!wc||L1(q1,n,u))&&vg(e,u,n[u])}),e},Jle=function(e,r){return r===void 0?oh(e):D1(oh(e),r)},q1=function(e){var r=C1(e),n=L1(Xle,this,r);return this===ii&&mr(Go,r)&&!mr(uh,r)?!1:n||!mr(this,r)||!mr(Go,r)||mr(this,dn)&&this[dn][r]?n:!0},DN=function(e,r){var n=pg(e),i=C1(r);if(!(n===ii&&mr(Go,i)&&!mr(uh,i))){var u=LN(n,i);return u&&mr(Go,i)&&!(mr(n,dn)&&n[dn][i])&&(u.enumerable=!0),u}},MN=function(e){var r=CN(pg(e)),n=[];return hg(r,function(i){!mr(Go,i)&&!mr(qN,i)&&NN(n,i)}),n},UN=function(e){var r=e===ii,n=CN(r?uh:pg(e)),i=[];return hg(n,function(u){mr(Go,u)&&(!r||mr(ii,u))&&NN(i,Go[u])}),i};Oc||(Es=function(){if(Nle(ih,this))throw Yle("Symbol is not a constructor");var e=!arguments.length||arguments[0]===void 0?void 0:Dle(arguments[0]),r=TN(e),n=function i(u){this===ii&&L1(i,uh,u),mr(this,dn)&&mr(this[dn],r)&&(this[dn][r]=!1),j1(this,r,I1(1,u))};return wc&&k1&&j1(ii,r,{configurable:!0,set:n}),x1(r,e)},ih=Es[ah],T1(ih,"toString",function(){return AN(this).tag}),T1(Es,"withoutSetter",function(t){return x1(TN(t),t)}),jN.f=q1,kN.f=vg,Ble.f=D1,IN.f=DN,Mle.f=RN.f=MN,Ule.f=UN,zle.f=function(t){return x1($le(t),t)},wc&&(Va(ih,"description",{configurable:!0,get:function(){return AN(this).description}}),Lle||T1(ii,"propertyIsEnumerable",q1,{unsafe:!0})));fg({global:!0,constructor:!0,wrap:!0,forced:!Oc,sham:!Oc},{Symbol:Es});hg(xN(Qle),function(t){Hle(t)});fg({target:dg,stat:!0,forced:!Oc},{useSetter:function(){k1=!0},useSimple:function(){k1=!1}});fg({target:"Object",stat:!0,forced:!Oc,sham:!wc},{create:Jle,defineProperty:vg,defineProperties:D1,getOwnPropertyDescriptor:DN});fg({target:"Object",stat:!0,forced:!Oc},{getOwnPropertyNames:MN});Wle();Vle(Es,dg);qN[dn]=!0});var M1=B(function(jdt,GN){var Zle=ms();GN.exports=Zle&&!!Symbol.for&&!!Symbol.keyFor});var zN=B(function(){var ece=G(),tce=Oe(),rce=Ue(),nce=He(),$N=za(),ice=M1(),U1=$N("string-to-symbol-registry"),oce=$N("symbol-to-string-registry");ece({target:"Symbol",stat:!0,forced:!ice},{for:function(e){var r=nce(e);if(rce(U1,r))return U1[r];var n=tce("Symbol")(r);return U1[r]=n,oce[n]=r,n}})});var WN=B(function(){var ace=G(),uce=Ue(),sce=Ga(),lce=$a(),cce=za(),fce=M1(),HN=cce("symbol-to-string-registry");ace({target:"Symbol",stat:!0,forced:!fce},{keyFor:function(e){if(!sce(e))throw TypeError(lce(e)+" is not a symbol");if(uce(HN,e))return HN[e]}})});var vn=B(function(Ndt,XN){function B1(t){"@babel/helpers - typeof";return B1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},B1(t)}var pce=dc(),YN=Function.prototype,VN=YN.apply,KN=YN.call;XN.exports=(typeof Reflect=="undefined"?"undefined":B1(Reflect))=="object"&&Reflect.apply||(pce?KN.bind(VN):function(){return KN.apply(VN,arguments)})});var Ka=B(function(Ddt,QN){var hce=ce();QN.exports=hce([].slice)});var G1=B(function(){var dce=G(),iD=Oe(),oD=vn(),vce=fe(),sh=ce(),aD=le(),yce=_s(),mce=ke(),gce=Ne(),JN=Ga(),uD=Ka(),bce=ms(),Ya=iD("JSON","stringify"),yg=sh(/./.exec),ZN=sh("".charAt),wce=sh("".charCodeAt),Oce=sh("".replace),Sce=sh(1 .toString),_ce=/[\uD800-\uDFFF]/g,eD=/^[\uD800-\uDBFF]$/,tD=/^[\uDC00-\uDFFF]$/,rD=!bce||aD(function(){var t=iD("Symbol")();return Ya([t])!="[null]"||Ya({a:t})!="{}"||Ya(Object(t))!="{}"}),nD=aD(function(){return Ya("\uDF06\uD834")!=='"\\udf06\\ud834"'||Ya("\uDEAD")!=='"\\udead"'}),Pce=function(e,r){var n=uD(arguments),i=r;if(!(!gce(r)&&e===void 0||JN(e)))return yce(r)||(r=function(l,c){if(mce(i)&&(c=vce(i,this,l,c)),!JN(c))return c}),n[1]=r,oD(Ya,null,n)},Ece=function(e,r,n){var i=ZN(n,r-1),u=ZN(n,r+1);return yg(eD,e)&&!yg(tD,u)||yg(tD,e)&&!yg(eD,i)?"\\u"+Sce(wce(e,0),16):e};Ya&&dce({target:"JSON",stat:!0,arity:3,forced:rD||nD},{stringify:function(e,r,n){var i=uD(arguments),u=oD(rD?Pce:Ya,null,i);return nD&&typeof u=="string"?Oce(u,_ce,Ece):u}})});var lD=B(function(){var Tce=G(),Ace=ms(),xce=le(),sD=eh(),Rce=$e(),Ice=!Ace||xce(function(){sD.f(1)});Tce({target:"Object",stat:!0,forced:Ice},{getOwnPropertySymbols:function(e){var r=sD.f;return r?r(Rce(e)):[]}})});var H1=B(function($dt,yD){function z1(t){"@babel/helpers - typeof";return z1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z1(t)}var rfe=ke(),nfe=String,ife=TypeError;yD.exports=function(t){if(z1(t)=="object"||rfe(t))return t;throw ife("Can't set "+nfe(t)+" as a prototype")}});var oo=B(function(zdt,mD){var ofe=ce(),afe=ie(),ufe=H1();mD.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,e={},r;try{r=ofe(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),r(e,[]),t=e instanceof Array}catch(n){}return function(i,u){return afe(i),ufe(u),t?r(i,u):i.__proto__=u,i}}():void 0)});var W1=B(function(Hdt,gD){var sfe=it().f;gD.exports=function(t,e,r){r in t||sfe(t,r,{configurable:!0,get:function(){return e[r]},set:function(i){e[r]=i}})}});var As=B(function(Wdt,wD){var lfe=ke(),cfe=Ne(),bD=oo();wD.exports=function(t,e,r){var n,i;return bD&&lfe(n=e.constructor)&&n!==r&&cfe(i=n.prototype)&&i!==r.prototype&&bD(t,i),t}});var Sc=B(function(Vdt,OD){var ffe=He();OD.exports=function(t,e){return t===void 0?arguments.length<2?"":e:ffe(t)}});var V1=B(function(Kdt,SD){var pfe=Ne(),hfe=or();SD.exports=function(t,e){pfe(e)&&"cause"in e&&hfe(t,"cause",e.cause)}});var ch=B(function(Ydt,ED){var dfe=ce(),_D=Error,vfe=dfe("".replace),yfe=function(t){return String(_D(t).stack)}("zxcasd"),PD=/\n\s*at [^:]*:[^\n]*/,mfe=PD.test(yfe);ED.exports=function(t,e){if(mfe&&typeof t=="string"&&!_D.prepareStackTrace)for(;e--;)t=vfe(t,PD,"");return t}});var gg=B(function(Xdt,TD){var gfe=le(),bfe=Rn();TD.exports=!gfe(function(){var t=Error("a");return"stack"in t?(Object.defineProperty(t,"stack",bfe(1,7)),t.stack!==7):!0})});var Y1=B(function(Qdt,jD){"use strict";var AD=Oe(),wfe=Ue(),K1=or(),Ofe=zr(),xD=oo(),RD=th(),ID=W1(),Sfe=As(),_fe=Sc(),Pfe=V1(),Efe=ch(),Tfe=gg(),Afe=xe(),kD=gt();jD.exports=function(t,e,r,n){var i="stackTraceLimit",u=n?2:1,l=t.split("."),c=l[l.length-1],f=AD.apply(null,l);if(f){var d=f.prototype;if(!kD&&wfe(d,"cause")&&delete d.cause,!r)return f;var y=AD("Error"),m=e(function(b,O){var E=_fe(n?O:b,void 0),P=n?new f(b):new f;return E!==void 0&&K1(P,"message",E),Tfe&&K1(P,"stack",Efe(P.stack,2)),this&&Ofe(d,this)&&Sfe(P,this,m),arguments.length>u&&Pfe(P,arguments[u]),P});if(m.prototype=d,c!=="Error"?xD?xD(m,y):RD(m,y,{name:!0}):Afe&&i in f&&(ID(m,f,i),ID(m,f,"prepareStackTrace")),RD(m,f),!kD)try{d.name!==c&&K1(d,"name",c),d.constructor=m}catch(b){}return m}}});var wg=B(function(Jdt,CD){var Rfe=le();CD.exports=!Rfe(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})});var Er=B(function(Zdt,DD){var Ife=Ue(),kfe=ke(),jfe=$e(),qfe=Qp(),Ffe=wg(),ND=qfe("IE_PROTO"),J1=Object,Lfe=J1.prototype;DD.exports=Ffe?J1.getPrototypeOf:function(t){var e=jfe(t);if(Ife(e,ND))return e[ND];var r=e.constructor;return kfe(r)&&e instanceof r?r.prototype:e instanceof J1?Lfe:null}});var _c=B(function(evt,MD){MD.exports={}});var Og=B(function(tvt,UD){var Cfe=_e(),Nfe=_c(),Dfe=Cfe("iterator"),Mfe=Array.prototype;UD.exports=function(t){return t!==void 0&&(Nfe.Array===t||Mfe[Dfe]===t)}});var uo=B(function(rvt,GD){var Ufe=Ai(),BD=ir(),Bfe=_c(),Gfe=_e(),$fe=Gfe("iterator");GD.exports=function(t){if(t!=null)return BD(t,$fe)||BD(t,"@@iterator")||Bfe[Ufe(t)]}});var oi=B(function(nvt,$D){var zfe=fe(),Hfe=ge(),Wfe=ie(),Vfe=$a(),Kfe=uo(),Yfe=TypeError;$D.exports=function(t,e){var r=arguments.length<2?Kfe(t):e;if(Hfe(r))return Wfe(zfe(r,t));throw Yfe(Vfe(t)+" is not iterable")}});var Rs=B(function(ivt,HD){var Xfe=fe(),zD=ie(),Qfe=ir();HD.exports=function(t,e,r){var n,i;zD(t);try{if(n=Qfe(t,"return"),!n){if(e==="throw")throw r;return r}n=Xfe(n,t)}catch(u){i=!0,n=u}if(e==="throw")throw r;if(i)throw n;return zD(n),r}});var Ae=B(function(ovt,YD){function Z1(t){"@babel/helpers - typeof";return Z1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Z1(t)}var Jfe=ut(),Zfe=fe(),epe=ie(),tpe=$a(),rpe=Og(),npe=ze(),WD=zr(),ipe=oi(),ope=uo(),VD=Rs(),ape=TypeError,Sg=function(e,r){this.stopped=e,this.result=r},KD=Sg.prototype;YD.exports=function(t,e,r){var n=r&&r.that,i=!!(r&&r.AS_ENTRIES),u=!!(r&&r.IS_RECORD),l=!!(r&&r.IS_ITERATOR),c=!!(r&&r.INTERRUPTED),f=Jfe(e,n),d,y,m,b,O,E,P,S=function(A){return d&&VD(d,"normal",A),new Sg(!0,A)},x=function(A){return i?(epe(A),c?f(A[0],A[1],S):f(A[0],A[1])):c?f(A,S):f(A)};if(u)d=t.iterator;else if(l)d=t;else{if(y=ope(t),!y)throw ape(tpe(t)+" is not iterable");if(rpe(y)){for(m=0,b=npe(t);b>m;m++)if(O=x(t[m]),O&&WD(KD,O))return O;return new Sg(!1)}d=ipe(t,y)}for(E=u?t.next:d.next;!(P=Zfe(E,d)).done;){try{O=x(P.value)}catch(R){VD(d,"throw",R)}if(Z1(O)=="object"&&O&&WD(KD,O))return O}return new Sg(!1)}});var QD=B(function(){"use strict";var upe=G(),spe=zr(),lpe=Er(),Pg=oo(),cpe=th(),XD=Wt(),_g=or(),e_=Rn(),fpe=ch(),ppe=V1(),hpe=Ae(),dpe=Sc(),vpe=_e(),ype=gg(),mpe=vpe("toStringTag"),Eg=Error,gpe=[].push,fh=function(e,r){var n=arguments.length>2?arguments[2]:void 0,i=spe(t_,this),u;Pg?u=Pg(new Eg,i?lpe(this):t_):(u=i?this:XD(t_),_g(u,mpe,"Error")),r!==void 0&&_g(u,"message",dpe(r)),ype&&_g(u,"stack",fpe(u.stack,1)),ppe(u,n);var l=[];return hpe(e,gpe,{that:l}),_g(u,"errors",l),u};Pg?Pg(fh,Eg):cpe(fh,Eg,{name:!0});var t_=fh.prototype=XD(Eg.prototype,{constructor:e_(1,fh),message:e_(1,""),name:e_(1,"AggregateError")});upe({global:!0,constructor:!0,arity:2},{AggregateError:fh})});var wt=B(function(svt,tM){var _pe=_e(),Ppe=Wt(),Epe=it().f,n_=_pe("unscopables"),i_=Array.prototype;i_[n_]==null&&Epe(i_,n_,{configurable:!0,value:Ppe(null)});tM.exports=function(t){i_[n_][t]=!0}});var Is=B(function(lvt,rM){var kpe=TypeError,jpe=9007199254740991;rM.exports=function(t){if(t>jpe)throw kpe("Maximum allowed index exceeded");return t}});var Pc=B(function(cvt,nM){var qpe=le(),Fpe=_e(),Lpe=Ba(),Cpe=Fpe("species");nM.exports=function(t){return Lpe>=51||!qpe(function(){var e=[],r=e.constructor={};return r[Cpe]=function(){return{foo:1}},e[t](Boolean).foo!==1})}});var Tg=B(function(fvt,sM){"use strict";var uM=$a(),Qpe=TypeError;sM.exports=function(t,e){if(!delete t[e])throw Qpe("Cannot delete property "+uM(e)+" of "+uM(t))}});var a_=B(function(pvt,lM){"use strict";var Jpe=$e(),o_=Ti(),Zpe=ze(),ehe=Tg(),the=Math.min;lM.exports=[].copyWithin||function(e,r){var n=Jpe(this),i=Zpe(n),u=o_(e,i),l=o_(r,i),c=arguments.length>2?arguments[2]:void 0,f=the((c===void 0?i:o_(c,i))-l,i-u),d=1;for(l0;)l in n?n[u]=n[l]:ehe(n,u),u+=d,l+=d;return n}});var Ag=B(function(hvt,fM){"use strict";var ohe=$e(),cM=Ti(),ahe=ze();fM.exports=function(e){for(var r=ohe(this),n=ahe(r),i=arguments.length,u=cM(i>1?arguments[1]:void 0,n),l=i>2?arguments[2]:void 0,c=l===void 0?n:cM(l,n);c>u;)r[u++]=e;return r}});var ph=B(function(dvt,vM){var whe=ut(),Ohe=Mo(),She=$e(),_he=ze(),dM=function(e){var r=e==1;return function(n,i,u){for(var l=She(n),c=Ohe(l),f=whe(i,u),d=_he(c),y,m;d-- >0;)if(y=c[d],m=f(y,d,l),m)switch(e){case 0:return y;case 1:return d}return r?-1:void 0}};vM.exports={findLast:dM(0),findLastIndex:dM(1)}});var l_=B(function(vvt,yM){"use strict";var Ihe=_s(),khe=ze(),jhe=Is(),qhe=ut(),Fhe=function t(e,r,n,i,u,l,c,f){for(var d=u,y=0,m=c?qhe(c,f):!1,b,O;y0&&Ihe(b)?(O=khe(b),d=t(e,r,b,O,d,l-1)-1):(jhe(d+1),e[d]=b),d++),y++;return d};yM.exports=Fhe});var xg=B(function(yvt,mM){var Vhe=ie(),Khe=Rs();mM.exports=function(t,e,r,n){try{return n?e(Vhe(r)[0],r[1]):e(r)}catch(i){Khe(t,"throw",i)}}});var c_=B(function(mvt,wM){"use strict";var Yhe=ut(),Xhe=fe(),Qhe=$e(),Jhe=xg(),Zhe=Og(),ede=xi(),tde=ze(),gM=io(),rde=oi(),nde=uo(),bM=Array;wM.exports=function(e){var r=Qhe(e),n=ede(this),i=arguments.length,u=i>1?arguments[1]:void 0,l=u!==void 0;l&&(u=Yhe(u,i>2?arguments[2]:void 0));var c=nde(r),f=0,d,y,m,b,O,E;if(c&&!(this===bM&&Zhe(c)))for(b=rde(r,c),O=b.next,y=n?new this:[];!(m=Xhe(O,b)).done;f++)E=l?Jhe(b,u,[m.value,f],!0):m.value,gM(y,f,E);else for(d=tde(r),y=n?new this(d):bM(d);d>f;f++)E=l?u(r[f],f):r[f],gM(y,f,E);return y.length=f,y}});var hh=B(function(gvt,PM){var ide=_e(),SM=ide("iterator"),_M=!1;try{OM=0,f_={next:function(){return{done:!!OM++}},return:function(){_M=!0}},f_[SM]=function(){return this},Array.from(f_,function(){throw 2})}catch(t){}var OM,f_;PM.exports=function(t,e){if(!e&&!_M)return!1;var r=!1;try{var n={};n[SM]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch(i){}return r}});var Ec=B(function(bvt,AM){"use strict";var dde=le(),vde=ke(),yde=Wt(),EM=Er(),mde=bt(),gde=_e(),bde=gt(),d_=gde("iterator"),TM=!1,zo,p_,h_;[].keys&&(h_=[].keys(),"next"in h_?(p_=EM(EM(h_)),p_!==Object.prototype&&(zo=p_)):TM=!0);var wde=zo==null||dde(function(){var t={};return zo[d_].call(t)!==t});wde?zo={}:bde&&(zo=yde(zo));vde(zo[d_])||mde(zo,d_,function(){return this});AM.exports={IteratorPrototype:zo,BUGGY_SAFARI_ITERATORS:TM}});var Xa=B(function(wvt,xM){"use strict";var Ode=Ec().IteratorPrototype,Sde=Wt(),_de=Rn(),Pde=hn(),Ede=_c(),Tde=function(){return this};xM.exports=function(t,e,r,n){var i=e+" Iterator";return t.prototype=Sde(Ode,{next:_de(+!n,r)}),Pde(t,i,!1,!0),Ede[i]=Tde,t}});var kg=B(function(Ovt,DM){"use strict";var Ade=G(),xde=fe(),Rg=gt(),CM=ws(),Rde=ke(),Ide=Xa(),RM=Er(),IM=oo(),kde=hn(),jde=or(),v_=bt(),qde=_e(),kM=_c(),NM=Ec(),Fde=CM.PROPER,Lde=CM.CONFIGURABLE,jM=NM.IteratorPrototype,Ig=NM.BUGGY_SAFARI_ITERATORS,dh=qde("iterator"),qM="keys",vh="values",FM="entries",LM=function(){return this};DM.exports=function(t,e,r,n,i,u,l){Ide(r,e,n);var c=function(R){if(R===i&&b)return b;if(!Ig&&R in y)return y[R];switch(R){case qM:return function(){return new r(this,R)};case vh:return function(){return new r(this,R)};case FM:return function(){return new r(this,R)}}return function(){return new r(this)}},f=e+" Iterator",d=!1,y=t.prototype,m=y[dh]||y["@@iterator"]||i&&y[i],b=!Ig&&m||c(i),O=e=="Array"&&y.entries||m,E,P,S;if(O&&(E=RM(O.call(new t)),E!==Object.prototype&&E.next&&(!Rg&&RM(E)!==jM&&(IM?IM(E,jM):Rde(E[dh])||v_(E,dh,LM)),kde(E,f,!0,!0),Rg&&(kM[f]=LM))),Fde&&i==vh&&m&&m.name!==vh&&(!Rg&&Lde?jde(y,"name",vh):(d=!0,b=function(){return xde(m,this)})),i)if(P={values:c(vh),keys:u?b:c(qM),entries:c(FM)},l)for(S in P)(Ig||d||!(S in y))&&v_(y,S,P[S]);else Ade({target:e,proto:!0,forced:Ig||d},P);return(!Rg||l)&&y[dh]!==b&&v_(y,dh,b,{name:i}),kM[e]=b,P}});var yh=B(function(Svt,$M){"use strict";var Cde=Ht(),y_=wt(),MM=_c(),BM=at(),Nde=it().f,Dde=kg(),Mde=gt(),Ude=xe(),GM="Array Iterator",Bde=BM.set,Gde=BM.getterFor(GM);$M.exports=Dde(Array,"Array",function(t,e){Bde(this,{type:GM,target:Cde(t),index:0,kind:e})},function(){var t=Gde(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):r=="keys"?{value:n,done:!1}:r=="values"?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}},"values");var UM=MM.Arguments=MM.Array;y_("keys");y_("values");y_("entries");if(!Mde&&Ude&&UM.name!=="values")try{Nde(UM,"name",{value:"values"})}catch(t){}});var ks=B(function(_vt,zM){"use strict";var $de=le();zM.exports=function(t,e){var r=[][t];return!!r&&$de(function(){r.call(null,e||function(){return 1},1)})}});var jg=B(function(Pvt,YM){var KM=bc(),Tve=Math.floor,Ave=function t(e,r){var n=e.length,i=Tve(n/2);return n<8?xve(e,r):Rve(e,t(KM(e,0,i),r),t(KM(e,i),r),r)},xve=function(e,r){for(var n=e.length,i=1,u,l;i0;)e[l]=e[--l];l!==i++&&(e[l]=u)}return e},Rve=function(e,r,n,i){for(var u=r.length,l=n.length,c=0,f=0;c>1,f=r===23?Ho(2,-24)-Ho(2,-77):0,d=e<0||e===0&&1/e<0?1:0,y=0,m,b,O;for(e=bye(e),e!=e||e===1/0?(b=e!=e?1:0,m=l):(m=wye(Oye(e)/Sye),O=Ho(2,-m),e*O<1&&(m--,O*=2),m+c>=1?e+=f/O:e+=f*Ho(2,1-c),e*O>=2&&(m++,O/=2),m+c>=l?(b=0,m=l):m+c>=1?(b=(e*O-1)*Ho(2,r),m=m+c):(b=e*Ho(2,c-1)*Ho(2,r),m=0));r>=8;)i[y++]=b&255,b/=256,r-=8;for(m=m<0;)i[y++]=m&255,m/=256,u-=8;return i[--y]|=d*128,i},Pye=function(e,r){var n=e.length,i=n*8-r-1,u=(1<>1,c=i-7,f=n-1,d=e[f--],y=d&127,m;for(d>>=7;c>0;)y=y*256+e[f--],c-=8;for(m=y&(1<<-c)-1,y>>=-c,c+=r;c>0;)m=m*256+e[f--],c-=8;if(y===0)y=1-l;else{if(y===u)return m?NaN:d?-1/0:1/0;m=m+Ho(2,r),y=y-l}return(d?-1:1)*m*Ho(2,y-r)};d3.exports={pack:_ye,unpack:Pye}});var k_=B(function(Fvt,F3){"use strict";var Ug=be(),I_=ce(),P_=xe(),Eye=S_(),A3=ws(),y3=or(),m3=so(),E_=le(),Fg=yn(),Tye=Pt(),Aye=In(),Ng=__(),x3=v3(),xye=Er(),g3=oo(),Rye=Bo().f,Iye=it().f,kye=Ag(),jye=bc(),R3=hn(),I3=at(),qye=A3.PROPER,b3=A3.CONFIGURABLE,xc=I3.get,w3=I3.set,Dg="ArrayBuffer",k3="DataView",Ac="prototype",Fye="Wrong length",j3="Wrong index",Ri=Ug[Dg],kn=Ri,Tc=kn&&kn[Ac],lo=Ug[k3],js=lo&&lo[Ac],O3=Object.prototype,Lye=Ug.Array,Mg=Ug.RangeError,Cye=I_(kye),Nye=I_([].reverse),q3=x3.pack,S3=x3.unpack,_3=function(e){return[e&255]},P3=function(e){return[e&255,e>>8&255]},E3=function(e){return[e&255,e>>8&255,e>>16&255,e>>24&255]},T3=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},Dye=function(e){return q3(e,23,4)},Mye=function(e){return q3(e,52,8)},Lg=function(e,r){Iye(e[Ac],r,{get:function(){return xc(this)[r]}})},Za=function(e,r,n,i){var u=Ng(n),l=xc(e);if(u+r>l.byteLength)throw Mg(j3);var c=xc(l.buffer).bytes,f=u+l.byteOffset,d=jye(c,f,f+r);return i?d:Nye(d)},eu=function(e,r,n,i,u,l){var c=Ng(n),f=xc(e);if(c+r>f.byteLength)throw Mg(j3);for(var d=xc(f.buffer).bytes,y=c+f.byteOffset,m=i(+u),b=0;bi)throw Mg("Wrong offset");if(n=n===void 0?i-u:Aye(n),u+n>i)throw Mg(Fye);w3(this,{buffer:e,byteLength:n,byteOffset:u}),P_||(this.buffer=e,this.byteLength=n,this.byteOffset=u)},js=lo[Ac],P_&&(Lg(kn,"byteLength"),Lg(lo,"buffer"),Lg(lo,"byteLength"),Lg(lo,"byteOffset")),m3(js,{getInt8:function(e){return Za(this,1,e)[0]<<24>>24},getUint8:function(e){return Za(this,1,e)[0]},getInt16:function(e){var r=Za(this,2,e,arguments.length>1?arguments[1]:void 0);return(r[1]<<8|r[0])<<16>>16},getUint16:function(e){var r=Za(this,2,e,arguments.length>1?arguments[1]:void 0);return r[1]<<8|r[0]},getInt32:function(e){return T3(Za(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return T3(Za(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return S3(Za(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return S3(Za(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,r){eu(this,1,e,_3,r)},setUint8:function(e,r){eu(this,1,e,_3,r)},setInt16:function(e,r){eu(this,2,e,P3,r,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,r){eu(this,2,e,P3,r,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,r){eu(this,4,e,E3,r,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,r){eu(this,4,e,E3,r,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,r){eu(this,4,e,Dye,r,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,r){eu(this,8,e,Mye,r,arguments.length>2?arguments[2]:void 0)}});else{if(T_=qye&&Ri.name!==Dg,!E_(function(){Ri(1)})||!E_(function(){new Ri(-1)})||E_(function(){return new Ri,new Ri(1.5),new Ri(NaN),T_&&!b3})){for(kn=function(e){return Fg(this,Tc),new Ri(Ng(e))},kn[Ac]=Tc,A_=Rye(Ri),x_=0;A_.length>x_;)(Cg=A_[x_++])in kn||y3(kn,Cg,Ri[Cg]);Tc.constructor=kn}else T_&&b3&&y3(Ri,"name",Dg);g3&&xye(js)!==O3&&g3(js,O3),mh=new lo(new kn(2)),R_=I_(js.setInt8),mh.setInt8(0,2147483648),mh.setInt8(1,2147483649),(mh.getInt8(0)||!mh.getInt8(1))&&m3(js,{setInt8:function(e,r){R_(this,e,r<<24>>24)},setUint8:function(e,r){R_(this,e,r<<24>>24)}},{unsafe:!0})}var T_,A_,x_,Cg,mh,R_;R3(kn,Dg);R3(lo,k3);F3.exports={ArrayBuffer:kn,DataView:lo}});var N3=B(function(Lvt,C3){"use strict";var Hye=ie(),Wye=XS(),Vye=TypeError;C3.exports=function(t){if(Hye(this),t==="string"||t==="default")t="string";else if(t!=="number")throw Vye("Incorrect hint");return Wye(this,t)}});var Bg=B(function(Cvt,H3){var hme=le();H3.exports=hme(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})});var gh=B(function(Nvt,V3){var dme=le(),vme=Ne(),yme=pn(),W3=Bg(),Gg=Object.isExtensible,mme=dme(function(){Gg(1)});V3.exports=mme||W3?function(e){return!vme(e)||W3&&yme(e)=="ArrayBuffer"?!1:Gg?Gg(e):!0}:Gg});var Rc=B(function(Dvt,K3){var gme=le();K3.exports=!gme(function(){return Object.isExtensible(Object.preventExtensions({}))})});var tu=B(function(Mvt,Q3){function F_(t){"@babel/helpers - typeof";return F_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},F_(t)}var bme=G(),wme=ce(),Ome=mc(),Sme=Ne(),L_=Ue(),_me=it().f,Y3=Bo(),Pme=cg(),C_=gh(),Eme=gs(),Tme=Rc(),X3=!1,Wo=Eme("meta"),Ame=0,N_=function(e){_me(e,Wo,{value:{objectID:"O"+Ame++,weakData:{}}})},xme=function(e,r){if(!Sme(e))return F_(e)=="symbol"?e:(typeof e=="string"?"S":"P")+e;if(!L_(e,Wo)){if(!C_(e))return"F";if(!r)return"E";N_(e)}return e[Wo].objectID},Rme=function(e,r){if(!L_(e,Wo)){if(!C_(e))return!0;if(!r)return!1;N_(e)}return e[Wo].weakData},Ime=function(e){return Tme&&X3&&C_(e)&&!L_(e,Wo)&&N_(e),e},kme=function(){jme.enable=function(){},X3=!0;var e=Y3.f,r=wme([].splice),n={};n[Wo]=1,e(n).length&&(Y3.f=function(i){for(var u=e(i),l=0,c=u.length;l1?arguments[1]:void 0),E;E=E?E.next:b.first;)for(O(E.value,E.key,this);E&&E.removed;)E=E.previous},has:function(m){return!!d(this,m)}}),e5(l,n?{get:function(m){var b=d(this,m);return b&&b.value},set:function(m,b){return f(this,m===0?0:m,b)}}:{add:function(m){return f(this,m=m===0?0:m,m)}}),wh&&zme(l,"size",{get:function(){return c(this).size}}),u},setStrong:function(e,r,n){var i=r+" Iterator",u=U_(r),l=U_(i);Yme(e,r,function(c,f){r5(this,{type:i,target:c,state:u(c),kind:f,last:void 0})},function(){for(var c=l(this),f=c.kind,d=c.last;d&&d.removed;)d=d.previous;return!c.target||!(c.last=d=d?d.next:c.state.first)?(c.target=void 0,{value:void 0,done:!0}):f=="keys"?{value:d.key,done:!1}:f=="values"?{value:d.value,done:!1}:{value:[d.key,d.value],done:!1}},n?"entries":"values",!n,!0),Xme(r)}}});var o5=B(function(){"use strict";var Qme=bh(),Jme=B_();Qme("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Jme)});var $g=B(function(){o5()});var G_=B(function(Wvt,a5){var Zme=Math.log;a5.exports=Math.log1p||function(e){var r=+e;return r>-1e-8&&r<1e-8?r-r*r/2:Zme(1+r)}});var zg=B(function(Vvt,f5){f5.exports=Math.sign||function(e){var r=+e;return r==0||r!=r?r:r<0?-1:1}});var Sh=B(function(Kvt,p5){var Oh=Math.expm1,gge=Math.exp;p5.exports=!Oh||Oh(10)>22025.465794806718||Oh(10)<22025.465794806718||Oh(-2e-17)!=-2e-17?function(e){var r=+e;return r==0?r:r>-1e-6&&r<1e-6?r+r*r/2:gge(r)-1}:Oh});var V_=B(function(Yvt,v5){var _ge=zg(),Pge=Math.abs,Wg=Math.pow,W_=Wg(2,-52),Hg=Wg(2,-23),Ege=Wg(2,127)*(2-Hg),H_=Wg(2,-126),Tge=function(e){return e+1/W_-1/W_};v5.exports=Math.fround||function(e){var r=+e,n=Pge(r),i=_ge(r),u,l;return nEge||l!=l?i*(1/0):i*l)}});var K_=B(function(Xvt,g5){var Cge=Math.log,Nge=Math.LOG10E;g5.exports=Math.log10||function(e){return Cge(e)*Nge}});var Vg=B(function(Qvt,_5){var rbe=ce();_5.exports=rbe(1 .valueOf)});var _h=B(function(Jvt,P5){P5.exports=" \n\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF"});var qs=B(function(Zvt,T5){var nbe=ce(),ibe=zt(),obe=He(),abe=_h(),E5=nbe("".replace),Kg="["+abe+"]",ube=RegExp("^"+Kg+Kg+"*"),sbe=RegExp(Kg+Kg+"*$"),Y_=function(e){return function(r){var n=obe(ibe(r));return e&1&&(n=E5(n,ube,"")),e&2&&(n=E5(n,sbe,"")),n}};T5.exports={start:Y_(1),end:Y_(2),trim:Y_(3)}});var eP=B(function(eyt,I5){var Tbe=be(),Abe=Tbe.isFinite;I5.exports=Number.isFinite||function(e){return typeof e=="number"&&Abe(e)}});var Qg=B(function(tyt,k5){var Ibe=Ne(),kbe=Math.floor;k5.exports=Number.isInteger||function(e){return!Ibe(e)&&isFinite(e)&&kbe(e)===e}});var C5=B(function(ryt,L5){var F5=be(),Ube=le(),Bbe=ce(),Gbe=He(),$be=qs().trim,zbe=_h(),Hbe=Bbe("".charAt),Jg=F5.parseFloat,j5=F5.Symbol,q5=j5&&j5.iterator,Wbe=1/Jg(zbe+"-0")!==-1/0||q5&&!Ube(function(){Jg(Object(q5))});L5.exports=Wbe?function(e){var r=$be(Gbe(e)),n=Jg(r);return n===0&&Hbe(r,0)=="-"?-0:n}:Jg});var tP=B(function(nyt,$5){var B5=be(),Kbe=le(),Ybe=ce(),Xbe=He(),Qbe=qs().trim,D5=_h(),Eh=B5.parseInt,M5=B5.Symbol,U5=M5&&M5.iterator,G5=/^[+-]?0x/i,Jbe=Ybe(G5.exec),Zbe=Eh(D5+"08")!==8||Eh(D5+"0x16")!==22||U5&&!Kbe(function(){Eh(Object(U5))});$5.exports=Zbe?function(e,r){var n=Qbe(Xbe(e));return Eh(n,r>>>0||(Jbe(G5,n)?16:10))}:Eh});var Th=B(function(iyt,H5){"use strict";var twe=Pt(),rwe=He(),nwe=zt(),iwe=RangeError;H5.exports=function(e){var r=rwe(nwe(this)),n="",i=twe(e);if(i<0||i==1/0)throw iwe("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(r+=r))i&1&&(n+=r);return n}});var uP=B(function(oyt,nU){"use strict";var tU=xe(),Twe=ce(),Awe=fe(),xwe=le(),aP=Ss(),Rwe=eh(),Iwe=Kp(),kwe=$e(),jwe=Mo(),kc=Object.assign,rU=Object.defineProperty,qwe=Twe([].concat);nU.exports=!kc||xwe(function(){if(tU&&kc({b:1},kc(rU({},"a",{enumerable:!0,get:function(){rU(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(i){e[i]=i}),kc({},t)[r]!=7||aP(kc({},e)).join("")!=n})?function(e,r){for(var n=kwe(e),i=arguments.length,u=1,l=Rwe.f,c=Iwe.f;i>u;)for(var f=jwe(arguments[u++]),d=l?qwe(aP(f),l(f)):aP(f),y=d.length,m=0,b;y>m;)b=d[m++],(!tU||Awe(c,f,b))&&(n[b]=f[b]);return n}:kc});var xh=B(function(ayt,aU){"use strict";var Lwe=gt(),Cwe=be(),Nwe=le(),oU=qg();aU.exports=Lwe||!Nwe(function(){if(!(oU&&oU<535)){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete Cwe[t]}})});var sP=B(function(uyt,lU){var Xwe=xe(),sU=ce(),Qwe=Ss(),Jwe=Ht(),Zwe=Kp().f,e0e=sU(Zwe),t0e=sU([].push),uU=function(e){return function(r){for(var n=Jwe(r),i=Qwe(n),u=i.length,l=0,c=[],f;u>l;)f=i[l++],(!Xwe||e0e(n,f))&&t0e(c,e?[f,n[f]]:n[f]);return c}};lU.exports={entries:uU(!0),values:uU(!1)}});var cP=B(function(syt,hU){hU.exports=Object.is||function(e,r){return e===r?e!==0||1/e===1/r:e!=e&&r!=r}});var bU=B(function(lyt,gU){"use strict";var POe=og(),EOe=Ai();gU.exports=POe?{}.toString:function(){return"[object "+EOe(this)+"]"}});var nu=B(function(cyt,wU){var kOe=pn(),jOe=be();wU.exports=kOe(jOe.process)=="process"});var jc=B(function(fyt,OU){var qOe=xi(),FOe=$a(),LOe=TypeError;OU.exports=function(t){if(qOe(t))return t;throw LOe(FOe(t)+" is not a constructor")}});var Hr=B(function(pyt,_U){var SU=ie(),COe=jc(),NOe=_e(),DOe=NOe("species");_U.exports=function(t,e){var r=SU(t).constructor,n;return r===void 0||(n=SU(r)[DOe])==null?e:COe(n)}});var iu=B(function(hyt,PU){var MOe=TypeError;PU.exports=function(t,e){if(tb)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$c")!=="bc"})});var Ko=B(function(Yyt,S4){var O4=tg(),GPe=it();S4.exports=function(t,e,r){return r.get&&O4(r.get,e,{getter:!0}),r.set&&O4(r.set,e,{setter:!0}),GPe.f(t,e,r)}});var Ch=B(function(Xyt,E4){"use strict";var Gc=fe(),mb=ce(),YPe=He(),XPe=hb(),QPe=Fh(),JPe=za(),ZPe=Wt(),eEe=at().get,tEe=db(),rEe=tE(),nEe=JPe("native-string-replace",String.prototype.replace),yb=RegExp.prototype.exec,uE=yb,iEe=mb("".charAt),oEe=mb("".indexOf),aEe=mb("".replace),aE=mb("".slice),sE=function(){var t=/a/,e=/b*/g;return Gc(yb,t,"a"),Gc(yb,e,"a"),t.lastIndex!==0||e.lastIndex!==0}(),P4=QPe.BROKEN_CARET,lE=/()??/.exec("")[1]!==void 0,uEe=sE||lE||P4||tEe||rEe;uEe&&(uE=function(e){var r=this,n=eEe(r),i=YPe(e),u=n.raw,l,c,f,d,y,m,b;if(u)return u.lastIndex=r.lastIndex,l=Gc(uE,u,i),r.lastIndex=u.lastIndex,l;var O=n.groups,E=P4&&r.sticky,P=Gc(XPe,r),S=r.source,x=0,R=i;if(E&&(P=aEe(P,"y",""),oEe(P,"g")===-1&&(P+="g"),R=aE(i,r.lastIndex),r.lastIndex>0&&(!r.multiline||r.multiline&&iEe(i,r.lastIndex-1)!=="\n")&&(S="(?: "+S+")",R=" "+R,x++),c=new RegExp("^(?:"+S+")",P)),lE&&(c=new RegExp("^"+S+"$(?!\\s)",P)),sE&&(f=r.lastIndex),d=Gc(yb,E?c:r,R),E?d?(d.input=aE(d.input,x),d[0]=aE(d[0],x),d.index=r.lastIndex,r.lastIndex+=d[0].length):r.lastIndex=0:sE&&d&&(r.lastIndex=r.global?d.index+d[0].length:f),lE&&d&&d.length>1&&Gc(nEe,d[0],c,function(){for(y=1;y=l?e?"":void 0:(c=q4(i,u),c<55296||c>56319||u+1===l||(f=q4(i,u+1))<56320||f>57343?e?XEe(i,u):c:e?QEe(i,u,u+2):(c-55296<<10)+(f-56320)+65536)}};L4.exports={codeAt:F4(!1),charAt:F4(!0)}});var bb=B(function(rmt,C4){var eTe=Mc(),tTe=TypeError;C4.exports=function(t){if(eTe(t))throw tTe("The method doesn't accept regular expressions");return t}});var wb=B(function(nmt,N4){var rTe=_e(),nTe=rTe("match");N4.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[nTe]=!1,"/./"[t](e)}catch(n){}}return!1}});var pE=B(function(){"use strict";var TTe=Bs().charAt,ATe=He(),H4=at(),xTe=kg(),W4="String Iterator",RTe=H4.set,ITe=H4.getterFor(W4);xTe(String,"String",function(t){RTe(this,{type:W4,string:ATe(t),index:0})},function(){var e=ITe(this),r=e.string,n=e.index,i;return n>=r.length?{value:void 0,done:!0}:(i=TTe(r,n),e.index+=i.length,{value:i,done:!1})})});var Nh=B(function(amt,Q4){"use strict";gb();var V4=ce(),K4=bt(),kTe=Ch(),Y4=le(),X4=_e(),jTe=or(),qTe=X4("species"),hE=RegExp.prototype;Q4.exports=function(t,e,r,n){var i=X4(t),u=!Y4(function(){var d={};return d[i]=function(){return 7},""[t](d)!=7}),l=u&&!Y4(function(){var d=!1,y=/a/;return t==="split"&&(y={},y.constructor={},y.constructor[qTe]=function(){return y},y.flags="",y[i]=/./[i]),y.exec=function(){return d=!0,null},y[i](""),!d});if(!u||!l||r){var c=V4(/./[i]),f=e(i,""[t],function(d,y,m,b,O){var E=V4(d),P=y.exec;return P===kTe||P===hE.exec?u&&!O?{done:!0,value:c(y,m,b)}:{done:!0,value:E(m,y,b)}:{done:!1}});K4(String.prototype,t,f[0]),K4(hE,i,f[1])}n&&jTe(hE[i],"sham",!0)}});var Dh=B(function(umt,J4){"use strict";var FTe=Bs().charAt;J4.exports=function(t,e,r){return e+(r?FTe(t,e).length:1)}});var $c=B(function(smt,eB){var Z4=fe(),LTe=ie(),CTe=ke(),NTe=pn(),DTe=Ch(),MTe=TypeError;eB.exports=function(t,e){var r=t.exec;if(CTe(r)){var n=Z4(r,t,e);return n!==null&<e(n),n}if(NTe(t)==="RegExp")return Z4(DTe,t,e);throw MTe("RegExp#exec called on incompatible receiver")}});var bE=B(function(lmt,dB){var hB=ce(),lAe=In(),fB=He(),cAe=Th(),fAe=zt(),pAe=hB(cAe),hAe=hB("".slice),dAe=Math.ceil,pB=function(e){return function(r,n,i){var u=fB(fAe(r)),l=lAe(n),c=u.length,f=i===void 0?" ":fB(i),d,y;return l<=c||f==""?u:(d=l-c,y=pAe(f,dAe(d/f.length)),y.length>d&&(y=hAe(y,0,d)),e?u+y:y+u)}};dB.exports={start:pB(!1),end:pB(!0)}});var wE=B(function(cmt,vB){var vAe=Uo();vB.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(vAe)});var PE=B(function(fmt,bB){var _E=ce(),RAe=$e(),IAe=Math.floor,OE=_E("".charAt),kAe=_E("".replace),SE=_E("".slice),jAe=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,qAe=/\$([$&'`]|\d{1,2})/g;bB.exports=function(t,e,r,n,i,u){var l=r+t.length,c=n.length,f=qAe;return i!==void 0&&(i=RAe(i),f=jAe),kAe(u,f,function(d,y){var m;switch(OE(y,0)){case"$":return"$";case"&":return t;case"`":return SE(e,0,r);case"'":return SE(e,l);case"<":m=i[SE(y,1,-1)];break;default:var b=+y;if(b===0)return d;if(b>c){var O=IAe(b/10);return O===0?d:O<=c?n[O-1]===void 0?OE(y,1):n[O-1]+OE(y,1):d}m=n[b-1]}return m===void 0?"":m})}});var Pb=B(function(pmt,BB){var Gxe=ws().PROPER,$xe=le(),MB=_h(),UB="\u200B\x85\u180E";BB.exports=function(t){return $xe(function(){return!!MB[t]()||UB[t]()!==UB||Gxe&&MB[t].name!==t})}});var IE=B(function(hmt,GB){"use strict";var Vxe=qs().end,Kxe=Pb();GB.exports=Kxe("trimEnd")?function(){return Vxe(this)}:"".trimEnd});var zB=B(function(){var Yxe=G(),$B=IE();Yxe({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==$B},{trimRight:$B})});var kE=B(function(ymt,WB){"use strict";var Qxe=qs().start,Jxe=Pb();WB.exports=Jxe("trimStart")?function(){return Qxe(this)}:"".trimStart});var KB=B(function(){var Zxe=G(),VB=kE();Zxe({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==VB},{trimLeft:VB})});var mn=B(function(bmt,QB){var tRe=ce(),rRe=zt(),XB=He(),nRe=/"/g,iRe=tRe("".replace);QB.exports=function(t,e,r,n){var i=XB(rRe(t)),u="<"+e;return r!==""&&(u+=" "+r+'="'+iRe(XB(n),nRe,""")+'"'),u+">"+i+""}});var gn=B(function(wmt,JB){var oRe=le();JB.exports=function(t){return oRe(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})}});var Ie=B(function(Omt,u6){"use strict";var HRe=S_(),LE=xe(),Wr=be(),r6=ke(),Ab=Ne(),cu=Ue(),CE=Ai(),WRe=$a(),VRe=or(),jE=bt(),KRe=it().f,YRe=zr(),xb=Er(),Yc=oo(),XRe=_e(),QRe=gs(),n6=at(),i6=n6.enforce,JRe=n6.get,Eb=Wr.Int8Array,qE=Eb&&Eb.prototype,ZB=Wr.Uint8ClampedArray,e6=ZB&&ZB.prototype,fo=Eb&&xb(Eb),Ii=qE&&xb(qE),ZRe=Object.prototype,NE=Wr.TypeError,t6=XRe("toStringTag"),FE=QRe("TYPED_ARRAY_TAG"),Tb="TypedArrayConstructor",Yo=HRe&&!!Yc&&CE(Wr.opera)!=="Opera",o6=!1,bn,lu,Kc,Xo={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},DE={BigInt64Array:8,BigUint64Array:8},eIe=function(e){if(!Ab(e))return!1;var r=CE(e);return r==="DataView"||cu(Xo,r)||cu(DE,r)},tIe=function t(e){var r=xb(e);if(Ab(r)){var n=JRe(r);return n&&cu(n,Tb)?n[Tb]:t(r)}},a6=function(e){if(!Ab(e))return!1;var r=CE(e);return cu(Xo,r)||cu(DE,r)},rIe=function(e){if(a6(e))return e;throw NE("Target is not a typed array")},nIe=function(e){if(r6(e)&&(!Yc||YRe(fo,e)))return e;throw NE(WRe(e)+" is not a typed array constructor")},iIe=function(e,r,n,i){if(LE){if(n)for(var u in Xo){var l=Wr[u];if(l&&cu(l.prototype,e))try{delete l.prototype[e]}catch(c){try{l.prototype[e]=r}catch(f){}}}(!Ii[e]||n)&&jE(Ii,e,n?r:Yo&&qE[e]||r,i)}},oIe=function(e,r,n){var i,u;if(LE){if(Yc){if(n){for(i in Xo)if(u=Wr[i],u&&cu(u,e))try{delete u[e]}catch(l){}}if(!fo[e]||n)try{return jE(fo,e,n?r:Yo&&fo[e]||r)}catch(l){}else return}for(i in Xo)u=Wr[i],u&&(!u[e]||n)&&jE(u,e,r)}};for(bn in Xo)lu=Wr[bn],Kc=lu&&lu.prototype,Kc?i6(Kc)[Tb]=lu:Yo=!1;for(bn in DE)lu=Wr[bn],Kc=lu&&lu.prototype,Kc&&(i6(Kc)[Tb]=lu);if((!Yo||!r6(fo)||fo===Function.prototype)&&(fo=function(){throw NE("Incorrect invocation")},Yo))for(bn in Xo)Wr[bn]&&Yc(Wr[bn],fo);if((!Yo||!Ii||Ii===ZRe)&&(Ii=fo.prototype,Yo))for(bn in Xo)Wr[bn]&&Yc(Wr[bn].prototype,Ii);Yo&&xb(e6)!==Ii&&Yc(e6,Ii);if(LE&&!cu(Ii,t6)){o6=!0,KRe(Ii,t6,{get:function(){return Ab(this)?this[FE]:void 0}});for(bn in Xo)Wr[bn]&&VRe(Wr[bn],FE,bn)}u6.exports={NATIVE_ARRAY_BUFFER_VIEWS:Yo,TYPED_ARRAY_TAG:o6&&FE,aTypedArray:rIe,aTypedArrayConstructor:nIe,exportTypedArrayMethod:iIe,exportTypedArrayStaticMethod:oIe,getTypedArrayConstructor:tIe,isView:eIe,isTypedArray:a6,TypedArray:fo,TypedArrayPrototype:Ii}});var Rb=B(function(Smt,l6){var s6=be(),ME=le(),aIe=hh(),uIe=Ie().NATIVE_ARRAY_BUFFER_VIEWS,sIe=s6.ArrayBuffer,Gs=s6.Int8Array;l6.exports=!uIe||!ME(function(){Gs(1)})||!ME(function(){new Gs(-1)})||!aIe(function(t){new Gs,new Gs(null),new Gs(1.5),new Gs(t)},!0)||ME(function(){return new Gs(new sIe(2),1,void 0).length!==1})});var Xc=B(function(_mt,c6){var lIe=Pt(),cIe=RangeError;c6.exports=function(t){var e=lIe(t);if(e<0)throw cIe("The argument can't be less than 0");return e}});var UE=B(function(Pmt,f6){var fIe=Xc(),pIe=RangeError;f6.exports=function(t,e){var r=fIe(t);if(r%e)throw pIe("Wrong offset");return r}});var BE=B(function(Emt,p6){var hIe=ut(),dIe=fe(),vIe=jc(),yIe=$e(),mIe=ze(),gIe=oi(),bIe=uo(),wIe=Og(),OIe=Ie().aTypedArrayConstructor;p6.exports=function(e){var r=vIe(this),n=yIe(e),i=arguments.length,u=i>1?arguments[1]:void 0,l=u!==void 0,c=bIe(n),f,d,y,m,b,O;if(c&&!wIe(c))for(b=gIe(n,c),O=b.next,n=[];!(m=dIe(O,b)).done;)n.push(m.value);for(l&&i>2&&(u=hIe(u,arguments[2])),d=mIe(n),y=new(OIe(r))(d),f=0;d>f;f++)y[f]=l?u(n[f],f):n[f];return y}});var po=B(function(Tmt,KE){"use strict";var h6=G(),P6=be(),d6=fe(),SIe=xe(),_Ie=Rb(),Qc=Ie(),E6=k_(),v6=yn(),PIe=Rn(),Gh=or(),EIe=Qg(),TIe=In(),y6=__(),GE=UE(),T6=no(),$h=Ue(),AIe=Ai(),HE=Ne(),xIe=Ga(),RIe=Wt(),IIe=zr(),Ib=oo(),kIe=Bo().f,m6=BE(),jIe=Vt().forEach,qIe=Ja(),A6=it(),x6=Pr(),YE=at(),FIe=As(),WE=YE.get,LIe=YE.set,CIe=YE.enforce,XE=A6.f,NIe=x6.f,DIe=Math.round,$E=P6.RangeError,R6=E6.ArrayBuffer,MIe=R6.prototype,UIe=E6.DataView,kb=Qc.NATIVE_ARRAY_BUFFER_VIEWS,g6=Qc.TYPED_ARRAY_TAG,b6=Qc.TypedArray,zh=Qc.TypedArrayPrototype,BIe=Qc.aTypedArrayConstructor,VE=Qc.isTypedArray,jb="BYTES_PER_ELEMENT",zE="Wrong length",w6=function(e,r){BIe(e);for(var n=0,i=r.length,u=new e(i);i>n;)u[n]=r[n++];return u},qb=function(e,r){XE(e,r,{get:function(){return WE(this)[r]}})},O6=function(e){var r;return IIe(MIe,e)||(r=AIe(e))=="ArrayBuffer"||r=="SharedArrayBuffer"},I6=function(e,r){return VE(e)&&!xIe(r)&&r in e&&EIe(+r)&&r>=0},S6=function(e,r){return r=T6(r),I6(e,r)?PIe(2,e[r]):NIe(e,r)},_6=function(e,r,n){return r=T6(r),I6(e,r)&&HE(n)&&$h(n,"value")&&!$h(n,"get")&&!$h(n,"set")&&!n.configurable&&(!$h(n,"writable")||n.writable)&&(!$h(n,"enumerable")||n.enumerable)?(e[r]=n.value,e):XE(e,r,n)};SIe?(kb||(x6.f=S6,A6.f=_6,qb(zh,"buffer"),qb(zh,"byteOffset"),qb(zh,"byteLength"),qb(zh,"length")),h6({target:"Object",stat:!0,forced:!kb},{getOwnPropertyDescriptor:S6,defineProperty:_6}),KE.exports=function(t,e,r){var n=t.match(/\d+$/)[0]/8,i=t+(r?"Clamped":"")+"Array",u="get"+t,l="set"+t,c=P6[i],f=c,d=f&&f.prototype,y={},m=function(S,x){var R=WE(S);return R.view[u](x*n+R.byteOffset,!0)},b=function(S,x,R){var A=WE(S);r&&(R=(R=DIe(R))<0?0:R>255?255:R&255),A.view[l](x*n+A.byteOffset,R,!0)},O=function(S,x){XE(S,x,{get:function(){return m(this,x)},set:function(A){return b(this,x,A)},enumerable:!0})};kb?_Ie&&(f=e(function(P,S,x,R){return v6(P,d),FIe(function(){return HE(S)?O6(S)?R!==void 0?new c(S,GE(x,n),R):x!==void 0?new c(S,GE(x,n)):new c(S):VE(S)?w6(f,S):d6(m6,f,S):new c(y6(S))}(),P,f)}),Ib&&Ib(f,b6),jIe(kIe(c),function(P){P in f||Gh(f,P,c[P])}),f.prototype=d):(f=e(function(P,S,x,R){v6(P,d);var A=0,k=0,C,F,I;if(!HE(S))I=y6(S),F=I*n,C=new R6(F);else if(O6(S)){C=S,k=GE(x,n);var z=S.byteLength;if(R===void 0){if(z%n||(F=z-k,F<0))throw $E(zE)}else if(F=TIe(R)*n,F+k>z)throw $E(zE);I=F/n}else return VE(S)?w6(f,S):d6(m6,f,S);for(LIe(P,{buffer:C,byteOffset:k,byteLength:F,length:I,view:new UIe(C)});Ar;)i[r]=e[r++];return i}});var Zc=B(function(Rmt,D6){var N6=Ie(),Ske=Hr(),_ke=N6.aTypedArrayConstructor,Pke=N6.getTypedArrayConstructor;D6.exports=function(t){return _ke(Ske(t,Pke(t)))}});var Hh=B(function(Imt,M6){var Eke=Jc(),Tke=Zc();M6.exports=function(t,e){return Eke(Tke(t),e)}});var t7=B(function(kmt,e7){"use strict";var fje=vn(),pje=Ht(),hje=Pt(),dje=ze(),vje=ks(),yje=Math.min,rT=[].lastIndexOf,Z6=!!rT&&1/[1].lastIndexOf(1,-0)<0,mje=vje("lastIndexOf"),gje=Z6||!mje;e7.exports=gje?function(e){if(Z6)return fje(rT,this,arguments)||0;var r=pje(this),n=dje(r),i=n-1;for(arguments.length>1&&(i=yje(i,hje(arguments[1]))),i<0&&(i=n+i);i>=0;i--)if(i in r&&r[i]===e)return i||0;return-1}:rT});var nT=B(function(jmt,a7){var Ije=ge(),kje=$e(),jje=Mo(),qje=ze(),Fje=TypeError,o7=function(e){return function(r,n,i,u){Ije(n);var l=kje(r),c=jje(l),f=qje(l),d=e?f-1:0,y=e?-1:1;if(i<2)for(;;){if(d in c){u=c[d],d+=y;break}if(d+=y,e?d<0:f<=d)throw Fje("Reduce of empty array with no initial value")}for(;e?d>=0:f>d;d+=y)d in c&&(u=n(u,c[d],d,l));return u}};a7.exports={left:o7(!1),right:o7(!0)}});var fT=B(function(qmt,F7){"use strict";var kqe=ce(),R7=so(),Db=tu().getWeakData,jqe=ie(),lT=Ne(),qqe=yn(),Fqe=Ae(),k7=Vt(),I7=Ue(),j7=at(),Lqe=j7.set,Cqe=j7.getterFor,Nqe=k7.find,Dqe=k7.findIndex,Mqe=kqe([].splice),Uqe=0,Mb=function(e){return e.frozen||(e.frozen=new q7)},q7=function(){this.entries=[]},cT=function(e,r){return Nqe(e.entries,function(n){return n[0]===r})};q7.prototype={get:function(e){var r=cT(this,e);if(r)return r[1]},has:function(e){return!!cT(this,e)},set:function(e,r){var n=cT(this,e);n?n[1]=r:this.entries.push([e,r])},delete:function(e){var r=Dqe(this.entries,function(n){return n[0]===e});return~r&&Mqe(this.entries,r,1),!!~r}};F7.exports={getConstructor:function(e,r,n,i){var u=e(function(d,y){qqe(d,l),Lqe(d,{type:r,id:Uqe++,frozen:void 0}),y!=null&&Fqe(y,d[i],{that:d,AS_ENTRIES:n})}),l=u.prototype,c=Cqe(r),f=function(y,m,b){var O=c(y),E=Db(jqe(m),!0);return E===!0?Mb(O).set(m,b):E[O.id]=b,y};return R7(l,{delete:function(y){var m=c(this);if(!lT(y))return!1;var b=Db(y);return b===!0?Mb(m).delete(y):b&&I7(b,m.id)&&delete b[m.id]},has:function(y){var m=c(this);if(!lT(y))return!1;var b=Db(y);return b===!0?Mb(m).has(y):b&&I7(b,m.id)}}),R7(l,n?{get:function(y){var m=c(this);if(lT(y)){var b=Db(y);return b===!0?Mb(m).get(y):b?b[m.id]:void 0}},set:function(y,m){return f(this,y,m)}}:{add:function(y){return f(this,y,!0)}}),u}}});var D7=B(function(){"use strict";var L7=be(),Ub=ce(),Bqe=so(),Gqe=tu(),$qe=bh(),C7=fT(),Bb=Ne(),Gb=gh(),$b=at().enforce,zqe=u1(),Hqe=!L7.ActiveXObject&&"ActiveXObject"in L7,Vh,N7=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},Wqe=$qe("WeakMap",N7,C7);zqe&&Hqe&&(Vh=C7.getConstructor(N7,"WeakMap",!0),Gqe.enable(),rf=Wqe.prototype,pT=Ub(rf.delete),Kh=Ub(rf.has),hT=Ub(rf.get),dT=Ub(rf.set),Bqe(rf,{delete:function(e){if(Bb(e)&&!Gb(e)){var r=$b(this);return r.frozen||(r.frozen=new Vh),pT(this,e)||r.frozen.delete(e)}return pT(this,e)},has:function(e){if(Bb(e)&&!Gb(e)){var r=$b(this);return r.frozen||(r.frozen=new Vh),Kh(this,e)||r.frozen.has(e)}return Kh(this,e)},get:function(e){if(Bb(e)&&!Gb(e)){var r=$b(this);return r.frozen||(r.frozen=new Vh),Kh(this,e)?hT(this,e):r.frozen.get(e)}return hT(this,e)},set:function(e,r){if(Bb(e)&&!Gb(e)){var n=$b(this);n.frozen||(n.frozen=new Vh),Kh(this,e)?dT(this,e,r):n.frozen.set(e,r)}else dT(this,e,r);return this}}));var rf,pT,Kh,hT,dT});var zb=B(function(){D7()});var M7=B(function(){"use strict";var Vqe=bh(),Kqe=fT();Vqe("WeakSet",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Kqe)});var Yh=B(function(Umt,V7){var z7=be(),H7=Yp(),W7=ke(),Yqe=Wt(),Hb=Er(),Xqe=bt(),Qqe=_e(),Jqe=gt(),U7="USE_FUNCTION_CONSTRUCTOR",B7=Qqe("asyncIterator"),G7=z7.AsyncIterator,$7=H7.AsyncIteratorPrototype,ho,vT;if($7)ho=$7;else if(W7(G7))ho=G7.prototype;else if(H7[U7]||z7[U7])try{vT=Hb(Hb(Hb(Function("return async function*(){}()")()))),Hb(vT)===Object.prototype&&(ho=vT)}catch(t){}ho?Jqe&&(ho=Yqe(ho)):ho={};W7(ho[B7])||Xqe(ho,B7,function(){return this});V7.exports=ho});var Xh=B(function(Bmt,e9){"use strict";var K7=fe(),yT=ie(),Zqe=Wt(),e2e=ir(),t2e=so(),Q7=at(),r2e=Oe(),n2e=Yh(),mT=r2e("Promise"),J7="AsyncFromSyncIterator",i2e=Q7.set,Y7=Q7.getterFor(J7),X7=function(e,r,n){var i=e.done;mT.resolve(e.value).then(function(u){r({done:i,value:u})},n)},Z7=function(e){i2e(this,{type:J7,iterator:yT(e),next:e.next})};Z7.prototype=t2e(Zqe(n2e),{next:function(){var e=Y7(this);return new mT(function(r,n){var i=yT(K7(e.next,e.iterator));X7(i,r,n)})},return:function(){var e=Y7(this).iterator;return new mT(function(r,n){var i=e2e(e,"return");if(i===void 0)return r({done:!0,value:void 0});var u=yT(K7(i,e));X7(u,r,n)})}});e9.exports=Z7});var Wb=B(function(Gmt,t9){var o2e=fe(),a2e=Xh(),u2e=ie(),s2e=oi(),l2e=ir(),c2e=_e(),f2e=c2e("asyncIterator");t9.exports=function(t,e){var r=arguments.length<2?l2e(t,f2e):e;return r?u2e(o2e(r,t)):new a2e(s2e(t))}});var gT=B(function($mt,r9){var p2e=be();r9.exports=function(t){return p2e[t].prototype}});var Ot=B(function(zmt,n9){var h2e=ge(),d2e=ie();n9.exports=function(t){return{iterator:t,next:h2e(d2e(t).next)}}});var nf=B(function(Hmt,i9){var v2e=fe(),y2e=Oe(),m2e=ir();i9.exports=function(t,e,r,n){try{var i=m2e(t,"return");if(i)return y2e("Promise").resolve(v2e(i,t)).then(function(){e(r)},function(u){n(u)})}catch(u){return n(u)}e(r)}});var $s=B(function(Wmt,a9){"use strict";var g2e=fe(),b2e=ge(),o9=ie(),w2e=Is(),O2e=Oe(),S2e=Ot(),bT=nf(),Qh=function(e){var r=e==0,n=e==1,i=e==2,u=e==3;return function(l,c,f){var d=S2e(l),y=O2e("Promise"),m=d.iterator,b=d.next,O=0,E=c!==void 0;return(E||!r)&&b2e(c),new y(function(P,S){var x=function(k){bT(m,S,k,S)},R=function A(){try{if(r&&E)try{w2e(O)}catch(k){x(k)}y.resolve(o9(g2e(b,m))).then(function(k){try{if(o9(k).done)r?(f.length=O,P(f)):P(u?!1:i||void 0);else{var C=k.value;try{E?y.resolve(r?c(C,O):c(C)).then(function(F){if(n)A();else if(i)F?A():bT(m,P,!1,S);else if(r)try{f[O++]=F,A()}catch(I){x(I)}else F?bT(m,P,u||C,S):A()},x):(f[O++]=C,A())}catch(F){x(F)}}}catch(F){S(F)}},S)}catch(k){S(k)}};R()})}};a9.exports={toArray:Qh(0),forEach:Qh(1),every:Qh(2),some:Qh(3),find:Qh(4)}});var wT=B(function(Vmt,u9){"use strict";var _2e=ut(),P2e=$e(),E2e=xi(),T2e=Wb(),A2e=oi(),x2e=uo(),R2e=ir(),I2e=gT(),k2e=Oe(),j2e=_e(),q2e=Xh(),F2e=$s().toArray,L2e=j2e("asyncIterator"),C2e=I2e("Array").values;u9.exports=function(e){var r=this,n=arguments.length,i=n>1?arguments[1]:void 0,u=n>2?arguments[2]:void 0;return new(k2e("Promise"))(function(l){var c=P2e(e);i!==void 0&&(i=_2e(i,u));var f=R2e(c,L2e),d=f?void 0:x2e(c)||C2e,y=E2e(r)?new r:[],m=f?T2e(c,f):new q2e(A2e(c,d));l(F2e(m,i,y))})}});var Vb=B(function(Kmt,s9){var H2e=ut(),W2e=ce(),V2e=Mo(),K2e=$e(),Y2e=no(),X2e=ze(),Q2e=Wt(),J2e=Jc(),Z2e=Array,eFe=W2e([].push);s9.exports=function(t,e,r,n){for(var i=K2e(t),u=V2e(i),l=H2e(e,r),c=Q2e(null),f=X2e(u),d=0,y,m,b;f>d;d++)b=u[d],m=Y2e(l(b,d,i)),m in c?eFe(c[m],b):c[m]=[b];if(n&&(y=n(i),y!==Z2e))for(m in c)c[m]=J2e(y,c[m]);return c}});var ST=B(function(Ymt,c9){"use strict";var sFe=Oe(),lFe=ut(),Kb=ce(),cFe=Mo(),fFe=$e(),pFe=ze(),l9=sFe("Map"),OT=l9.prototype,hFe=Kb(OT.get),dFe=Kb(OT.has),vFe=Kb(OT.set),yFe=Kb([].push);c9.exports=function(e){for(var r=fFe(this),n=cFe(r),i=lFe(e,arguments.length>1?arguments[1]:void 0),u=new l9,l=pFe(n),c=0,f,d;l>c;c++)d=n[c],f=i(d,c,r),dFe(u,f)?yFe(hFe(u,f),d):vFe(u,f,[d]);return u}});var _T=B(function(Xmt,v9){var FFe=ze();v9.exports=function(t,e){for(var r=FFe(t),n=new e(r),i=0;i=i||l<0)throw bLe("Incorrect index");for(var c=new e(i),f=0;fe,f=!1,d;if(n===void 0)d=void 0;else if(uNe(n))d=n.step,f=!!n.inclusive;else if(of(n)==i)d=n;else throw new IT(Zh);if(d==null&&(d=c?l:-l),of(d)!=i)throw new IT(Zh);if(d===1/0||d===-1/0||d===u&&e!==r)throw new G9(Zh);var y=e!=e||r!=r||d!=d||r>e!=d>u;lNe(this,{type:kT,start:e,end:r,step:d,inclusiveEnd:f,hitsEnd:y,currentCount:u,zero:u}),z9||(this.start=e,this.end=r,this.step=d,this.inclusive=f)},kT,function(){var e=ed(this);if(e.hitsEnd)return{value:void 0,done:!0};var r=e.start,n=e.end,i=e.step,u=r+i*e.currentCount++;u===n&&(e.hitsEnd=!0);var l=e.inclusiveEnd,c;return n>r?c=l?u>n:u>=n:c=l?n>u:n>=u,c?{value:void 0,done:e.hitsEnd=!0}:{value:u,done:!1}}),Jb=function(e){return{get:e,set:function(){},configurable:!0,enumerable:!1}};z9&&sNe(H9.prototype,{start:Jb(function(){return ed(this).start}),end:Jb(function(){return ed(this).end}),inclusive:Jb(function(){return ed(this).inclusiveEnd}),step:Jb(function(){return ed(this).step})});W9.exports=H9});var qT=B(function(igt,X9){$g();zb();var Y9=Oe(),pNe=Wt(),V9=Ne(),hNe=Object,dNe=TypeError,vNe=Y9("Map"),yNe=Y9("WeakMap"),Zb=function(){this.object=null,this.symbol=null,this.primitives=null,this.objectsByIndex=pNe(null)};Zb.prototype.get=function(t,e){return this[t]||(this[t]=e())};Zb.prototype.next=function(t,e,r){var n=r?this.objectsByIndex[t]||(this.objectsByIndex[t]=new yNe):this.primitives||(this.primitives=new vNe),i=n.get(e);return i||n.set(e,i=new Zb),i};var K9=new Zb;X9.exports=function(){var t=K9,e=arguments.length,r,n;for(r=0;r1?arguments[1]:void 0,i,u,l,c;return m3e(this),i=n!==void 0,i&&y3e(n),e==null?new this:(u=[],i?(l=0,c=d3e(n,r>2?arguments[2]:void 0),gG(e,function(f){v3e(bG,u,c(f,l++))})):gG(e,bG,{that:u}),new this(u))}});var SG=B(function(fgt,OG){OG.exports=function(t,e){return t===e||t!=t&&e!=e}});var nd=B(function(pgt,PG){"use strict";var o5e=Ka();PG.exports=function(){return new this(o5e(arguments))}});var iw=B(function(hgt,EG){"use strict";var rw=fe(),$T=ge(),nw=ke(),S5e=ie(),_5e=TypeError;EG.exports=function(e,r){var n=S5e(this),i=$T(n.get),u=$T(n.has),l=$T(n.set),c=arguments.length>2?arguments[2]:void 0,f;if(!nw(r)&&!nw(c))throw _5e("At least one callback required");return rw(u,n,e)?(f=rw(i,n,e),nw(r)&&(f=r(f),rw(l,n,e,f))):nw(c)&&(f=c(),rw(l,n,e,f)),f}});var zT=B(function(dgt,TG){TG.exports=Math.scale||function(e,r,n,i,u){var l=+e,c=+r,f=+n,d=+i,y=+u;return l!=l||c!=c||f!=f||d!=d||y!=y?NaN:l===1/0||l===-1/0?l:(l-c)*(y-d)/(f-c)+d}});var uw=B(function(vgt,qG){"use strict";var kG=at(),dUe=Xa(),vUe=Ue(),yUe=Ss(),mUe=$e(),jG="Object Iterator",gUe=kG.set,bUe=kG.getterFor(jG);qG.exports=dUe(function(e,r){var n=mUe(e);gUe(this,{type:jG,mode:r,object:n,keys:yUe(n),index:0})},"Object",function(){for(var e=bUe(this),r=e.keys;;){if(r===null||e.index>=r.length)return e.object=e.keys=null,{value:void 0,done:!0};var n=r[e.index++],i=e.object;if(vUe(i,n)){switch(e.mode){case"keys":return{value:n,done:!1};case"values":return{value:i[n],done:!1}}return{value:[n,i[n]],done:!1}}}})});var sw=B(function(ygt,LG){var TUe=be(),od=ke(),AUe=_e(),xUe=AUe("observable"),ad=TUe.Observable,FG=ad&&ad.prototype;LG.exports=!od(ad)||!od(ad.from)||!od(ad.of)||!od(FG.subscribe)||!od(FG[xUe])});var HG=B(function(){"use strict";var RUe=G(),lw=fe(),ud=xe(),IUe=Ja(),CG=ge(),NG=ke(),kUe=ie(),jUe=Ne(),qUe=yn(),cw=ir(),FUe=bt(),WT=so(),DG=Ko(),af=IP(),LUe=_e(),MG=at(),CUe=sw(),NUe=LUe("observable"),VT="Observable",UG="Subscription",BG="SubscriptionObserver",KT=MG.getterFor,YT=MG.set,DUe=KT(VT),GG=KT(UG),fw=KT(BG),$G=function(e){this.observer=kUe(e),this.cleanup=void 0,this.subscriptionObserver=void 0};$G.prototype={type:UG,clean:function(){var e=this.cleanup;if(e){this.cleanup=void 0;try{e()}catch(r){af(r)}}},close:function(){if(!ud){var e=this.facade,r=this.subscriptionObserver;e.closed=!0,r&&(r.closed=!0)}this.observer=void 0},isClosed:function(){return this.observer===void 0}};var XT=function(e,r){var n=YT(this,new $G(e)),i;ud||(this.closed=!1);try{(i=cw(e,"start"))&&lw(i,e,this)}catch(f){af(f)}if(!n.isClosed()){var u=n.subscriptionObserver=new QT(n);try{var l=r(u),c=l;l!=null&&(n.cleanup=NG(l.unsubscribe)?function(){c.unsubscribe()}:CG(l))}catch(f){u.error(f);return}n.isClosed()&&n.clean()}};XT.prototype=WT({},{unsubscribe:function(){var e=GG(this);e.isClosed()||(e.close(),e.clean())}});ud&&DG(XT.prototype,"closed",{configurable:!0,get:function(){return GG(this).isClosed()}});var QT=function(e){YT(this,{type:BG,subscriptionState:e}),ud||(this.closed=!1)};QT.prototype=WT({},{next:function(e){var r=fw(this).subscriptionState;if(!r.isClosed()){var n=r.observer;try{var i=cw(n,"next");i&&lw(i,n,e)}catch(u){af(u)}}},error:function(e){var r=fw(this).subscriptionState;if(!r.isClosed()){var n=r.observer;r.close();try{var i=cw(n,"error");i?lw(i,n,e):af(e)}catch(u){af(u)}r.clean()}},complete:function(){var e=fw(this).subscriptionState;if(!e.isClosed()){var r=e.observer;e.close();try{var n=cw(r,"complete");n&&lw(n,r)}catch(i){af(i)}e.clean()}}});ud&&DG(QT.prototype,"closed",{configurable:!0,get:function(){return fw(this).subscriptionState.isClosed()}});var zG=function(e){qUe(this,JT),YT(this,{type:VT,subscriber:CG(e)})},JT=zG.prototype;WT(JT,{subscribe:function(e){var r=arguments.length;return new XT(NG(e)?{next:e,error:r>1?arguments[1]:void 0,complete:r>2?arguments[2]:void 0}:jUe(e)?e:{},DUe(this).subscriber)}});FUe(JT,NUe,function(){return this});RUe({global:!0,constructor:!0,forced:CUe},{Observable:zG});IUe(VT)});var VG=B(function(){"use strict";var MUe=G(),UUe=Oe(),BUe=fe(),WG=ie(),GUe=xi(),$Ue=oi(),zUe=ir(),HUe=Ae(),WUe=_e(),VUe=sw(),KUe=WUe("observable");MUe({target:"Observable",stat:!0,forced:VUe},{from:function(e){var r=GUe(this)?this:UUe("Observable"),n=zUe(WG(e),KUe);if(n){var i=WG(BUe(n,e));return i.constructor===r?i:new r(function(l){return i.subscribe(l)})}var u=$Ue(e);return new r(function(l){HUe(u,function(c,f){if(l.next(c),l.closed)return f()},{IS_ITERATOR:!0,INTERRUPTED:!0}),l.complete()})}})});var YG=B(function(){"use strict";var YUe=G(),KG=Oe(),XUe=xi(),QUe=sw(),JUe=KG("Array");YUe({target:"Observable",stat:!0,forced:QUe},{of:function(){for(var e=XUe(this)?this:KG("Observable"),r=arguments.length,n=JUe(r),i=0;i1?arguments[1]:void 0)}});var oz=B(function(kgt,iz){var s9e=nu();iz.exports=function(t){try{if(s9e)return Function('return require("'+t+'")')()}catch(e){}}});var sz=B(function(jgt,uz){"use strict";var l9e=xe(),c9e=le(),f9e=ie(),p9e=Wt(),az=Sc(),vw=Error.prototype.toString,h9e=c9e(function(){if(l9e){var t=p9e(Object.defineProperty({},"name",{get:function(){return this===t}}));if(vw.call(t)!=="true")return!0}return vw.call({message:1,name:2})!=="2: 1"||vw.call({})!=="Error"});uz.exports=h9e?function(){var e=f9e(this),r=az(e.name,"Error"),n=az(e.message);return r?n?r+": "+n:r:n}:vw});var wA=B(function(qgt,lz){lz.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}});var YA=B(function(Fgt,Nz){var TGe=le(),AGe=_e(),xGe=gt(),RGe=AGe("iterator");Nz.exports=!TGe(function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,r="";return t.pathname="c%20d",e.forEach(function(n,i){e.delete("b"),r+=i+n}),xGe&&!t.toJSON||!e.sort||t.href!=="http://a/c%20d?a=1&c=3"||e.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!e[RGe]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||r!=="a1c3"||new URL("http://x",void 0).host!=="x"})});var Wz=B(function(Lgt,Hz){"use strict";var Ks=ce(),XA=2147483647,Sd=36,Gz=1,ZA=26,IGe=38,kGe=700,jGe=72,qGe=128,FGe="-",LGe=/[^\0-\u007E]/,$z=/[.\u3002\uFF0E\uFF61]/g,Dz="Overflow: input needs wider integers to process",QA=Sd-Gz,Mz=RangeError,CGe=Ks($z.exec),cf=Math.floor,JA=String.fromCharCode,Uz=Ks("".charCodeAt),zz=Ks([].join),mu=Ks([].push),NGe=Ks("".replace),DGe=Ks("".split),MGe=Ks("".toLowerCase),UGe=function(e){for(var r=[],n=0,i=e.length;n=55296&&u<=56319&&n>1,e+=cf(e/r);e>QA*ZA>>1;)e=cf(e/QA),i+=Sd;return cf(i+(QA+1)*e/(e+IGe))},GGe=function(e){var r=[];e=UGe(e);var n=e.length,i=qGe,u=0,l=jGe,c,f;for(c=0;c=i&&fcf((XA-u)/b))throw Mz(Dz);for(u+=(m-i)*b,i=m,c=0;cXA)throw Mz(Dz);if(f==i){for(var O=u,E=Sd;;){var P=E<=l?Gz:E>=l+ZA?ZA:E-l;if(O0?arguments[0]:void 0;lH(this,new fH(e))},Pd=Rw.prototype;zGe(Pd,{append:function(e,r){ff(arguments.length,2);var n=ji(this);Ys(n.entries,{key:qn(e),value:qn(r)}),n.updateURL()},delete:function(e){ff(arguments.length,1);for(var r=ji(this),n=r.entries,i=qn(e),u=0;un.key?1:-1}),e.updateURL()},forEach:function(e){for(var r=ji(this).entries,n=KGe(e,arguments.length>1?arguments[1]:void 0),i=0,u;i1?nx(arguments[1]):{})}}),ex(xw)&&(Aw=function(e){return aH(this,tx),new xw(e,arguments.length>1?nx(arguments[1]):{})},tx.constructor=Aw,Aw.prototype=tx,ix({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Aw})));var rH,nH,nx,Aw;pH.exports={URLSearchParams:Rw,getState:ji}});var jH=B(function(){"use strict";function Sx(t){"@babel/helpers - typeof";return Sx=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sx(t)}pE();var y$e=G(),Tx=xe(),m$e=YA(),Ax=be(),hH=ut(),ci=ce(),Fw=bt(),ai=Ko(),g$e=yn(),_x=Ue(),xx=uP(),hf=c_(),qi=bc(),b$e=Bs().codeAt,w$e=Wz(),ea=He(),O$e=hn(),S$e=iu(),EH=lx(),TH=at(),_$e=TH.set,Lw=TH.getterFor("URL"),P$e=EH.URLSearchParams,E$e=EH.getState,Td=Ax.URL,Px=Ax.TypeError,Cw=Ax.parseInt,T$e=Math.floor,dH=Math.pow,li=ci("".charAt),Fi=ci(/./.exec),xd=ci([].join),A$e=ci(1 .toString),x$e=ci([].pop),vf=ci([].push),vH=ci("".replace),R$e=ci([].shift),I$e=ci("".split),Id=ci("".slice),Nw=ci("".toLowerCase),k$e=ci([].unshift),j$e="Invalid authority",cx="Invalid scheme",Xs="Invalid host",yH="Invalid port",AH=/[a-z]/i,q$e=/[\d+-.a-z]/i,Ex=/\d/,F$e=/^0x/i,L$e=/^[0-7]+$/,C$e=/^\d+$/,xH=/^[\da-f]+$/i,N$e=/[\0\t\n\r #%/:<>?@[\\\]^|]/,D$e=/[\0\t\n\r #/:<>?@[\\\]^|]/,M$e=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,U$e=/[\t\n\r]/g,ui,B$e=function(e){var r=I$e(e,"."),n,i,u,l,c,f,d;if(r.length&&r[r.length-1]==""&&r.length--,n=r.length,n>4)return e;for(i=[],u=0;u1&&li(l,0)=="0"&&(c=Fi(F$e,l)?16:8,l=Id(l,c==8?1:2)),l==="")f=0;else{if(!Fi(c==10?C$e:c==8?L$e:xH,l))return e;f=Cw(l,c)}vf(i,f)}for(u=0;u=dH(256,5-n))return null}else if(f>255)return null;for(d=x$e(i),u=0;u6))return;for(f=0;O();){if(d=null,f>0)if(O()=="."&&f<4)u++;else return;if(!Fi(Ex,O()))return;for(;Fi(Ex,O());){if(y=Cw(O(),10),d===null)d=y;else{if(d==0)return;d=d*10+y}if(d>255)return;u++}r[n]=r[n]*256+d,f++,(f==2||f==4)&&n++}if(f!=4)return;break}else if(O()==":"){if(u++,!O())return}else if(O())return;r[n++]=l}if(i!==null)for(m=n-i,n=7;n!=0&&m>0;)b=r[n],r[n--]=r[i+m-1],r[i+--m]=b;else if(n!=8)return;return r},$$e=function(e){for(var r=null,n=1,i=null,u=0,l=0;l<8;l++)e[l]!==0?(u>n&&(r=i,n=u),i=null,u=0):(i===null&&(i=l),++u);return u>n&&(r=i,n=u),r},Ad=function(e){var r,n,i,u;if(typeof e=="number"){for(r=[],n=0;n<4;n++)k$e(r,e%256),e=T$e(e/256);return xd(r,".")}else if(Sx(e)=="object"){for(r="",i=$$e(e),n=0;n<8;n++)u&&e[n]===0||(u&&(u=!1),i===n?(r+=n?":":"::",u=!0):(r+=A$e(e[n],16),n<7&&(r+=":")));return"["+r+"]"}return e},qw={},RH=xx({},qw,{" ":1,'"':1,"<":1,">":1,"`":1}),IH=xx({},RH,{"#":1,"?":1,"{":1,"}":1}),fx=xx({},IH,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),gu=function(e,r){var n=b$e(e,0);return n>32&&n<127&&!_x(r,e)?e:encodeURIComponent(e)},Iw={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Rd=function(e,r){var n;return e.length==2&&Fi(AH,li(e,0))&&((n=li(e,1))==":"||!r&&n=="|")},mH=function(e){var r;return e.length>1&&Rd(Id(e,0,2))&&(e.length==2||(r=li(e,2))==="/"||r==="\\"||r==="?"||r==="#")},z$e=function(e){return e==="."||Nw(e)==="%2e"},H$e=function(e){return e=Nw(e),e===".."||e==="%2e."||e===".%2e"||e==="%2e%2e"},px={},gH={},hx={},bH={},wH={},dx={},OH={},SH={},kw={},jw={},vx={},yx={},mx={},gx={},_H={},bx={},df={},mo={},PH={},Qs={},Zo={},kH=function t(e,r,n){var i=ea(e),u,l,c;if(r){if(l=this.parse(i),l)throw Px(l);this.searchParams=null}else{if(n!==void 0&&(u=new t(n,!0)),l=this.parse(i,null,u),l)throw Px(l);c=E$e(new P$e),c.bindURL(this),this.searchParams=c}};kH.prototype={type:"URL",parse:function(e,r,n){var i=this,u=r||px,l=0,c="",f=!1,d=!1,y=!1,m,b,O,E;for(e=ea(e),r||(i.scheme="",i.username="",i.password="",i.host=null,i.port=null,i.path=[],i.query=null,i.fragment=null,i.cannotBeABaseURL=!1,e=vH(e,M$e,"")),e=vH(e,U$e,""),m=hf(e);l<=m.length;){switch(b=m[l],u){case px:if(b&&Fi(AH,b))c+=Nw(b),u=gH;else{if(r)return cx;u=hx;continue}break;case gH:if(b&&(Fi(q$e,b)||b=="+"||b=="-"||b=="."))c+=Nw(b);else if(b==":"){if(r&&(i.isSpecial()!=_x(Iw,c)||c=="file"&&(i.includesCredentials()||i.port!==null)||i.scheme=="file"&&!i.host))return;if(i.scheme=c,r){i.isSpecial()&&Iw[i.scheme]==i.port&&(i.port=null);return}c="",i.scheme=="file"?u=gx:i.isSpecial()&&n&&n.scheme==i.scheme?u=bH:i.isSpecial()?u=SH:m[l+1]=="/"?(u=wH,l++):(i.cannotBeABaseURL=!0,vf(i.path,""),u=PH)}else{if(r)return cx;c="",u=hx,l=0;continue}break;case hx:if(!n||n.cannotBeABaseURL&&b!="#")return cx;if(n.cannotBeABaseURL&&b=="#"){i.scheme=n.scheme,i.path=qi(n.path),i.query=n.query,i.fragment="",i.cannotBeABaseURL=!0,u=Zo;break}u=n.scheme=="file"?gx:dx;continue;case bH:if(b=="/"&&m[l+1]=="/")u=kw,l++;else{u=dx;continue}break;case wH:if(b=="/"){u=jw;break}else{u=mo;continue}case dx:if(i.scheme=n.scheme,b==ui)i.username=n.username,i.password=n.password,i.host=n.host,i.port=n.port,i.path=qi(n.path),i.query=n.query;else if(b=="/"||b=="\\"&&i.isSpecial())u=OH;else if(b=="?")i.username=n.username,i.password=n.password,i.host=n.host,i.port=n.port,i.path=qi(n.path),i.query="",u=Qs;else if(b=="#")i.username=n.username,i.password=n.password,i.host=n.host,i.port=n.port,i.path=qi(n.path),i.query=n.query,i.fragment="",u=Zo;else{i.username=n.username,i.password=n.password,i.host=n.host,i.port=n.port,i.path=qi(n.path),i.path.length--,u=mo;continue}break;case OH:if(i.isSpecial()&&(b=="/"||b=="\\"))u=kw;else if(b=="/")u=jw;else{i.username=n.username,i.password=n.password,i.host=n.host,i.port=n.port,u=mo;continue}break;case SH:if(u=kw,b!="/"||li(c,l+1)!="/")continue;l++;break;case kw:if(b!="/"&&b!="\\"){u=jw;continue}break;case jw:if(b=="@"){f&&(c="%40"+c),f=!0,O=hf(c);for(var P=0;P65535)return yH;i.port=i.isSpecial()&&R===Iw[i.scheme]?null:R,c=""}if(r)return;u=df;continue}else return yH;break;case gx:if(i.scheme="file",b=="/"||b=="\\")u=_H;else if(n&&n.scheme=="file")if(b==ui)i.host=n.host,i.path=qi(n.path),i.query=n.query;else if(b=="?")i.host=n.host,i.path=qi(n.path),i.query="",u=Qs;else if(b=="#")i.host=n.host,i.path=qi(n.path),i.query=n.query,i.fragment="",u=Zo;else{mH(xd(qi(m,l),""))||(i.host=n.host,i.path=qi(n.path),i.shortenPath()),u=mo;continue}else{u=mo;continue}break;case _H:if(b=="/"||b=="\\"){u=bx;break}n&&n.scheme=="file"&&!mH(xd(qi(m,l),""))&&(Rd(n.path[0],!0)?vf(i.path,n.path[0]):i.host=n.host),u=mo;continue;case bx:if(b==ui||b=="/"||b=="\\"||b=="?"||b=="#"){if(!r&&Rd(c))u=mo;else if(c==""){if(i.host="",r)return;u=df}else{if(E=i.parseHost(c),E)return E;if(i.host=="localhost"&&(i.host=""),r)return;c="",u=df}continue}else c+=b;break;case df:if(i.isSpecial()){if(u=mo,b!="/"&&b!="\\")continue}else if(!r&&b=="?")i.query="",u=Qs;else if(!r&&b=="#")i.fragment="",u=Zo;else if(b!=ui&&(u=mo,b!="/"))continue;break;case mo:if(b==ui||b=="/"||b=="\\"&&i.isSpecial()||!r&&(b=="?"||b=="#")){if(H$e(c)?(i.shortenPath(),b!="/"&&!(b=="\\"&&i.isSpecial())&&vf(i.path,"")):z$e(c)?b!="/"&&!(b=="\\"&&i.isSpecial())&&vf(i.path,""):(i.scheme=="file"&&!i.path.length&&Rd(c)&&(i.host&&(i.host=""),c=li(c,0)+":"),vf(i.path,c)),c="",i.scheme=="file"&&(b==ui||b=="?"||b=="#"))for(;i.path.length>1&&i.path[0]==="";)R$e(i.path);b=="?"?(i.query="",u=Qs):b=="#"&&(i.fragment="",u=Zo)}else c+=gu(b,IH);break;case PH:b=="?"?(i.query="",u=Qs):b=="#"?(i.fragment="",u=Zo):b!=ui&&(i.path[0]+=gu(b,qw));break;case Qs:!r&&b=="#"?(i.fragment="",u=Zo):b!=ui&&(b=="'"&&i.isSpecial()?i.query+="%27":b=="#"?i.query+="%23":i.query+=gu(b,qw));break;case Zo:b!=ui&&(i.fragment+=gu(b,RH));break}l++}},parseHost:function(e){var r,n,i;if(li(e,0)=="["){if(li(e,e.length-1)!="]"||(r=G$e(Id(e,1,-1)),!r))return Xs;this.host=r}else if(this.isSpecial()){if(e=w$e(e),Fi(N$e,e)||(r=B$e(e),r===null))return Xs;this.host=r}else{if(Fi(D$e,e))return Xs;for(r="",n=hf(e),i=0;i1?arguments[1]:void 0,i=_$e(r,new kH(e,!1,n));Tx||(r.href=i.serialize(),r.origin=i.getOrigin(),r.protocol=i.getProtocol(),r.username=i.getUsername(),r.password=i.getPassword(),r.host=i.getHost(),r.hostname=i.getHostname(),r.port=i.getPort(),r.pathname=i.getPathname(),r.search=i.getSearch(),r.searchParams=i.getSearchParams(),r.hash=i.getHash())},Kr=yf.prototype,si=function(e,r){return{get:function(){return Lw(this)[e]()},set:r&&function(n){return Lw(this)[r](n)},configurable:!0,enumerable:!0}};Tx&&(ai(Kr,"href",si("serialize","setHref")),ai(Kr,"origin",si("getOrigin")),ai(Kr,"protocol",si("getProtocol","setProtocol")),ai(Kr,"username",si("getUsername","setUsername")),ai(Kr,"password",si("getPassword","setPassword")),ai(Kr,"host",si("getHost","setHost")),ai(Kr,"hostname",si("getHostname","setHostname")),ai(Kr,"port",si("getPort","setPort")),ai(Kr,"pathname",si("getPathname","setPathname")),ai(Kr,"search",si("getSearch","setSearch")),ai(Kr,"searchParams",si("getSearchParams")),ai(Kr,"hash",si("getHash","setHash")));Fw(Kr,"toJSON",function(){return Lw(this).serialize()},{enumerable:!0});Fw(Kr,"toString",function(){return Lw(this).serialize()},{enumerable:!0});Td&&(wx=Td.createObjectURL,Ox=Td.revokeObjectURL,wx&&Fw(yf,"createObjectURL",hH(wx,Td)),Ox&&Fw(yf,"revokeObjectURL",hH(Ox,Td)));var wx,Ox;O$e(yf,"URL");y$e({global:!0,constructor:!0,forced:!m$e,sham:!Tx},{URL:yf})});var WH=B(function(Bgt,Bw){function jd(t){"@babel/helpers - typeof";return jd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jd(t)}var Lx=function(t){"use strict";var e=Object.prototype,r=e.hasOwnProperty,n,i=typeof Symbol=="function"?Symbol:{},u=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function f(s,o,a){return Object.defineProperty(s,o,{value:a,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{f({},"")}catch(s){f=function(a,p,v){return a[p]=v}}function d(s,o,a,p){var v=o&&o.prototype instanceof S?o:S,h=Object.create(v.prototype),g=new $(p||[]);return h._invoke=U(s,a,g),h}t.wrap=d;function y(s,o,a){try{return{type:"normal",arg:s.call(o,a)}}catch(p){return{type:"throw",arg:p}}}var m="suspendedStart",b="suspendedYield",O="executing",E="completed",P={};function S(){}function x(){}function R(){}var A={};f(A,u,function(){return this});var k=Object.getPrototypeOf,C=k&&k(k(H([])));C&&C!==e&&r.call(C,u)&&(A=C);var F=R.prototype=S.prototype=Object.create(A);x.prototype=R,f(F,"constructor",R),f(R,"constructor",x),x.displayName=f(R,c,"GeneratorFunction");function I(s){["next","throw","return"].forEach(function(o){f(s,o,function(a){return this._invoke(o,a)})})}t.isGeneratorFunction=function(s){var o=typeof s=="function"&&s.constructor;return o?o===x||(o.displayName||o.name)==="GeneratorFunction":!1},t.mark=function(s){return Object.setPrototypeOf?Object.setPrototypeOf(s,R):(s.__proto__=R,f(s,c,"GeneratorFunction")),s.prototype=Object.create(F),s},t.awrap=function(s){return{__await:s}};function z(s,o){function a(h,g,w,_){var j=y(s[h],s,g);if(j.type==="throw")_(j.arg);else{var q=j.arg,N=q.value;return N&&jd(N)==="object"&&r.call(N,"__await")?o.resolve(N.__await).then(function(Me){a("next",Me,w,_)},function(Me){a("throw",Me,w,_)}):o.resolve(N).then(function(Me){q.value=Me,w(q)},function(Me){return a("throw",Me,w,_)})}}var p;function v(h,g){function w(){return new o(function(_,j){a(h,g,_,j)})}return p=p?p.then(w,w):w()}this._invoke=v}I(z.prototype),f(z.prototype,l,function(){return this}),t.AsyncIterator=z,t.async=function(s,o,a,p,v){v===void 0&&(v=Promise);var h=new z(d(s,o,a,p),v);return t.isGeneratorFunction(o)?h:h.next().then(function(g){return g.done?g.value:h.next()})};function U(s,o,a){var p=m;return function(h,g){if(p===O)throw new Error("Generator is already running");if(p===E){if(h==="throw")throw g;return V()}for(a.method=h,a.arg=g;;){var w=a.delegate;if(w){var _=Y(w,a);if(_){if(_===P)continue;return _}}if(a.method==="next")a.sent=a._sent=a.arg;else if(a.method==="throw"){if(p===m)throw p=E,a.arg;a.dispatchException(a.arg)}else a.method==="return"&&a.abrupt("return",a.arg);p=O;var j=y(s,o,a);if(j.type==="normal"){if(p=a.done?E:b,j.arg===P)continue;return{value:j.arg,done:a.done}}else j.type==="throw"&&(p=E,a.method="throw",a.arg=j.arg)}}}function Y(s,o){var a=s.iterator[o.method];if(a===n){if(o.delegate=null,o.method==="throw"){if(s.iterator.return&&(o.method="return",o.arg=n,Y(s,o),o.method==="throw"))return P;o.method="throw",o.arg=new TypeError("The iterator does not provide a 'throw' method")}return P}var p=y(a,s.iterator,o.arg);if(p.type==="throw")return o.method="throw",o.arg=p.arg,o.delegate=null,P;var v=p.arg;if(!v)return o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,P;if(v.done)o[s.resultName]=v.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=n);else return v;return o.delegate=null,P}I(F),f(F,c,"Generator"),f(F,u,function(){return this}),f(F,"toString",function(){return"[object Generator]"});function Q(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function X(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function $(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(Q,this),this.reset(!0)}t.keys=function(s){var o=[];for(var a in s)o.push(a);return o.reverse(),function p(){for(;o.length;){var v=o.pop();if(v in s)return p.value=v,p.done=!1,p}return p.done=!0,p}};function H(s){if(s){var o=s[u];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var a=-1,p=function v(){for(;++a=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=r.call(h,"catchLoc"),_=r.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&r.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),X(p),P}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;X(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:H(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=n),P}},t}((typeof Bw=="undefined"?"undefined":jd(Bw))==="object"?Bw.exports:{});try{regeneratorRuntime=Lx}catch(t){(typeof globalThis=="undefined"?"undefined":jd(globalThis))==="object"?globalThis.regeneratorRuntime=Lx:Function("r","regeneratorRuntime = r")(Lx)}});var Cx=B(function($gt,ZH){ZH.exports=function(){var e={},r=e._fns={};e.emit=function(l,c,f,d,y,m,b){var O=n(l);O.length&&i(l,O,[c,f,d,y,m,b])},e.on=function(l,c){r[l]||(r[l]=[]),r[l].push(c)},e.once=function(l,c){function f(){c.apply(this,arguments),e.off(l,f)}this.on(l,f)},e.off=function(l,c){var f=[];if(l&&c){var d=this._fns[l],y=0,m=d?d.length:0;for(y;y=e||I<0||m&&z>=u}function x(){var F=zx();if(S(F))return R(F);c=setTimeout(x,P(F))}function R(F){return c=void 0,b&&n?O(F):(n=i=void 0,l)}function A(){c!==void 0&&clearTimeout(c),d=0,n=f=i=c=void 0}function k(){return c===void 0?l:R(zx())}function C(){var F=zx(),I=S(F);if(n=arguments,i=this,f=F,I){if(c===void 0)return E(f);if(m)return clearTimeout(c),c=setTimeout(x,e),O(f)}return c===void 0&&(c=setTimeout(x,e)),l}return C.cancel=A,C.flush=k,C}IW.exports=mHe});var Hw=B(function(obt,kW){var gHe=Hx(),bHe=zw(),wHe="Expected a function";function OHe(t,e,r){var n=!0,i=!0;if(typeof t!="function")throw new TypeError(wHe);return bHe(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),gHe(t,e,{leading:n,maxWait:e,trailing:i})}kW.exports=OHe});var Bd=B(function(bbt,GW){"use strict";function Qx(t){"@babel/helpers - typeof";return Qx=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qx(t)}GW.exports=function(e){if(typeof e!="number"||Number.isNaN(e))throw new TypeError("Expected a number, got ".concat(Qx(e)));var r=e<0,n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(r&&(e=-e),e<1)return"".concat((r?"-":"")+e," B");var i=Math.min(Math.floor(Math.log(e)/Math.log(1024)),n.length-1);e=Number(e/Math.pow(1024,i));var u=n[i];return e>=10||e%1===0?"".concat((r?"-":"")+e.toFixed(0)," ").concat(u):"".concat((r?"-":"")+e.toFixed(1)," ").concat(u)}});var HW=B(function(wbt,zW){"use strict";function Jx(t){"@babel/helpers - typeof";return Jx=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jx(t)}function $W(t,e){this.text=t=t||"",this.hasWild=~t.indexOf("*"),this.separator=e,this.parts=t.split(e)}$W.prototype.match=function(t){var e=!0,r=this.parts,n,i=r.length,u;if(typeof t=="string"||t instanceof String)if(!this.hasWild&&this.text!=t)e=!1;else{for(u=(t||"").split(this.separator),n=0;e&&n=2}return e?r(e.split(";")[0]):r}});var BV=B(function(ewt,UV){function di(t,e){typeof e=="boolean"&&(e={forever:e}),this._originalTimeouts=JSON.parse(JSON.stringify(t)),this._timeouts=t,this._options=e||{},this._maxRetryTime=e&&e.maxRetryTime||1/0,this._fn=null,this._errors=[],this._attempts=1,this._operationTimeout=null,this._operationTimeoutCb=null,this._timeout=null,this._operationStart=null,this._timer=null,this._options.forever&&(this._cachedTimeouts=this._timeouts.slice(0))}UV.exports=di;di.prototype.reset=function(){this._attempts=1,this._timeouts=this._originalTimeouts.slice(0)};di.prototype.stop=function(){this._timeout&&clearTimeout(this._timeout),this._timer&&clearTimeout(this._timer),this._timeouts=[],this._cachedTimeouts=null};di.prototype.retry=function(t){if(this._timeout&&clearTimeout(this._timeout),!t)return!1;var e=new Date().getTime();if(t&&e-this._operationStart>=this._maxRetryTime)return this._errors.push(t),this._errors.unshift(new Error("RetryOperation timeout occurred")),!1;this._errors.push(t);var r=this._timeouts.shift();if(r===void 0)if(this._cachedTimeouts)this._errors.splice(0,this._errors.length-1),r=this._cachedTimeouts.slice(-1);else return!1;var n=this;return this._timer=setTimeout(function(){n._attempts++,n._operationTimeoutCb&&(n._timeout=setTimeout(function(){n._operationTimeoutCb(n._attempts)},n._operationTimeout),n._options.unref&&n._timeout.unref()),n._fn(n._attempts)},r),this._options.unref&&this._timer.unref(),!0};di.prototype.attempt=function(t,e){this._fn=t,e&&(e.timeout&&(this._operationTimeout=e.timeout),e.cb&&(this._operationTimeoutCb=e.cb));var r=this;this._operationTimeoutCb&&(this._timeout=setTimeout(function(){r._operationTimeoutCb()},r._operationTimeout)),this._operationStart=new Date().getTime(),this._fn(this._attempts)};di.prototype.try=function(t){console.log("Using RetryOperation.try() is deprecated"),this.attempt(t)};di.prototype.start=function(t){console.log("Using RetryOperation.start() is deprecated"),this.attempt(t)};di.prototype.start=di.prototype.try;di.prototype.errors=function(){return this._errors};di.prototype.attempts=function(){return this._attempts};di.prototype.mainError=function(){if(this._errors.length===0)return null;for(var t={},e=null,r=0,n=0;n=r&&(e=i,r=l)}return e}});var GV=B(function(il){var rVe=BV();il.operation=function(t){var e=il.timeouts(t);return new rVe(e,{forever:t&&(t.forever||t.retries===1/0),unref:t&&t.unref,maxRetryTime:t&&t.maxRetryTime})};il.timeouts=function(t){if(t instanceof Array)return[].concat(t);var e={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1};for(var r in t)e[r]=t[r];if(e.minTimeout>e.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");for(var n=[],i=0;iW.length)&&(L=W.length);for(var M=0,D=new Array(L);M
',Cm=Number.isNaN||E.isNaN;function Le(W){return typeof W=="number"&&!Cm(W)}var $p=function(L){return L>0&&L<1/0};function lc(W){return typeof W=="undefined"}function eo(W){return t(W)==="object"&&W!==null}var Nm=Object.prototype.hasOwnProperty;function Lo(W){if(!eo(W))return!1;try{var L=W.constructor,M=L.prototype;return L&&M&&Nm.call(M,"isPrototypeOf")}catch(D){return!1}}function _r(W){return typeof W=="function"}var Dm=Array.prototype.slice;function Mm(W){return Array.from?Array.from(W):Dm.call(W)}function kt(W,L){return W&&_r(L)&&(Array.isArray(W)||Le(W.length)?Mm(W).forEach(function(M,D){L.call(W,M,D,W)}):eo(W)&&Object.keys(W).forEach(function(M){L.call(W,W[M],M,W)})),W}var lt=Object.assign||function(L){for(var M=arguments.length,D=new Array(M>1?M-1:0),J=1;J0&&D.forEach(function(K){eo(K)&&Object.keys(K).forEach(function(Z){L[Z]=K[Z]})}),L},FS=/\.\d*(?:0|9){12}\d*$/;function to(W){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return FS.test(W)?Math.round(W*L)/L:W}var Um=/^width|height|left|top|marginLeft|marginTop$/;function Pi(W,L){var M=W.style;kt(L,function(D,J){Um.test(J)&&Le(D)&&(D="".concat(D,"px")),M[J]=D})}function zp(W,L){return W.classList?W.classList.contains(L):W.className.indexOf(L)>-1}function jt(W,L){if(L){if(Le(W.length)){kt(W,function(D){jt(D,L)});return}if(W.classList){W.classList.add(L);return}var M=W.className.trim();M?M.indexOf(L)<0&&(W.className="".concat(M," ").concat(L)):W.className=L}}function An(W,L){if(L){if(Le(W.length)){kt(W,function(M){An(M,L)});return}if(W.classList){W.classList.remove(L);return}W.className.indexOf(L)>=0&&(W.className=W.className.replace(L,""))}}function Co(W,L,M){if(L){if(Le(W.length)){kt(W,function(D){Co(D,L,M)});return}M?jt(W,L):An(W,L)}}var Bm=/([a-z\d])([A-Z])/g;function cc(W){return W.replace(Bm,"$1-$2").toLowerCase()}function fc(W,L){return eo(W[L])?W[L]:W.dataset?W.dataset[L]:W.getAttribute("data-".concat(cc(L)))}function pc(W,L,M){eo(M)?W[L]=M:W.dataset?W.dataset[L]=M:W.setAttribute("data-".concat(cc(L)),M)}function hs(W,L){if(eo(W[L]))try{delete W[L]}catch(M){W[L]=void 0}else if(W.dataset)try{delete W.dataset[L]}catch(M){W.dataset[L]=void 0}else W.removeAttribute("data-".concat(cc(L)))}var Hp=/\s\s*/,Wp=function(){var W=!1;if(O){var L=!1,M=function(){},D=Object.defineProperty({},"once",{get:function(){return W=!0,L},set:function(K){L=K}});E.addEventListener("test",M,D),E.removeEventListener("test",M,D)}return W}();function vr(W,L,M){var D=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},J=M;L.trim().split(Hp).forEach(function(K){if(!Wp){var Z=W.listeners;Z&&Z[K]&&Z[K][M]&&(J=Z[K][M],delete Z[K][M],Object.keys(Z[K]).length===0&&delete Z[K],Object.keys(Z).length===0&&delete W.listeners)}W.removeEventListener(K,J,D)})}function Cr(W,L,M){var D=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},J=M;L.trim().split(Hp).forEach(function(K){if(D.once&&!Wp){var Z=W.listeners,ee=Z===void 0?{}:Z;J=function(){delete ee[K][M],W.removeEventListener(K,J,D);for(var ne=arguments.length,re=new Array(ne),te=0;te1&&arguments[1]!==void 0?arguments[1]:"contain",K=$p(D),Z=$p(M);if(K&&Z){var ee=M*L;J==="contain"&&ee>D||J==="cover"&&ee90?{width:ae,height:ee}:{width:ee,height:ae}}function Xie(W,L,M,D){var J=L.aspectRatio,K=L.naturalWidth,Z=L.naturalHeight,ee=L.rotate,ae=ee===void 0?0:ee,ne=L.scaleX,re=ne===void 0?1:ne,te=L.scaleY,oe=te===void 0?1:te,Ye=M.aspectRatio,We=M.naturalWidth,mt=M.naturalHeight,et=D.fillColor,rr=et===void 0?"transparent":et,yr=D.imageSmoothingEnabled,$t=yr===void 0?!0:yr,No=D.imageSmoothingQuality,xn=No===void 0?"low":No,se=D.maxWidth,tt=se===void 0?1/0:se,nr=D.maxHeight,ni=nr===void 0?1/0:nr,Do=D.minWidth,ds=Do===void 0?0:Do,vs=D.minHeight,Ua=vs===void 0?0:vs,ro=document.createElement("canvas"),fn=ro.getContext("2d"),ys=Ma({aspectRatio:Ye,width:tt,height:ni}),$m=Ma({aspectRatio:Ye,width:ds,height:Ua},"cover"),CS=Math.min(ys.width,Math.max($m.width,We)),NS=Math.min(ys.height,Math.max($m.height,mt)),$F=Ma({aspectRatio:J,width:tt,height:ni}),zF=Ma({aspectRatio:J,width:ds,height:Ua},"cover"),HF=Math.min($F.width,Math.max(zF.width,K)),WF=Math.min($F.height,Math.max(zF.height,Z)),coe=[-HF/2,-WF/2,HF,WF];return ro.width=to(CS),ro.height=to(NS),fn.fillStyle=rr,fn.fillRect(0,0,CS,NS),fn.save(),fn.translate(CS/2,NS/2),fn.rotate(ae*Math.PI/180),fn.scale(re,oe),fn.imageSmoothingEnabled=$t,fn.imageSmoothingQuality=xn,fn.drawImage.apply(fn,[W].concat(c(coe.map(function(foe){return Math.floor(to(foe))})))),fn.restore(),ro}var BF=String.fromCharCode;function Qie(W,L,M){var D="";M+=L;for(var J=L;J0;)M.push(BF.apply(null,Mm(J.subarray(0,D)))),J=J.subarray(D);return"data:".concat(L,";base64,").concat(btoa(M.join("")))}function toe(W){var L=new DataView(W),M;try{var D,J,K;if(L.getUint8(0)===255&&L.getUint8(1)===216)for(var Z=L.byteLength,ee=2;ee+1=8&&(K=ne+te)}}}if(K){var oe=L.getUint16(K,D),Ye,We;for(We=0;WeL.width?D===3?ae=L.height*ee:ne=L.width/ee:D===3?ne=L.width/ee:ae=L.height*ee;var re={aspectRatio:ee,naturalWidth:K,naturalHeight:Z,width:ae,height:ne};re.left=(L.width-ae)/2,re.top=(L.height-ne)/2,re.oldLeft=re.left,re.oldTop=re.top,this.canvasData=re,this.limited=D===1||D===2,this.limitCanvas(!0,!0),this.initialImageData=lt({},M),this.initialCanvasData=lt({},re)},limitCanvas:function(L,M){var D=this.options,J=this.containerData,K=this.canvasData,Z=this.cropBoxData,ee=D.viewMode,ae=K.aspectRatio,ne=this.cropped&&Z;if(L){var re=Number(D.minCanvasWidth)||0,te=Number(D.minCanvasHeight)||0;ee>1?(re=Math.max(re,J.width),te=Math.max(te,J.height),ee===3&&(te*ae>re?re=te*ae:te=re/ae)):ee>0&&(re?re=Math.max(re,ne?Z.width:0):te?te=Math.max(te,ne?Z.height:0):ne&&(re=Z.width,te=Z.height,te*ae>re?re=te*ae:te=re/ae));var oe=Ma({aspectRatio:ae,width:re,height:te});re=oe.width,te=oe.height,K.minWidth=re,K.minHeight=te,K.maxWidth=1/0,K.maxHeight=1/0}if(M)if(ee>(ne?0:1)){var Ye=J.width-K.width,We=J.height-K.height;K.minLeft=Math.min(0,Ye),K.minTop=Math.min(0,We),K.maxLeft=Math.max(0,Ye),K.maxTop=Math.max(0,We),ne&&this.limited&&(K.minLeft=Math.min(Z.left,Z.left+(Z.width-K.width)),K.minTop=Math.min(Z.top,Z.top+(Z.height-K.height)),K.maxLeft=Z.left,K.maxTop=Z.top,ee===2&&(K.width>=J.width&&(K.minLeft=Math.min(0,Ye),K.maxLeft=Math.max(0,Ye)),K.height>=J.height&&(K.minTop=Math.min(0,We),K.maxTop=Math.max(0,We))))}else K.minLeft=-K.width,K.minTop=-K.height,K.maxLeft=J.width,K.maxTop=J.height},renderCanvas:function(L,M){var D=this.canvasData,J=this.imageData;if(M){var K=Yie({width:J.naturalWidth*Math.abs(J.scaleX||1),height:J.naturalHeight*Math.abs(J.scaleY||1),degree:J.rotate||0}),Z=K.width,ee=K.height,ae=D.width*(Z/D.naturalWidth),ne=D.height*(ee/D.naturalHeight);D.left-=(ae-D.width)/2,D.top-=(ne-D.height)/2,D.width=ae,D.height=ne,D.aspectRatio=Z/ee,D.naturalWidth=Z,D.naturalHeight=ee,this.limitCanvas(!0,!1)}(D.width>D.maxWidth||D.widthD.maxHeight||D.heightM.width?K.height=K.width/D:K.width=K.height*D),this.cropBoxData=K,this.limitCropBox(!0,!0),K.width=Math.min(Math.max(K.width,K.minWidth),K.maxWidth),K.height=Math.min(Math.max(K.height,K.minHeight),K.maxHeight),K.width=Math.max(K.minWidth,K.width*J),K.height=Math.max(K.minHeight,K.height*J),K.left=M.left+(M.width-K.width)/2,K.top=M.top+(M.height-K.height)/2,K.oldLeft=K.left,K.oldTop=K.top,this.initialCropBoxData=lt({},K)},limitCropBox:function(L,M){var D=this.options,J=this.containerData,K=this.canvasData,Z=this.cropBoxData,ee=this.limited,ae=D.aspectRatio;if(L){var ne=Number(D.minCropBoxWidth)||0,re=Number(D.minCropBoxHeight)||0,te=ee?Math.min(J.width,K.width,K.width+K.left,J.width-K.left):J.width,oe=ee?Math.min(J.height,K.height,K.height+K.top,J.height-K.top):J.height;ne=Math.min(ne,J.width),re=Math.min(re,J.height),ae&&(ne&&re?re*ae>ne?re=ne/ae:ne=re*ae:ne?re=ne/ae:re&&(ne=re*ae),oe*ae>te?oe=te/ae:te=oe*ae),Z.minWidth=Math.min(ne,te),Z.minHeight=Math.min(re,oe),Z.maxWidth=te,Z.maxHeight=oe}M&&(ee?(Z.minLeft=Math.max(0,K.left),Z.minTop=Math.max(0,K.top),Z.maxLeft=Math.min(J.width,K.left+K.width)-Z.width,Z.maxTop=Math.min(J.height,K.top+K.height)-Z.height):(Z.minLeft=0,Z.minTop=0,Z.maxLeft=J.width-Z.width,Z.maxTop=J.height-Z.height))},renderCropBox:function(){var L=this.options,M=this.containerData,D=this.cropBoxData;(D.width>D.maxWidth||D.widthD.maxHeight||D.height=M.width&&D.height>=M.height?k:R),Pi(this.cropBox,lt({width:D.width,height:D.height},Vp({translateX:D.left,translateY:D.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),ri(this.element,q,this.getData())}},ioe={initPreview:function(){var L=this.element,M=this.crossOrigin,D=this.options.preview,J=M?this.crossOriginUrl:this.url,K=L.alt||"The image to preview",Z=document.createElement("img");if(M&&(Z.crossOrigin=M),Z.src=J,Z.alt=K,this.viewBox.appendChild(Z),this.viewBoxImage=Z,!!D){var ee=D;typeof D=="string"?ee=L.ownerDocument.querySelectorAll(D):D.querySelector&&(ee=[D]),this.previews=ee,kt(ee,function(ae){var ne=document.createElement("img");pc(ae,g,{width:ae.offsetWidth,height:ae.offsetHeight,html:ae.innerHTML}),M&&(ne.crossOrigin=M),ne.src=J,ne.alt=K,ne.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',ae.innerHTML="",ae.appendChild(ne)})}},resetPreview:function(){kt(this.previews,function(L){var M=fc(L,g);Pi(L,{width:M.width,height:M.height}),L.innerHTML=M.html,hs(L,g)})},preview:function(){var L=this.imageData,M=this.canvasData,D=this.cropBoxData,J=D.width,K=D.height,Z=L.width,ee=L.height,ae=D.left-M.left-L.left,ne=D.top-M.top-L.top;!this.cropped||this.disabled||(Pi(this.viewBoxImage,lt({width:Z,height:ee},Vp(lt({translateX:-ae,translateY:-ne},L)))),kt(this.previews,function(re){var te=fc(re,g),oe=te.width,Ye=te.height,We=oe,mt=Ye,et=1;J&&(et=oe/J,mt=K*et),K&&mt>Ye&&(et=Ye/K,We=J*et,mt=Ye),Pi(re,{width:We,height:mt}),Pi(re.getElementsByTagName("img")[0],lt({width:Z*et,height:ee*et},Vp(lt({translateX:-ae*et,translateY:-ne*et},L))))}))}},ooe={bind:function(){var L=this.element,M=this.options,D=this.cropper;_r(M.cropstart)&&Cr(L,Fe,M.cropstart),_r(M.cropmove)&&Cr(L,Me,M.cropmove),_r(M.cropend)&&Cr(L,N,M.cropend),_r(M.crop)&&Cr(L,q,M.crop),_r(M.zoom)&&Cr(L,ls,M.zoom),Cr(D,Zt,this.onCropStart=this.cropStart.bind(this)),M.zoomable&&M.zoomOnWheel&&Cr(D,_i,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),M.toggleDragModeOnDblclick&&Cr(D,Te,this.onDblclick=this.dblclick.bind(this)),Cr(L.ownerDocument,pt,this.onCropMove=this.cropMove.bind(this)),Cr(L.ownerDocument,we,this.onCropEnd=this.cropEnd.bind(this)),M.responsive&&Cr(window,It,this.onResize=this.resize.bind(this))},unbind:function(){var L=this.element,M=this.options,D=this.cropper;_r(M.cropstart)&&vr(L,Fe,M.cropstart),_r(M.cropmove)&&vr(L,Me,M.cropmove),_r(M.cropend)&&vr(L,N,M.cropend),_r(M.crop)&&vr(L,q,M.crop),_r(M.zoom)&&vr(L,ls,M.zoom),vr(D,Zt,this.onCropStart),M.zoomable&&M.zoomOnWheel&&vr(D,_i,this.onWheel,{passive:!1,capture:!0}),M.toggleDragModeOnDblclick&&vr(D,Te,this.onDblclick),vr(L.ownerDocument,pt,this.onCropMove),vr(L.ownerDocument,we,this.onCropEnd),M.responsive&&vr(window,It,this.onResize)}},aoe={resize:function(){if(!this.disabled){var L=this.options,M=this.container,D=this.containerData,J=M.offsetWidth/D.width;if(J!==1||M.offsetHeight!==D.height){var K,Z;L.restore&&(K=this.getCanvasData(),Z=this.getCropBoxData()),this.render(),L.restore&&(this.setCanvasData(kt(K,function(ee,ae){K[ae]=ee*J})),this.setCropBoxData(kt(Z,function(ee,ae){Z[ae]=ee*J})))}}},dblclick:function(){this.disabled||this.options.dragMode===j||this.setDragMode(zp(this.dragBox,H)?_:w)},wheel:function(L){var M=this,D=Number(this.options.wheelZoomRatio)||.1,J=1;this.disabled||(L.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){M.wheeling=!1},50),L.deltaY?J=L.deltaY>0?1:-1:L.wheelDelta?J=-L.wheelDelta/120:L.detail&&(J=L.detail>0?1:-1),this.zoom(-J*D,L)))},cropStart:function(L){var M=L.buttons,D=L.button;if(!(this.disabled||(L.type==="mousedown"||L.type==="pointerdown"&&L.pointerType==="mouse")&&(Le(M)&&M!==1||Le(D)&&D!==0||L.ctrlKey))){var J=this.options,K=this.pointers,Z;L.changedTouches?kt(L.changedTouches,function(ee){K[ee.identifier]=Gm(ee)}):K[L.pointerId||0]=Gm(L),Object.keys(K).length>1&&J.zoomable&&J.zoomOnTouch?Z=C:Z=fc(L.target,h),cs.test(Z)&&ri(this.element,Fe,{originalEvent:L,action:Z})!==!1&&(L.preventDefault(),this.action=Z,this.cropping=!1,Z===A&&(this.cropping=!0,jt(this.dragBox,p)))}},cropMove:function(L){var M=this.action;if(!(this.disabled||!M)){var D=this.pointers;L.preventDefault(),ri(this.element,Me,{originalEvent:L,action:M})!==!1&&(L.changedTouches?kt(L.changedTouches,function(J){lt(D[J.identifier]||{},Gm(J,!0))}):lt(D[L.pointerId||0]||{},Gm(L,!0)),this.change(L))}},cropEnd:function(L){if(!this.disabled){var M=this.action,D=this.pointers;L.changedTouches?kt(L.changedTouches,function(J){delete D[J.identifier]}):delete D[L.pointerId||0],M&&(L.preventDefault(),Object.keys(D).length||(this.action=""),this.cropping&&(this.cropping=!1,Co(this.dragBox,p,this.cropped&&this.options.modal)),ri(this.element,N,{originalEvent:L,action:M}))}}},uoe={change:function(L){var M=this.options,D=this.canvasData,J=this.containerData,K=this.cropBoxData,Z=this.pointers,ee=this.action,ae=M.aspectRatio,ne=K.left,re=K.top,te=K.width,oe=K.height,Ye=ne+te,We=re+oe,mt=0,et=0,rr=J.width,yr=J.height,$t=!0,No;!ae&&L.shiftKey&&(ae=te&&oe?te/oe:1),this.limited&&(mt=K.minLeft,et=K.minTop,rr=mt+Math.min(J.width,D.width,D.left+D.width),yr=et+Math.min(J.height,D.height,D.top+D.height));var xn=Z[Object.keys(Z)[0]],se={x:xn.endX-xn.startX,y:xn.endY-xn.startY},tt=function(ni){switch(ni){case F:Ye+se.x>rr&&(se.x=rr-Ye);break;case I:ne+se.xyr&&(se.y=yr-We);break}};switch(ee){case R:ne+=se.x,re+=se.y;break;case F:if(se.x>=0&&(Ye>=rr||ae&&(re<=et||We>=yr))){$t=!1;break}tt(F),te+=se.x,te<0&&(ee=I,te=-te,ne-=te),ae&&(oe=te/ae,re+=(K.height-oe)/2);break;case U:if(se.y<=0&&(re<=et||ae&&(ne<=mt||Ye>=rr))){$t=!1;break}tt(U),oe-=se.y,re+=se.y,oe<0&&(ee=z,oe=-oe,re-=oe),ae&&(te=oe*ae,ne+=(K.width-te)/2);break;case I:if(se.x<=0&&(ne<=mt||ae&&(re<=et||We>=yr))){$t=!1;break}tt(I),te-=se.x,ne+=se.x,te<0&&(ee=F,te=-te,ne-=te),ae&&(oe=te/ae,re+=(K.height-oe)/2);break;case z:if(se.y>=0&&(We>=yr||ae&&(ne<=mt||Ye>=rr))){$t=!1;break}tt(z),oe+=se.y,oe<0&&(ee=U,oe=-oe,re-=oe),ae&&(te=oe*ae,ne+=(K.width-te)/2);break;case Y:if(ae){if(se.y<=0&&(re<=et||Ye>=rr)){$t=!1;break}tt(U),oe-=se.y,re+=se.y,te=oe*ae}else tt(U),tt(F),se.x>=0?Yeet&&(oe-=se.y,re+=se.y):(oe-=se.y,re+=se.y);te<0&&oe<0?(ee=$,oe=-oe,te=-te,re-=oe,ne-=te):te<0?(ee=Q,te=-te,ne-=te):oe<0&&(ee=X,oe=-oe,re-=oe);break;case Q:if(ae){if(se.y<=0&&(re<=et||ne<=mt)){$t=!1;break}tt(U),oe-=se.y,re+=se.y,te=oe*ae,ne+=K.width-te}else tt(U),tt(I),se.x<=0?ne>mt?(te-=se.x,ne+=se.x):se.y<=0&&re<=et&&($t=!1):(te-=se.x,ne+=se.x),se.y<=0?re>et&&(oe-=se.y,re+=se.y):(oe-=se.y,re+=se.y);te<0&&oe<0?(ee=X,oe=-oe,te=-te,re-=oe,ne-=te):te<0?(ee=Y,te=-te,ne-=te):oe<0&&(ee=$,oe=-oe,re-=oe);break;case $:if(ae){if(se.x<=0&&(ne<=mt||We>=yr)){$t=!1;break}tt(I),te-=se.x,ne+=se.x,oe=te/ae}else tt(z),tt(I),se.x<=0?ne>mt?(te-=se.x,ne+=se.x):se.y>=0&&We>=yr&&($t=!1):(te-=se.x,ne+=se.x),se.y>=0?We=0&&(Ye>=rr||We>=yr)){$t=!1;break}tt(F),te+=se.x,oe=te/ae}else tt(z),tt(F),se.x>=0?Ye=0&&We>=yr&&($t=!1):te+=se.x,se.y>=0?We0?ee=se.y>0?X:Y:se.x<0&&(ne-=te,ee=se.y>0?$:Q),se.y<0&&(re-=oe),this.cropped||(An(this.cropBox,s),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}$t&&(K.width=te,K.height=oe,K.left=ne,K.top=re,this.action=ee,this.renderCropBox()),kt(Z,function(nr){nr.startX=nr.endX,nr.startY=nr.endY})}},soe={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&jt(this.dragBox,p),An(this.cropBox,s),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=lt({},this.initialImageData),this.canvasData=lt({},this.initialCanvasData),this.cropBoxData=lt({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(lt(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),An(this.dragBox,p),jt(this.cropBox,s)),this},replace:function(L){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!this.disabled&&L&&(this.isImg&&(this.element.src=L),M?(this.url=L,this.image.src=L,this.ready&&(this.viewBoxImage.src=L,kt(this.previews,function(D){D.getElementsByTagName("img")[0].src=L}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(L))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,An(this.cropper,V)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,jt(this.cropper,V)),this},destroy:function(){var L=this.element;return L[x]?(L[x]=void 0,this.isImg&&this.replaced&&(L.src=this.originalUrl),this.uncreate(),this):this},move:function(L){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:L,D=this.canvasData,J=D.left,K=D.top;return this.moveTo(lc(L)?L:J+Number(L),lc(M)?M:K+Number(M))},moveTo:function(L){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:L,D=this.canvasData,J=!1;return L=Number(L),M=Number(M),this.ready&&!this.disabled&&this.options.movable&&(Le(L)&&(D.left=L,J=!0),Le(M)&&(D.top=M,J=!0),J&&this.renderCanvas(!0)),this},zoom:function(L,M){var D=this.canvasData;return L=Number(L),L<0?L=1/(1-L):L=1+L,this.zoomTo(D.width*L/D.naturalWidth,null,M)},zoomTo:function(L,M,D){var J=this.options,K=this.canvasData,Z=K.width,ee=K.height,ae=K.naturalWidth,ne=K.naturalHeight;if(L=Number(L),L>=0&&this.ready&&!this.disabled&&J.zoomable){var re=ae*L,te=ne*L;if(ri(this.element,ls,{ratio:L,oldRatio:Z/ae,originalEvent:D})===!1)return this;if(D){var oe=this.pointers,Ye=DF(this.cropper),We=oe&&Object.keys(oe).length?Kie(oe):{pageX:D.pageX,pageY:D.pageY};K.left-=(re-Z)*((We.pageX-Ye.left-K.left)/Z),K.top-=(te-ee)*((We.pageY-Ye.top-K.top)/ee)}else Lo(M)&&Le(M.x)&&Le(M.y)?(K.left-=(re-Z)*((M.x-K.left)/Z),K.top-=(te-ee)*((M.y-K.top)/ee)):(K.left-=(re-Z)/2,K.top-=(te-ee)/2);K.width=re,K.height=te,this.renderCanvas(!0)}return this},rotate:function(L){return this.rotateTo((this.imageData.rotate||0)+Number(L))},rotateTo:function(L){return L=Number(L),Le(L)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=L%360,this.renderCanvas(!0,!0)),this},scaleX:function(L){var M=this.imageData.scaleY;return this.scale(L,Le(M)?M:1)},scaleY:function(L){var M=this.imageData.scaleX;return this.scale(Le(M)?M:1,L)},scale:function(L){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:L,D=this.imageData,J=!1;return L=Number(L),M=Number(M),this.ready&&!this.disabled&&this.options.scalable&&(Le(L)&&(D.scaleX=L,J=!0),Le(M)&&(D.scaleY=M,J=!0),J&&this.renderCanvas(!0,!0)),this},getData:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,M=this.options,D=this.imageData,J=this.canvasData,K=this.cropBoxData,Z;if(this.ready&&this.cropped){Z={x:K.left-J.left,y:K.top-J.top,width:K.width,height:K.height};var ee=D.width/D.naturalWidth;if(kt(Z,function(re,te){Z[te]=re/ee}),L){var ae=Math.round(Z.y+Z.height),ne=Math.round(Z.x+Z.width);Z.x=Math.round(Z.x),Z.y=Math.round(Z.y),Z.width=ne-Z.x,Z.height=ae-Z.y}}else Z={x:0,y:0,width:0,height:0};return M.rotatable&&(Z.rotate=D.rotate||0),M.scalable&&(Z.scaleX=D.scaleX||1,Z.scaleY=D.scaleY||1),Z},setData:function(L){var M=this.options,D=this.imageData,J=this.canvasData,K={};if(this.ready&&!this.disabled&&Lo(L)){var Z=!1;M.rotatable&&Le(L.rotate)&&L.rotate!==D.rotate&&(D.rotate=L.rotate,Z=!0),M.scalable&&(Le(L.scaleX)&&L.scaleX!==D.scaleX&&(D.scaleX=L.scaleX,Z=!0),Le(L.scaleY)&&L.scaleY!==D.scaleY&&(D.scaleY=L.scaleY,Z=!0)),Z&&this.renderCanvas(!0,!0);var ee=D.width/D.naturalWidth;Le(L.x)&&(K.left=L.x*ee+J.left),Le(L.y)&&(K.top=L.y*ee+J.top),Le(L.width)&&(K.width=L.width*ee),Le(L.height)&&(K.height=L.height*ee),this.setCropBoxData(K)}return this},getContainerData:function(){return this.ready?lt({},this.containerData):{}},getImageData:function(){return this.sized?lt({},this.imageData):{}},getCanvasData:function(){var L=this.canvasData,M={};return this.ready&&kt(["left","top","width","height","naturalWidth","naturalHeight"],function(D){M[D]=L[D]}),M},setCanvasData:function(L){var M=this.canvasData,D=M.aspectRatio;return this.ready&&!this.disabled&&Lo(L)&&(Le(L.left)&&(M.left=L.left),Le(L.top)&&(M.top=L.top),Le(L.width)?(M.width=L.width,M.height=L.width/D):Le(L.height)&&(M.height=L.height,M.width=L.height*D),this.renderCanvas(!0)),this},getCropBoxData:function(){var L=this.cropBoxData,M;return this.ready&&this.cropped&&(M={left:L.left,top:L.top,width:L.width,height:L.height}),M||{}},setCropBoxData:function(L){var M=this.cropBoxData,D=this.options.aspectRatio,J,K;return this.ready&&this.cropped&&!this.disabled&&Lo(L)&&(Le(L.left)&&(M.left=L.left),Le(L.top)&&(M.top=L.top),Le(L.width)&&L.width!==M.width&&(J=!0,M.width=L.width),Le(L.height)&&L.height!==M.height&&(K=!0,M.height=L.height),D&&(J?M.height=M.width/D:K&&(M.width=M.height*D)),this.renderCropBox()),this},getCroppedCanvas:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var M=this.canvasData,D=Xie(this.image,this.imageData,M,L);if(!this.cropped)return D;var J=this.getData(),K=J.x,Z=J.y,ee=J.width,ae=J.height,ne=D.width/Math.floor(M.naturalWidth);ne!==1&&(K*=ne,Z*=ne,ee*=ne,ae*=ne);var re=ee/ae,te=Ma({aspectRatio:re,width:L.maxWidth||1/0,height:L.maxHeight||1/0}),oe=Ma({aspectRatio:re,width:L.minWidth||0,height:L.minHeight||0},"cover"),Ye=Ma({aspectRatio:re,width:L.width||(ne!==1?D.width:ee),height:L.height||(ne!==1?D.height:ae)}),We=Ye.width,mt=Ye.height;We=Math.min(te.width,Math.max(oe.width,We)),mt=Math.min(te.height,Math.max(oe.height,mt));var et=document.createElement("canvas"),rr=et.getContext("2d");et.width=to(We),et.height=to(mt),rr.fillStyle=L.fillColor||"transparent",rr.fillRect(0,0,We,mt);var yr=L.imageSmoothingEnabled,$t=yr===void 0?!0:yr,No=L.imageSmoothingQuality;rr.imageSmoothingEnabled=$t,No&&(rr.imageSmoothingQuality=No);var xn=D.width,se=D.height,tt=K,nr=Z,ni,Do,ds,vs,Ua,ro;tt<=-ee||tt>xn?(tt=0,ni=0,ds=0,Ua=0):tt<=0?(ds=-tt,tt=0,ni=Math.min(xn,ee+tt),Ua=ni):tt<=xn&&(ds=0,ni=Math.min(ee,xn-tt),Ua=ni),ni<=0||nr<=-ae||nr>se?(nr=0,Do=0,vs=0,ro=0):nr<=0?(vs=-nr,nr=0,Do=Math.min(se,ae+nr),ro=Do):nr<=se&&(vs=0,Do=Math.min(ae,se-nr),ro=Do);var fn=[tt,nr,ni,Do];if(Ua>0&&ro>0){var ys=We/ee;fn.push(ds*ys,vs*ys,Ua*ys,ro*ys)}return rr.drawImage.apply(rr,[D].concat(c(fn.map(function($m){return Math.floor(to($m))})))),et},setAspectRatio:function(L){var M=this.options;return!this.disabled&&!lc(L)&&(M.aspectRatio=Math.max(0,L)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(L){var M=this.options,D=this.dragBox,J=this.face;if(this.ready&&!this.disabled){var K=L===w,Z=M.movable&&L===_;L=K||Z?L:j,M.dragMode=L,pc(D,h,L),Co(D,H,K),Co(D,v,Z),M.cropBoxMovable||(pc(J,h,L),Co(J,H,K),Co(J,v,Z))}return this}},loe=E.Cropper,GF=function(){function W(L){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(e(this,W),!L||!Da.test(L.tagName))throw new Error("The first argument is required and must be an or element.");this.element=L,this.options=lt({},tr,Lo(M)&&M),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return n(W,[{key:"init",value:function(){var M=this.element,D=M.tagName.toLowerCase(),J;if(!M[x]){if(M[x]=this,D==="img"){if(this.isImg=!0,J=M.getAttribute("src")||"",this.originalUrl=J,!J)return;J=M.src}else D==="canvas"&&window.HTMLCanvasElement&&(J=M.toDataURL());this.load(J)}}},{key:"load",value:function(M){var D=this;if(M){this.url=M,this.imageData={};var J=this.element,K=this.options;if(!K.rotatable&&!K.scalable&&(K.checkOrientation=!1),!K.checkOrientation||!window.ArrayBuffer){this.clone();return}if(fs.test(M)){ps.test(M)?this.read(Zie(M)):this.clone();return}var Z=new XMLHttpRequest,ee=this.clone.bind(this);this.reloading=!0,this.xhr=Z,Z.onabort=ee,Z.onerror=ee,Z.ontimeout=ee,Z.onprogress=function(){Z.getResponseHeader("content-type")!==Na&&Z.abort()},Z.onload=function(){D.read(Z.response)},Z.onloadend=function(){D.reloading=!1,D.xhr=null},K.checkCrossOrigin&&MF(M)&&J.crossOrigin&&(M=UF(M)),Z.open("GET",M),Z.responseType="arraybuffer",Z.withCredentials=J.crossOrigin==="use-credentials",Z.send()}}},{key:"read",value:function(M){var D=this.options,J=this.imageData,K=toe(M),Z=0,ee=1,ae=1;if(K>1){this.url=eoe(M,Na);var ne=roe(K);Z=ne.rotate,ee=ne.scaleX,ae=ne.scaleY}D.rotatable&&(J.rotate=Z),D.scalable&&(J.scaleX=ee,J.scaleY=ae),this.clone()}},{key:"clone",value:function(){var M=this.element,D=this.url,J=M.crossOrigin,K=D;this.options.checkCrossOrigin&&MF(D)&&(J||(J="anonymous"),K=UF(D)),this.crossOrigin=J,this.crossOriginUrl=K;var Z=document.createElement("img");J&&(Z.crossOrigin=J),Z.src=K||D,Z.alt=M.alt||"The image to crop",this.image=Z,Z.onload=this.start.bind(this),Z.onerror=this.stop.bind(this),jt(Z,o),M.parentNode.insertBefore(Z,M.nextSibling)}},{key:"start",value:function(){var M=this,D=this.image;D.onload=null,D.onerror=null,this.sizing=!0;var J=E.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(E.navigator.userAgent),K=function(ne,re){lt(M.imageData,{naturalWidth:ne,naturalHeight:re,aspectRatio:ne/re}),M.sizing=!1,M.sized=!0,M.build()};if(D.naturalWidth&&!J){K(D.naturalWidth,D.naturalHeight);return}var Z=document.createElement("img"),ee=document.body||document.documentElement;this.sizingImage=Z,Z.onload=function(){K(Z.width,Z.height),J||ee.removeChild(Z)},Z.src=D.src,J||(Z.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",ee.appendChild(Z))}},{key:"stop",value:function(){var M=this.image;M.onload=null,M.onerror=null,M.parentNode.removeChild(M),this.image=null}},{key:"build",value:function(){if(!(!this.sized||this.ready)){var M=this.element,D=this.options,J=this.image,K=M.parentNode,Z=document.createElement("div");Z.innerHTML=dr;var ee=Z.querySelector(".".concat(x,"-container")),ae=ee.querySelector(".".concat(x,"-canvas")),ne=ee.querySelector(".".concat(x,"-drag-box")),re=ee.querySelector(".".concat(x,"-crop-box")),te=re.querySelector(".".concat(x,"-face"));this.container=K,this.cropper=ee,this.canvas=ae,this.dragBox=ne,this.cropBox=re,this.viewBox=ee.querySelector(".".concat(x,"-view-box")),this.face=te,ae.appendChild(J),jt(M,s),K.insertBefore(ee,M.nextSibling),this.isImg||An(J,o),this.initPreview(),this.bind(),D.initialAspectRatio=Math.max(0,D.initialAspectRatio)||NaN,D.aspectRatio=Math.max(0,D.aspectRatio)||NaN,D.viewMode=Math.max(0,Math.min(3,Math.round(D.viewMode)))||0,jt(re,s),D.guides||jt(re.getElementsByClassName("".concat(x,"-dashed")),s),D.center||jt(re.getElementsByClassName("".concat(x,"-center")),s),D.background&&jt(ee,"".concat(x,"-bg")),D.highlight||jt(te,a),D.cropBoxMovable&&(jt(te,v),pc(te,h,R)),D.cropBoxResizable||(jt(re.getElementsByClassName("".concat(x,"-line")),s),jt(re.getElementsByClassName("".concat(x,"-point")),s)),this.render(),this.ready=!0,this.setDragMode(D.dragMode),D.autoCrop&&this.crop(),this.setData(D.data),_r(D.ready)&&Cr(M,er,D.ready,{once:!0}),ri(M,er)}}},{key:"unbuild",value:function(){this.ready&&(this.ready=!1,this.unbind(),this.resetPreview(),this.cropper.parentNode.removeChild(this.cropper),An(this.element,s))}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=loe,W}},{key:"setDefaults",value:function(M){lt(tr,Lo(M)&&M)}}]),W}();return lt(GF.prototype,noe,ioe,ooe,aoe,uoe,soe),GF})});var Tee=B(function(aAt,YO){"use strict";YO.exports=sq;YO.exports.isMobile=sq;YO.exports.default=sq;var lot=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i,cot=/CrOS/,fot=/android|ipad|playbook|silk/i;function sq(t){t||(t={});var e=t.ua;if(!e&&typeof navigator!="undefined"&&(e=navigator.userAgent),e&&e.headers&&typeof e.headers["user-agent"]=="string"&&(e=e.headers["user-agent"]),typeof e!="string")return!1;var r=lot.test(e)&&!cot.test(e)||!!t.tablet&&fot.test(e);return!r&&t.tablet&&t.featureDetect&&navigator&&navigator.maxTouchPoints>1&&e.indexOf("Macintosh")!==-1&&e.indexOf("Safari")!==-1&&(r=!0),r}});var ire=B(function(zxt,nre){"use strict";nre.exports=function(e,r){if(r=r.split(":")[0],e=+e,!e)return!1;switch(r){case"http":case"ws":return e!==80;case"https":case"wss":return e!==443;case"ftp":return e!==21;case"gopher":return e!==70;case"file":return!1}return e!==0}});var ure=B(function(i2){"use strict";var tst=Object.prototype.hasOwnProperty,rst;function ore(t){try{return decodeURIComponent(t.replace(/\+/g," "))}catch(e){return null}}function are(t){try{return encodeURIComponent(t)}catch(e){return null}}function nst(t){for(var e=/([^=?#&]+)=?([^&]*)/g,r={},n;n=e.exec(t);){var i=ore(n[1]),u=ore(n[2]);i===null||u===null||i in r||(r[i]=u)}return r}function ist(t,e){e=e||"";var r=[],n,i;typeof e!="string"&&(e="?");for(i in t)if(tst.call(t,i)){if(n=t[i],!n&&(n===null||n===rst||isNaN(n))&&(n=""),i=are(i),n=are(n),i===null||n===null)continue;r.push(i+"="+n)}return r.length?e+r.join("&"):""}i2.stringify=ist;i2.parse=nst});var vre=B(function(Wxt,dre){"use strict";function tm(t){"@babel/helpers - typeof";return tm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tm(t)}var lre=ire(),cS=ure(),ost=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,cre=/[\n\r\t]/g,ast=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,fre=/:\d+$/,ust=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,sst=/^[a-zA-Z]:/;function a2(t){return(t||"").toString().replace(ost,"")}var o2=[["#","hash"],["?","query"],function(e,r){return ko(r.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],sre={hash:1,query:1};function pre(t){var e;typeof window!="undefined"?e=window:typeof global!="undefined"?e=global:typeof self!="undefined"?e=self:e={};var r=e.location||{};t=t||r;var n={},i=tm(t),u;if(t.protocol==="blob:")n=new jo(unescape(t.pathname),{});else if(i==="string"){n=new jo(t,{});for(u in sre)delete n[u]}else if(i==="object"){for(u in t)u in sre||(n[u]=t[u]);n.slashes===void 0&&(n.slashes=ast.test(t.href))}return n}function ko(t){return t==="file:"||t==="ftp:"||t==="http:"||t==="https:"||t==="ws:"||t==="wss:"}function hre(t,e){t=a2(t),t=t.replace(cre,""),e=e||{};var r=ust.exec(t),n=r[1]?r[1].toLowerCase():"",i=!!r[2],u=!!r[3],l=0,c;return i?u?(c=r[2]+r[3]+r[4],l=r[2].length+r[3].length):(c=r[2]+r[4],l=r[2].length):u?(c=r[3]+r[4],l=r[3].length):c=r[4],n==="file:"?l>=2&&(c=c.slice(2)):ko(n)?c=r[4]:n?i&&(c=c.slice(2)):l>=2&&ko(e.protocol)&&(c=r[4]),{protocol:n,slashes:i||ko(n),slashesCount:l,rest:c}}function lst(t,e){if(t==="")return e;for(var r=(e||"/").split("/").slice(0,-1).concat(t.split("/")),n=r.length,i=r[n-1],u=!1,l=0;n--;)r[n]==="."?r.splice(n,1):r[n]===".."?(r.splice(n,1),l++):l&&(n===0&&(u=!0),r.splice(n,1),l--);return u&&r.unshift(""),(i==="."||i==="..")&&r.push(""),r.join("/")}function jo(t,e,r){if(t=a2(t),t=t.replace(cre,""),!(this instanceof jo))return new jo(t,e,r);var n,i,u,l,c,f,d=o2.slice(),y=tm(e),m=this,b=0;for(y!=="object"&&y!=="string"&&(r=e,e=null),r&&typeof r!="function"&&(r=cS.parse),e=pre(e),i=hre(t||"",e),n=!i.protocol&&!i.slashes,m.slashes=i.slashes||n&&e.slashes,m.protocol=i.protocol||e.protocol||"",t=i.rest,(i.protocol==="file:"&&(i.slashesCount!==2||sst.test(t))||!i.slashes&&(i.protocol||i.slashesCount<2||!ko(m.protocol)))&&(d[3]=[/(.*)/,"pathname"]);b0&&w<1/0},S=Array.prototype.slice;function x(g){return Array.from?Array.from(g):S.call(g)}var R=/^image\/.+$/;function A(g){return R.test(g)}function k(g){var w=A(g)?g.substr(6):"";return w==="jpeg"&&(w="jpg"),".".concat(w)}var C=String.fromCharCode;function F(g,w,_){var j="",q;for(_+=w,q=w;q<_;q+=1)j+=C(g.getUint8(q));return j}var I=E.btoa;function z(g,w){for(var _=[],j=8192,q=new Uint8Array(g);q.length>0;)_.push(C.apply(null,x(q.subarray(0,j)))),q=q.subarray(j);return"data:".concat(w,";base64,").concat(I(_.join("")))}function U(g){var w=new DataView(g),_;try{var j,q,N;if(w.getUint8(0)===255&&w.getUint8(1)===216)for(var Me=w.byteLength,Fe=2;Fe+1=8&&(N=Re+st)}}}if(N){var Zt=w.getUint16(N,j),pt,we;for(we=0;we1&&arguments[1]!==void 0?arguments[1]:1e11;return Q.test(g)?Math.round(g*w)/w:g}function $(g){var w=g.aspectRatio,_=g.height,j=g.width,q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none",N=P(j),Me=P(_);if(N&&Me){var Fe=_*w;(q==="contain"||q==="none")&&Fe>j||q==="cover"&&Fe1&&l(pt,Y(we))),Te&&(_.exif=H(Zt)),Fe||Te?!a||we>1?pt.url=z(Zt,N):pt.url=a.createObjectURL(j):pt.url=Zt,_.load(pt)},Re.onabort=function(){_.fail(new Error("Aborted to read the image with FileReader."))},Re.onerror=function(){_.fail(new Error("Failed to read the image with FileReader."))},Re.onloadend=function(){_.reader=null},Fe||Te?Re.readAsArrayBuffer(j):Re.readAsDataURL(j)}}},{key:"load",value:function(_){var j=this,q=this.file,N=this.image;N.onload=function(){j.draw(e(e({},_),{},{naturalWidth:N.naturalWidth,naturalHeight:N.naturalHeight}))},N.onabort=function(){j.fail(new Error("Aborted to load the image."))},N.onerror=function(){j.fail(new Error("Failed to load the image."))},E.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(E.navigator.userAgent)&&(N.crossOrigin="anonymous"),N.alt=q.name,N.src=_.url}},{key:"draw",value:function(_){var j=this,q=_.naturalWidth,N=_.naturalHeight,Me=_.rotate,Fe=Me===void 0?0:Me,Te=_.scaleX,Re=Te===void 0?1:Te,Qe=_.scaleY,st=Qe===void 0?1:Qe,Zt=this.file,pt=this.image,we=this.options,er=document.createElement("canvas"),It=er.getContext("2d"),_i=Math.abs(Fe)%180===90,ls=(we.resize==="contain"||we.resize==="cover")&&P(we.width)&&P(we.height),Na=Math.max(we.maxWidth,0)||1/0,cs=Math.max(we.maxHeight,0)||1/0,fs=Math.max(we.minWidth,0)||0,ps=Math.max(we.minHeight,0)||0,Da=q/N,tr=we.width,dr=we.height;if(_i){var Cm=[cs,Na];Na=Cm[0],cs=Cm[1];var Le=[ps,fs];fs=Le[0],ps=Le[1];var $p=[dr,tr];tr=$p[0],dr=$p[1]}ls&&(Da=tr/dr);var lc=$({aspectRatio:Da,width:Na,height:cs},"contain");Na=lc.width,cs=lc.height;var eo=$({aspectRatio:Da,width:fs,height:ps},"cover");if(fs=eo.width,ps=eo.height,ls){var Nm=$({aspectRatio:Da,width:tr,height:dr},we.resize);tr=Nm.width,dr=Nm.height}else{var Lo=$({aspectRatio:Da,width:tr,height:dr}),_r=Lo.width;tr=_r===void 0?q:_r;var Dm=Lo.height;dr=Dm===void 0?N:Dm}tr=Math.floor(X(Math.min(Math.max(tr,fs),Na))),dr=Math.floor(X(Math.min(Math.max(dr,ps),cs)));var Mm=-tr/2,kt=-dr/2,lt=tr,FS=dr,to=[];if(ls){var Um=0,Pi=0,zp=q,jt=N,An=$({aspectRatio:Da,width:q,height:N},{contain:"cover",cover:"contain"}[we.resize]);zp=An.width,jt=An.height,Um=(q-zp)/2,Pi=(N-jt)/2,to.push(Um,Pi,zp,jt)}if(to.push(Mm,kt,lt,FS),_i){var Co=[dr,tr];tr=Co[0],dr=Co[1]}er.width=tr,er.height=dr,A(we.mimeType)||(we.mimeType=Zt.type);var Bm="transparent";Zt.size>we.convertSize&&we.convertTypes.indexOf(we.mimeType)>=0&&(we.mimeType="image/jpeg");var cc=we.mimeType==="image/jpeg";if(cc&&(Bm="#fff"),It.fillStyle=Bm,It.fillRect(0,0,tr,dr),we.beforeDraw&&we.beforeDraw.call(this,It,er),!this.aborted&&(It.save(),It.translate(tr/2,dr/2),It.rotate(Fe*Math.PI/180),It.scale(Re,st),It.drawImage.apply(It,[pt].concat(to)),It.restore(),we.drew&&we.drew.call(this,It,er),!this.aborted)){var fc=function(hs){if(!j.aborted){var Hp=function(ri){return j.done({naturalWidth:q,naturalHeight:N,result:ri})};if(hs&&cc&&we.retainExif&&j.exif&&j.exif.length>0){var Wp=function(ri){return Hp(y(z(V(ri,j.exif),we.mimeType)))};if(hs.arrayBuffer)hs.arrayBuffer().then(Wp).catch(function(){j.fail(new Error("Failed to read the compressed image with Blob.arrayBuffer()."))});else{var vr=new o;j.reader=vr,vr.onload=function(Cr){var ri=Cr.target;Wp(ri.result)},vr.onabort=function(){j.fail(new Error("Aborted to read the compressed image with FileReader."))},vr.onerror=function(){j.fail(new Error("Failed to read the compressed image with FileReader."))},vr.onloadend=function(){j.reader=null},vr.readAsArrayBuffer(hs)}}else Hp(hs)}};er.toBlob?er.toBlob(fc,we.mimeType,we.quality):fc(y(er.toDataURL(we.mimeType,we.quality)))}}},{key:"done",value:function(_){var j=_.naturalWidth,q=_.naturalHeight,N=_.result,Me=this.file,Fe=this.image,Te=this.options;if(a&&Fe.src.indexOf("blob:")===0&&a.revokeObjectURL(Fe.src),N)if(Te.strict&&!Te.retainExif&&N.size>Me.size&&Te.mimeType===Me.type&&!(Te.width>j||Te.height>q||Te.minWidth>j||Te.minHeight>q||Te.maxWidth=0?i:n+i;return u<0||u>=n?void 0:r[u]}});Ipe("at");var Npe=G(),Dpe=le(),Mpe=_s(),Upe=Ne(),Bpe=$e(),Gpe=ze(),iM=Is(),oM=io(),$pe=Ps(),zpe=Pc(),Hpe=_e(),Wpe=Ba(),aM=Hpe("isConcatSpreadable"),Vpe=Wpe>=51||!Dpe(function(){var t=[];return t[aM]=!1,t.concat()[0]!==t}),Kpe=zpe("concat"),Ype=function(e){if(!Upe(e))return!1;var r=e[aM];return r!==void 0?!!r:Mpe(e)},Xpe=!Vpe||!Kpe;Npe({target:"Array",proto:!0,arity:1,forced:Xpe},{concat:function(e){var r=Bpe(this),n=$pe(r,0),i=0,u,l,c,f,d;for(u=-1,c=arguments.length;u1?arguments[1]:void 0)}});var dhe=G(),vhe=Vt().find,yhe=wt(),u_="find",pM=!0;u_ in[]&&Array(1)[u_](function(){pM=!1});dhe({target:"Array",proto:!0,forced:pM},{find:function(e){return vhe(this,e,arguments.length>1?arguments[1]:void 0)}});yhe(u_);var mhe=G(),ghe=Vt().findIndex,bhe=wt(),s_="findIndex",hM=!0;s_ in[]&&Array(1)[s_](function(){hM=!1});mhe({target:"Array",proto:!0,forced:hM},{findIndex:function(e){return ghe(this,e,arguments.length>1?arguments[1]:void 0)}});bhe(s_);var Phe=G(),Ehe=ph().findLast,The=wt();Phe({target:"Array",proto:!0},{findLast:function(e){return Ehe(this,e,arguments.length>1?arguments[1]:void 0)}});The("findLast");var Ahe=G(),xhe=ph().findLastIndex,Rhe=wt();Ahe({target:"Array",proto:!0},{findLastIndex:function(e){return xhe(this,e,arguments.length>1?arguments[1]:void 0)}});Rhe("findLastIndex");var Lhe=G(),Che=l_(),Nhe=$e(),Dhe=ze(),Mhe=Pt(),Uhe=Ps();Lhe({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,r=Nhe(this),n=Dhe(r),i=Uhe(r,0);return i.length=Che(i,r,r,n,0,e===void 0?1:Mhe(e)),i}});var Bhe=G(),Ghe=l_(),$he=ge(),zhe=$e(),Hhe=ze(),Whe=Ps();Bhe({target:"Array",proto:!0},{flatMap:function(e){var r=zhe(this),n=Hhe(r),i;return $he(e),i=Whe(r,0),i.length=Ghe(i,r,r,n,0,1,e,arguments.length>1?arguments[1]:void 0),i}});var ode=G(),ade=c_(),ude=hh(),sde=!ude(function(t){Array.from(t)});ode({target:"Array",stat:!0,forced:sde},{from:ade});var lde=G(),cde=Zp().includes,fde=le(),pde=wt(),hde=fde(function(){return!Array(1).includes()});lde({target:"Array",proto:!0,forced:hde},{includes:function(e){return cde(this,e,arguments.length>1?arguments[1]:void 0)}});pde("includes");var njt=Ce(yh(),1);var zde=G(),Hde=ce(),Wde=Mo(),Vde=Ht(),Kde=ks(),Yde=Hde([].join),Xde=Wde!=Object,Qde=Kde("join",",");zde({target:"Array",proto:!0,forced:Xde||!Qde},{join:function(e){return Yde(Vde(this),e===void 0?",":e)}});var Jde=G(),Zde=Vt().map,eve=Pc(),tve=eve("map");Jde({target:"Array",proto:!0,forced:!tve},{map:function(e){return Zde(this,e,arguments.length>1?arguments[1]:void 0)}});var rve=G(),nve=le(),ive=xi(),ove=io(),HM=Array,ave=nve(function(){function t(){}return!(HM.of.call(t)instanceof t)});rve({target:"Array",stat:!0,forced:ave},{of:function(){for(var e=0,r=arguments.length,n=new(ive(this)?this:HM)(r);r>e;)ove(n,e,arguments[e++]);return n.length=r,n}});var uve=G(),sve=$e(),lve=ze(),cve=Is(),fve=le(),pve=fve(function(){return[].push.call({length:4294967296},1)!==4294967297}),hve=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}();uve({target:"Array",proto:!0,arity:1,forced:pve||hve},{push:function(e){var r=sve(this),n=lve(r),i=arguments.length;cve(n+i);for(var u=0;u3)){if(Uve)return!0;if(i3)return i3<603;var t="",e,r,n,i;for(e=65;e<76;e++){switch(r=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(i=0;i<47;i++)Qa.push({k:r+i,v:n})}for(Qa.sort(function(u,l){return l.v-u.v}),i=0;it3(n)?1:-1}};qve({target:"Array",proto:!0,forced:Hve},{sort:function(e){e!==void 0&&Fve(e);var r=Lve(this);if(u3)return e===void 0?o3(r):o3(r,e);var n=[],i=Cve(r),u,l;for(l=0;li-f+c;y--)O_(n,y-1)}else if(c>f)for(y=i-f;y>u;y--)m=y+f-1,b=y+c-1,m in n?n[b]=n[m]:O_(n,b);for(y=0;y9490626562425156e-8?rge(r)+nge:tge(r-1+u5(r-1)*u5(r+1))}});var oge=G(),s5=Math.asinh,age=Math.log,uge=Math.sqrt;function l5(t){var e=+t;return!isFinite(e)||e==0?e:e<0?-l5(-e):age(e+uge(e*e+1))}oge({target:"Math",stat:!0,forced:!(s5&&1/s5(0)>0)},{asinh:l5});var sge=G(),c5=Math.atanh,lge=Math.log;sge({target:"Math",stat:!0,forced:!(c5&&1/c5(-0)<0)},{atanh:function(e){var r=+e;return r==0?r:lge((1+r)/(1-r))/2}});var cge=G(),fge=zg(),pge=Math.abs,hge=Math.pow;cge({target:"Math",stat:!0},{cbrt:function(e){var r=+e;return fge(r)*hge(pge(r),1/3)}});var dge=G(),vge=Math.floor,yge=Math.log,mge=Math.LOG2E;dge({target:"Math",stat:!0},{clz32:function(e){var r=e>>>0;return r?31-vge(yge(r+.5)*mge):32}});var bge=G(),wge=Sh(),h5=Math.cosh,Oge=Math.abs,z_=Math.E;bge({target:"Math",stat:!0,forced:!h5||h5(710)===1/0},{cosh:function(e){var r=wge(Oge(e)-1)+1;return(r+1/(r*z_*z_))*(z_/2)}});var Sge=G(),d5=Sh();Sge({target:"Math",stat:!0,forced:d5!=Math.expm1},{expm1:d5});var Age=G(),xge=V_();Age({target:"Math",stat:!0},{fround:xge});var Rge=G(),y5=Math.hypot,Ige=Math.abs,kge=Math.sqrt,jge=!!y5&&y5(1/0,NaN)!==1/0;Rge({target:"Math",stat:!0,arity:2,forced:jge},{hypot:function(e,r){for(var n=0,i=0,u=arguments.length,l=0,c,f;i0?(f=c/l,n+=f*f):n+=c;return l===1/0?1/0:l*kge(n)}});var qge=G(),Fge=le(),m5=Math.imul,Lge=Fge(function(){return m5(4294967295,5)!=-5||m5.length!=2});qge({target:"Math",stat:!0,forced:Lge},{imul:function(e,r){var n=65535,i=+e,u=+r,l=n&i,c=n&u;return 0|l*c+((n&i>>>16)*c+l*(n&u>>>16)<<16>>>0)}});var Dge=G(),Mge=K_();Dge({target:"Math",stat:!0},{log10:Mge});var Uge=G(),Bge=G_();Uge({target:"Math",stat:!0},{log1p:Bge});var Gge=G(),$ge=Math.log,zge=Math.LN2;Gge({target:"Math",stat:!0},{log2:function(e){return $ge(e)/zge}});var Hge=G(),Wge=zg();Hge({target:"Math",stat:!0},{sign:Wge});var Vge=G(),Kge=le(),b5=Sh(),Yge=Math.abs,w5=Math.exp,Xge=Math.E,Qge=Kge(function(){return Math.sinh(-2e-17)!=-2e-17});Vge({target:"Math",stat:!0,forced:Qge},{sinh:function(e){var r=+e;return Yge(r)<1?(b5(r)-b5(-r))/2:(w5(r-1)-w5(-r-1))*(Xge/2)}});var Jge=G(),O5=Sh(),S5=Math.exp;Jge({target:"Math",stat:!0},{tanh:function(e){var r=+e,n=O5(r),i=O5(-r);return n==1/0?1:i==1/0?-1:(n-i)/(S5(r)+S5(-r))}});var Zge=hn();Zge(Math,"Math",!0);var ebe=G(),tbe=d1();ebe({target:"Math",stat:!0},{trunc:tbe});var lbe=xe(),Z_=be(),x5=ce(),cbe=gc(),fbe=bt(),A5=Ue(),pbe=As(),hbe=zr(),dbe=Ga(),R5=Ym(),vbe=le(),ybe=Bo().f,mbe=Pr().f,gbe=it().f,bbe=Vg(),wbe=qs().trim,J_="Number",ru=Z_[J_],X_=ru.prototype,Obe=Z_.TypeError,Sbe=x5("".slice),Yg=x5("".charCodeAt),_be=function(e){var r=R5(e,"number");return typeof r=="bigint"?r:Pbe(r)},Pbe=function(e){var r=R5(e,"number"),n,i,u,l,c,f,d,y;if(dbe(r))throw Obe("Cannot convert a Symbol value to a number");if(typeof r=="string"&&r.length>2){if(r=wbe(r),n=Yg(r,0),n===43||n===45){if(i=Yg(r,2),i===88||i===120)return NaN}else if(n===48){switch(Yg(r,1)){case 66:case 98:u=2,l=49;break;case 79:case 111:u=8,l=55;break;default:return+r}for(c=Sbe(r,2),f=c.length,d=0;dl)return NaN;return parseInt(c,u)}}return+r};if(cbe(J_,!ru(" 0o1")||!ru("0b1")||ru("+0x1"))){for(Fs=function(e){var r=arguments.length<1?0:ru(_be(e)),n=this;return hbe(X_,n)&&vbe(function(){bbe(n)})?pbe(Object(r),n,Fs):r},Q_=lbe?ybe(ru):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Xg=0;Q_.length>Xg;Xg++)A5(ru,Ph=Q_[Xg])&&!A5(Fs,Ph)&&gbe(Fs,Ph,mbe(ru,Ph));Fs.prototype=X_,X_.constructor=Fs,fbe(Z_,J_,Fs,{constructor:!0})}var Fs,Q_,Xg,Ph;var Ebe=G();Ebe({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)});var xbe=G(),Rbe=eP();xbe({target:"Number",stat:!0},{isFinite:Rbe});var jbe=G(),qbe=Qg();jbe({target:"Number",stat:!0},{isInteger:qbe});var Fbe=G();Fbe({target:"Number",stat:!0},{isNaN:function(e){return e!=e}});var Lbe=G(),Cbe=Qg(),Nbe=Math.abs;Lbe({target:"Number",stat:!0},{isSafeInteger:function(e){return Cbe(e)&&Nbe(e)<=9007199254740991}});var Dbe=G();Dbe({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991});var Mbe=G();Mbe({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991});var Vbe=G(),N5=C5();Vbe({target:"Number",stat:!0,forced:Number.parseFloat!=N5},{parseFloat:N5});var ewe=G(),z5=tP();ewe({target:"Number",stat:!0,forced:Number.parseInt!=z5},{parseInt:z5});var owe=G(),rP=ce(),awe=Pt(),uwe=Vg(),swe=Th(),lwe=K_(),Zg=le(),cwe=RangeError,W5=String,fwe=isFinite,pwe=Math.abs,hwe=Math.floor,V5=Math.pow,dwe=Math.round,co=rP(1 .toExponential),vwe=rP(swe),K5=rP("".slice),Y5=co(-69e-12,4)==="-6.9000e-11"&&co(1.255,2)==="1.25e+0"&&co(12345,3)==="1.235e+4"&&co(25,0)==="3e+1",ywe=Zg(function(){co(1,1/0)})&&Zg(function(){co(1,-1/0)}),mwe=!Zg(function(){co(1/0,1/0)})&&!Zg(function(){co(NaN,1/0)}),gwe=!Y5||!ywe||!mwe;owe({target:"Number",proto:!0,forced:gwe},{toExponential:function(e){var r=uwe(this);if(e===void 0)return co(r);var n=awe(e);if(!fwe(r))return String(r);if(n<0||n>20)throw cwe("Incorrect fraction digits");if(Y5)return co(r,n);var i="",u="",l=0,c="",f="";if(r<0&&(i="-",r=-r),r===0)l=0,u=vwe("0",n+1);else{var d=lwe(r);l=hwe(d);var y=0,m=V5(10,l-n);y=dwe(r/m),2*r>=(2*y+1)*m&&(y+=1),y>=V5(10,n+1)&&(y/=10,l+=1),u=W5(y)}return n!==0&&(u=K5(u,0,1)+"."+K5(u,1)),l===0?(c="+",f="0"):(c=l>0?"+":"-",f=W5(pwe(l))),u+="e"+c+f,i+u}});var bwe=G(),oP=ce(),wwe=Pt(),Owe=Vg(),Swe=Th(),X5=le(),_we=RangeError,Z5=String,eU=Math.floor,iP=oP(Swe),Q5=oP("".slice),Ah=oP(1 .toFixed),eb=function t(e,r,n){return r===0?n:r%2===1?t(e,r-1,n*e):t(e*e,r/2,n)},Pwe=function(e){for(var r=0,n=e;n>=4096;)r+=12,n/=4096;for(;n>=2;)r+=1,n/=2;return r},Ic=function(e,r,n){for(var i=-1,u=n;++i<6;)u+=r*e[i],e[i]=u%1e7,u=eU(u/1e7)},nP=function(e,r){for(var n=6,i=0;--n>=0;)i+=e[n],e[n]=eU(i/r),i=i%r*1e7},J5=function(e){for(var r=6,n="";--r>=0;)if(n!==""||r===0||e[r]!==0){var i=Z5(e[r]);n=n===""?i:n+iP("0",7-i.length)+i}return n},Ewe=X5(function(){return Ah(8e-5,3)!=="0.000"||Ah(.9,0)!=="1"||Ah(1.255,2)!=="1.25"||Ah(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!X5(function(){Ah({})});bwe({target:"Number",proto:!0,forced:Ewe},{toFixed:function(e){var r=Owe(this),n=wwe(e),i=[0,0,0,0,0,0],u="",l="0",c,f,d,y;if(n<0||n>20)throw _we("Incorrect fraction digits");if(r!=r)return"NaN";if(r<=-1e21||r>=1e21)return Z5(r);if(r<0&&(u="-",r=-r),r>1e-21)if(c=Pwe(r*eb(2,69,1))-69,f=c<0?r*eb(2,-c,1):r/eb(2,c,1),f*=4503599627370496,c=52-c,c>0){for(Ic(i,0,f),d=n;d>=7;)Ic(i,1e7,0),d-=7;for(Ic(i,eb(10,d,1),0),d=c-1;d>=23;)nP(i,1<<23),d-=23;nP(i,1<0?(y=l.length,l=u+(y<=n?"0."+iP("0",n-y)+l:Q5(l,0,y-n)+"."+Q5(l,y-n))):l=u+l,l}});var Fwe=G(),iU=uP();Fwe({target:"Object",stat:!0,arity:2,forced:Object.assign!==iU},{assign:iU});var Dwe=G(),Mwe=xe(),Uwe=xh(),Bwe=ge(),Gwe=$e(),$we=it();Mwe&&Dwe({target:"Object",proto:!0,forced:Uwe},{__defineGetter__:function(e,r){$we.f(Gwe(this),e,{get:Bwe(r),enumerable:!0,configurable:!0})}});var zwe=G(),Hwe=xe(),Wwe=xh(),Vwe=ge(),Kwe=$e(),Ywe=it();Hwe&&zwe({target:"Object",proto:!0,forced:Wwe},{__defineSetter__:function(e,r){Ywe.f(Kwe(this),e,{set:Vwe(r),enumerable:!0,configurable:!0})}});var r0e=G(),n0e=sP().entries;r0e({target:"Object",stat:!0},{entries:function(e){return n0e(e)}});var i0e=G(),o0e=Rc(),a0e=le(),u0e=Ne(),s0e=tu().onFreeze,lP=Object.freeze,l0e=a0e(function(){lP(1)});i0e({target:"Object",stat:!0,forced:l0e,sham:!o0e},{freeze:function(e){return lP&&u0e(e)?lP(s0e(e)):e}});var c0e=G(),f0e=Ae(),p0e=io();c0e({target:"Object",stat:!0},{fromEntries:function(e){var r={};return f0e(e,function(n,i){p0e(r,n,i)},{AS_ENTRIES:!0}),r}});var h0e=G(),d0e=le(),v0e=Ht(),cU=Pr().f,fU=xe(),y0e=d0e(function(){cU(1)}),m0e=!fU||y0e;h0e({target:"Object",stat:!0,forced:m0e,sham:!fU},{getOwnPropertyDescriptor:function(e,r){return cU(v0e(e),r)}});var g0e=G(),b0e=xe(),w0e=ng(),O0e=Ht(),S0e=Pr(),_0e=io();g0e({target:"Object",stat:!0,sham:!b0e},{getOwnPropertyDescriptors:function(e){for(var r=O0e(e),n=S0e.f,i=w0e(r),u={},l=0,c,f;i.length>l;)f=n(r,c=i[l++]),f!==void 0&&_0e(u,c,f);return u}});var P0e=G(),E0e=le(),T0e=cg().f,A0e=E0e(function(){return!Object.getOwnPropertyNames(1)});P0e({target:"Object",stat:!0,forced:A0e},{getOwnPropertyNames:T0e});var x0e=G(),R0e=le(),I0e=$e(),pU=Er(),k0e=wg(),j0e=R0e(function(){pU(1)});x0e({target:"Object",stat:!0,forced:j0e,sham:!k0e},{getPrototypeOf:function(e){return pU(I0e(e))}});var q0e=G(),F0e=Ue();q0e({target:"Object",stat:!0},{hasOwn:F0e});var L0e=G(),C0e=cP();L0e({target:"Object",stat:!0},{is:C0e});var N0e=G(),dU=gh();N0e({target:"Object",stat:!0,forced:Object.isExtensible!==dU},{isExtensible:dU});var D0e=G(),M0e=le(),U0e=Ne(),B0e=pn(),vU=Bg(),fP=Object.isFrozen,G0e=M0e(function(){fP(1)});D0e({target:"Object",stat:!0,forced:G0e||vU},{isFrozen:function(e){return!U0e(e)||vU&&B0e(e)=="ArrayBuffer"?!0:fP?fP(e):!1}});var $0e=G(),z0e=le(),H0e=Ne(),W0e=pn(),yU=Bg(),pP=Object.isSealed,V0e=z0e(function(){pP(1)});$0e({target:"Object",stat:!0,forced:V0e||yU},{isSealed:function(e){return!H0e(e)||yU&&W0e(e)=="ArrayBuffer"?!0:pP?pP(e):!1}});var K0e=G(),Y0e=$e(),mU=Ss(),X0e=le(),Q0e=X0e(function(){mU(1)});K0e({target:"Object",stat:!0,forced:Q0e},{keys:function(e){return mU(Y0e(e))}});var J0e=G(),Z0e=xe(),eOe=xh(),tOe=$e(),rOe=no(),nOe=Er(),iOe=Pr().f;Z0e&&J0e({target:"Object",proto:!0,forced:eOe},{__lookupGetter__:function(e){var r=tOe(this),n=rOe(e),i;do if(i=iOe(r,n))return i.get;while(r=nOe(r))}});var oOe=G(),aOe=xe(),uOe=xh(),sOe=$e(),lOe=no(),cOe=Er(),fOe=Pr().f;aOe&&oOe({target:"Object",proto:!0,forced:uOe},{__lookupSetter__:function(e){var r=sOe(this),n=lOe(e),i;do if(i=fOe(r,n))return i.set;while(r=cOe(r))}});var pOe=G(),hOe=Ne(),dOe=tu().onFreeze,vOe=Rc(),yOe=le(),hP=Object.preventExtensions,mOe=yOe(function(){hP(1)});pOe({target:"Object",stat:!0,forced:mOe,sham:!vOe},{preventExtensions:function(e){return hP&&hOe(e)?hP(dOe(e)):e}});var gOe=G(),bOe=Ne(),wOe=tu().onFreeze,OOe=Rc(),SOe=le(),dP=Object.seal,_Oe=SOe(function(){dP(1)});gOe({target:"Object",stat:!0,forced:_Oe,sham:!OOe},{seal:function(e){return dP&&bOe(e)?dP(wOe(e)):e}});var TOe=og(),AOe=bt(),xOe=bU();TOe||AOe(Object.prototype,"toString",xOe,{unsafe:!0});var ROe=G(),IOe=sP().values;ROe({target:"Object",stat:!0},{values:function(e){return IOe(e)}});P8();T8();x8();R8();I8();F8();var _1e=G(),P1e=fe(),E1e=ge(),T1e=Vo(),A1e=ou(),x1e=Ae();_1e({target:"Promise",stat:!0},{allSettled:function(e){var r=this,n=T1e.f(r),i=n.resolve,u=n.reject,l=A1e(function(){var c=E1e(r.resolve),f=[],d=0,y=1;x1e(e,function(m){var b=d++,O=!1;y++,P1e(c,r,m).then(function(E){O||(O=!0,f[b]={status:"fulfilled",value:E},--y||i(f))},function(E){O||(O=!0,f[b]={status:"rejected",reason:E},--y||i(f))})}),--y||i(f)});return l.error&&u(l.value),n.promise}});var R1e=G(),I1e=fe(),k1e=ge(),j1e=Oe(),q1e=Vo(),F1e=ou(),L1e=Ae(),L8="No one promise resolved";R1e({target:"Promise",stat:!0},{any:function(e){var r=this,n=j1e("AggregateError"),i=q1e.f(r),u=i.resolve,l=i.reject,c=F1e(function(){var f=k1e(r.resolve),d=[],y=0,m=1,b=!1;L1e(e,function(O){var E=y++,P=!1;m++,I1e(f,r,O).then(function(S){P||b||(b=!0,u(S))},function(S){P||b||(P=!0,d[E]=S,--m||l(new n(d,L8)))})}),--m||l(new n(d,L8))});return c.error&&l(c.value),i.promise}});var C1e=G(),N1e=gt(),pb=Ds(),D1e=le(),N8=Oe(),D8=ke(),M1e=Hr(),C8=zP(),U1e=bt(),WP=pb&&pb.prototype,B1e=!!pb&&D1e(function(){WP.finally.call({then:function(){}},function(){})});C1e({target:"Promise",proto:!0,real:!0,forced:B1e},{finally:function(e){var r=M1e(this,N8("Promise")),n=D8(e);return this.then(n?function(i){return C8(r,e()).then(function(){return i})}:e,n?function(i){return C8(r,e()).then(function(){throw i})}:e)}});!N1e&&D8(pb)&&(HP=N8("Promise").prototype.finally,WP.finally!==HP&&U1e(WP,"finally",HP,{unsafe:!0}));var HP;var G1e=G(),$1e=vn(),z1e=ge(),H1e=ie(),W1e=le(),V1e=!W1e(function(){Reflect.apply(function(){})});G1e({target:"Reflect",stat:!0,forced:V1e},{apply:function(e,r,n){return $1e(z1e(e),r,H1e(n))}});var t_e=G(),r_e=Oe(),KP=vn(),n_e=$8(),z8=jc(),i_e=ie(),H8=Ne(),o_e=Wt(),V8=le(),YP=r_e("Reflect","construct"),a_e=Object.prototype,u_e=[].push,K8=V8(function(){function t(){}return!(YP(function(){},[],t)instanceof t)}),Y8=!V8(function(){YP(function(){})}),W8=K8||Y8;t_e({target:"Reflect",stat:!0,forced:W8,sham:W8},{construct:function(e,r){z8(e),i_e(r);var n=arguments.length<3?e:z8(arguments[2]);if(Y8&&!K8)return YP(e,r,n);if(e==n){switch(r.length){case 0:return new e;case 1:return new e(r[0]);case 2:return new e(r[0],r[1]);case 3:return new e(r[0],r[1],r[2]);case 4:return new e(r[0],r[1],r[2],r[3])}var i=[null];return KP(u_e,i,r),new(KP(n_e,e,i))}var u=n.prototype,l=o_e(H8(u)?u:a_e),c=KP(e,l,r);return H8(c)?c:l}});var s_e=G(),l_e=xe(),X8=ie(),c_e=no(),Q8=it(),f_e=le(),p_e=f_e(function(){Reflect.defineProperty(Q8.f({},1,{value:1}),1,{value:2})});s_e({target:"Reflect",stat:!0,forced:p_e,sham:!l_e},{defineProperty:function(e,r,n){X8(e);var i=c_e(r);X8(n);try{return Q8.f(e,i,n),!0}catch(u){return!1}}});var h_e=G(),d_e=ie(),v_e=Pr().f;h_e({target:"Reflect",stat:!0},{deleteProperty:function(e,r){var n=v_e(d_e(e),r);return n&&!n.configurable?!1:delete e[r]}});var y_e=G(),m_e=fe(),g_e=Ne(),b_e=ie(),w_e=XP(),O_e=Pr(),S_e=Er();function e4(t,e){var r=arguments.length<3?t:arguments[2],n,i;if(b_e(t)===r)return t[e];if(n=O_e.f(t,e),n)return w_e(n)?n.value:n.get===void 0?void 0:m_e(n.get,r);if(g_e(i=S_e(t)))return e4(i,e,r)}y_e({target:"Reflect",stat:!0},{get:e4});var __e=G(),P_e=xe(),E_e=ie(),T_e=Pr();__e({target:"Reflect",stat:!0,sham:!P_e},{getOwnPropertyDescriptor:function(e,r){return T_e.f(E_e(e),r)}});var A_e=G(),x_e=ie(),R_e=Er(),I_e=wg();A_e({target:"Reflect",stat:!0,sham:!I_e},{getPrototypeOf:function(e){return R_e(x_e(e))}});var k_e=G();k_e({target:"Reflect",stat:!0},{has:function(e,r){return r in e}});var j_e=G(),q_e=ie(),F_e=gh();j_e({target:"Reflect",stat:!0},{isExtensible:function(e){return q_e(e),F_e(e)}});var L_e=G(),C_e=ng();L_e({target:"Reflect",stat:!0},{ownKeys:C_e});var N_e=G(),D_e=Oe(),M_e=ie(),U_e=Rc();N_e({target:"Reflect",stat:!0,sham:!U_e},{preventExtensions:function(e){M_e(e);try{var r=D_e("Object","preventExtensions");return r&&r(e),!0}catch(n){return!1}}});var B_e=G(),G_e=fe(),$_e=ie(),t4=Ne(),z_e=XP(),H_e=le(),QP=it(),r4=Pr(),W_e=Er(),n4=Rn();function i4(t,e,r){var n=arguments.length<4?t:arguments[3],i=r4.f($_e(t),e),u,l,c;if(!i){if(t4(l=W_e(t)))return i4(l,e,r,n);i=n4(0)}if(z_e(i)){if(i.writable===!1||!t4(n))return!1;if(u=r4.f(n,e)){if(u.get||u.set||u.writable===!1)return!1;u.value=r,QP.f(n,e,u)}else QP.f(n,e,n4(0,r))}else{if(c=i.set,c===void 0)return!1;G_e(c,n,r)}return!0}var V_e=H_e(function(){var t=function(){},e=QP.f(new t,"a",{configurable:!0});return Reflect.set(t.prototype,"a",1,e)!==!1});B_e({target:"Reflect",stat:!0,forced:V_e},{set:i4});var K_e=G(),Y_e=ie(),X_e=H1(),o4=oo();o4&&K_e({target:"Reflect",stat:!0},{setPrototypeOf:function(e,r){Y_e(e),X_e(r);try{return o4(e,r),!0}catch(n){return!1}}});var Q_e=G(),J_e=be(),Z_e=hn();Q_e({global:!0},{Reflect:{}});Z_e(J_e.Reflect,"Reflect",!0);var gPe=xe(),oE=be(),Lh=ce(),bPe=gc(),wPe=As(),OPe=or(),SPe=Bo().f,h4=zr(),_Pe=Mc(),d4=He(),PPe=Uc(),m4=Fh(),EPe=W1(),TPe=bt(),APe=le(),xPe=Ue(),RPe=at().enforce,IPe=Ja(),kPe=_e(),g4=db(),b4=tE(),jPe=kPe("match"),su=oE.RegExp,Bc=su.prototype,qPe=oE.SyntaxError,FPe=Lh(Bc.exec),vb=Lh("".charAt),v4=Lh("".replace),y4=Lh("".indexOf),LPe=Lh("".slice),CPe=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Us=/a/g,rE=/a/g,NPe=new su(Us)!==Us,w4=m4.MISSED_STICKY,DPe=m4.UNSUPPORTED_Y,MPe=gPe&&(!NPe||w4||g4||b4||APe(function(){return rE[jPe]=!1,su(Us)!=Us||su(rE)==rE||su(Us,"i")!="/a/i"})),UPe=function(e){for(var r=e.length,n=0,i="",u=!1,l;n<=r;n++){if(l=vb(e,n),l==="\\"){i+=l+vb(e,++n);continue}!u&&l==="."?i+="[\\s\\S]":(l==="["?u=!0:l==="]"&&(u=!1),i+=l)}return i},BPe=function(e){for(var r=e.length,n=0,i="",u=[],l={},c=!1,f=!1,d=0,y="",m;n<=r;n++){if(m=vb(e,n),m==="\\")m=m+vb(e,++n);else if(m==="]")c=!1;else if(!c)switch(!0){case m==="[":c=!0;break;case m==="(":FPe(CPe,LPe(e,n+1))&&(n+=2,f=!0),i+=m,d++;continue;case(m===">"&&f):if(y===""||xPe(l,y))throw new qPe("Invalid capture group name");l[y]=!0,u[u.length]=[y,d],f=!1,y="";continue}f?y+=m:i+=m}return[i,u]};if(bPe("RegExp",MPe)){for(uu=function(e,r){var n=h4(Bc,this),i=_Pe(e),u=r===void 0,l=[],c=e,f,d,y,m,b,O;if(!n&&i&&u&&e.constructor===uu)return e;if((i||h4(Bc,e))&&(e=e.source,u&&(r=PPe(c))),e=e===void 0?"":d4(e),r=r===void 0?"":d4(r),c=e,g4&&"dotAll"in Us&&(d=!!r&&y4(r,"s")>-1,d&&(r=v4(r,/s/g,""))),f=r,w4&&"sticky"in Us&&(y=!!r&&y4(r,"y")>-1,y&&DPe&&(r=v4(r,/y/g,""))),b4&&(m=BPe(e),e=m[0],l=m[1]),b=wPe(su(e,r),n?this:Bc,uu),(d||y||l.length)&&(O=RPe(b),d&&(O.dotAll=!0,O.raw=uu(UPe(e),f)),y&&(O.sticky=!0),l.length&&(O.groups=l)),e!==c)try{OPe(b,"source",c===""?"(?:)":c)}catch(E){}return b},nE=SPe(su),iE=0;nE.length>iE;)EPe(uu,su,nE[iE++]);Bc.constructor=uu,uu.prototype=Bc,TPe(oE,"RegExp",uu,{constructor:!0})}var uu,nE,iE;IPe("RegExp");var $Pe=xe(),zPe=db(),HPe=pn(),WPe=Ko(),VPe=at().get,_4=RegExp.prototype,KPe=TypeError;$Pe&&zPe&&WPe(_4,"dotAll",{configurable:!0,get:function(){if(this!==_4){if(HPe(this)==="RegExp")return!!VPe(this).dotAll;throw KPe("Incompatible receiver, RegExp required")}}});var Uqt=Ce(gb(),1);var lEe=be(),cEe=xe(),fEe=Ko(),pEe=hb(),hEe=le(),A4=lEe.RegExp,x4=A4.prototype,dEe=cEe&&hEe(function(){var t=!0;try{A4(".","d")}catch(f){t=!1}var e={},r="",n=t?"dgimsy":"gimsy",i=function(d,y){Object.defineProperty(e,d,{get:function(){return r+=y,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};t&&(u.hasIndices="d");for(var l in u)i(l,u[l]);var c=Object.getOwnPropertyDescriptor(x4,"flags").get.call(e);return c!==n||r!==n});dEe&&fEe(x4,"flags",{configurable:!0,get:pEe});var vEe=xe(),yEe=Fh().MISSED_STICKY,mEe=pn(),gEe=Ko(),bEe=at().get,R4=RegExp.prototype,wEe=TypeError;vEe&&yEe&&gEe(R4,"sticky",{configurable:!0,get:function(){if(this!==R4){if(mEe(this)==="RegExp")return!!bEe(this).sticky;throw wEe("Incompatible receiver, RegExp required")}}});gb();var OEe=G(),SEe=fe(),_Ee=ce(),PEe=ke(),EEe=Ne(),TEe=function(){var t=!1,e=/[ac]/;return e.exec=function(){return t=!0,/./.exec.apply(this,arguments)},e.test("abc")===!0&&t}(),AEe=TypeError,xEe=_Ee(/./.test);OEe({target:"RegExp",proto:!0,forced:!TEe},{test:function(e){var r=this.exec;if(!PEe(r))return xEe(this,e);var n=SEe(r,this,e);if(n!==null&&!EEe(n))throw new AEe("RegExp exec method returned something other than an Object or null");return!!n}});var REe=ws().PROPER,IEe=bt(),kEe=ie(),I4=He(),jEe=le(),qEe=Uc(),cE="toString",FEe=RegExp.prototype,k4=FEe[cE],LEe=jEe(function(){return k4.call({source:"a",flags:"b"})!="/a/b"}),CEe=REe&&k4.name!=cE;(LEe||CEe)&&IEe(RegExp.prototype,cE,function(){var e=kEe(this),r=I4(e.source),n=I4(qEe(e));return"/"+r+"/"+n},{unsafe:!0});j4();var MEe=G(),UEe=ce(),BEe=zt(),GEe=Pt(),$Ee=He(),zEe=le(),HEe=UEe("".charAt),WEe=zEe(function(){return"\uD842\uDFB7".at(-2)!=="\uD842"});MEe({target:"String",proto:!0,forced:WEe},{at:function(e){var r=$Ee(BEe(this)),n=r.length,i=GEe(e),u=i>=0?i:n+i;return u<0||u>=n?void 0:HEe(r,u)}});var JEe=G(),ZEe=Bs().codeAt;JEe({target:"String",proto:!0},{codePointAt:function(e){return ZEe(this,e)}});var iTe=G(),U4=ce(),oTe=Pr().f,aTe=In(),D4=He(),uTe=bb(),sTe=zt(),lTe=wb(),cTe=gt(),M4=U4("".endsWith),fTe=U4("".slice),pTe=Math.min,B4=lTe("endsWith"),hTe=!cTe&&!B4&&!!function(){var t=oTe(String.prototype,"endsWith");return t&&!t.writable}();iTe({target:"String",proto:!0,forced:!hTe&&!B4},{endsWith:function(e){var r=D4(sTe(this));uTe(e);var n=arguments.length>1?arguments[1]:void 0,i=r.length,u=n===void 0?i:pTe(aTe(n),i),l=D4(e);return M4?M4(r,l,u):fTe(r,u-l.length,u)===l}});var dTe=G(),vTe=ce(),yTe=Ti(),mTe=RangeError,G4=String.fromCharCode,$4=String.fromCodePoint,gTe=vTe([].join),bTe=!!$4&&$4.length!=1;dTe({target:"String",stat:!0,arity:1,forced:bTe},{fromCodePoint:function(e){for(var r=[],n=arguments.length,i=0,u;n>i;){if(u=+arguments[i++],yTe(u,1114111)!==u)throw mTe(u+" is not a valid code point");r[i]=u<65536?G4(u):G4(((u-=65536)>>10)+55296,u%1024+56320)}return gTe(r,"")}});var wTe=G(),OTe=ce(),STe=bb(),_Te=zt(),z4=He(),PTe=wb(),ETe=OTe("".indexOf);wTe({target:"String",proto:!0,forced:!PTe("includes")},{includes:function(e){return!!~ETe(z4(_Te(this)),z4(STe(e)),arguments.length>1?arguments[1]:void 0)}});var Qqt=Ce(pE(),1);var UTe=fe(),BTe=Nh(),GTe=ie(),$Te=In(),dE=He(),zTe=zt(),HTe=ir(),WTe=Dh(),tB=$c();BTe("match",function(t,e,r){return[function(i){var u=zTe(this),l=i==null?void 0:HTe(i,t);return l?UTe(l,i,u):new RegExp(i)[t](dE(u))},function(n){var i=GTe(this),u=dE(n),l=r(e,i,u);if(l.done)return l.value;if(!i.global)return tB(i,u);var c=i.unicode;i.lastIndex=0;for(var f=[],d=0,y;(y=tB(i,u))!==null;){var m=dE(y[0]);f[d]=m,m===""&&(i.lastIndex=WTe(u,$Te(i.lastIndex),c)),d++}return d===0?null:f}]});var VTe=G(),rB=fe(),oB=ce(),KTe=Xa(),nB=zt(),aB=In(),Mh=He(),YTe=ie(),XTe=pn(),QTe=Mc(),uB=Uc(),JTe=ir(),ZTe=bt(),eAe=le(),tAe=_e(),rAe=Hr(),nAe=Dh(),iAe=$c(),sB=at(),yE=gt(),Ob=tAe("matchAll"),lB="RegExp String",cB=lB+" Iterator",oAe=sB.set,aAe=sB.getterFor(cB),iB=RegExp.prototype,uAe=TypeError,mE=oB("".indexOf),Sb=oB("".matchAll),vE=!!Sb&&!eAe(function(){Sb("a",/./)}),sAe=KTe(function(e,r,n,i){oAe(this,{type:cB,regexp:e,string:r,global:n,unicode:i,done:!1})},lB,function(){var e=aAe(this);if(e.done)return{value:void 0,done:!0};var r=e.regexp,n=e.string,i=iAe(r,n);return i===null?{value:void 0,done:e.done=!0}:e.global?(Mh(i[0])===""&&(r.lastIndex=nAe(n,aB(r.lastIndex),e.unicode)),{value:i,done:!1}):(e.done=!0,{value:i,done:!1})}),gE=function(e){var r=YTe(this),n=Mh(e),i=rAe(r,RegExp),u=Mh(uB(r)),l,c,f;return l=new i(i===RegExp?r.source:r,u),c=!!~mE(u,"g"),f=!!~mE(u,"u"),l.lastIndex=aB(r.lastIndex),new sAe(l,n,c,f)};VTe({target:"String",proto:!0,forced:vE},{matchAll:function(e){var r=nB(this),n,i,u,l;if(e!=null){if(QTe(e)&&(n=Mh(nB(uB(e))),!~mE(n,"g")))throw uAe("`.matchAll` does not allow non-global regexes");if(vE)return Sb(r,e);if(u=JTe(e,Ob),u===void 0&&yE&&XTe(e)=="RegExp"&&(u=gE),u)return rB(u,e,r)}else if(vE)return Sb(r,e);return i=Mh(r),l=new RegExp(e,"g"),yE?rB(gE,l,i):l[Ob](i)}});yE||Ob in iB||ZTe(iB,Ob,gE);var yAe=G(),mAe=bE().end,gAe=wE();yAe({target:"String",proto:!0,forced:gAe},{padEnd:function(e){return mAe(this,e,arguments.length>1?arguments[1]:void 0)}});var bAe=G(),wAe=bE().start,OAe=wE();bAe({target:"String",proto:!0,forced:OAe},{padStart:function(e){return wAe(this,e,arguments.length>1?arguments[1]:void 0)}});var SAe=G(),gB=ce(),_Ae=Ht(),PAe=$e(),yB=He(),EAe=ze(),mB=gB([].push),TAe=gB([].join);SAe({target:"String",stat:!0},{raw:function(e){for(var r=_Ae(PAe(e).raw),n=EAe(r),i=arguments.length,u=[],l=0;n>l;){if(mB(u,yB(r[l++])),l===n)return TAe(u,"");l")!=="7"});LAe("replace",function(t,e,r){var n=_B?"$":"$0";return[function(u,l){var c=BAe(this),f=u==null?void 0:$Ae(u,TE);return f?wB(f,u,c,l):wB(e,zc(c),u,l)},function(i,u){var l=NAe(this),c=zc(i);if(typeof u=="string"&&OB(u,n)===-1&&OB(u,"$<")===-1){var f=r(e,l,c,u);if(f.done)return f.value}var d=DAe(u);d||(u=zc(u));var y=l.global;if(y){var m=l.unicode;l.lastIndex=0}for(var b=[];;){var O=HAe(l,c);if(O===null||(EE(b,O),!y))break;var E=zc(O[0]);E===""&&(l.lastIndex=GAe(c,UAe(l.lastIndex),m))}for(var P="",S=0,x=0;x=S&&(P+=SB(c,S,A)+z,S=A+R.length)}return P+SB(c,S)}]},!JAe||!QAe||_B);var ZAe=G(),exe=fe(),AE=ce(),PB=zt(),txe=ke(),rxe=Mc(),Hc=He(),nxe=ir(),ixe=Uc(),oxe=PE(),axe=_e(),uxe=gt(),sxe=axe("replace"),lxe=TypeError,AB=AE("".indexOf),cxe=AE("".replace),EB=AE("".slice),fxe=Math.max,TB=function(e,r,n){return n>e.length?-1:r===""?n:AB(e,r,n)};ZAe({target:"String",proto:!0},{replaceAll:function(e,r){var n=PB(this),i,u,l,c,f,d,y,m,b,O=0,E=0,P="";if(e!=null){if(i=rxe(e),i&&(u=Hc(PB(ixe(e))),!~AB(u,"g")))throw lxe("`.replaceAll` does not allow non-global regexes");if(l=nxe(e,sxe),l)return exe(l,e,n,r);if(uxe&&i)return cxe(Hc(n),e,r)}for(c=Hc(n),f=Hc(e),d=txe(r),d||(r=Hc(r)),y=f.length,m=fxe(1,y),O=TB(c,f,0);O!==-1;)b=d?Hc(r(f,O,c)):oxe(f,c,O,[],void 0,r),P+=EB(c,E,O)+b,E=O+y,O=TB(c,f,O+m);return E1||"".split(/.?/).length?n=function(u,l){var c=xE(IB(this)),f=l===void 0?qB:l>>>0;if(f===0)return[];if(u===void 0)return[c];if(!wxe(u))return Uh(e,c,u,f);for(var d=[],y=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(u.sticky?"y":""),m=0,b=new RegExp(u.source,y+"g"),O,E,P;(O=Uh(Txe,b,c))&&(E=b.lastIndex,!(E>m&&(Vc(d,Bh(c,m,O.index)),O.length>1&&O.index=f)));)b.lastIndex===O.index&&b.lastIndex++;return m===c.length?(P||!Ixe(b,""))&&Vc(d,""):Vc(d,Bh(c,m)),d.length>f?kB(d,0,f):d}:"0".split(void 0,0).length?n=function(u,l){return u===void 0&&l===0?[]:Uh(e,this,u,l)}:n=e,[function(u,l){var c=IB(this),f=u==null?void 0:Exe(u,t);return f?Uh(f,u,c,l):Uh(n,xE(c),u,l)},function(i,u){var l=Oxe(this),c=xE(i),f=r(n,l,c,u,n!==e);if(f.done)return f.value;var d=Sxe(l,RegExp),y=l.unicode,m=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(Wc?"g":"y"),b=new d(Wc?"^(?:"+l.source+")":l,m),O=u===void 0?qB:u>>>0;if(O===0)return[];if(c.length===0)return jB(b,c)===null?[c]:[];for(var E=0,P=0,S=[];P1?arguments[1]:void 0,r.length)),i=LB(e);return CB?CB(r,i,n):Mxe(r,n,n+i.length)===i}});var zxe=G(),Hxe=qs().trim,Wxe=Pb();zxe({target:"String",proto:!0,forced:Wxe("trim")},{trim:function(){return Hxe(this)}});zB();var Xxe=G(),HB=IE();Xxe({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==HB},{trimEnd:HB});KB();var eRe=G(),YB=kE();eRe({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==YB},{trimStart:YB});var aRe=G(),uRe=mn(),sRe=gn();aRe({target:"String",proto:!0,forced:sRe("anchor")},{anchor:function(e){return uRe(this,"a","name",e)}});var lRe=G(),cRe=mn(),fRe=gn();lRe({target:"String",proto:!0,forced:fRe("big")},{big:function(){return cRe(this,"big","","")}});var pRe=G(),hRe=mn(),dRe=gn();pRe({target:"String",proto:!0,forced:dRe("blink")},{blink:function(){return hRe(this,"blink","","")}});var vRe=G(),yRe=mn(),mRe=gn();vRe({target:"String",proto:!0,forced:mRe("bold")},{bold:function(){return yRe(this,"b","","")}});var gRe=G(),bRe=mn(),wRe=gn();gRe({target:"String",proto:!0,forced:wRe("fixed")},{fixed:function(){return bRe(this,"tt","","")}});var ORe=G(),SRe=mn(),_Re=gn();ORe({target:"String",proto:!0,forced:_Re("fontcolor")},{fontcolor:function(e){return SRe(this,"font","color",e)}});var PRe=G(),ERe=mn(),TRe=gn();PRe({target:"String",proto:!0,forced:TRe("fontsize")},{fontsize:function(e){return ERe(this,"font","size",e)}});var ARe=G(),xRe=mn(),RRe=gn();ARe({target:"String",proto:!0,forced:RRe("italics")},{italics:function(){return xRe(this,"i","","")}});var IRe=G(),kRe=mn(),jRe=gn();IRe({target:"String",proto:!0,forced:jRe("link")},{link:function(e){return kRe(this,"a","href",e)}});var qRe=G(),FRe=mn(),LRe=gn();qRe({target:"String",proto:!0,forced:LRe("small")},{small:function(){return FRe(this,"small","","")}});var CRe=G(),NRe=mn(),DRe=gn();CRe({target:"String",proto:!0,forced:DRe("strike")},{strike:function(){return NRe(this,"strike","","")}});var MRe=G(),URe=mn(),BRe=gn();MRe({target:"String",proto:!0,forced:BRe("sub")},{sub:function(){return URe(this,"sub","","")}});var GRe=G(),$Re=mn(),zRe=gn();GRe({target:"String",proto:!0,forced:zRe("sup")},{sup:function(){return $Re(this,"sup","","")}});var GIe=po();GIe("Float32",function(t){return function(r,n,i){return t(this,r,n,i)}});var $Ie=po();$Ie("Float64",function(t){return function(r,n,i){return t(this,r,n,i)}});var zIe=po();zIe("Int8",function(t){return function(r,n,i){return t(this,r,n,i)}});var HIe=po();HIe("Int16",function(t){return function(r,n,i){return t(this,r,n,i)}});var WIe=po();WIe("Int32",function(t){return function(r,n,i){return t(this,r,n,i)}});var VIe=po();VIe("Uint8",function(t){return function(r,n,i){return t(this,r,n,i)}});var KIe=po();KIe("Uint8",function(t){return function(r,n,i){return t(this,r,n,i)}},!0);var YIe=po();YIe("Uint16",function(t){return function(r,n,i){return t(this,r,n,i)}});var XIe=po();XIe("Uint32",function(t){return function(r,n,i){return t(this,r,n,i)}});var k6=Ie(),QIe=ze(),JIe=Pt(),ZIe=k6.aTypedArray,eke=k6.exportTypedArrayMethod;eke("at",function(e){var r=ZIe(this),n=QIe(r),i=JIe(e),u=i>=0?i:n+i;return u<0||u>=n?void 0:r[u]});var tke=ce(),j6=Ie(),rke=a_(),nke=tke(rke),ike=j6.aTypedArray,oke=j6.exportTypedArrayMethod;oke("copyWithin",function(e,r){return nke(ike(this),e,r,arguments.length>2?arguments[2]:void 0)});var q6=Ie(),ake=Vt().every,uke=q6.aTypedArray,ske=q6.exportTypedArrayMethod;ske("every",function(e){return ake(uke(this),e,arguments.length>1?arguments[1]:void 0)});var L6=Ie(),fke=Ag(),pke=QE(),hke=Ai(),dke=fe(),vke=ce(),yke=le(),mke=L6.aTypedArray,gke=L6.exportTypedArrayMethod,bke=vke("".slice),wke=yke(function(){var t=0;return new Int8Array(2).fill({valueOf:function(){return t++}}),t!==1});gke("fill",function(e){var r=arguments.length;mke(this);var n=bke(hke(this),0,3)==="Big"?pke(e):+e;return dke(fke,this,n,r>1?arguments[1]:void 0,r>2?arguments[2]:void 0)},wke);var U6=Ie(),Ake=Vt().filter,xke=Hh(),Rke=U6.aTypedArray,Ike=U6.exportTypedArrayMethod;Ike("filter",function(e){var r=Ake(Rke(this),e,arguments.length>1?arguments[1]:void 0);return xke(this,r)});var B6=Ie(),kke=Vt().find,jke=B6.aTypedArray,qke=B6.exportTypedArrayMethod;qke("find",function(e){return kke(jke(this),e,arguments.length>1?arguments[1]:void 0)});var G6=Ie(),Fke=Vt().findIndex,Lke=G6.aTypedArray,Cke=G6.exportTypedArrayMethod;Cke("findIndex",function(e){return Fke(Lke(this),e,arguments.length>1?arguments[1]:void 0)});var $6=Ie(),Nke=ph().findLast,Dke=$6.aTypedArray,Mke=$6.exportTypedArrayMethod;Mke("findLast",function(e){return Nke(Dke(this),e,arguments.length>1?arguments[1]:void 0)});var z6=Ie(),Uke=ph().findLastIndex,Bke=z6.aTypedArray,Gke=z6.exportTypedArrayMethod;Gke("findLastIndex",function(e){return Uke(Bke(this),e,arguments.length>1?arguments[1]:void 0)});var H6=Ie(),$ke=Vt().forEach,zke=H6.aTypedArray,Hke=H6.exportTypedArrayMethod;Hke("forEach",function(e){$ke(zke(this),e,arguments.length>1?arguments[1]:void 0)});var Wke=Rb(),Vke=Ie().exportTypedArrayStaticMethod,Kke=BE();Vke("from",Kke,Wke);var W6=Ie(),Yke=Zp().includes,Xke=W6.aTypedArray,Qke=W6.exportTypedArrayMethod;Qke("includes",function(e){return Yke(Xke(this),e,arguments.length>1?arguments[1]:void 0)});var V6=Ie(),Jke=Zp().indexOf,Zke=V6.aTypedArray,eje=V6.exportTypedArrayMethod;eje("indexOf",function(e){return Jke(Zke(this),e,arguments.length>1?arguments[1]:void 0)});var tje=be(),rje=le(),JE=ce(),Y6=Ie(),ZE=yh(),nje=_e(),eT=nje("iterator"),K6=tje.Uint8Array,ije=JE(ZE.values),oje=JE(ZE.keys),aje=JE(ZE.entries),tT=Y6.aTypedArray,Fb=Y6.exportTypedArrayMethod,ef=K6&&K6.prototype,Lb=!rje(function(){ef[eT].call([1])}),X6=!!ef&&ef.values&&ef[eT]===ef.values&&ef.values.name==="values",Q6=function(){return ije(tT(this))};Fb("entries",function(){return aje(tT(this))},Lb);Fb("keys",function(){return oje(tT(this))},Lb);Fb("values",Q6,Lb||!X6,{name:"values"});Fb(eT,Q6,Lb||!X6,{name:"values"});var J6=Ie(),uje=ce(),sje=J6.aTypedArray,lje=J6.exportTypedArrayMethod,cje=uje([].join);lje("join",function(e){return cje(sje(this),e)});var r7=Ie(),bje=vn(),wje=t7(),Oje=r7.aTypedArray,Sje=r7.exportTypedArrayMethod;Sje("lastIndexOf",function(e){var r=arguments.length;return bje(wje,Oje(this),r>1?[e,arguments[1]]:[e])});var n7=Ie(),_je=Vt().map,Pje=Zc(),Eje=n7.aTypedArray,Tje=n7.exportTypedArrayMethod;Tje("map",function(e){return _je(Eje(this),e,arguments.length>1?arguments[1]:void 0,function(r,n){return new(Pje(r))(n)})});var i7=Ie(),Aje=Rb(),xje=i7.aTypedArrayConstructor,Rje=i7.exportTypedArrayStaticMethod;Rje("of",function(){for(var e=0,r=arguments.length,n=new(xje(this))(r);r>e;)n[e]=arguments[e++];return n},Aje);var u7=Ie(),Lje=nT().left,Cje=u7.aTypedArray,Nje=u7.exportTypedArrayMethod;Nje("reduce",function(e){var r=arguments.length;return Lje(Cje(this),e,r,r>1?arguments[1]:void 0)});var s7=Ie(),Dje=nT().right,Mje=s7.aTypedArray,Uje=s7.exportTypedArrayMethod;Uje("reduceRight",function(e){var r=arguments.length;return Dje(Mje(this),e,r,r>1?arguments[1]:void 0)});var l7=Ie(),Bje=l7.aTypedArray,Gje=l7.exportTypedArrayMethod,$je=Math.floor;Gje("reverse",function(){for(var e=this,r=Bje(e).length,n=$je(r/2),i=0,u;i1?arguments[1]:void 0,1),n=Wje(e);if(oT)return p7(d7,this,n,r);var i=this.length,u=zje(n),l=0;if(u+r>i)throw Vje("Wrong length");for(;lu;)c[u]=n[u++];return c},rqe);var y7=Ie(),nqe=Vt().some,iqe=y7.aTypedArray,oqe=y7.exportTypedArrayMethod;oqe("some",function(e){return nqe(iqe(this),e,arguments.length>1?arguments[1]:void 0)});var aqe=be(),uqe=ce(),uT=le(),sqe=ge(),lqe=jg(),O7=Ie(),m7=g_(),cqe=b_(),g7=Ba(),b7=qg(),fqe=O7.aTypedArray,pqe=O7.exportTypedArrayMethod,Wh=aqe.Uint16Array,tf=Wh&&uqe(Wh.prototype.sort),hqe=!!tf&&!(uT(function(){tf(new Wh(2),null)})&&uT(function(){tf(new Wh(2),{})})),w7=!!tf&&!uT(function(){if(g7)return g7<74;if(m7)return m7<67;if(cqe)return!0;if(b7)return b7<602;var t=new Wh(516),e=Array(516),r,n;for(r=0;r<516;r++)n=r%4,t[r]=515-r,e[r]=r-2*n+3;for(tf(t,function(i,u){return(i/4|0)-(u/4|0)}),r=0;r<516;r++)if(t[r]!==e[r])return!0}),dqe=function(e){return function(r,n){return e!==void 0?+e(r,n)||0:n!==n?-1:r!==r?1:r===0&&n===0?1/r>0&&1/n<0?1:-1:r>n}};pqe("sort",function(e){return e!==void 0&&sqe(e),w7?tf(this,e):lqe(fqe(this),dqe(e))},!w7||hqe);var _7=Ie(),vqe=In(),S7=Ti(),yqe=Zc(),mqe=_7.aTypedArray,gqe=_7.exportTypedArrayMethod;gqe("subarray",function(e,r){var n=mqe(this),i=n.length,u=S7(e,i),l=yqe(n);return new l(n.buffer,n.byteOffset+u*n.BYTES_PER_ELEMENT,vqe((r===void 0?i:S7(r,i))-u))});var bqe=be(),wqe=vn(),T7=Ie(),sT=le(),P7=Ka(),Cb=bqe.Int8Array,E7=T7.aTypedArray,Oqe=T7.exportTypedArrayMethod,A7=[].toLocaleString,Sqe=!!Cb&&sT(function(){A7.call(new Cb(1))}),_qe=sT(function(){return[1,2].toLocaleString()!=new Cb([1,2]).toLocaleString()})||!sT(function(){Cb.prototype.toLocaleString.call([1,2])});Oqe("toLocaleString",function(){return wqe(A7,Sqe?P7(E7(this)):E7(this),P7(arguments))},_qe);var Pqe=Ie().exportTypedArrayMethod,Eqe=le(),Tqe=be(),Aqe=ce(),x7=Tqe.Uint8Array,xqe=x7&&x7.prototype||{},Nb=[].toString,Rqe=Aqe([].join);Eqe(function(){Nb.call({})})&&(Nb=function(){return Rqe(this)});var Iqe=xqe.toString!=Nb;Pqe("toString",Nb,Iqe);var sFt=Ce(zb(),1);M7();var N2e=G(),D2e=wT();N2e({target:"Array",stat:!0,forced:!0},{fromAsync:D2e});var M2e=G(),U2e=Vt().filterReject,B2e=wt();M2e({target:"Array",proto:!0,forced:!0},{filterOut:function(e){return U2e(this,e,arguments.length>1?arguments[1]:void 0)}});B2e("filterOut");var G2e=G(),$2e=Vt().filterReject,z2e=wt();G2e({target:"Array",proto:!0,forced:!0},{filterReject:function(e){return $2e(this,e,arguments.length>1?arguments[1]:void 0)}});z2e("filterReject");var tFe=G(),rFe=Vb(),nFe=wt();tFe({target:"Array",proto:!0},{group:function(e){var r=arguments.length>1?arguments[1]:void 0;return rFe(this,e,r)}});nFe("group");var iFe=G(),oFe=Vb(),aFe=ks(),uFe=wt();iFe({target:"Array",proto:!0,forced:!aFe("groupBy")},{groupBy:function(e){var r=arguments.length>1?arguments[1]:void 0;return oFe(this,e,r)}});uFe("groupBy");var mFe=G(),gFe=ks(),bFe=wt(),wFe=ST();mFe({target:"Array",proto:!0,name:"groupToMap",forced:!gFe("groupByToMap")},{groupByToMap:wFe});bFe("groupByToMap");var OFe=G(),SFe=wt(),_Fe=ST();OFe({target:"Array",proto:!0},{groupToMap:_Fe});SFe("groupToMap");var PFe=G(),EFe=_s(),f9=Object.isFrozen,p9=function(e,r){if(!f9||!EFe(e)||!f9(e))return!1;for(var n=0,i=e.length,u;n1?arguments[1]:void 0);return!KMe(n,function(u,l,c){if(!i(l,u,r))return c()},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var YMe=G(),XMe=Oe(),QMe=ut(),JMe=fe(),ZMe=ge(),e3e=ie(),t3e=Hr(),r3e=ki(),n3e=Ae();YMe({target:"Map",proto:!0,real:!0,forced:!0},{filter:function(e){var r=e3e(this),n=r3e(r),i=QMe(e,arguments.length>1?arguments[1]:void 0),u=new(t3e(r,XMe("Map"))),l=ZMe(u.set);return n3e(n,function(c,f){i(f,c,r)&&JMe(l,u,c,f)},{AS_ENTRIES:!0,IS_ITERATOR:!0}),u}});var i3e=G(),o3e=ie(),a3e=ut(),u3e=ki(),s3e=Ae();i3e({target:"Map",proto:!0,real:!0,forced:!0},{find:function(e){var r=o3e(this),n=u3e(r),i=a3e(e,arguments.length>1?arguments[1]:void 0);return s3e(n,function(u,l,c){if(i(l,u,r))return c(l)},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}});var l3e=G(),c3e=ie(),f3e=ut(),p3e=ki(),h3e=Ae();l3e({target:"Map",proto:!0,real:!0,forced:!0},{findKey:function(e){var r=c3e(this),n=p3e(r),i=f3e(e,arguments.length>1?arguments[1]:void 0);return h3e(n,function(u,l,c){if(i(l,u,r))return c(u)},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}});var g3e=G(),b3e=rd();g3e({target:"Map",stat:!0,forced:!0},{from:b3e});var w3e=G(),BT=fe(),O3e=ce(),tw=ge(),S3e=oi(),_3e=Ae(),P3e=O3e([].push);w3e({target:"Map",stat:!0,forced:!0},{groupBy:function(e,r){tw(r);var n=S3e(e),i=new this,u=tw(i.has),l=tw(i.get),c=tw(i.set);return _3e(n,function(f){var d=r(f);BT(u,i,d)?P3e(BT(l,i,d),f):BT(c,i,d,[f])},{IS_ITERATOR:!0}),i}});var E3e=G(),T3e=ie(),A3e=ki(),x3e=SG(),R3e=Ae();E3e({target:"Map",proto:!0,real:!0,forced:!0},{includes:function(e){return R3e(A3e(T3e(this)),function(r,n,i){if(x3e(n,e))return i()},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var I3e=G(),k3e=fe(),j3e=Ae(),_G=ge();I3e({target:"Map",stat:!0,forced:!0},{keyBy:function(e,r){var n=new this;_G(r);var i=_G(n.set);return j3e(e,function(u){k3e(i,n,r(u),u)}),n}});var q3e=G(),F3e=ie(),L3e=ki(),C3e=Ae();q3e({target:"Map",proto:!0,real:!0,forced:!0},{keyOf:function(e){return C3e(L3e(F3e(this)),function(r,n,i){if(n===e)return i(r)},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).result}});var N3e=G(),D3e=Oe(),M3e=ut(),U3e=fe(),B3e=ge(),G3e=ie(),$3e=Hr(),z3e=ki(),H3e=Ae();N3e({target:"Map",proto:!0,real:!0,forced:!0},{mapKeys:function(e){var r=G3e(this),n=z3e(r),i=M3e(e,arguments.length>1?arguments[1]:void 0),u=new($3e(r,D3e("Map"))),l=B3e(u.set);return H3e(n,function(c,f){U3e(l,u,i(f,c,r),f)},{AS_ENTRIES:!0,IS_ITERATOR:!0}),u}});var W3e=G(),V3e=Oe(),K3e=ut(),Y3e=fe(),X3e=ge(),Q3e=ie(),J3e=Hr(),Z3e=ki(),e5e=Ae();W3e({target:"Map",proto:!0,real:!0,forced:!0},{mapValues:function(e){var r=Q3e(this),n=Z3e(r),i=K3e(e,arguments.length>1?arguments[1]:void 0),u=new(J3e(r,V3e("Map"))),l=X3e(u.set);return e5e(n,function(c,f){Y3e(l,u,c,i(f,c,r))},{AS_ENTRIES:!0,IS_ITERATOR:!0}),u}});var t5e=G(),r5e=ge(),n5e=ie(),i5e=Ae();t5e({target:"Map",proto:!0,real:!0,arity:1,forced:!0},{merge:function(e){for(var r=n5e(this),n=r5e(r.set),i=arguments.length,u=0;u1?arguments[1]:void 0);return g5e(n,function(u,l,c){if(i(l,u,r))return c()},{AS_ENTRIES:!0,IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var b5e=G(),GT=fe(),w5e=ie(),id=ge(),O5e=TypeError;b5e({target:"Map",proto:!0,real:!0,forced:!0},{update:function(e,r){var n=w5e(this),i=id(n.get),u=id(n.has),l=id(n.set),c=arguments.length;id(r);var f=GT(u,n,e);if(!f&&c<3)throw O5e("Updating absent value");var d=f?GT(i,n,e):id(c>2?arguments[2]:void 0)(e,n);return GT(l,n,e,r(d,e,n)),n}});var P5e=G(),E5e=iw();P5e({target:"Map",proto:!0,real:!0,name:"upsert",forced:!0},{updateOrInsert:E5e});var T5e=G(),A5e=iw();T5e({target:"Map",proto:!0,real:!0,forced:!0},{upsert:A5e});var x5e=G(),R5e=Math.min,I5e=Math.max;x5e({target:"Math",stat:!0,forced:!0},{clamp:function(e,r,n){return R5e(n,I5e(r,e))}});var k5e=G();k5e({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{DEG_PER_RAD:Math.PI/180});var j5e=G(),q5e=180/Math.PI;j5e({target:"Math",stat:!0,forced:!0},{degrees:function(e){return e*q5e}});var F5e=G(),L5e=zT(),C5e=V_();F5e({target:"Math",stat:!0,forced:!0},{fscale:function(e,r,n,i,u){return C5e(L5e(e,r,n,i,u))}});var N5e=G();N5e({target:"Math",stat:!0,forced:!0},{iaddh:function(e,r,n,i){var u=e>>>0,l=r>>>0,c=n>>>0;return l+(i>>>0)+((u&c|(u|c)&~(u+c>>>0))>>>31)|0}});var D5e=G();D5e({target:"Math",stat:!0,forced:!0},{imulh:function(e,r){var n=65535,i=+e,u=+r,l=i&n,c=u&n,f=i>>16,d=u>>16,y=(f*c>>>0)+(l*c>>>16);return f*d+(y>>16)+((l*d>>>0)+(y&n)>>16)}});var M5e=G();M5e({target:"Math",stat:!0,forced:!0},{isubh:function(e,r,n,i){var u=e>>>0,l=r>>>0,c=n>>>0;return l-(i>>>0)-((~u&c|~(u^c)&u-c>>>0)>>>31)|0}});var U5e=G();U5e({target:"Math",stat:!0,nonConfigurable:!0,nonWritable:!0},{RAD_PER_DEG:180/Math.PI});var B5e=G(),G5e=Math.PI/180;B5e({target:"Math",stat:!0,forced:!0},{radians:function(e){return e*G5e}});var $5e=G(),z5e=zT();$5e({target:"Math",stat:!0,forced:!0},{scale:z5e});var H5e=G(),W5e=ie(),V5e=eP(),K5e=Xa(),AG=at(),xG="Seeded Random",RG=xG+" Generator",Y5e='Math.seededPRNG() argument should have a "seed" field with a finite value.',X5e=AG.set,Q5e=AG.getterFor(RG),J5e=TypeError,Z5e=K5e(function(e){X5e(this,{type:RG,seed:e%2147483647})},xG,function(){var e=Q5e(this),r=e.seed=(e.seed*1103515245+12345)%2147483647;return{value:(r&1073741823)/1073741823,done:!1}});H5e({target:"Math",stat:!0,forced:!0},{seededPRNG:function(e){var r=W5e(e).seed;if(!V5e(r))throw J5e(Y5e);return new Z5e(r)}});var eUe=G();eUe({target:"Math",stat:!0,forced:!0},{signbit:function(e){var r=+e;return r==r&&r==0?1/r==-1/0:r<0}});var tUe=G();tUe({target:"Math",stat:!0,forced:!0},{umulh:function(e,r){var n=65535,i=+e,u=+r,l=i&n,c=u&n,f=i>>>16,d=u>>>16,y=(f*c>>>0)+(l*c>>>16);return f*d+(y>>>16)+((l*d>>>0)+(y&n)>>>16)}});var rUe=G(),aw=ce(),nUe=Pt(),iUe=tP(),ow="Invalid number representation",oUe="Invalid radix",aUe=RangeError,HT=SyntaxError,uUe=TypeError,IG=/^[\da-z]+$/,sUe=aw("".charAt),lUe=aw(IG.exec),cUe=aw(1 .toString),fUe=aw("".slice);rUe({target:"Number",stat:!0,forced:!0},{fromString:function(e,r){var n=1,i,u;if(typeof e!="string")throw uUe(ow);if(!e.length||sUe(e,0)=="-"&&(n=-1,e=fUe(e,1),!e.length))throw HT(ow);if(i=r===void 0?10:nUe(r),i<2||i>36)throw aUe(oUe);if(!lUe(IG,e)||cUe(u=iUe(e,i),i)!==e)throw HT(ow);return n*u}});var pUe=G(),hUe=jT();pUe({target:"Number",stat:!0,forced:!0},{range:function(e,r,n){return new hUe(e,r,n,"number",0,1)}});var wUe=G(),OUe=uw();wUe({target:"Object",stat:!0,forced:!0},{iterateEntries:function(e){return new OUe(e,"entries")}});var SUe=G(),_Ue=uw();SUe({target:"Object",stat:!0,forced:!0},{iterateKeys:function(e){return new _Ue(e,"keys")}});var PUe=G(),EUe=uw();PUe({target:"Object",stat:!0,forced:!0},{iterateValues:function(e){return new EUe(e,"values")}});HG();VG();YG();var ZUe=G(),e8e=Vo(),t8e=ou();ZUe({target:"Promise",stat:!0,forced:!0},{try:function(e){var r=e8e.f(this),n=t8e(e);return(n.error?r.reject:r.resolve)(n.value),r.promise}});var f8e=G(),e$=vo(),p8e=ie(),h8e=e$.toKey,d8e=e$.set;f8e({target:"Reflect",stat:!0},{defineMetadata:function(e,r,n){var i=arguments.length<4?void 0:h8e(arguments[3]);d8e(e,r,p8e(n),i)}});var v8e=G(),tA=vo(),y8e=ie(),m8e=tA.toKey,g8e=tA.getMap,t$=tA.store;v8e({target:"Reflect",stat:!0},{deleteMetadata:function(e,r){var n=arguments.length<3?void 0:m8e(arguments[2]),i=g8e(y8e(r),n,!1);if(i===void 0||!i.delete(e))return!1;if(i.size)return!0;var u=t$.get(r);return u.delete(n),!!u.size||t$.delete(r)}});var b8e=G(),rA=vo(),w8e=ie(),O8e=Er(),S8e=rA.has,_8e=rA.get,P8e=rA.toKey,E8e=function t(e,r,n){var i=S8e(e,r,n);if(i)return _8e(e,r,n);var u=O8e(r);return u!==null?t(e,u,n):void 0};b8e({target:"Reflect",stat:!0},{getMetadata:function(e,r){var n=arguments.length<3?void 0:P8e(arguments[2]);return E8e(e,w8e(r),n)}});var T8e=G(),r$=ce(),n$=vo(),A8e=ie(),x8e=Er(),R8e=Xb(),I8e=r$(R8e),k8e=r$([].concat),j8e=n$.keys,q8e=n$.toKey,F8e=function t(e,r){var n=j8e(e,r),i=x8e(e);if(i===null)return n;var u=t(i,r);return u.length?n.length?I8e(k8e(n,u)):u:n};T8e({target:"Reflect",stat:!0},{getMetadataKeys:function(e){var r=arguments.length<2?void 0:q8e(arguments[1]);return F8e(A8e(e),r)}});var L8e=G(),i$=vo(),C8e=ie(),N8e=i$.get,D8e=i$.toKey;L8e({target:"Reflect",stat:!0},{getOwnMetadata:function(e,r){var n=arguments.length<3?void 0:D8e(arguments[2]);return N8e(e,C8e(r),n)}});var M8e=G(),o$=vo(),U8e=ie(),B8e=o$.keys,G8e=o$.toKey;M8e({target:"Reflect",stat:!0},{getOwnMetadataKeys:function(e){var r=arguments.length<2?void 0:G8e(arguments[1]);return B8e(U8e(e),r)}});var $8e=G(),a$=vo(),z8e=ie(),H8e=Er(),W8e=a$.has,V8e=a$.toKey,K8e=function t(e,r,n){var i=W8e(e,r,n);if(i)return!0;var u=H8e(r);return u!==null?t(e,u,n):!1};$8e({target:"Reflect",stat:!0},{hasMetadata:function(e,r){var n=arguments.length<3?void 0:V8e(arguments[2]);return K8e(e,z8e(r),n)}});var Y8e=G(),u$=vo(),X8e=ie(),Q8e=u$.has,J8e=u$.toKey;Y8e({target:"Reflect",stat:!0},{hasOwnMetadata:function(e,r){var n=arguments.length<3?void 0:J8e(arguments[2]);return Q8e(e,X8e(r),n)}});var Z8e=G(),s$=vo(),e4e=ie(),t4e=s$.toKey,r4e=s$.set;Z8e({target:"Reflect",stat:!0},{metadata:function(e,r){return function(i,u){r4e(e,r,e4e(i),t4e(u))}}});var a4e=G(),u4e=nA();a4e({target:"Set",proto:!0,real:!0,forced:!0},{addAll:u4e});var s4e=G(),l4e=td();s4e({target:"Set",proto:!0,real:!0,forced:!0},{deleteAll:l4e});var c4e=G(),f4e=Oe(),p4e=fe(),h4e=ge(),d4e=ie(),v4e=Hr(),y4e=Ae();c4e({target:"Set",proto:!0,real:!0,forced:!0},{difference:function(e){var r=d4e(this),n=new(v4e(r,f4e("Set")))(r),i=h4e(n.delete);return y4e(e,function(u){p4e(i,n,u)}),n}});var g4e=G(),b4e=ie(),w4e=ut(),O4e=du(),S4e=Ae();g4e({target:"Set",proto:!0,real:!0,forced:!0},{every:function(e){var r=b4e(this),n=O4e(r),i=w4e(e,arguments.length>1?arguments[1]:void 0);return!S4e(n,function(u,l){if(!i(u,u,r))return l()},{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var _4e=G(),P4e=Oe(),E4e=fe(),T4e=ge(),A4e=ie(),x4e=ut(),R4e=Hr(),I4e=du(),k4e=Ae();_4e({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(e){var r=A4e(this),n=I4e(r),i=x4e(e,arguments.length>1?arguments[1]:void 0),u=new(R4e(r,P4e("Set"))),l=T4e(u.add);return k4e(n,function(c){i(c,c,r)&&E4e(l,u,c)},{IS_ITERATOR:!0}),u}});var j4e=G(),q4e=ie(),F4e=ut(),L4e=du(),C4e=Ae();j4e({target:"Set",proto:!0,real:!0,forced:!0},{find:function(e){var r=q4e(this),n=L4e(r),i=F4e(e,arguments.length>1?arguments[1]:void 0);return C4e(n,function(u,l){if(i(u,u,r))return l(u)},{IS_ITERATOR:!0,INTERRUPTED:!0}).result}});var N4e=G(),D4e=rd();N4e({target:"Set",stat:!0,forced:!0},{from:D4e});var M4e=G(),U4e=Oe(),f$=fe(),p$=ge(),B4e=ie(),G4e=Hr(),$4e=Ae();M4e({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(e){var r=B4e(this),n=new(G4e(r,U4e("Set"))),i=p$(r.has),u=p$(n.add);return $4e(e,function(l){f$(i,r,l)&&f$(u,n,l)}),n}});var z4e=G(),H4e=fe(),W4e=ge(),V4e=ie(),K4e=Ae();z4e({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(e){var r=V4e(this),n=W4e(r.has);return!K4e(e,function(i,u){if(H4e(n,r,i)===!0)return u()},{INTERRUPTED:!0}).stopped}});var Y4e=G(),X4e=Oe(),Q4e=fe(),J4e=ge(),Z4e=ke(),eBe=ie(),tBe=oi(),rBe=Ae();Y4e({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(e){var r=tBe(this),n=eBe(e),i=n.has;return Z4e(i)||(n=new(X4e("Set"))(e),i=J4e(n.has)),!rBe(r,function(u,l){if(Q4e(i,n,u)===!1)return l()},{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var nBe=G(),iBe=fe(),oBe=ge(),aBe=ie(),uBe=Ae();nBe({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(e){var r=aBe(this),n=oBe(r.has);return!uBe(e,function(i,u){if(iBe(n,r,i)===!1)return u()},{INTERRUPTED:!0}).stopped}});var sBe=G(),lBe=ce(),cBe=ie(),fBe=He(),pBe=du(),hBe=Ae(),dBe=lBe([].join),vBe=[].push;sBe({target:"Set",proto:!0,real:!0,forced:!0},{join:function(e){var r=cBe(this),n=pBe(r),i=e===void 0?",":fBe(e),u=[];return hBe(n,vBe,{that:u,IS_ITERATOR:!0}),dBe(u,i)}});var yBe=G(),mBe=Oe(),gBe=ut(),bBe=fe(),wBe=ge(),OBe=ie(),SBe=Hr(),_Be=du(),PBe=Ae();yBe({target:"Set",proto:!0,real:!0,forced:!0},{map:function(e){var r=OBe(this),n=_Be(r),i=gBe(e,arguments.length>1?arguments[1]:void 0),u=new(SBe(r,mBe("Set"))),l=wBe(u.add);return PBe(n,function(c){bBe(l,u,i(c,c,r))},{IS_ITERATOR:!0}),u}});var EBe=G(),TBe=nd();EBe({target:"Set",stat:!0,forced:!0},{of:TBe});var ABe=G(),xBe=ge(),RBe=ie(),IBe=du(),kBe=Ae(),jBe=TypeError;ABe({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(e){var r=RBe(this),n=IBe(r),i=arguments.length<2,u=i?void 0:arguments[1];if(xBe(e),kBe(n,function(l){i?(i=!1,u=l):u=e(u,l,l,r)},{IS_ITERATOR:!0}),i)throw jBe("Reduce of empty set with no initial value");return u}});var qBe=G(),FBe=ie(),LBe=ut(),CBe=du(),NBe=Ae();qBe({target:"Set",proto:!0,real:!0,forced:!0},{some:function(e){var r=FBe(this),n=CBe(r),i=LBe(e,arguments.length>1?arguments[1]:void 0);return NBe(n,function(u,l){if(i(u,u,r))return l()},{IS_ITERATOR:!0,INTERRUPTED:!0}).stopped}});var DBe=G(),MBe=Oe(),h$=fe(),d$=ge(),UBe=ie(),BBe=Hr(),GBe=Ae();DBe({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(e){var r=UBe(this),n=new(BBe(r,MBe("Set")))(r),i=d$(n.delete),u=d$(n.add);return GBe(e,function(l){h$(i,n,l)||h$(u,n,l)}),n}});var $Be=G(),zBe=Oe(),HBe=ge(),WBe=ie(),VBe=Hr(),KBe=Ae();$Be({target:"Set",proto:!0,real:!0,forced:!0},{union:function(e){var r=WBe(this),n=new(VBe(r,zBe("Set")))(r);return KBe(e,HBe(n.add),{that:n}),n}});var YBe=G(),XBe=Bs().charAt,QBe=zt(),JBe=Pt(),ZBe=He();YBe({target:"String",proto:!0,forced:!0},{at:function(e){var r=ZBe(QBe(this)),n=r.length,i=JBe(e),u=i>=0?i:n+i;return u<0||u>=n?void 0:XBe(r,u)}});var e6e=G(),m$=ce(),t6e=Ht(),v$=He(),r6e=ze(),n6e=TypeError,g$=Array.prototype,y$=m$(g$.push),i6e=m$(g$.join);e6e({target:"String",stat:!0,forced:!0},{cooked:function(e){for(var r=t6e(e),n=r6e(r),i=arguments.length,u=[],l=0;n>l;){var c=r[l++];if(c===void 0)throw n6e("Incorrect template");if(y$(u,v$(c)),l===n)return i6e(u,"");l=r.length?{value:void 0,done:!0}:(i=c6e(r,n),e.index+=i.length,{value:{codePoint:l6e(i,0),position:n},done:!1})});o6e({target:"String",proto:!0,forced:!0},{codePoints:function(){return new h6e(s6e(u6e(this)))}});var d6e=Et();d6e("asyncDispose");var v6e=Et();v6e("dispose");var y6e=Et();y6e("matcher");var m6e=Et();m6e("metadata");var g6e=Et();g6e("metadataKey");var b6e=Et();b6e("observable");var w6e=Et();w6e("patternMatch");var O6e=Et();O6e("replaceAll");var S6e=Oe(),_6e=jc(),P6e=wT(),S$=Ie(),E6e=Jc(),T6e=S$.aTypedArrayConstructor,A6e=S$.exportTypedArrayStaticMethod;A6e("fromAsync",function(e){var r=this,n=arguments.length,i=n>1?arguments[1]:void 0,u=n>2?arguments[2]:void 0;return new(S6e("Promise"))(function(l){_6e(r),l(P6e(e,i,u))}).then(function(l){return E6e(T6e(r),l)})},!0);var _$=Ie(),x6e=Vt().filterReject,R6e=Hh(),I6e=_$.aTypedArray,k6e=_$.exportTypedArrayMethod;k6e("filterOut",function(e){var r=x6e(I6e(this),e,arguments.length>1?arguments[1]:void 0);return R6e(this,r)},!0);var P$=Ie(),j6e=Vt().filterReject,q6e=Hh(),F6e=P$.aTypedArray,L6e=P$.exportTypedArrayMethod;L6e("filterReject",function(e){var r=j6e(F6e(this),e,arguments.length>1?arguments[1]:void 0);return q6e(this,r)},!0);var E$=Ie(),C6e=Vb(),N6e=Zc(),D6e=E$.aTypedArray,M6e=E$.exportTypedArrayMethod;M6e("groupBy",function(e){var r=arguments.length>1?arguments[1]:void 0;return C6e(D6e(this),e,r,N6e)},!0);var U6e=_T(),iA=Ie(),B6e=iA.aTypedArray,G6e=iA.exportTypedArrayMethod,$6e=iA.getTypedArrayConstructor;G6e("toReversed",function(){return U6e(B6e(this),$6e(this))});var pw=Ie(),z6e=ce(),H6e=ge(),W6e=Jc(),V6e=pw.aTypedArray,K6e=pw.getTypedArrayConstructor,Y6e=pw.exportTypedArrayMethod,X6e=z6e(pw.TypedArrayPrototype.sort);Y6e("toSorted",function(e){e!==void 0&&H6e(e);var r=V6e(this),n=W6e(K6e(r),r);return X6e(n,e)});var oA=Ie(),Q6e=ze(),J6e=Ti(),Z6e=Pt(),e7e=le(),t7e=oA.aTypedArray,r7e=oA.getTypedArrayConstructor,n7e=oA.exportTypedArrayMethod,i7e=Math.max,o7e=Math.min,a7e=!e7e(function(){var t=new Int8Array([1]),e=t.toSpliced(1,0,{valueOf:function(){return t[0]=2,3}});return e[0]!==2||e[1]!==3});n7e("toSpliced",function(e,r){var n=t7e(this),i=r7e(n),u=Q6e(n),l=J6e(e,u),c=arguments.length,f=0,d,y,m,b,O;if(c===0)d=y=0;else if(c===1)d=0,y=u-l;else if(y=o7e(i7e(Z6e(r),0),u-l),d=c-2,d){m=new i(d);for(var E=2;E>(-2*u&6))));return n}});var Q7e=G(),G$=Oe(),$$=ce(),z$=le(),N$=He(),J7e=iu(),Z7e=uA().itoc,Ws=G$("btoa"),D$=$$("".charAt),e9e=$$("".charCodeAt),M$=!!Ws&&!z$(function(){Ws()}),U$=!!Ws&&z$(function(){return Ws(null)!=="bnVsbA=="}),B$=!!Ws&&Ws.length!==1;Q7e({global:!0,enumerable:!0,forced:M$||U$||B$},{btoa:function(e){if(J7e(arguments.length,1),M$||U$||B$)return Ws(N$(e));for(var r=N$(e),n="",i=0,u=Z7e,l,c;D$(r,i)||(u="=",i%1);){if(c=e9e(r,i+=3/4),c>255)throw new(G$("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");l=l<<8|c,n+=D$(u,63&l>>8-i%1*8)}return n}});var X$=be(),Q$=hA(),o9e=vA(),yA=Y$(),a9e=or(),J$=function(e){if(e&&e.forEach!==yA)try{a9e(e,"forEach",yA)}catch(r){e.forEach=yA}};for(hw in Q$)Q$[hw]&&J$(X$[hw]&&X$[hw].prototype);var hw;J$(o9e);var Z$=be(),tz=hA(),u9e=vA(),fd=yh(),mA=or(),rz=_e(),gA=rz("iterator"),ez=rz("toStringTag"),bA=fd.values,nz=function(e,r){if(e){if(e[gA]!==bA)try{mA(e,gA,bA)}catch(i){e[gA]=bA}if(e[ez]||mA(e,ez,r),tz[r]){for(var n in fd)if(e[n]!==fd[n])try{mA(e,n,fd[n])}catch(i){e[n]=fd[n]}}}};for(dw in tz)nz(Z$[dw]&&Z$[dw].prototype,dw);var dw;nz(u9e,"DOMTokenList");var d9e=G(),v9e=oz(),gw=Oe(),TA=le(),y9e=Wt(),AA=Rn(),bw=it().f,m9e=bt(),yw=Ko(),mw=Ue(),g9e=yn(),b9e=ie(),pz=sz(),cz=Sc(),uf=wA(),w9e=ch(),hz=at(),xA=xe(),dz=gt(),sf="DOMException",EA="DATA_CLONE_ERR",Ow=gw("Error"),Qo=gw(sf)||function(){try{var t=gw("MessageChannel")||v9e("worker_threads").MessageChannel;new t().port1.postMessage(new WeakMap)}catch(e){if(e.name==EA&&e.code==25)return e.constructor}}(),O9e=Qo&&Qo.prototype,vz=Ow.prototype,S9e=hz.set,_9e=hz.getterFor(sf),P9e="stack"in Ow(sf),yz=function(e){return mw(uf,e)&&uf[e].m?uf[e].c:0},RA=function(){g9e(this,hd);var e=arguments.length,r=cz(e<1?void 0:arguments[0]),n=cz(e<2?void 0:arguments[1],"Error"),i=yz(n);if(S9e(this,{type:sf,name:n,message:r,code:i}),xA||(this.name=n,this.message=r,this.code=i),P9e){var u=Ow(r);u.name=sf,bw(this,"stack",AA(1,w9e(u.stack,1)))}},hd=RA.prototype=y9e(vz),mz=function(e){return{enumerable:!0,configurable:!0,get:e}},OA=function(e){return mz(function(){return _9e(this)[e]})};xA&&(yw(hd,"code",OA("code")),yw(hd,"message",OA("message")),yw(hd,"name",OA("name")));bw(hd,"constructor",AA(1,RA));var Sw=TA(function(){return!(new Qo instanceof Ow)}),gz=Sw||TA(function(){return vz.toString!==pz||String(new Qo(1,2))!=="2: 1"}),bz=Sw||TA(function(){return new Qo(1,"DataCloneError").code!==25}),E9e=Sw||Qo[EA]!==25||O9e[EA]!==25,fz=dz?gz||bz||E9e:Sw;d9e({global:!0,constructor:!0,forced:fz},{DOMException:fz?RA:Qo});var dd=gw(sf),ww=dd.prototype;gz&&(dz||Qo===dd)&&m9e(ww,"toString",pz);bz&&xA&&Qo===dd&&yw(ww,"code",mz(function(){return yz(b9e(this).name)}));for(SA in uf)mw(uf,SA)&&(_A=uf[SA],pd=_A.s,PA=AA(6,_A.c),mw(dd,pd)||bw(dd,pd,PA),mw(ww,pd)||bw(ww,pd,PA));var _A,pd,PA,SA;var T9e=G(),A9e=be(),NA=Oe(),LA=Rn(),CA=it().f,wz=Ue(),x9e=yn(),R9e=As(),Oz=Sc(),IA=wA(),I9e=ch(),k9e=xe(),Pz=gt(),yd="DOMException",Ez=NA("Error"),md=NA(yd),DA=function(){x9e(this,j9e);var e=arguments.length,r=Oz(e<1?void 0:arguments[0]),n=Oz(e<2?void 0:arguments[1],"Error"),i=new md(r,n),u=Ez(r);return u.name=yd,CA(i,"stack",LA(1,I9e(u.stack,1))),R9e(i,this,DA),i},j9e=DA.prototype=md.prototype,q9e="stack"in Ez(yd),F9e="stack"in new md(1,2),kA=md&&k9e&&Object.getOwnPropertyDescriptor(A9e,yd),L9e=!!kA&&!(kA.writable&&kA.configurable),Sz=q9e&&!L9e&&!F9e;T9e({global:!0,constructor:!0,forced:Pz||Sz},{DOMException:Sz?DA:md});var vd=NA(yd),_z=vd.prototype;if(_z.constructor!==vd){Pz||CA(_z,"constructor",LA(1,vd));for(jA in IA)wz(IA,jA)&&(qA=IA[jA],FA=qA.s,wz(vd,FA)||CA(vd,FA,LA(6,qA.c)))}var qA,FA,jA;var C9e=Oe(),N9e=hn(),Tz="DOMException";N9e(C9e(Tz),Tz);var D9e=G(),M9e=be(),U9e=RP(),B9e=ge(),G9e=iu(),$9e=nu(),z9e=M9e.process;D9e({global:!0,enumerable:!0,dontCallGetSet:!0},{queueMicrotask:function(e){G9e(arguments.length,1),B9e(e);var r=$9e&&z9e.domain;U9e(r?r.bind(e):e)}});function $A(t){"@babel/helpers - typeof";return $A=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$A(t)}var H9e=gt(),W9e=G(),Lt=be(),wd=Oe(),Jo=ce(),Ew=le(),V9e=gs(),zA=ke(),xz=xi(),HA=Ne(),K9e=Ga(),Y9e=Ae(),Rz=ie(),Iz=Ai(),X9e=Ue(),Q9e=io(),MA=or(),WA=ze(),J9e=iu(),Z9e=Uc(),eGe=gg(),UA=Ba(),tGe=kP(),rGe=ib(),nGe=nu(),gd=Lt.Object,kz=Lt.Date,Od=Lt.Error,iGe=Lt.EvalError,oGe=Lt.RangeError,aGe=Lt.ReferenceError,uGe=Lt.SyntaxError,jz=Lt.TypeError,sGe=Lt.URIError,lGe=Lt.PerformanceMark,lf=Lt.WebAssembly,cGe=lf&&lf.CompileError||Od,fGe=lf&&lf.LinkError||Od,pGe=lf&&lf.RuntimeError||Od,Vs=wd("DOMException"),qz=wd("Set"),_w=wd("Map"),KA=_w.prototype,Fz=Jo(KA.has),hGe=Jo(KA.get),Pw=Jo(KA.set),dGe=Jo(qz.prototype.add),vGe=wd("Object","keys"),yGe=Jo([].push),mGe=Jo((!0).valueOf),gGe=Jo(1 .valueOf),bGe=Jo("".valueOf),wGe=Jo(kz.prototype.getTime),VA=V9e("structuredClone"),bd="DataCloneError",BA="Transferring",Lz=function(e){return!Ew(function(){var r=new Lt.Set([7]),n=e(r),i=e(gd(7));return n==r||!n.has(7)||$A(i)!="object"||i!=7})&&e},Az=function(e,r){return!Ew(function(){var n=new r,i=e({a:n,b:n});return!(i&&i.a===i.b&&i.a instanceof r&&i.a.stack===n.stack)})},OGe=function(e){return!Ew(function(){var r=e(new Lt.AggregateError([1],VA,{cause:3}));return r.name!="AggregateError"||r.errors[0]!=1||r.message!=VA||r.cause!=3})},yu=Lt.structuredClone,SGe=H9e||!Az(yu,Od)||!Az(yu,Vs)||!OGe(yu),_Ge=!yu&&Lz(function(t){return new lGe(VA,{detail:t}).detail}),vu=Lz(yu)||_Ge,GA=function(e){throw new Vs("Uncloneable type: "+e,bd)},Vr=function(e,r){throw new Vs((r||"Cloning")+" of "+e+" cannot be properly polyfilled in this engine",bd)},PGe=function t(e,r){if(K9e(e)&&GA("Symbol"),!HA(e))return e;if(r){if(Fz(r,e))return hGe(r,e)}else r=new _w;var n=Iz(e),i=!1,u,l,c,f,d,y,m,b,O,E;switch(n){case"Array":c=[],i=!0;break;case"Object":c={},i=!0;break;case"Map":c=new _w,i=!0;break;case"Set":c=new qz,i=!0;break;case"RegExp":c=new RegExp(e.source,Z9e(e));break;case"Error":switch(l=e.name,l){case"AggregateError":c=wd("AggregateError")([]);break;case"EvalError":c=iGe();break;case"RangeError":c=oGe();break;case"ReferenceError":c=aGe();break;case"SyntaxError":c=uGe();break;case"TypeError":c=jz();break;case"URIError":c=sGe();break;case"CompileError":c=cGe();break;case"LinkError":c=fGe();break;case"RuntimeError":c=pGe();break;default:c=Od()}i=!0;break;case"DOMException":c=new Vs(e.message,e.name),i=!0;break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":u=Lt[n],HA(u)||Vr(n),c=new u(t(e.buffer,r),e.byteOffset,n==="DataView"?e.byteLength:e.length);break;case"DOMQuad":try{c=new DOMQuad(t(e.p1,r),t(e.p2,r),t(e.p3,r),t(e.p4,r))}catch(P){vu?c=vu(e):Vr(n)}break;case"FileList":if(u=Lt.DataTransfer,xz(u)){for(f=new u,d=0,y=WA(e);d92||nGe&&UA>94||tGe&&UA>97)return!1;var t=new ArrayBuffer(8),e=yu(t,{transfer:[t]});return t.byteLength!=0||e.byteLength!=8}),EGe=function(e,r){if(!HA(e))throw jz("Transfer option cannot be converted to a sequence");var n=[];Y9e(e,function(O){yGe(n,Rz(O))});var i=0,u=WA(n),l,c,f,d,y,m,b;if(Cz)for(d=yu(n,{transfer:n});i1&&arguments[1]!=null?Rz(arguments[1]):void 0,n=r?r.transfer:void 0,i;return n!==void 0&&(i=new _w,EGe(n,i)),PGe(e,i)}});jH();var W$e=G(),V$e=fe();W$e({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return V$e(URL.prototype.toString,this)}});lx();function Ix(t){"@babel/helpers - typeof";return Ix=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ix(t)}var Nr=typeof globalThis!="undefined"&&globalThis||typeof self!="undefined"&&self||typeof Nr!="undefined"&&Nr,wn={searchParams:"URLSearchParams"in Nr,iterable:"Symbol"in Nr&&"iterator"in Symbol,blob:"FileReader"in Nr&&"Blob"in Nr&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in Nr,arrayBuffer:"ArrayBuffer"in Nr};function K$e(t){return t&&DataView.prototype.isPrototypeOf(t)}wn.arrayBuffer&&(qH=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],LH=ArrayBuffer.isView||function(t){return t&&qH.indexOf(Object.prototype.toString.call(t))>-1});var qH,LH;function kd(t){if(typeof t!="string"&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||t==="")throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function kx(t){return typeof t!="string"&&(t=String(t)),t}function jx(t){var e={next:function(){var n=t.shift();return{done:n===void 0,value:n}}};return wn.iterable&&(e[Symbol.iterator]=function(){return e}),e}function ar(t){this.map={},t instanceof ar?t.forEach(function(e,r){this.append(r,e)},this):Array.isArray(t)?t.forEach(function(e){this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}ar.prototype.append=function(t,e){t=kd(t),e=kx(e);var r=this.map[t];this.map[t]=r?r+", "+e:e};ar.prototype.delete=function(t){delete this.map[kd(t)]};ar.prototype.get=function(t){return t=kd(t),this.has(t)?this.map[t]:null};ar.prototype.has=function(t){return this.map.hasOwnProperty(kd(t))};ar.prototype.set=function(t,e){this.map[kd(t)]=kx(e)};ar.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)};ar.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),jx(t)};ar.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),jx(t)};ar.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),jx(t)};wn.iterable&&(ar.prototype[Symbol.iterator]=ar.prototype.entries);function Rx(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function CH(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function Y$e(t){var e=new FileReader,r=CH(e);return e.readAsArrayBuffer(t),r}function X$e(t){var e=new FileReader,r=CH(e);return e.readAsText(t),r}function Q$e(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n-1?e:t}function Zs(t,e){if(!(this instanceof Zs))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e=e||{};var r=e.body;if(t instanceof Zs){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new ar(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,!r&&t._bodyInit!=null&&(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",(e.headers||!this.headers)&&(this.headers=new ar(e.headers)),this.method=Z$e(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),(this.method==="GET"||this.method==="HEAD")&&(e.cache==="no-store"||e.cache==="no-cache")){var n=/([?&])_=[^&]*/;if(n.test(this.url))this.url=this.url.replace(n,"$1_="+new Date().getTime());else{var i=/\?/;this.url+=(i.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}Zs.prototype.clone=function(){return new Zs(this,{body:this._bodyInit})};function eze(t){var e=new FormData;return t.trim().split("&").forEach(function(r){if(r){var n=r.split("="),i=n.shift().replace(/\+/g," "),u=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(u))}}),e}function tze(t){var e=new ar,r=t.replace(/\r?\n[\t ]+/g," ");return r.split("\r").map(function(n){return n.indexOf("\n")===0?n.substr(1,n.length):n}).forEach(function(n){var i=n.split(":"),u=i.shift().trim();if(u){var l=i.join(":").trim();e.append(u,l)}}),e}NH.call(Zs.prototype);function go(t,e){if(!(this instanceof go))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=e.status===void 0?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=e.statusText===void 0?"":""+e.statusText,this.headers=new ar(e.headers),this.url=e.url||"",this._initBody(t)}NH.call(go.prototype);go.prototype.clone=function(){return new go(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ar(this.headers),url:this.url})};go.error=function(){var t=new go(null,{status:0,statusText:""});return t.type="error",t};var rze=[301,302,303,307,308];go.redirect=function(t,e){if(rze.indexOf(e)===-1)throw new RangeError("Invalid status code");return new go(null,{status:e,headers:{location:t}})};var Js=Nr.DOMException;try{new Js}catch(t){Js=function(r,n){this.message=r,this.name=n;var i=Error(r);this.stack=i.stack},Js.prototype=Object.create(Error.prototype),Js.prototype.constructor=Js}function DH(t,e){return new Promise(function(r,n){var i=new Zs(t,e);if(i.signal&&i.signal.aborted)return n(new Js("Aborted","AbortError"));var u=new XMLHttpRequest;function l(){u.abort()}u.onload=function(){var f={status:u.status,statusText:u.statusText,headers:tze(u.getAllResponseHeaders()||"")};f.url="responseURL"in u?u.responseURL:f.headers.get("X-Request-URL");var d="response"in u?u.response:u.responseText;setTimeout(function(){r(new go(d,f))},0)},u.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},u.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},u.onabort=function(){setTimeout(function(){n(new Js("Aborted","AbortError"))},0)};function c(f){try{return f===""&&Nr.location.href?Nr.location.href:f}catch(d){return f}}u.open(i.method,c(i.url),!0),i.credentials==="include"?u.withCredentials=!0:i.credentials==="omit"&&(u.withCredentials=!1),"responseType"in u&&(wn.blob?u.responseType="blob":wn.arrayBuffer&&i.headers.get("Content-Type")&&i.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(u.responseType="arraybuffer")),e&&Ix(e.headers)==="object"&&!(e.headers instanceof ar)?Object.getOwnPropertyNames(e.headers).forEach(function(f){u.setRequestHeader(f,kx(e.headers[f]))}):i.headers.forEach(function(f,d){u.setRequestHeader(d,f)}),i.signal&&(i.signal.addEventListener("abort",l),u.onreadystatechange=function(){u.readyState===4&&i.signal.removeEventListener("abort",l)}),u.send(typeof i._bodyInit=="undefined"?null:i._bodyInit)})}DH.polyfill=!0;Nr.fetch||(Nr.fetch=DH,Nr.Headers=ar,Nr.Request=Zs,Nr.Response=go);function qx(t){"@babel/helpers - typeof";return qx=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qx(t)}(function(t){typeof define=="function"&&define.amd?define(t):t()})(function(){"use strict";function t(x,R){if(!(x instanceof R))throw new TypeError("Cannot call a class as a function")}function e(x,R){for(var A=0;A0},t.prototype.connect_=function(){!Fx||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),sze?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){!Fx||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(e){var r=e.propertyName,n=r===void 0?"":r,i=uze.some(function(u){return!!~n.indexOf(u)});i&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),BH=function(e,r){for(var n=0,i=Object.keys(r);n0},t}(),$H=typeof WeakMap!="undefined"?new WeakMap:new UH,zH=function(){function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=lze.getInstance(),n=new bze(e,r,this);$H.set(this,n)}return t}();["observe","unobserve","disconnect"].forEach(function(t){zH.prototype[t]=function(){var e;return(e=$H.get(this))[t].apply(e,arguments)}});var wze=function(){return typeof Dw.ResizeObserver!="undefined"?Dw.ResizeObserver:zH}(),HH=wze;var pNt=Ce(WH(),1);var NF={};zm(NF,{Audio:function(){return RO},AwsS3:function(){return Zq},AwsS3Multipart:function(){return zy},BasePlugin:function(){return ht},Box:function(){return np},Compressor:function(){return iie},Core:function(){return Ypt},Dashboard:function(){return vO},DefaultStore:function(){return Vw},DragDrop:function(){return mO},DropTarget:function(){return Yk},Dropbox:function(){return ip},Facebook:function(){return op},FileInput:function(){return OO},Form:function(){return RF},GoldenRetriever:function(){return qF},GoogleDrive:function(){return sp},GooglePhotos:function(){return lp},ImageEditor:function(){return EO},Informer:function(){return Gf},Instagram:function(){return cp},OneDrive:function(){return fp},ProgressBar:function(){return AO},ReduxDevTools:function(){return CF},ReduxStore:function(){return YY},RemoteSources:function(){return Qj},ScreenCapture:function(){return KO},StatusBar:function(){return Df},ThumbnailGenerator:function(){return oy},Transloadit:function(){return os},Tus:function(){return Fp},UIPlugin:function(){return Pe},Unsplash:function(){return pp},Uppy:function(){return cR},Url:function(){return Sa},Webcam:function(){return ZO},XHRUpload:function(){return PF},Zoom:function(){return dp},debugLogger:function(){return Ud},locales:function(){return Qpt},server:function(){return UR},views:function(){return Xpt}});function VH(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function KH(t){for(var e=1;e0&&arguments[0]!==void 0?arguments[0]:21,r="",n=e;n--;)r+=Rze[Math.random()*64|0];return r};var pV=Ce(Hw(),1);function Cd(t){"@babel/helpers - typeof";return Cd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cd(t)}function jW(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Wx(t){for(var e=1;e18||i===18&&u>=18218}function Yx(t,e){return e.name?e.name:t.split("/")[0]==="image"?"".concat(t.split("/")[0],".").concat(t.split("/")[1]):"noname"}function Xx(t){return t<10?"0".concat(t):t.toString()}function bf(){var t=new Date,e=Xx(t.getHours()),r=Xx(t.getMinutes()),n=Xx(t.getSeconds());return"".concat(e,":").concat(r,":").concat(n)}var BW={debug:function(){},warn:function(){},error:function(){for(var e,r=arguments.length,n=new Array(r),i=0;i=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return u=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!u&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function KW(t){return MHe(t)||DHe(t)||XW(t)||NHe()}function NHe(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function XW(t,e){if(t){if(typeof t=="string")return Zx(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Zx(t,e)}}function DHe(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function MHe(t){if(Array.isArray(t))return Zx(t)}function Zx(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);rl)throw new fi("".concat(this.getI18n()("youCanOnlyUploadX",{smart_count:l})))}if(u){var f=[].concat(KW(r),KW(n)).reduce(function(d,y){var m;return d+((m=y.size)!=null?m:0)},0);if(f>u)throw new fi(this.getI18n()("aggregateExceedsSize",{sizeAllowed:(0,Gd.default)(u),size:(0,Gd.default)(f)}))}}},{key:"validateSingleFile",value:function(r){var n=this.getOpts().restrictions,i=n.maxFileSize,u=n.minFileSize,l=n.allowedFileTypes;if(l){var c=l.some(function(d){return d.includes("/")?r.type?(0,ZW.default)(r.type.replace(/;.*?$/,""),d):!1:d[0]==="."&&r.extension?r.extension.toLowerCase()===d.slice(1).toLowerCase():!1});if(!c){var f=l.join(", ");throw new fi(this.getI18n()("youCanOnlyUploadFileTypes",{types:f}),{file:r})}}if(i&&r.size!=null&&r.size>i)throw new fi(this.getI18n()("exceedsSize",{size:(0,Gd.default)(i),file:r.name}),{file:r});if(u&&r.size!=null&&r.size=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function nV(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function KHe(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){nV(u,n,i,l,c,"next",f)}function c(f){nV(u,n,i,l,c,"throw",f)}l(void 0)})}}function uV(t,e){var r=typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=lR(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return u=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!u&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function Xw(t){return QHe(t)||XHe(t)||lR(t)||YHe()}function YHe(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function XHe(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function QHe(t){if(Array.isArray(t))return aR(t)}function pi(t){"@babel/helpers - typeof";return pi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pi(t)}function iV(t,e){return eWe(t)||ZHe(t,e)||lR(t,e)||JHe()}function JHe(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function lR(t,e){if(t){if(typeof t=="string")return aR(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return aR(t,e)}}function aR(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0;i.setFileState(c.id,{progress:ue(ue({},d.progress),{},{bytesUploaded:f.bytesUploaded,bytesTotal:f.bytesTotal,percentage:y?Math.round(f.bytesUploaded/f.bytesTotal*100):0})}),i.calculateTotalProgress()},500,{leading:!0,trailing:!0}),Object.defineProperty(this,Li,{writable:!0,value:this.updateOnlineStatus.bind(this)}),Object.defineProperty(this,Yd,{writable:!0,value:new Map}),this.defaultLocale=rV;var u={id:"uppy",autoProceed:!1,allowMultipleUploadBatches:!0,debug:!1,restrictions:eV,meta:{},onBeforeFileAdded:function(f,d){return!Object.hasOwn(d,f.id)},onBeforeUpload:function(f){return f},store:new Vw,logger:BW,infoTimeout:5e3},l=ue(ue({},u),n);this.opts=ue(ue({},l),{},{restrictions:ue(ue({},u.restrictions),n&&n.restrictions)}),n&&n.logger&&n.debug?this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.","warning"):n&&n.debug&&(this.opts.logger=Ud),this.log("Using Core v".concat(r.VERSION)),this.i18nInit(),this.store=this.opts.store,this.setState(ue(ue({},Yw),{},{plugins:{},files:{},currentUploads:{},capabilities:{uploadProgress:Kx(),individualCancellation:!0,resumableUploads:!1},meta:ue({},this.opts.meta),info:[]})),pe(this,Fn)[Fn]=new tV(function(){return i.opts},function(){return i.i18n}),pe(this,Hd)[Hd]=this.store.subscribe(function(c,f,d){i.emit("state-update",c,f,d),i.updateAll(f)}),this.opts.debug&&typeof window!="undefined"&&(window[this.opts.id]=this),pe(this,nR)[nR]()}return rWe(r,[{key:"emit",value:function(i){for(var u,l=arguments.length,c=new Array(l>1?l-1:0),f=1;f0&&!u.individualCancellation)throw new Error("The installed uploader plugin does not allow removing files during an upload.");this.setState(ue(ue({},Yw),{},{files:{}}))}},{key:"addPreProcessor",value:function(i){pe(this,tl)[tl].add(i)}},{key:"removePreProcessor",value:function(i){return pe(this,tl)[tl].delete(i)}},{key:"addPostProcessor",value:function(i){pe(this,ia)[ia].add(i)}},{key:"removePostProcessor",value:function(i){return pe(this,ia)[ia].delete(i)}},{key:"addUploader",value:function(i){pe(this,rl)[rl].add(i)}},{key:"removeUploader",value:function(i){return pe(this,rl)[rl].delete(i)}},{key:"setMeta",value:function(i){var u=ue(ue({},this.getState().meta),i),l=ue({},this.getState().files);Object.keys(l).forEach(function(c){l[c]=ue(ue({},l[c]),{},{meta:ue(ue({},l[c].meta),i)})}),this.log("Adding metadata:"),this.log(i),this.setState({meta:u,files:l})}},{key:"setFileMeta",value:function(i,u){var l=ue({},this.getState().files);if(!l[i]){this.log("Was trying to set metadata for a file that has been removed: ",i);return}var c=ue(ue({},l[i].meta),u);l[i]=ue(ue({},l[i]),{},{meta:c}),this.setState({files:l})}},{key:"getFile",value:function(i){return this.getState().files[i]}},{key:"getFiles",value:function(){var i=this.getState(),u=i.files;return Object.values(u)}},{key:"getFilesByIds",value:function(i){var u=this;return i.map(function(l){return u.getFile(l)})}},{key:"getObjectOfFilesPerState",value:function(){for(var i=this.getState(),u=i.files,l=i.totalProgress,c=i.error,f=Object.values(u),d=[],y=[],m=[],b=[],O=[],E=[],P=[],S=[],x=[],R=0,A=f;R0,isAllComplete:l===100&&E.length===f.length&&x.length===0,isAllErrored:!!c&&P.length===f.length,isAllPaused:d.length!==0&&O.length===d.length,isUploadInProgress:d.length>0,isSomeGhost:f.some(function(F){return F.isGhost})}}},{key:"validateRestrictions",value:function(i,u){u===void 0&&(u=this.getFiles());try{pe(this,Fn)[Fn].validate(u,[i])}catch(l){return l}return null}},{key:"checkIfFileAlreadyExists",value:function(i){var u=this.getState(),l=u.files;return!!(l[i]&&!l[i].isGhost)}},{key:"addFile",value:function(i){pe(this,Wd)[Wd](i);var u=pe(this,Kd)[Kd]([i]),l=u.nextFilesState,c=u.validFilesToAdd,f=u.errors,d=f.filter(function(b){return b.isRestriction});if(pe(this,Ln)[Ln](d),f.length>0)throw f[0];this.setState({files:l});var y=iV(c,1),m=y[0];return this.emit("file-added",m),this.emit("files-added",c),this.log("Added file: ".concat(m.name,", ").concat(m.id,", mime type: ").concat(m.type)),pe(this,Vd)[Vd](),m.id}},{key:"addFiles",value:function(i){var u=this;pe(this,Wd)[Wd]();var l=pe(this,Kd)[Kd](i),c=l.nextFilesState,f=l.validFilesToAdd,d=l.errors,y=d.filter(function(E){return E.isRestriction});pe(this,Ln)[Ln](y);var m=d.filter(function(E){return!E.isRestriction});if(m.length>0){var b="Multiple errors occurred while adding files:\n";if(m.forEach(function(E){b+="\n * ".concat(E.message)}),this.info({message:this.i18n("addBulkFilesFailed",{smart_count:m.length}),details:b},"error",this.opts.infoTimeout),typeof AggregateError=="function")throw new AggregateError(m,b);var O=new Error(b);throw O.errors=m,O}this.setState({files:c}),f.forEach(function(E){u.emit("file-added",E)}),this.emit("files-added",f),f.length>5?this.log("Added batch of ".concat(f.length," files")):Object.values(f).forEach(function(E){u.log("Added file: ".concat(E.name,"\n id: ").concat(E.id,"\n type: ").concat(E.type))}),f.length>0&&pe(this,Vd)[Vd]()}},{key:"removeFiles",value:function(i,u){var l=this,c=this.getState(),f=c.files,d=c.currentUploads,y=ue({},f),m=ue({},d),b=Object.create(null);i.forEach(function(S){f[S]&&(b[S]=f[S],delete y[S])});function O(S){return b[S]===void 0}Object.keys(m).forEach(function(S){var x=d[S].fileIDs.filter(O);if(x.length===0){delete m[S];return}var R=l.getState(),A=R.capabilities;if(x.length!==d[S].fileIDs.length&&!A.individualCancellation)throw new Error("The installed uploader plugin does not allow removing files during an upload.");m[S]=ue(ue({},d[S]),{},{fileIDs:x})});var E={currentUploads:m,files:y};Object.keys(y).length===0&&(E.allowNewUpload=!0,E.error=null,E.recoveredState=null),this.setState(E),this.calculateTotalProgress();var P=Object.keys(b);P.forEach(function(S){l.emit("file-removed",b[S],u)}),P.length>5?this.log("Removed ".concat(P.length," files")):this.log("Removed files: ".concat(P.join(", ")))}},{key:"removeFile",value:function(i,u){this.removeFiles([i],u)}},{key:"pauseResume",value:function(i){if(!(!this.getState().capabilities.resumableUploads||this.getFile(i).progress.uploadComplete)){var u=this.getFile(i).isPaused||!1,l=!u;return this.setFileState(i,{isPaused:l}),this.emit("upload-pause",i,l),l}}},{key:"pauseAll",value:function(){var i=ue({},this.getState().files),u=Object.keys(i).filter(function(l){return!i[l].progress.uploadComplete&&i[l].progress.uploadStarted});u.forEach(function(l){var c=ue(ue({},i[l]),{},{isPaused:!0});i[l]=c}),this.setState({files:i}),this.emit("pause-all")}},{key:"resumeAll",value:function(){var i=ue({},this.getState().files),u=Object.keys(i).filter(function(l){return!i[l].progress.uploadComplete&&i[l].progress.uploadStarted});u.forEach(function(l){var c=ue(ue({},i[l]),{},{isPaused:!1,error:null});i[l]=c}),this.setState({files:i}),this.emit("resume-all")}},{key:"retryAll",value:function(){var i=ue({},this.getState().files),u=Object.keys(i).filter(function(c){return i[c].error});if(u.forEach(function(c){var f=ue(ue({},i[c]),{},{isPaused:!1,error:null});i[c]=f}),this.setState({files:i,error:null}),this.emit("retry-all",u),u.length===0)return Promise.resolve({successful:[],failed:[]});var l=pe(this,ra)[ra](u,{forceAllowNewUpload:!0});return pe(this,na)[na](l)}},{key:"cancelAll",value:function(i){var u=i===void 0?{}:i,l=u.reason,c=l===void 0?"user":l;if(this.emit("cancel-all",{reason:c}),c==="user"){var f=this.getState(),d=f.files,y=Object.keys(d);y.length&&this.removeFiles(y,"cancel-all"),this.setState(Yw)}}},{key:"retryUpload",value:function(i){this.setFileState(i,{error:null,isPaused:!1}),this.emit("upload-retry",i);var u=pe(this,ra)[ra]([i],{forceAllowNewUpload:!0});return pe(this,na)[na](u)}},{key:"logout",value:function(){this.iteratePlugins(function(i){var u;(u=i.provider)==null||u.logout==null||u.logout()})}},{key:"calculateTotalProgress",value:function(){var i=this.getFiles(),u=i.filter(function(P){return P.progress.uploadStarted||P.progress.preprocess||P.progress.postprocess});if(u.length===0){this.emit("progress",0),this.setState({totalProgress:0});return}var l=u.filter(function(P){return P.progress.bytesTotal!=null}),c=u.filter(function(P){return P.progress.bytesTotal==null});if(l.length===0){var f=u.length*100,d=c.reduce(function(P,S){return P+S.progress.percentage},0),y=Math.round(d/f*100);this.setState({totalProgress:y});return}var m=l.reduce(function(P,S){var x;return P+((x=S.progress.bytesTotal)!=null?x:0)},0),b=m/l.length;m+=b*c.length;var O=0;l.forEach(function(P){O+=P.progress.bytesUploaded}),c.forEach(function(P){O+=b*(P.progress.percentage||0)/100});var E=m===0?0:Math.round(O/m*100);E>100&&(E=100),this.setState({totalProgress:E}),this.emit("progress",E)}},{key:"updateOnlineStatus",value:function(){var i,u=(i=window.navigator.onLine)!=null?i:!0;u?(this.emit("is-online"),this.wasOffline&&(this.emit("back-online"),this.info(this.i18n("connectedToInternet"),"success",3e3),this.wasOffline=!1)):(this.emit("is-offline"),this.info(this.i18n("noInternetConnection"),"error",0),this.wasOffline=!0)}},{key:"getID",value:function(){return this.opts.id}},{key:"use",value:function(i,u){if(typeof i!="function"){var l="Expected a plugin class, but got ".concat(i===null?"null":pi(i),".")+" Please verify that the plugin was imported and spelled correctly.";throw new TypeError(l)}var c=new i(this,u),f=c.id;if(!f)throw new Error("Your plugin must have an id");if(!c.type)throw new Error("Your plugin must have a type");var d=this.getPlugin(f);if(d){var y="Already found a plugin named '".concat(d.id,"'. ")+"Tried to use: '".concat(f,"'.\n")+"Uppy plugins must have unique `id` options. See https://uppy.io/docs/plugins/#id.";throw new Error(y)}return i.VERSION&&this.log("Using ".concat(f," v").concat(i.VERSION)),c.type in pe(this,Tr)[Tr]?pe(this,Tr)[Tr][c.type].push(c):pe(this,Tr)[Tr][c.type]=[c],c.install(),this.emit("plugin-added",c),this}},{key:"getPlugin",value:function(i){for(var u=0,l=Object.values(pe(this,Tr)[Tr]);u0&&this.info({message:this.i18n("additionalRestrictionsFailed",{count:f.length})})}function uWe(t){var e=pe(this,Fn)[Fn].getMissingRequiredMetaFields(t),r=e.missingFields,n=e.error;return r.length>0?(this.setFileState(t.id,{missingRequiredMetaFields:r}),this.log(n.message),this.emit("restriction-failed",t,n),!1):!0}function sWe(t){for(var e=!0,r=0,n=Object.values(t);r0?{mode:"indeterminate"}:void 0,uploadComplete:!0,percentage:100,bytesUploaded:l.bytesTotal}),response:u,uploadURL:u.uploadURL,isPaused:!1}),i.size==null&&t.setFileState(i.id,{size:u.bytesUploaded||l.bytesTotal}),t.calculateTotalProgress()}),this.on("preprocess-progress",function(i,u){if(i==null||!t.getFile(i.id)){t.log("Not setting progress for a file that has been removed: ".concat(i==null?void 0:i.id));return}t.setFileState(i.id,{progress:ue(ue({},t.getFile(i.id).progress),{},{preprocess:u})})}),this.on("preprocess-complete",function(i){if(i==null||!t.getFile(i.id)){t.log("Not setting progress for a file that has been removed: ".concat(i==null?void 0:i.id));return}var u=ue({},t.getState().files);u[i.id]=ue(ue({},u[i.id]),{},{progress:ue({},u[i.id].progress)}),delete u[i.id].progress.preprocess,t.setState({files:u})}),this.on("postprocess-progress",function(i,u){if(i==null||!t.getFile(i.id)){t.log("Not setting progress for a file that has been removed: ".concat(i==null?void 0:i.id));return}t.setFileState(i.id,{progress:ue(ue({},t.getState().files[i.id].progress),{},{postprocess:u})})}),this.on("postprocess-complete",function(i){if(i==null||!t.getFile(i.id)){t.log("Not setting progress for a file that has been removed: ".concat(i==null?void 0:i.id));return}var u=ue({},t.getState().files);u[i.id]=ue(ue({},u[i.id]),{},{progress:ue({},u[i.id].progress)}),delete u[i.id].progress.postprocess,t.setState({files:u})}),this.on("restored",function(){t.calculateTotalProgress()}),this.on("dashboard:file-edit-complete",function(i){i&&pe(t,Xd)[Xd](i)}),typeof window!="undefined"&&window.addEventListener&&(window.addEventListener("online",pe(this,Li)[Li]),window.addEventListener("offline",pe(this,Li)[Li]),setTimeout(pe(this,Li)[Li],3e3))}function dWe(t,e){e===void 0&&(e={});var r=e,n=r.forceAllowNewUpload,i=n===void 0?!1:n,u=this.getState(),l=u.allowNewUpload,c=u.currentUploads;if(!l&&!i)throw new Error("Cannot create a new upload: already uploading.");var f=On();return this.emit("upload",{id:f,fileIDs:t}),this.setState({allowNewUpload:this.opts.allowMultipleUploadBatches!==!1&&this.opts.allowMultipleUploads!==!1,currentUploads:ue(ue({},c),{},Of({},f,{fileIDs:t,step:0,result:{}}))}),f}function vWe(t){var e=this.getState(),r=e.currentUploads;return r[t]}function yWe(t){var e=ue({},this.getState().currentUploads);delete e[t],this.setState({currentUploads:e})}function mWe(t){return sR.apply(this,arguments)}function sR(){return sR=KHe(oR().mark(function t(e){var r=this,n,i,u,l,c,f,d,y,m,b,O;return oR().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:n=function(){var x=r.getState(),R=x.currentUploads;return R[e]},i=n(),u=[].concat(Xw(pe(this,tl)[tl]),Xw(pe(this,rl)[rl]),Xw(pe(this,ia)[ia])),P.prev=3,l=i.step||0;case 5:if(!(l2&&(l.children=arguments.length>3?Zd.call(arguments,2):r),typeof t=="function"&&t.defaultProps!=null)for(u in t.defaultProps)l[u]===void 0&&(l[u]=t.defaultProps[u]);return Jd(t,l,n,i,null)}function Jd(t,e,r,n,i){var u={type:t,props:e,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:i==null?++bV:i};return i==null&&je.vnode!=null&&je.vnode(u),u}function SV(){return{current:null}}function gr(t){return t.children}function ct(t,e){this.props=t,this.context=e}function Sf(t,e){if(e==null)return t.__?Sf(t.__,t.__.__k.indexOf(t)+1):null;for(var r;e0?Jd(O.type,O.props,O.key,null,O.__v):O)!=null){if(O.__=r,O.__b=r.__b+1,(b=x[y])===null||b&&O.key==b.key&&O.type===b.type)x[y]=void 0;else for(m=0;m2&&(l.children=arguments.length>3?Zd.call(arguments,2):r),Jd(t.type,l,n||t.key,i||t.ref,null)}Zd=wV.slice,je={__e:function(e,r,n,i){for(var u,l,c;r=r.__;)if((u=r.__c)&&!u.__)try{if((l=u.constructor)&&l.getDerivedStateFromError!=null&&(u.setState(l.getDerivedStateFromError(e)),c=u.__d),u.componentDidCatch!=null&&(u.componentDidCatch(e,i||{}),c=u.__d),c)return u.__E=u}catch(f){e=f}throw e}},bV=0,gWe=function(e){return e!=null&&e.constructor===void 0},ct.prototype.setState=function(t,e){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=oa({},this.state),typeof t=="function"&&(t=t(oa({},r),this.props)),t&&oa(r,t),t!=null&&this.__v&&(e&&this.__h.push(e),vV(this))},ct.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),vV(this))},ct.prototype.render=gr,Qd=[],Jw.__r=0,bWe=0;function hR(t){"@babel/helpers - typeof";return hR=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},hR(t)}function ev(t){return hR(t)!=="object"||t===null||!("nodeType"in t)?!1:t.nodeType===Node.ELEMENT_NODE}function PWe(t,e){return e===void 0&&(e=document),typeof t=="string"?e.querySelector(t):ev(t)?t:null}var t0=PWe;function EWe(t){for(var e;t&&!t.dir;)t=t.parentNode;return(e=t)==null?void 0:e.dir}var r0=EWe;function tv(t){"@babel/helpers - typeof";return tv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tv(t)}function IV(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function _f(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function HV(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function aVe(t){for(var e=1;e=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function iK(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Nn(t){for(var e=1;e=400&&e.status<=499&&n.message)){u.next=18;break}throw new MV(n.message);case 18:throw new sKe({statusCode:e.status,message:r});case 19:case"end":return u.stop()}},t,null,[[5,13]])})),kR.apply(this,arguments)}var sa=a0("companionHeaders"),dv=a0("getUrl"),RR=a0("requestSocketToken"),vv=a0("awaitRemoteFileUpload");fK=Symbol.for("uppy test: getCompanionHeaders");var Dn=function(t){function e(r,n){var i=this;cK(this,e),Object.defineProperty(this,vv,{value:fKe}),Object.defineProperty(this,dv,{value:cKe}),Object.defineProperty(this,sa,{writable:!0,value:void 0}),Object.defineProperty(this,RR,{writable:!0,value:function(){var u=Sn(ot().mark(function c(f){var d,y,m,b,O;return ot().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(y=f.file,m=f.postBody,b=f.signal,((d=y.remote)==null?void 0:d.url)!=null){P.next=3;break}throw new Error("Cannot connect to an undefined URL");case 3:return P.next=5,i.post(y.remote.url,Nn(Nn({},y.remote.body),m),{signal:b});case 5:return O=P.sent,P.abrupt("return",O.token);case 7:case"end":return P.stop()}},c)}));function l(c){return u.apply(this,arguments)}return l}()}),this.uppy=r,this.opts=n,this.onReceiveResponse=this.onReceiveResponse.bind(this),ua(this,sa)[sa]=n==null?void 0:n.companionHeaders}return sK(e,[{key:"setCompanionHeaders",value:function(n){ua(this,sa)[sa]=n}},{key:t,value:function(){return ua(this,sa)[sa]}},{key:"hostname",get:function(){var n=this.uppy.getState(),i=n.companion,u=this.opts.companionUrl;return aKe(i&&i[u]?i[u]:u)}},{key:"headers",value:function(){var r=Sn(ot().mark(function i(u){var l;return ot().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return u===void 0&&(u=!1),l=Nn({Accept:"application/json"},u?void 0:{"Content-Type":"application/json"}),f.abrupt("return",Nn(Nn({},l),ua(this,sa)[sa]));case 3:case"end":return f.stop()}},i,this)}));function n(i){return r.apply(this,arguments)}return n}()},{key:"onReceiveResponse",value:function(n){var i=n.headers,u=this.uppy.getState(),l=u.companion||{},c=this.opts.companionUrl;i.has("i-am")&&i.get("i-am")!==l[c]&&this.uppy.setState({companion:Nn(Nn({},l),{},uK({},c,i.get("i-am")))})}},{key:"request",value:function(){var r=Sn(ot().mark(function i(u){var l,c,f,d,y,m,b,O;return ot().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:return l=u.path,c=u.method,f=c===void 0?"GET":c,d=u.data,y=u.skipPostResponse,m=u.signal,P.prev=1,P.next=4,this.headers(!d);case 4:return b=P.sent,P.next=7,ol(ua(this,dv)[dv](l),{method:f,signal:m,headers:b,credentials:this.opts.companionCookiesRule||"same-origin",body:d?JSON.stringify(d):null});case 7:return O=P.sent,y||this.onReceiveResponse(O),P.next=11,lKe(O);case 11:return P.abrupt("return",P.sent);case 14:if(P.prev=14,P.t0=P.catch(1),!(P.t0.isAuthError||P.t0.name==="UserFacingApiError"||P.t0.name==="AbortError")){P.next=18;break}throw P.t0;case 18:throw new aa("Could not ".concat(f," ").concat(ua(this,dv)[dv](l)),{cause:P.t0});case 19:case"end":return P.stop()}},i,this,[[1,14]])}));function n(i){return r.apply(this,arguments)}return n}()},{key:"get",value:function(){var r=Sn(ot().mark(function i(u,l){return ot().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return typeof l=="boolean"&&(l={skipPostResponse:l}),f.abrupt("return",this.request(Nn(Nn({},l),{},{path:u})));case 2:case"end":return f.stop()}},i,this)}));function n(i,u){return r.apply(this,arguments)}return n}()},{key:"post",value:function(){var r=Sn(ot().mark(function i(u,l,c){return ot().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return typeof c=="boolean"&&(c={skipPostResponse:c}),d.abrupt("return",this.request(Nn(Nn({},c),{},{path:u,method:"POST",data:l})));case 2:case"end":return d.stop()}},i,this)}));function n(i,u,l){return r.apply(this,arguments)}return n}()},{key:"delete",value:function(){var r=Sn(ot().mark(function i(u,l,c){return ot().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return typeof c=="boolean"&&(c={skipPostResponse:c}),d.abrupt("return",this.request(Nn(Nn({},c),{},{path:u,method:"DELETE",data:l})));case 2:case"end":return d.stop()}},i,this)}));function n(i,u,l){return r.apply(this,arguments)}return n}()},{key:"uploadRemoteFile",value:function(){var r=Sn(ot().mark(function i(u,l,c){var f=this,d,y,m,b;return ot().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return d=this,E.prev=1,y=c||{},m=y.signal,b=y.getQueue,E.next=5,o0(Sn(ot().mark(function P(){var S,x,R,A;return ot().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(x=(S=f.uppy.getFile(u.id))==null?void 0:S.serverToken,x==null){C.next=4;break}return f.uppy.log("Connecting to exiting websocket ".concat(x)),C.abrupt("return",ua(f,vv)[vv]({file:u,queue:b(),signal:m}));case 4:return R=b().wrapPromiseFunction(Sn(ot().mark(function F(){var I,z,U,Y=arguments;return ot().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:return X.prev=0,X.next=3,(I=ua(d,RR))[RR].apply(I,Y);case 3:return X.abrupt("return",X.sent);case 6:if(X.prev=6,X.t0=X.catch(0),!X.t0.isAuthError){X.next=10;break}throw new i0(X.t0);case 10:if(X.t0.cause!=null){X.next=12;break}throw X.t0;case 12:if(z=X.t0.cause,U=function(){return[408,409,429,418,423].includes(z.statusCode)||z.statusCode>=500&&z.statusCode<=599&&![501,505].includes(z.statusCode)},!(z.name==="HttpError"&&!U())){X.next=16;break}throw new i0(z);case 16:throw z;case 17:case"end":return X.stop()}},F,null,[[0,6]])})),{priority:-1}),C.next=7,R({file:u,postBody:l,signal:m}).abortOn(m);case 7:if(A=C.sent,f.uppy.getFile(u.id)){C.next=10;break}return C.abrupt("return",void 0);case 10:return f.uppy.setFileState(u.id,{serverToken:A}),C.abrupt("return",ua(f,vv)[vv]({file:f.uppy.getFile(u.id),queue:b(),signal:m}));case 12:case"end":return C.stop()}},P)})),{retries:pK,signal:m,onFailedAttempt:function(S){return f.uppy.log("Retrying upload due to: ".concat(S.message),"warning")}});case 5:return E.abrupt("return",E.sent);case 8:if(E.prev=8,E.t0=E.catch(1),E.t0.name!=="AbortError"){E.next=12;break}return E.abrupt("return",void 0);case 12:throw this.uppy.emit("upload-error",u,E.t0),E.t0;case 14:case"end":return E.stop()}},i,this,[[1,8]])}));function n(i,u,l){return r.apply(this,arguments)}return n}()}]),e}(fK);function cKe(t){return/^(https?:|)\/\//.test(t)?t:"".concat(this.hostname,"/").concat(t)}function fKe(t){return jR.apply(this,arguments)}function jR(){return jR=Sn(ot().mark(function t(e){var r=this,n,i,u,l,c,f;return ot().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return n=e.file,i=e.queue,u=e.signal,c=this.uppy.getState(),f=c.capabilities,y.prev=2,y.next=5,new Promise(function(m,b){var O=n.serverToken,E=TR(n.remote.companionUrl),P,S,x,R=n.isPaused,A=function($,H){if(P==null||P.readyState!==P.OPEN){var V;r.uppy.log('Cannot send "'.concat($,'" to socket ').concat(n.id," because the socket state was ").concat(String((V=P)==null?void 0:V.readyState)),"warning");return}P.send(JSON.stringify({action:$,payload:H!=null?H:{}}))};function k(){f.resumableUploads&&A(R?"pause":"resume")}var C=function(){var X=Sn(ot().mark(function $(){var H,V;return ot().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return V=function(){clearTimeout(x),!R&&(x=setTimeout(function(){return H(new Error("Timeout waiting for message from Companion socket"))},uKe))},S&&S.abort(),S=new AbortController,H=function(p){var v;r.uppy.setFileState(n.id,{serverToken:null}),(v=S)==null||v.abort==null||v.abort(),b(p)},o.prev=4,o.next=7,i.wrapPromiseFunction(Sn(ot().mark(function a(){var p;return ot().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return p=function(){var g=Sn(ot().mark(function w(){return ot().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.abrupt("return",new Promise(function(q,N){P=new WebSocket("".concat(E,"/api/").concat(O)),V(),P.addEventListener("close",function(){P=void 0,N(new Error("Socket closed unexpectedly"))}),P.addEventListener("error",function(Fe){var Te;r.uppy.log("Companion socket error ".concat(JSON.stringify(Fe),", closing socket"),"warning"),(Te=P)==null||Te.close()}),P.addEventListener("open",function(){k()}),P.addEventListener("message",function(Fe){V();try{var Te=JSON.parse(Fe.data),Re=Te.action,Qe=Te.payload;switch(Re){case"progress":{tK(r,Qe,r.uppy.getFile(n.id));break}case"success":{var st,Zt,pt,we,er=(st=Qe.response)==null?void 0:st.responseText;r.uppy.emit("upload-success",r.uppy.getFile(n.id),{uploadURL:Qe.url,status:(Zt=(pt=Qe.response)==null?void 0:pt.status)!=null?Zt:200,body:er?JSON.parse(er):void 0}),(we=S)==null||we.abort==null||we.abort(),m();break}case"error":{var It=Qe.error.message;throw Object.assign(new Error(It),{cause:Qe.error})}default:r.uppy.log("Companion socket unknown action ".concat(Re),"warning")}}catch(_i){H(_i)}});var Me=function(){r.uppy.log("Closing socket ".concat(n.id),"info"),clearTimeout(x),P&&P.close(),P=void 0};S.signal.addEventListener("abort",function(){Me()})}));case 1:case"end":return j.stop()}},w)}));return function(){return g.apply(this,arguments)}}(),h.next=3,o0(p,{retries:pK,signal:S.signal,onFailedAttempt:function(){S.signal.aborted||r.uppy.log("Retrying websocket ".concat(n.id),"info")}});case 3:case"end":return h.stop()}},a)})))().abortOn(S.signal);case 7:o.next=14;break;case 9:if(o.prev=9,o.t0=o.catch(4),!S.signal.aborted){o.next=13;break}return o.abrupt("return");case 13:H(o.t0);case 14:case"end":return o.stop()}},$,null,[[4,9]])}));return function(){return X.apply(this,arguments)}}(),F=function($){if(f.resumableUploads)if(R=$,P&&k(),$){var H;(H=S)==null||H.abort==null||H.abort()}else C()},I=function($){var H;f.individualCancellation&&$.id===n.id&&(A("cancel"),(H=S)==null||H.abort==null||H.abort(),r.uppy.log("upload ".concat(n.id," was removed"),"info"),m())},z=function($){var H,V=$.reason;V==="user"&&A("cancel"),(H=S)==null||H.abort==null||H.abort(),r.uppy.log("upload ".concat(n.id," was canceled"),"info"),m()},U=function($,H){$===n.id&&F(H)},Y=function(){return F(!0)},Q=function(){return F(!1)};r.uppy.on("file-removed",I),r.uppy.on("cancel-all",z),r.uppy.on("upload-pause",U),r.uppy.on("pause-all",Y),r.uppy.on("resume-all",Q),l=function(){r.uppy.off("file-removed",I),r.uppy.off("cancel-all",z),r.uppy.off("upload-pause",U),r.uppy.off("pause-all",Y),r.uppy.off("resume-all",Q)},u.addEventListener("abort",function(){var X;(X=S)==null||X.abort()}),C()});case 5:return y.abrupt("return",y.sent);case 6:return y.prev=6,l==null||l(),y.finish(6);case 9:case"end":return y.stop()}},t,this,[[2,,6,9]])})),jR.apply(this,arguments)}Dn.VERSION=oKe.version;function Su(t){"@babel/helpers - typeof";return Su=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Su(t)}function dt(){"use strict";dt=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,a){s[o]=a.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(s,o,a){return Object.defineProperty(s,o,{value:a,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(a,p,v){return a[p]=v}}function y(s,o,a,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),g=new H(p||[]);return i(h,"_invoke",{value:Y(s,a,g)}),h}function m(s,o,a){try{return{type:"normal",arg:s.call(o,a)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var b="suspendedStart",O="suspendedYield",E="executing",P="completed",S={};function x(){}function R(){}function A(){}var k={};d(k,l,function(){return this});var C=Object.getPrototypeOf,F=C&&C(C(V([])));F&&F!==r&&n.call(F,l)&&(k=F);var I=A.prototype=x.prototype=Object.create(k);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(a){return this._invoke(o,a)})})}function U(s,o){function a(v,h,g,w){var _=m(s[v],s,h);if(_.type!=="throw"){var j=_.arg,q=j.value;return q&&Su(q)=="object"&&n.call(q,"__await")?o.resolve(q.__await).then(function(N){a("next",N,g,w)},function(N){a("throw",N,g,w)}):o.resolve(q).then(function(N){j.value=N,g(j)},function(N){return a("throw",N,g,w)})}w(_.arg)}var p;i(this,"_invoke",{value:function(h,g){function w(){return new o(function(_,j){a(h,g,_,j)})}return p=p?p.then(w,w):w()}})}function Y(s,o,a){var p=b;return function(v,h){if(p===E)throw new Error("Generator is already running");if(p===P){if(v==="throw")throw h;return{value:t,done:!0}}for(a.method=v,a.arg=h;;){var g=a.delegate;if(g){var w=Q(g,a);if(w){if(w===S)continue;return w}}if(a.method==="next")a.sent=a._sent=a.arg;else if(a.method==="throw"){if(p===b)throw p=P,a.arg;a.dispatchException(a.arg)}else a.method==="return"&&a.abrupt("return",a.arg);p=E;var _=m(s,o,a);if(_.type==="normal"){if(p=a.done?P:O,_.arg===S)continue;return{value:_.arg,done:a.done}}_.type==="throw"&&(p=P,a.method="throw",a.arg=_.arg)}}}function Q(s,o){var a=o.method,p=s.iterator[a];if(p===t)return o.delegate=null,a==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||a!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),S;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,S;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,S):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,S)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function V(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var a=-1,p=function v(){for(;++a=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function hK(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function u0(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&qt(i,Di)[Di];){var u=qt(i,la)[la].shift();i.send(u.action,u.payload)}},qt(this,ur)[ur].onclose=function(){qt(i,Di)[Di]=!1,qt(i,ur)[ur]=null},qt(this,ur)[ur].onmessage=qt(this,MR)[MR])}},{key:"close",value:function(){var i;(i=qt(this,ur)[ur])==null||i.close()}},{key:"send",value:function(i,u){if(!qt(this,Di)[Di]){qt(this,la)[la].push({action:i,payload:u});return}qt(this,ur)[ur].send(JSON.stringify({action:i,payload:u}))}},{key:"on",value:function(i,u){qt(this,al)[al].on(i,u)}},{key:"emit",value:function(i,u){qt(this,al)[al].emit(i,u)}},{key:"once",value:function(i,u){qt(this,al)[al].once(i,u)}}]),r}(_K,PK);var PI={};zm(PI,{ProviderViews:function(){return Kt},SearchProviderViews:function(){return Lf},defaultPickerIcon:function(){return Ff}});var GR=Ce(xK(),1);function _u(t){"@babel/helpers - typeof";return _u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_u(t)}function $R(){"use strict";$R=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,a){s[o]=a.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(s,o,a){return Object.defineProperty(s,o,{value:a,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(a,p,v){return a[p]=v}}function y(s,o,a,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),g=new H(p||[]);return i(h,"_invoke",{value:Y(s,a,g)}),h}function m(s,o,a){try{return{type:"normal",arg:s.call(o,a)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var b="suspendedStart",O="suspendedYield",E="executing",P="completed",S={};function x(){}function R(){}function A(){}var k={};d(k,l,function(){return this});var C=Object.getPrototypeOf,F=C&&C(C(V([])));F&&F!==r&&n.call(F,l)&&(k=F);var I=A.prototype=x.prototype=Object.create(k);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(a){return this._invoke(o,a)})})}function U(s,o){function a(v,h,g,w){var _=m(s[v],s,h);if(_.type!=="throw"){var j=_.arg,q=j.value;return q&&_u(q)=="object"&&n.call(q,"__await")?o.resolve(q.__await).then(function(N){a("next",N,g,w)},function(N){a("throw",N,g,w)}):o.resolve(q).then(function(N){j.value=N,g(j)},function(N){return a("throw",N,g,w)})}w(_.arg)}var p;i(this,"_invoke",{value:function(h,g){function w(){return new o(function(_,j){a(h,g,_,j)})}return p=p?p.then(w,w):w()}})}function Y(s,o,a){var p=b;return function(v,h){if(p===E)throw new Error("Generator is already running");if(p===P){if(v==="throw")throw h;return{value:t,done:!0}}for(a.method=v,a.arg=h;;){var g=a.delegate;if(g){var w=Q(g,a);if(w){if(w===S)continue;return w}}if(a.method==="next")a.sent=a._sent=a.arg;else if(a.method==="throw"){if(p===b)throw p=P,a.arg;a.dispatchException(a.arg)}else a.method==="return"&&a.abrupt("return",a.arg);p=E;var _=m(s,o,a);if(_.type==="normal"){if(p=a.done?P:O,_.arg===S)continue;return{value:_.arg,done:a.done}}_.type==="throw"&&(p=P,a.method="throw",a.arg=_.arg)}}}function Q(s,o){var a=o.method,p=s.iterator[a];if(p===t)return o.delegate=null,a==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||a!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),S;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,S;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,S):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,S)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function V(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var a=-1,p=function v(){for(;++a=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function RK(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function XKe(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){RK(u,n,i,l,c,"next",f)}function c(f){RK(u,n,i,l,c,"throw",f)}l(void 0)})}}function IK(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function QKe(t){for(var e=1;e0;){var u=Math.trunc(i/2),l=n+u;r(t[l],e)<=0?(n=++l,i-=u+1):i=u}return n}function Pv(t){"@babel/helpers - typeof";return Pv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pv(t)}function MK(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function oYe(t){for(var e=1;e=n.priority){ul(this,ca,"f").push(i);return}var u=VR(ul(this,ca,"f"),i,function(l,c){return c.priority-l.priority});ul(this,ca,"f").splice(u,0,i)}},{key:"dequeue",value:function(){var r=ul(this,ca,"f").shift();return r==null?void 0:r.run}},{key:"filter",value:function(r){return ul(this,ca,"f").filter(function(n){return n.priority===r.priority}).map(function(n){return n.run})}},{key:"size",get:function(){return ul(this,ca,"f").length}}]),t}();ca=new WeakMap;var GK=cYe;function sr(){"use strict";sr=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,a){s[o]=a.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(s,o,a){return Object.defineProperty(s,o,{value:a,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(a,p,v){return a[p]=v}}function y(s,o,a,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),g=new H(p||[]);return i(h,"_invoke",{value:Y(s,a,g)}),h}function m(s,o,a){try{return{type:"normal",arg:s.call(o,a)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var b="suspendedStart",O="suspendedYield",E="executing",P="completed",S={};function x(){}function R(){}function A(){}var k={};d(k,l,function(){return this});var C=Object.getPrototypeOf,F=C&&C(C(V([])));F&&F!==r&&n.call(F,l)&&(k=F);var I=A.prototype=x.prototype=Object.create(k);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(a){return this._invoke(o,a)})})}function U(s,o){function a(v,h,g,w){var _=m(s[v],s,h);if(_.type!=="throw"){var j=_.arg,q=j.value;return q&&Ui(q)=="object"&&n.call(q,"__await")?o.resolve(q.__await).then(function(N){a("next",N,g,w)},function(N){a("throw",N,g,w)}):o.resolve(q).then(function(N){j.value=N,g(j)},function(N){return a("throw",N,g,w)})}w(_.arg)}var p;i(this,"_invoke",{value:function(h,g){function w(){return new o(function(_,j){a(h,g,_,j)})}return p=p?p.then(w,w):w()}})}function Y(s,o,a){var p=b;return function(v,h){if(p===E)throw new Error("Generator is already running");if(p===P){if(v==="throw")throw h;return{value:t,done:!0}}for(a.method=v,a.arg=h;;){var g=a.delegate;if(g){var w=Q(g,a);if(w){if(w===S)continue;return w}}if(a.method==="next")a.sent=a._sent=a.arg;else if(a.method==="throw"){if(p===b)throw p=P,a.arg;a.dispatchException(a.arg)}else a.method==="return"&&a.abrupt("return",a.arg);p=E;var _=m(s,o,a);if(_.type==="normal"){if(p=a.done?P:O,_.arg===S)continue;return{value:_.arg,done:a.done}}_.type==="throw"&&(p=P,a.method="throw",a.arg=_.arg)}}}function Q(s,o){var a=o.method,p=s.iterator[a];if(p===t)return o.delegate=null,a==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||a!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),S;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,S;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,S):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,S)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function V(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var a=-1,p=function v(){for(;++a=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function $K(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function fa(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){$K(u,n,i,l,c,"next",f)}function c(f){$K(u,n,i,l,c,"throw",f)}l(void 0)})}}function Ui(t){"@babel/helpers - typeof";return Ui=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ui(t)}function zK(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function HK(t){for(var e=1;e=1))throw new TypeError("Expected `intervalCap` to be a number from 1 and up, got `".concat((u=(i=r.intervalCap)===null||i===void 0?void 0:i.toString())!==null&&u!==void 0?u:"","` (").concat(Ui(r.intervalCap),")"));if(r.interval===void 0||!(Number.isFinite(r.interval)&&r.interval>=0))throw new TypeError("Expected `interval` to be a finite number >= 0, got `".concat((c=(l=r.interval)===null||l===void 0?void 0:l.toString())!==null&&c!==void 0?c:"","` (").concat(Ui(r.interval),")"));return Tt(vt(n),Tv,r.carryoverConcurrencyCount,"f"),Tt(vt(n),Av,r.intervalCap===Number.POSITIVE_INFINITY||r.interval===0,"f"),Tt(vt(n),g0,r.intervalCap,"f"),Tt(vt(n),xv,r.interval,"f"),Tt(vt(n),Mn,new r.queueClass,"f"),Tt(vt(n),d0,r.queueClass,"f"),n.concurrency=r.concurrency,n.timeout=r.timeout,Tt(vt(n),v0,r.throwOnTimeout===!0,"f"),Tt(vt(n),Pu,r.autoStart===!1,"f"),n}return QK(e,[{key:"concurrency",get:function(){return ve(this,Rv,"f")},set:function(n){if(!(typeof n=="number"&&n>=1))throw new TypeError("Expected `concurrency` to be a number from 1 and up, got `".concat(n,"` (").concat(Ui(n),")"));Tt(this,Rv,n,"f"),ve(this,Mt,"m",b0).call(this)}},{key:"add",value:function(){var r=fa(sr().mark(function i(u){var l=this,c,f=arguments;return sr().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return c=f.length>1&&f[1]!==void 0?f[1]:{},c=HK({timeout:this.timeout,throwOnTimeout:ve(this,v0,"f")},c),y.abrupt("return",new Promise(function(m,b){ve(l,Mn,"f").enqueue(fa(sr().mark(function O(){var E,P,S,x,R;return sr().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:if(Tt(l,Un,(P=ve(l,Un,"f"),P++,P),"f"),Tt(l,Eu,(S=ve(l,Eu,"f"),S++,S),"f"),k.prev=2,!(!((E=c.signal)===null||E===void 0)&&E.aborted)){k.next=5;break}throw new iY("The task was aborted.");case 5:return x=u({signal:c.signal}),c.timeout&&(x=WR(Promise.resolve(x),c.timeout)),c.signal&&(x=Promise.race([x,ve(l,Mt,"m",nY).call(l,c.signal)])),k.next=10,x;case 10:R=k.sent,m(R),l.emit("completed",R),k.next=22;break;case 15:if(k.prev=15,k.t0=k.catch(2),!(k.t0 instanceof HR&&!c.throwOnTimeout)){k.next=20;break}return m(),k.abrupt("return");case 20:b(k.t0),l.emit("error",k.t0);case 22:return k.prev=22,ve(l,Mt,"m",rY).call(l),k.finish(22);case 25:case"end":return k.stop()}},O,null,[[2,15,22,25]])})),c),l.emit("add"),ve(l,Mt,"m",y0).call(l)}));case 3:case"end":return y.stop()}},i,this)}));function n(i){return r.apply(this,arguments)}return n}()},{key:"addAll",value:function(){var r=fa(sr().mark(function i(u,l){var c=this;return sr().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.abrupt("return",Promise.all(u.map(function(){var y=fa(sr().mark(function m(b){return sr().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.abrupt("return",c.add(b,l));case 1:case"end":return E.stop()}},m)}));return function(m){return y.apply(this,arguments)}}())));case 1:case"end":return d.stop()}},i)}));function n(i,u){return r.apply(this,arguments)}return n}()},{key:"start",value:function(){return ve(this,Pu,"f")?(Tt(this,Pu,!1,"f"),ve(this,Mt,"m",b0).call(this),this):this}},{key:"pause",value:function(){Tt(this,Pu,!0,"f")}},{key:"clear",value:function(){Tt(this,Mn,new(ve(this,d0,"f")),"f")}},{key:"onEmpty",value:function(){var r=fa(sr().mark(function i(){return sr().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(ve(this,Mn,"f").size!==0){l.next=2;break}return l.abrupt("return");case 2:return l.next=4,ve(this,Mt,"m",m0).call(this,"empty");case 4:case"end":return l.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"onSizeLessThan",value:function(){var r=fa(sr().mark(function i(u){var l=this;return sr().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(!(ve(this,Mn,"f").size=r.__.length&&r.__.push({__V:w0}),r.__[t]}function pa(t){return jv=1,mYe(vY,t)}function mYe(t,e,r){var n=eI(S0++,2);return n.t=t,n.__c||(n.__=[r?r(e):vY(void 0,e),function(i){var u=n.t(n.__[0],i);n.__[0]!==u&&(n.__=[u,n.__[1]],n.__c.setState({}))}],n.__c=Xr),n.__}function Oo(t,e){var r=eI(S0++,3);!je.__s&&dY(r.__H,e)&&(r.__=t,r.u=e,Xr.__H.__h.push(r))}function sl(t){return jv=5,If(function(){return{current:t}},[])}function If(t,e){var r=eI(S0++,7);return dY(r.__H,e)?(r.__V=t(),r.u=e,r.__h=t,r.__V):r.__}function ll(t,e){return jv=8,If(function(){return t},e)}function gYe(){for(var t;t=hY.shift();)if(t.__P)try{t.__H.__h.forEach(O0),t.__H.__h.forEach(ZR),t.__H.__h=[]}catch(e){t.__H.__h=[],je.__e(e,t.__v)}}je.__b=function(t){Xr=null,uY&&uY(t)},je.__r=function(t){sY&&sY(t),S0=0;var e=(Xr=t.__c).__H;e&&(JR===Xr?(e.__h=[],Xr.__h=[],e.__.forEach(function(r){r.__V=w0,r.u=void 0})):(e.__h.forEach(O0),e.__h.forEach(ZR),e.__h=[])),JR=Xr},je.diffed=function(t){lY&&lY(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(hY.push(e)!==1&&aY===je.requestAnimationFrame||((aY=je.requestAnimationFrame)||function(r){var n,i=function(){clearTimeout(u),pY&&cancelAnimationFrame(n),setTimeout(r)},u=setTimeout(i,100);pY&&(n=requestAnimationFrame(i))})(gYe)),e.__H.__.forEach(function(r){r.u&&(r.__H=r.u),r.__V!==w0&&(r.__=r.__V),r.u=void 0,r.__V=w0})),JR=Xr=null},je.__c=function(t,e){e.some(function(r){try{r.__h.forEach(O0),r.__h=r.__h.filter(function(n){return!n.__||ZR(n)})}catch(n){e.some(function(i){i.__h&&(i.__h=[])}),e=[],je.__e(n,r.__v)}}),cY&&cY(t,e)},je.unmount=function(t){fY&&fY(t);var e,r=t.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{O0(n)}catch(i){e=i}}),e&&je.__e(e,r.__v))};var pY=typeof requestAnimationFrame=="function";function O0(t){var e=Xr,r=t.__c;typeof r=="function"&&(t.__c=void 0,r()),Xr=e}function ZR(t){var e=Xr;t.__c=t.__(),Xr=e}function dY(t,e){return!t||t.length!==e.length||e.some(function(r,n){return r!==t[n]})}function vY(t,e){return typeof e=="function"?e(t):e}function bYe(){return T("svg",{width:"26",height:"26",viewBox:"0 0 26 26",xmlns:"http://www.w3.org/2000/svg"},T("g",{fill:"none","fill-rule":"evenodd"},T("circle",{fill:"#FFF",cx:"13",cy:"13",r:"13"}),T("path",{d:"M21.64 13.205c0-.639-.057-1.252-.164-1.841H13v3.481h4.844a4.14 4.14 0 01-1.796 2.716v2.259h2.908c1.702-1.567 2.684-3.875 2.684-6.615z",fill:"#4285F4","fill-rule":"nonzero"}),T("path",{d:"M13 22c2.43 0 4.467-.806 5.956-2.18l-2.908-2.259c-.806.54-1.837.86-3.048.86-2.344 0-4.328-1.584-5.036-3.711H4.957v2.332A8.997 8.997 0 0013 22z",fill:"#34A853","fill-rule":"nonzero"}),T("path",{d:"M7.964 14.71A5.41 5.41 0 017.682 13c0-.593.102-1.17.282-1.71V8.958H4.957A8.996 8.996 0 004 13c0 1.452.348 2.827.957 4.042l3.007-2.332z",fill:"#FBBC05","fill-rule":"nonzero"}),T("path",{d:"M13 7.58c1.321 0 2.508.454 3.44 1.345l2.582-2.58C17.463 4.891 15.426 4 13 4a8.997 8.997 0 00-8.043 4.958l3.007 2.332C8.672 9.163 10.656 7.58 13 7.58z",fill:"#EA4335","fill-rule":"nonzero"}),T("path",{d:"M4 4h18v18H4z"})))}function wYe(t){var e=t.pluginName,r=t.i18n,n=t.onAuth,i=e==="Google Drive",u=ll(function(l){l.preventDefault(),n()},[n]);return T("form",{onSubmit:u},i?T("button",{type:"submit",className:"uppy-u-reset uppy-c-btn uppy-c-btn-primary uppy-Provider-authBtn uppy-Provider-btn-google","data-uppy-super-focusable":!0},T(bYe,null),r("signInWithGoogle")):T("button",{type:"submit",className:"uppy-u-reset uppy-c-btn uppy-c-btn-primary uppy-Provider-authBtn","data-uppy-super-focusable":!0},r("authenticateWith",{pluginName:e})))}var OYe=function(e){var r=e.pluginName,n=e.i18n,i=e.onAuth;return T(wYe,{pluginName:r,i18n:n,onAuth:i})};function tI(t){var e=t.loading,r=t.pluginName,n=t.pluginIcon,i=t.i18n,u=t.handleAuth,l=t.renderForm,c=l===void 0?OYe:l;return T("div",{className:"uppy-Provider-auth"},T("div",{className:"uppy-Provider-authIcon"},n()),T("div",{className:"uppy-Provider-authTitle"},i("authenticateWithTitle",{pluginName:r})),T("div",{className:"uppy-Provider-authForm"},c({pluginName:r,i18n:i,loading:e,onAuth:u})))}function rI(t){var e=t.i18n,r=t.logout,n=t.username;return T(gr,null,T("span",{className:"uppy-ProviderBrowser-user",key:"username"},n),T("button",{type:"button",onClick:r,className:"uppy-u-reset uppy-c-btn uppy-ProviderBrowser-userLogout",key:"logout"},e("logOut")))}var SYe=function(e){var r=e.getFolder,n=e.title,i=e.isLast;return T(gr,null,T("button",{type:"button",className:"uppy-u-reset uppy-c-btn",onClick:r},n),i?"":" / ")};function nI(t){var e=t.getFolder,r=t.title,n=t.breadcrumbsIcon,i=t.breadcrumbs;return T("div",{className:"uppy-Provider-breadcrumbs"},T("div",{className:"uppy-Provider-breadcrumbsIcon"},n),i.map(function(u,l){return T(SYe,{key:u.id,getFolder:function(){return e(u.requestPath,u.name)},title:l===0?r:u.name,isLast:l+1===i.length})}))}function iI(t){return T(gr,null,t.showBreadcrumbs&&T(nI,{getFolder:t.getFolder,breadcrumbs:t.breadcrumbs,breadcrumbsIcon:t.pluginIcon&&t.pluginIcon(),title:t.title}),T(rI,{logout:t.logout,username:t.username,i18n:t.i18n}))}var pI=Ce(Bn(),1);function qv(t){"@babel/helpers - typeof";return qv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qv(t)}function yY(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function mY(t){for(var e=1;e=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function RYe(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,u;for(u=0;u=0)&&(r[i]=t[i]);return r}function IYe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bY(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,n=new Array(e);rt.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&T(uI,{selected:X,done:U,cancel:z,i18n:O}))}var I0=ZYe;function jf(t){"@babel/helpers - typeof";return jf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jf(t)}function eXe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AY(t,e){for(var r=0;r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return u=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!u&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function IY(t,e){if(t){if(typeof t=="string")return vI(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return vI(t,e)}}function vI(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return u=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!u&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function Ve(){"use strict";Ve=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,a){s[o]=a.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(s,o,a){return Object.defineProperty(s,o,{value:a,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(a,p,v){return a[p]=v}}function y(s,o,a,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),g=new H(p||[]);return i(h,"_invoke",{value:Y(s,a,g)}),h}function m(s,o,a){try{return{type:"normal",arg:s.call(o,a)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var b="suspendedStart",O="suspendedYield",E="executing",P="completed",S={};function x(){}function R(){}function A(){}var k={};d(k,l,function(){return this});var C=Object.getPrototypeOf,F=C&&C(C(V([])));F&&F!==r&&n.call(F,l)&&(k=F);var I=A.prototype=x.prototype=Object.create(k);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(a){return this._invoke(o,a)})})}function U(s,o){function a(v,h,g,w){var _=m(s[v],s,h);if(_.type!=="throw"){var j=_.arg,q=j.value;return q&&Au(q)=="object"&&n.call(q,"__await")?o.resolve(q.__await).then(function(N){a("next",N,g,w)},function(N){a("throw",N,g,w)}):o.resolve(q).then(function(N){j.value=N,g(j)},function(N){return a("throw",N,g,w)})}w(_.arg)}var p;i(this,"_invoke",{value:function(h,g){function w(){return new o(function(_,j){a(h,g,_,j)})}return p=p?p.then(w,w):w()}})}function Y(s,o,a){var p=b;return function(v,h){if(p===E)throw new Error("Generator is already running");if(p===P){if(v==="throw")throw h;return{value:t,done:!0}}for(a.method=v,a.arg=h;;){var g=a.delegate;if(g){var w=Q(g,a);if(w){if(w===S)continue;return w}}if(a.method==="next")a.sent=a._sent=a.arg;else if(a.method==="throw"){if(p===b)throw p=P,a.arg;a.dispatchException(a.arg)}else a.method==="return"&&a.abrupt("return",a.arg);p=E;var _=m(s,o,a);if(_.type==="normal"){if(p=a.done?P:O,_.arg===S)continue;return{value:_.arg,done:a.done}}_.type==="throw"&&(p=P,a.method="throw",a.arg=_.arg)}}}function Q(s,o){var a=o.method,p=s.iterator[a];if(p===t)return o.delegate=null,a==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||a!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),S;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,S;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,S):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,S)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function V(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var a=-1,p=function v(){for(;++a=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function yXe(t){return bXe(t)||gXe(t)||LY(t)||mXe()}function mXe(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function LY(t,e){if(t){if(typeof t=="string")return yI(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return yI(t,e)}}function gXe(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function bXe(t){if(Array.isArray(t))return yI(t)}function yI(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function DY(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function MY(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){DY(u,n,i,l,c,"next",f)}function c(f){DY(u,n,i,l,c,"throw",f)}l(void 0)})}}function UY(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function F0(t){for(var e=1;e1;return T("div",{className:"uppy-StatusBar-statusSecondary"},c&&l("filesUploadedOfTotal",{complete:r,smart_count:e}),T("span",{className:"uppy-StatusBar-additionalInfo"},c&&XY(),l("dataUploadedOfTotal",{complete:(0,xI.default)(n),total:(0,xI.default)(i)}),XY(),l("xTimeLeft",{time:AI(u)})))}function iX(t){var e=t.i18n,r=t.complete,n=t.numUploads;return T("div",{className:"uppy-StatusBar-statusSecondary"},e("filesUploadedOfTotal",{complete:r,smart_count:n}))}function iQe(t){var e=t.i18n,r=t.newFiles,n=t.startUpload,i=(0,RI.default)("uppy-u-reset","uppy-c-btn","uppy-StatusBar-actionBtn","uppy-StatusBar-actionBtn--uploadNewlyAdded");return T("div",{className:"uppy-StatusBar-statusSecondary"},T("div",{className:"uppy-StatusBar-statusSecondaryHint"},e("xMoreFilesAdded",{smart_count:r})),T("button",{type:"button",className:i,"aria-label":e("uploadXFiles",{smart_count:r}),onClick:n},e("upload")))}function oX(t){var e=t.i18n,r=t.supportsUploadProgress,n=t.totalProgress,i=t.showProgressDetails,u=t.isUploadStarted,l=t.isAllComplete,c=t.isAllPaused,f=t.newFiles,d=t.numUploads,y=t.complete,m=t.totalUploadedSize,b=t.totalSize,O=t.totalETA,E=t.startUpload,P=f&&u;if(!u||l)return null;var S=e(c?"paused":"uploading");function x(){return!c&&!P&&i?r?T(nQe,{numUploads:d,complete:y,totalUploadedSize:m,totalSize:b,totalETA:O,i18n:e}):T(iX,{i18n:e,complete:y,numUploads:d}):null}return T("div",{className:"uppy-StatusBar-content","aria-label":S,title:S},c?null:T(rX,null),T("div",{className:"uppy-StatusBar-status"},T("div",{className:"uppy-StatusBar-statusPrimary"},r?"".concat(S,": ").concat(n,"%"):S),x(),P?T(iQe,{i18n:e,newFiles:f,startUpload:E}):null))}function aX(t){var e=t.i18n;return T("div",{className:"uppy-StatusBar-content",role:"status",title:e("complete")},T("div",{className:"uppy-StatusBar-status"},T("div",{className:"uppy-StatusBar-statusPrimary"},T("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-StatusBar-statusIndicator uppy-c-icon",width:"15",height:"11",viewBox:"0 0 15 11"},T("path",{d:"M.414 5.843L1.627 4.63l3.472 3.472L13.202 0l1.212 1.213L5.1 10.528z"})),e("complete"))))}function uX(t){var e=t.error,r=t.i18n,n=t.complete,i=t.numUploads;function u(){var l="".concat(r("uploadFailed")," \n\n ").concat(e);alert(l)}return T("div",{className:"uppy-StatusBar-content",title:r("uploadFailed")},T("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-StatusBar-statusIndicator uppy-c-icon",width:"11",height:"11",viewBox:"0 0 11 11"},T("path",{d:"M4.278 5.5L0 1.222 1.222 0 5.5 4.278 9.778 0 11 1.222 6.722 5.5 11 9.778 9.778 11 5.5 6.722 1.222 11 0 9.778z"})),T("div",{className:"uppy-StatusBar-status"},T("div",{className:"uppy-StatusBar-statusPrimary"},r("uploadFailed"),T("button",{className:"uppy-u-reset uppy-StatusBar-details","aria-label":r("showErrorDetails"),"data-microtip-position":"top-right","data-microtip-size":"medium",onClick:u,type:"button"},"?")),T(iX,{i18n:r,complete:n,numUploads:i})))}var sX=wr.STATE_ERROR,lX=wr.STATE_WAITING,II=wr.STATE_PREPROCESSING,N0=wr.STATE_UPLOADING,kI=wr.STATE_POSTPROCESSING,D0=wr.STATE_COMPLETE;function M0(t){var e=t.newFiles,r=t.allowNewUpload,n=t.isUploadInProgress,i=t.isAllPaused,u=t.resumableUploads,l=t.error,c=t.hideUploadButton,f=t.hidePauseResumeButton,d=t.hideCancelButton,y=t.hideRetryButton,m=t.recoveredState,b=t.uploadState,O=t.totalProgress,E=t.files,P=t.supportsUploadProgress,S=t.hideAfterFinish,x=t.isSomeGhost,R=t.doneButtonHandler,A=t.isUploadStarted,k=t.i18n,C=t.startUpload,F=t.uppy,I=t.isAllComplete,z=t.showProgressDetails,U=t.numUploads,Y=t.complete,Q=t.totalSize,X=t.totalETA,$=t.totalUploadedSize;function H(){switch(b){case kI:case II:{var N=Wv(E);return N.mode==="determinate"?N.value*100:O}case sX:return null;case N0:return P?O:null;default:return O}}function V(){switch(b){case kI:case II:{var N=Wv(E),Me=N.mode;return Me==="indeterminate"}case N0:return!P;default:return!1}}function s(){if(m)return!1;switch(b){case lX:return c||e===0;case D0:return S;default:return!1}}var o=H(),a=s(),p=o!=null?o:100,v=!l&&e&&!n&&!i&&r&&!c,h=!d&&b!==lX&&b!==D0,g=u&&!f&&b===N0,w=l&&!I&&!y,_=R&&b===D0,j=(0,jI.default)("uppy-StatusBar-progress",{"is-indeterminate":V()}),q=(0,jI.default)("uppy-StatusBar","is-".concat(b),{"has-ghosts":x});return T("div",{className:q,"aria-hidden":a},T("div",{className:j,style:{width:"".concat(p,"%")},role:"progressbar","aria-label":"".concat(p,"%"),"aria-valuetext":"".concat(p,"%"),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":o}),function(){switch(b){case II:case kI:return T(nX,{progress:Wv(E)});case D0:return T(aX,{i18n:k});case sX:return T(uX,{error:l,i18n:k,numUploads:U,complete:Y});case N0:return T(oX,{i18n:k,supportsUploadProgress:P,totalProgress:O,showProgressDetails:z,isUploadStarted:A,isAllComplete:I,isAllPaused:i,newFiles:e,numUploads:U,complete:Y,totalUploadedSize:$,totalSize:Q,totalETA:X,startUpload:C});default:return null}}(),T("div",{className:"uppy-StatusBar-actions"},m||v?T(QY,{newFiles:e,isUploadStarted:A,recoveredState:m,i18n:k,isSomeGhost:x,startUpload:C,uploadState:b}):null,w?T(JY,{i18n:k,uppy:F}):null,g?T(eX,{isAllPaused:i,i18n:k,isAllComplete:I,resumableUploads:u,uppy:F}):null,h?T(ZY,{i18n:k,uppy:F}):null,_?T(tX,{i18n:k,doneButtonHandler:R}):null))}M0.defaultProps={doneButtonHandler:void 0,hideAfterFinish:!1,hideCancelButton:!1,hidePauseResumeButton:!1,hideRetryButton:!1,hideUploadButton:void 0,showProgressDetails:void 0};var cX={strings:{uploading:"Uploading",complete:"Complete",uploadFailed:"Upload failed",paused:"Paused",retry:"Retry",cancel:"Cancel",pause:"Pause",resume:"Resume",done:"Done",filesUploadedOfTotal:{0:"%{complete} of %{smart_count} file uploaded",1:"%{complete} of %{smart_count} files uploaded"},dataUploadedOfTotal:"%{complete} of %{total}",xTimeLeft:"%{time} left",uploadXFiles:{0:"Upload %{smart_count} file",1:"Upload %{smart_count} files"},uploadXNewFiles:{0:"Upload +%{smart_count} file",1:"Upload +%{smart_count} files"},upload:"Upload",retryUpload:"Retry upload",xMoreFilesAdded:{0:"%{smart_count} more file added",1:"%{smart_count} more files added"},showErrorDetails:"Show error details"}};function Cf(t){"@babel/helpers - typeof";return Cf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cf(t)}function fX(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function pX(t){for(var e=1;et.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function FQe(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,u;for(u=0;u=0)&&(r[i]=t[i]);return r}function LQe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function OX(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function Kf(t){return uJe(t)||aJe(t)||JI(t)||oJe()}function oJe(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function aJe(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function uJe(t){if(Array.isArray(t))return $I(t)}function gi(t,e){return cJe(t)||lJe(t,e)||JI(t,e)||sJe()}function sJe(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function lJe(t,e){var r=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,u,l,c=[],f=!0,d=!1;try{if(u=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;f=!1}else for(;!(f=(n=u.call(r)).done)&&(c.push(n.value),c.length!==e);f=!0);}catch(y){d=!0,i=y}finally{try{if(!f&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(d)throw i}}return c}}function cJe(t){if(Array.isArray(t))return t}function ft(t,e){var r=typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=JI(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return u=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!u&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function JI(t,e){if(t){if(typeof t=="string")return $I(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $I(t,e)}}function $I(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;if(Br(this,t),typeof i=="boolean"&&(this.le=i),Array.isArray(e)&&(e=new Uint8Array(e)),e===0)this.byteOffset=0,this.byteLength=0;else if(e instanceof ArrayBuffer){n===void 0&&(n=e.byteLength-r);var u=new DataView(e,r,n);this._swapDataView(u)}else if(e instanceof Uint8Array||e instanceof DataView||e instanceof t){n===void 0&&(n=e.byteLength-r),(r+=e.byteOffset)+n>e.byteOffset+e.byteLength&&Or("Creating view outside of available memory in ArrayBuffer");var l=new DataView(e.buffer,r,n);this._swapDataView(l)}else if(typeof e=="number"){var c=new DataView(new ArrayBuffer(e));this._swapDataView(c)}else Or("Invalid input argument for BufferView: "+e)}return Gr(t,[{key:"_swapArrayBuffer",value:function(r){this._swapDataView(new DataView(r))}},{key:"_swapBuffer",value:function(r){this._swapDataView(new DataView(r.buffer,r.byteOffset,r.byteLength))}},{key:"_swapDataView",value:function(r){this.dataView=r,this.buffer=r.buffer,this.byteOffset=r.byteOffset,this.byteLength=r.byteLength}},{key:"_lengthToEnd",value:function(r){return this.byteLength-r}},{key:"set",value:function(r,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:t;return r instanceof DataView||r instanceof t?r=new Uint8Array(r.buffer,r.byteOffset,r.byteLength):r instanceof ArrayBuffer&&(r=new Uint8Array(r)),r instanceof Uint8Array||Or("BufferView.set(): Invalid data argument."),this.toUint8().set(r,n),new i(this,n,r.byteLength)}},{key:"subarray",value:function(r,n){return n=n||this._lengthToEnd(r),new t(this,r,n)}},{key:"toUint8",value:function(){return new Uint8Array(this.buffer,this.byteOffset,this.byteLength)}},{key:"getUint8Array",value:function(r,n){return new Uint8Array(this.buffer,this.byteOffset+r,n)}},{key:"getString",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.byteLength,i=this.getUint8Array(r,n);return u=i,jX?jX.decode(u):ZX?Buffer.from(u).toString("utf8"):decodeURIComponent(escape(DI(u)));var u}},{key:"getLatin1String",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.byteLength,i=this.getUint8Array(r,n);return DI(i)}},{key:"getUnicodeString",value:function(){for(var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.byteLength,i=[],u=0;u1&&arguments[1]!==void 0?arguments[1]:this.le;return this.dataView.getInt16(r,n)}},{key:"getInt32",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.le;return this.dataView.getInt32(r,n)}},{key:"getUint16",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.le;return this.dataView.getUint16(r,n)}},{key:"getUint32",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.le;return this.dataView.getUint32(r,n)}},{key:"getFloat32",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.le;return this.dataView.getFloat32(r,n)}},{key:"getFloat64",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.le;return this.dataView.getFloat64(r,n)}},{key:"getFloat",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.le;return this.dataView.getFloat32(r,n)}},{key:"getDouble",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.le;return this.dataView.getFloat64(r,n)}},{key:"getUintBytes",value:function(r,n,i){switch(n){case 1:return this.getUint8(r,i);case 2:return this.getUint16(r,i);case 4:return this.getUint32(r,i);case 8:return this.getUint64&&this.getUint64(r,i)}}},{key:"getUint",value:function(r,n,i){switch(n){case 8:return this.getUint8(r,i);case 16:return this.getUint16(r,i);case 32:return this.getUint32(r,i);case 64:return this.getUint64&&this.getUint64(r,i)}}},{key:"toString",value:function(r){return this.dataView.toString(r,this.constructor.name)}},{key:"ensureChunk",value:function(){}}],[{key:"from",value:function(r,n){return r instanceof this&&r.le===n?r:new t(r,void 0,void 0,n)}}]),t}();function zI(t,e){Or("".concat(t," '").concat(e,"' was not loaded, try using full build of exifr."))}var ek=function(t){To(e,t);function e(r){var n;return Br(this,e),n=Eo(this,e),n.kind=r,n}return Gr(e,[{key:"get",value:function(n,i){return this.has(n)||zI(this.kind,n),i&&(n in i||function(u,l){Or("Unknown ".concat(u," '").concat(l,"'."))}(this.kind,n),i[n].enabled||zI(this.kind,n)),fl(Po(e.prototype),"get",this).call(this,n)}},{key:"keyList",value:function(){return Array.from(this.keys())}}]),e}(V0(Map)),Q0=new ek("file parser"),zn=new ek("segment parser"),ry=new ek("file reader"),yJe=QX.fetch;function qX(t,e){return(r=t).startsWith("data:")||r.length>1e4?VI(t,e,"base64"):IX&&t.includes("://")?HI(t,e,"url",Y0):IX?VI(t,e,"fs"):Iu?HI(t,e,"url",Y0):void Or("Invalid input argument");var r}function HI(t,e,r,n){return WI.apply(this,arguments)}function WI(){return WI=rt(ye().mark(function t(e,r,n,i){return ye().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",ry.has(n)?VI(e,r,n):i?function(){var c=rt(ye().mark(function f(d,y){var m;return ye().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.next=2,y(d);case 2:return m=O.sent,O.abrupt("return",new Zv(m));case 4:case"end":return O.stop()}},f)}));return function(f,d){return c.apply(this,arguments)}}()(e,i):void Or("Parser ".concat(n," is not loaded")));case 1:case"end":return l.stop()}},t)})),WI.apply(this,arguments)}function VI(t,e,r){return KI.apply(this,arguments)}function KI(){return KI=rt(ye().mark(function t(e,r,n){var i;return ye().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return i=new(ry.get(n))(e,r),l.next=3,i.read();case 3:return l.abrupt("return",i);case 4:case"end":return l.stop()}},t)})),KI.apply(this,arguments)}var Y0=function(e){return yJe(e).then(function(r){return r.arrayBuffer()})},ey=function(e){return new Promise(function(r,n){var i=new FileReader;i.onloadend=function(){return r(i.result||new ArrayBuffer)},i.onerror=n,i.readAsArrayBuffer(e)})},mJe=function(t){To(e,t);function e(){return Br(this,e),Eo(this,e,arguments)}return Gr(e,[{key:"tagKeys",get:function(){return this.allKeys||(this.allKeys=Array.from(this.keys())),this.allKeys}},{key:"tagValues",get:function(){return this.allValues||(this.allValues=Array.from(this.values())),this.allValues}}]),e}(V0(Map));function tQ(t,e,r){var n=new mJe,i=ft(r),u;try{for(i.s();!(u=i.n()).done;){var l=gi(u.value,2),c=l[0],f=l[1];n.set(c,f)}}catch(b){i.e(b)}finally{i.f()}if(Array.isArray(e)){var d=ft(e),y;try{for(d.s();!(y=d.n()).done;){var m=y.value;t.set(m,n)}}catch(b){d.e(b)}finally{d.f()}}else t.set(e,n);return n}function rQ(t,e,r){var n,i=t.get(e),u=ft(r),l;try{for(u.s();!(l=u.n()).done;)n=l.value,i.set(n[0],n[1])}catch(c){u.e(c)}finally{u.f()}}var ny=new Map,tk=new Map,rk=new Map,$f=["chunked","firstChunkSize","firstChunkSizeNode","firstChunkSizeBrowser","chunkSize","chunkLimit"],J0=["jfif","xmp","icc","iptc","ihdr"],ty=["tiff"].concat(J0),Yt=["ifd0","ifd1","exif","gps","interop"],zf=[].concat(Kf(ty),Yt),Hf=["makerNote","userComment"],Z0=["translateKeys","translateValues","reviveValues","multiSegment"],Wf=[].concat(Z0,["sanitize","mergeOutput","silentErrors"]),nQ=function(){function t(){Br(this,t)}return Gr(t,[{key:"translate",get:function(){return this.translateKeys||this.translateValues||this.reviveValues}}]),t}(),Yv=function(t){To(e,t);function e(r,n,i,u){var l;if(Br(this,e),l=Eo(this,e),nt($n(l),"enabled",!1),nt($n(l),"skip",new Set),nt($n(l),"pick",new Set),nt($n(l),"deps",new Set),nt($n(l),"translateKeys",!1),nt($n(l),"translateValues",!1),nt($n(l),"reviveValues",!1),l.key=r,l.enabled=n,l.parse=l.enabled,l.applyInheritables(u),l.canBeFiltered=Yt.includes(r),l.canBeFiltered&&(l.dict=ny.get(r)),i!==void 0)if(Array.isArray(i))l.parse=l.enabled=!0,l.canBeFiltered&&i.length>0&&l.translateTagSet(i,l.pick);else if(bi(i)=="object"){if(l.enabled=!0,l.parse=i.parse!==!1,l.canBeFiltered){var c=i.pick,f=i.skip;c&&c.length>0&&l.translateTagSet(c,l.pick),f&&f.length>0&&l.translateTagSet(f,l.skip)}l.applyInheritables(i)}else i===!0||i===!1?l.parse=l.enabled=i:Or("Invalid options argument: ".concat(i));return YX(l)}return Gr(e,[{key:"needed",get:function(){return this.enabled||this.deps.size>0}},{key:"applyInheritables",value:function(n){for(var i,u,l=0,c=Z0;l0?(this.enabled=!0,X0(this.pick,this.deps)):this.enabled&&this.pick.size>0&&X0(this.pick,this.deps)}}]),e}(nQ),Jr={jfif:!1,tiff:!0,xmp:!1,icc:!1,iptc:!1,ifd0:!0,ifd1:!1,exif:!0,gps:!0,interop:!1,ihdr:void 0,makerNote:!1,userComment:!1,multiSegment:!1,skip:[],pick:[],translateKeys:!0,translateValues:!0,reviveValues:!0,sanitize:!0,mergeOutput:!0,silentErrors:!0,chunked:!0,firstChunkSize:void 0,firstChunkSizeNode:512,firstChunkSizeBrowser:65536,chunkSize:65536,chunkLimit:5},FX=new Map,iy=function(t){To(e,t);function e(r){var n;return Br(this,e),n=Eo(this,e),r===!0?n.setupFromTrue():r===void 0?n.setupFromUndefined():Array.isArray(r)?n.setupFromArray(r):bi(r)=="object"?n.setupFromObject(r):Or("Invalid options argument ".concat(r)),n.firstChunkSize===void 0&&(n.firstChunkSize=Iu?n.firstChunkSizeBrowser:n.firstChunkSizeNode),n.mergeOutput&&(n.ifd1.enabled=!1),n.filterNestedSegmentTags(),n.traverseTiffDependencyTree(),n.checkLoadedPlugins(),n}return Gr(e,[{key:"setupFromUndefined",value:function(){for(var n,i=0,u=$f;i3&&arguments[3]!==void 0?arguments[3]:u;if(n&&n.length){var c=ft(l),f;try{for(c.s();!(f=c.n()).done;){var d=f.value;this[d].enabled=!1}}catch(F){c.e(F)}finally{c.f()}var y=LX(n,u),m=ft(y),b;try{for(m.s();!(b=m.n()).done;){var O=gi(b.value,2),E=O[0],P=O[1];X0(this[E].pick,P),this[E].enabled=!0}}catch(F){m.e(F)}finally{m.f()}}else if(i&&i.length){var S=LX(i,u),x=ft(S),R;try{for(x.s();!(R=x.n()).done;){var A=gi(R.value,2),k=A[0],C=A[1];X0(this[k].skip,C)}}catch(F){x.e(F)}finally{x.f()}}}},{key:"filterNestedSegmentTags",value:function(){var n=this.ifd0,i=this.exif,u=this.xmp,l=this.iptc,c=this.icc;this.makerNote?i.deps.add(37500):i.skip.add(37500),this.userComment?i.deps.add(37510):i.skip.add(37510),u.enabled||n.skip.add(700),l.enabled||n.skip.add(33723),c.enabled||n.skip.add(34675)}},{key:"traverseTiffDependencyTree",value:function(){var n=this,i=this.ifd0,u=this.exif,l=this.gps,c=this.interop;c.needed&&(u.deps.add(40965),i.deps.add(40965)),u.needed&&i.deps.add(34665),l.needed&&i.deps.add(34853),this.tiff.enabled=Yt.some(function(m){return n[m].enabled===!0})||this.makerNote||this.userComment;for(var f=0,d=Yt;f0&&(i.errors=u),f.abrupt("return",eQ(l=i)?void 0:l);case 13:case"end":return f.stop()}},n,this)}));function r(){return e.apply(this,arguments)}return r}()},{key:"executeParsers",value:function(){var e=rt(ye().mark(function n(){var i=this,u,l;return ye().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return u=this.output,f.next=3,this.fileParser.parse();case 3:return l=Object.values(this.parsers).map(function(){var d=rt(ye().mark(function y(m){var b;return ye().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,m.parse();case 2:b=E.sent,m.assignToOutput(u,b);case 4:case"end":return E.stop()}},y)}));return function(y){return d.apply(this,arguments)}}()),this.options.silentErrors&&(l=l.map(function(d){return d.catch(i.pushToErrors)})),f.next=7,Promise.all(l);case 7:case"end":return f.stop()}},n,this)}));function r(){return e.apply(this,arguments)}return r}()},{key:"extractThumbnail",value:function(){var e=rt(ye().mark(function n(){var i,u,l,c,f,d,y;return ye().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(this.setup(),i=this.options,u=this.file,l=zn.get("tiff",i),!u.tiff){b.next=6;break}c={start:0,type:"tiff"},b.next=11;break;case 6:if(b.t0=u.jpeg,!b.t0){b.next=11;break}return b.next=10,this.fileParser.getOrFindSegment("tiff");case 10:c=b.sent;case 11:if(c!==void 0){b.next=13;break}return b.abrupt("return");case 13:return b.next=15,this.fileParser.ensureSegmentChunk(c);case 15:return f=b.sent,d=this.parsers.tiff=new l(f,i,u),b.next=19,d.extractThumbnail();case 19:return y=b.sent,b.abrupt("return",(u.close&&u.close(),y));case 21:case"end":return b.stop()}},n,this)}));function r(){return e.apply(this,arguments)}return r}()}]),t}();function iQ(t,e){return YI.apply(this,arguments)}function YI(){return YI=rt(ye().mark(function t(e,r){var n;return ye().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return n=new eO(r),u.next=3,n.read(e);case 3:return u.abrupt("return",n.parse());case 4:case"end":return u.stop()}},t)})),YI.apply(this,arguments)}var gJe=Object.freeze({__proto__:null,parse:iQ,Exifr:eO,fileParsers:Q0,segmentParsers:zn,fileReaders:ry,tagKeys:ny,tagValues:tk,tagRevivers:rk,createDictionary:tQ,extendDictionary:rQ,fetchUrlAsArrayBuffer:Y0,readBlobAsArrayBuffer:ey,chunkedProps:$f,otherSegments:J0,segments:ty,tiffBlocks:Yt,segmentsAndBlocks:zf,tiffExtractables:Hf,inheritables:Z0,allFormatters:Wf,Options:iy}),Vf=function(){function t(e){var r=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;Br(this,t),nt(this,"errors",[]),nt(this,"raw",new Map),nt(this,"handleError",function(u){if(!r.options.silentErrors)throw u;r.errors.push(u.message)}),this.chunk=this.normalizeInput(e),this.file=i,this.type=this.constructor.type,this.globalOptions=this.options=n,this.localOptions=n[this.type],this.canTranslate=this.localOptions&&this.localOptions.translate}return Gr(t,[{key:"normalizeInput",value:function(r){return r instanceof Zv?r:new Zv(r)}},{key:"translate",value:function(){this.canTranslate&&(this.translated=this.translateBlock(this.raw,this.type))}},{key:"output",get:function(){return this.translated?this.translated:this.raw?Object.fromEntries(this.raw):void 0}},{key:"translateBlock",value:function(r,n){var i=rk.get(n),u=tk.get(n),l=ny.get(n),c=this.options[n],f=c.reviveValues&&!!i,d=c.translateValues&&!!u,y=c.translateKeys&&!!l,m={},b=ft(r),O;try{for(b.s();!(O=b.n()).done;){var E=gi(O.value,2),P=E[0],S=E[1];f&&i.has(P)?S=i.get(P)(S):d&&u.has(P)&&(S=this.translateValue(S,u.get(P))),y&&l.has(P)&&(P=l.get(P)||P),m[P]=S}}catch(x){b.e(x)}finally{b.f()}return m}},{key:"translateValue",value:function(r,n){return n[r]||n.DEFAULT||r}},{key:"assignToOutput",value:function(r,n){this.assignObjectToOutput(r,this.constructor.type,n)}},{key:"assignObjectToOutput",value:function(r,n,i){if(this.globalOptions.mergeOutput)return Object.assign(r,i);r[n]?Object.assign(r[n],i):r[n]=i}}],[{key:"findPosition",value:function(r,n){var i=r.getUint16(n+2)+2,u=typeof this.headerLength=="function"?this.headerLength(r,n,i):this.headerLength,l=n+u,c=i-u;return{offset:n,length:i,headerLength:u,start:l,size:c,end:l+c}}},{key:"parse",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new this(r,new iy(iJe({},this.type,n)),r).parse()}}]),t}();nt(Vf,"headerLength",4),nt(Vf,"type",void 0),nt(Vf,"multiSegment",!1),nt(Vf,"canHandle",function(){return!1});function bJe(t){return t===192||t===194||t===196||t===219||t===221||t===218||t===254}function wJe(t){return t>=224&&t<=239}function OJe(t,e,r){var n=ft(zn),i;try{for(n.s();!(i=n.n()).done;){var u=gi(i.value,2),l=u[0],c=u[1];if(c.canHandle(t,e,r))return l}}catch(f){n.e(f)}finally{n.f()}}var CX=function(t){To(e,t);function e(){var r;Br(this,e);for(var n=arguments.length,i=new Array(n),u=0;u0&&P[0]!==void 0?P[0]:0,c=P.length>1?P[1]:void 0,this.setupSegmentFinderArgs(c),f=this.file,d=this.findAll,y=this.wanted,m=this.remaining,x.t0=!d&&this.file.chunked,!x.t0){x.next=11;break}if(d=Array.from(y).some(function(R){var A=zn.get(R),k=u.options[R];return A.multiSegment&&k.multiSegment}),x.t1=d,!x.t1){x.next=11;break}return x.next=11,this.file.readWhole();case 11:if(l=this.findAppSegmentsInRange(l,f.byteLength),!(!this.options.onlyTiff&&f.chunked)){x.next=30;break}b=!1;case 14:if(!(m.size>0&&!b&&(f.canReadNextChunk||this.unfinishedMultiSegment))){x.next=30;break}if(O=f.nextChunkOffset,E=this.appSegments.some(function(R){return!u.file.available(R.offset||R.start,R.length||R.size)}),!(l>O&&!E)){x.next=22;break}return x.next=19,f.readNextChunk(l);case 19:x.t2=!x.sent,x.next=25;break;case 22:return x.next=24,f.readNextChunk(O);case 24:x.t2=!x.sent;case 25:if(b=x.t2,(l=this.findAppSegmentsInRange(l,f.byteLength))!==void 0){x.next=28;break}return x.abrupt("return");case 28:x.next=14;break;case 30:case"end":return x.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"findAppSegmentsInRange",value:function(n,i){i-=2;for(var u,l,c,f,d,y,m=this.file,b=this.findAll,O=this.wanted,E=this.remaining,P=this.options;nf+d?c.chunk=i.file.subarray(f,d):c.size===void 0?c.chunk=i.file.subarray(f):Or("Segment unreachable: "+JSON.stringify(c));case 18:return m.abrupt("return",c.chunk);case 19:case"end":return m.stop()}},l,null,[[6,12]])}));return function(l){return u.apply(this,arguments)}}()),this.extendOptions&&this.extendOptions(e),this.options=e,this.file=r,this.parsers=n}return Gr(t,[{key:"injectSegment",value:function(r,n){this.options[r].enabled&&this.createParser(r,n)}},{key:"createParser",value:function(r,n){var i=new(zn.get(r))(n,this.options,this.file);return this.parsers[r]=i}},{key:"createParsers",value:function(r){var n=ft(r),i;try{for(n.s();!(i=n.n()).done;){var u=i.value,l=u.type,c=u.chunk,f=this.options[l];if(f&&f.enabled){var d=this.parsers[l];d&&d.append||d||this.createParser(l,c)}}}catch(y){n.e(y)}finally{n.f()}}},{key:"readSegments",value:function(){var e=rt(ye().mark(function n(i){var u;return ye().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return u=i.map(this.ensureSegmentChunk),c.next=3,Promise.all(u);case 3:case"end":return c.stop()}},n,this)}));function r(n){return e.apply(this,arguments)}return r}()}]),t}());nt(CX,"type","jpeg"),Q0.set("jpeg",CX);var SJe=[void 0,1,1,2,4,8,1,1,2,4,8,4,8,4],_Je=function(t){To(e,t);function e(){return Br(this,e),Eo(this,e,arguments)}return Gr(e,[{key:"parseHeader",value:function(){var n=this.chunk.getUint16();n===18761?this.le=!0:n===19789&&(this.le=!1),this.chunk.le=this.le,this.headerParsed=!0}},{key:"parseTags",value:function(n,i){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new Map,l=this.options[i],c=l.pick,f=l.skip;c=new Set(c);var d=c.size>0,y=f.size===0,m=this.chunk.getUint16(n);n+=2;for(var b=0;b13)&&Or("Invalid TIFF value type. block: ".concat(u.toUpperCase(),", tag: ").concat(i.toString(16),", type: ").concat(c,", offset ").concat(n)),n>l.byteLength&&Or("Invalid TIFF value offset. block: ".concat(u.toUpperCase(),", tag: ").concat(i.toString(16),", type: ").concat(c,", offset ").concat(n," is outside of chunk size ").concat(l.byteLength)),c===1)return l.getUint8Array(n,f);if(c===2)return(y=function(E){for(;E.endsWith("\0");)E=E.slice(0,-1);return E}(y=l.getString(n,f)).trim())===""?void 0:y;var y;if(c===7)return l.getUint8Array(n,f);if(f===1)return this.parseTagValue(c,n);{for(var m=new(function(E){switch(E){case 1:return Uint8Array;case 3:return Uint16Array;case 4:return Uint32Array;case 5:return Array;case 6:return Int8Array;case 8:return Int16Array;case 9:return Int32Array;case 10:return Array;case 11:return Float32Array;case 12:return Float64Array;default:return Array}}(c))(f),b=d,O=0;Ou.byteLength&&Or("IFD0 offset points to outside of file.\nthis.ifd0Offset: ".concat(this.ifd0Offset,", file.byteLength: ").concat(u.byteLength)),f.t0=u.tiff,!f.t0){f.next=10;break}return f.next=10,u.ensureChunk(this.ifd0Offset,kX(this.options));case 10:return l=this.parseBlock(this.ifd0Offset,"ifd0"),f.abrupt("return",l.size!==0?(this.exifOffset=l.get(34665),this.interopOffset=l.get(40965),this.gpsOffset=l.get(34853),this.xmp=l.get(700),this.iptc=l.get(33723),this.icc=l.get(34675),this.options.sanitize&&(l.delete(34665),l.delete(40965),l.delete(34853),l.delete(700),l.delete(33723),l.delete(34675)),l):void 0);case 12:case"end":return f.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"parseExifBlock",value:function(){var r=rt(ye().mark(function i(){var u;return ye().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(!this.exif){c.next=2;break}return c.abrupt("return");case 2:if(c.t0=this.ifd0,c.t0){c.next=6;break}return c.next=6,this.parseIfd0Block();case 6:if(this.exifOffset!==void 0){c.next=8;break}return c.abrupt("return");case 8:if(c.t1=this.file.tiff,!c.t1){c.next=12;break}return c.next=12,this.file.ensureChunk(this.exifOffset,kX(this.options));case 12:return u=this.parseBlock(this.exifOffset,"exif"),c.abrupt("return",(this.interopOffset||(this.interopOffset=u.get(40965)),this.makerNote=u.get(37500),this.userComment=u.get(37510),this.options.sanitize&&(u.delete(40965),u.delete(37500),u.delete(37510)),this.unpack(u,41728),this.unpack(u,41729),u));case 14:case"end":return c.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"unpack",value:function(n,i){var u=n.get(i);u&&u.length===1&&n.set(i,u[0])}},{key:"parseGpsBlock",value:function(){var r=rt(ye().mark(function i(){var u;return ye().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:if(!this.gps){c.next=2;break}return c.abrupt("return");case 2:if(c.t0=this.ifd0,c.t0){c.next=6;break}return c.next=6,this.parseIfd0Block();case 6:if(this.gpsOffset!==void 0){c.next=8;break}return c.abrupt("return");case 8:return u=this.parseBlock(this.gpsOffset,"gps"),c.abrupt("return",(u&&u.has(2)&&u.has(4)&&(u.set("latitude",NX.apply(void 0,Kf(u.get(2)).concat([u.get(1)]))),u.set("longitude",NX.apply(void 0,Kf(u.get(4)).concat([u.get(3)])))),u));case 10:case"end":return c.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"parseInteropBlock",value:function(){var r=rt(ye().mark(function i(){return ye().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(l.t0=!this.interop,!l.t0){l.next=11;break}if(l.t1=this.ifd0,l.t1){l.next=6;break}return l.next=6,this.parseIfd0Block();case 6:if(l.t2=this.interopOffset!==void 0||this.exif,l.t2){l.next=10;break}return l.next=10,this.parseExifBlock();case 10:l.t0=this.interopOffset!==void 0;case 11:if(!l.t0){l.next=13;break}return l.abrupt("return",this.parseBlock(this.interopOffset,"interop"));case 13:case"end":return l.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"parseThumbnailBlock",value:function(){var r=rt(ye().mark(function i(){var u,l=arguments;return ye().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(u=l.length>0&&l[0]!==void 0?l[0]:!1,!(!this.ifd1&&!this.ifd1Parsed&&(!this.options.mergeOutput||u))){f.next=3;break}return f.abrupt("return",(this.findIfd1Offset(),this.ifd1Offset>0&&(this.parseBlock(this.ifd1Offset,"ifd1"),this.ifd1Parsed=!0),this.ifd1));case 3:case"end":return f.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"extractThumbnail",value:function(){var r=rt(ye().mark(function i(){var u,l;return ye().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(this.headerParsed||this.parseHeader(),f.t0=this.ifd1Parsed,f.t0){f.next=5;break}return f.next=5,this.parseThumbnailBlock(!0);case 5:if(this.ifd1!==void 0){f.next=7;break}return f.abrupt("return");case 7:return u=this.ifd1.get(513),l=this.ifd1.get(514),f.abrupt("return",this.chunk.getUint8Array(u,l));case 9:case"end":return f.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"image",get:function(){return this.ifd0}},{key:"thumbnail",get:function(){return this.ifd1}},{key:"createOutput",value:function(){for(var n,i,u,l={},c=0,f=Yt;cthis.byteLength){var f=this._extend(c),d=f.dataView;this._swapDataView(d)}}}},{key:"_extend",value:function(n){var i;i=ZX?JX.allocUnsafe(n):new Uint8Array(n);var u=new DataView(i.buffer,i.byteOffset,i.byteLength);return i.set(new Uint8Array(this.buffer,this.byteOffset,this.byteLength),0),{uintView:i,dataView:u}}},{key:"subarray",value:function(n,i){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return i=i||this._lengthToEnd(n),u&&this._tryExtend(n,i),this.ranges.add(n,i),fl(Po(e.prototype),"subarray",this).call(this,n,i)}},{key:"set",value:function(n,i){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;u&&this._tryExtend(i,n.byteLength,n);var l=fl(Po(e.prototype),"set",this).call(this,n,i);return this.ranges.add(i,l.byteLength),l}},{key:"ensureChunk",value:function(){var r=rt(ye().mark(function i(u,l){return ye().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(f.t0=this.chunked,!f.t0){f.next=6;break}if(f.t1=this.ranges.available(u,l),f.t1){f.next=6;break}return f.next=6,this.readChunk(u,l);case 6:case"end":return f.stop()}},i,this)}));function n(i,u){return r.apply(this,arguments)}return n}()},{key:"available",value:function(n,i){return this.ranges.available(n,i)}}]),e}(Zv),xJe=function(){function t(){Br(this,t),nt(this,"list",[])}return Gr(t,[{key:"length",get:function(){return this.list.length}},{key:"add",value:function(r,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,u=r+n,l=this.list.filter(function(f){return KX(r,f.offset,u)||KX(r,f.end,u)});if(l.length>0){r=Math.min.apply(Math,[r].concat(Kf(l.map(function(f){return f.offset})))),u=Math.max.apply(Math,[u].concat(Kf(l.map(function(f){return f.end})))),n=u-r;var c=l.shift();c.offset=r,c.length=n,c.end=u,this.list=this.list.filter(function(f){return!l.includes(f)})}else this.list.push({offset:r,length:n,end:u})}},{key:"available",value:function(r,n){var i=r+n;return this.list.some(function(u){return u.offset<=r&&i<=u.end})}}]),t}();function KX(t,e,r){return t<=e&&e<=r}var RJe=function(t){To(e,t);function e(r,n){var i;return Br(this,e),i=Eo(this,e,[0]),nt($n(i),"chunksRead",0),i.input=r,i.options=n,i}return Gr(e,[{key:"readWhole",value:function(){var r=rt(ye().mark(function i(){return ye().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return this.chunked=!1,l.next=3,this.readChunk(this.nextChunkOffset);case 3:case"end":return l.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"readChunked",value:function(){var r=rt(ye().mark(function i(){return ye().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return this.chunked=!0,l.next=3,this.readChunk(0,this.options.firstChunkSize);case 3:case"end":return l.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"readNextChunk",value:function(){var r=rt(ye().mark(function i(){var u,l,c,f=arguments;return ye().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(u=f.length>0&&f[0]!==void 0?f[0]:this.nextChunkOffset,!this.fullyRead){y.next=3;break}return y.abrupt("return",(this.chunksRead++,!1));case 3:return l=this.options.chunkSize,y.next=6,this.readChunk(u,l);case 6:return c=y.sent,y.abrupt("return",!!c&&c.byteLength===l);case 8:case"end":return y.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"readChunk",value:function(){var r=rt(ye().mark(function i(u,l){return ye().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(this.chunksRead++,(l=this.safeWrapAddress(u,l))===0){f.next=2;break}return f.abrupt("return",this._readChunk(u,l));case 2:case"end":return f.stop()}},i,this)}));function n(i,u){return r.apply(this,arguments)}return n}()},{key:"safeWrapAddress",value:function(n,i){return this.size!==void 0&&n+i>this.size?Math.max(0,this.size-n):i}},{key:"nextChunkOffset",get:function(){if(this.ranges.list.length!==0)return this.ranges.list[0].length}},{key:"canReadNextChunk",get:function(){return this.chunksReadt.length)&&(e=t.length);for(var r=0,n=new Array(e);rn&&(i=n,u=Math.round(i/e)),u>n&&(u=n,i=Math.round(e*u)),t.width>i){var l=document.createElement("canvas");return l.width=i,l.height=u,l.getContext("2d").drawImage(t,0,0,i,u),l}return t}var VJe={thumbnailWidth:null,thumbnailHeight:null,thumbnailType:"image/jpeg",waitForThumbnailsBeforeUpload:!1,lazy:!1},oy=function(t){GJe(e,t);function e(r,n){var i;if(CJe(this,e),i=MJe(this,e,[r,lQ(lQ({},VJe),n)]),i.onFileAdded=function(u){!u.preview&&u.data&&W0(u.type)&&!u.isRemote&&i.addToQueue(u.id)},i.onCancelRequest=function(u){var l=i.queue.indexOf(u.id);l!==-1&&i.queue.splice(l,1)},i.onFileRemoved=function(u){var l=i.queue.indexOf(u.id);l!==-1&&i.queue.splice(l,1),u.preview&&H0(u.preview)&&URL.revokeObjectURL(u.preview)},i.onRestored=function(){var u=i.uppy.getFiles().filter(function(l){return l.isRestored});u.forEach(function(l){(!l.preview||H0(l.preview))&&i.addToQueue(l.id)})},i.onAllFilesRemoved=function(){i.queue=[]},i.waitUntilAllProcessed=function(u){u.forEach(function(c){var f=i.uppy.getFile(c);i.uppy.emit("preprocess-progress",f,{mode:"indeterminate",message:i.i18n("generatingThumbnails")})});var l=function(){u.forEach(function(f){var d=i.uppy.getFile(f);i.uppy.emit("preprocess-complete",d)})};return new Promise(function(c){i.queueProcessing?i.uppy.once("thumbnail:all-generated",function(){l(),c()}):(l(),c())})},i.type="modifier",i.id=i.opts.id||"ThumbnailGenerator",i.title="Thumbnail Generator",i.queue=[],i.queueProcessing=!1,i.defaultThumbnailDimension=200,i.thumbnailType=i.opts.thumbnailType,i.defaultLocale=aQ,i.i18nInit(),i.opts.lazy&&i.opts.waitForThumbnailsBeforeUpload)throw new Error("ThumbnailGenerator: The `lazy` and `waitForThumbnailsBeforeUpload` options are mutually exclusive. Please ensure at most one of them is set to `true`.");return i}return NJe(e,[{key:"createThumbnail",value:function(n,i,u){var l=this,c=URL.createObjectURL(n.data),f=new Promise(function(y,m){var b=new Image;b.src=c,b.addEventListener("load",function(){URL.revokeObjectURL(c),y(b)}),b.addEventListener("error",function(O){URL.revokeObjectURL(c),m(O.error||new Error("Could not create thumbnail"))})}),d=oQ(n.data).catch(function(){return 1});return Promise.all([f,d]).then(function(y){var m=IJe(y,2),b=m[0],O=m[1],E=l.getProportionalDimensions(b,i,u,O.deg),P=HJe(b,O),S=l.resizeImage(P,E.width,E.height);return zJe(S,l.thumbnailType,80)}).then(function(y){return URL.createObjectURL(y)})}},{key:"getProportionalDimensions",value:function(n,i,u,l){var c=n.width/n.height;return(l===90||l===270)&&(c=n.height/n.width),i!=null?{width:i,height:Math.round(i/c)}:u!=null?{width:Math.round(u*c),height:u}:{width:this.defaultThumbnailDimension,height:Math.round(this.defaultThumbnailDimension/c)}}},{key:"resizeImage",value:function(n,i,u){var l=WJe(n),c=Math.ceil(Math.log2(l.width/i));c<1&&(c=1);for(var f=i*Math.pow(2,c-1),d=u*Math.pow(2,c-1),y=2;c--;){var m=document.createElement("canvas");m.width=f,m.height=d,m.getContext("2d").drawImage(l,0,0,f,d),l=m,f=Math.round(f/y),d=Math.round(d/y)}return l}},{key:"setPreviewURL",value:function(n,i){this.uppy.setFileState(n,{preview:i})}},{key:"addToQueue",value:function(n){this.queue.push(n),this.queueProcessing===!1&&this.processQueue()}},{key:"processQueue",value:function(){var n=this;if(this.queueProcessing=!0,this.queue.length>0){var i=this.uppy.getFile(this.queue.shift());return i?this.requestThumbnail(i).catch(function(){}).then(function(){return n.processQueue()}):(this.uppy.log("[ThumbnailGenerator] file was removed before a thumbnail could be generated, but not removed from the queue. This is probably a bug","error"),Promise.resolve())}return this.queueProcessing=!1,this.uppy.log("[ThumbnailGenerator] Emptied thumbnail queue"),this.uppy.emit("thumbnail:all-generated"),Promise.resolve()}},{key:"requestThumbnail",value:function(n){var i=this;return W0(n.type)&&!n.isRemote?this.createThumbnail(n,this.opts.thumbnailWidth,this.opts.thumbnailHeight).then(function(u){i.setPreviewURL(n.id,u),i.uppy.log("[ThumbnailGenerator] Generated thumbnail for ".concat(n.id)),i.uppy.emit("thumbnail:generated",i.uppy.getFile(n.id),u)}).catch(function(u){i.uppy.log("[ThumbnailGenerator] Failed thumbnail for ".concat(n.id,":"),"warning"),i.uppy.log(u,"warning"),i.uppy.emit("thumbnail:error",i.uppy.getFile(n.id),u)}):Promise.resolve()}},{key:"install",value:function(){this.uppy.on("file-removed",this.onFileRemoved),this.uppy.on("cancel-all",this.onAllFilesRemoved),this.opts.lazy?(this.uppy.on("thumbnail:request",this.onFileAdded),this.uppy.on("thumbnail:cancel",this.onCancelRequest)):(this.uppy.on("thumbnail:request",this.onFileAdded),this.uppy.on("file-added",this.onFileAdded),this.uppy.on("restored",this.onRestored)),this.opts.waitForThumbnailsBeforeUpload&&this.uppy.addPreProcessor(this.waitUntilAllProcessed)}},{key:"uninstall",value:function(){this.uppy.off("file-removed",this.onFileRemoved),this.uppy.off("cancel-all",this.onAllFilesRemoved),this.opts.lazy?(this.uppy.off("thumbnail:request",this.onFileAdded),this.uppy.off("thumbnail:cancel",this.onCancelRequest)):(this.uppy.off("thumbnail:request",this.onFileAdded),this.uppy.off("file-added",this.onFileAdded),this.uppy.off("restored",this.onRestored)),this.opts.waitForThumbnailsBeforeUpload&&this.uppy.removePreProcessor(this.waitUntilAllProcessed)}}]),e}(Pe);oy.VERSION=$Je.version;function ok(t){"@babel/helpers - typeof";return ok=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ok(t)}function KJe(t){if(typeof t=="string"){var e=document.querySelectorAll(t);return e.length===0?null:Array.from(e)}return ok(t)==="object"&&ev(t)?[t]:null}var ak=KJe;var Xt=Array.from;function hQ(t){return JJe(t)||QJe(t)||XJe(t)||YJe()}function YJe(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function XJe(t,e){if(t){if(typeof t=="string")return uk(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return uk(t,e)}}function QJe(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function JJe(t){if(Array.isArray(t))return uk(t)}function uk(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return u=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!u&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function eZe(t,e){if(t){if(typeof t=="string")return dQ(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return dQ(t,e)}}function dQ(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function lk(t){return function(){return new ay(t.apply(this,arguments))}}function ay(t){var e,r;function n(u,l){try{var c=t[u](l),f=c.value,d=f instanceof fk;Promise.resolve(d?f.v:f).then(function(y){if(d){var m=u==="return"?"return":"next";if(!f.k||y.done)return n(m,y);y=t[m](y).value}i(c.done?"return":"normal",y)},function(y){n("throw",y)})}catch(y){i("throw",y)}}function i(u,l){switch(u){case"return":e.resolve({value:l,done:!0});break;case"throw":e.reject(l);break;default:e.resolve({value:l,done:!1})}(e=e.next)?n(e.key,e.arg):r=null}this._invoke=function(u,l){return new Promise(function(c,f){var d={key:u,arg:l,resolve:c,reject:f,next:null};r?r=r.next=d:(e=r=d,n(u,l))})},typeof t.return!="function"&&(this.return=void 0)}ay.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},ay.prototype.next=function(t){return this._invoke("next",t)},ay.prototype.throw=function(t){return this._invoke("throw",t)},ay.prototype.return=function(t){return this._invoke("return",t)};function ku(t){return new fk(t,0)}function ck(t){var e={},r=!1;function n(i,u){return r=!0,u=new Promise(function(l){l(t[i](u))}),{done:!1,value:new fk(u,1)}}return e[typeof Symbol!="undefined"&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(i){return r?(r=!1,i):n("next",i)},typeof t.throw=="function"&&(e.throw=function(i){if(r)throw r=!1,i;return n("throw",i)}),typeof t.return=="function"&&(e.return=function(i){return r?(r=!1,i):n("return",i)}),e}function fk(t,e){this.v=t,this.k=e}function oO(t){var e,r,n,i=2;for(typeof Symbol!="undefined"&&(r=Symbol.asyncIterator,n=Symbol.iterator);i--;){if(r&&(e=t[r])!=null)return e.call(t);if(n&&(e=t[n])!=null)return new nO(e.call(t));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function nO(t){function e(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(i){return{value:i,done:n}})}return nO=function(n){this.s=n,this.n=n.next},nO.prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(n){var i=this.s.return;return i===void 0?Promise.resolve({value:n,done:!0}):e(i.apply(this.s,arguments))},throw:function(n){var i=this.s.return;return i===void 0?Promise.reject(n):e(i.apply(this.s,arguments))}},new nO(t)}function yQ(t,e){return t==null?t:{kind:t.isFile?"file":t.isDirectory?"directory":void 0,name:t.name,getFile:function(){return new Promise(function(n,i){return t.file(n,i)})},values:function(){return lk(ya().mark(function n(){var i,u;return ya().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return i=t.createReader(),c.next=3,ku(new Promise(function(f){rO(i,[],e,{onSuccess:function(y){return f(y.map(function(m){return yQ(m,e)}))}})}));case 3:return u=c.sent,c.delegateYield(ck(oO(u),ku),"t0",5);case 5:case"end":return c.stop()}},n)}))()},isSameEntry:void 0}}function mQ(t,e,r){try{return r===void 0&&(r=void 0),lk(ya().mark(function n(){var i,u,l,c,f,d,y,m;return ya().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:if(i=function(){return"".concat(e,"/").concat(t.name)},t.kind!=="file"){O.next=17;break}return O.next=4,ku(t.getFile());case 4:if(u=O.sent,u==null){O.next=12;break}return u.relativePath=e?i():null,O.next=10,u;case 10:O.next=15;break;case 12:if(r==null){O.next=15;break}return O.next=15,r;case 15:O.next=51;break;case 17:if(t.kind!=="directory"){O.next=48;break}l=!1,c=!1,O.prev=20,d=oO(t.values());case 22:return O.next=24,ku(d.next());case 24:if(!(l=!(y=O.sent).done)){O.next=30;break}return m=y.value,O.delegateYield(ck(oO(mQ(m,e?i():t.name)),ku),"t0",27);case 27:l=!1,O.next=22;break;case 30:O.next=36;break;case 32:O.prev=32,O.t1=O.catch(20),c=!0,f=O.t1;case 36:if(O.prev=36,O.prev=37,!(l&&d.return!=null)){O.next=41;break}return O.next=41,ku(d.return());case 41:if(O.prev=41,!c){O.next=44;break}throw f;case 44:return O.finish(41);case 45:return O.finish(36);case 46:O.next=51;break;case 48:if(r==null){O.next=51;break}return O.next=51,r;case 51:case"end":return O.stop()}},n,null,[[20,32,36,46],[37,,41,45]])}))()}catch(n){return Promise.reject(n)}}function pk(t,e){return sk.apply(this,arguments)}function sk(){return sk=lk(ya().mark(function t(e,r){var n,i,u,l,c,f;return ya().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,ku(Promise.all(Array.from(e.items,function(){var m=tZe(ya().mark(function b(O){var E,P,S;return ya().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:return S=function(){return typeof O.getAsEntry=="function"?O.getAsEntry():O.webkitGetAsEntry()},(E=P)!=null||(P=yQ(S(),r)),R.abrupt("return",{fileSystemHandle:P,lastResortFile:O.getAsFile()});case 3:case"end":return R.stop()}},b)}));return function(b){return m.apply(this,arguments)}}())));case 2:n=y.sent,i=ZJe(n),y.prev=4,i.s();case 6:if((u=i.n()).done){y.next=28;break}if(l=u.value,c=l.lastResortFile,f=l.fileSystemHandle,f==null){y.next=23;break}return y.prev=9,y.delegateYield(ck(oO(mQ(f,"",c)),ku),"t0",11);case 11:y.next=21;break;case 13:if(y.prev=13,y.t1=y.catch(9),c==null){y.next=20;break}return y.next=18,c;case 18:y.next=21;break;case 20:r(y.t1);case 21:y.next=26;break;case 23:if(c==null){y.next=26;break}return y.next=26,c;case 26:y.next=6;break;case 28:y.next=33;break;case 30:y.prev=30,y.t2=y.catch(4),i.e(y.t2);case 33:return y.prev=33,i.f(),y.finish(33);case 36:case"end":return y.stop()}},t,null,[[4,30,33,36],[9,13]])})),sk.apply(this,arguments)}function hk(t){var e=Xt(t.files);return Promise.resolve(e)}function uO(t){"@babel/helpers - typeof";return uO=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},uO(t)}function dk(){"use strict";dk=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,a){s[o]=a.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(s,o,a){return Object.defineProperty(s,o,{value:a,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(a,p,v){return a[p]=v}}function y(s,o,a,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),g=new H(p||[]);return i(h,"_invoke",{value:Y(s,a,g)}),h}function m(s,o,a){try{return{type:"normal",arg:s.call(o,a)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var b="suspendedStart",O="suspendedYield",E="executing",P="completed",S={};function x(){}function R(){}function A(){}var k={};d(k,l,function(){return this});var C=Object.getPrototypeOf,F=C&&C(C(V([])));F&&F!==r&&n.call(F,l)&&(k=F);var I=A.prototype=x.prototype=Object.create(k);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(a){return this._invoke(o,a)})})}function U(s,o){function a(v,h,g,w){var _=m(s[v],s,h);if(_.type!=="throw"){var j=_.arg,q=j.value;return q&&uO(q)=="object"&&n.call(q,"__await")?o.resolve(q.__await).then(function(N){a("next",N,g,w)},function(N){a("throw",N,g,w)}):o.resolve(q).then(function(N){j.value=N,g(j)},function(N){return a("throw",N,g,w)})}w(_.arg)}var p;i(this,"_invoke",{value:function(h,g){function w(){return new o(function(_,j){a(h,g,_,j)})}return p=p?p.then(w,w):w()}})}function Y(s,o,a){var p=b;return function(v,h){if(p===E)throw new Error("Generator is already running");if(p===P){if(v==="throw")throw h;return{value:t,done:!0}}for(a.method=v,a.arg=h;;){var g=a.delegate;if(g){var w=Q(g,a);if(w){if(w===S)continue;return w}}if(a.method==="next")a.sent=a._sent=a.arg;else if(a.method==="throw"){if(p===b)throw p=P,a.arg;a.dispatchException(a.arg)}else a.method==="return"&&a.abrupt("return",a.arg);p=E;var _=m(s,o,a);if(_.type==="normal"){if(p=a.done?P:O,_.arg===S)continue;return{value:_.arg,done:a.done}}_.type==="throw"&&(p=P,a.method="throw",a.arg=_.arg)}}}function Q(s,o){var a=o.method,p=s.iterator[a];if(p===t)return o.delegate=null,a==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||a!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),S;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,S;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,S):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,S)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function V(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var a=-1,p=function v(){for(;++a=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function gQ(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function rZe(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){gQ(u,n,i,l,c,"next",f)}function c(f){gQ(u,n,i,l,c,"throw",f)}l(void 0)})}}function nZe(t){var e,r,n,i=2;for(typeof Symbol!="undefined"&&(r=Symbol.asyncIterator,n=Symbol.iterator);i--;){if(r&&(e=t[r])!=null)return e.call(t);if(n&&(e=t[n])!=null)return new aO(e.call(t));r="@@asyncIterator",n="@@iterator"}throw new TypeError("Object is not async iterable")}function aO(t){function e(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(i){return{value:i,done:n}})}return aO=function(n){this.s=n,this.n=n.next},aO.prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(n){var i=this.s.return;return i===void 0?Promise.resolve({value:n,done:!0}):e(i.apply(this.s,arguments))},throw:function(n){var i=this.s.return;return i===void 0?Promise.reject(n):e(i.apply(this.s,arguments))}},new aO(t)}function pl(t,e){return vk.apply(this,arguments)}function vk(){return vk=rZe(dk().mark(function t(e,r){var n,i,u,l,c,f,d,y,m;return dk().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:i=(n=r==null?void 0:r.logDropError)!=null?n:Function.prototype,O.prev=1,u=[],l=!1,c=!1,O.prev=5,d=nZe(pk(e,i));case 7:return O.next=9,d.next();case 9:if(!(l=!(y=O.sent).done)){O.next=15;break}m=y.value,u.push(m);case 12:l=!1,O.next=7;break;case 15:O.next=21;break;case 17:O.prev=17,O.t0=O.catch(5),c=!0,f=O.t0;case 21:if(O.prev=21,O.prev=22,!(l&&d.return!=null)){O.next=26;break}return O.next=26,d.return();case 26:if(O.prev=26,!c){O.next=29;break}throw f;case 29:return O.finish(26);case 30:return O.finish(21);case 31:return O.abrupt("return",u);case 34:return O.prev=34,O.t1=O.catch(1),O.abrupt("return",hk(e));case 37:case"end":return O.stop()}},t,null,[[1,34],[5,17,21,31],[22,,26,30]])})),vk.apply(this,arguments)}var bQ=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function iZe(t,e){return!!(t===e||bQ(t)&&bQ(e))}function oZe(t,e){if(t.length!==e.length)return!1;for(var r=0;r=350?90:e.containerWidth<=352?35:e.containerWidth<=576?60:n?20:30}return T("div",{className:"uppy-Dashboard-Item-name",title:i},cO(i,u()))},bZe=function(e){var r,n=e.file.meta.author,i=(r=e.file.remote)==null?void 0:r.providerName,u="\xB7";return n?T("div",{className:"uppy-Dashboard-Item-author"},T("a",{href:"".concat(n.url,"?utm_source=Companion&utm_medium=referral"),target:"_blank",rel:"noopener noreferrer"},cO(n.name,13)),i?T(gr,null," ".concat(u," "),i," ".concat(u," ")):null):null},wZe=function(e){return e.file.size&&T("div",{className:"uppy-Dashboard-Item-statusSize"},(0,TQ.default)(e.file.size))},OZe=function(e){return e.file.isGhost&&T("span",null," \u2022 ",T("button",{className:"uppy-u-reset uppy-c-btn uppy-Dashboard-Item-reSelect",type:"button",onClick:e.toggleAddFilesPanel},e.i18n("reSelect")))},SZe=function(e){var r=e.file,n=e.onClick;return r.error?T("button",{className:"uppy-u-reset uppy-c-btn uppy-Dashboard-Item-errorDetails","aria-label":r.error,"data-microtip-position":"bottom","data-microtip-size":"medium",onClick:n,type:"button"},"?"):null};function Pk(t){var e=t.file;return T("div",{className:"uppy-Dashboard-Item-fileInfo","data-uppy-file-source":e.source},T("div",{className:"uppy-Dashboard-Item-fileName"},gZe(t),T(SZe,{file:t.file,onClick:function(){return alert(t.file.error)}})),T("div",{className:"uppy-Dashboard-Item-status"},bZe(t),wZe(t),OZe(t)),T(cy,{file:t.file,i18n:t.i18n,toggleFileCard:t.toggleFileCard,metaFields:t.metaFields}))}function Ek(t,e){return e===void 0&&(e="Copy the URL below"),new Promise(function(r){var n=document.createElement("textarea");n.setAttribute("style",{position:"fixed",top:0,left:0,width:"2em",height:"2em",padding:0,border:"none",outline:"none",boxShadow:"none",background:"transparent"}),n.value=t,document.body.appendChild(n),n.select();var i=function(){document.body.removeChild(n),window.prompt(e,t),r()};try{var u=document.execCommand("copy");return u?(document.body.removeChild(n),r()):i()}catch(l){return document.body.removeChild(n),i()}})}function _Ze(t){var e=t.file,r=t.uploadInProgressOrComplete,n=t.metaFields,i=t.canEditFile,u=t.i18n,l=t.onClick;return!r&&n&&n.length>0||!r&&i(e)?T("button",{className:"uppy-u-reset uppy-c-btn uppy-Dashboard-Item-action uppy-Dashboard-Item-action--edit",type:"button","aria-label":u("editFileWithFilename",{file:e.meta.name}),title:u("editFileWithFilename",{file:e.meta.name}),onClick:function(){return l()}},T("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"14",height:"14",viewBox:"0 0 14 14"},T("g",{fillRule:"evenodd"},T("path",{d:"M1.5 10.793h2.793A1 1 0 0 0 5 10.5L11.5 4a1 1 0 0 0 0-1.414L9.707.793a1 1 0 0 0-1.414 0l-6.5 6.5A1 1 0 0 0 1.5 8v2.793zm1-1V8L9 1.5l1.793 1.793-6.5 6.5H2.5z",fillRule:"nonzero"}),T("rect",{x:"1",y:"12.293",width:"11",height:"1",rx:".5"}),T("path",{fillRule:"nonzero",d:"M6.793 2.5L9.5 5.207l.707-.707L7.5 1.793z"})))):null}function PZe(t){var e=t.i18n,r=t.onClick,n=t.file;return T("button",{className:"uppy-u-reset uppy-Dashboard-Item-action uppy-Dashboard-Item-action--remove",type:"button","aria-label":e("removeFile",{file:n.meta.name}),title:e("removeFile",{file:n.meta.name}),onClick:function(){return r()}},T("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"18",height:"18",viewBox:"0 0 18 18"},T("path",{d:"M9 0C4.034 0 0 4.034 0 9s4.034 9 9 9 9-4.034 9-9-4.034-9-9-9z"}),T("path",{fill:"#FFF",d:"M13 12.222l-.778.778L9 9.778 5.778 13 5 12.222 8.222 9 5 5.778 5.778 5 9 8.222 12.222 5l.778.778L9.778 9z"})))}var EZe=function(e,r){Ek(r.file.uploadURL,r.i18n("copyLinkToClipboardFallback")).then(function(){r.uppy.log("Link copied to clipboard."),r.uppy.info(r.i18n("copyLinkToClipboardSuccess"),"info",3e3)}).catch(r.uppy.log).then(function(){return e.target.focus({preventScroll:!0})})};function TZe(t){var e=t.i18n;return T("button",{className:"uppy-u-reset uppy-Dashboard-Item-action uppy-Dashboard-Item-action--copyLink",type:"button","aria-label":e("copyLink"),title:e("copyLink"),onClick:function(n){return EZe(n,t)}},T("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"14",height:"14",viewBox:"0 0 14 12"},T("path",{d:"M7.94 7.703a2.613 2.613 0 0 1-.626 2.681l-.852.851a2.597 2.597 0 0 1-1.849.766A2.616 2.616 0 0 1 2.764 7.54l.852-.852a2.596 2.596 0 0 1 2.69-.625L5.267 7.099a1.44 1.44 0 0 0-.833.407l-.852.851a1.458 1.458 0 0 0 1.03 2.486c.39 0 .755-.152 1.03-.426l.852-.852c.231-.231.363-.522.406-.824l1.04-1.038zm4.295-5.937A2.596 2.596 0 0 0 10.387 1c-.698 0-1.355.272-1.849.766l-.852.851a2.614 2.614 0 0 0-.624 2.688l1.036-1.036c.041-.304.173-.6.407-.833l.852-.852c.275-.275.64-.426 1.03-.426a1.458 1.458 0 0 1 1.03 2.486l-.852.851a1.442 1.442 0 0 1-.824.406l-1.04 1.04a2.596 2.596 0 0 0 2.683-.628l.851-.85a2.616 2.616 0 0 0 0-3.697zm-6.88 6.883a.577.577 0 0 0 .82 0l3.474-3.474a.579.579 0 1 0-.819-.82L5.355 7.83a.579.579 0 0 0 0 .819z"})))}function Tk(t){var e=t.uppy,r=t.file,n=t.uploadInProgressOrComplete,i=t.canEditFile,u=t.metaFields,l=t.showLinkToFileUploadResult,c=t.showRemoveButton,f=t.i18n,d=t.toggleFileCard,y=t.openFileEditor,m=function(){u&&u.length>0?d(!0,r.id):y(r)};return T("div",{className:"uppy-Dashboard-Item-actionWrapper"},T(_Ze,{i18n:f,file:r,uploadInProgressOrComplete:n,canEditFile:i,metaFields:u,onClick:m}),l&&r.uploadURL?T(TZe,{file:r,uppy:e,i18n:f}):null,c?T(PZe,{i18n:f,file:r,uppy:e,onClick:function(){return e.removeFile(r.id,"removed-by-user")}}):null)}function Xf(t){"@babel/helpers - typeof";return Xf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xf(t)}function AZe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function AQ(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?n.props.i18nArray("dropPasteImport".concat(f),{browseFiles:u,browseFolders:l,browse:u}):n.props.i18nArray("dropPaste".concat(f),{browseFiles:u,browseFolders:l,browse:u}))},n.renderAcquirer=function(i){var u;return T("div",{className:"uppy-DashboardTab",role:"presentation","data-uppy-acquirer-id":i.id},T("button",{type:"button",className:"uppy-u-reset uppy-c-btn uppy-DashboardTab-btn",role:"tab",tabIndex:0,"data-cy":i.id,"aria-controls":"uppy-DashboardContent-panel--".concat(i.id),"aria-selected":((u=n.props.activePickerPanel)==null?void 0:u.id)===i.id,"data-uppy-super-focusable":!0,onClick:function(){return n.props.showPanel(i.id)}},T("div",{className:"uppy-DashboardTab-inner"},i.icon()),T("div",{className:"uppy-DashboardTab-name"},i.name)))},n.renderAcquirers=function(i){var u=Rk(i),l=u.splice(i.length-2,i.length);return T(gr,null,u.map(function(c){return n.renderAcquirer(c)}),T("span",{role:"presentation",style:{"white-space":"nowrap"}},l.map(function(c){return n.renderAcquirer(c)})))},n.renderSourcesList=function(i,u){var l,c=n.props,f=c.showNativePhotoCameraButton,d=c.showNativeVideoCameraButton,y=[],m="myDevice";u||y.push({key:m,elements:n.renderMyDeviceAcquirer()}),f&&y.push({key:"nativePhotoCameraButton",elements:n.renderPhotoCamera()}),d&&y.push({key:"nativePhotoCameraButton",elements:n.renderVideoCamera()}),(l=y).push.apply(l,Rk(i.map(function(S){return{key:S.id,elements:n.renderAcquirer(S)}})));var b=y.length===1&&y[0].key===m;b&&(y=[]);var O=Rk(y),E=O.splice(y.length-2,y.length),P=function(x){return x.map(function(R){var A=R.key,k=R.elements;return T(gr,{key:A},k)})};return T(gr,null,n.renderDropPasteBrowseTagline(y.length),T("div",{className:"uppy-Dashboard-AddFiles-list",role:"tablist"},P(O),T("span",{role:"presentation",style:{"white-space":"nowrap"}},P(E))))},n}return BZe(r,[{key:e,value:function(){this.props.i18nArray("dropPasteBoth"),this.props.i18nArray("dropPasteFiles"),this.props.i18nArray("dropPasteFolders"),this.props.i18nArray("dropPasteImportBoth"),this.props.i18nArray("dropPasteImportFiles"),this.props.i18nArray("dropPasteImportFolders")}},{key:"renderPoweredByUppy",value:function(){var i=this.props.i18nArray,u=T("span",null,T("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon uppy-Dashboard-poweredByIcon",width:"11",height:"11",viewBox:"0 0 11 11"},T("path",{d:"M7.365 10.5l-.01-4.045h2.612L5.5.806l-4.467 5.65h2.604l.01 4.044h3.718z",fillRule:"evenodd"})),T("span",{className:"uppy-Dashboard-poweredByUppy"},"Uppy")),l=i("poweredBy",{uppy:u});return T("a",{tabIndex:-1,href:"https://uppy.io",rel:"noreferrer noopener",target:"_blank",className:"uppy-Dashboard-poweredBy"},l)}},{key:"render",value:function(){var i=this,u=this.props,l=u.showNativePhotoCameraButton,c=u.showNativeVideoCameraButton,f=u.nativeCameraFacingMode;return T("div",{className:"uppy-Dashboard-AddFiles"},this.renderHiddenInput(!1,function(d){i.fileInput=d}),this.renderHiddenInput(!0,function(d){i.folderInput=d}),l&&this.renderHiddenCameraInput("photo",f,function(d){i.mobilePhotoFileInput=d}),c&&this.renderHiddenCameraInput("video",f,function(d){i.mobileVideoFileInput=d}),this.renderSourcesList(this.props.acquirers,this.props.disableLocalFiles),T("div",{className:"uppy-Dashboard-AddFiles-info"},this.props.note&&T("div",{className:"uppy-Dashboard-note"},this.props.note),this.props.proudlyDisplayPoweredByUppy&&this.renderPoweredByUppy(this.props)))}}]),r}(ct,FQ),hO=KZe;var LQ=Ce(Bn(),1);var YZe=function(e){return T("div",{className:(0,LQ.default)("uppy-Dashboard-AddFilesPanel",e.className),"data-uppy-panelType":"AddFiles","aria-hidden":!e.showAddFilesPanel},T("div",{className:"uppy-DashboardContent-bar"},T("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},e.i18n("addingMoreFiles")),T("button",{className:"uppy-DashboardContent-back",type:"button",onClick:function(){return e.toggleAddFilesPanel(!1)}},e.i18n("back"))),T(hO,e))},CQ=YZe;var NQ=Ce(Bn(),1);function XZe(t){var e=t.target.tagName;if(e==="INPUT"||e==="TEXTAREA"){t.stopPropagation();return}t.preventDefault(),t.stopPropagation()}var Ao=XZe;function QZe(t){var e=t.activePickerPanel,r=t.className,n=t.hideAllPanels,i=t.i18n,u=t.state,l=t.uppy;return T("div",{className:(0,NQ.default)("uppy-DashboardContent-panel",r),role:"tabpanel","data-uppy-panelType":"PickerPanel",id:"uppy-DashboardContent-panel--".concat(e.id),onDragOver:Ao,onDragLeave:Ao,onDrop:Ao,onPaste:Ao},T("div",{className:"uppy-DashboardContent-bar"},T("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},i("importFrom",{name:e.name})),T("button",{className:"uppy-DashboardContent-back",type:"button",onClick:n},i("cancel"))),T("div",{className:"uppy-DashboardContent-panelBody"},l.getPlugin(e.id).render(u)))}var DQ=QZe;var MQ=Ce(Bn(),1);function JZe(t){var e=t.files[t.fileCardFor],r=function(){t.uppy.emit("file-editor:cancel",e),t.closeFileEditor()};return T("div",{className:(0,MQ.default)("uppy-DashboardContent-panel",t.className),role:"tabpanel","data-uppy-panelType":"FileEditor",id:"uppy-DashboardContent-panel--editor"},T("div",{className:"uppy-DashboardContent-bar"},T("div",{className:"uppy-DashboardContent-title",role:"heading","aria-level":"1"},t.i18nArray("editing",{file:T("span",{className:"uppy-DashboardContent-titleFile"},e.meta?e.meta.name:e.name)})),T("button",{className:"uppy-DashboardContent-back",type:"button",onClick:r},t.i18n("cancel")),T("button",{className:"uppy-DashboardContent-save",type:"button",onClick:t.saveFileEditor},t.i18n("save"))),T("div",{className:"uppy-DashboardContent-panelBody"},t.editors.map(function(n){return t.uppy.getPlugin(n.id).render(t.state)})))}var UQ=JZe;var xo={STATE_ERROR:"error",STATE_WAITING:"waiting",STATE_PREPROCESSING:"preprocessing",STATE_UPLOADING:"uploading",STATE_POSTPROCESSING:"postprocessing",STATE_COMPLETE:"complete",STATE_PAUSED:"paused"};function ZZe(t,e,r,n){if(n===void 0&&(n={}),t)return xo.STATE_ERROR;if(e)return xo.STATE_COMPLETE;if(r)return xo.STATE_PAUSED;for(var i=xo.STATE_WAITING,u=Object.keys(n),l=0;lt.length)&&(e=t.length);for(var r=0,n=new Array(e);rt.length)&&(e=t.length);for(var r=0,n=new Array(e);rFk,i=t.containerHeight>eJ,u=(0,tJ.default)({"uppy-Dashboard":!0,"uppy-Dashboard--isDisabled":t.disabled,"uppy-Dashboard--animateOpenClose":t.animateOpenClose,"uppy-Dashboard--isClosing":t.isClosing,"uppy-Dashboard--isDraggingOver":t.isDraggingOver,"uppy-Dashboard--modal":!t.inline,"uppy-size--md":t.containerWidth>Fk,"uppy-size--lg":t.containerWidth>ZQ,"uppy-size--xl":t.containerWidth>JQ,"uppy-size--height-md":t.containerHeight>eJ,"uppy-Dashboard--isAddFilesPanelVisible":t.showAddFilesPanel,"uppy-Dashboard--isInnerWrapVisible":t.areInsidesReadyToBeVisible,"uppy-Dashboard--singleFile":t.singleFileFullScreen&&r&&i}),l=1;t.containerWidth>JQ?l=5:t.containerWidth>ZQ?l=4:t.containerWidth>Fk&&(l=3);var c=t.showSelectedFiles&&!e,f=t.recoveredState?Object.keys(t.recoveredState.files).length:null,d=t.files?Object.keys(t.files).filter(function(b){return t.files[b].isGhost}).length:null,y=function(){return d>0?t.i18n("recoveredXFiles",{smart_count:d}):t.i18n("recoveredAllFiles")},m=T("div",{className:u,"data-uppy-theme":t.theme,"data-uppy-num-acquirers":t.acquirers.length,"data-uppy-drag-drop-supported":!t.disableLocalFiles&&sy(),"aria-hidden":t.inline?"false":t.isHidden,"aria-disabled":t.disabled,"aria-label":t.inline?t.i18n("dashboardTitle"):t.i18n("dashboardWindowTitle"),onPaste:t.handlePaste,onDragOver:t.handleDragOver,onDragLeave:t.handleDragLeave,onDrop:t.handleDrop},T("div",{"aria-hidden":"true",className:"uppy-Dashboard-overlay",tabIndex:-1,onClick:t.handleClickOutside}),T("div",{className:"uppy-Dashboard-inner","aria-modal":!t.inline&&"true",role:t.inline?void 0:"dialog",style:{width:t.inline&&t.width?t.width:"",height:t.inline&&t.height?t.height:""}},t.inline?null:T("button",{className:"uppy-u-reset uppy-Dashboard-close",type:"button","aria-label":t.i18n("closeModal"),title:t.i18n("closeModal"),onClick:t.closeModal},T("span",{"aria-hidden":"true"},"\xD7")),T("div",{className:"uppy-Dashboard-innerWrap"},T("div",{className:"uppy-Dashboard-dropFilesHereHint"},t.i18n("dropHint")),c&&T(BQ,t),f&&T("div",{className:"uppy-Dashboard-serviceMsg"},T("svg",{className:"uppy-Dashboard-serviceMsg-icon","aria-hidden":"true",focusable:"false",width:"21",height:"16",viewBox:"0 0 24 19"},T("g",{transform:"translate(0 -1)",fill:"none",fillRule:"evenodd"},T("path",{d:"M12.857 1.43l10.234 17.056A1 1 0 0122.234 20H1.766a1 1 0 01-.857-1.514L11.143 1.429a1 1 0 011.714 0z",fill:"#FFD300"}),T("path",{fill:"#000",d:"M11 6h2l-.3 8h-1.4z"}),T("circle",{fill:"#000",cx:"12",cy:"17",r:"1"}))),T("strong",{className:"uppy-Dashboard-serviceMsg-title"},t.i18n("sessionRestored")),T("div",{className:"uppy-Dashboard-serviceMsg-text"},y())),c?T(xk,{id:t.id,error:t.error,i18n:t.i18n,uppy:t.uppy,files:t.files,acquirers:t.acquirers,resumableUploads:t.resumableUploads,hideRetryButton:t.hideRetryButton,hidePauseResumeButton:t.hidePauseResumeButton,hideCancelButton:t.hideCancelButton,showLinkToFileUploadResult:t.showLinkToFileUploadResult,showRemoveButtonAfterComplete:t.showRemoveButtonAfterComplete,isWide:t.isWide,metaFields:t.metaFields,toggleFileCard:t.toggleFileCard,handleRequestThumbnail:t.handleRequestThumbnail,handleCancelThumbnail:t.handleCancelThumbnail,recoveredState:t.recoveredState,individualCancellation:t.individualCancellation,openFileEditor:t.openFileEditor,canEditFile:t.canEditFile,toggleAddFilesPanel:t.toggleAddFilesPanel,isSingleFile:r,itemsPerRow:l}):T(hO,dl({},t,{isSizeMD:n})),T(py,null,t.showAddFilesPanel?T(CQ,dl({key:"AddFiles"},t,{isSizeMD:n})):null),T(py,null,t.fileCardFor?T(qk,dl({key:"FileCard"},t)):null),T(py,null,t.activePickerPanel?T(DQ,dl({key:"Picker"},t)):null),T(py,null,t.showFileEditor?T(UQ,dl({key:"Editor"},t)):null),T("div",{className:"uppy-Dashboard-progressindicators"},t.progressindicators.map(function(b){return t.uppy.getPlugin(b.id).render(t.state)})))));return m}var rJ={strings:{closeModal:"Close Modal",addMoreFiles:"Add more files",addingMoreFiles:"Adding more files",importFrom:"Import from %{name}",dashboardWindowTitle:"Uppy Dashboard Window (Press escape to close)",dashboardTitle:"Uppy Dashboard",copyLinkToClipboardSuccess:"Link copied to clipboard.",copyLinkToClipboardFallback:"Copy the URL below",copyLink:"Copy link",back:"Back",removeFile:"Remove file",editFile:"Edit file",editImage:"Edit image",editing:"Editing %{file}",error:"Error",finishEditingFile:"Finish editing file",saveChanges:"Save changes",myDevice:"My Device",dropHint:"Drop your files here",uploadComplete:"Upload complete",uploadPaused:"Upload paused",resumeUpload:"Resume upload",pauseUpload:"Pause upload",retryUpload:"Retry upload",cancelUpload:"Cancel upload",xFilesSelected:{0:"%{smart_count} file selected",1:"%{smart_count} files selected"},uploadingXFiles:{0:"Uploading %{smart_count} file",1:"Uploading %{smart_count} files"},processingXFiles:{0:"Processing %{smart_count} file",1:"Processing %{smart_count} files"},poweredBy:"Powered by %{uppy}",addMore:"Add more",editFileWithFilename:"Edit file %{file}",save:"Save",cancel:"Cancel",dropPasteFiles:"Drop files here or %{browseFiles}",dropPasteFolders:"Drop files here or %{browseFolders}",dropPasteBoth:"Drop files here, %{browseFiles} or %{browseFolders}",dropPasteImportFiles:"Drop files here, %{browseFiles} or import from:",dropPasteImportFolders:"Drop files here, %{browseFolders} or import from:",dropPasteImportBoth:"Drop files here, %{browseFiles}, %{browseFolders} or import from:",importFiles:"Import files from:",browseFiles:"browse files",browseFolders:"browse folders",recoveredXFiles:{0:"We could not fully recover 1 file. Please re-select it and resume the upload.",1:"We could not fully recover %{smart_count} files. Please re-select them and resume the upload."},recoveredAllFiles:"We restored all files. You can now resume the upload.",sessionRestored:"Session restored",reSelect:"Re-select",missingRequiredMetaFields:{0:"Missing required meta field: %{fields}.",1:"Missing required meta fields: %{fields}."},takePictureBtn:"Take Picture",recordVideoBtn:"Record Video"}};function ju(t){"@babel/helpers - typeof";return ju=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ju(t)}function Gk(){"use strict";Gk=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,a){s[o]=a.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(s,o,a){return Object.defineProperty(s,o,{value:a,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(a,p,v){return a[p]=v}}function y(s,o,a,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),g=new H(p||[]);return i(h,"_invoke",{value:Y(s,a,g)}),h}function m(s,o,a){try{return{type:"normal",arg:s.call(o,a)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var b="suspendedStart",O="suspendedYield",E="executing",P="completed",S={};function x(){}function R(){}function A(){}var k={};d(k,l,function(){return this});var C=Object.getPrototypeOf,F=C&&C(C(V([])));F&&F!==r&&n.call(F,l)&&(k=F);var I=A.prototype=x.prototype=Object.create(k);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(a){return this._invoke(o,a)})})}function U(s,o){function a(v,h,g,w){var _=m(s[v],s,h);if(_.type!=="throw"){var j=_.arg,q=j.value;return q&&ju(q)=="object"&&n.call(q,"__await")?o.resolve(q.__await).then(function(N){a("next",N,g,w)},function(N){a("throw",N,g,w)}):o.resolve(q).then(function(N){j.value=N,g(j)},function(N){return a("throw",N,g,w)})}w(_.arg)}var p;i(this,"_invoke",{value:function(h,g){function w(){return new o(function(_,j){a(h,g,_,j)})}return p=p?p.then(w,w):w()}})}function Y(s,o,a){var p=b;return function(v,h){if(p===E)throw new Error("Generator is already running");if(p===P){if(v==="throw")throw h;return{value:t,done:!0}}for(a.method=v,a.arg=h;;){var g=a.delegate;if(g){var w=Q(g,a);if(w){if(w===S)continue;return w}}if(a.method==="next")a.sent=a._sent=a.arg;else if(a.method==="throw"){if(p===b)throw p=P,a.arg;a.dispatchException(a.arg)}else a.method==="return"&&a.abrupt("return",a.arg);p=E;var _=m(s,o,a);if(_.type==="normal"){if(p=a.done?P:O,_.arg===S)continue;return{value:_.arg,done:a.done}}_.type==="throw"&&(p=P,a.method="throw",a.arg=_.arg)}}}function Q(s,o){var a=o.method,p=s.iterator[a];if(p===t)return o.delegate=null,a==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||a!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),S;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,S;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,S):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,S)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function V(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var a=-1,p=function v(){for(;++a=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function nJ(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function det(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){nJ(u,n,i,l,c,"next",f)}function c(f){nJ(u,n,i,l,c,"throw",f)}l(void 0)})}}function vet(t,e){var r=typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=yet(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return u=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!u&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function yet(t,e){if(t){if(typeof t=="string")return iJ(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return iJ(t,e)}}function iJ(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0;y?i.setPluginState({showFileEditor:!1,activeOverlayType:"FileCard"}):i.setPluginState({showFileEditor:!1,fileCardFor:null,activeOverlayType:"AddFiles"})},i.saveFileEditor=function(){var f=i.getPluginState(),d=f.targets,y=St(qe(i),ga)[ga](d);y.forEach(function(m){i.uppy.getPlugin(m.id).save()}),i.closeFileEditor()},i.openModal=function(){var f=sJ(),d=f.promise,y=f.resolve;if(i.savedScrollPosition=window.pageYOffset,i.savedActiveElement=document.activeElement,i.opts.disablePageScrollWhenModalOpen&&document.body.classList.add("uppy-Dashboard-isFixed"),i.opts.animateOpenClose&&i.getPluginState().isClosing){var m=function b(){i.setPluginState({isHidden:!1}),i.el.removeEventListener("animationend",b,!1),y()};i.el.addEventListener("animationend",m,!1)}else i.setPluginState({isHidden:!1}),y();return i.opts.browserBackButtonClose&&i.updateBrowserHistory(),document.addEventListener("keydown",i.handleKeyDownInModal),i.uppy.emit("dashboard:modal-open"),d},i.closeModal=function(f){var d,y=(d=f==null?void 0:f.manualClose)!=null?d:!0,m=i.getPluginState(),b=m.isHidden,O=m.isClosing;if(!(b||O)){var E=sJ(),P=E.promise,S=E.resolve;if(i.opts.disablePageScrollWhenModalOpen&&document.body.classList.remove("uppy-Dashboard-isFixed"),i.opts.animateOpenClose){i.setPluginState({isClosing:!0});var x=function A(){i.setPluginState({isHidden:!0,isClosing:!1}),i.superFocus.cancel(),i.savedActiveElement.focus(),i.el.removeEventListener("animationend",A,!1),S()};i.el.addEventListener("animationend",x,!1)}else i.setPluginState({isHidden:!0}),i.superFocus.cancel(),i.savedActiveElement.focus(),S();if(document.removeEventListener("keydown",i.handleKeyDownInModal),y&&i.opts.browserBackButtonClose){var R;(R=history.state)!=null&&R[i.modalName]&&history.back()}return i.uppy.emit("dashboard:modal-closed"),P}},i.isModalOpen=function(){return!i.getPluginState().isHidden||!1},i.requestCloseModal=function(){return i.opts.onRequestCloseModal?i.opts.onRequestCloseModal():i.closeModal()},i.setDarkModeCapability=function(f){var d=i.uppy.getState(),y=d.capabilities;i.uppy.setState({capabilities:$i($i({},y),{},{darkMode:f})})},i.handleSystemDarkModeChange=function(f){var d=f.matches;i.uppy.log("[Dashboard] Dark mode is ".concat(d?"on":"off")),i.setDarkModeCapability(d)},i.toggleFileCard=function(f,d){var y=i.uppy.getFile(d);f?i.uppy.emit("dashboard:file-edit-start",y):i.uppy.emit("dashboard:file-edit-complete",y),i.setPluginState({fileCardFor:f?d:null,activeOverlayType:f?"FileCard":null})},i.toggleAddFilesPanel=function(f){i.setPluginState({showAddFilesPanel:f,activeOverlayType:f?"AddFiles":null})},i.addFiles=function(f){var d=f.map(function(y){return{source:i.id,name:y.name,type:y.type,data:y,meta:{relativePath:y.relativePath||y.webkitRelativePath||null}}});try{i.uppy.addFiles(d)}catch(y){i.uppy.log(y)}},i.startListeningToResize=function(){i.resizeObserver=new ResizeObserver(function(f){var d=f[0],y=d.contentRect,m=y.width,b=y.height;i.setPluginState({containerWidth:m,containerHeight:b,areInsidesReadyToBeVisible:!0})}),i.resizeObserver.observe(i.el.querySelector(".uppy-Dashboard-inner")),i.makeDashboardInsidesVisibleAnywayTimeout=setTimeout(function(){var f=i.getPluginState(),d=!i.opts.inline&&f.isHidden;!f.areInsidesReadyToBeVisible&&!d&&(i.uppy.log("[Dashboard] resize event didn\u2019t fire on time: defaulted to mobile layout","warning"),i.setPluginState({areInsidesReadyToBeVisible:!0}))},1e3)},i.stopListeningToResize=function(){i.resizeObserver.disconnect(),clearTimeout(i.makeDashboardInsidesVisibleAnywayTimeout)},i.recordIfFocusedOnUppyRecently=function(f){i.el.contains(f.target)?i.ifFocusedOnUppyRecently=!0:(i.ifFocusedOnUppyRecently=!1,i.superFocus.cancel())},i.disableInteractiveElements=function(f){var d,y=["a[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])",'[role="button"]:not([disabled])'],m=(d=St(qe(i),vl)[vl])!=null?d:Xt(i.el.querySelectorAll(y)).filter(function(P){return!P.classList.contains("uppy-Dashboard-close")}),b=vet(m),O;try{for(b.s();!(O=b.n()).done;){var E=O.value;E.tagName==="A"?E.setAttribute("aria-disabled",f):E.disabled=f}}catch(P){b.e(P)}finally{b.f()}f?St(qe(i),vl)[vl]=m:St(qe(i),vl)[vl]=null,i.dashboardIsDisabled=f},i.updateBrowserHistory=function(){var f;(f=history.state)!=null&&f[i.modalName]||history.pushState($i($i({},history.state),{},lJ({},i.modalName,!0)),""),window.addEventListener("popstate",i.handlePopState,!1)},i.handlePopState=function(f){var d;i.isModalOpen()&&(!f.state||!f.state[i.modalName])&&i.closeModal({manualClose:!1}),!i.isModalOpen()&&(d=f.state)!=null&&d[i.modalName]&&history.back()},i.handleKeyDownInModal=function(f){f.keyCode===Tet&&i.requestCloseModal(),f.keyCode===uJ&&mk(f,i.getPluginState().activeOverlayType,i.el)},i.handleClickOutside=function(){i.opts.closeModalOnClickOutside&&i.requestCloseModal()},i.handlePaste=function(f){i.uppy.iteratePlugins(function(y){y.type==="acquirer"&&(y.handleRootPaste==null||y.handleRootPaste(f))});var d=Xt(f.clipboardData.files);d.length>0&&(i.uppy.log("[Dashboard] Files pasted"),i.addFiles(d))},i.handleInputChange=function(f){f.preventDefault();var d=Xt(f.target.files);d.length>0&&(i.uppy.log("[Dashboard] Files selected through input"),i.addFiles(d))},i.handleDragOver=function(f){var d,y;f.preventDefault(),f.stopPropagation();var m=function(){var S=!0;return i.uppy.iteratePlugins(function(x){x.canHandleRootDrop!=null&&x.canHandleRootDrop(f)&&(S=!0)}),S},b=function(){var S=f.dataTransfer.types;return S.some(function(x){return x==="Files"})},O=m(),E=b();if(!O&&!E||i.opts.disabled||i.opts.disableLocalFiles&&(E||!O)||!i.uppy.getState().allowNewUpload){f.dataTransfer.dropEffect="none",clearTimeout(i.removeDragOverClassTimeout);return}f.dataTransfer.dropEffect="copy",clearTimeout(i.removeDragOverClassTimeout),i.setPluginState({isDraggingOver:!0}),(d=(y=i.opts).onDragOver)==null||d.call(y,f)},i.handleDragLeave=function(f){var d,y;f.preventDefault(),f.stopPropagation(),clearTimeout(i.removeDragOverClassTimeout),i.removeDragOverClassTimeout=setTimeout(function(){i.setPluginState({isDraggingOver:!1})},50),(d=(y=i.opts).onDragLeave)==null||d.call(y,f)},i.handleDrop=function(){var f=det(Gk().mark(function d(y){var m,b,O,E,P;return Gk().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return y.preventDefault(),y.stopPropagation(),clearTimeout(i.removeDragOverClassTimeout),i.setPluginState({isDraggingOver:!1}),i.uppy.iteratePlugins(function(R){R.type==="acquirer"&&(R.handleRootDrop==null||R.handleRootDrop(y))}),O=!1,E=function(A){i.uppy.log(A,"error"),O||(i.uppy.info(A.message,"error"),O=!0)},i.uppy.log("[Dashboard] Processing dropped files"),x.next=10,pl(y.dataTransfer,{logDropError:E});case 10:P=x.sent,P.length>0&&(i.uppy.log("[Dashboard] Files dropped"),i.addFiles(P)),(m=(b=i.opts).onDrop)==null||m.call(b,y);case 13:case"end":return x.stop()}},d)}));return function(d){return f.apply(this,arguments)}}(),i.handleRequestThumbnail=function(f){i.opts.waitForThumbnailsBeforeUpload||i.uppy.emit("thumbnail:request",f)},i.handleCancelThumbnail=function(f){i.opts.waitForThumbnailsBeforeUpload||i.uppy.emit("thumbnail:cancel",f)},i.handleKeyDownInInline=function(f){f.keyCode===uJ&&OQ(f,i.getPluginState().activeOverlayType,i.el)},i.handlePasteOnBody=function(f){var d=i.el.contains(document.activeElement);d&&i.handlePaste(f)},i.handleComplete=function(f){var d=f.failed;i.opts.closeAfterFinish&&!(d!=null&&d.length)&&i.requestCloseModal()},i.handleCancelRestore=function(){i.uppy.emit("restore-canceled")},Object.defineProperty(qe(i),ma,{writable:!0,value:function(){if(!i.opts.disableThumbnailGenerator){var d=600,y=i.uppy.getFiles();if(y.length===1){var m=i.uppy.getPlugin("".concat(i.id,":ThumbnailGenerator"));m==null||m.setOptions({thumbnailWidth:d});var b=$i($i({},y[0]),{},{preview:void 0});m==null||m.requestThumbnail(b).then(function(){m==null||m.setOptions({thumbnailWidth:i.opts.thumbnailWidth})})}}}}),Object.defineProperty(qe(i),hy,{writable:!0,value:function(d){var y=d[0],m=i.getPluginState(),b=m.metaFields,O=b&&b.length>0,E=i.canEditFile(y);O&&i.opts.autoOpen==="metaEditor"?i.toggleFileCard(!0,y.id):E&&i.opts.autoOpen==="imageEditor"&&i.openFileEditor(y)}}),i.initEvents=function(){if(i.opts.trigger&&!i.opts.inline){var f=ak(i.opts.trigger);f?f.forEach(function(d){return d.addEventListener("click",i.openModal)}):i.uppy.log("Dashboard modal trigger not found. Make sure `trigger` is set in Dashboard options, unless you are planning to call `dashboard.openModal()` method yourself","warning")}i.startListeningToResize(),document.addEventListener("paste",i.handlePasteOnBody),i.uppy.on("plugin-added",St(qe(i),ml)[ml]),i.uppy.on("plugin-remove",i.removeTarget),i.uppy.on("file-added",i.hideAllPanels),i.uppy.on("dashboard:modal-closed",i.hideAllPanels),i.uppy.on("complete",i.handleComplete),i.uppy.on("files-added",St(qe(i),ma)[ma]),i.uppy.on("file-removed",St(qe(i),ma)[ma]),document.addEventListener("focus",i.recordIfFocusedOnUppyRecently,!0),document.addEventListener("click",i.recordIfFocusedOnUppyRecently,!0),i.opts.inline&&i.el.addEventListener("keydown",i.handleKeyDownInInline),i.opts.autoOpen&&i.uppy.on("files-added",St(qe(i),hy)[hy])},i.removeEvents=function(){var f=ak(i.opts.trigger);!i.opts.inline&&f&&f.forEach(function(d){return d.removeEventListener("click",i.openModal)}),i.stopListeningToResize(),document.removeEventListener("paste",i.handlePasteOnBody),window.removeEventListener("popstate",i.handlePopState,!1),i.uppy.off("plugin-added",St(qe(i),ml)[ml]),i.uppy.off("plugin-remove",i.removeTarget),i.uppy.off("file-added",i.hideAllPanels),i.uppy.off("dashboard:modal-closed",i.hideAllPanels),i.uppy.off("complete",i.handleComplete),i.uppy.off("files-added",St(qe(i),ma)[ma]),i.uppy.off("file-removed",St(qe(i),ma)[ma]),document.removeEventListener("focus",i.recordIfFocusedOnUppyRecently),document.removeEventListener("click",i.recordIfFocusedOnUppyRecently),i.opts.inline&&i.el.removeEventListener("keydown",i.handleKeyDownInInline),i.opts.autoOpen&&i.uppy.off("files-added",St(qe(i),hy)[hy])},i.superFocusOnEachUpdate=function(){var f=i.el.contains(document.activeElement),d=document.activeElement===document.body||document.activeElement===null,y=i.uppy.getState().info.length===0,m=!i.opts.inline;y&&(m||f||d&&i.ifFocusedOnUppyRecently)?i.superFocus(i.el,i.getPluginState().activeOverlayType):i.superFocus.cancel()},i.afterUpdate=function(){if(i.opts.disabled&&!i.dashboardIsDisabled){i.disableInteractiveElements(!0);return}!i.opts.disabled&&i.dashboardIsDisabled&&i.disableInteractiveElements(!1),i.superFocusOnEachUpdate()},i.saveFileCard=function(f,d){i.uppy.setFileMeta(d,f),i.toggleFileCard(!1,d)},Object.defineProperty(qe(i),yl,{writable:!0,value:function(d){var y=i.uppy.getPlugin(d.id);return $i($i({},d),{},{icon:y.icon||i.opts.defaultPickerIcon,render:y.render})}}),Object.defineProperty(qe(i),Nk,{writable:!0,value:function(d){var y=i.uppy.getPlugin(d.id);return typeof y.isSupported!="function"?!0:y.isSupported()}}),Object.defineProperty(qe(i),Dk,{writable:!0,value:Ck(function(f){return f.filter(function(d){return d.type==="acquirer"&&St(qe(i),Nk)[Nk](d)}).map(St(qe(i),yl)[yl])})}),Object.defineProperty(qe(i),Mk,{writable:!0,value:Ck(function(f){return f.filter(function(d){return d.type==="progressindicator"}).map(St(qe(i),yl)[yl])})}),Object.defineProperty(qe(i),ga,{writable:!0,value:Ck(function(f){return f.filter(function(d){return d.type==="editor"}).map(St(qe(i),yl)[yl])})}),i.render=function(f){var d=i.getPluginState(),y=f.files,m=f.capabilities,b=f.allowNewUpload,O=i.uppy.getObjectOfFilesPerState(),E=O.newFiles,P=O.uploadStartedFiles,S=O.completeFiles,x=O.erroredFiles,R=O.inProgressFiles,A=O.inProgressNotPausedFiles,k=O.processingFiles,C=O.isUploadStarted,F=O.isAllComplete,I=O.isAllErrored,z=O.isAllPaused,U=St(qe(i),Dk)[Dk](d.targets),Y=St(qe(i),Mk)[Mk](d.targets),Q=St(qe(i),ga)[ga](d.targets),X;return i.opts.theme==="auto"?X=m.darkMode?"dark":"light":X=i.opts.theme,["files","folders","both"].indexOf(i.opts.fileManagerSelectionType)<0&&(i.opts.fileManagerSelectionType="files",console.warn('Unsupported option for "fileManagerSelectionType". Using default of "'.concat(i.opts.fileManagerSelectionType,'".'))),Lk({state:f,isHidden:d.isHidden,files:y,newFiles:E,uploadStartedFiles:P,completeFiles:S,erroredFiles:x,inProgressFiles:R,inProgressNotPausedFiles:A,processingFiles:k,isUploadStarted:C,isAllComplete:F,isAllErrored:I,isAllPaused:z,totalFileCount:Object.keys(y).length,totalProgress:f.totalProgress,allowNewUpload:b,acquirers:U,theme:X,disabled:i.opts.disabled,disableLocalFiles:i.opts.disableLocalFiles,direction:i.opts.direction,activePickerPanel:d.activePickerPanel,showFileEditor:d.showFileEditor,saveFileEditor:i.saveFileEditor,closeFileEditor:i.closeFileEditor,disableInteractiveElements:i.disableInteractiveElements,animateOpenClose:i.opts.animateOpenClose,isClosing:d.isClosing,progressindicators:Y,editors:Q,autoProceed:i.uppy.opts.autoProceed,id:i.id,closeModal:i.requestCloseModal,handleClickOutside:i.handleClickOutside,handleInputChange:i.handleInputChange,handlePaste:i.handlePaste,inline:i.opts.inline,showPanel:i.showPanel,hideAllPanels:i.hideAllPanels,i18n:i.i18n,i18nArray:i.i18nArray,uppy:i.uppy,note:i.opts.note,recoveredState:f.recoveredState,metaFields:d.metaFields,resumableUploads:m.resumableUploads||!1,individualCancellation:m.individualCancellation,isMobileDevice:m.isMobileDevice,fileCardFor:d.fileCardFor,toggleFileCard:i.toggleFileCard,toggleAddFilesPanel:i.toggleAddFilesPanel,showAddFilesPanel:d.showAddFilesPanel,saveFileCard:i.saveFileCard,openFileEditor:i.openFileEditor,canEditFile:i.canEditFile,width:i.opts.width,height:i.opts.height,showLinkToFileUploadResult:i.opts.showLinkToFileUploadResult,fileManagerSelectionType:i.opts.fileManagerSelectionType,proudlyDisplayPoweredByUppy:i.opts.proudlyDisplayPoweredByUppy,hideCancelButton:i.opts.hideCancelButton,hideRetryButton:i.opts.hideRetryButton,hidePauseResumeButton:i.opts.hidePauseResumeButton,showRemoveButtonAfterComplete:i.opts.showRemoveButtonAfterComplete,containerWidth:d.containerWidth,containerHeight:d.containerHeight,areInsidesReadyToBeVisible:d.areInsidesReadyToBeVisible,isTargetDOMEl:i.isTargetDOMEl,parentElement:i.el,allowedFileTypes:i.uppy.opts.restrictions.allowedFileTypes,maxNumberOfFiles:i.uppy.opts.restrictions.maxNumberOfFiles,requiredMetaFields:i.uppy.opts.restrictions.requiredMetaFields,showSelectedFiles:i.opts.showSelectedFiles,showNativePhotoCameraButton:i.opts.showNativePhotoCameraButton,showNativeVideoCameraButton:i.opts.showNativeVideoCameraButton,nativeCameraFacingMode:i.opts.nativeCameraFacingMode,singleFileFullScreen:i.opts.singleFileFullScreen,handleCancelRestore:i.handleCancelRestore,handleRequestThumbnail:i.handleRequestThumbnail,handleCancelThumbnail:i.handleCancelThumbnail,isDraggingOver:d.isDraggingOver,handleDragOver:i.handleDragOver,handleDragLeave:i.handleDragLeave,handleDrop:i.handleDrop})},Object.defineProperty(qe(i),Uk,{writable:!0,value:function(){var d=i.opts.plugins||[];d.forEach(function(y){var m=i.uppy.getPlugin(y);m?m.mount(qe(i),m):i.uppy.log("[Uppy] Dashboard could not find plugin '".concat(y,"', make sure to uppy.use() the plugins you are specifying"),"warning")})}}),Object.defineProperty(qe(i),Bk,{writable:!0,value:function(){i.uppy.iteratePlugins(St(qe(i),ml)[ml])}}),Object.defineProperty(qe(i),ml,{writable:!0,value:function(d){var y,m=["acquirer","editor"];if(d&&!((y=d.opts)!=null&&y.target)&&m.includes(d.type)){var b=i.getPluginState().targets.some(function(O){return d.id===O.id});b||d.mount(qe(i),d)}}}),i.install=function(){i.setPluginState({isHidden:!0,fileCardFor:null,activeOverlayType:null,showAddFilesPanel:!1,activePickerPanel:void 0,showFileEditor:!1,metaFields:i.opts.metaFields,targets:[],areInsidesReadyToBeVisible:!1,isDraggingOver:!1});var f=i.opts,d=f.inline,y=f.closeAfterFinish;if(d&&y)throw new Error("[Dashboard] `closeAfterFinish: true` cannot be used on an inline Dashboard, because an inline Dashboard cannot be closed at all. Either set `inline: false`, or disable the `closeAfterFinish` option.");var m=i.uppy.opts,b=m.allowMultipleUploads,O=m.allowMultipleUploadBatches;(b||O)&&y&&i.uppy.log("[Dashboard] When using `closeAfterFinish`, we recommended setting the `allowMultipleUploadBatches` option to `false` in the Uppy constructor. See https://uppy.io/docs/uppy/#allowMultipleUploads-true","warning");var E=i.opts.target;E&&i.mount(E,qe(i)),i.opts.disableStatusBar||i.uppy.use(Df,{id:"".concat(i.id,":StatusBar"),target:qe(i),hideUploadButton:i.opts.hideUploadButton,hideRetryButton:i.opts.hideRetryButton,hidePauseResumeButton:i.opts.hidePauseResumeButton,hideCancelButton:i.opts.hideCancelButton,showProgressDetails:i.opts.showProgressDetails,hideAfterFinish:i.opts.hideProgressAfterFinish,locale:i.opts.locale,doneButtonHandler:i.opts.doneButtonHandler}),i.opts.disableInformer||i.uppy.use(Gf,{id:"".concat(i.id,":Informer"),target:qe(i)}),i.opts.disableThumbnailGenerator||i.uppy.use(oy,{id:"".concat(i.id,":ThumbnailGenerator"),thumbnailWidth:i.opts.thumbnailWidth,thumbnailHeight:i.opts.thumbnailHeight,thumbnailType:i.opts.thumbnailType,waitForThumbnailsBeforeUpload:i.opts.waitForThumbnailsBeforeUpload,lazy:!i.opts.waitForThumbnailsBeforeUpload}),i.darkModeMediaQuery=typeof window!="undefined"&&window.matchMedia?window.matchMedia("(prefers-color-scheme: dark)"):null;var P=i.darkModeMediaQuery?i.darkModeMediaQuery.matches:!1;if(i.uppy.log("[Dashboard] Dark mode is ".concat(P?"on":"off")),i.setDarkModeCapability(P),i.opts.theme==="auto"){var S;(S=i.darkModeMediaQuery)==null||S.addListener(i.handleSystemDarkModeChange)}St(qe(i),Uk)[Uk](),St(qe(i),Bk)[Bk](),i.initEvents()},i.uninstall=function(){if(!i.opts.disableInformer){var f=i.uppy.getPlugin("".concat(i.id,":Informer"));f&&i.uppy.removePlugin(f)}if(!i.opts.disableStatusBar){var d=i.uppy.getPlugin("".concat(i.id,":StatusBar"));d&&i.uppy.removePlugin(d)}if(!i.opts.disableThumbnailGenerator){var y=i.uppy.getPlugin("".concat(i.id,":ThumbnailGenerator"));y&&i.uppy.removePlugin(y)}var m=i.opts.plugins||[];if(m.forEach(function(O){var E=i.uppy.getPlugin(O);E&&E.unmount()}),i.opts.theme==="auto"){var b;(b=i.darkModeMediaQuery)==null||b.removeListener(i.handleSystemDarkModeChange)}i.opts.disablePageScrollWhenModalOpen&&document.body.classList.remove("uppy-Dashboard-isFixed"),i.unmount(),i.removeEvents()},i.id=i.opts.id||"Dashboard",i.title="Dashboard",i.type="orchestrator",i.defaultLocale=rJ,i.opts.doneButtonHandler===void 0&&(i.opts.doneButtonHandler=function(){i.uppy.clearUploadedFiles(),i.requestCloseModal()}),(l=(u=i.opts).onRequestCloseModal)!=null||(u.onRequestCloseModal=function(){return i.closeModal()}),i.i18nInit(),i}return met(e)}(Pe);vO.VERSION=Eet.version;var pJ={strings:{dropHereOr:"Drop here or %{browse}",browse:"browse"}};function qu(t){"@babel/helpers - typeof";return qu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qu(t)}function zk(){"use strict";zk=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,a){s[o]=a.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(s,o,a){return Object.defineProperty(s,o,{value:a,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(a,p,v){return a[p]=v}}function y(s,o,a,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),g=new H(p||[]);return i(h,"_invoke",{value:Y(s,a,g)}),h}function m(s,o,a){try{return{type:"normal",arg:s.call(o,a)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var b="suspendedStart",O="suspendedYield",E="executing",P="completed",S={};function x(){}function R(){}function A(){}var k={};d(k,l,function(){return this});var C=Object.getPrototypeOf,F=C&&C(C(V([])));F&&F!==r&&n.call(F,l)&&(k=F);var I=A.prototype=x.prototype=Object.create(k);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(a){return this._invoke(o,a)})})}function U(s,o){function a(v,h,g,w){var _=m(s[v],s,h);if(_.type!=="throw"){var j=_.arg,q=j.value;return q&&qu(q)=="object"&&n.call(q,"__await")?o.resolve(q.__await).then(function(N){a("next",N,g,w)},function(N){a("throw",N,g,w)}):o.resolve(q).then(function(N){j.value=N,g(j)},function(N){return a("throw",N,g,w)})}w(_.arg)}var p;i(this,"_invoke",{value:function(h,g){function w(){return new o(function(_,j){a(h,g,_,j)})}return p=p?p.then(w,w):w()}})}function Y(s,o,a){var p=b;return function(v,h){if(p===E)throw new Error("Generator is already running");if(p===P){if(v==="throw")throw h;return{value:t,done:!0}}for(a.method=v,a.arg=h;;){var g=a.delegate;if(g){var w=Q(g,a);if(w){if(w===S)continue;return w}}if(a.method==="next")a.sent=a._sent=a.arg;else if(a.method==="throw"){if(p===b)throw p=P,a.arg;a.dispatchException(a.arg)}else a.method==="return"&&a.abrupt("return",a.arg);p=E;var _=m(s,o,a);if(_.type==="normal"){if(p=a.done?P:O,_.arg===S)continue;return{value:_.arg,done:a.done}}_.type==="throw"&&(p=P,a.method="throw",a.arg=_.arg)}}}function Q(s,o){var a=o.method,p=s.iterator[a];if(p===t)return o.delegate=null,a==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||a!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),S;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,S;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,S):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,S)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function V(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var a=-1,p=function v(){for(;++a=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function hJ(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function xet(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){hJ(u,n,i,l,c,"next",f)}function c(f){hJ(u,n,i,l,c,"throw",f)}l(void 0)})}}function dJ(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function vJ(t){for(var e=1;e0&&(i.uppy.log("[DragDrop] Files selected through input"),i.addFiles(l)),u.target.value=null},i.handleDragOver=function(u){var l,c;u.preventDefault(),u.stopPropagation();var f=u.dataTransfer.types,d=f.some(function(b){return b==="Files"}),y=i.uppy.getState(),m=y.allowNewUpload;if(!d||!m){u.dataTransfer.dropEffect="none",clearTimeout(i.removeDragOverClassTimeout);return}u.dataTransfer.dropEffect="copy",clearTimeout(i.removeDragOverClassTimeout),i.setPluginState({isDraggingOver:!0}),(l=(c=i.opts).onDragOver)==null||l.call(c,u)},i.handleDragLeave=function(u){var l,c;u.preventDefault(),u.stopPropagation(),clearTimeout(i.removeDragOverClassTimeout),i.removeDragOverClassTimeout=setTimeout(function(){i.setPluginState({isDraggingOver:!1})},50),(l=(c=i.opts).onDragLeave)==null||l.call(c,u)},i.handleDrop=function(){var u=xet(zk().mark(function l(c){var f,d,y,m;return zk().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return c.preventDefault(),c.stopPropagation(),clearTimeout(i.removeDragOverClassTimeout),i.setPluginState({isDraggingOver:!1}),y=function(P){i.uppy.log(P,"error")},O.next=7,pl(c.dataTransfer,{logDropError:y});case 7:m=O.sent,m.length>0&&(i.uppy.log("[DragDrop] Files dropped"),i.addFiles(m)),(f=(d=i.opts).onDrop)==null||f.call(d,c);case 10:case"end":return O.stop()}},l)}));return function(l){return u.apply(this,arguments)}}(),i.type="acquirer",i.id=i.opts.id||"DragDrop",i.title="Drag & Drop",i.defaultLocale=pJ,i.i18nInit(),i}return ket(e,[{key:"renderHiddenFileInput",value:function(){var n=this,i=this.uppy.opts.restrictions;return T("input",{className:"uppy-DragDrop-input",type:"file",hidden:!0,ref:function(l){n.fileInputRef=l},name:this.opts.inputName,multiple:i.maxNumberOfFiles!==1,accept:i.allowedFileTypes,onChange:this.onInputChange})}},{key:"renderLabel",value:function(){return T("div",{className:"uppy-DragDrop-label"},this.i18nArray("dropHereOr",{browse:T("span",{className:"uppy-DragDrop-browse"},this.i18n("browse"))}))}},{key:"renderNote",value:function(){return T("span",{className:"uppy-DragDrop-note"},this.opts.note)}},{key:"render",value:function(){var n=this,i="uppy-u-reset\n uppy-DragDrop-container\n ".concat(this.isDragDropSupported?"uppy-DragDrop--isDragDropSupported":"","\n ").concat(this.getPluginState().isDraggingOver?"uppy-DragDrop--isDraggingOver":"","\n "),u={width:this.opts.width,height:this.opts.height};return T("button",{type:"button",className:i,style:u,onClick:function(){return n.fileInputRef.click()},onDragOver:this.handleDragOver,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop},this.renderHiddenFileInput(),T("div",{className:"uppy-DragDrop-inner"},e.renderArrowSvg(),this.renderLabel(),this.renderNote()))}},{key:"install",value:function(){var n=this.opts.target;this.setPluginState({isDraggingOver:!1}),n&&this.mount(n,this)}},{key:"uninstall",value:function(){this.unmount()}}],[{key:"renderArrowSvg",value:function(){return T("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon uppy-DragDrop-arrow",width:"16",height:"16",viewBox:"0 0 16 16"},T("path",{d:"M11 10V0H5v10H2l6 6 6-6h-3zm0 0",fillRule:"evenodd"}))}}]),e}(Pe);mO.VERSION=Net.version;function Fu(t){"@babel/helpers - typeof";return Fu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fu(t)}function Vk(){"use strict";Vk=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,a){s[o]=a.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(s,o,a){return Object.defineProperty(s,o,{value:a,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(a,p,v){return a[p]=v}}function y(s,o,a,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),g=new H(p||[]);return i(h,"_invoke",{value:Y(s,a,g)}),h}function m(s,o,a){try{return{type:"normal",arg:s.call(o,a)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var b="suspendedStart",O="suspendedYield",E="executing",P="completed",S={};function x(){}function R(){}function A(){}var k={};d(k,l,function(){return this});var C=Object.getPrototypeOf,F=C&&C(C(V([])));F&&F!==r&&n.call(F,l)&&(k=F);var I=A.prototype=x.prototype=Object.create(k);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(a){return this._invoke(o,a)})})}function U(s,o){function a(v,h,g,w){var _=m(s[v],s,h);if(_.type!=="throw"){var j=_.arg,q=j.value;return q&&Fu(q)=="object"&&n.call(q,"__await")?o.resolve(q.__await).then(function(N){a("next",N,g,w)},function(N){a("throw",N,g,w)}):o.resolve(q).then(function(N){j.value=N,g(j)},function(N){return a("throw",N,g,w)})}w(_.arg)}var p;i(this,"_invoke",{value:function(h,g){function w(){return new o(function(_,j){a(h,g,_,j)})}return p=p?p.then(w,w):w()}})}function Y(s,o,a){var p=b;return function(v,h){if(p===E)throw new Error("Generator is already running");if(p===P){if(v==="throw")throw h;return{value:t,done:!0}}for(a.method=v,a.arg=h;;){var g=a.delegate;if(g){var w=Q(g,a);if(w){if(w===S)continue;return w}}if(a.method==="next")a.sent=a._sent=a.arg;else if(a.method==="throw"){if(p===b)throw p=P,a.arg;a.dispatchException(a.arg)}else a.method==="return"&&a.abrupt("return",a.arg);p=E;var _=m(s,o,a);if(_.type==="normal"){if(p=a.done?P:O,_.arg===S)continue;return{value:_.arg,done:a.done}}_.type==="throw"&&(p=P,a.method="throw",a.arg=_.arg)}}}function Q(s,o){var a=o.method,p=s.iterator[a];if(p===t)return o.delegate=null,a==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||a!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),S;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,S;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,S):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,S)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function V(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var a=-1,p=function v(){for(;++a=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function bJ(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Met(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){bJ(u,n,i,l,c,"next",f)}function c(f){bJ(u,n,i,l,c,"throw",f)}l(void 0)})}}function wJ(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function OJ(t){for(var e=1;e0&&(i.uppy.log("[DropTarget] Files were dropped"),i.addFiles(O)),(d=(y=i.opts).onDrop)==null||d.call(y,c);case 15:case"end":return P.stop()}},l)}));return function(l){return u.apply(this,arguments)}}(),i.handleDragOver=function(u){var l,c;Wk(u)&&(u.preventDefault(),u.stopPropagation(),u.dataTransfer.dropEffect="copy",clearTimeout(i.removeDragOverClassTimeout),u.currentTarget.classList.add("uppy-is-drag-over"),i.setPluginState({isDraggingOver:!0}),(l=(c=i.opts).onDragOver)==null||l.call(c,u))},i.handleDragLeave=function(u){var l,c;if(Wk(u)){u.preventDefault(),u.stopPropagation();var f=u.currentTarget;clearTimeout(i.removeDragOverClassTimeout),i.removeDragOverClassTimeout=setTimeout(function(){f.classList.remove("uppy-is-drag-over"),i.setPluginState({isDraggingOver:!1})},50),(l=(c=i.opts).onDragLeave)==null||l.call(c,u)}},i.addListeners=function(){var u=i.opts.target;if(u instanceof Element?i.nodes=[u]:typeof u=="string"&&(i.nodes=Xt(document.querySelectorAll(u))),!i.nodes||i.nodes.length===0)throw new Error('"'.concat(u,'" does not match any HTML elements'));i.nodes.forEach(function(l){l.addEventListener("dragover",i.handleDragOver,!1),l.addEventListener("dragleave",i.handleDragLeave,!1),l.addEventListener("drop",i.handleDrop,!1)})},i.removeListeners=function(){i.nodes&&i.nodes.forEach(function(u){u.removeEventListener("dragover",i.handleDragOver,!1),u.removeEventListener("dragleave",i.handleDragLeave,!1),u.removeEventListener("drop",i.handleDrop,!1)})},i.type="acquirer",i.id=i.opts.id||"DropTarget",i.title="Drop Target",i}return Get(e,[{key:"install",value:function(){this.setPluginState({isDraggingOver:!1}),this.addListeners()}},{key:"uninstall",value:function(){this.removeListeners()}}]),e}(ht);Yk.VERSION=Ket.version;var EJ={strings:{chooseFiles:"Choose files"}};function Zf(t){"@babel/helpers - typeof";return Zf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Zf(t)}function TJ(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function AJ(t){for(var e=1;et.left+t.width?{left:t.left+t.width-r.width,width:r.width}:e.top+e.height>t.top+t.height?{top:t.top+t.height-r.height,height:r.height}:null}var FJ=stt;function ltt(t,e,r){return e.leftt.left+t.width?{left:r.left,width:t.left+t.width-r.left}:e.top+e.height>t.top+t.height?{top:r.top,height:t.top+t.height-r.top}:null}var LJ=ltt;function ep(t){"@babel/helpers - typeof";return ep=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ep(t)}function ctt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function CJ(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,n=new Array(e);r1;return T("div",{className:"uppy-Audio-container"},T("div",{className:"uppy-Audio-audioContainer"},S?T("audio",{className:"uppy-Audio-player",controls:!0,src:r}):T("canvas",{ref:E,className:"uppy-Audio-canvas"})),T("div",{className:"uppy-Audio-footer"},T("div",{className:"uppy-Audio-audioSourceContainer"},R?eZ(t):null),T("div",{className:"uppy-Audio-buttonContainer"},x&&T(ij,{recording:i,onStartRecording:y,onStopRecording:m,i18n:d}),S&&T(iZ,{onSubmit:f,i18n:d}),S&&T(oZ,{onDiscard:b,i18n:d})),T("div",{className:"uppy-Audio-recordingLength"},!S&&T(aj,{recordingLengthSeconds:O,i18n:d}))))}var aZ=function(t){var e=t.icon,r=t.hasAudio,n=t.i18n;return T("div",{className:"uppy-Audio-permissons"},T("div",{className:"uppy-Audio-permissonsIcon"},e()),T("h1",{className:"uppy-Audio-title"},n(r?"allowAudioAccessTitle":"noAudioTitle")),T("p",null,n(r?"allowAudioAccessDescription":"noAudioDescription")))};var uZ={strings:{pluginNameAudio:"Audio",startAudioRecording:"Begin audio recording",stopAudioRecording:"Stop audio recording",allowAudioAccessTitle:"Please allow access to your microphone",allowAudioAccessDescription:"In order to record audio, please allow microphone access for this site.",noAudioTitle:"Microphone Not Available",noAudioDescription:"In order to record audio, please connect a microphone or another audio input device",recordingStoppedMaxSize:"Recording stopped because the file size is about to exceed the limit",recordingLength:"Recording length %{recording_length}",submitRecordedFile:"Submit recorded file",discardRecordedFile:"Discard recorded file"}};function Lu(t){"@babel/helpers - typeof";return Lu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Lu(t)}function sZ(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Qtt(t){for(var e=1;e=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function lZ(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Ztt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){lZ(u,n,i,l,c,"next",f)}function c(f){lZ(u,n,i,l,c,"throw",f)}l(void 0)})}}function ert(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cZ(t,e){for(var r=0;r1&&f.maxFileSize!=null&&!l){var d=he(me(i),Rt)[Rt].reduce(function(O,E){return O+E.size},0),y=(d-he(me(i),Rt)[Rt][0].size)/(he(me(i),Rt)[Rt].length-1),m=y*3,b=Math.max(0,f.maxFileSize-m);d>b&&(l=!0,i.uppy.info(i.i18n("recordingStoppedMaxSize"),"warning",4e3),he(me(i),my)[my]())}}),he(me(i),xt)[xt].start(500),i.recordingLengthTimer=setInterval(function(){var c=i.getPluginState().recordingLengthSeconds;i.setPluginState({recordingLengthSeconds:c+1})},1e3),i.setPluginState({isRecording:!0})}}),Object.defineProperty(me(i),my,{writable:!0,value:function(){var l=new Promise(function(c){he(me(i),xt)[xt].addEventListener("stop",function(){c()}),he(me(i),xt)[xt].stop(),clearInterval(i.recordingLengthTimer),i.setPluginState({recordingLengthSeconds:0})});return l.then(function(){return i.setPluginState({isRecording:!1}),he(me(i),hj)[hj]()}).then(function(c){try{he(me(i),wa)[wa]=c,i.setPluginState({recordedAudio:URL.createObjectURL(c.data)})}catch(f){f.isRestriction||i.uppy.log(f)}}).then(function(){he(me(i),Rt)[Rt]=null,he(me(i),xt)[xt]=null},function(c){throw he(me(i),Rt)[Rt]=null,he(me(i),xt)[xt]=null,c})}}),Object.defineProperty(me(i),fj,{writable:!0,value:function(){i.setPluginState({recordedAudio:null}),he(me(i),wa)[wa]=null}}),Object.defineProperty(me(i),pj,{writable:!0,value:function(){try{he(me(i),wa)[wa]&&i.uppy.addFile(he(me(i),wa)[wa])}catch(l){l.isRestriction||i.uppy.log(l,"warning")}}}),Object.defineProperty(me(i),Oa,{writable:!0,value:function(){var u=Ztt(vj().mark(function c(){var f;return vj().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(he(me(i),Ar)[Ar]&&(f=he(me(i),Ar)[Ar].getAudioTracks(),f.forEach(function(m){return m.stop()})),!he(me(i),xt)[xt]){y.next=4;break}return y.next=4,new Promise(function(m){he(me(i),xt)[xt].addEventListener("stop",m,{once:!0}),he(me(i),xt)[xt].stop(),clearInterval(i.recordingLengthTimer)});case 4:he(me(i),Rt)[Rt]=null,he(me(i),xt)[xt]=null,he(me(i),ba)[ba]=!1,he(me(i),Ar)[Ar]=null,i.setPluginState({recordedAudio:null,isRecording:!1,recordingLengthSeconds:0});case 9:case"end":return y.stop()}},c)}));function l(){return u.apply(this,arguments)}return l}()}),Object.defineProperty(me(i),dj,{writable:!0,value:function(l){he(me(i),Oa)[Oa](),he(me(i),bl)[bl]({deviceId:l})}}),Object.defineProperty(me(i),wl,{writable:!0,value:function(){he(me(i),xr)[xr].enumerateDevices().then(function(l){i.setPluginState({audioSources:l.filter(function(c){return c.kind==="audioinput"})})})}}),he(me(i),xr)[xr]=navigator.mediaDevices,he(me(i),yy)[yy]=he(me(i),xr)[xr]!=null,i.id=i.opts.id||"Audio",i.type="acquirer",i.icon=function(){return T("svg",{className:"uppy-DashboardTab-iconAudio","aria-hidden":"true",focusable:"false",width:"32px",height:"32px",viewBox:"0 0 32 32"},T("path",{d:"M21.143 12.297c.473 0 .857.383.857.857v2.572c0 3.016-2.24 5.513-5.143 5.931v2.64h2.572a.857.857 0 110 1.714H12.57a.857.857 0 110-1.714h2.572v-2.64C12.24 21.24 10 18.742 10 15.726v-2.572a.857.857 0 111.714 0v2.572A4.29 4.29 0 0016 20.01a4.29 4.29 0 004.286-4.285v-2.572c0-.474.384-.857.857-.857zM16 6.5a3 3 0 013 3v6a3 3 0 01-6 0v-6a3 3 0 013-3z",fill:"currentcolor","fill-rule":"nonzero"}))},i.defaultLocale=uZ,i.opts=Qtt({},n),i.i18nInit(),i.title=i.i18n("pluginNameAudio"),i.setPluginState({hasAudio:!1,audioReady:!1,cameraError:null,recordingLengthSeconds:0,audioSources:[],currentDeviceId:null}),i}return trt(e,[{key:"render",value:function(){he(this,ba)[ba]||he(this,bl)[bl]();var n=this.getPluginState();return!n.audioReady||!n.hasAudio?T(aZ,{icon:this.icon,i18n:this.i18n,hasAudio:n.hasAudio}):T(sj,mj({},n,{audioActive:he(this,ba)[ba],onChangeSource:he(this,dj)[dj],onStartRecording:he(this,cj)[cj],onStopRecording:he(this,my)[my],onDiscardRecordedAudio:he(this,fj)[fj],onSubmit:he(this,pj)[pj],onStop:he(this,Oa)[Oa],i18n:this.i18n,showAudioSourceDropdown:this.opts.showAudioSourceDropdown,supportsRecording:nj(),recording:n.isRecording,stream:he(this,Ar)[Ar]}))}},{key:"install",value:function(){var n=this;this.setPluginState({audioReady:!1,recordingLengthSeconds:0});var i=this.opts.target;i&&this.mount(i,this),he(this,xr)[xr]&&(he(this,wl)[wl](),he(this,xr)[xr].ondevicechange=function(){if(he(n,wl)[wl](),he(n,Ar)[Ar]){var u=!0,l=n.getPluginState(),c=l.audioSources,f=l.currentDeviceId;c.forEach(function(d){f===d.deviceId&&(u=!1)}),u&&(he(n,Oa)[Oa](),he(n,bl)[bl]())}})}},{key:"uninstall",value:function(){he(this,Ar)[Ar]&&he(this,Oa)[Oa](),this.unmount()}}]),e}(Pe);function srt(){return he(this,xr)[xr]?he(this,xr)[xr].enumerateDevices().then(function(t){return t.some(function(e){return e.kind==="audioinput"})}):Promise.resolve(!1)}function lrt(){var t=he(this,Rt)[Rt].find(function(u){var l;return((l=u.type)==null?void 0:l.length)>0}).type,e=Ro(t);if(!e)return Promise.reject(new Error('Could not retrieve recording: Unsupported media type "'.concat(t,'"')));var r="audio-".concat(Date.now(),".").concat(e),n=new Blob(he(this,Rt)[Rt],{type:t}),i={source:this.id,name:r,data:new Blob([n],{type:t}),type:t};return Promise.resolve(i)}RO.VERSION=urt.version;var hZ={strings:{pluginNameBox:"Box"}};function Cu(t){"@babel/helpers - typeof";return Cu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Cu(t)}function gj(){"use strict";gj=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,a){s[o]=a.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(s,o,a){return Object.defineProperty(s,o,{value:a,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(a,p,v){return a[p]=v}}function y(s,o,a,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),g=new H(p||[]);return i(h,"_invoke",{value:Y(s,a,g)}),h}function m(s,o,a){try{return{type:"normal",arg:s.call(o,a)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var b="suspendedStart",O="suspendedYield",E="executing",P="completed",S={};function x(){}function R(){}function A(){}var k={};d(k,l,function(){return this});var C=Object.getPrototypeOf,F=C&&C(C(V([])));F&&F!==r&&n.call(F,l)&&(k=F);var I=A.prototype=x.prototype=Object.create(k);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(a){return this._invoke(o,a)})})}function U(s,o){function a(v,h,g,w){var _=m(s[v],s,h);if(_.type!=="throw"){var j=_.arg,q=j.value;return q&&Cu(q)=="object"&&n.call(q,"__await")?o.resolve(q.__await).then(function(N){a("next",N,g,w)},function(N){a("throw",N,g,w)}):o.resolve(q).then(function(N){j.value=N,g(j)},function(N){return a("throw",N,g,w)})}w(_.arg)}var p;i(this,"_invoke",{value:function(h,g){function w(){return new o(function(_,j){a(h,g,_,j)})}return p=p?p.then(w,w):w()}})}function Y(s,o,a){var p=b;return function(v,h){if(p===E)throw new Error("Generator is already running");if(p===P){if(v==="throw")throw h;return{value:t,done:!0}}for(a.method=v,a.arg=h;;){var g=a.delegate;if(g){var w=Q(g,a);if(w){if(w===S)continue;return w}}if(a.method==="next")a.sent=a._sent=a.arg;else if(a.method==="throw"){if(p===b)throw p=P,a.arg;a.dispatchException(a.arg)}else a.method==="return"&&a.abrupt("return",a.arg);p=E;var _=m(s,o,a);if(_.type==="normal"){if(p=a.done?P:O,_.arg===S)continue;return{value:_.arg,done:a.done}}_.type==="throw"&&(p=P,a.method="throw",a.arg=_.arg)}}}function Q(s,o){var a=o.method,p=s.iterator[a];if(p===t)return o.delegate=null,a==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||a!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),S;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,S;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,S):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,S)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function V(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var a=-1,p=function v(){for(;++a=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function dZ(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function crt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){dZ(u,n,i,l,c,"next",f)}function c(f){dZ(u,n,i,l,c,"throw",f)}l(void 0)})}}function frt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vZ(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function gZ(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function brt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){gZ(u,n,i,l,c,"next",f)}function c(f){gZ(u,n,i,l,c,"throw",f)}l(void 0)})}}function wrt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bZ(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function SZ(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function xrt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){SZ(u,n,i,l,c,"next",f)}function c(f){SZ(u,n,i,l,c,"throw",f)}l(void 0)})}}function Rrt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _Z(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function RZ(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Wrt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){RZ(u,n,i,l,c,"next",f)}function c(f){RZ(u,n,i,l,c,"throw",f)}l(void 0)})}}function Vrt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function IZ(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function qZ(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function tnt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){qZ(u,n,i,l,c,"next",f)}function c(f){qZ(u,n,i,l,c,"throw",f)}l(void 0)})}}function rnt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function FZ(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function NZ(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function cnt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){NZ(u,n,i,l,c,"next",f)}function c(f){NZ(u,n,i,l,c,"throw",f)}l(void 0)})}}function fnt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function DZ(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function BZ(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function bnt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){BZ(u,n,i,l,c,"next",f)}function c(f){BZ(u,n,i,l,c,"throw",f)}l(void 0)})}}function wnt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function GZ(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function zZ(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function xnt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){zZ(u,n,i,l,c,"next",f)}function c(f){zZ(u,n,i,l,c,"throw",f)}l(void 0)})}}function Rnt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function HZ(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function ZZ(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Knt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){ZZ(u,n,i,l,c,"next",f)}function c(f){ZZ(u,n,i,l,c,"throw",f)}l(void 0)})}}function Ynt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eee(t,e){for(var r=0;r0}function uit(t){return(t==null?void 0:t.startsWith("http://"))||(t==null?void 0:t.startsWith("https://"))}function sit(t){var e=new URL(t),r=e.pathname;return r.substring(r.lastIndexOf("/")+1)}var Sa=function(t){rit(e,t);function e(r,n){var i;if(Ynt(this,e),i=Znt(this,e,[r,n]),i.getMeta=function(u){return i.client.post("url/meta",{url:u}).then(function(l){if(l.error)throw i.uppy.log("[URL] Error:"),i.uppy.log(l.error),new Error("Failed to fetch the file");return l})},i.addFile=function(){var u=Knt($j().mark(function l(c,f){var d,y,m;return $j().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:if(d=oit(c),uit(d)){O.next=5;break}return i.uppy.log("[URL] Incorrect URL entered: ".concat(d)),i.uppy.info(i.i18n("enterCorrectUrl"),"error",4e3),O.abrupt("return",void 0);case 5:return O.prev=5,O.next=8,i.getMeta(d);case 8:return y=O.sent,m={meta:f,source:i.id,name:y.name||sit(d),type:y.type,data:{size:y.size},isRemote:!0,body:{url:d},remote:{companionUrl:i.opts.companionUrl,url:"".concat(i.hostname,"/url/get"),body:{fileId:d,url:d},requestClientId:e.requestClientId}},i.uppy.log("[Url] Adding remote file"),O.prev=11,O.abrupt("return",i.uppy.addFile(m));case 15:return O.prev=15,O.t0=O.catch(11),O.t0.isRestriction||i.uppy.log(O.t0),O.abrupt("return",O.t0);case 19:O.next=26;break;case 21:return O.prev=21,O.t1=O.catch(5),i.uppy.log(O.t1),i.uppy.info({message:i.i18n("failedToFetch"),details:O.t1},"error",4e3),O.abrupt("return",O.t1);case 26:case"end":return O.stop()}},l,null,[[5,21],[11,15]])}));return function(l,c){return u.apply(this,arguments)}}(),i.handleRootDrop=function(u){UO(u.dataTransfer,"drop",function(l){i.uppy.log("[URL] Adding file from dropped url: ".concat(l)),i.addFile(l)})},i.handleRootPaste=function(u){UO(u.clipboardData,"paste",function(l){i.uppy.log("[URL] Adding file from pasted url: ".concat(l)),i.addFile(l)})},i.id=i.opts.id||"Url",i.title=i.opts.title||"Link",i.type="acquirer",i.icon=function(){return T(iit,null)},i.defaultLocale=JZ,i.i18nInit(),i.hostname=i.opts.companionUrl,!i.hostname)throw new Error("Companion hostname is required, please consult https://uppy.io/docs/companion");return i.client=new Dn(r,{pluginId:i.id,provider:"url",companionUrl:i.opts.companionUrl,companionHeaders:i.opts.companionHeaders,companionCookiesRule:i.opts.companionCookiesRule}),i.uppy.registerRequestClient(e.requestClientId,i.client),i}return Xnt(e,[{key:"render",value:function(){return T(QZ,{i18n:this.i18n,addFile:this.addFile})}},{key:"install",value:function(){var n=this.opts.target;n&&this.mount(n,this)}},{key:"uninstall",value:function(){this.unmount()}}]),e}(Pe);ree=Sa;Sa.VERSION=nit.version;Sa.requestClientId=ree.name;Sa.prototype.canHandleRootDrop=ait;var nee={strings:{pluginNameZoom:"Zoom"}};function Hu(t){"@babel/helpers - typeof";return Hu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Hu(t)}function Hj(){"use strict";Hj=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,a){s[o]=a.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(s,o,a){return Object.defineProperty(s,o,{value:a,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(a,p,v){return a[p]=v}}function y(s,o,a,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),g=new H(p||[]);return i(h,"_invoke",{value:Y(s,a,g)}),h}function m(s,o,a){try{return{type:"normal",arg:s.call(o,a)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var b="suspendedStart",O="suspendedYield",E="executing",P="completed",S={};function x(){}function R(){}function A(){}var k={};d(k,l,function(){return this});var C=Object.getPrototypeOf,F=C&&C(C(V([])));F&&F!==r&&n.call(F,l)&&(k=F);var I=A.prototype=x.prototype=Object.create(k);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(a){return this._invoke(o,a)})})}function U(s,o){function a(v,h,g,w){var _=m(s[v],s,h);if(_.type!=="throw"){var j=_.arg,q=j.value;return q&&Hu(q)=="object"&&n.call(q,"__await")?o.resolve(q.__await).then(function(N){a("next",N,g,w)},function(N){a("throw",N,g,w)}):o.resolve(q).then(function(N){j.value=N,g(j)},function(N){return a("throw",N,g,w)})}w(_.arg)}var p;i(this,"_invoke",{value:function(h,g){function w(){return new o(function(_,j){a(h,g,_,j)})}return p=p?p.then(w,w):w()}})}function Y(s,o,a){var p=b;return function(v,h){if(p===E)throw new Error("Generator is already running");if(p===P){if(v==="throw")throw h;return{value:t,done:!0}}for(a.method=v,a.arg=h;;){var g=a.delegate;if(g){var w=Q(g,a);if(w){if(w===S)continue;return w}}if(a.method==="next")a.sent=a._sent=a.arg;else if(a.method==="throw"){if(p===b)throw p=P,a.arg;a.dispatchException(a.arg)}else a.method==="return"&&a.abrupt("return",a.arg);p=E;var _=m(s,o,a);if(_.type==="normal"){if(p=a.done?P:O,_.arg===S)continue;return{value:_.arg,done:a.done}}_.type==="throw"&&(p=P,a.method="throw",a.arg=_.arg)}}}function Q(s,o){var a=o.method,p=s.iterator[a];if(p===t)return o.delegate=null,a==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||a!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),S;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,S;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,S):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,S)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function V(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var a=-1,p=function v(){for(;++a=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function iee(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function lit(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){iee(u,n,i,l,c,"next",f)}function c(f){iee(u,n,i,l,c,"throw",f)}l(void 0)})}}function cit(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oee(t,e){for(var r=0;r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return u=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!u&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function bit(t,e){if(t){if(typeof t=="string")return uee(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return uee(t,e)}}function uee(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r9?":":":0")+t}var Git=function(t){Uit(e,t);function e(r){var n;return Fit(this,e),n=Nit(this,e,[r]),n.wrapperStyle={width:"100%",height:"100%",display:"flex"},n.overlayStyle={position:"absolute",width:"100%",height:"100%",background:"black",opacity:.7},n.infoContainerStyle={marginLeft:"auto",marginRight:"auto",marginTop:"auto",marginBottom:"auto",zIndex:1,color:"white"},n.infotextStyle={marginLeft:"auto",marginRight:"auto",marginBottom:"1rem",fontSize:"1.5rem"},n.timeStyle={display:"block",fontWeight:"bold",marginLeft:"auto",marginRight:"auto",fontSize:"3rem",fontFamily:"Courier New"},n.state={elapsedTime:0},n}return Lit(e,[{key:"startTimer",value:function(){this.timerTick(),this.timerRunning=!0}},{key:"resetTimer",value:function(){clearTimeout(this.timer),this.setState({elapsedTime:0}),this.timerRunning=!1}},{key:"timerTick",value:function(){var n=this;this.timer=setTimeout(function(){n.setState(function(i){return{elapsedTime:i.elapsedTime+1}}),n.timerTick()},1e3)}},{key:"render",value:function(){var n=jit({},this.props),i=n.recording,u=n.i18n,l=this.state.elapsedTime,c=Bit(l);return i&&!this.timerRunning&&this.startTimer(),!i&&this.timerRunning&&this.resetTimer(),i?T("div",{style:this.wrapperStyle},T("div",{style:this.overlayStyle}),T("div",{style:this.infoContainerStyle},T("div",{style:this.infotextStyle},u("recording")),T("div",{style:this.timeStyle},c))):null}}]),e}(ct),mee=Git;function rq(t){var e=t.streamActive,r=t.i18n;return e?T("div",{title:r("streamActive"),"aria-label":r("streamActive"),className:"uppy-ScreenCapture-icon--stream uppy-ScreenCapture-icon--streamActive"},T("svg",{"aria-hidden":"true",focusable:"false",width:"24",height:"24",viewBox:"0 0 24 24"},T("path",{d:"M0 0h24v24H0z",opacity:".1",fill:"none"}),T("path",{d:"M0 0h24v24H0z",fill:"none"}),T("path",{d:"M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm18-7H5v1.63c3.96 1.28 7.09 4.41 8.37 8.37H19V7zM1 10v2c4.97 0 9 4.03 9 9h2c0-6.08-4.93-11-11-11zm20-7H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}))):T("div",{title:r("streamPassive"),"aria-label":r("streamPassive"),className:"uppy-ScreenCapture-icon--stream"},T("svg",{"aria-hidden":"true",focusable:"false",width:"24",height:"24",viewBox:"0 0 24 24"},T("path",{d:"M0 0h24v24H0z",opacity:".1",fill:"none"}),T("path",{d:"M0 0h24v24H0z",fill:"none"}),T("path",{d:"M21 3H3c-1.1 0-2 .9-2 2v3h2V5h18v14h-7v2h7c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm0-4v2c4.97 0 9 4.03 9 9h2c0-6.08-4.93-11-11-11z"})))}function gp(t){"@babel/helpers - typeof";return gp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},gp(t)}function $it(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gee(t,e){for(var r=0;r1,Y={playsInline:!0};return l?(Y.muted=!1,Y.controls=!0,Y.src=l,this.videoElement&&(this.videoElement.srcObject=null)):(Y.muted=!0,Y.autoPlay=!0,Y.srcObject=u),T("div",{className:"uppy uppy-Webcam-container"},T("div",{className:"uppy-Webcam-videoContainer"},T("video",mq({ref:function(X){return n.videoElement=X},className:"uppy-Webcam-video ".concat(P?"uppy-Webcam-video--mirrored":"")},Y))),T("div",{className:"uppy-Webcam-footer"},T("div",{className:"uppy-Webcam-videoSourceContainer"},U?vq(this.props):null),T("div",{className:"uppy-Webcam-buttonContainer"},I&&T(fq,{onSnapshot:S,i18n:E}),F&&T(pq,{recording:c,onStartRecording:x,onStopRecording:R,i18n:E}),C&&T(Aee,{onSubmit:O,i18n:E}),C&&T(xee,{onDiscard:A,i18n:E})),T("div",{className:"uppy-Webcam-recordingLength"},z&&T(dq,{recordingLengthSeconds:k,i18n:E}))))}}]),e}(ct),kee=Sot;function gq(t){var e=t.icon,r=t.i18n,n=t.hasCamera;return T("div",{className:"uppy-Webcam-permissons"},T("div",{className:"uppy-Webcam-permissonsIcon"},e()),T("h1",{className:"uppy-Webcam-title"},r(n?"allowAccessTitle":"noCameraTitle")),T("p",null,r(n?"allowAccessDescription":"noCameraDescription")))}var jee={strings:{pluginNameCamera:"Camera",noCameraTitle:"Camera Not Available",noCameraDescription:"In order to take pictures or record video, please connect a camera device",recordingStoppedMaxSize:"Recording stopped because the file size is about to exceed the limit",submitRecordedFile:"Submit recorded file",discardRecordedFile:"Discard recorded file",smile:"Smile!",takePicture:"Take a picture",startRecording:"Begin video recording",stopRecording:"Stop video recording",recordingLength:"Recording length %{recording_length}",allowAccessTitle:"Please allow access to your camera",allowAccessDescription:"In order to take pictures or record video with your camera, please allow camera access for this site."}};function _a(t){"@babel/helpers - typeof";return _a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_a(t)}function wq(){"use strict";wq=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,a){s[o]=a.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(s,o,a){return Object.defineProperty(s,o,{value:a,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(a,p,v){return a[p]=v}}function y(s,o,a,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),g=new H(p||[]);return i(h,"_invoke",{value:Y(s,a,g)}),h}function m(s,o,a){try{return{type:"normal",arg:s.call(o,a)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var b="suspendedStart",O="suspendedYield",E="executing",P="completed",S={};function x(){}function R(){}function A(){}var k={};d(k,l,function(){return this});var C=Object.getPrototypeOf,F=C&&C(C(V([])));F&&F!==r&&n.call(F,l)&&(k=F);var I=A.prototype=x.prototype=Object.create(k);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(a){return this._invoke(o,a)})})}function U(s,o){function a(v,h,g,w){var _=m(s[v],s,h);if(_.type!=="throw"){var j=_.arg,q=j.value;return q&&_a(q)=="object"&&n.call(q,"__await")?o.resolve(q.__await).then(function(N){a("next",N,g,w)},function(N){a("throw",N,g,w)}):o.resolve(q).then(function(N){j.value=N,g(j)},function(N){return a("throw",N,g,w)})}w(_.arg)}var p;i(this,"_invoke",{value:function(h,g){function w(){return new o(function(_,j){a(h,g,_,j)})}return p=p?p.then(w,w):w()}})}function Y(s,o,a){var p=b;return function(v,h){if(p===E)throw new Error("Generator is already running");if(p===P){if(v==="throw")throw h;return{value:t,done:!0}}for(a.method=v,a.arg=h;;){var g=a.delegate;if(g){var w=Q(g,a);if(w){if(w===S)continue;return w}}if(a.method==="next")a.sent=a._sent=a.arg;else if(a.method==="throw"){if(p===b)throw p=P,a.arg;a.dispatchException(a.arg)}else a.method==="return"&&a.abrupt("return",a.arg);p=E;var _=m(s,o,a);if(_.type==="normal"){if(p=a.done?P:O,_.arg===S)continue;return{value:_.arg,done:a.done}}_.type==="throw"&&(p=P,a.method="throw",a.arg=_.arg)}}}function Q(s,o){var a=o.method,p=s.iterator[a];if(p===t)return o.delegate=null,a==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||a!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),S;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,S;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,S):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,S)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function V(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var a=-1,p=function v(){for(;++a=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function qee(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function _ot(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){qee(u,n,i,l,c,"next",f)}function c(f){qee(u,n,i,l,c,"throw",f)}l(void 0)})}}function Fee(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Wu(t){for(var e=1;e0&&(n.mimeType=c[0])}return n}},{key:"startRecording",value:function(){var n=this;this.recorder=new MediaRecorder(this.stream,this.getMediaRecorderOptions()),this.recordingChunks=[];var i=!1;this.recorder.addEventListener("dataavailable",function(u){n.recordingChunks.push(u.data);var l=n.uppy.opts.restrictions;if(n.recordingChunks.length>1&&l.maxFileSize!=null&&!i){var c=n.recordingChunks.reduce(function(m,b){return m+b.size},0),f=(c-n.recordingChunks[0].size)/(n.recordingChunks.length-1),d=f*3,y=Math.max(0,l.maxFileSize-d);c>y&&(i=!0,n.uppy.info(n.i18n("recordingStoppedMaxSize"),"warning",4e3),n.stopRecording())}}),this.recorder.start(500),this.opts.showRecordingLength&&(this.recordingLengthTimer=setInterval(function(){var u=n.getPluginState().recordingLengthSeconds;n.setPluginState({recordingLengthSeconds:u+1})},1e3)),this.setPluginState({isRecording:!0})}},{key:"stopRecording",value:function(){var n=this,i=new Promise(function(u){n.recorder.addEventListener("stop",function(){u()}),n.recorder.stop(),n.opts.showRecordingLength&&(clearInterval(n.recordingLengthTimer),n.setPluginState({recordingLengthSeconds:0}))});return i.then(function(){return n.setPluginState({isRecording:!1}),n.getVideo()}).then(function(u){try{n.capturedMediaFile=u,n.setPluginState({recordedVideo:URL.createObjectURL(u.data)}),wy(n,Hi)[Hi]=!1}catch(l){l.isRestriction||n.uppy.log(l)}}).then(function(){n.recordingChunks=null,n.recorder=null},function(u){throw n.recordingChunks=null,n.recorder=null,u})}},{key:"discardRecordedVideo",value:function(){this.setPluginState({recordedVideo:null}),this.opts.mirror&&(wy(this,Hi)[Hi]=!0),this.capturedMediaFile=null}},{key:"submit",value:function(){try{this.capturedMediaFile&&this.uppy.addFile(this.capturedMediaFile)}catch(n){n.isRestriction||this.uppy.log(n,"error")}}},{key:"stop",value:function(){var r=_ot(wq().mark(function i(){var u=this,l,c;return wq().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(this.stream&&(l=this.stream.getAudioTracks(),c=this.stream.getVideoTracks(),l.concat(c).forEach(function(y){return y.stop()})),!this.recorder){d.next=4;break}return d.next=4,new Promise(function(y){u.recorder.addEventListener("stop",y,{once:!0}),u.recorder.stop(),u.opts.showRecordingLength&&clearInterval(u.recordingLengthTimer)});case 4:this.recordingChunks=null,this.recorder=null,this.webcamActive=!1,this.stream=null,this.setPluginState({recordedVideo:null,isRecording:!1,recordingLengthSeconds:0});case 9:case"end":return d.stop()}},i,this)}));function n(){return r.apply(this,arguments)}return n}()},{key:"getVideoElement",value:function(){return this.el.querySelector(".uppy-Webcam-video")}},{key:"oneTwoThreeSmile",value:function(){var n=this;return new Promise(function(i,u){var l=n.opts.countdown,c=setInterval(function(){if(!n.webcamActive)return clearInterval(c),n.captureInProgress=!1,u(new Error("Webcam is not active"));l?(n.uppy.info("".concat(l,"..."),"warning",800),l--):(clearInterval(c),n.uppy.info(n.i18n("smile"),"success",1500),setTimeout(function(){return i()},1500))},1e3)})}},{key:"takeSnapshot",value:function(){var n=this;this.captureInProgress||(this.captureInProgress=!0,this.opts.onBeforeSnapshot().catch(function(i){var u=_a(i)==="object"?i.message:i;return n.uppy.info(u,"error",5e3),Promise.reject(new Error("onBeforeSnapshot: ".concat(u)))}).then(function(){return n.getImage()}).then(function(i){n.captureInProgress=!1;try{n.uppy.addFile(i)}catch(u){u.isRestriction||n.uppy.log(u)}},function(i){throw n.captureInProgress=!1,i}))}},{key:"getImage",value:function(){var n=this,i=this.getVideoElement();if(!i)return Promise.reject(new Error("No video element found, likely due to the Webcam tab being closed."));var u=i.videoWidth,l=i.videoHeight,c=document.createElement("canvas");c.width=u,c.height=l;var f=c.getContext("2d");f.drawImage(i,0,0);var d=this.uppy.opts.restrictions,y=[];this.opts.preferredImageMimeType?y=[this.opts.preferredImageMimeType]:d.allowedFileTypes&&(y=d.allowedFileTypes.map(Cee).filter(Cot));var m=y[0]||"image/jpeg",b=Ro(m)||"jpg",O="cam-".concat(Date.now(),".").concat(b);return lq(c,m).then(function(E){return{source:n.id,name:O,data:new Blob([E],{type:m}),type:m}})}},{key:"getVideo",value:function(){var n=this.recordingChunks.find(function(f){var d;return((d=f.type)==null?void 0:d.length)>0}).type,i=Ro(n);if(!i)return Promise.reject(new Error('Could not retrieve recording: Unsupported media type "'.concat(n,'"')));var u="webcam-".concat(Date.now(),".").concat(i),l=new Blob(this.recordingChunks,{type:n}),c={source:this.id,name:u,data:new Blob([l],{type:n}),type:n};return Promise.resolve(c)}},{key:"focus",value:function(){var n=this;this.opts.countdown&&setTimeout(function(){n.uppy.info(n.i18n("smile"),"success",1500)},1e3)}},{key:"changeVideoSource",value:function(n){this.stop(),this.start({deviceId:n})}},{key:"updateVideoSources",value:function(){var n=this;this.mediaDevices.enumerateDevices().then(function(i){n.setPluginState({videoSources:i.filter(function(u){return u.kind==="videoinput"})})})}},{key:"render",value:function(){this.webcamActive||this.start();var n=this.getPluginState();return!n.cameraReady||!n.hasCamera?T(gq,{icon:by,i18n:this.i18n,hasCamera:n.hasCamera}):T(kee,Sq({},n,{onChangeVideoSource:this.changeVideoSource,onSnapshot:this.takeSnapshot,onStartRecording:this.startRecording,onStopRecording:this.stopRecording,onDiscardRecordedVideo:this.discardRecordedVideo,onSubmit:this.submit,onFocus:this.focus,onStop:this.stop,i18n:this.i18n,modes:this.opts.modes,showRecordingLength:this.opts.showRecordingLength,showVideoSourceDropdown:this.opts.showVideoSourceDropdown,supportsRecording:cq(),recording:n.isRecording,mirror:wy(this,Hi)[Hi],src:this.stream}))}},{key:"install",value:function(){var n=this,i=this.opts,u=i.mobileNativeCamera,l=i.modes,c=i.facingMode,f=i.videoConstraints,d=this.opts.target;if(u&&d){var y;(y=this.getTargetPlugin(d))==null||y.setOptions({showNativeVideoCameraButton:bq(l,"video-only")||bq(l,"video-audio"),showNativePhotoCameraButton:bq(l,"picture"),nativeCameraFacingMode:(f==null?void 0:f.facingMode)||c});return}this.setPluginState({cameraReady:!1,recordingLengthSeconds:0}),d&&this.mount(d,this),this.mediaDevices&&(this.updateVideoSources(),this.mediaDevices.ondevicechange=function(){if(n.updateVideoSources(),n.stream){var m=!0,b=n.getPluginState(),O=b.videoSources,E=b.currentDeviceId;O.forEach(function(P){E===P.deviceId&&(m=!1)}),m&&(n.stop(),n.start())}})}},{key:"uninstall",value:function(){this.stop(),this.unmount()}},{key:"onUnmount",value:function(){this.stop()}}]),e}(Pe);ZO.VERSION=Fot.version;function Sy(t){"@babel/helpers - typeof";return Sy=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Sy(t)}function Mot(t,e){return Got(t)||Bot(t,e)||Gee(t,e)||Uot()}function Uot(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Bot(t,e){var r=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,u,l,c=[],f=!0,d=!1;try{if(u=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;f=!1}else for(;!(f=(n=u.call(r)).done)&&(c.push(n.value),c.length!==e);f=!0);}catch(y){d=!0,i=y}finally{try{if(!f&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(d)throw i}}return c}}function Got(t){if(Array.isArray(t))return t}function $ot(t,e){var r=typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Gee(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return u=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!u&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function Gee(t,e){if(t){if(typeof t=="string")return Uee(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Uee(t,e)}}function Uee(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r3?Se(r,Ea)[Ea]=setTimeout(Se(r,Pl)[Pl],2e3):Se(r,en)[en]=Math.floor(Se(r,en)[en]/2)}}),typeof e!="number"||e===0?this.limit=1/0:this.limit=e}return Xot(t,[{key:"run",value:function(r,n){return!Se(this,Hn)[Hn]&&Se(this,Wn)[Wn]1&&Number.isFinite(this.limit)&&(Se(this,_l)[_l]=this.limit-1,this.limit=Se(this,en)[en],Se(this,Ea)[Ea]=setTimeout(Se(this,Pl)[Pl],r))}},{key:"isPaused",get:function(){return Se(this,Hn)[Hn]}}]),t}();function tat(t){var e=this;Se(this,Wn)[Wn]+=1;var r=!1,n;try{n=t()}catch(i){throw Se(this,Wn)[Wn]-=1,i}return{abort:function(u){r||(r=!0,Se(e,Wn)[Wn]-=1,n==null||n(u),Se(e,Ta)[Ta]())},done:function(){r||(r=!0,Se(e,Wn)[Wn]-=1,Se(e,Ta)[Ta]())}}}function rat(){var t=this;queueMicrotask(function(){return Se(t,Eq)[Eq]()})}function nat(){if(!(Se(this,Hn)[Hn]||Se(this,Wn)[Wn]>=this.limit)&&Se(this,tn)[tn].length!==0){var t=Se(this,tn)[tn].shift();if(t==null)throw new Error("Invariant violation: next is null");var e=Se(this,_y)[_y](t.fn);t.abort=e.abort,t.done=e.done}}function iat(t,e){var r=this,n={fn:t,priority:(e==null?void 0:e.priority)||0,abort:function(){Se(r,Tq)[Tq](n)},done:function(){throw new Error("Cannot mark a queued request as done: this indicates a bug")}},i=Se(this,tn)[tn].findIndex(function(u){return n.priority>u.priority});return i===-1?Se(this,tn)[tn].push(n):Se(this,tn)[tn].splice(i,0,n),n}function oat(t){var e=Se(this,tn)[tn].indexOf(t);e!==-1&&Se(this,tn)[tn].splice(e,1)}var Vu=Symbol("__queue");function Ku(t){var e=function(n){return"error"in n&&!!n.error};return t.filter(function(r){return!e(r)})}function Yu(t){return t.filter(function(e){var r;return!((r=e.progress)!=null&&r.uploadStarted)||!e.isRestored})}var eS=globalThis.AbortController;var ext=globalThis.AbortSignal;var tS=function(e,r){e===void 0&&(e="Aborted");var n=new DOMException(e,"AbortError");return r!=null&&Cn(r,"cause")&&Object.defineProperty(n,"cause",{__proto__:null,configurable:!0,writable:!0,value:r.cause}),n};function jy(t){"@babel/helpers - typeof";return jy=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},jy(t)}function Wee(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Vee(t){for(var e=1;ede(this,Ay)[Ay]){var n=Math.max(this.options.getChunkSize(de(this,Vn)[Vn]),de(this,Ay)[Ay]),i=Math.floor(e/n);i>de(this,El)[El]&&(i=de(this,El)[El],n=e/de(this,El)[El]),de(this,lr)[lr]=Array(i);for(var u=function(d,y){var m=Math.min(e,d+n),b=function(){var P=d;return de(t,Vn)[Vn].slice(P,m)};if(de(t,lr)[lr][y]={getData:b,onProgress:de(t,xy)[xy](y),onComplete:de(t,Ry)[Ry](y),shouldUseMultipart:r},de(t,Tl)[Tl]){var O=d+n>e?e-d:n;de(t,lr)[lr][y].setAsUploaded=function(){de(t,lr)[lr][y]=null,de(t,rn)[rn][y].uploaded=O}}},l=0,c=0;l=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function Jee(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function nS(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){Jee(u,n,i,l,c,"next",f)}function c(f){Jee(u,n,i,l,c,"throw",f)}l(void 0)})}}function gat(t){return Sat(t)||Oat(t)||wat(t)||bat()}function bat(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wat(t,e){if(t){if(typeof t=="string")return Iq(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Iq(t,e)}}function Oat(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Sat(t){if(Array.isArray(t))return Iq(t)}function Iq(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);rt.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function rte(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Xu(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){rte(u,n,i,l,c,"next",f)}function c(f){rte(u,n,i,l,c,"throw",f)}l(void 0)})}}function jat(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nte(t,e){for(var r=0;r400&&l<500&&l!==409)){m.next=28;break}return m.abrupt("return",!1);case 28:if(!(typeof navigator!="undefined"&&navigator.onLine===!1)){m.next=32;break}u.isPaused||(u.pause(),window.addEventListener("online",function(){u.resume()},{once:!0})),m.next=37;break;case 32:if(d=r.next(),!(d==null||d.done)){m.next=35;break}return m.abrupt("return",!1);case 35:return m.next=37,new Promise(function(b){return setTimeout(b,d.value)});case 37:return m.abrupt("return",!0);case 38:case"end":return m.stop()}},t,this)})),Mq.apply(this,arguments)}function Dat(t,e,r){return Uq.apply(this,arguments)}function Uq(){return Uq=Xu(fr().mark(function t(e,r,n){var i,u,l,c,f,d,y,m,b,O,E,P;return fr().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.next=2,Ee(this,Uy)[Uy](Ee(this,jr)[jr](e),{signal:n}).abortOn(n);case 2:return i=x.sent,u=i.method,l=u===void 0?"POST":u,c=i.url,f=i.fields,d=i.headers,m=r.getData(),l.toUpperCase()==="POST"?(b=new FormData,Object.entries(f).forEach(function(R){var A=Tat(R,2),k=A[0],C=A[1];return b.set(k,C)}),b.set("file",m),y=b):y=m,O=r.onProgress,E=r.onComplete,x.next=13,Ee(this,ql)[ql]({signature:{url:c,headers:d,method:l},body:y,size:m.size,onProgress:O,onComplete:E,signal:n}).abortOn(n);case 13:return P=x.sent,x.abrupt("return","location"in P?P:ite({location:Cat(c)},P));case 15:case"end":return x.stop()}},t,this)})),Uq.apply(this,arguments)}function Qu(t){"@babel/helpers - typeof";return Qu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qu(t)}function Mat(t,e){var r=typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=Uat(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return u=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!u&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function Uat(t,e){if(t){if(typeof t=="string")return ute(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ute(t,e)}}function ute(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function ste(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function $y(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){ste(u,n,i,l,c,"next",f)}function c(f){ste(u,n,i,l,c,"throw",f)}l(void 0)})}}function lte(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Yn(t){for(var e=1;e9)return r}}function fte(t){var e=t.meta,r=t.allowedMetaFields,n=t.querify,i=n===void 0?!1:n,u=r!=null?r:Object.keys(e);return e?Object.fromEntries(u.filter(function(l){return e[l]!=null}).map(function(l){var c=i?"metadata[".concat(l,"]"):l,f=String(e[l]);return[c,f]})):{}}var Qat={allowedMetaFields:null,limit:6,getTemporarySecurityCredentials:!1,shouldUseMultipart:function(e){return e.size!==0},retryDelays:[0,1e3,3e3,5e3],companionHeaders:{}},Cl=Oi("companionCommunicationQueue"),Ut=Oi("client"),qr=Oi("cachedTemporaryCredentials"),Bq=Oi("getTemporarySecurityCredentials"),Gq=Oi("setS3MultipartState"),Nl=Oi("getFile"),$q=Oi("uploadLocalFile"),zq=Oi("getCompanionClientArgs"),By=Oi("upload"),Ll=Oi("setCompanionHeaders"),Ra=Oi("setResumableUploadsCapability"),Gy=Oi("resetResumableCapability");dte=Symbol.for("uppy test: getClient");var zy=function(t,e){Kat(r,t);function r(n,i){var u;Gat(this,r);var l;u=Hat(this,r,[n,Yn(Yn({},Qat),{},{uploadPartBytes:r.uploadPartBytes,createMultipartUpload:null,listParts:null,abortMultipartUpload:null,completeMultipartUpload:null,signPart:null,getUploadParameters:null},i)]),Object.defineProperty(_t(u),zq,{value:eut}),Object.defineProperty(_t(u),$q,{value:Zat}),Object.defineProperty(_t(u),Bq,{value:Jat}),Object.defineProperty(_t(u),Cl,{writable:!0,value:void 0}),Object.defineProperty(_t(u),Ut,{writable:!0,value:void 0}),Object.defineProperty(_t(u),qr,{writable:!0,value:void 0}),Object.defineProperty(_t(u),Gq,{writable:!0,value:function(b,O){var E=O.key,P=O.uploadId,S=u.uppy.getFile(b.id);S!=null&&u.uppy.setFileState(b.id,{s3Multipart:Yn(Yn({},S.s3Multipart),{},{key:E,uploadId:P})})}}),Object.defineProperty(_t(u),Nl,{writable:!0,value:function(b){return u.uppy.getFile(b.id)||b}}),Object.defineProperty(_t(u),By,{writable:!0,value:function(){var m=$y(Wi().mark(function O(E){var P,S,x,R,A;return Wi().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(E.length!==0){C.next=2;break}return C.abrupt("return",void 0);case 2:return P=u.uppy.getFilesByIds(E),S=Ku(P),x=Yu(S),u.uppy.emit("upload-start",x),R=S.map(function(F){if(F.isRemote){var I=function(){return u.requests};De(_t(u),Ra)[Ra](!1);var z=new AbortController,U=function(X){X.id===F.id&&z.abort()};u.uppy.on("file-removed",U);var Y=u.uppy.getRequestClientForFile(F).uploadRemoteFile(F,De(_t(u),zq)[zq](F),{signal:z.signal,getQueue:I});return u.requests.wrapSyncFunction(function(){u.uppy.off("file-removed",U)},{priority:-1})(),Y}return De(_t(u),$q)[$q](F)}),C.next=9,Promise.all(R);case 9:return A=C.sent,De(_t(u),Ra)[Ra](!0),C.abrupt("return",A);case 12:case"end":return C.stop()}},O)}));function b(O){return m.apply(this,arguments)}return b}()}),Object.defineProperty(_t(u),Ll,{writable:!0,value:function(){De(_t(u),Ut)[Ut].setCompanionHeaders(u.opts.companionHeaders)}}),Object.defineProperty(_t(u),Ra,{writable:!0,value:function(b){var O=u.uppy.getState(),E=O.capabilities;u.uppy.setState({capabilities:Yn(Yn({},E),{},{resumableUploads:b})})}}),Object.defineProperty(_t(u),Gy,{writable:!0,value:function(){De(_t(u),Ra)[Ra](!0)}}),u.type="uploader",u.id=u.opts.id||"AwsS3Multipart",u.title="AWS S3 Multipart",De(_t(u),Ut)[Ut]=new Dn(n,i);for(var c={createMultipartUpload:u.createMultipartUpload,listParts:u.listParts,abortMultipartUpload:u.abortMultipartUpload,completeMultipartUpload:u.completeMultipartUpload,signPart:i!=null&&i.getTemporarySecurityCredentials?u.createSignedURL:u.signPart,getUploadParameters:i!=null&&i.getTemporarySecurityCredentials?u.createSignedURL:u.getUploadParameters},f=0,d=Object.keys(c);fRequest has expired")){var Y=new Error("Request has expired");Y.source=I,F(Y);return}if(I.status<200||I.status>=300){var Q=new Error("Non 2xx");Q.source=I,F(Q);return}S==null||S({loaded:P,lengthComputable:!0});var X=I.getAllResponseHeaders().trim().split(/[\r\n]+/),$={__proto__:null},H=Mat(X),V;try{for(H.s();!(V=H.n()).done;){var s=V.value,o=s.split(": "),a=o.shift(),p=o.join(": ");$[a]=p}}catch(g){H.e(g)}finally{H.f()}var v=$.etag,h=$.location;if(b.toUpperCase()==="POST"&&h===null&&console.warn("AwsS3/Multipart: Could not read the Location header. This likely means CORS is not configured correctly on the S3 Bucket. See https://uppy.io/docs/aws-s3-multipart#S3-Bucket-Configuration for instructions."),v===null){F(new Error("AwsS3/Multipart: Could not read the ETag header. This likely means CORS is not configured correctly on the S3 Bucket. See https://uppy.io/docs/aws-s3-multipart#S3-Bucket-Configuration for instructions."));return}x==null||x(v),C(Yn(Yn({},$),{},{ETag:v}))}),I.addEventListener("error",function(Y){U();var Q=new Error("Unknown error");Q.source=Y.target,F(Q)}),I.send(O)}));case 5:case"end":return k.stop()}},u)}));function i(u){return n.apply(this,arguments)}return i}()}]),r}(ht,dte);function Jat(t){return Wq.apply(this,arguments)}function Wq(){return Wq=$y(Wi().mark(function t(e){var r=this;return Wi().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:if(Sr(e==null?void 0:e.signal),De(this,qr)[qr]!=null){i.next=7;break}return this.opts.getTemporarySecurityCredentials===!0?(this.assertHost("getTemporarySecurityCredentials"),De(this,qr)[qr]=De(this,Ut)[Ut].get("s3/sts",e).then(_p)):De(this,qr)[qr]=this.opts.getTemporarySecurityCredentials(e),i.next=5,De(this,qr)[qr];case 5:De(this,qr)[qr]=i.sent,setTimeout(function(){De(r,qr)[qr]=null},(vte(De(this,qr)[qr].credentials)||0)*500);case 7:return i.abrupt("return",De(this,qr)[qr]);case 8:case"end":return i.stop()}},t,this)})),Wq.apply(this,arguments)}function Zat(t){var e=this,r=this;return new Promise(function(n,i){var u=function(m,b){e.uppy.emit("upload-progress",e.uppy.getFile(t.id),{uploader:e,bytesUploaded:m,bytesTotal:b})},l=function(m){e.uppy.log(m),e.uppy.emit("upload-error",t,m),e.resetUploaderReferences(t.id),i(m)},c=function(m){var b={body:Yn({},m),status:200,uploadURL:m.location};e.resetUploaderReferences(t.id),e.uppy.emit("upload-success",De(e,Nl)[Nl](t),b),m.location&&e.uppy.log("Download ".concat(t.name," from ").concat(m.location)),n()},f=new Qee(t.data,Yn({companionComm:De(e,Cl)[Cl],log:function(){var m;return(m=r.uppy).log.apply(m,arguments)},getChunkSize:e.opts.getChunkSize?e.opts.getChunkSize.bind(e):null,onProgress:u,onError:l,onSuccess:c,onPartComplete:function(m){e.uppy.emit("s3-multipart:part-uploaded",De(e,Nl)[Nl](t),m)},file:t,shouldUseMultipart:e.opts.shouldUseMultipart},t.s3Multipart));e.uploaders[t.id]=f;var d=new Sp(e.uppy);e.uploaderEvents[t.id]=d,d.onFileRemove(t.id,function(y){f.abort(),e.resetUploaderReferences(t.id,{abort:!0}),n("upload ".concat(y," was removed"))}),d.onCancelAll(t.id,function(y){(y==null?void 0:y.reason)==="user"&&(f.abort(),e.resetUploaderReferences(t.id,{abort:!0})),n("upload ".concat(t.id," was canceled"))}),d.onFilePause(t.id,function(y){y?f.pause():f.start()}),d.onPauseAll(t.id,function(){f.pause()}),d.onResumeAll(t.id,function(){f.start()}),f.start()})}function eut(t){var e;return Yn(Yn({},(e=t.remote)==null?void 0:e.body),{},{protocol:"s3-multipart",size:t.data.size,metadata:t.meta})}zy.VERSION=Xat.version;function Wy(t){"@babel/helpers - typeof";return Wy=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wy(t)}function tut(t,e){return iut(t)||nut(t,e)||gte(t,e)||rut()}function rut(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nut(t,e){var r=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n,i,u,l,c=[],f=!0,d=!1;try{if(u=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;f=!1}else for(;!(f=(n=u.call(r)).done)&&(c.push(n.value),c.length!==e);f=!0);}catch(y){d=!0,i=y}finally{try{if(!f&&r.return!=null&&(l=r.return(),Object(l)!==l))return}finally{if(d)throw i}}return c}}function iut(t){if(Array.isArray(t))return t}function out(t,e){var r=typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=gte(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return u=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!u&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function gte(t,e){if(t){if(typeof t=="string")return yte(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return yte(t,e)}}function yte(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0&&(clearTimeout(Si(this,ka)[ka]),Si(this,ka)[ka]=setTimeout(Si(this,Vy)[Vy],Si(this,Ml)[Ml]))}},{key:"done",value:function(){Si(this,Dl)[Dl]||(clearTimeout(Si(this,ka)[ka]),Si(this,ka)[ka]=void 0,Si(this,Dl)[Dl]=!0)}}]),t}(),aS=yut;function mut(t){return t?t.readyState!==0&&t.readyState!==4||t.status===0:!1}var Ul=mut;function Yy(t){"@babel/helpers - typeof";return Yy=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yy(t)}function Ste(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Ju(t){for(var e=1;e=200&&i<300}},r),this.requests=r[Vu],this.uploaderEvents=Object.create(null),this.i18n=r.i18n}return wut(t,[{key:"getOptions",value:function(r){var n,i=this.uppy,u=i.getState().xhrUpload,l=Ju(Ju(Ju(Ju({},this.opts),u||{}),r.xhrUpload||{}),{},{headers:Ju(Ju(Ju({},this.opts.headers),u==null?void 0:u.headers),(n=r.xhrUpload)==null?void 0:n.headers)});return l}},{key:"uploadLocalFile",value:function(r){var n=this,i=this.getOptions(r);return new Promise(function(u,l){var c=i.formData?Eut(r,i):Tut(r,i),f=new XMLHttpRequest;n.uploaderEvents[r.id]=new wte(n.uppy);var d=new aS(i.timeout,function(){f.abort(),m.done();var b=new Error(n.i18n("timedOut",{seconds:Math.ceil(i.timeout/1e3)}));n.uppy.emit("upload-error",r,b),l(b)}),y=On();f.upload.addEventListener("loadstart",function(){n.uppy.log("[AwsS3/XHRUpload] ".concat(y," started"))}),f.upload.addEventListener("progress",function(b){n.uppy.log("[AwsS3/XHRUpload] ".concat(y," progress: ").concat(b.loaded," / ").concat(b.total)),d.progress(),b.lengthComputable&&n.uppy.emit("upload-progress",n.uppy.getFile(r.id),{uploader:n,bytesUploaded:b.loaded,bytesTotal:b.total})}),f.addEventListener("load",function(b){if(n.uppy.log("[AwsS3/XHRUpload] ".concat(y," finished")),d.done(),m.done(),n.uploaderEvents[r.id]&&(n.uploaderEvents[r.id].remove(),n.uploaderEvents[r.id]=null),i.validateStatus(b.target.status,f.responseText,f)){var O=i.getResponseData(f.responseText,f),E=O[i.responseUrlFieldName],P={status:b.target.status,body:O,uploadURL:E};return n.uppy.emit("upload-success",n.uppy.getFile(r.id),P),E&&n.uppy.log("Download ".concat(r.name," from ").concat(E)),u(r)}var S=i.getResponseData(f.responseText,f),x=Ete(f,i.getResponseError(f.responseText,f)),R={status:b.target.status,body:S};return n.uppy.emit("upload-error",r,x,R),l(x)}),f.addEventListener("error",function(){n.uppy.log("[AwsS3/XHRUpload] ".concat(y," errored")),d.done(),m.done(),n.uploaderEvents[r.id]&&(n.uploaderEvents[r.id].remove(),n.uploaderEvents[r.id]=null);var b=Ete(f,i.getResponseError(f.responseText,f));return n.uppy.emit("upload-error",r,b),l(b)}),f.open(i.method.toUpperCase(),i.endpoint,!0),f.withCredentials=!!i.withCredentials,i.responseType!==""&&(f.responseType=i.responseType),Object.keys(i.headers).forEach(function(b){f.setRequestHeader(b,i.headers[b])});var m=n.requests.run(function(){return f.send(c),function(){d.done(),f.abort()}},{priority:1});Pte(n,Vq)[Vq]("file-removed",r.id,function(){m.abort(),l(new Error("File removed"))}),Pte(n,Kq)[Kq]("cancel-all",r.id,function(b){var O=b===void 0?{}:b,E=O.reason;E==="user"&&m.abort(),l(new Error("Upload cancelled"))})})}}]),t}();function Aut(t,e,r){this.uploaderEvents[e].on(t,function(n){var i,u=(i=n==null?void 0:n.id)!=null?i:n;e===u&&r()})}function xut(t,e,r){var n=this;this.uploaderEvents[e].on(t,function(){n.uppy.getFile(e)&&r.apply(void 0,arguments)})}function Rut(t){return t.replace(/;.*$/,"")}function Iut(t,e){var r=e.headers?e.headers["content-type"]:e.getResponseHeader("Content-Type");if(typeof r=="string"){var n=Rut(r).toLowerCase();if(n==="application/xml"||n==="text/xml"||n==="text/html"&&/^<\?xml /.test(t))return!0}return!1}var Yq=Iut;var Rte={strings:{timedOut:"Upload stalled for %{seconds} seconds, aborting."}};function Qq(){"use strict";Qq=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,a){s[o]=a.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(s,o,a){return Object.defineProperty(s,o,{value:a,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(a,p,v){return a[p]=v}}function y(s,o,a,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),g=new H(p||[]);return i(h,"_invoke",{value:Y(s,a,g)}),h}function m(s,o,a){try{return{type:"normal",arg:s.call(o,a)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var b="suspendedStart",O="suspendedYield",E="executing",P="completed",S={};function x(){}function R(){}function A(){}var k={};d(k,l,function(){return this});var C=Object.getPrototypeOf,F=C&&C(C(V([])));F&&F!==r&&n.call(F,l)&&(k=F);var I=A.prototype=x.prototype=Object.create(k);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(a){return this._invoke(o,a)})})}function U(s,o){function a(v,h,g,w){var _=m(s[v],s,h);if(_.type!=="throw"){var j=_.arg,q=j.value;return q&&ja(q)=="object"&&n.call(q,"__await")?o.resolve(q.__await).then(function(N){a("next",N,g,w)},function(N){a("throw",N,g,w)}):o.resolve(q).then(function(N){j.value=N,g(j)},function(N){return a("throw",N,g,w)})}w(_.arg)}var p;i(this,"_invoke",{value:function(h,g){function w(){return new o(function(_,j){a(h,g,_,j)})}return p=p?p.then(w,w):w()}})}function Y(s,o,a){var p=b;return function(v,h){if(p===E)throw new Error("Generator is already running");if(p===P){if(v==="throw")throw h;return{value:t,done:!0}}for(a.method=v,a.arg=h;;){var g=a.delegate;if(g){var w=Q(g,a);if(w){if(w===S)continue;return w}}if(a.method==="next")a.sent=a._sent=a.arg;else if(a.method==="throw"){if(p===b)throw p=P,a.arg;a.dispatchException(a.arg)}else a.method==="return"&&a.abrupt("return",a.arg);p=E;var _=m(s,o,a);if(_.type==="normal"){if(p=a.done?P:O,_.arg===S)continue;return{value:_.arg,done:a.done}}_.type==="throw"&&(p=P,a.method="throw",a.arg=_.arg)}}}function Q(s,o){var a=o.method,p=s.iterator[a];if(p===t)return o.delegate=null,a==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||a!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),S;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,S;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,S):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,S)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function V(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var a=-1,p=function v(){for(;++a=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function Ite(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Bl(t){for(var e=1;e")),n=t.indexOf(""),r);return r!==-1&&n!==-1?t.slice(r+e.length+2,n):""}function Uut(t){if(t&&t.error){var e=new Error(t.message);throw Object.assign(e,t.error),e}return t}function But(t,e){var r=e!=null&&typeof e.url=="string"&&(ja(e.fields)==="object"||e.fields==null);if(!r){var n=new TypeError("AwsS3: got incorrect result from 'getUploadParameters()' for file '".concat(t.name,"', expected an object '{ url, method, fields, headers }' but got '").concat(JSON.stringify(e),"' instead.\nSee https://uppy.io/docs/aws-s3/#getUploadParameters-file for more on the expected format."));throw n}var i=e.method==null||/^p(u|os)t$/i.test(e.method);if(!i){var u=new TypeError("AwsS3: got incorrect method from 'getUploadParameters()' for file '".concat(t.name,"', expected 'PUT' or 'POST' but got '").concat(e.method,"' instead.\nSee https://uppy.io/docs/aws-s3/#getUploadParameters-file for more on the expected format."));throw u}}function Gut(t,e){if(Yq(t,e)){var r=Zy(t,"Message");return new Error(r)}}var qte=!1,Xn=Ep("client"),Vi=Ep("requests"),Gl=Ep("uploader"),Xy=Ep("handleUpload"),Qy=Ep("setCompanionHeaders"),Xq=Ep("getCompanionClientArgs");Nte=Symbol.for("uppy test: getClient");var Zq=function(t,e){Cut(r,t);function r(n,i){var u;if(jut(this,r),(i==null?void 0:i.shouldUseMultipart)!=null)return Lte(u,new zy(n,i));u=Lut(this,r,[n,i]),Object.defineProperty(Qn(u),Xn,{writable:!0,value:void 0}),Object.defineProperty(Qn(u),Vi,{writable:!0,value:void 0}),Object.defineProperty(Qn(u),Gl,{writable:!0,value:void 0}),Object.defineProperty(Qn(u),Xy,{writable:!0,value:function(){var c=kut(Qq().mark(function d(y){var m,b,O,E,P,S,x;return Qq().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return b=function(C){var F,I=C.id;(F=m[I])==null||F.abort()},m=Object.create(null),u.uppy.on("file-removed",b),O=u.uppy.getFilesByIds(y),E=Ku(O),P=Yu(E),u.uppy.emit("upload-start",P),S=pr(Qn(u),Vi)[Vi].wrapPromiseFunction(function(k){return u.opts.getUploadParameters(k)}),x=y.length,A.abrupt("return",Promise.allSettled(y.map(function(k,C){return m[k]=S(u.uppy.getFile(k)),m[k].then(function(F){delete m[k];var I=u.uppy.getFile(k);But(I,F);var z=F.method,U=z===void 0?"POST":z,Y=F.url,Q=F.fields,X=F.headers,$={method:U,formData:U.toUpperCase()==="POST",endpoint:Y,allowedMetaFields:Q?Object.keys(Q):[]};return X&&($.headers=X),u.uppy.setFileState(I.id,{meta:Bl(Bl({},I.meta),Q),xhrUpload:$}),u.uploadFile(I.id,C,x)}).catch(function(F){delete m[k];var I=u.uppy.getFile(k);return u.uppy.emit("upload-error",I,F),Promise.reject(F)})})).finally(function(){u.uppy.off("file-removed",b)}));case 10:case"end":return A.stop()}},d)}));function f(d){return c.apply(this,arguments)}return f}()}),Object.defineProperty(Qn(u),Qy,{writable:!0,value:function(){return pr(Qn(u),Xn)[Xn].setCompanionHeaders(u.opts.companionHeaders),Promise.resolve()}}),Object.defineProperty(Qn(u),Xq,{writable:!0,value:function(f){var d=pr(Qn(u),Gl)[Gl].getOptions(f),y=Array.isArray(d.allowedMetaFields)?d.allowedMetaFields:Object.keys(f.meta);return Bl(Bl({},f.remote.body),{},{protocol:"multipart",endpoint:d.endpoint,size:f.data.size,fieldname:d.fieldName,metadata:Object.fromEntries(y.map(function(m){return[m,f.meta[m]]})),httpMethod:d.method,useFormData:d.formData,headers:typeof d.headers=="function"?d.headers(f):d.headers})}}),u.type="uploader",u.id=u.opts.id||"AwsS3",u.title="AWS S3",u.defaultLocale=Rte;var l={timeout:30*1e3,limit:0,allowedMetaFields:[],getUploadParameters:u.getUploadParameters.bind(Qn(u)),shouldUseMultipart:!1,companionHeaders:{}};if(u.opts=Bl(Bl({},l),i),(i==null?void 0:i.allowedMetaFields)===void 0&&"metaFields"in u.opts)throw new Error("The `metaFields` option has been renamed to `allowedMetaFields`.");return u.i18nInit(),pr(Qn(u),Xn)[Xn]=new Dn(n,i),pr(Qn(u),Vi)[Vi]=new wi(u.opts.limit),u}return qut(r,[{key:e,value:function(){return pr(this,Xn)[Xn]}},{key:"client",get:function(){return pr(this,Xn)[Xn]}},{key:"client",set:function(i){pr(this,Xn)[Xn]=i}},{key:"getUploadParameters",value:function(i){if(!this.opts.companionUrl)throw new Error("Expected a `companionUrl` option containing a Companion address.");var u=i.meta.name,l=i.meta.type,c=Object.fromEntries(this.opts.allowedMetaFields.filter(function(d){return i.meta[d]!=null}).map(function(d){return["metadata[".concat(d,"]"),i.meta[d].toString()]})),f=new URLSearchParams(Bl({filename:u,type:l},c));return pr(this,Xn)[Xn].get("s3/params?".concat(f)).then(Uut)}},{key:"uploadFile",value:function(i,u,l){var c=this,f=this.uppy.getFile(i);if(this.uppy.log("uploading ".concat(u," of ").concat(l)),f.error)throw new Error(f.error);if(f.isRemote){var d=function(){return pr(c,Vi)[Vi]},y=new AbortController,m=function(E){E.id===f.id&&y.abort()};this.uppy.on("file-removed",m);var b=this.uppy.getRequestClientForFile(f).uploadRemoteFile(f,pr(this,Xq)[Xq](f),{signal:y.signal,getQueue:d});return pr(this,Vi)[Vi].wrapSyncFunction(function(){c.uppy.off("file-removed",m)},{priority:-1})(),b}return pr(this,Gl)[Gl].uploadLocalFile(f,u,l)}},{key:"install",value:function(){var i=this.uppy;i.addPreProcessor(pr(this,Qy)[Qy]),i.addUploader(pr(this,Xy)[Xy]);function u(c,f){var d=this;return Yq(c,f)?{location:Mut(f.responseURL,Zy(c,"Location")),bucket:Zy(c,"Bucket"),key:Zy(c,"Key"),etag:Zy(c,"ETag")}:d.method.toUpperCase()==="POST"?(qte||(i.log("[AwsS3] No response data found, make sure to set the success_action_status AWS SDK option to 201. See https://uppy.io/docs/aws-s3/#POST-Uploads","warning"),qte=!0),{location:null}):f.responseURL?{location:f.responseURL.replace(/\?.*$/,"")}:{location:null}}var l=Jy(Jy(Jy(Jy({fieldName:"file",responseUrlFieldName:"location",timeout:this.opts.timeout},Vu,pr(this,Vi)[Vi]),"responseType","text"),"getResponseData",this.opts.getResponseData||u),"getResponseError",Gut);l.i18n=this.i18n,pr(this,Gl)[Gl]=new xte(i,l)}},{key:"uninstall",value:function(){this.uppy.removePreProcessor(pr(this,Qy)[Qy]),this.uppy.removeUploader(pr(this,Xy)[Xy])}}]),r}(ht,Nte);Zq.VERSION=Dut.version;var $te="3.7.2",$ut=$te,zut=typeof atob=="function",Hut=typeof btoa=="function",Ap=typeof Buffer=="function",Dte=typeof TextDecoder=="function"?new TextDecoder:void 0,Mte=typeof TextEncoder=="function"?new TextEncoder:void 0,Wut="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",em=Array.prototype.slice.call(Wut),sS=function(t){var e={};return t.forEach(function(r,n){return e[r]=n}),e}(em),Vut=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Fr=String.fromCharCode.bind(String),Ute=typeof Uint8Array.from=="function"?Uint8Array.from.bind(Uint8Array):function(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(r){return r};return new Uint8Array(Array.prototype.slice.call(t,0).map(e))},zte=function(e){return e.replace(/=/g,"").replace(/[+\/]/g,function(r){return r=="+"?"-":"_"})},Hte=function(e){return e.replace(/[^A-Za-z0-9\+\/]/g,"")},Wte=function(e){for(var r,n,i,u,l="",c=e.length%3,f=0;f255||(i=e.charCodeAt(f++))>255||(u=e.charCodeAt(f++))>255)throw new TypeError("invalid character found");r=n<<16|i<<8|u,l+=em[r>>18&63]+em[r>>12&63]+em[r>>6&63]+em[r&63]}return c?l.slice(0,c-3)+"===".substring(c):l},r2=Hut?function(t){return btoa(t)}:Ap?function(t){return Buffer.from(t,"binary").toString("base64")}:Wte,e2=Ap?function(t){return Buffer.from(t).toString("base64")}:function(t){for(var e=4096,r=[],n=0,i=t.length;n1&&arguments[1]!==void 0?arguments[1]:!1;return r?zte(e2(e)):e2(e)},Kut=function(e){if(e.length<2){var r=e.charCodeAt(0);return r<128?e:r<2048?Fr(192|r>>>6)+Fr(128|r&63):Fr(224|r>>>12&15)+Fr(128|r>>>6&63)+Fr(128|r&63)}else{var r=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return Fr(240|r>>>18&7)+Fr(128|r>>>12&63)+Fr(128|r>>>6&63)+Fr(128|r&63)}},Yut=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Vte=function(e){return e.replace(Yut,Kut)},Bte=Ap?function(t){return Buffer.from(t,"utf8").toString("base64")}:Mte?function(t){return e2(Mte.encode(t))}:function(t){return r2(Vte(t))},Tp=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return r?zte(Bte(e)):Bte(e)},Gte=function(e){return Tp(e,!0)},Xut=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Qut=function(e){switch(e.length){case 4:var r=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=r-65536;return Fr((n>>>10)+55296)+Fr((n&1023)+56320);case 3:return Fr((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Fr((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},Kte=function(e){return e.replace(Xut,Qut)},Yte=function(e){if(e=e.replace(/\s+/g,""),!Vut.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(e.length&3));for(var r,n="",i,u,l=0;l>16&255):u===64?Fr(r>>16&255,r>>8&255):Fr(r>>16&255,r>>8&255,r&255);return n},n2=zut?function(t){return atob(Hte(t))}:Ap?function(t){return Buffer.from(t,"base64").toString("binary")}:Yte,Xte=Ap?function(t){return Ute(Buffer.from(t,"base64"))}:function(t){return Ute(n2(t),function(e){return e.charCodeAt(0)})},Qte=function(e){return Xte(Jte(e))},Jut=Ap?function(t){return Buffer.from(t,"base64").toString("utf8")}:Dte?function(t){return Dte.decode(Xte(t))}:function(t){return Kte(n2(t))},Jte=function(e){return Hte(e.replace(/[-_]/g,function(r){return r=="-"?"+":"/"}))},t2=function(e){return Jut(Jte(e))},Zut=function(e){if(typeof e!="string")return!1;var r=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(r)||!/[^\s0-9a-zA-Z\-_]/.test(r)},Zte=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}},ere=function(){var e=function(n,i){return Object.defineProperty(String.prototype,n,Zte(i))};e("fromBase64",function(){return t2(this)}),e("toBase64",function(r){return Tp(this,r)}),e("toBase64URI",function(){return Tp(this,!0)}),e("toBase64URL",function(){return Tp(this,!0)}),e("toUint8Array",function(){return Qte(this)})},tre=function(){var e=function(n,i){return Object.defineProperty(Uint8Array.prototype,n,Zte(i))};e("toBase64",function(r){return lS(this,r)}),e("toBase64URI",function(){return lS(this,!0)}),e("toBase64URL",function(){return lS(this,!0)})},est=function(){ere(),tre()},rre={version:$te,VERSION:$ut,atob:n2,atobPolyfill:Yte,btoa:r2,btoaPolyfill:Wte,fromBase64:t2,toBase64:Tp,encode:Tp,encodeURI:Gte,encodeURL:Gte,utob:Vte,btou:Kte,decode:t2,isValid:Zut,fromUint8Array:lS,toUint8Array:Qte,extendString:ere,extendUint8Array:tre,extendBuiltins:est};var Rre=Ce(vre());function xp(t){"@babel/helpers - typeof";return xp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xp(t)}function yre(t,e){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:null,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,c=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;if(vst(this,r),i=e.call(this,n),i.originalRequest=l,i.originalResponse=c,i.causingError=u,u!=null&&(n+=", caused by ".concat(u.toString())),l!=null){var f=l.getHeader("X-Request-ID")||"n/a",d=l.getMethod(),y=l.getURL(),m=c?c.getStatus():"n/a",b=c?c.getBody()||"":"n/a";n+=", originated from request (method: ".concat(d,", url: ").concat(y,", response code: ").concat(m,", response text: ").concat(b,", request id: ").concat(f,")")}return i.message=n,i}return pst(r)}(u2(Error)),Rp=Ost;var Sst=!1;function Zu(t){Sst&&console.log(t)}function s2(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=Math.random()*16|0,r=t==="x"?e:e&3|8;return r.toString(16)})}function l2(){"use strict";l2=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,a){s[o]=a.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(s,o,a){return Object.defineProperty(s,o,{value:a,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(a,p,v){return a[p]=v}}function y(s,o,a,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),g=new H(p||[]);return i(h,"_invoke",{value:Y(s,a,g)}),h}function m(s,o,a){try{return{type:"normal",arg:s.call(o,a)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var b="suspendedStart",O="suspendedYield",E="executing",P="completed",S={};function x(){}function R(){}function A(){}var k={};d(k,l,function(){return this});var C=Object.getPrototypeOf,F=C&&C(C(V([])));F&&F!==r&&n.call(F,l)&&(k=F);var I=A.prototype=x.prototype=Object.create(k);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(a){return this._invoke(o,a)})})}function U(s,o){function a(v,h,g,w){var _=m(s[v],s,h);if(_.type!=="throw"){var j=_.arg,q=j.value;return q&&$l(q)=="object"&&n.call(q,"__await")?o.resolve(q.__await).then(function(N){a("next",N,g,w)},function(N){a("throw",N,g,w)}):o.resolve(q).then(function(N){j.value=N,g(j)},function(N){return a("throw",N,g,w)})}w(_.arg)}var p;i(this,"_invoke",{value:function(h,g){function w(){return new o(function(_,j){a(h,g,_,j)})}return p=p?p.then(w,w):w()}})}function Y(s,o,a){var p=b;return function(v,h){if(p===E)throw new Error("Generator is already running");if(p===P){if(v==="throw")throw h;return{value:t,done:!0}}for(a.method=v,a.arg=h;;){var g=a.delegate;if(g){var w=Q(g,a);if(w){if(w===S)continue;return w}}if(a.method==="next")a.sent=a._sent=a.arg;else if(a.method==="throw"){if(p===b)throw p=P,a.arg;a.dispatchException(a.arg)}else a.method==="return"&&a.abrupt("return",a.arg);p=E;var _=m(s,o,a);if(_.type==="normal"){if(p=a.done?P:O,_.arg===S)continue;return{value:_.arg,done:a.done}}_.type==="throw"&&(p=P,a.method="throw",a.arg=_.arg)}}}function Q(s,o){var a=o.method,p=s.iterator[a];if(p===t)return o.delegate=null,a==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||a!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),S;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,S;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,S):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,S)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function V(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var a=-1,p=function v(){for(;++a=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function gre(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function _st(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){gre(u,n,i,l,c,"next",f)}function c(f){gre(u,n,i,l,c,"throw",f)}l(void 0)})}}function Are(t,e){return Ast(t)||Tst(t,e)||Est(t,e)||Pst()}function Pst(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Est(t,e){if(t){if(typeof t=="string")return bre(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return bre(t,e)}}function bre(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r1)for(var u=0,l=["uploadUrl","uploadSize","uploadLengthDeferred"];u1||r._parallelUploadUrls!=null?r._startParallelUpload():r._startSingleUpload()}).catch(function(f){r._emitError(f)})}},{key:"_startParallelUpload",value:function(){var r,n=this,i=this._size,u=0;this._parallelUploads=[];var l=this._parallelUploadUrls!=null?this._parallelUploadUrls.length:this.options.parallelUploads,c=(r=this.options.parallelUploadBoundaries)!==null&&r!==void 0?r:Fst(this._source.size,l);this._parallelUploadUrls&&c.forEach(function(y,m){y.uploadUrl=n._parallelUploadUrls[m]||null}),this._parallelUploadUrls=new Array(c.length);var f=c.map(function(y,m){var b=0;return n._source.slice(y.start,y.end).then(function(O){var E=O.value;return new Promise(function(P,S){var x=Ip(Ip({},n.options),{},{uploadUrl:y.uploadUrl||null,storeFingerprintForResuming:!1,removeFingerprintOnSuccess:!1,parallelUploads:1,parallelUploadBoundaries:null,metadata:{},headers:Ip(Ip({},n.options.headers),{},{"Upload-Concat":"partial"}),onSuccess:P,onError:S,onProgress:function(k){u=u-b+k,b=k,n._emitProgress(u,i)},onUploadUrlAvailable:function(){n._parallelUploadUrls[m]=R.url,n._parallelUploadUrls.filter(function(k){return!!k}).length===c.length&&n._saveUploadInUrlStorage()}}),R=new t(E,x);R.start(),n._parallelUploads.push(R)})})}),d;Promise.all(f).then(function(){d=n._openRequest("POST",n.options.endpoint),d.setHeader("Upload-Concat","final;".concat(n._parallelUploadUrls.join(" ")));var y=Sre(n.options.metadata);return y!==""&&d.setHeader("Upload-Metadata",y),n._sendRequest(d,null)}).then(function(y){if(!kp(y.getStatus(),200)){n._emitHttpError(d,y,"tus: unexpected response while creating upload");return}var m=y.getHeader("Location");if(m==null){n._emitHttpError(d,y,"tus: invalid or missing Location header");return}n.url=Tre(n.options.endpoint,m),Zu("Created upload at ".concat(n.url)),n._emitSuccess()}).catch(function(y){n._emitError(y)})}},{key:"_startSingleUpload",value:function(){if(this._aborted=!1,this.url!=null){Zu("Resuming upload from previous URL: ".concat(this.url)),this._resumeUpload();return}if(this.options.uploadUrl!=null){Zu("Resuming upload from provided URL: ".concat(this.options.uploadUrl)),this.url=this.options.uploadUrl,this._resumeUpload();return}Zu("Creating a new upload"),this._createUpload()}},{key:"abort",value:function(r){var n=this;return this._parallelUploads!=null&&this._parallelUploads.forEach(function(i){i.abort(r)}),this._req!==null&&this._req.abort(),this._aborted=!0,this._retryTimeout!=null&&(clearTimeout(this._retryTimeout),this._retryTimeout=null),!r||this.url==null?Promise.resolve():t.terminate(this.url,this.options).then(function(){return n._removeFromUrlStorage()})}},{key:"_emitHttpError",value:function(r,n,i,u){this._emitError(new Rp(i,u,r,n))}},{key:"_emitError",value:function(r){var n=this;if(!this._aborted){if(this.options.retryDelays!=null){var i=this._offset!=null&&this._offset>this._offsetBeforeRetry;if(i&&(this._retryAttempt=0),Ere(r,this._retryAttempt,this.options)){var u=this.options.retryDelays[this._retryAttempt++];this._offsetBeforeRetry=this._offset,this._retryTimeout=setTimeout(function(){n.start()},u);return}}if(typeof this.options.onError=="function")this.options.onError(r);else throw r}}},{key:"_emitSuccess",value:function(){this.options.removeFingerprintOnSuccess&&this._removeFromUrlStorage(),typeof this.options.onSuccess=="function"&&this.options.onSuccess()}},{key:"_emitProgress",value:function(r,n){typeof this.options.onProgress=="function"&&this.options.onProgress(r,n)}},{key:"_emitChunkComplete",value:function(r,n,i){typeof this.options.onChunkComplete=="function"&&this.options.onChunkComplete(r,n,i)}},{key:"_createUpload",value:function(){var r=this;if(!this.options.endpoint){this._emitError(new Error("tus: unable to create upload because no endpoint is provided"));return}var n=this._openRequest("POST",this.options.endpoint);this.options.uploadLengthDeferred?n.setHeader("Upload-Defer-Length",1):n.setHeader("Upload-Length",this._size);var i=Sre(this.options.metadata);i!==""&&n.setHeader("Upload-Metadata",i);var u;this.options.uploadDataDuringCreation&&!this.options.uploadLengthDeferred?(this._offset=0,u=this._addChunkToRequest(n)):u=this._sendRequest(n,null),u.then(function(l){if(!kp(l.getStatus(),200)){r._emitHttpError(n,l,"tus: unexpected response while creating upload");return}var c=l.getHeader("Location");if(c==null){r._emitHttpError(n,l,"tus: invalid or missing Location header");return}if(r.url=Tre(r.options.endpoint,c),Zu("Created upload at ".concat(r.url)),typeof r.options.onUploadUrlAvailable=="function"&&r.options.onUploadUrlAvailable(),r._size===0){r._emitSuccess(),r._source.close();return}r._saveUploadInUrlStorage().then(function(){r.options.uploadDataDuringCreation?r._handleUploadResponse(n,l):(r._offset=0,r._performUpload())})}).catch(function(l){r._emitHttpError(n,null,"tus: failed to create upload",l)})}},{key:"_resumeUpload",value:function(){var r=this,n=this._openRequest("HEAD",this.url),i=this._sendRequest(n,null);i.then(function(u){var l=u.getStatus();if(!kp(l,200)){if(l===423){r._emitHttpError(n,u,"tus: upload is currently locked; retry later");return}if(kp(l,400)&&r._removeFromUrlStorage(),!r.options.endpoint){r._emitHttpError(n,u,"tus: unable to resume upload (new upload cannot be created without an endpoint)");return}r.url=null,r._createUpload();return}var c=parseInt(u.getHeader("Upload-Offset"),10);if(Number.isNaN(c)){r._emitHttpError(n,u,"tus: invalid or missing offset value");return}var f=parseInt(u.getHeader("Upload-Length"),10);if(Number.isNaN(f)&&!r.options.uploadLengthDeferred){r._emitHttpError(n,u,"tus: invalid or missing length value");return}typeof r.options.onUploadUrlAvailable=="function"&&r.options.onUploadUrlAvailable(),r._saveUploadInUrlStorage().then(function(){if(c===f){r._emitProgress(f,f),r._emitSuccess();return}r._offset=c,r._performUpload()})}).catch(function(u){r._emitHttpError(n,null,"tus: failed to resume upload",u)})}},{key:"_performUpload",value:function(){var r=this;if(!this._aborted){var n;this.options.overridePatchMethod?(n=this._openRequest("POST",this.url),n.setHeader("X-HTTP-Method-Override","PATCH")):n=this._openRequest("PATCH",this.url),n.setHeader("Upload-Offset",this._offset);var i=this._addChunkToRequest(n);i.then(function(u){if(!kp(u.getStatus(),200)){r._emitHttpError(n,u,"tus: unexpected response while uploading chunk");return}r._handleUploadResponse(n,u)}).catch(function(u){r._aborted||r._emitHttpError(n,null,"tus: failed to upload chunk at offset ".concat(r._offset),u)})}}},{key:"_addChunkToRequest",value:function(r){var n=this,i=this._offset,u=this._offset+this.options.chunkSize;return r.setProgressHandler(function(l){n._emitProgress(i+l,n._size)}),r.setHeader("Content-Type","application/offset+octet-stream"),(u===1/0||u>this._size)&&!this.options.uploadLengthDeferred&&(u=this._size),this._source.slice(i,u).then(function(l){var c=l.value,f=l.done,d=c&&c.size?c.size:0;n.options.uploadLengthDeferred&&f&&(n._size=n._offset+d,r.setHeader("Upload-Length",n._size));var y=n._offset+d;return!n.options.uploadLengthDeferred&&f&&y!==n._size?Promise.reject(new Error("upload was configured with a size of ".concat(n._size," bytes, but the source is done after ").concat(y," bytes"))):c===null?n._sendRequest(r):(n._emitProgress(n._offset,n._size),n._sendRequest(r,c))})}},{key:"_handleUploadResponse",value:function(r,n){var i=parseInt(n.getHeader("Upload-Offset"),10);if(Number.isNaN(i)){this._emitHttpError(r,n,"tus: invalid or missing offset value");return}if(this._emitProgress(i,this._size),this._emitChunkComplete(i-this._offset,i,this._size),this._offset=i,i===this._size){this._emitSuccess(),this._source.close();return}this._performUpload()}},{key:"_openRequest",value:function(r,n){var i=_re(r,n,this.options);return this._req=i,i}},{key:"_removeFromUrlStorage",value:function(){var r=this;this._urlStorageKey&&(this._urlStorage.removeUpload(this._urlStorageKey).catch(function(n){r._emitError(n)}),this._urlStorageKey=null)}},{key:"_saveUploadInUrlStorage",value:function(){var r=this;if(!this.options.storeFingerprintForResuming||!this._fingerprint||this._urlStorageKey!==null)return Promise.resolve();var n={size:this._size,metadata:this.options.metadata,creationTime:new Date().toString()};return this._parallelUploads?n.parallelUploadUrls=this._parallelUploadUrls:n.uploadUrl=this.url,this._urlStorage.addUpload(this._fingerprint,n).then(function(i){r._urlStorageKey=i})}},{key:"_sendRequest",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Pre(r,n,this.options)}}],[{key:"terminate",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=_re("DELETE",r,n);return Pre(i,null,n).then(function(u){if(u.getStatus()!==204)throw new Rp("tus: unexpected response while terminating upload",null,i,u)}).catch(function(u){if(u instanceof Rp||(u=new Rp("tus: failed to terminate upload",u,i,null)),!Ere(u,0,n))throw u;var l=n.retryDelays[0],c=n.retryDelays.slice(1),f=Ip(Ip({},n),{},{retryDelays:c});return new Promise(function(d){return setTimeout(d,l)}).then(function(){return t.terminate(r,f)})})}}]),t}();function Sre(t){return Object.entries(t).map(function(e){var r=Are(e,2),n=r[0],i=r[1];return"".concat(n," ").concat(rre.encode(String(i)))}).join(",")}function kp(t,e){return t>=e&&t=r.retryDelays.length||t.originalRequest==null?!1:r&&typeof r.onShouldRetry=="function"?r.onShouldRetry(t,e,r):kre(t)}function kre(t){var e=t.originalResponse?t.originalResponse.getStatus():0;return(!kp(e,400)||e===409||e===423)&&qst()}function Tre(t,e){return new Rre.default(e,t).toString()}function Fst(t,e){for(var r=Math.floor(t/e),n=[],i=0;i0&&arguments[0]!==void 0?arguments[0]:null;return new Promise(function(i,u){r._xhr.onload=function(){i(new Wst(r._xhr))},r._xhr.onerror=function(l){u(l)},r._xhr.send(n)})}},{key:"abort",value:function(){return this._xhr.abort(),Promise.resolve()}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]),t}(),Wst=function(){function t(e){h2(this,t),this._xhr=e}return d2(t,[{key:"getStatus",value:function(){return this._xhr.status}},{key:"getHeader",value:function(r){return this._xhr.getResponseHeader(r)}},{key:"getBody",value:function(){return this._xhr.responseText}},{key:"getUnderlyingObject",value:function(){return this._xhr}}]),t}();var Vst=function(){return typeof navigator!="undefined"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative"},dS=Vst;function v2(t){return new Promise(function(e,r){var n=new XMLHttpRequest;n.responseType="blob",n.onload=function(){var i=n.response;e(i)},n.onerror=function(i){r(i)},n.open("GET",t),n.send()})}var Kst=function(){return typeof window!="undefined"&&(typeof window.PhoneGap!="undefined"||typeof window.Cordova!="undefined"||typeof window.cordova!="undefined")},Mre=Kst;function y2(t){return new Promise(function(e,r){var n=new FileReader;n.onload=function(){var i=new Uint8Array(n.result);e({value:i})},n.onerror=function(i){r(i)},n.readAsArrayBuffer(t)})}function um(t){"@babel/helpers - typeof";return um=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},um(t)}function Yst(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ure(t,e){for(var r=0;r=this.size;return Promise.resolve({value:i,done:u})}},{key:"close",value:function(){}}]),t}();function sm(t){"@babel/helpers - typeof";return sm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sm(t)}function Zst(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bre(t,e){for(var r=0;rthis._bufferOffset&&(this._buffer=this._buffer.slice(r-this._bufferOffset),this._bufferOffset=r);var i=Gre(this._buffer)===0;return this._done&&i?null:this._buffer.slice(0,n-r)}},{key:"close",value:function(){this._reader.cancel&&this._reader.cancel()}}]),t}();function zl(t){"@babel/helpers - typeof";return zl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},zl(t)}function g2(){"use strict";g2=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,a){s[o]=a.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(s,o,a){return Object.defineProperty(s,o,{value:a,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(a,p,v){return a[p]=v}}function y(s,o,a,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),g=new H(p||[]);return i(h,"_invoke",{value:Y(s,a,g)}),h}function m(s,o,a){try{return{type:"normal",arg:s.call(o,a)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var b="suspendedStart",O="suspendedYield",E="executing",P="completed",S={};function x(){}function R(){}function A(){}var k={};d(k,l,function(){return this});var C=Object.getPrototypeOf,F=C&&C(C(V([])));F&&F!==r&&n.call(F,l)&&(k=F);var I=A.prototype=x.prototype=Object.create(k);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(a){return this._invoke(o,a)})})}function U(s,o){function a(v,h,g,w){var _=m(s[v],s,h);if(_.type!=="throw"){var j=_.arg,q=j.value;return q&&zl(q)=="object"&&n.call(q,"__await")?o.resolve(q.__await).then(function(N){a("next",N,g,w)},function(N){a("throw",N,g,w)}):o.resolve(q).then(function(N){j.value=N,g(j)},function(N){return a("throw",N,g,w)})}w(_.arg)}var p;i(this,"_invoke",{value:function(h,g){function w(){return new o(function(_,j){a(h,g,_,j)})}return p=p?p.then(w,w):w()}})}function Y(s,o,a){var p=b;return function(v,h){if(p===E)throw new Error("Generator is already running");if(p===P){if(v==="throw")throw h;return{value:t,done:!0}}for(a.method=v,a.arg=h;;){var g=a.delegate;if(g){var w=Q(g,a);if(w){if(w===S)continue;return w}}if(a.method==="next")a.sent=a._sent=a.arg;else if(a.method==="throw"){if(p===b)throw p=P,a.arg;a.dispatchException(a.arg)}else a.method==="return"&&a.abrupt("return",a.arg);p=E;var _=m(s,o,a);if(_.type==="normal"){if(p=a.done?P:O,_.arg===S)continue;return{value:_.arg,done:a.done}}_.type==="throw"&&(p=P,a.method="throw",a.arg=_.arg)}}}function Q(s,o){var a=o.method,p=s.iterator[a];if(p===t)return o.delegate=null,a==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||a!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),S;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,S;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,S):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,S)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function V(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var a=-1,p=function v(){for(;++a=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function zre(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function ilt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){zre(u,n,i,l,c,"next",f)}function c(f){zre(u,n,i,l,c,"throw",f)}l(void 0)})}}function olt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hre(t,e){for(var r=0;r0&&arguments[0]!==void 0?arguments[0]:null,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return flt(this,r),i=jp(jp({},yS),i),e.call(this,n,i)}return plt(r,null,[{key:"terminate",value:function(i){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return u=jp(jp({},yS),u),pS.terminate(i,u)}}]),r}(pS),Jre=window,wlt=Jre.XMLHttpRequest,Yre=Jre.Blob,xRt=wlt&&Yre&&typeof Yre.prototype.slice=="function";function Olt(){return typeof window!="undefined"&&(typeof window.PhoneGap!="undefined"||typeof window.Cordova!="undefined"||typeof window.cordova!="undefined")}function Slt(){return typeof navigator!="undefined"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative"}function O2(t){return function(e,r){if(Olt()||Slt())return yS.fingerprint(e,r);var n=["tus",t.id,r.endpoint].join("-");return Promise.resolve(n)}}function es(t){"@babel/helpers - typeof";return es=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},es(t)}var _lt=["onShouldRetry","onBeforeRequest"];function Plt(t,e){if(t==null)return{};var r=Elt(t,e),n,i;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function Elt(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,u;for(u=0;u=0)&&(r[i]=t[i]);return r}function Wl(){"use strict";Wl=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,a){s[o]=a.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(s,o,a){return Object.defineProperty(s,o,{value:a,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(a,p,v){return a[p]=v}}function y(s,o,a,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),g=new H(p||[]);return i(h,"_invoke",{value:Y(s,a,g)}),h}function m(s,o,a){try{return{type:"normal",arg:s.call(o,a)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var b="suspendedStart",O="suspendedYield",E="executing",P="completed",S={};function x(){}function R(){}function A(){}var k={};d(k,l,function(){return this});var C=Object.getPrototypeOf,F=C&&C(C(V([])));F&&F!==r&&n.call(F,l)&&(k=F);var I=A.prototype=x.prototype=Object.create(k);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(a){return this._invoke(o,a)})})}function U(s,o){function a(v,h,g,w){var _=m(s[v],s,h);if(_.type!=="throw"){var j=_.arg,q=j.value;return q&&es(q)=="object"&&n.call(q,"__await")?o.resolve(q.__await).then(function(N){a("next",N,g,w)},function(N){a("throw",N,g,w)}):o.resolve(q).then(function(N){j.value=N,g(j)},function(N){return a("throw",N,g,w)})}w(_.arg)}var p;i(this,"_invoke",{value:function(h,g){function w(){return new o(function(_,j){a(h,g,_,j)})}return p=p?p.then(w,w):w()}})}function Y(s,o,a){var p=b;return function(v,h){if(p===E)throw new Error("Generator is already running");if(p===P){if(v==="throw")throw h;return{value:t,done:!0}}for(a.method=v,a.arg=h;;){var g=a.delegate;if(g){var w=Q(g,a);if(w){if(w===S)continue;return w}}if(a.method==="next")a.sent=a._sent=a.arg;else if(a.method==="throw"){if(p===b)throw p=P,a.arg;a.dispatchException(a.arg)}else a.method==="return"&&a.abrupt("return",a.arg);p=E;var _=m(s,o,a);if(_.type==="normal"){if(p=a.done?P:O,_.arg===S)continue;return{value:_.arg,done:a.done}}_.type==="throw"&&(p=P,a.method="throw",a.arg=_.arg)}}}function Q(s,o){var a=o.method,p=s.iterator[a];if(p===t)return o.delegate=null,a==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||a!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),S;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,S;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,S):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,S)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function V(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var a=-1,p=function v(){for(;++a=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function ene(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function A2(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){ene(u,n,i,l,c,"next",f)}function c(f){ene(u,n,i,l,c,"throw",f)}l(void 0)})}}function tne(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function hr(t){for(var e=1;e400&&C<500&&C!==409&&C!==423)return!1;typeof navigator!="undefined"&&navigator.onLine===!1&&(e.requests.isPaused||(e.requests.pause(),window.addEventListener("online",function(){e.requests.resume()},{once:!0})))}return u.abort(),u={shouldBeRequeued:!0,abort:function(){this.shouldBeRequeued=!1},done:function(){throw new Error("Cannot mark a queued request as done: this indicates a bug")},fn:function(){throw new Error("Cannot run a queued request: this indicates a bug")}},!0};d!=null?b.onShouldRetry=function(R,A){return d(R,A,f,O)}:b.onShouldRetry=O;var E=function(A,k,C){Cn(A,k)&&!Cn(A,C)&&(A[C]=A[k])},P={},S=Array.isArray(f.allowedMetaFields)?f.allowedMetaFields:Object.keys(t.meta);S.forEach(function(R){P[R]=String(t.meta[R])}),E(P,"type","filetype"),E(P,"name","filename"),b.metadata=P,c=new Qre(t.data,b),e.uploaders[t.id]=c;var x=new Sp(e.uppy);e.uploaderEvents[t.id]=x,l=function(){return t.isPaused||c.start(),function(){}},c.findPreviousUploads().then(function(R){var A=R[0];A&&(e.uppy.log("[Tus] Resuming upload of ".concat(t.id," started at ").concat(A.creationTime)),c.resumeFromPreviousUpload(A))}),u=e.requests.run(l),x.onFileRemove(t.id,function(R){u.abort(),e.resetUploaderReferences(t.id,{abort:!!c.url}),n("upload ".concat(R," was removed"))}),x.onPause(t.id,function(R){u.abort(),R?c.abort():u=e.requests.run(l)}),x.onPauseAll(t.id,function(){u.abort(),c.abort()}),x.onCancelAll(t.id,function(R){var A=R===void 0?{}:R,k=A.reason;k==="user"&&(u.abort(),r.resetUploaderReferences(t.id,{abort:!!c.url})),n("upload ".concat(t.id," was canceled"))}),x.onResumeAll(t.id,function(){u.abort(),t.error&&c.abort(),u=e.requests.run(l)})}).catch(function(n){throw e.uppy.emit("upload-error",t,n),n})}function Nlt(t){var e,r=hr({},this.opts);return t.tus&&Object.assign(r,t.tus),typeof r.headers=="function"&&(r.headers=r.headers(t)),hr(hr({},(e=t.remote)==null?void 0:e.body),{},{endpoint:r.endpoint,uploadUrl:r.uploadUrl,protocol:"tus",size:t.data.size,headers:r.headers,metadata:t.meta})}function Dlt(t){return T2.apply(this,arguments)}function T2(){return T2=A2(Wl().mark(function t(e){var r=this,n,i;return Wl().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return n=Ku(e),i=Yu(n),this.uppy.emit("upload-start",i),l.next=5,Promise.allSettled(n.map(function(c){if(c.isRemote){var f=function(){return r.requests},d=new AbortController,y=function(O){O.id===c.id&&d.abort()};r.uppy.on("file-removed",y);var m=r.uppy.getRequestClientForFile(c).uploadRemoteFile(c,Hl(r,E2)[E2](c),{signal:d.signal,getQueue:f});return r.requests.wrapSyncFunction(function(){r.uppy.off("file-removed",y)},{priority:-1})(),m}return Hl(r,P2)[P2](c)}));case 5:case"end":return l.stop()}},t,this)})),T2.apply(this,arguments)}Fp.VERSION=Flt.version;var fne=Ce(R2(),1);function ts(t){"@babel/helpers - typeof";return ts=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ts(t)}function q2(){"use strict";q2=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,a){s[o]=a.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(s,o,a){return Object.defineProperty(s,o,{value:a,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(a,p,v){return a[p]=v}}function y(s,o,a,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),g=new H(p||[]);return i(h,"_invoke",{value:Y(s,a,g)}),h}function m(s,o,a){try{return{type:"normal",arg:s.call(o,a)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var b="suspendedStart",O="suspendedYield",E="executing",P="completed",S={};function x(){}function R(){}function A(){}var k={};d(k,l,function(){return this});var C=Object.getPrototypeOf,F=C&&C(C(V([])));F&&F!==r&&n.call(F,l)&&(k=F);var I=A.prototype=x.prototype=Object.create(k);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(a){return this._invoke(o,a)})})}function U(s,o){function a(v,h,g,w){var _=m(s[v],s,h);if(_.type!=="throw"){var j=_.arg,q=j.value;return q&&ts(q)=="object"&&n.call(q,"__await")?o.resolve(q.__await).then(function(N){a("next",N,g,w)},function(N){a("throw",N,g,w)}):o.resolve(q).then(function(N){j.value=N,g(j)},function(N){return a("throw",N,g,w)})}w(_.arg)}var p;i(this,"_invoke",{value:function(h,g){function w(){return new o(function(_,j){a(h,g,_,j)})}return p=p?p.then(w,w):w()}})}function Y(s,o,a){var p=b;return function(v,h){if(p===E)throw new Error("Generator is already running");if(p===P){if(v==="throw")throw h;return{value:t,done:!0}}for(a.method=v,a.arg=h;;){var g=a.delegate;if(g){var w=Q(g,a);if(w){if(w===S)continue;return w}}if(a.method==="next")a.sent=a._sent=a.arg;else if(a.method==="throw"){if(p===b)throw p=P,a.arg;a.dispatchException(a.arg)}else a.method==="return"&&a.abrupt("return",a.arg);p=E;var _=m(s,o,a);if(_.type==="normal"){if(p=a.done?P:O,_.arg===S)continue;return{value:_.arg,done:a.done}}_.type==="throw"&&(p=P,a.method="throw",a.arg=_.arg)}}}function Q(s,o){var a=o.method,p=s.iterator[a];if(p===t)return o.delegate=null,a==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||a!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),S;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,S;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,S):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,S)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function V(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var a=-1,p=function v(){for(;++a=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function ane(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Ult(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){ane(u,n,i,l,c,"next",f)}function c(f){ane(u,n,i,l,c,"throw",f)}l(void 0)})}}function Blt(t,e){return Hlt(t)||zlt(t,e)||$lt(t,e)||Glt()}function Glt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $lt(t,e){if(t){if(typeof t=="string")return une(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return une(t,e)}}function une(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=lne.indexOf(e)}var Kl=qo("rateLimitedQueue"),pm=qo("fetchWithNetworkError"),Vl=qo("previousFetchStatusStillPending"),Bt=qo("sse"),N2=qo("onFinished"),I2=qo("connectServerSentEvents"),Ki=qo("onError"),k2=qo("beginPolling"),Fa=qo("fetchStatus"),j2=qo("diffStatus"),tct=function(t){Jlt(e,t);function e(r,n){var i;return Wlt(this,e),i=Xlt(this,e),Object.defineProperty(Zn(i),j2,{value:uct}),Object.defineProperty(Zn(i),Fa,{value:act}),Object.defineProperty(Zn(i),k2,{value:oct}),Object.defineProperty(Zn(i),Ki,{value:ict}),Object.defineProperty(Zn(i),I2,{value:nct}),Object.defineProperty(Zn(i),N2,{value:rct}),Object.defineProperty(Zn(i),Kl,{writable:!0,value:void 0}),Object.defineProperty(Zn(i),pm,{writable:!0,value:void 0}),Object.defineProperty(Zn(i),Vl,{writable:!0,value:!1}),Object.defineProperty(Zn(i),Bt,{writable:!0,value:void 0}),i.status=r,i.pollInterval=null,i.closed=!1,Je(Zn(i),Kl)[Kl]=n,Je(Zn(i),pm)[pm]=n.wrapPromiseFunction(ol),i}return Vlt(e,[{key:"connect",value:function(){Je(this,I2)[I2](),Je(this,k2)[k2]()}},{key:"update",value:function(){return Je(this,Fa)[Fa]({diff:!0})}},{key:"updateStatus",value:function(n){Je(this,j2)[j2](this.status,n),this.status=n}},{key:"close",value:function(){this.closed=!0,Je(this,Bt)[Bt]&&(Je(this,Bt)[Bt].close(),Je(this,Bt)[Bt]=null),clearInterval(this.pollInterval),this.pollInterval=null}}]),e}(fne.default);function rct(){this.emit("finished"),this.close()}function nct(){var t=this;Je(this,Bt)[Bt]=new EventSource("".concat(this.status.websocket_url,"?assembly=").concat(this.status.assembly_id)),Je(this,Bt)[Bt].addEventListener("open",function(){clearInterval(t.pollInterval),t.pollInterval=null}),Je(this,Bt)[Bt].addEventListener("message",function(e){e.data==="assembly_finished"&&Je(t,N2)[N2](),e.data==="assembly_uploading_finished"&&t.emit("executing"),e.data==="assembly_upload_meta_data_extracted"&&(t.emit("metadata"),Je(t,Fa)[Fa]({diff:!1}))}),Je(this,Bt)[Bt].addEventListener("assembly_upload_finished",function(e){var r=JSON.parse(e.data);t.status.uploads.push(r),t.emit("upload",r)}),Je(this,Bt)[Bt].addEventListener("assembly_result_finished",function(e){var r,n,i=JSON.parse(e.data),u=Blt(i,2),l=u[0],c=u[1];((n=(r=t.status.results)[l])!=null?n:r[l]=[]).push(c),t.emit("result",l,c)}),Je(this,Bt)[Bt].addEventListener("assembly_execution_progress",function(e){var r=JSON.parse(e.data);t.emit("execution-progress",r)}),Je(this,Bt)[Bt].addEventListener("assembly_error",function(e){try{Je(t,Ki)[Ki](JSON.parse(e.data))}catch(r){Je(t,Ki)[Ki](new Error(e.data))}Je(t,Fa)[Fa]({diff:!1})})}function ict(t){this.emit("error",Object.assign(new Error(t.message),t)),this.close()}function oct(){var t=this;this.pollInterval=setInterval(function(){Je(t,Fa)[Fa]()},2e3)}function act(t){return D2.apply(this,arguments)}function D2(){return D2=Ult(q2().mark(function t(e){var r,n,i,u,l;return q2().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:if(r=e===void 0?{}:e,n=r.diff,i=n===void 0?!0:n,!(this.closed||Je(this,Kl)[Kl].isPaused||Je(this,Vl)[Vl])){f.next=3;break}return f.abrupt("return");case 3:return f.prev=3,Je(this,Vl)[Vl]=!0,f.next=7,Je(this,pm)[pm](this.status.assembly_ssl_url);case 7:if(u=f.sent,Je(this,Vl)[Vl]=!1,!this.closed){f.next=11;break}return f.abrupt("return");case 11:if(u.status!==429){f.next=14;break}return Je(this,Kl)[Kl].rateLimit(2e3),f.abrupt("return");case 14:if(u.ok){f.next=17;break}return Je(this,Ki)[Ki](new Dr(u.statusText)),f.abrupt("return");case 17:return f.next=19,u.json();case 19:if(l=f.sent,!this.closed){f.next=22;break}return f.abrupt("return");case 22:this.emit("status",l),i?this.updateStatus(l):this.status=l,f.next=29;break;case 26:f.prev=26,f.t0=f.catch(3),Je(this,Ki)[Ki](f.t0);case 29:case"end":return f.stop()}},t,this,[[3,26]])})),D2.apply(this,arguments)}function uct(t,e){var r=this,n=t.ok,i=e.ok;if(e.error&&!t.error)return Je(this,Ki)[Ki](e);var u=gS(i,L2)&&!gS(n,L2);u&&this.emit("executing"),Object.keys(e.uploads).filter(function(l){return!Cn(t.uploads,l)}).forEach(function(l){r.emit("upload",e.uploads[l])}),u&&this.emit("metadata"),Object.keys(e.results).forEach(function(l){var c=e.results[l],f=t.results[l];c.filter(function(d){return!f||!f.some(function(y){return y.id===d.id})}).forEach(function(d){r.emit("result",l,d)})}),gS(i,C2)&&!gS(n,C2)&&this.emit("finished")}var M2=tct;function rs(t){"@babel/helpers - typeof";return rs=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rs(t)}function un(){"use strict";un=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,a){s[o]=a.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(s,o,a){return Object.defineProperty(s,o,{value:a,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(a,p,v){return a[p]=v}}function y(s,o,a,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),g=new H(p||[]);return i(h,"_invoke",{value:Y(s,a,g)}),h}function m(s,o,a){try{return{type:"normal",arg:s.call(o,a)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var b="suspendedStart",O="suspendedYield",E="executing",P="completed",S={};function x(){}function R(){}function A(){}var k={};d(k,l,function(){return this});var C=Object.getPrototypeOf,F=C&&C(C(V([])));F&&F!==r&&n.call(F,l)&&(k=F);var I=A.prototype=x.prototype=Object.create(k);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(a){return this._invoke(o,a)})})}function U(s,o){function a(v,h,g,w){var _=m(s[v],s,h);if(_.type!=="throw"){var j=_.arg,q=j.value;return q&&rs(q)=="object"&&n.call(q,"__await")?o.resolve(q.__await).then(function(N){a("next",N,g,w)},function(N){a("throw",N,g,w)}):o.resolve(q).then(function(N){j.value=N,g(j)},function(N){return a("throw",N,g,w)})}w(_.arg)}var p;i(this,"_invoke",{value:function(h,g){function w(){return new o(function(_,j){a(h,g,_,j)})}return p=p?p.then(w,w):w()}})}function Y(s,o,a){var p=b;return function(v,h){if(p===E)throw new Error("Generator is already running");if(p===P){if(v==="throw")throw h;return{value:t,done:!0}}for(a.method=v,a.arg=h;;){var g=a.delegate;if(g){var w=Q(g,a);if(w){if(w===S)continue;return w}}if(a.method==="next")a.sent=a._sent=a.arg;else if(a.method==="throw"){if(p===b)throw p=P,a.arg;a.dispatchException(a.arg)}else a.method==="return"&&a.abrupt("return",a.arg);p=E;var _=m(s,o,a);if(_.type==="normal"){if(p=a.done?P:O,_.arg===S)continue;return{value:_.arg,done:a.done}}_.type==="throw"&&(p=P,a.method="throw",a.arg=_.arg)}}}function Q(s,o){var a=o.method,p=s.iterator[a];if(p===t)return o.delegate=null,a==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||a!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),S;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,S;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,S):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,S)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function V(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var a=-1,p=function v(){for(;++a=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function pne(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Yl(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){pne(u,n,i,l,c,"next",f)}function c(f){pne(u,n,i,l,c,"throw",f)}l(void 0)})}}function hne(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function bct(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gne(t,e){for(var r=0;r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return u=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!u&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function Pct(t,e){if(t){if(typeof t=="string")return wne(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return wne(t,e)}}function wne(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0)){c.next=3;break}return c.abrupt("return",Promise.all(this.files.map(function(){var f=$2(Xl().mark(function d(y){var m;return Xl().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:if(y!=null){O.next=2;break}return O.abrupt("return",void 0);case 2:return O.next=4,One(y,i);case 4:if(m=O.sent,y!=null){O.next=7;break}return O.abrupt("return",void 0);case 7:return O.abrupt("return",{fileIDs:[y.id],options:m});case 8:case"end":return O.stop()}},d)}));return function(d){return f.apply(this,arguments)}}())).then(Ect));case 3:if(!i.alwaysRunAssembly){c.next=8;break}return c.next=6,One(null,i);case 6:return u=c.sent,c.abrupt("return",[{fileIDs:[],options:u}]);case 8:return c.abrupt("return",[]);case 9:case"end":return c.stop()}},n,this)}));function r(){return e.apply(this,arguments)}return r}()}]),t}(),Sne=Tct;var Ene=Ce(R2(),1);function Lp(t){"@babel/helpers - typeof";return Lp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Lp(t)}function _ne(t,e){for(var r=0;r=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return u=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!u&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function $ct(t,e){return Wct(t)||Hct(t,e)||pF(t,e)||zct()}function zct(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function pF(t,e){if(t){if(typeof t=="string")return aF(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return aF(t,e)}}function aF(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function xne(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Am(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){xne(u,n,i,l,c,"next",f)}function c(f){xne(u,n,i,l,c,"throw",f)}l(void 0)})}}function Rne(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Xe(t){for(var e=1;e=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function Cne(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Nne(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){Cne(u,n,i,l,c,"next",f)}function c(f){Cne(u,n,i,l,c,"throw",f)}l(void 0)})}}var _S=function(){};function Dne(t,e){e===void 0&&(e={});var r=e,n=r.body,i=n===void 0?null:n,u=r.headers,l=u===void 0?{}:u,c=r.method,f=c===void 0?"GET":c,d=r.onBeforeRequest,y=d===void 0?_S:d,m=r.onUploadProgress,b=m===void 0?_S:m,O=r.shouldRetry,E=O===void 0?function(){return!0}:O,P=r.onAfterRequest,S=P===void 0?_S:P,x=r.onTimeout,R=x===void 0?_S:x,A=r.responseType,k=r.retries,C=k===void 0?3:k,F=r.signal,I=F===void 0?null:F,z=r.timeout,U=z===void 0?3e4:z,Y=r.withCredentials,Q=Y===void 0?!1:Y,X=function(s){return .3*Math.pow(2,s-1)*1e3},$=new aS(U,R);function H(V){return V===void 0&&(V=0),new Promise(function(){var s=Nne(Rm().mark(function o(a,p){var v;return Rm().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return v=new XMLHttpRequest,v.open(f,t,!0),v.withCredentials=Q,A&&(v.responseType=A),I==null||I.addEventListener("abort",function(){v.abort(),p(new DOMException("Aborted","AbortError"))}),v.onload=Nne(Rm().mark(function w(){return Rm().wrap(function(j){for(;;)switch(j.prev=j.next){case 0:return j.next=2,S(v,V);case 2:v.status>=200&&v.status<300?($.done(),a(v)):E(v)&&V=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return u=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!u&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function vft(t,e){if(t){if(typeof t=="string")return Une(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Une(t,e)}}function Une(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function Bne(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function nc(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){Bne(u,n,i,l,c,"next",f)}function c(f){Bne(u,n,i,l,c,"throw",f)}l(void 0)})}}function Gne(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Jt(t){for(var e=1;e=200&&e<300}},rc=Cp("getFetcher"),bF=Cp("uploadLocalFile"),yF=Cp("uploadBundle"),wF=Cp("getCompanionClientArgs"),mF=Cp("uploadFiles"),Im=Cp("handleUpload"),PF=function(t){Sft(e,t);function e(r,n){var i;if(mft(this,e),i=wft(this,e,[r,Jt(Jt({},Tft),{},{fieldName:n.bundle?"files[]":"file"},n)]),Object.defineProperty(Ji(i),mF,{value:Ift}),Object.defineProperty(Ji(i),wF,{value:Rft}),Object.defineProperty(Ji(i),yF,{value:xft}),Object.defineProperty(Ji(i),bF,{value:Aft}),Object.defineProperty(Ji(i),rc,{writable:!0,value:void 0}),Object.defineProperty(Ji(i),Im,{writable:!0,value:function(){var u=nc(sn().mark(function c(f){var d,y,m,b;return sn().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(f.length!==0){E.next=3;break}return i.uppy.log("[XHRUpload] No files to upload!"),E.abrupt("return");case 3:if(i.opts.limit===0&&!i.opts[Vu]&&i.uppy.log("[XHRUpload] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/xhr-upload/#limit-0","warning"),i.uppy.log("[XHRUpload] Uploading..."),d=i.uppy.getFilesByIds(f),y=Ku(d),m=Yu(y),i.uppy.emit("upload-start",m),!i.opts.bundle){E.next=19;break}if(b=y.some(function(P){return P.isRemote}),!b){E.next=13;break}throw new Error("Can\u2019t upload remote files when the `bundle: true` option is set");case 13:if(typeof i.opts.headers!="function"){E.next=15;break}throw new TypeError("`headers` may not be a function when the `bundle: true` option is set");case 15:return E.next=17,Ca(Ji(i),yF)[yF](y);case 17:E.next=21;break;case 19:return E.next=21,Ca(Ji(i),mF)[mF](y);case 21:case"end":return E.stop()}},c)}));function l(c){return u.apply(this,arguments)}return l}()}),i.type="uploader",i.id=i.opts.id||"XHRUpload",i.defaultLocale=Mne,i.i18nInit(),Vu in i.opts?i.requests=i.opts[Vu]:i.requests=new wi(i.opts.limit),i.opts.bundle&&!i.opts.formData)throw new Error("`opts.formData` must be true when `opts.bundle` is enabled.");if(i.opts.bundle&&typeof i.opts.headers=="function")throw new Error("`opts.headers` can not be a function when the `bundle: true` option is set.");if((n==null?void 0:n.allowedMetaFields)===void 0&&"metaFields"in i.opts)throw new Error("The `metaFields` option has been renamed to `allowedMetaFields`.");return i.uploaderEvents=Object.create(null),Ca(Ji(i),rc)[rc]=function(u){return function(){var l=nc(sn().mark(function c(f,d){var y,m,b,O,E,P,S,x,R,A,k,C;return sn().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:return I.prev=0,I.next=3,Dne(f,Jt(Jt({},d),{},{method:d==null||(y=d.method)==null?void 0:y.toUpperCase(),onTimeout:function(U){var Y=Math.ceil(U/1e3),Q=new Error(i.i18n("uploadStalled",{seconds:Y}));i.uppy.emit("upload-stalled",Q,u)},onUploadProgress:function(U){if(U.lengthComputable){var Y=vF(u),Q;try{for(Y.s();!(Q=Y.n()).done;){var X=Q.value;i.uppy.emit("upload-progress",X,{uploader:Ji(i),bytesUploaded:U.loaded/U.total*X.size,bytesTotal:X.size})}}catch($){Y.e($)}finally{Y.f()}}}}));case 3:if(m=I.sent,i.opts.validateStatus(m.status,m.responseText,m)){I.next=6;break}throw new Dr(m.statusText,m);case 6:b=i.opts.getResponseData(m.responseText,m),O=b==null?void 0:b[i.opts.responseUrlFieldName],E=vF(u);try{for(E.s();!(P=E.n()).done;)S=P.value,i.uppy.emit("upload-success",S,{status:m.status,body:b,uploadURL:O})}catch(z){E.e(z)}finally{E.f()}return I.abrupt("return",m);case 13:if(I.prev=13,I.t0=I.catch(0),I.t0.name!=="AbortError"){I.next=17;break}return I.abrupt("return",void 0);case 17:if(I.t0 instanceof Dr){x=I.t0.request,R=Eft(x,i.opts.getResponseError(x.responseText,x)),A=vF(u);try{for(A.s();!(k=A.n()).done;)C=k.value,i.uppy.emit("upload-error",C,R)}catch(z){A.e(z)}finally{A.f()}}throw I.t0;case 19:case"end":return I.stop()}},c,null,[[0,13]])}));return function(c,f){return l.apply(this,arguments)}}()},i}return gft(e,[{key:"getOptions",value:function(n){var i=this.uppy.getState().xhrUpload,u=this.opts.headers,l=Jt(Jt(Jt(Jt({},this.opts),i||{}),n.xhrUpload||{}),{},{headers:{}});return typeof u=="function"?l.headers=u(n):Object.assign(l.headers,this.opts.headers),i&&Object.assign(l.headers,i.headers),n.xhrUpload&&Object.assign(l.headers,n.xhrUpload.headers),l}},{key:"addMetadata",value:function(n,i,u){var l=Array.isArray(u.allowedMetaFields)?u.allowedMetaFields:Object.keys(i);l.forEach(function(c){var f=i[c];Array.isArray(f)?f.forEach(function(d){return n.append(c,d)}):n.append(c,f)})}},{key:"createFormDataUpload",value:function(n,i){var u=new FormData;this.addMetadata(u,n.meta,i);var l=zne(n);return n.name?u.append(i.fieldName,l,n.meta.name):u.append(i.fieldName,l),u}},{key:"createBundledUpload",value:function(n,i){var u=this,l=new FormData,c=this.uppy.getState(),f=c.meta;return this.addMetadata(l,f,i),n.forEach(function(d){var y=u.getOptions(d),m=zne(d);d.name?l.append(y.fieldName,m,d.name):l.append(y.fieldName,m)}),l}},{key:"install",value:function(){if(this.opts.bundle){var n=this.uppy.getState(),i=n.capabilities;this.uppy.setState({capabilities:Jt(Jt({},i),{},{individualCancellation:!1})})}this.uppy.addUploader(Ca(this,Im)[Im])}},{key:"uninstall",value:function(){if(this.opts.bundle){var n=this.uppy.getState(),i=n.capabilities;this.uppy.setState({capabilities:Jt(Jt({},i),{},{individualCancellation:!0})})}this.uppy.removeUploader(Ca(this,Im)[Im])}}]),e}(ht);function Aft(t){return OF.apply(this,arguments)}function OF(){return OF=nc(sn().mark(function t(e){var r=this,n,i,u;return sn().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return n=new Sp(this.uppy),i=new AbortController,u=this.requests.wrapPromiseFunction(nc(sn().mark(function f(){var d,y,m;return sn().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return d=r.getOptions(e),y=Ca(r,rc)[rc]([e]),m=d.formData?r.createFormDataUpload(e,d):e.data,O.abrupt("return",y(d.endpoint,Jt(Jt({},d),{},{body:m,signal:i.signal})));case 4:case"end":return O.stop()}},f)}))),n.onFileRemove(e.id,function(){return i.abort()}),n.onCancelAll(e.id,function(f){var d=f.reason;d==="user"&&i.abort()}),c.prev=5,c.next=8,u().abortOn(i.signal);case 8:c.next=14;break;case 10:if(c.prev=10,c.t0=c.catch(5),c.t0.message==="Cancelled"){c.next=14;break}throw c.t0;case 14:return c.prev=14,n.remove(),c.finish(14);case 17:case"end":return c.stop()}},t,this,[[5,10,14,17]])})),OF.apply(this,arguments)}function xft(t){return SF.apply(this,arguments)}function SF(){return SF=nc(sn().mark(function t(e){var r=this,n,i,u;return sn().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return u=function(){n.abort()},n=new AbortController,i=this.requests.wrapPromiseFunction(nc(sn().mark(function f(){var d,y,m,b;return sn().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return y=(d=r.uppy.getState().xhrUpload)!=null?d:{},m=Ca(r,rc)[rc](e),b=r.createBundledUpload(e,Jt(Jt({},r.opts),y)),E.abrupt("return",m(r.opts.endpoint,Jt(Jt({},r.opts),{},{body:b,signal:n.signal})));case 4:case"end":return E.stop()}},f)}))),this.uppy.once("cancel-all",u),c.prev=4,c.next=7,i().abortOn(n.signal);case 7:c.next=13;break;case 9:if(c.prev=9,c.t0=c.catch(4),c.t0.message==="Cancelled"){c.next=13;break}throw c.t0;case 13:return c.prev=13,this.uppy.off("cancel-all",u),c.finish(13);case 16:case"end":return c.stop()}},t,this,[[4,9,13,16]])})),SF.apply(this,arguments)}function Rft(t){var e,r=this.getOptions(t),n=Array.isArray(r.allowedMetaFields)?r.allowedMetaFields:Object.keys(t.meta);return Jt(Jt({},(e=t.remote)==null?void 0:e.body),{},{protocol:"multipart",endpoint:r.endpoint,size:t.data.size,fieldname:r.fieldName,metadata:Object.fromEntries(n.map(function(i){return[i,t.meta[i]]})),httpMethod:r.method,useFormData:r.formData,headers:r.headers})}function Ift(t){return _F.apply(this,arguments)}function _F(){return _F=nc(sn().mark(function t(e){var r=this;return sn().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,Promise.allSettled(e.map(function(u){if(u.isRemote){var l=function(){return r.requests},c=new AbortController,f=function(m){m.id===u.id&&c.abort()};r.uppy.on("file-removed",f);var d=r.uppy.getRequestClientForFile(u).uploadRemoteFile(u,Ca(r,wF)[wF](u),{signal:c.signal,getQueue:l});return r.requests.wrapSyncFunction(function(){r.uppy.off("file-removed",f)},{priority:-1})(),d}return Ca(r,bF)[bF](u)}));case 2:case"end":return i.stop()}},t)})),_F.apply(this,arguments)}PF.VERSION=Pft.version;var AF=Ce(Bd(),1),nie=Ce(Vne(),1);var Kne={strings:{compressingImages:"Compressing images...",compressedX:"Saved %{size} by compressing images"}};function us(t){"@babel/helpers - typeof";return us=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},us(t)}function kft(t,e){var r=typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=jft(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(d){throw d},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=!0,l=!1,c;return{s:function(){r=r.call(t)},n:function(){var d=r.next();return u=d.done,d},e:function(d){l=!0,c=d},f:function(){try{!u&&r.return!=null&&r.return()}finally{if(l)throw c}}}}function jft(t,e){if(t){if(typeof t=="string")return Yne(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Yne(t,e)}}function Yne(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function Xne(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Qne(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){Xne(u,n,i,l,c,"next",f)}function c(f){Xne(u,n,i,l,c,"throw",f)}l(void 0)})}}function Jne(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Zi(t){for(var e=1;e1024&&this.uppy.info(this.i18n("compressedX",{size:(0,AF.default)(c)}),"info"),m=kft(u);try{for(m.s();!(b=m.n()).done;)O=b.value,E=this.uppy.getFile(O),this.uppy.emit("preprocess-complete",E)}catch(x){m.e(x)}finally{m.f()}case 10:case"end":return S.stop()}},i,this)}));function n(i){return r.apply(this,arguments)}return n}()},{key:"install",value:function(){this.uppy.addPreProcessor(this.prepareUpload)}},{key:"uninstall",value:function(){this.uppy.removePreProcessor(this.prepareUpload)}}]),e}(ht);function xS(){return xS=Object.assign||function(t){for(var e=1;e0?i:null}function aie(t,e){var r=null,n=t.type;if(n==="select-one")return t.options.length&&(r=t.options[t.selectedIndex].value),r;if(n==="select-multiple"){r=[];for(var i=0,u=t.options.length;i element",{cause:t});return t}var RF=function(t){Zft(e,t);function e(r,n){var i;return Kft(this,e),i=Qft(this,e,[r,lie(lie({},tpt),n)]),i.type="acquirer",i.id=i.opts.id||"Form",i.handleFormSubmit=i.handleFormSubmit.bind(Dp(i)),i.handleUploadStart=i.handleUploadStart.bind(Dp(i)),i.handleSuccess=i.handleSuccess.bind(Dp(i)),i.addResultToForm=i.addResultToForm.bind(Dp(i)),i.getMetaFromForm=i.getMetaFromForm.bind(Dp(i)),i}return Yft(e,[{key:"handleUploadStart",value:function(){this.opts.getMetaFromForm&&this.getMetaFromForm()}},{key:"handleSuccess",value:function(n){this.opts.addResultToForm&&this.addResultToForm(n),this.opts.submitOnSuccess&&this.form.reportValidity()&&this.form.submit()}},{key:"handleFormSubmit",value:function(n){var i=this;if(this.opts.triggerUploadOnSubmit){n.preventDefault();var u=Xt(n.target.elements),l=[];u.forEach(function(c){var f=c.tagName==="BUTTON"||c.tagName==="INPUT"&&c.type==="submit";f&&!c.disabled&&(c.disabled=!0,l.push(c))}),this.uppy.upload().then(function(){l.forEach(function(c){c.disabled=!1})},function(c){return l.forEach(function(f){f.disabled=!1}),Promise.reject(c)}).catch(function(c){i.uppy.log(c.stack||c.message||c)})}}},{key:"addResultToForm",value:function(n){this.uppy.log("[Form] Adding result to the original form:"),this.uppy.log(n);var i=this.form.querySelector('[name="'.concat(this.opts.resultName,'"]'));if(i){var u;try{u=JSON.parse(i.value)}catch(l){}Array.isArray(u)||(u=[]),u.push(n),i.value=JSON.stringify(u);return}i=document.createElement("input"),i.name=this.opts.resultName,i.type="hidden",i.value=JSON.stringify([n]),this.form.appendChild(i)}},{key:"getMetaFromForm",value:function(){var n=RS(this.form);delete n[this.opts.resultName],this.uppy.setMeta(n)}},{key:"install",value:function(){this.form=rpt(t0(this.opts.target)),this.form.addEventListener("submit",this.handleFormSubmit),this.uppy.on("upload",this.handleUploadStart),this.uppy.on("complete",this.handleSuccess)}},{key:"uninstall",value:function(){this.form.removeEventListener("submit",this.handleFormSubmit),this.uppy.off("upload",this.handleUploadStart),this.uppy.off("complete",this.handleSuccess)}}]),e}(ht);RF.VERSION=ept.version;var Bie=Ce(Hw(),1);function ac(t){"@babel/helpers - typeof";return ac=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ac(t)}function oc(){"use strict";oc=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(s,o,a){s[o]=a.value},u=typeof Symbol=="function"?Symbol:{},l=u.iterator||"@@iterator",c=u.asyncIterator||"@@asyncIterator",f=u.toStringTag||"@@toStringTag";function d(s,o,a){return Object.defineProperty(s,o,{value:a,enumerable:!0,configurable:!0,writable:!0}),s[o]}try{d({},"")}catch(s){d=function(a,p,v){return a[p]=v}}function y(s,o,a,p){var v=o&&o.prototype instanceof x?o:x,h=Object.create(v.prototype),g=new H(p||[]);return i(h,"_invoke",{value:Y(s,a,g)}),h}function m(s,o,a){try{return{type:"normal",arg:s.call(o,a)}}catch(p){return{type:"throw",arg:p}}}e.wrap=y;var b="suspendedStart",O="suspendedYield",E="executing",P="completed",S={};function x(){}function R(){}function A(){}var k={};d(k,l,function(){return this});var C=Object.getPrototypeOf,F=C&&C(C(V([])));F&&F!==r&&n.call(F,l)&&(k=F);var I=A.prototype=x.prototype=Object.create(k);function z(s){["next","throw","return"].forEach(function(o){d(s,o,function(a){return this._invoke(o,a)})})}function U(s,o){function a(v,h,g,w){var _=m(s[v],s,h);if(_.type!=="throw"){var j=_.arg,q=j.value;return q&&ac(q)=="object"&&n.call(q,"__await")?o.resolve(q.__await).then(function(N){a("next",N,g,w)},function(N){a("throw",N,g,w)}):o.resolve(q).then(function(N){j.value=N,g(j)},function(N){return a("throw",N,g,w)})}w(_.arg)}var p;i(this,"_invoke",{value:function(h,g){function w(){return new o(function(_,j){a(h,g,_,j)})}return p=p?p.then(w,w):w()}})}function Y(s,o,a){var p=b;return function(v,h){if(p===E)throw new Error("Generator is already running");if(p===P){if(v==="throw")throw h;return{value:t,done:!0}}for(a.method=v,a.arg=h;;){var g=a.delegate;if(g){var w=Q(g,a);if(w){if(w===S)continue;return w}}if(a.method==="next")a.sent=a._sent=a.arg;else if(a.method==="throw"){if(p===b)throw p=P,a.arg;a.dispatchException(a.arg)}else a.method==="return"&&a.abrupt("return",a.arg);p=E;var _=m(s,o,a);if(_.type==="normal"){if(p=a.done?P:O,_.arg===S)continue;return{value:_.arg,done:a.done}}_.type==="throw"&&(p=P,a.method="throw",a.arg=_.arg)}}}function Q(s,o){var a=o.method,p=s.iterator[a];if(p===t)return o.delegate=null,a==="throw"&&s.iterator.return&&(o.method="return",o.arg=t,Q(s,o),o.method==="throw")||a!=="return"&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+a+"' method")),S;var v=m(p,s.iterator,o.arg);if(v.type==="throw")return o.method="throw",o.arg=v.arg,o.delegate=null,S;var h=v.arg;return h?h.done?(o[s.resultName]=h.value,o.next=s.nextLoc,o.method!=="return"&&(o.method="next",o.arg=t),o.delegate=null,S):h:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,S)}function X(s){var o={tryLoc:s[0]};1 in s&&(o.catchLoc=s[1]),2 in s&&(o.finallyLoc=s[2],o.afterLoc=s[3]),this.tryEntries.push(o)}function $(s){var o=s.completion||{};o.type="normal",delete o.arg,s.completion=o}function H(s){this.tryEntries=[{tryLoc:"root"}],s.forEach(X,this),this.reset(!0)}function V(s){if(s||s===""){var o=s[l];if(o)return o.call(s);if(typeof s.next=="function")return s;if(!isNaN(s.length)){var a=-1,p=function v(){for(;++a=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function hie(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function IF(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){hie(u,n,i,l,c,"next",f)}function c(f){hie(u,n,i,l,c,"throw",f)}l(void 0)})}}function npt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function die(t,e){for(var r=0;r=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function gie(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function uc(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){gie(u,n,i,l,c,"next",f)}function c(f){gie(u,n,i,l,c,"throw",f)}l(void 0)})}}function bie(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function cpt(t){for(var e=1;ethis.opts.maxFileSize)){y.next=2;break}throw new Error("File is too big to store.");case 2:return y.next=4,this.getSize();case 4:if(u=y.sent,!(u>this.opts.maxTotalSize)){y.next=7;break}throw new Error("No space left");case 7:return y.next=9,Fo(this,Gt)[Gt];case 9:return l=y.sent,c=l.transaction([Tn],"readwrite"),f=c.objectStore(Tn).add({id:this.key(i.id),fileID:i.id,store:this.name,expires:Date.now()+this.opts.expires,data:i.data}),y.abrupt("return",kS(f));case 13:case"end":return y.stop()}},n,this)}));function r(n){return e.apply(this,arguments)}return r}()},{key:"delete",value:function(){var e=uc(cn().mark(function n(i){var u,l,c;return cn().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,Fo(this,Gt)[Gt];case 2:return u=d.sent,l=u.transaction([Tn],"readwrite"),c=l.objectStore(Tn).delete(this.key(i)),d.abrupt("return",kS(c));case 6:case"end":return d.stop()}},n,this)}));function r(n){return e.apply(this,arguments)}return r}()}],[{key:"cleanup",value:function(){var e=uc(cn().mark(function n(){var i,u,l,c;return cn().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return d.next=2,_ie(Oie);case 2:return i=d.sent,u=i.transaction([Tn],"readwrite"),l=u.objectStore(Tn),c=l.index("expires").openCursor(IDBKeyRange.upperBound(Date.now())),d.next=8,new Promise(function(y,m){c.onsuccess=function(b){var O=b.target.result;O?(O.delete(),O.continue()):y()},c.onerror=m});case 8:i.close();case 9:case"end":return d.stop()}},n)}));function r(){return e.apply(this,arguments)}return r}()}]),t}();xie.isSupported=mpt;var Rie=xie;function Fm(t){"@babel/helpers - typeof";return Fm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fm(t)}function Iie(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function wpt(t){for(var e=1;e=0;--v){var h=this.tryEntries[v],g=h.completion;if(h.tryLoc==="root")return p("end");if(h.tryLoc<=this.prev){var w=n.call(h,"catchLoc"),_=n.call(h,"finallyLoc");if(w&&_){if(this.prev=0;--p){var v=this.tryEntries[p];if(v.tryLoc<=this.prev&&n.call(v,"finallyLoc")&&this.prev=0;--a){var p=this.tryEntries[a];if(p.finallyLoc===o)return this.complete(p.completion,p.afterLoc),$(p),S}},catch:function(o){for(var a=this.tryEntries.length-1;a>=0;--a){var p=this.tryEntries[a];if(p.tryLoc===o){var v=p.completion;if(v.type==="throw"){var h=v.arg;$(p)}return h}}throw new Error("illegal catch attempt")},delegateYield:function(o,a,p){return this.delegate={iterator:V(o),resultName:a,nextLoc:p},this.method==="next"&&(this.arg=t),S}},e}function Lie(t,e,r,n,i,u,l){try{var c=t[u](l),f=c.value}catch(d){r(d);return}c.done?e(f):Promise.resolve(f).then(n,i)}function Tpt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var u=t.apply(e,r);function l(f){Lie(u,n,i,l,c,"next",f)}function c(f){Lie(u,n,i,l,c,"throw",f)}l(void 0)})}}function Apt(t,e){return kpt(t)||Ipt(t,e)||Rpt(t,e)||xpt()}function xpt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Rpt(t,e){if(t){if(typeof t=="string")return Cie(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Cie(t,e)}}function Cie(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r0?Promise.all([i.loadFileBlobsFromServiceWorker(),i.loadFileBlobsFromIndexedDB()]).then(function(u){var l=Lr(Lr({},u[0]),u[1]);i.onBlobsLoaded(l)}):i.uppy.log("[GoldenRetriever] No files need to be loaded, only restoring processing state...")},i.type="debugger",i.id=i.opts.id||"GoldenRetriever",i.MetaDataStore=new Lm({expires:i.opts.expires,storeName:r.getID()}),i.ServiceWorkerStore=null,i.opts.serviceWorker&&(i.ServiceWorkerStore=new mie({storeName:r.getID()})),i.IndexedDBStore=new Rie(Lr(Lr({expires:i.opts.expires},i.opts.indexedDB||{}),{},{storeName:r.getID()})),i.saveFilesStateToLocalStorage=(0,Bie.default)(i.saveFilesStateToLocalStorage.bind(Up(i)),500,{leading:!0,trailing:!0}),i.restoreState=i.restoreState.bind(Up(i)),i.loadFileBlobsFromServiceWorker=i.loadFileBlobsFromServiceWorker.bind(Up(i)),i.loadFileBlobsFromIndexedDB=i.loadFileBlobsFromIndexedDB.bind(Up(i)),i.onBlobsLoaded=i.onBlobsLoaded.bind(Up(i)),i}return Fpt(e,[{key:"restoreState",value:function(){var n=this.MetaDataStore.load();n&&(this.uppy.log("[GoldenRetriever] Recovered some state from Local Storage"),this.uppy.setState({currentUploads:n.currentUploads||{},files:n.files||{},recoveredState:n}),this.savedPluginData=n.pluginData)}},{key:"getWaitingFiles",value:function(){var n={};return this.uppy.getFiles().forEach(function(i){(!i.progress||!i.progress.uploadStarted)&&(n[i.id]=i)}),n}},{key:"getUploadingFiles",value:function(){var n=this,i={},u=this.uppy.getState(),l=u.currentUploads;if(l){var c=Object.keys(l);c.forEach(function(f){var d=l[f].fileIDs;d.forEach(function(y){i[y]=n.uppy.getFile(y)})})}return i}},{key:"saveFilesStateToLocalStorage",value:function(){var n=Lr(Lr({},this.getWaitingFiles()),this.getUploadingFiles()),i=Object.entries(n);if(i.length===0){this.uppy.getState().recoveredState!==null&&this.uppy.setState({recoveredState:null}),Lm.cleanup(this.uppy.opts.id);return}var u=Object.fromEntries(i.map(function(d){var y=Apt(d,2),m=y[0],b=y[1];return[m,b.isRemote?Lr(Lr({},b),{},{isRestored:!0}):Lr(Lr({},b),{},{isRestored:!0,data:null,preview:null})]})),l={};this.uppy.emit("restore:get-data",function(d){Object.assign(l,d)});var c=this.uppy.getState(),f=c.currentUploads;this.MetaDataStore.save({currentUploads:f,files:u,pluginData:l})}},{key:"loadFileBlobsFromServiceWorker",value:function(){var n=this;return this.ServiceWorkerStore?this.ServiceWorkerStore.list().then(function(i){var u=Object.keys(i).length;return u>0?(n.uppy.log("[GoldenRetriever] Successfully recovered ".concat(u," blobs from Service Worker!")),i):(n.uppy.log("[GoldenRetriever] No blobs found in Service Worker, trying IndexedDB now..."),{})}).catch(function(i){return n.uppy.log("[GoldenRetriever] Failed to recover blobs from Service Worker","warning"),n.uppy.log(i),{}}):Promise.resolve({})}},{key:"loadFileBlobsFromIndexedDB",value:function(){var n=this;return this.IndexedDBStore.list().then(function(i){var u=Object.keys(i).length;return u>0?(n.uppy.log("[GoldenRetriever] Successfully recovered ".concat(u," blobs from IndexedDB!")),i):(n.uppy.log("[GoldenRetriever] No blobs found in IndexedDB"),{})}).catch(function(i){return n.uppy.log("[GoldenRetriever] Failed to recover blobs from IndexedDB","warning"),n.uppy.log(i),{}})}},{key:"onBlobsLoaded",value:function(n){var i=this,u=[],l=Lr({},this.uppy.getState().files);Object.keys(n).forEach(function(c){var f=i.uppy.getFile(c);if(!f){u.push(c);return}var d=n[c],y={data:d,isRestored:!0,isGhost:!1};l[c]=Lr(Lr({},f),y)}),Object.keys(l).forEach(function(c){l[c].data===null&&(l[c]=Lr(Lr({},l[c]),{},{isGhost:!0}))}),this.uppy.setState({files:l}),this.uppy.emit("restored",this.savedPluginData),u.length&&this.deleteBlobs(u).then(function(){i.uppy.log("[GoldenRetriever] Cleaned up ".concat(u.length," old files"))}).catch(function(c){i.uppy.log("[GoldenRetriever] Could not clean up ".concat(u.length," old files"),"warning"),i.uppy.log(c)})}},{key:"deleteBlobs",value:function(){var r=Tpt(kF().mark(function i(u){var l=this;return kF().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:return f.next=2,Promise.all(u.map(function(d){var y,m,b;return(y=(m=l.ServiceWorkerStore)==null?void 0:m.delete(d))!=null?y:(b=l.IndexedDBStore)==null?void 0:b.delete(d)}));case 2:case"end":return f.stop()}},i)}));function n(i){return r.apply(this,arguments)}return n}()},{key:"install",value:function(){this.restoreState(),this.restoreBlobs(),this.uppy.on("file-added",this.addBlobToStores),this.uppy.on("file-editor:complete",this.replaceBlobInStores),this.uppy.on("file-removed",this.removeBlobFromStores),this.uppy.on("state-update",this.saveFilesStateToLocalStorage),this.uppy.on("restore-confirmed",this.handleRestoreConfirmed),this.uppy.on("restore-canceled",this.abortRestore),this.uppy.on("complete",this.handleComplete)}},{key:"uninstall",value:function(){this.uppy.off("file-added",this.addBlobToStores),this.uppy.off("file-editor:complete",this.replaceBlobInStores),this.uppy.off("file-removed",this.removeBlobFromStores),this.uppy.off("state-update",this.saveFilesStateToLocalStorage),this.uppy.off("restore-confirmed",this.handleRestoreConfirmed),this.uppy.off("restore-canceled",this.abortRestore),this.uppy.off("complete",this.handleComplete)}}]),e}(ht);qF.VERSION=Mpt.version;function Gp(t){"@babel/helpers - typeof";return Gp=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gp(t)}function Gie(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function Bp(t){for(var e=1;e 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\nmodule.exports = version;", "/* eslint-disable es-x/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol();\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n return !String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n/* eslint-disable es-x/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nmodule.exports = NATIVE_SYMBOL && !Symbol.sham && _typeof(Symbol.iterator) == 'symbol';", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\nvar $Object = Object;\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return _typeof(it) == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};", "var $String = String;\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};", "var isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a function');\n};", "var aCallable = require('../internals/a-callable');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return func == null ? undefined : aCallable(func);\n};", "var call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw $TypeError(\"Can't convert object to primitive value\");\n};", "module.exports = false;", "var global = require('../internals/global');\n\n// eslint-disable-next-line es-x/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nmodule.exports = function (key, value) {\n try {\n defineProperty(global, key, {\n value: value,\n configurable: true,\n writable: true\n });\n } catch (error) {\n global[key] = value;\n }\n return value;\n};", "var global = require('../internals/global');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || defineGlobalProperty(SHARED, {});\nmodule.exports = store;", "var IS_PURE = require('../internals/is-pure');\nvar store = require('../internals/shared-store');\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: '3.24.1',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '\u00A9 2014-2022 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});", "var requireObjectCoercible = require('../internals/require-object-coercible');\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};", "var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es-x/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};", "var uncurryThis = require('../internals/function-uncurry-this');\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};", "var global = require('../internals/global');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\nvar WellKnownSymbolsStore = shared('wks');\nvar _Symbol = global.Symbol;\nvar symbolFor = _Symbol && _Symbol['for'];\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? _Symbol : _Symbol && _Symbol.withoutSetter || uid;\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {\n var description = 'Symbol.' + name;\n if (NATIVE_SYMBOL && hasOwn(_Symbol, name)) {\n WellKnownSymbolsStore[name] = _Symbol[name];\n } else if (USE_SYMBOL_AS_UID && symbolFor) {\n WellKnownSymbolsStore[name] = symbolFor(description);\n } else {\n WellKnownSymbolsStore[name] = createWellKnownSymbol(description);\n }\n }\n return WellKnownSymbolsStore[name];\n};", "var call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};", "var toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};", "var global = require('../internals/global');\nvar isObject = require('../internals/is-object');\nvar document = global.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};", "var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function get() {\n return 7;\n }\n }).a != 7;\n});", "var DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) {/* empty */}\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};", "var DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () {/* empty */}, 'prototype', {\n value: 42,\n writable: false\n }).prototype != 42;\n});", "var isObject = require('../internals/is-object');\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw $TypeError($String(argument) + ' is not an object');\n};", "var DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar $TypeError = TypeError;\n// eslint-disable-next-line es-x/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n }\n return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) {/* empty */}\n if ('get' in Attributes || 'set' in Attributes) throw $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};", "var DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};", "var DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && function something() {/* empty */}.name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable);\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};", "var uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\nmodule.exports = store.inspectSource;", "var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar inspectSource = require('../internals/inspect-source');\nvar WeakMap = global.WeakMap;\nmodule.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap));", "var shared = require('../internals/shared');\nvar uid = require('../internals/uid');\nvar keys = shared('keys');\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};", "module.exports = {};", "var NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = global.TypeError;\nvar WeakMap = global.WeakMap;\nvar set, get, has;\nvar enforce = function enforce(it) {\n return has(it) ? get(it) : set(it, {});\n};\nvar getterFor = function getterFor(TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw TypeError('Incompatible receiver, ' + TYPE + ' required');\n }\n return state;\n };\n};\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n var wmget = uncurryThis(store.get);\n var wmhas = uncurryThis(store.has);\n var wmset = uncurryThis(store.set);\n set = function set(it, metadata) {\n if (wmhas(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n wmset(store, it, metadata);\n return metadata;\n };\n get = function get(it) {\n return wmget(store, it) || {};\n };\n has = function has(it) {\n return wmhas(store, it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function set(it, metadata) {\n if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function get(it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function has(it) {\n return hasOwn(it, STATE);\n };\n}\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};", "var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\n// eslint-disable-next-line es-x/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () {/* empty */}, 'length', {\n value: 8\n }).length !== 8;\n});\nvar TEMPLATE = String(String).split('String');\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (String(name).slice(0, 7) === 'Symbol(') {\n name = '[' + String(name).replace(/^Symbol\\(([^)]*)\\)/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || CONFIGURABLE_FUNCTION_NAME && value.name !== name) {\n if (DESCRIPTORS) defineProperty(value, 'name', {\n value: name,\n configurable: true\n });else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', {\n value: options.arity\n });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', {\n writable: false\n });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) {/* empty */}\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = TEMPLATE.join(typeof name == 'string' ? name : '');\n }\n return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');", "var isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];else if (O[key]) simple = true;\n } catch (error) {/* empty */}\n if (simple) O[key] = value;else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n }\n return O;\n};", "var ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es-x/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};", "var trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};", "var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};", "var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};", "var toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};", "var toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function createMethod(IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (; length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n }\n return !IS_INCLUDES && -1;\n };\n};\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};", "var uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\nvar push = uncurryThis([].push);\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};", "// IE8- don't enum bug keys\nmodule.exports = ['constructor', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 'toString', 'valueOf'];", "var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};", "// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;", "var getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};", "var hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};", "var fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar replacement = /#|\\.prototype\\./;\nvar isForced = function isForced(feature, detection) {\n var value = data[normalize(feature)];\n return value == POLYFILL ? true : value == NATIVE ? false : isCallable(detection) ? fails(detection) : !!detection;\n};\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\nmodule.exports = isForced;", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar global = require('../internals/global');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = (global[TARGET] || {}).prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (_typeof(sourceProperty) == _typeof(targetProperty)) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || targetProperty && targetProperty.sham) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};", "var wellKnownSymbol = require('../internals/well-known-symbol');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar test = {};\ntest[TO_STRING_TAG] = 'z';\nmodule.exports = String(test) === '[object z]';", "var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar isCallable = require('../internals/is-callable');\nvar classofRaw = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Object = Object;\n\n// ES3 wrong here\nvar CORRECT_ARGUMENTS = classofRaw(function () {\n return arguments;\n}()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function tryGet(it, key) {\n try {\n return it[key];\n } catch (error) {/* empty */}\n};\n\n// getting tag from ES6+ `Object.prototype.toString`\nmodule.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {\n var O, tag, result;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag\n // builtinTag case\n : CORRECT_ARGUMENTS ? classofRaw(O)\n // ES3 arguments fallback\n : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result;\n};", "var classof = require('../internals/classof');\nvar $String = String;\nmodule.exports = function (argument) {\n if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');\n return $String(argument);\n};", "var internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es-x/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};", "var DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es-x/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};", "var getBuiltIn = require('../internals/get-built-in');\nmodule.exports = getBuiltIn('document', 'documentElement');", "/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar EmptyConstructor = function EmptyConstructor() {/* empty */};\nvar scriptTag = function scriptTag(content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function NullProtoObjectViaActiveX(activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n activeXDocument = null; // avoid memory leak\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function NullProtoObjectViaIFrame() {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar _NullProtoObject = function NullProtoObject() {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) {/* ignore */}\n _NullProtoObject = typeof document != 'undefined' ? document.domain && activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame() : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete _NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return _NullProtoObject();\n};\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es-x/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = _NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};", "'use strict';\n\nvar toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nmodule.exports = function (object, key, value) {\n var propertyKey = toPropertyKey(key);\n if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));else object[propertyKey] = value;\n};", "var toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\nvar $Array = Array;\nvar max = Math.max;\nmodule.exports = function (O, start, end) {\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n var result = $Array(max(fin - k, 0));\n for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n};", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n/* eslint-disable es-x/no-object-getownpropertynames -- safe */\nvar classof = require('../internals/classof-raw');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar arraySlice = require('../internals/array-slice-simple');\nvar windowNames = (typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) == 'object' && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [];\nvar getWindowNames = function getWindowNames(it) {\n try {\n return $getOwnPropertyNames(it);\n } catch (error) {\n return arraySlice(windowNames);\n }\n};\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && classof(it) == 'Window' ? getWindowNames(it) : $getOwnPropertyNames(toIndexedObject(it));\n};", "var wellKnownSymbol = require('../internals/well-known-symbol');\nexports.f = wellKnownSymbol;", "var global = require('../internals/global');\nmodule.exports = global;", "var path = require('../internals/path');\nvar hasOwn = require('../internals/has-own-property');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineProperty = require('../internals/object-define-property').f;\nmodule.exports = function (NAME) {\n var _Symbol = path.Symbol || (path.Symbol = {});\n if (!hasOwn(_Symbol, NAME)) defineProperty(_Symbol, NAME, {\n value: wrappedWellKnownSymbolModule.f(NAME)\n });\n};", "var call = require('../internals/function-call');\nvar getBuiltIn = require('../internals/get-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar defineBuiltIn = require('../internals/define-built-in');\nmodule.exports = function () {\n var _Symbol = getBuiltIn('Symbol');\n var SymbolPrototype = _Symbol && _Symbol.prototype;\n var valueOf = SymbolPrototype && SymbolPrototype.valueOf;\n var TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n if (SymbolPrototype && !SymbolPrototype[TO_PRIMITIVE]) {\n // `Symbol.prototype[@@toPrimitive]` method\n // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\n // eslint-disable-next-line no-unused-vars -- required for .length\n defineBuiltIn(SymbolPrototype, TO_PRIMITIVE, function (hint) {\n return call(valueOf, this);\n }, {\n arity: 1\n });\n }\n};", "var defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nmodule.exports = function (target, TAG, STATIC) {\n if (target && !STATIC) target = target.prototype;\n if (target && !hasOwn(target, TO_STRING_TAG)) {\n defineProperty(target, TO_STRING_TAG, {\n configurable: true,\n value: TAG\n });\n }\n};", "var uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar NATIVE_BIND = require('../internals/function-bind-native');\nvar bind = uncurryThis(uncurryThis.bind);\n\n// optional / simple context binding\nmodule.exports = function (fn, that) {\n aCallable(fn);\n return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function /* ...args */\n () {\n return fn.apply(that, arguments);\n };\n};", "var classof = require('../internals/classof-raw');\n\n// `IsArray` abstract operation\n// https://tc39.es/ecma262/#sec-isarray\n// eslint-disable-next-line es-x/no-array-isarray -- safe\nmodule.exports = Array.isArray || function isArray(argument) {\n return classof(argument) == 'Array';\n};", "var uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof');\nvar getBuiltIn = require('../internals/get-built-in');\nvar inspectSource = require('../internals/inspect-source');\nvar noop = function noop() {/* empty */};\nvar empty = [];\nvar construct = getBuiltIn('Reflect', 'construct');\nvar constructorRegExp = /^\\s*(?:class|function)\\b/;\nvar exec = uncurryThis(constructorRegExp.exec);\nvar INCORRECT_TO_STRING = !constructorRegExp.exec(noop);\nvar isConstructorModern = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n try {\n construct(noop, empty, argument);\n return true;\n } catch (error) {\n return false;\n }\n};\nvar isConstructorLegacy = function isConstructor(argument) {\n if (!isCallable(argument)) return false;\n switch (classof(argument)) {\n case 'AsyncFunction':\n case 'GeneratorFunction':\n case 'AsyncGeneratorFunction':\n return false;\n }\n try {\n // we can't check .prototype since constructors produced by .bind haven't it\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));\n } catch (error) {\n return true;\n }\n};\nisConstructorLegacy.sham = true;\n\n// `IsConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-isconstructor\nmodule.exports = !construct || fails(function () {\n var called;\n return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) || !isConstructorModern(function () {\n called = true;\n }) || called;\n}) ? isConstructorLegacy : isConstructorModern;", "var isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\n\n// a part of `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray) {\n var C;\n if (isArray(originalArray)) {\n C = originalArray.constructor;\n // cross-realm fallback\n if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined;else if (isObject(C)) {\n C = C[SPECIES];\n if (C === null) C = undefined;\n }\n }\n return C === undefined ? $Array : C;\n};", "var arraySpeciesConstructor = require('../internals/array-species-constructor');\n\n// `ArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#sec-arrayspeciescreate\nmodule.exports = function (originalArray, length) {\n return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);\n};", "var bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar push = uncurryThis([].push);\n\n// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation\nvar createMethod = function createMethod(TYPE) {\n var IS_MAP = TYPE == 1;\n var IS_FILTER = TYPE == 2;\n var IS_SOME = TYPE == 3;\n var IS_EVERY = TYPE == 4;\n var IS_FIND_INDEX = TYPE == 6;\n var IS_FILTER_REJECT = TYPE == 7;\n var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function ($this, callbackfn, that, specificCreate) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that);\n var length = lengthOfArrayLike(self);\n var index = 0;\n var create = specificCreate || arraySpeciesCreate;\n var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;\n var value, result;\n for (; length > index; index++) if (NO_HOLES || index in self) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (TYPE) {\n if (IS_MAP) target[index] = result; // map\n else if (result) switch (TYPE) {\n case 3:\n return true;\n // some\n case 5:\n return value;\n // find\n case 6:\n return index;\n // findIndex\n case 2:\n push(target, value);\n // filter\n } else switch (TYPE) {\n case 4:\n return false;\n // every\n case 7:\n push(target, value);\n // filterReject\n }\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;\n };\n};\nmodule.exports = {\n // `Array.prototype.forEach` method\n // https://tc39.es/ecma262/#sec-array.prototype.foreach\n forEach: createMethod(0),\n // `Array.prototype.map` method\n // https://tc39.es/ecma262/#sec-array.prototype.map\n map: createMethod(1),\n // `Array.prototype.filter` method\n // https://tc39.es/ecma262/#sec-array.prototype.filter\n filter: createMethod(2),\n // `Array.prototype.some` method\n // https://tc39.es/ecma262/#sec-array.prototype.some\n some: createMethod(3),\n // `Array.prototype.every` method\n // https://tc39.es/ecma262/#sec-array.prototype.every\n every: createMethod(4),\n // `Array.prototype.find` method\n // https://tc39.es/ecma262/#sec-array.prototype.find\n find: createMethod(5),\n // `Array.prototype.findIndex` method\n // https://tc39.es/ecma262/#sec-array.prototype.findIndex\n findIndex: createMethod(6),\n // `Array.prototype.filterReject` method\n // https://github.com/tc39/proposal-array-filtering\n filterReject: createMethod(7)\n};", "'use strict';\n\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar $toString = require('../internals/to-string');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar nativeObjectCreate = require('../internals/object-create');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternal = require('../internals/object-get-own-property-names-external');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar shared = require('../internals/shared');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar uid = require('../internals/uid');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar wrappedWellKnownSymbolModule = require('../internals/well-known-symbol-wrapped');\nvar defineWellKnownSymbol = require('../internals/define-well-known-symbol');\nvar defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\nvar $forEach = require('../internals/array-iteration').forEach;\nvar HIDDEN = sharedKey('hidden');\nvar SYMBOL = 'Symbol';\nvar PROTOTYPE = 'prototype';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SYMBOL);\nvar ObjectPrototype = Object[PROTOTYPE];\nvar $Symbol = global.Symbol;\nvar SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];\nvar TypeError = global.TypeError;\nvar QObject = global.QObject;\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f;\nvar nativePropertyIsEnumerable = propertyIsEnumerableModule.f;\nvar push = uncurryThis([].push);\nvar AllSymbols = shared('symbols');\nvar ObjectPrototypeSymbols = shared('op-symbols');\nvar WellKnownSymbolsStore = shared('wks');\n\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDescriptor = DESCRIPTORS && fails(function () {\n return nativeObjectCreate(nativeDefineProperty({}, 'a', {\n get: function get() {\n return nativeDefineProperty(this, 'a', {\n value: 7\n }).a;\n }\n })).a != 7;\n}) ? function (O, P, Attributes) {\n var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P);\n if (ObjectPrototypeDescriptor) delete ObjectPrototype[P];\n nativeDefineProperty(O, P, Attributes);\n if (ObjectPrototypeDescriptor && O !== ObjectPrototype) {\n nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor);\n }\n} : nativeDefineProperty;\nvar wrap = function wrap(tag, description) {\n var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype);\n setInternalState(symbol, {\n type: SYMBOL,\n tag: tag,\n description: description\n });\n if (!DESCRIPTORS) symbol.description = description;\n return symbol;\n};\nvar $defineProperty = function defineProperty(O, P, Attributes) {\n if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes);\n anObject(O);\n var key = toPropertyKey(P);\n anObject(Attributes);\n if (hasOwn(AllSymbols, key)) {\n if (!Attributes.enumerable) {\n if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {}));\n O[HIDDEN][key] = true;\n } else {\n if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false;\n Attributes = nativeObjectCreate(Attributes, {\n enumerable: createPropertyDescriptor(0, false)\n });\n }\n return setSymbolDescriptor(O, key, Attributes);\n }\n return nativeDefineProperty(O, key, Attributes);\n};\nvar $defineProperties = function defineProperties(O, Properties) {\n anObject(O);\n var properties = toIndexedObject(Properties);\n var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties));\n $forEach(keys, function (key) {\n if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]);\n });\n return O;\n};\nvar $create = function create(O, Properties) {\n return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(V) {\n var P = toPropertyKey(V);\n var enumerable = call(nativePropertyIsEnumerable, this, P);\n if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false;\n return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) {\n var it = toIndexedObject(O);\n var key = toPropertyKey(P);\n if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return;\n var descriptor = nativeGetOwnPropertyDescriptor(it, key);\n if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) {\n descriptor.enumerable = true;\n }\n return descriptor;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(O) {\n var names = nativeGetOwnPropertyNames(toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key);\n });\n return result;\n};\nvar $getOwnPropertySymbols = function $getOwnPropertySymbols(O) {\n var IS_OBJECT_PROTOTYPE = O === ObjectPrototype;\n var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O));\n var result = [];\n $forEach(names, function (key) {\n if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) {\n push(result, AllSymbols[key]);\n }\n });\n return result;\n};\n\n// `Symbol` constructor\n// https://tc39.es/ecma262/#sec-symbol-constructor\nif (!NATIVE_SYMBOL) {\n $Symbol = function _Symbol() {\n if (isPrototypeOf(SymbolPrototype, this)) throw TypeError('Symbol is not a constructor');\n var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]);\n var tag = uid(description);\n var setter = function setter(value) {\n if (this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value);\n if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value));\n };\n if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, {\n configurable: true,\n set: setter\n });\n return wrap(tag, description);\n };\n SymbolPrototype = $Symbol[PROTOTYPE];\n defineBuiltIn(SymbolPrototype, 'toString', function toString() {\n return getInternalState(this).tag;\n });\n defineBuiltIn($Symbol, 'withoutSetter', function (description) {\n return wrap(uid(description), description);\n });\n propertyIsEnumerableModule.f = $propertyIsEnumerable;\n definePropertyModule.f = $defineProperty;\n definePropertiesModule.f = $defineProperties;\n getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor;\n getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames;\n getOwnPropertySymbolsModule.f = $getOwnPropertySymbols;\n wrappedWellKnownSymbolModule.f = function (name) {\n return wrap(wellKnownSymbol(name), name);\n };\n if (DESCRIPTORS) {\n // https://github.com/tc39/proposal-Symbol-description\n nativeDefineProperty(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n return getInternalState(this).description;\n }\n });\n if (!IS_PURE) {\n defineBuiltIn(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, {\n unsafe: true\n });\n }\n }\n}\n$({\n global: true,\n constructor: true,\n wrap: true,\n forced: !NATIVE_SYMBOL,\n sham: !NATIVE_SYMBOL\n}, {\n Symbol: $Symbol\n});\n$forEach(objectKeys(WellKnownSymbolsStore), function (name) {\n defineWellKnownSymbol(name);\n});\n$({\n target: SYMBOL,\n stat: true,\n forced: !NATIVE_SYMBOL\n}, {\n useSetter: function useSetter() {\n USE_SETTER = true;\n },\n useSimple: function useSimple() {\n USE_SETTER = false;\n }\n});\n$({\n target: 'Object',\n stat: true,\n forced: !NATIVE_SYMBOL,\n sham: !DESCRIPTORS\n}, {\n // `Object.create` method\n // https://tc39.es/ecma262/#sec-object.create\n create: $create,\n // `Object.defineProperty` method\n // https://tc39.es/ecma262/#sec-object.defineproperty\n defineProperty: $defineProperty,\n // `Object.defineProperties` method\n // https://tc39.es/ecma262/#sec-object.defineproperties\n defineProperties: $defineProperties,\n // `Object.getOwnPropertyDescriptor` method\n // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor\n});\n$({\n target: 'Object',\n stat: true,\n forced: !NATIVE_SYMBOL\n}, {\n // `Object.getOwnPropertyNames` method\n // https://tc39.es/ecma262/#sec-object.getownpropertynames\n getOwnPropertyNames: $getOwnPropertyNames\n});\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag($Symbol, SYMBOL);\nhiddenKeys[HIDDEN] = true;", "var NATIVE_SYMBOL = require('../internals/native-symbol');\n\n/* eslint-disable es-x/no-symbol -- safe */\nmodule.exports = NATIVE_SYMBOL && !!Symbol['for'] && !!Symbol.keyFor;", "var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar toString = require('../internals/to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/native-symbol-registry');\nvar StringToSymbolRegistry = shared('string-to-symbol-registry');\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.for` method\n// https://tc39.es/ecma262/#sec-symbol.for\n$({\n target: 'Symbol',\n stat: true,\n forced: !NATIVE_SYMBOL_REGISTRY\n}, {\n 'for': function _for(key) {\n var string = toString(key);\n if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string];\n var symbol = getBuiltIn('Symbol')(string);\n StringToSymbolRegistry[string] = symbol;\n SymbolToStringRegistry[symbol] = string;\n return symbol;\n }\n});", "var $ = require('../internals/export');\nvar hasOwn = require('../internals/has-own-property');\nvar isSymbol = require('../internals/is-symbol');\nvar tryToString = require('../internals/try-to-string');\nvar shared = require('../internals/shared');\nvar NATIVE_SYMBOL_REGISTRY = require('../internals/native-symbol-registry');\nvar SymbolToStringRegistry = shared('symbol-to-string-registry');\n\n// `Symbol.keyFor` method\n// https://tc39.es/ecma262/#sec-symbol.keyfor\n$({\n target: 'Symbol',\n stat: true,\n forced: !NATIVE_SYMBOL_REGISTRY\n}, {\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(tryToString(sym) + ' is not a symbol');\n if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];\n }\n});", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar NATIVE_BIND = require('../internals/function-bind-native');\nvar FunctionPrototype = Function.prototype;\nvar apply = FunctionPrototype.apply;\nvar call = FunctionPrototype.call;\n\n// eslint-disable-next-line es-x/no-reflect -- safe\nmodule.exports = (typeof Reflect === \"undefined\" ? \"undefined\" : _typeof(Reflect)) == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () {\n return call.apply(apply, arguments);\n});", "var uncurryThis = require('../internals/function-uncurry-this');\nmodule.exports = uncurryThis([].slice);", "var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar arraySlice = require('../internals/array-slice');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar $stringify = getBuiltIn('JSON', 'stringify');\nvar exec = uncurryThis(/./.exec);\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar replace = uncurryThis(''.replace);\nvar numberToString = uncurryThis(1.0.toString);\nvar tester = /[\\uD800-\\uDFFF]/g;\nvar low = /^[\\uD800-\\uDBFF]$/;\nvar hi = /^[\\uDC00-\\uDFFF]$/;\nvar WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {\n var symbol = getBuiltIn('Symbol')();\n // MS Edge converts symbol values to JSON as {}\n return $stringify([symbol]) != '[null]'\n // WebKit converts symbol values to JSON as null\n || $stringify({\n a: symbol\n }) != '{}'\n // V8 throws on boxed symbols\n || $stringify(Object(symbol)) != '{}';\n});\n\n// https://github.com/tc39/proposal-well-formed-stringify\nvar ILL_FORMED_UNICODE = fails(function () {\n return $stringify(\"\\uDF06\\uD834\") !== \"\\\"\\\\udf06\\\\ud834\\\"\" || $stringify(\"\\uDEAD\") !== \"\\\"\\\\udead\\\"\";\n});\nvar stringifyWithSymbolsFix = function stringifyWithSymbolsFix(it, replacer) {\n var args = arraySlice(arguments);\n var $replacer = replacer;\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function replacer(key, value) {\n if (isCallable($replacer)) value = call($replacer, this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return apply($stringify, null, args);\n};\nvar fixIllFormed = function fixIllFormed(match, offset, string) {\n var prev = charAt(string, offset - 1);\n var next = charAt(string, offset + 1);\n if (exec(low, match) && !exec(hi, next) || exec(hi, match) && !exec(low, prev)) {\n return \"\\\\u\" + numberToString(charCodeAt(match, 0), 16);\n }\n return match;\n};\nif ($stringify) {\n // `JSON.stringify` method\n // https://tc39.es/ecma262/#sec-json.stringify\n $({\n target: 'JSON',\n stat: true,\n arity: 3,\n forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE\n }, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n stringify: function stringify(it, replacer, space) {\n var args = arraySlice(arguments);\n var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);\n return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;\n }\n });\n}", "var $ = require('../internals/export');\nvar NATIVE_SYMBOL = require('../internals/native-symbol');\nvar fails = require('../internals/fails');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar toObject = require('../internals/to-object');\n\n// V8 ~ Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FORCED = !NATIVE_SYMBOL || fails(function () {\n getOwnPropertySymbolsModule.f(1);\n});\n\n// `Object.getOwnPropertySymbols` method\n// https://tc39.es/ecma262/#sec-object.getownpropertysymbols\n$({\n target: 'Object',\n stat: true,\n forced: FORCED\n}, {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n var $getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return $getOwnPropertySymbols ? $getOwnPropertySymbols(toObject(it)) : [];\n }\n});", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar isCallable = require('../internals/is-callable');\nvar $String = String;\nvar $TypeError = TypeError;\nmodule.exports = function (argument) {\n if (_typeof(argument) == 'object' || isCallable(argument)) return argument;\n throw $TypeError(\"Can't set \" + $String(argument) + ' as a prototype');\n};", "/* eslint-disable no-proto -- safe */\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\n\n// `Object.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.setprototypeof\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n// eslint-disable-next-line es-x/no-object-setprototypeof -- safe\nmodule.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {\n var CORRECT_SETTER = false;\n var test = {};\n var setter;\n try {\n // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe\n setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);\n setter(test, []);\n CORRECT_SETTER = test instanceof Array;\n } catch (error) {/* empty */}\n return function setPrototypeOf(O, proto) {\n anObject(O);\n aPossiblePrototype(proto);\n if (CORRECT_SETTER) setter(O, proto);else O.__proto__ = proto;\n return O;\n };\n}() : undefined);", "var defineProperty = require('../internals/object-define-property').f;\nmodule.exports = function (Target, Source, key) {\n key in Target || defineProperty(Target, key, {\n configurable: true,\n get: function get() {\n return Source[key];\n },\n set: function set(it) {\n Source[key] = it;\n }\n });\n};", "var isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\n\n// makes subclassing work correct for wrapped built-ins\nmodule.exports = function ($this, dummy, Wrapper) {\n var NewTarget, NewTargetPrototype;\n if (\n // it can work only with native `setPrototypeOf`\n setPrototypeOf &&\n // we haven't completely correct pre-ES6 way for getting `new.target`, so use this\n isCallable(NewTarget = dummy.constructor) && NewTarget !== Wrapper && isObject(NewTargetPrototype = NewTarget.prototype) && NewTargetPrototype !== Wrapper.prototype) setPrototypeOf($this, NewTargetPrototype);\n return $this;\n};", "var toString = require('../internals/to-string');\nmodule.exports = function (argument, $default) {\n return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument);\n};", "var isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\n\n// `InstallErrorCause` abstract operation\n// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause\nmodule.exports = function (O, options) {\n if (isObject(options) && 'cause' in options) {\n createNonEnumerableProperty(O, 'cause', options.cause);\n }\n};", "var uncurryThis = require('../internals/function-uncurry-this');\nvar $Error = Error;\nvar replace = uncurryThis(''.replace);\nvar TEST = function (arg) {\n return String($Error(arg).stack);\n}('zxcasd');\nvar V8_OR_CHAKRA_STACK_ENTRY = /\\n\\s*at [^:]*:[^\\n]*/;\nvar IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST);\nmodule.exports = function (stack, dropEntries) {\n if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) {\n while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, '');\n }\n return stack;\n};", "var fails = require('../internals/fails');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nmodule.exports = !fails(function () {\n var error = Error('a');\n if (!('stack' in error)) return true;\n // eslint-disable-next-line es-x/no-object-defineproperty -- safe\n Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7));\n return error.stack !== 7;\n});", "'use strict';\n\nvar getBuiltIn = require('../internals/get-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar proxyAccessor = require('../internals/proxy-accessor');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar installErrorCause = require('../internals/install-error-cause');\nvar clearErrorStack = require('../internals/clear-error-stack');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\nmodule.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) {\n var STACK_TRACE_LIMIT = 'stackTraceLimit';\n var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1;\n var path = FULL_NAME.split('.');\n var ERROR_NAME = path[path.length - 1];\n var OriginalError = getBuiltIn.apply(null, path);\n if (!OriginalError) return;\n var OriginalErrorPrototype = OriginalError.prototype;\n\n // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006\n if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause;\n if (!FORCED) return OriginalError;\n var BaseError = getBuiltIn('Error');\n var WrappedError = wrapper(function (a, b) {\n var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined);\n var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError();\n if (message !== undefined) createNonEnumerableProperty(result, 'message', message);\n if (ERROR_STACK_INSTALLABLE) createNonEnumerableProperty(result, 'stack', clearErrorStack(result.stack, 2));\n if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError);\n if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]);\n return result;\n });\n WrappedError.prototype = OriginalErrorPrototype;\n if (ERROR_NAME !== 'Error') {\n if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError);else copyConstructorProperties(WrappedError, BaseError, {\n name: true\n });\n } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) {\n proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT);\n proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace');\n }\n copyConstructorProperties(WrappedError, OriginalError);\n if (!IS_PURE) try {\n // Safari 13- bug: WebAssembly errors does not have a proper `.name`\n if (OriginalErrorPrototype.name !== ERROR_NAME) {\n createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME);\n }\n OriginalErrorPrototype.constructor = WrappedError;\n } catch (error) {/* empty */}\n return WrappedError;\n};", "var fails = require('../internals/fails');\nmodule.exports = !fails(function () {\n function F() {/* empty */}\n F.prototype.constructor = null;\n // eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing\n return Object.getPrototypeOf(new F()) !== F.prototype;\n});", "var hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar toObject = require('../internals/to-object');\nvar sharedKey = require('../internals/shared-key');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\nvar IE_PROTO = sharedKey('IE_PROTO');\nvar $Object = Object;\nvar ObjectPrototype = $Object.prototype;\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n// eslint-disable-next-line es-x/no-object-getprototypeof -- safe\nmodule.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {\n var object = toObject(O);\n if (hasOwn(object, IE_PROTO)) return object[IE_PROTO];\n var constructor = object.constructor;\n if (isCallable(constructor) && object instanceof constructor) {\n return constructor.prototype;\n }\n return object instanceof $Object ? ObjectPrototype : null;\n};", "module.exports = {};", "var wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\nvar ITERATOR = wellKnownSymbol('iterator');\nvar ArrayPrototype = Array.prototype;\n\n// check on default Array iterator\nmodule.exports = function (it) {\n return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it);\n};", "var classof = require('../internals/classof');\nvar getMethod = require('../internals/get-method');\nvar Iterators = require('../internals/iterators');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar ITERATOR = wellKnownSymbol('iterator');\nmodule.exports = function (it) {\n if (it != undefined) return getMethod(it, ITERATOR) || getMethod(it, '@@iterator') || Iterators[classof(it)];\n};", "var call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar $TypeError = TypeError;\nmodule.exports = function (argument, usingIterator) {\n var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator;\n if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument));\n throw $TypeError(tryToString(argument) + ' is not iterable');\n};", "var call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getMethod = require('../internals/get-method');\nmodule.exports = function (iterator, kind, value) {\n var innerResult, innerError;\n anObject(iterator);\n try {\n innerResult = getMethod(iterator, 'return');\n if (!innerResult) {\n if (kind === 'throw') throw value;\n return value;\n }\n innerResult = call(innerResult, iterator);\n } catch (error) {\n innerError = true;\n innerResult = error;\n }\n if (kind === 'throw') throw value;\n if (innerError) throw innerResult;\n anObject(innerResult);\n return value;\n};", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar tryToString = require('../internals/try-to-string');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar iteratorClose = require('../internals/iterator-close');\nvar $TypeError = TypeError;\nvar Result = function Result(stopped, result) {\n this.stopped = stopped;\n this.result = result;\n};\nvar ResultPrototype = Result.prototype;\nmodule.exports = function (iterable, unboundFunction, options) {\n var that = options && options.that;\n var AS_ENTRIES = !!(options && options.AS_ENTRIES);\n var IS_RECORD = !!(options && options.IS_RECORD);\n var IS_ITERATOR = !!(options && options.IS_ITERATOR);\n var INTERRUPTED = !!(options && options.INTERRUPTED);\n var fn = bind(unboundFunction, that);\n var iterator, iterFn, index, length, result, next, step;\n var stop = function stop(condition) {\n if (iterator) iteratorClose(iterator, 'normal', condition);\n return new Result(true, condition);\n };\n var callFn = function callFn(value) {\n if (AS_ENTRIES) {\n anObject(value);\n return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);\n }\n return INTERRUPTED ? fn(value, stop) : fn(value);\n };\n if (IS_RECORD) {\n iterator = iterable.iterator;\n } else if (IS_ITERATOR) {\n iterator = iterable;\n } else {\n iterFn = getIteratorMethod(iterable);\n if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');\n // optimisation for array iterators\n if (isArrayIteratorMethod(iterFn)) {\n for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {\n result = callFn(iterable[index]);\n if (result && isPrototypeOf(ResultPrototype, result)) return result;\n }\n return new Result(false);\n }\n iterator = getIterator(iterable, iterFn);\n }\n next = IS_RECORD ? iterable.next : iterator.next;\n while (!(step = call(next, iterator)).done) {\n try {\n result = callFn(step.value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n if (_typeof(result) == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;\n }\n return new Result(false);\n};", "'use strict';\n\nvar $ = require('../internals/export');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar create = require('../internals/object-create');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar clearErrorStack = require('../internals/clear-error-stack');\nvar installErrorCause = require('../internals/install-error-cause');\nvar iterate = require('../internals/iterate');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar $Error = Error;\nvar push = [].push;\nvar $AggregateError = function AggregateError(errors, message /* , options */) {\n var options = arguments.length > 2 ? arguments[2] : undefined;\n var isInstance = isPrototypeOf(AggregateErrorPrototype, this);\n var that;\n if (setPrototypeOf) {\n that = setPrototypeOf(new $Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype);\n } else {\n that = isInstance ? this : create(AggregateErrorPrototype);\n createNonEnumerableProperty(that, TO_STRING_TAG, 'Error');\n }\n if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message));\n if (ERROR_STACK_INSTALLABLE) createNonEnumerableProperty(that, 'stack', clearErrorStack(that.stack, 1));\n installErrorCause(that, options);\n var errorsArray = [];\n iterate(errors, push, {\n that: errorsArray\n });\n createNonEnumerableProperty(that, 'errors', errorsArray);\n return that;\n};\nif (setPrototypeOf) setPrototypeOf($AggregateError, $Error);else copyConstructorProperties($AggregateError, $Error, {\n name: true\n});\nvar AggregateErrorPrototype = $AggregateError.prototype = create($Error.prototype, {\n constructor: createPropertyDescriptor(1, $AggregateError),\n message: createPropertyDescriptor(1, ''),\n name: createPropertyDescriptor(1, 'AggregateError')\n});\n\n// `AggregateError` constructor\n// https://tc39.es/ecma262/#sec-aggregate-error-constructor\n$({\n global: true,\n constructor: true,\n arity: 2\n}, {\n AggregateError: $AggregateError\n});", "var wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property').f;\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] == undefined) {\n defineProperty(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};", "var $TypeError = TypeError;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991\n\nmodule.exports = function (it) {\n if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');\n return it;\n};", "var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar SPECIES = wellKnownSymbol('species');\nmodule.exports = function (METHOD_NAME) {\n // We can't use this feature detection in V8 since it causes\n // deoptimization and serious performance degradation\n // https://github.com/zloirock/core-js/issues/677\n return V8_VERSION >= 51 || !fails(function () {\n var array = [];\n var constructor = array.constructor = {};\n constructor[SPECIES] = function () {\n return {\n foo: 1\n };\n };\n return array[METHOD_NAME](Boolean).foo !== 1;\n });\n};", "'use strict';\n\nvar tryToString = require('../internals/try-to-string');\nvar $TypeError = TypeError;\nmodule.exports = function (O, P) {\n if (!delete O[P]) throw $TypeError('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));\n};", "'use strict';\n\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar min = Math.min;\n\n// `Array.prototype.copyWithin` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.copywithin\n// eslint-disable-next-line es-x/no-array-prototype-copywithin -- safe\nmodule.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var to = toAbsoluteIndex(target, len);\n var from = toAbsoluteIndex(start, len);\n var end = arguments.length > 2 ? arguments[2] : undefined;\n var count = min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);\n var inc = 1;\n if (from < to && to < from + count) {\n inc = -1;\n from += count - 1;\n to += count - 1;\n }\n while (count-- > 0) {\n if (from in O) O[to] = O[from];else deletePropertyOrThrow(O, to);\n to += inc;\n from += inc;\n }\n return O;\n};", "'use strict';\n\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.fill` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.fill\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n var O = toObject(this);\n var length = lengthOfArrayLike(O);\n var argumentsLength = arguments.length;\n var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length);\n var end = argumentsLength > 2 ? arguments[2] : undefined;\n var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n while (endPos > index) O[index++] = value;\n return O;\n};", "var bind = require('../internals/function-bind-context');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ findLast, findLastIndex }` methods implementation\nvar createMethod = function createMethod(TYPE) {\n var IS_FIND_LAST_INDEX = TYPE == 1;\n return function ($this, callbackfn, that) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that);\n var index = lengthOfArrayLike(self);\n var value, result;\n while (index-- > 0) {\n value = self[index];\n result = boundFunction(value, index, O);\n if (result) switch (TYPE) {\n case 0:\n return value;\n // findLast\n case 1:\n return index;\n // findLastIndex\n }\n }\n return IS_FIND_LAST_INDEX ? -1 : undefined;\n };\n};\nmodule.exports = {\n // `Array.prototype.findLast` method\n // https://github.com/tc39/proposal-array-find-from-last\n findLast: createMethod(0),\n // `Array.prototype.findLastIndex` method\n // https://github.com/tc39/proposal-array-find-from-last\n findLastIndex: createMethod(1)\n};", "'use strict';\n\nvar isArray = require('../internals/is-array');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar bind = require('../internals/function-bind-context');\n\n// `FlattenIntoArray` abstract operation\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar flattenIntoArray = function flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) {\n var targetIndex = start;\n var sourceIndex = 0;\n var mapFn = mapper ? bind(mapper, thisArg) : false;\n var element, elementLen;\n while (sourceIndex < sourceLen) {\n if (sourceIndex in source) {\n element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n if (depth > 0 && isArray(element)) {\n elementLen = lengthOfArrayLike(element);\n targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1;\n } else {\n doesNotExceedSafeInteger(targetIndex + 1);\n target[targetIndex] = element;\n }\n targetIndex++;\n }\n sourceIndex++;\n }\n return targetIndex;\n};\nmodule.exports = flattenIntoArray;", "var anObject = require('../internals/an-object');\nvar iteratorClose = require('../internals/iterator-close');\n\n// call something on iterator step with safe closing on error\nmodule.exports = function (iterator, fn, value, ENTRIES) {\n try {\n return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n};", "'use strict';\n\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar toObject = require('../internals/to-object');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar isConstructor = require('../internals/is-constructor');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar createProperty = require('../internals/create-property');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar $Array = Array;\n\n// `Array.from` method implementation\n// https://tc39.es/ecma262/#sec-array.from\nmodule.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var IS_CONSTRUCTOR = isConstructor(this);\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined);\n var iteratorMethod = getIteratorMethod(O);\n var index = 0;\n var length, result, step, iterator, next, value;\n // if the target is not iterable or it's an array with the default iterator - use a simple case\n if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {\n iterator = getIterator(O, iteratorMethod);\n next = iterator.next;\n result = IS_CONSTRUCTOR ? new this() : [];\n for (; !(step = call(next, iterator)).done; index++) {\n value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;\n createProperty(result, index, value);\n }\n } else {\n length = lengthOfArrayLike(O);\n result = IS_CONSTRUCTOR ? new this(length) : $Array(length);\n for (; length > index; index++) {\n value = mapping ? mapfn(O[index], index) : O[index];\n createProperty(result, index, value);\n }\n }\n result.length = index;\n return result;\n};", "var wellKnownSymbol = require('../internals/well-known-symbol');\nvar ITERATOR = wellKnownSymbol('iterator');\nvar SAFE_CLOSING = false;\ntry {\n var called = 0;\n var iteratorWithReturn = {\n next: function next() {\n return {\n done: !!called++\n };\n },\n 'return': function _return() {\n SAFE_CLOSING = true;\n }\n };\n iteratorWithReturn[ITERATOR] = function () {\n return this;\n };\n // eslint-disable-next-line es-x/no-array-from, no-throw-literal -- required for testing\n Array.from(iteratorWithReturn, function () {\n throw 2;\n });\n} catch (error) {/* empty */}\nmodule.exports = function (exec, SKIP_CLOSING) {\n if (!SKIP_CLOSING && !SAFE_CLOSING) return false;\n var ITERATION_SUPPORT = false;\n try {\n var object = {};\n object[ITERATOR] = function () {\n return {\n next: function next() {\n return {\n done: ITERATION_SUPPORT = true\n };\n }\n };\n };\n exec(object);\n } catch (error) {/* empty */}\n return ITERATION_SUPPORT;\n};", "'use strict';\n\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\nvar ITERATOR = wellKnownSymbol('iterator');\nvar BUGGY_SAFARI_ITERATORS = false;\n\n// `%IteratorPrototype%` object\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-object\nvar IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator;\n\n/* eslint-disable es-x/no-array-prototype-keys -- safe */\nif ([].keys) {\n arrayIterator = [].keys();\n // Safari 8 has buggy iterators w/o `next`\n if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true;else {\n PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator));\n if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype;\n }\n}\nvar NEW_ITERATOR_PROTOTYPE = IteratorPrototype == undefined || fails(function () {\n var test = {};\n // FF44- legacy iterators case\n return IteratorPrototype[ITERATOR].call(test) !== test;\n});\nif (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {};else if (IS_PURE) IteratorPrototype = create(IteratorPrototype);\n\n// `%IteratorPrototype%[@@iterator]()` method\n// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator\nif (!isCallable(IteratorPrototype[ITERATOR])) {\n defineBuiltIn(IteratorPrototype, ITERATOR, function () {\n return this;\n });\n}\nmodule.exports = {\n IteratorPrototype: IteratorPrototype,\n BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS\n};", "'use strict';\n\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar Iterators = require('../internals/iterators');\nvar returnThis = function returnThis() {\n return this;\n};\nmodule.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {\n var TO_STRING_TAG = NAME + ' Iterator';\n IteratorConstructor.prototype = create(IteratorPrototype, {\n next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next)\n });\n setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true);\n Iterators[TO_STRING_TAG] = returnThis;\n return IteratorConstructor;\n};", "'use strict';\n\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar IS_PURE = require('../internals/is-pure');\nvar FunctionName = require('../internals/function-name');\nvar isCallable = require('../internals/is-callable');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar Iterators = require('../internals/iterators');\nvar IteratorsCore = require('../internals/iterators-core');\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar IteratorPrototype = IteratorsCore.IteratorPrototype;\nvar BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;\nvar ITERATOR = wellKnownSymbol('iterator');\nvar KEYS = 'keys';\nvar VALUES = 'values';\nvar ENTRIES = 'entries';\nvar returnThis = function returnThis() {\n return this;\n};\nmodule.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {\n createIteratorConstructor(IteratorConstructor, NAME, next);\n var getIterationMethod = function getIterationMethod(KIND) {\n if (KIND === DEFAULT && defaultIterator) return defaultIterator;\n if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];\n switch (KIND) {\n case KEYS:\n return function keys() {\n return new IteratorConstructor(this, KIND);\n };\n case VALUES:\n return function values() {\n return new IteratorConstructor(this, KIND);\n };\n case ENTRIES:\n return function entries() {\n return new IteratorConstructor(this, KIND);\n };\n }\n return function () {\n return new IteratorConstructor(this);\n };\n };\n var TO_STRING_TAG = NAME + ' Iterator';\n var INCORRECT_VALUES_NAME = false;\n var IterablePrototype = Iterable.prototype;\n var nativeIterator = IterablePrototype[ITERATOR] || IterablePrototype['@@iterator'] || DEFAULT && IterablePrototype[DEFAULT];\n var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);\n var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;\n var CurrentIteratorPrototype, methods, KEY;\n\n // fix native\n if (anyNativeIterator) {\n CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));\n if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {\n if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {\n if (setPrototypeOf) {\n setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);\n } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) {\n defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis);\n }\n }\n // Set @@toStringTag to native iterators\n setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true);\n if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis;\n }\n }\n\n // fix Array.prototype.{ values, @@iterator }.name in V8 / FF\n if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {\n if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(IterablePrototype, 'name', VALUES);\n } else {\n INCORRECT_VALUES_NAME = true;\n defaultIterator = function values() {\n return call(nativeIterator, this);\n };\n }\n }\n\n // export additional methods\n if (DEFAULT) {\n methods = {\n values: getIterationMethod(VALUES),\n keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),\n entries: getIterationMethod(ENTRIES)\n };\n if (FORCED) for (KEY in methods) {\n if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {\n defineBuiltIn(IterablePrototype, KEY, methods[KEY]);\n }\n } else $({\n target: NAME,\n proto: true,\n forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME\n }, methods);\n }\n\n // define iterator\n if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) {\n defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, {\n name: DEFAULT\n });\n }\n Iterators[NAME] = defaultIterator;\n return methods;\n};", "'use strict';\n\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar Iterators = require('../internals/iterators');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineIterator = require('../internals/define-iterator');\nvar IS_PURE = require('../internals/is-pure');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar ARRAY_ITERATOR = 'Array Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);\n\n// `Array.prototype.entries` method\n// https://tc39.es/ecma262/#sec-array.prototype.entries\n// `Array.prototype.keys` method\n// https://tc39.es/ecma262/#sec-array.prototype.keys\n// `Array.prototype.values` method\n// https://tc39.es/ecma262/#sec-array.prototype.values\n// `Array.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-array.prototype-@@iterator\n// `CreateArrayIterator` internal method\n// https://tc39.es/ecma262/#sec-createarrayiterator\nmodule.exports = defineIterator(Array, 'Array', function (iterated, kind) {\n setInternalState(this, {\n type: ARRAY_ITERATOR,\n target: toIndexedObject(iterated),\n // target\n index: 0,\n // next index\n kind: kind // kind\n });\n // `%ArrayIteratorPrototype%.next` method\n // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next\n}, function () {\n var state = getInternalState(this);\n var target = state.target;\n var kind = state.kind;\n var index = state.index++;\n if (!target || index >= target.length) {\n state.target = undefined;\n return {\n value: undefined,\n done: true\n };\n }\n if (kind == 'keys') return {\n value: index,\n done: false\n };\n if (kind == 'values') return {\n value: target[index],\n done: false\n };\n return {\n value: [index, target[index]],\n done: false\n };\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values%\n// https://tc39.es/ecma262/#sec-createunmappedargumentsobject\n// https://tc39.es/ecma262/#sec-createmappedargumentsobject\nvar values = Iterators.Arguments = Iterators.Array;\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n// V8 ~ Chrome 45- bug\nif (!IS_PURE && DESCRIPTORS && values.name !== 'values') try {\n defineProperty(values, 'name', {\n value: 'values'\n });\n} catch (error) {/* empty */}", "'use strict';\n\nvar fails = require('../internals/fails');\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () {\n return 1;\n }, 1);\n });\n};", "var arraySlice = require('../internals/array-slice-simple');\nvar floor = Math.floor;\nvar mergeSort = function mergeSort(array, comparefn) {\n var length = array.length;\n var middle = floor(length / 2);\n return length < 8 ? insertionSort(array, comparefn) : merge(array, mergeSort(arraySlice(array, 0, middle), comparefn), mergeSort(arraySlice(array, middle), comparefn), comparefn);\n};\nvar insertionSort = function insertionSort(array, comparefn) {\n var length = array.length;\n var i = 1;\n var element, j;\n while (i < length) {\n j = i;\n element = array[i];\n while (j && comparefn(array[j - 1], element) > 0) {\n array[j] = array[--j];\n }\n if (j !== i++) array[j] = element;\n }\n return array;\n};\nvar merge = function merge(array, left, right, comparefn) {\n var llength = left.length;\n var rlength = right.length;\n var lindex = 0;\n var rindex = 0;\n while (lindex < llength || rindex < rlength) {\n array[lindex + rindex] = lindex < llength && rindex < rlength ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++] : lindex < llength ? left[lindex++] : right[rindex++];\n }\n return array;\n};\nmodule.exports = mergeSort;", "var userAgent = require('../internals/engine-user-agent');\nvar firefox = userAgent.match(/firefox\\/(\\d+)/i);\nmodule.exports = !!firefox && +firefox[1];", "var UA = require('../internals/engine-user-agent');\nmodule.exports = /MSIE|Trident/.test(UA);", "var userAgent = require('../internals/engine-user-agent');\nvar webkit = userAgent.match(/AppleWebKit\\/(\\d+)\\./);\nmodule.exports = !!webkit && +webkit[1];", "'use strict';\n\nvar getBuiltIn = require('../internals/get-built-in');\nvar definePropertyModule = require('../internals/object-define-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar SPECIES = wellKnownSymbol('species');\nmodule.exports = function (CONSTRUCTOR_NAME) {\n var Constructor = getBuiltIn(CONSTRUCTOR_NAME);\n var defineProperty = definePropertyModule.f;\n if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) {\n defineProperty(Constructor, SPECIES, {\n configurable: true,\n get: function get() {\n return this;\n }\n });\n }\n};", "// eslint-disable-next-line es-x/no-typed-arrays -- safe\nmodule.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';", "var defineBuiltIn = require('../internals/define-built-in');\nmodule.exports = function (target, src, options) {\n for (var key in src) defineBuiltIn(target, key, src[key], options);\n return target;\n};", "var isPrototypeOf = require('../internals/object-is-prototype-of');\nvar $TypeError = TypeError;\nmodule.exports = function (it, Prototype) {\n if (isPrototypeOf(Prototype, it)) return it;\n throw $TypeError('Incorrect invocation');\n};", "var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar $RangeError = RangeError;\n\n// `ToIndex` abstract operation\n// https://tc39.es/ecma262/#sec-toindex\nmodule.exports = function (it) {\n if (it === undefined) return 0;\n var number = toIntegerOrInfinity(it);\n var length = toLength(number);\n if (number !== length) throw $RangeError('Wrong length or index');\n return length;\n};", "// IEEE754 conversions based on https://github.com/feross/ieee754\nvar $Array = Array;\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar floor = Math.floor;\nvar log = Math.log;\nvar LN2 = Math.LN2;\nvar pack = function pack(number, mantissaLength, bytes) {\n var buffer = $Array(bytes);\n var exponentLength = bytes * 8 - mantissaLength - 1;\n var eMax = (1 << exponentLength) - 1;\n var eBias = eMax >> 1;\n var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0;\n var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0;\n var index = 0;\n var exponent, mantissa, c;\n number = abs(number);\n // eslint-disable-next-line no-self-compare -- NaN check\n if (number != number || number === Infinity) {\n // eslint-disable-next-line no-self-compare -- NaN check\n mantissa = number != number ? 1 : 0;\n exponent = eMax;\n } else {\n exponent = floor(log(number) / LN2);\n c = pow(2, -exponent);\n if (number * c < 1) {\n exponent--;\n c *= 2;\n }\n if (exponent + eBias >= 1) {\n number += rt / c;\n } else {\n number += rt * pow(2, 1 - eBias);\n }\n if (number * c >= 2) {\n exponent++;\n c /= 2;\n }\n if (exponent + eBias >= eMax) {\n mantissa = 0;\n exponent = eMax;\n } else if (exponent + eBias >= 1) {\n mantissa = (number * c - 1) * pow(2, mantissaLength);\n exponent = exponent + eBias;\n } else {\n mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength);\n exponent = 0;\n }\n }\n while (mantissaLength >= 8) {\n buffer[index++] = mantissa & 255;\n mantissa /= 256;\n mantissaLength -= 8;\n }\n exponent = exponent << mantissaLength | mantissa;\n exponentLength += mantissaLength;\n while (exponentLength > 0) {\n buffer[index++] = exponent & 255;\n exponent /= 256;\n exponentLength -= 8;\n }\n buffer[--index] |= sign * 128;\n return buffer;\n};\nvar unpack = function unpack(buffer, mantissaLength) {\n var bytes = buffer.length;\n var exponentLength = bytes * 8 - mantissaLength - 1;\n var eMax = (1 << exponentLength) - 1;\n var eBias = eMax >> 1;\n var nBits = exponentLength - 7;\n var index = bytes - 1;\n var sign = buffer[index--];\n var exponent = sign & 127;\n var mantissa;\n sign >>= 7;\n while (nBits > 0) {\n exponent = exponent * 256 + buffer[index--];\n nBits -= 8;\n }\n mantissa = exponent & (1 << -nBits) - 1;\n exponent >>= -nBits;\n nBits += mantissaLength;\n while (nBits > 0) {\n mantissa = mantissa * 256 + buffer[index--];\n nBits -= 8;\n }\n if (exponent === 0) {\n exponent = 1 - eBias;\n } else if (exponent === eMax) {\n return mantissa ? NaN : sign ? -Infinity : Infinity;\n } else {\n mantissa = mantissa + pow(2, mantissaLength);\n exponent = exponent - eBias;\n }\n return (sign ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength);\n};\nmodule.exports = {\n pack: pack,\n unpack: unpack\n};", "'use strict';\n\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-native');\nvar FunctionName = require('../internals/function-name');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar fails = require('../internals/fails');\nvar anInstance = require('../internals/an-instance');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toIndex = require('../internals/to-index');\nvar IEEE754 = require('../internals/ieee754');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar arrayFill = require('../internals/array-fill');\nvar arraySlice = require('../internals/array-slice-simple');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar InternalStateModule = require('../internals/internal-state');\nvar PROPER_FUNCTION_NAME = FunctionName.PROPER;\nvar CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;\nvar getInternalState = InternalStateModule.get;\nvar setInternalState = InternalStateModule.set;\nvar ARRAY_BUFFER = 'ArrayBuffer';\nvar DATA_VIEW = 'DataView';\nvar PROTOTYPE = 'prototype';\nvar WRONG_LENGTH = 'Wrong length';\nvar WRONG_INDEX = 'Wrong index';\nvar NativeArrayBuffer = global[ARRAY_BUFFER];\nvar $ArrayBuffer = NativeArrayBuffer;\nvar ArrayBufferPrototype = $ArrayBuffer && $ArrayBuffer[PROTOTYPE];\nvar $DataView = global[DATA_VIEW];\nvar DataViewPrototype = $DataView && $DataView[PROTOTYPE];\nvar ObjectPrototype = Object.prototype;\nvar Array = global.Array;\nvar RangeError = global.RangeError;\nvar fill = uncurryThis(arrayFill);\nvar reverse = uncurryThis([].reverse);\nvar packIEEE754 = IEEE754.pack;\nvar unpackIEEE754 = IEEE754.unpack;\nvar packInt8 = function packInt8(number) {\n return [number & 0xFF];\n};\nvar packInt16 = function packInt16(number) {\n return [number & 0xFF, number >> 8 & 0xFF];\n};\nvar packInt32 = function packInt32(number) {\n return [number & 0xFF, number >> 8 & 0xFF, number >> 16 & 0xFF, number >> 24 & 0xFF];\n};\nvar unpackInt32 = function unpackInt32(buffer) {\n return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0];\n};\nvar packFloat32 = function packFloat32(number) {\n return packIEEE754(number, 23, 4);\n};\nvar packFloat64 = function packFloat64(number) {\n return packIEEE754(number, 52, 8);\n};\nvar addGetter = function addGetter(Constructor, key) {\n defineProperty(Constructor[PROTOTYPE], key, {\n get: function get() {\n return getInternalState(this)[key];\n }\n });\n};\nvar get = function get(view, count, index, isLittleEndian) {\n var intIndex = toIndex(index);\n var store = getInternalState(view);\n if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX);\n var bytes = getInternalState(store.buffer).bytes;\n var start = intIndex + store.byteOffset;\n var pack = arraySlice(bytes, start, start + count);\n return isLittleEndian ? pack : reverse(pack);\n};\nvar set = function set(view, count, index, conversion, value, isLittleEndian) {\n var intIndex = toIndex(index);\n var store = getInternalState(view);\n if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX);\n var bytes = getInternalState(store.buffer).bytes;\n var start = intIndex + store.byteOffset;\n var pack = conversion(+value);\n for (var i = 0; i < count; i++) bytes[start + i] = pack[isLittleEndian ? i : count - i - 1];\n};\nif (!NATIVE_ARRAY_BUFFER) {\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, ArrayBufferPrototype);\n var byteLength = toIndex(length);\n setInternalState(this, {\n bytes: fill(Array(byteLength), 0),\n byteLength: byteLength\n });\n if (!DESCRIPTORS) this.byteLength = byteLength;\n };\n ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE];\n $DataView = function DataView(buffer, byteOffset, byteLength) {\n anInstance(this, DataViewPrototype);\n anInstance(buffer, ArrayBufferPrototype);\n var bufferLength = getInternalState(buffer).byteLength;\n var offset = toIntegerOrInfinity(byteOffset);\n if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset');\n byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);\n if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);\n setInternalState(this, {\n buffer: buffer,\n byteLength: byteLength,\n byteOffset: offset\n });\n if (!DESCRIPTORS) {\n this.buffer = buffer;\n this.byteLength = byteLength;\n this.byteOffset = offset;\n }\n };\n DataViewPrototype = $DataView[PROTOTYPE];\n if (DESCRIPTORS) {\n addGetter($ArrayBuffer, 'byteLength');\n addGetter($DataView, 'buffer');\n addGetter($DataView, 'byteLength');\n addGetter($DataView, 'byteOffset');\n }\n defineBuiltIns(DataViewPrototype, {\n getInt8: function getInt8(byteOffset) {\n return get(this, 1, byteOffset)[0] << 24 >> 24;\n },\n getUint8: function getUint8(byteOffset) {\n return get(this, 1, byteOffset)[0];\n },\n getInt16: function getInt16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined);\n return (bytes[1] << 8 | bytes[0]) << 16 >> 16;\n },\n getUint16: function getUint16(byteOffset /* , littleEndian */) {\n var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined);\n return bytes[1] << 8 | bytes[0];\n },\n getInt32: function getInt32(byteOffset /* , littleEndian */) {\n return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined));\n },\n getUint32: function getUint32(byteOffset /* , littleEndian */) {\n return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined)) >>> 0;\n },\n getFloat32: function getFloat32(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 23);\n },\n getFloat64: function getFloat64(byteOffset /* , littleEndian */) {\n return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 52);\n },\n setInt8: function setInt8(byteOffset, value) {\n set(this, 1, byteOffset, packInt8, value);\n },\n setUint8: function setUint8(byteOffset, value) {\n set(this, 1, byteOffset, packInt8, value);\n },\n setInt16: function setInt16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined);\n },\n setUint16: function setUint16(byteOffset, value /* , littleEndian */) {\n set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined);\n },\n setInt32: function setInt32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined);\n },\n setUint32: function setUint32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined);\n },\n setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {\n set(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : undefined);\n },\n setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {\n set(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : undefined);\n }\n });\n} else {\n var INCORRECT_ARRAY_BUFFER_NAME = PROPER_FUNCTION_NAME && NativeArrayBuffer.name !== ARRAY_BUFFER;\n /* eslint-disable no-new -- required for testing */\n if (!fails(function () {\n NativeArrayBuffer(1);\n }) || !fails(function () {\n new NativeArrayBuffer(-1);\n }) || fails(function () {\n new NativeArrayBuffer();\n new NativeArrayBuffer(1.5);\n new NativeArrayBuffer(NaN);\n return INCORRECT_ARRAY_BUFFER_NAME && !CONFIGURABLE_FUNCTION_NAME;\n })) {\n /* eslint-enable no-new -- required for testing */\n $ArrayBuffer = function ArrayBuffer(length) {\n anInstance(this, ArrayBufferPrototype);\n return new NativeArrayBuffer(toIndex(length));\n };\n $ArrayBuffer[PROTOTYPE] = ArrayBufferPrototype;\n for (var keys = getOwnPropertyNames(NativeArrayBuffer), j = 0, key; keys.length > j;) {\n if (!((key = keys[j++]) in $ArrayBuffer)) {\n createNonEnumerableProperty($ArrayBuffer, key, NativeArrayBuffer[key]);\n }\n }\n ArrayBufferPrototype.constructor = $ArrayBuffer;\n } else if (INCORRECT_ARRAY_BUFFER_NAME && CONFIGURABLE_FUNCTION_NAME) {\n createNonEnumerableProperty(NativeArrayBuffer, 'name', ARRAY_BUFFER);\n }\n\n // WebKit bug - the same parent prototype for typed arrays and data view\n if (setPrototypeOf && getPrototypeOf(DataViewPrototype) !== ObjectPrototype) {\n setPrototypeOf(DataViewPrototype, ObjectPrototype);\n }\n\n // iOS Safari 7.x bug\n var testView = new $DataView(new $ArrayBuffer(2));\n var $setInt8 = uncurryThis(DataViewPrototype.setInt8);\n testView.setInt8(0, 2147483648);\n testView.setInt8(1, 2147483649);\n if (testView.getInt8(0) || !testView.getInt8(1)) defineBuiltIns(DataViewPrototype, {\n setInt8: function setInt8(byteOffset, value) {\n $setInt8(this, byteOffset, value << 24 >> 24);\n },\n setUint8: function setUint8(byteOffset, value) {\n $setInt8(this, byteOffset, value << 24 >> 24);\n }\n }, {\n unsafe: true\n });\n}\nsetToStringTag($ArrayBuffer, ARRAY_BUFFER);\nsetToStringTag($DataView, DATA_VIEW);\nmodule.exports = {\n ArrayBuffer: $ArrayBuffer,\n DataView: $DataView\n};", "'use strict';\n\nvar anObject = require('../internals/an-object');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar $TypeError = TypeError;\n\n// `Date.prototype[@@toPrimitive](hint)` method implementation\n// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive\nmodule.exports = function (hint) {\n anObject(this);\n if (hint === 'string' || hint === 'default') hint = 'string';else if (hint !== 'number') throw $TypeError('Incorrect hint');\n return ordinaryToPrimitive(this, hint);\n};", "// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it\nvar fails = require('../internals/fails');\nmodule.exports = fails(function () {\n if (typeof ArrayBuffer == 'function') {\n var buffer = new ArrayBuffer(8);\n // eslint-disable-next-line es-x/no-object-isextensible, es-x/no-object-defineproperty -- safe\n if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', {\n value: 8\n });\n }\n});", "var fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es-x/no-object-isextensible -- safe\nvar $isExtensible = Object.isExtensible;\nvar FAILS_ON_PRIMITIVES = fails(function () {\n $isExtensible(1);\n});\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\nmodule.exports = FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE ? function isExtensible(it) {\n if (!isObject(it)) return false;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false;\n return $isExtensible ? $isExtensible(it) : true;\n} : $isExtensible;", "var fails = require('../internals/fails');\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es-x/no-object-isextensible, es-x/no-object-preventextensions -- required for testing\n return Object.isExtensible(Object.preventExtensions({}));\n});", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar defineProperty = require('../internals/object-define-property').f;\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertyNamesExternalModule = require('../internals/object-get-own-property-names-external');\nvar isExtensible = require('../internals/object-is-extensible');\nvar uid = require('../internals/uid');\nvar FREEZING = require('../internals/freezing');\nvar REQUIRED = false;\nvar METADATA = uid('meta');\nvar id = 0;\nvar setMetadata = function setMetadata(it) {\n defineProperty(it, METADATA, {\n value: {\n objectID: 'O' + id++,\n // object ID\n weakData: {} // weak collections IDs\n }\n });\n};\nvar fastKey = function fastKey(it, create) {\n // return a primitive with prefix\n if (!isObject(it)) return _typeof(it) == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMetadata(it);\n // return object ID\n }\n return it[METADATA].objectID;\n};\nvar getWeakData = function getWeakData(it, create) {\n if (!hasOwn(it, METADATA)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMetadata(it);\n // return the store of weak collections IDs\n }\n return it[METADATA].weakData;\n};\n\n// add metadata on freeze-family methods calling\nvar onFreeze = function onFreeze(it) {\n if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it);\n return it;\n};\nvar enable = function enable() {\n meta.enable = function () {/* empty */};\n REQUIRED = true;\n var getOwnPropertyNames = getOwnPropertyNamesModule.f;\n var splice = uncurryThis([].splice);\n var test = {};\n test[METADATA] = 1;\n\n // prevent exposing of metadata key\n if (getOwnPropertyNames(test).length) {\n getOwnPropertyNamesModule.f = function (it) {\n var result = getOwnPropertyNames(it);\n for (var i = 0, length = result.length; i < length; i++) {\n if (result[i] === METADATA) {\n splice(result, i, 1);\n break;\n }\n }\n return result;\n };\n $({\n target: 'Object',\n stat: true,\n forced: true\n }, {\n getOwnPropertyNames: getOwnPropertyNamesExternalModule.f\n });\n }\n};\nvar meta = module.exports = {\n enable: enable,\n fastKey: fastKey,\n getWeakData: getWeakData,\n onFreeze: onFreeze\n};\nhiddenKeys[METADATA] = true;", "'use strict';\n\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar iterate = require('../internals/iterate');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nmodule.exports = function (CONSTRUCTOR_NAME, wrapper, common) {\n var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;\n var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;\n var ADDER = IS_MAP ? 'set' : 'add';\n var NativeConstructor = global[CONSTRUCTOR_NAME];\n var NativePrototype = NativeConstructor && NativeConstructor.prototype;\n var Constructor = NativeConstructor;\n var exported = {};\n var fixMethod = function fixMethod(KEY) {\n var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);\n defineBuiltIn(NativePrototype, KEY, KEY == 'add' ? function add(value) {\n uncurriedNativeMethod(this, value === 0 ? 0 : value);\n return this;\n } : KEY == 'delete' ? function (key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'get' ? function get(key) {\n return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : KEY == 'has' ? function has(key) {\n return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);\n } : function set(key, value) {\n uncurriedNativeMethod(this, key === 0 ? 0 : key, value);\n return this;\n });\n };\n var REPLACE = isForced(CONSTRUCTOR_NAME, !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {\n new NativeConstructor().entries().next();\n })));\n if (REPLACE) {\n // create collection constructor\n Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);\n InternalMetadataModule.enable();\n } else if (isForced(CONSTRUCTOR_NAME, true)) {\n var instance = new Constructor();\n // early implementations not supports chaining\n var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n var THROWS_ON_PRIMITIVES = fails(function () {\n instance.has(1);\n });\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n // eslint-disable-next-line no-new -- required for testing\n var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) {\n new NativeConstructor(iterable);\n });\n // for early implementations -0 and +0 not the same\n var BUGGY_ZERO = !IS_WEAK && fails(function () {\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new NativeConstructor();\n var index = 5;\n while (index--) $instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n if (!ACCEPT_ITERABLES) {\n Constructor = wrapper(function (dummy, iterable) {\n anInstance(dummy, NativePrototype);\n var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);\n if (iterable != undefined) iterate(iterable, that[ADDER], {\n that: that,\n AS_ENTRIES: IS_MAP\n });\n return that;\n });\n Constructor.prototype = NativePrototype;\n NativePrototype.constructor = Constructor;\n }\n if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n\n // weak collections should not contains .clear method\n if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;\n }\n exported[CONSTRUCTOR_NAME] = Constructor;\n $({\n global: true,\n constructor: true,\n forced: Constructor != NativeConstructor\n }, exported);\n setToStringTag(Constructor, CONSTRUCTOR_NAME);\n if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);\n return Constructor;\n};", "'use strict';\n\nvar defineProperty = require('../internals/object-define-property').f;\nvar create = require('../internals/object-create');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar bind = require('../internals/function-bind-context');\nvar anInstance = require('../internals/an-instance');\nvar iterate = require('../internals/iterate');\nvar defineIterator = require('../internals/define-iterator');\nvar setSpecies = require('../internals/set-species');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fastKey = require('../internals/internal-metadata').fastKey;\nvar InternalStateModule = require('../internals/internal-state');\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\nmodule.exports = {\n getConstructor: function getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n index: create(null),\n first: undefined,\n last: undefined,\n size: 0\n });\n if (!DESCRIPTORS) that.size = 0;\n if (iterable != undefined) iterate(iterable, that[ADDER], {\n that: that,\n AS_ENTRIES: IS_MAP\n });\n });\n var Prototype = Constructor.prototype;\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var define = function define(that, key, value) {\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n var previous, index;\n // change existing entry\n if (entry) {\n entry.value = value;\n // create new entry\n } else {\n state.last = entry = {\n index: index = fastKey(key, true),\n key: key,\n value: value,\n previous: previous = state.last,\n next: undefined,\n removed: false\n };\n if (!state.first) state.first = entry;\n if (previous) previous.next = entry;\n if (DESCRIPTORS) state.size++;else that.size++;\n // add to index\n if (index !== 'F') state.index[index] = entry;\n }\n return that;\n };\n var getEntry = function getEntry(that, key) {\n var state = getInternalState(that);\n // fast case\n var index = fastKey(key);\n var entry;\n if (index !== 'F') return state.index[index];\n // frozen object case\n for (entry = state.first; entry; entry = entry.next) {\n if (entry.key == key) return entry;\n }\n };\n defineBuiltIns(Prototype, {\n // `{ Map, Set }.prototype.clear()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.clear\n // https://tc39.es/ecma262/#sec-set.prototype.clear\n clear: function clear() {\n var that = this;\n var state = getInternalState(that);\n var data = state.index;\n var entry = state.first;\n while (entry) {\n entry.removed = true;\n if (entry.previous) entry.previous = entry.previous.next = undefined;\n delete data[entry.index];\n entry = entry.next;\n }\n state.first = state.last = undefined;\n if (DESCRIPTORS) state.size = 0;else that.size = 0;\n },\n // `{ Map, Set }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.delete\n // https://tc39.es/ecma262/#sec-set.prototype.delete\n 'delete': function _delete(key) {\n var that = this;\n var state = getInternalState(that);\n var entry = getEntry(that, key);\n if (entry) {\n var next = entry.next;\n var prev = entry.previous;\n delete state.index[entry.index];\n entry.removed = true;\n if (prev) prev.next = next;\n if (next) next.previous = prev;\n if (state.first == entry) state.first = next;\n if (state.last == entry) state.last = prev;\n if (DESCRIPTORS) state.size--;else that.size--;\n }\n return !!entry;\n },\n // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.foreach\n // https://tc39.es/ecma262/#sec-set.prototype.foreach\n forEach: function forEach(callbackfn /* , that = undefined */) {\n var state = getInternalState(this);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var entry;\n while (entry = entry ? entry.next : state.first) {\n boundFunction(entry.value, entry.key, this);\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n }\n },\n // `{ Map, Set}.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-map.prototype.has\n // https://tc39.es/ecma262/#sec-set.prototype.has\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n defineBuiltIns(Prototype, IS_MAP ? {\n // `Map.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-map.prototype.get\n get: function get(key) {\n var entry = getEntry(this, key);\n return entry && entry.value;\n },\n // `Map.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-map.prototype.set\n set: function set(key, value) {\n return define(this, key === 0 ? 0 : key, value);\n }\n } : {\n // `Set.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-set.prototype.add\n add: function add(value) {\n return define(this, value = value === 0 ? 0 : value, value);\n }\n });\n if (DESCRIPTORS) defineProperty(Prototype, 'size', {\n get: function get() {\n return getInternalState(this).size;\n }\n });\n return Constructor;\n },\n setStrong: function setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP) {\n var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';\n var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);\n // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods\n // https://tc39.es/ecma262/#sec-map.prototype.entries\n // https://tc39.es/ecma262/#sec-map.prototype.keys\n // https://tc39.es/ecma262/#sec-map.prototype.values\n // https://tc39.es/ecma262/#sec-map.prototype-@@iterator\n // https://tc39.es/ecma262/#sec-set.prototype.entries\n // https://tc39.es/ecma262/#sec-set.prototype.keys\n // https://tc39.es/ecma262/#sec-set.prototype.values\n // https://tc39.es/ecma262/#sec-set.prototype-@@iterator\n defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {\n setInternalState(this, {\n type: ITERATOR_NAME,\n target: iterated,\n state: getInternalCollectionState(iterated),\n kind: kind,\n last: undefined\n });\n }, function () {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var entry = state.last;\n // revert to the last existing entry\n while (entry && entry.removed) entry = entry.previous;\n // get next entry\n if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {\n // or finish the iteration\n state.target = undefined;\n return {\n value: undefined,\n done: true\n };\n }\n // return step by kind\n if (kind == 'keys') return {\n value: entry.key,\n done: false\n };\n if (kind == 'values') return {\n value: entry.value,\n done: false\n };\n return {\n value: [entry.key, entry.value],\n done: false\n };\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n // `{ Map, Set }.prototype[@@species]` accessors\n // https://tc39.es/ecma262/#sec-get-map-@@species\n // https://tc39.es/ecma262/#sec-get-set-@@species\n setSpecies(CONSTRUCTOR_NAME);\n }\n};", "'use strict';\n\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Map` constructor\n// https://tc39.es/ecma262/#sec-map-objects\ncollection('Map', function (init) {\n return function Map() {\n return init(this, arguments.length ? arguments[0] : undefined);\n };\n}, collectionStrong);", "// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.map.constructor');", "var log = Math.log;\n\n// `Math.log1p` method implementation\n// https://tc39.es/ecma262/#sec-math.log1p\n// eslint-disable-next-line es-x/no-math-log1p -- safe\nmodule.exports = Math.log1p || function log1p(x) {\n var n = +x;\n return n > -1e-8 && n < 1e-8 ? n - n * n / 2 : log(1 + n);\n};", "// `Math.sign` method implementation\n// https://tc39.es/ecma262/#sec-math.sign\n// eslint-disable-next-line es-x/no-math-sign -- safe\nmodule.exports = Math.sign || function sign(x) {\n var n = +x;\n // eslint-disable-next-line no-self-compare -- NaN check\n return n == 0 || n != n ? n : n < 0 ? -1 : 1;\n};", "// eslint-disable-next-line es-x/no-math-expm1 -- safe\nvar $expm1 = Math.expm1;\nvar exp = Math.exp;\n\n// `Math.expm1` method implementation\n// https://tc39.es/ecma262/#sec-math.expm1\nmodule.exports = !$expm1\n// Old FF bug\n|| $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168\n// Tor Browser bug\n|| $expm1(-2e-17) != -2e-17 ? function expm1(x) {\n var n = +x;\n return n == 0 ? n : n > -1e-6 && n < 1e-6 ? n + n * n / 2 : exp(n) - 1;\n} : $expm1;", "var sign = require('../internals/math-sign');\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar EPSILON = pow(2, -52);\nvar EPSILON32 = pow(2, -23);\nvar MAX32 = pow(2, 127) * (2 - EPSILON32);\nvar MIN32 = pow(2, -126);\nvar roundTiesToEven = function roundTiesToEven(n) {\n return n + 1 / EPSILON - 1 / EPSILON;\n};\n\n// `Math.fround` method implementation\n// https://tc39.es/ecma262/#sec-math.fround\n// eslint-disable-next-line es-x/no-math-fround -- safe\nmodule.exports = Math.fround || function fround(x) {\n var n = +x;\n var $abs = abs(n);\n var $sign = sign(n);\n var a, result;\n if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n a = (1 + EPSILON32 / EPSILON) * $abs;\n result = a - (a - $abs);\n // eslint-disable-next-line no-self-compare -- NaN check\n if (result > MAX32 || result != result) return $sign * Infinity;\n return $sign * result;\n};", "var log = Math.log;\nvar LOG10E = Math.LOG10E;\n\n// eslint-disable-next-line es-x/no-math-log10 -- safe\nmodule.exports = Math.log10 || function log10(x) {\n return log(x) * LOG10E;\n};", "var uncurryThis = require('../internals/function-uncurry-this');\n\n// `thisNumberValue` abstract operation\n// https://tc39.es/ecma262/#sec-thisnumbervalue\nmodule.exports = uncurryThis(1.0.valueOf);", "// a string of all valid unicode whitespaces\nmodule.exports = \"\\t\\n\\x0B\\f\\r \\xA0\\u1680\\u2000\\u2001\\u2002\" + \"\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF\";", "var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar whitespaces = require('../internals/whitespaces');\nvar replace = uncurryThis(''.replace);\nvar whitespace = '[' + whitespaces + ']';\nvar ltrim = RegExp('^' + whitespace + whitespace + '*');\nvar rtrim = RegExp(whitespace + whitespace + '*$');\n\n// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation\nvar createMethod = function createMethod(TYPE) {\n return function ($this) {\n var string = toString(requireObjectCoercible($this));\n if (TYPE & 1) string = replace(string, ltrim, '');\n if (TYPE & 2) string = replace(string, rtrim, '');\n return string;\n };\n};\nmodule.exports = {\n // `String.prototype.{ trimLeft, trimStart }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimstart\n start: createMethod(1),\n // `String.prototype.{ trimRight, trimEnd }` methods\n // https://tc39.es/ecma262/#sec-string.prototype.trimend\n end: createMethod(2),\n // `String.prototype.trim` method\n // https://tc39.es/ecma262/#sec-string.prototype.trim\n trim: createMethod(3)\n};", "var global = require('../internals/global');\nvar globalIsFinite = global.isFinite;\n\n// `Number.isFinite` method\n// https://tc39.es/ecma262/#sec-number.isfinite\n// eslint-disable-next-line es-x/no-number-isfinite -- safe\nmodule.exports = Number.isFinite || function isFinite(it) {\n return typeof it == 'number' && globalIsFinite(it);\n};", "var isObject = require('../internals/is-object');\nvar floor = Math.floor;\n\n// `IsIntegralNumber` abstract operation\n// https://tc39.es/ecma262/#sec-isintegralnumber\n// eslint-disable-next-line es-x/no-number-isinteger -- safe\nmodule.exports = Number.isInteger || function isInteger(it) {\n return !isObject(it) && isFinite(it) && floor(it) === it;\n};", "var global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\nvar charAt = uncurryThis(''.charAt);\nvar n$ParseFloat = global.parseFloat;\nvar _Symbol = global.Symbol;\nvar ITERATOR = _Symbol && _Symbol.iterator;\nvar FORCED = 1 / n$ParseFloat(whitespaces + '-0') !== -Infinity\n// MS Edge 18- broken with boxed symbols\n|| ITERATOR && !fails(function () {\n n$ParseFloat(Object(ITERATOR));\n});\n\n// `parseFloat` method\n// https://tc39.es/ecma262/#sec-parsefloat-string\nmodule.exports = FORCED ? function parseFloat(string) {\n var trimmedString = trim(toString(string));\n var result = n$ParseFloat(trimmedString);\n return result === 0 && charAt(trimmedString, 0) == '-' ? -0 : result;\n} : n$ParseFloat;", "var global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\nvar $parseInt = global.parseInt;\nvar _Symbol = global.Symbol;\nvar ITERATOR = _Symbol && _Symbol.iterator;\nvar hex = /^[+-]?0x/i;\nvar exec = uncurryThis(hex.exec);\nvar FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22\n// MS Edge 18- broken with boxed symbols\n|| ITERATOR && !fails(function () {\n $parseInt(Object(ITERATOR));\n});\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\nmodule.exports = FORCED ? function parseInt(string, radix) {\n var S = trim(toString(string));\n return $parseInt(S, radix >>> 0 || (exec(hex, S) ? 16 : 10));\n} : $parseInt;", "'use strict';\n\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar $RangeError = RangeError;\n\n// `String.prototype.repeat` method implementation\n// https://tc39.es/ecma262/#sec-string.prototype.repeat\nmodule.exports = function repeat(count) {\n var str = toString(requireObjectCoercible(this));\n var result = '';\n var n = toIntegerOrInfinity(count);\n if (n < 0 || n == Infinity) throw $RangeError('Wrong number of repetitions');\n for (; n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;\n return result;\n};", "'use strict';\n\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\n// eslint-disable-next-line es-x/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\nvar concat = uncurryThis([].concat);\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && $assign({\n b: 1\n }, $assign(defineProperty({}, 'a', {\n enumerable: true,\n get: function get() {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), {\n b: 2\n })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line es-x/no-symbol -- safe\n var symbol = Symbol();\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) {\n B[chr] = chr;\n });\n return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;\n}) ? function assign(target, source) {\n // eslint-disable-line no-unused-vars -- required for `.length`\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];\n }\n }\n return T;\n} : $assign;", "'use strict';\n\nvar IS_PURE = require('../internals/is-pure');\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar WEBKIT = require('../internals/engine-webkit-version');\n\n// Forced replacement object prototype accessors methods\nmodule.exports = IS_PURE || !fails(function () {\n // This feature detection crashes old WebKit\n // https://github.com/zloirock/core-js/issues/232\n if (WEBKIT && WEBKIT < 535) return;\n var key = Math.random();\n // In FF throws only define methods\n // eslint-disable-next-line no-undef, no-useless-call, es-x/no-legacy-object-prototype-accessor-methods -- required for testing\n __defineSetter__.call(null, key, function () {/* empty */});\n delete global[key];\n});", "var DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar objectKeys = require('../internals/object-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $propertyIsEnumerable = require('../internals/object-property-is-enumerable').f;\nvar propertyIsEnumerable = uncurryThis($propertyIsEnumerable);\nvar push = uncurryThis([].push);\n\n// `Object.{ entries, values }` methods implementation\nvar createMethod = function createMethod(TO_ENTRIES) {\n return function (it) {\n var O = toIndexedObject(it);\n var keys = objectKeys(O);\n var length = keys.length;\n var i = 0;\n var result = [];\n var key;\n while (length > i) {\n key = keys[i++];\n if (!DESCRIPTORS || propertyIsEnumerable(O, key)) {\n push(result, TO_ENTRIES ? [key, O[key]] : O[key]);\n }\n }\n return result;\n };\n};\nmodule.exports = {\n // `Object.entries` method\n // https://tc39.es/ecma262/#sec-object.entries\n entries: createMethod(true),\n // `Object.values` method\n // https://tc39.es/ecma262/#sec-object.values\n values: createMethod(false)\n};", "// `SameValue` abstract operation\n// https://tc39.es/ecma262/#sec-samevalue\n// eslint-disable-next-line es-x/no-object-is -- safe\nmodule.exports = Object.is || function is(x, y) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};", "'use strict';\n\nvar TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar classof = require('../internals/classof');\n\n// `Object.prototype.toString` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nmodule.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() {\n return '[object ' + classof(this) + ']';\n};", "var classof = require('../internals/classof-raw');\nvar global = require('../internals/global');\nmodule.exports = classof(global.process) == 'process';", "var isConstructor = require('../internals/is-constructor');\nvar tryToString = require('../internals/try-to-string');\nvar $TypeError = TypeError;\n\n// `Assert: IsConstructor(argument) is true`\nmodule.exports = function (argument) {\n if (isConstructor(argument)) return argument;\n throw $TypeError(tryToString(argument) + ' is not a constructor');\n};", "var anObject = require('../internals/an-object');\nvar aConstructor = require('../internals/a-constructor');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar SPECIES = wellKnownSymbol('species');\n\n// `SpeciesConstructor` abstract operation\n// https://tc39.es/ecma262/#sec-speciesconstructor\nmodule.exports = function (O, defaultConstructor) {\n var C = anObject(O).constructor;\n var S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aConstructor(S);\n};", "var $TypeError = TypeError;\nmodule.exports = function (passed, required) {\n if (passed < required) throw $TypeError('Not enough arguments');\n return passed;\n};", "var userAgent = require('../internals/engine-user-agent');\nmodule.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent);", "var global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind-context');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar fails = require('../internals/fails');\nvar html = require('../internals/html');\nvar arraySlice = require('../internals/array-slice');\nvar createElement = require('../internals/document-create-element');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_NODE = require('../internals/engine-is-node');\nvar set = global.setImmediate;\nvar clear = global.clearImmediate;\nvar process = global.process;\nvar Dispatch = global.Dispatch;\nvar Function = global.Function;\nvar MessageChannel = global.MessageChannel;\nvar String = global.String;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar location, defer, channel, port;\ntry {\n // Deno throws a ReferenceError on `location` access without `--location` flag\n location = global.location;\n} catch (error) {/* empty */}\nvar run = function run(id) {\n if (hasOwn(queue, id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\nvar runner = function runner(id) {\n return function () {\n run(id);\n };\n};\nvar listener = function listener(event) {\n run(event.data);\n};\nvar post = function post(id) {\n // old engines have not location.origin\n global.postMessage(String(id), location.protocol + '//' + location.host);\n};\n\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!set || !clear) {\n set = function setImmediate(handler) {\n validateArgumentsLength(arguments.length, 1);\n var fn = isCallable(handler) ? handler : Function(handler);\n var args = arraySlice(arguments, 1);\n queue[++counter] = function () {\n apply(fn, undefined, args);\n };\n defer(counter);\n return counter;\n };\n clear = function clearImmediate(id) {\n delete queue[id];\n };\n // Node.js 0.8-\n if (IS_NODE) {\n defer = function defer(id) {\n process.nextTick(runner(id));\n };\n // Sphere (JS game engine) Dispatch API\n } else if (Dispatch && Dispatch.now) {\n defer = function defer(id) {\n Dispatch.now(runner(id));\n };\n // Browsers with MessageChannel, includes WebWorkers\n // except iOS - https://github.com/zloirock/core-js/issues/624\n } else if (MessageChannel && !IS_IOS) {\n channel = new MessageChannel();\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = bind(port.postMessage, port);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if (global.addEventListener && isCallable(global.postMessage) && !global.importScripts && location && location.protocol !== 'file:' && !fails(post)) {\n defer = post;\n global.addEventListener('message', listener, false);\n // IE8-\n } else if (ONREADYSTATECHANGE in createElement('script')) {\n defer = function defer(id) {\n html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {\n html.removeChild(this);\n run(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function defer(id) {\n setTimeout(runner(id), 0);\n };\n }\n}\nmodule.exports = {\n set: set,\n clear: clear\n};", "var userAgent = require('../internals/engine-user-agent');\nvar global = require('../internals/global');\nmodule.exports = /ipad|iphone|ipod/i.test(userAgent) && global.Pebble !== undefined;", "var userAgent = require('../internals/engine-user-agent');\nmodule.exports = /web0s(?!.*chrome)/i.test(userAgent);", "var global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar macrotask = require('../internals/task').set;\nvar IS_IOS = require('../internals/engine-is-ios');\nvar IS_IOS_PEBBLE = require('../internals/engine-is-ios-pebble');\nvar IS_WEBOS_WEBKIT = require('../internals/engine-is-webos-webkit');\nvar IS_NODE = require('../internals/engine-is-node');\nvar MutationObserver = global.MutationObserver || global.WebKitMutationObserver;\nvar document = global.document;\nvar process = global.process;\nvar Promise = global.Promise;\n// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`\nvar queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask');\nvar queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;\nvar flush, head, last, notify, toggle, node, promise, then;\n\n// modern engines have queueMicrotask method\nif (!queueMicrotask) {\n flush = function flush() {\n var parent, fn;\n if (IS_NODE && (parent = process.domain)) parent.exit();\n while (head) {\n fn = head.fn;\n head = head.next;\n try {\n fn();\n } catch (error) {\n if (head) notify();else last = undefined;\n throw error;\n }\n }\n last = undefined;\n if (parent) parent.enter();\n };\n\n // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339\n // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898\n if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) {\n toggle = true;\n node = document.createTextNode('');\n new MutationObserver(flush).observe(node, {\n characterData: true\n });\n notify = function notify() {\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) {\n // Promise.resolve without an argument throws an error in LG WebOS 2\n promise = Promise.resolve(undefined);\n // workaround of WebKit ~ iOS Safari 10.1 bug\n promise.constructor = Promise;\n then = bind(promise.then, promise);\n notify = function notify() {\n then(flush);\n };\n // Node.js without promises\n } else if (IS_NODE) {\n notify = function notify() {\n process.nextTick(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessage\n // - onreadystatechange\n // - setTimeout\n } else {\n // strange IE + webpack dev server bug - use .bind(global)\n macrotask = bind(macrotask, global);\n notify = function notify() {\n macrotask(flush);\n };\n }\n}\nmodule.exports = queueMicrotask || function (fn) {\n var task = {\n fn: fn,\n next: undefined\n };\n if (last) last.next = task;\n if (!head) {\n head = task;\n notify();\n }\n last = task;\n};", "var global = require('../internals/global');\nmodule.exports = function (a, b) {\n var console = global.console;\n if (console && console.error) {\n arguments.length == 1 ? console.error(a) : console.error(a, b);\n }\n};", "module.exports = function (exec) {\n try {\n return {\n error: false,\n value: exec()\n };\n } catch (error) {\n return {\n error: true,\n value: error\n };\n }\n};", "var Queue = function Queue() {\n this.head = null;\n this.tail = null;\n};\nQueue.prototype = {\n add: function add(item) {\n var entry = {\n item: item,\n next: null\n };\n if (this.head) this.tail.next = entry;else this.head = entry;\n this.tail = entry;\n },\n get: function get() {\n var entry = this.head;\n if (entry) {\n this.head = entry.next;\n if (this.tail === entry) this.tail = null;\n return entry.item;\n }\n }\n};\nmodule.exports = Queue;", "var global = require('../internals/global');\nmodule.exports = global.Promise;", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n/* global Deno -- Deno case */\nmodule.exports = (typeof Deno === \"undefined\" ? \"undefined\" : _typeof(Deno)) == 'object' && Deno && _typeof(Deno.version) == 'object';", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar IS_DENO = require('../internals/engine-is-deno');\nvar IS_NODE = require('../internals/engine-is-node');\nmodule.exports = !IS_DENO && !IS_NODE && (typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) == 'object' && (typeof document === \"undefined\" ? \"undefined\" : _typeof(document)) == 'object';", "var global = require('../internals/global');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar isCallable = require('../internals/is-callable');\nvar isForced = require('../internals/is-forced');\nvar inspectSource = require('../internals/inspect-source');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_BROWSER = require('../internals/engine-is-browser');\nvar IS_DENO = require('../internals/engine-is-deno');\nvar IS_PURE = require('../internals/is-pure');\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar SPECIES = wellKnownSymbol('species');\nvar SUBCLASSING = false;\nvar NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent);\nvar FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () {\n var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor);\n var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor);\n // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n // We can't detect it synchronously, so just check versions\n if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true;\n // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution\n if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true;\n // We can't use @@species feature detection in V8 since it causes\n // deoptimization and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {\n // Detect correctness of subclassing with @@species support\n var promise = new NativePromiseConstructor(function (resolve) {\n resolve(1);\n });\n var FakePromise = function FakePromise(exec) {\n exec(function () {/* empty */}, function () {/* empty */});\n };\n var constructor = promise.constructor = {};\n constructor[SPECIES] = FakePromise;\n SUBCLASSING = promise.then(function () {/* empty */}) instanceof FakePromise;\n if (!SUBCLASSING) return true;\n // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n }\n return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT;\n});\nmodule.exports = {\n CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR,\n REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT,\n SUBCLASSING: SUBCLASSING\n};", "'use strict';\n\nvar aCallable = require('../internals/a-callable');\nvar PromiseCapability = function PromiseCapability(C) {\n var resolve, reject;\n this.promise = new C(function ($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aCallable(resolve);\n this.reject = aCallable(reject);\n};\n\n// `NewPromiseCapability` abstract operation\n// https://tc39.es/ecma262/#sec-newpromisecapability\nmodule.exports.f = function (C) {\n return new PromiseCapability(C);\n};", "'use strict';\n\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar IS_NODE = require('../internals/engine-is-node');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar setSpecies = require('../internals/set-species');\nvar aCallable = require('../internals/a-callable');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar speciesConstructor = require('../internals/species-constructor');\nvar task = require('../internals/task').set;\nvar microtask = require('../internals/microtask');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar perform = require('../internals/perform');\nvar Queue = require('../internals/queue');\nvar InternalStateModule = require('../internals/internal-state');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar PromiseConstructorDetection = require('../internals/promise-constructor-detection');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar PROMISE = 'Promise';\nvar FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR;\nvar NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT;\nvar NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING;\nvar getInternalPromiseState = InternalStateModule.getterFor(PROMISE);\nvar setInternalState = InternalStateModule.set;\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\nvar PromiseConstructor = NativePromiseConstructor;\nvar PromisePrototype = NativePromisePrototype;\nvar TypeError = global.TypeError;\nvar document = global.document;\nvar process = global.process;\nvar newPromiseCapability = newPromiseCapabilityModule.f;\nvar newGenericPromiseCapability = newPromiseCapability;\nvar DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent);\nvar UNHANDLED_REJECTION = 'unhandledrejection';\nvar REJECTION_HANDLED = 'rejectionhandled';\nvar PENDING = 0;\nvar FULFILLED = 1;\nvar REJECTED = 2;\nvar HANDLED = 1;\nvar UNHANDLED = 2;\nvar Internal, OwnPromiseCapability, PromiseWrapper, nativeThen;\n\n// helpers\nvar isThenable = function isThenable(it) {\n var then;\n return isObject(it) && isCallable(then = it.then) ? then : false;\n};\nvar callReaction = function callReaction(reaction, state) {\n var value = state.value;\n var ok = state.state == FULFILLED;\n var handler = ok ? reaction.ok : reaction.fail;\n var resolve = reaction.resolve;\n var reject = reaction.reject;\n var domain = reaction.domain;\n var result, then, exited;\n try {\n if (handler) {\n if (!ok) {\n if (state.rejection === UNHANDLED) onHandleUnhandled(state);\n state.rejection = HANDLED;\n }\n if (handler === true) result = value;else {\n if (domain) domain.enter();\n result = handler(value); // can throw\n if (domain) {\n domain.exit();\n exited = true;\n }\n }\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n call(then, result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch (error) {\n if (domain && !exited) domain.exit();\n reject(error);\n }\n};\nvar notify = function notify(state, isReject) {\n if (state.notified) return;\n state.notified = true;\n microtask(function () {\n var reactions = state.reactions;\n var reaction;\n while (reaction = reactions.get()) {\n callReaction(reaction, state);\n }\n state.notified = false;\n if (isReject && !state.rejection) onUnhandled(state);\n });\n};\nvar dispatchEvent = function dispatchEvent(name, promise, reason) {\n var event, handler;\n if (DISPATCH_EVENT) {\n event = document.createEvent('Event');\n event.promise = promise;\n event.reason = reason;\n event.initEvent(name, false, true);\n global.dispatchEvent(event);\n } else event = {\n promise: promise,\n reason: reason\n };\n if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event);else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);\n};\nvar onUnhandled = function onUnhandled(state) {\n call(task, global, function () {\n var promise = state.facade;\n var value = state.value;\n var IS_UNHANDLED = isUnhandled(state);\n var result;\n if (IS_UNHANDLED) {\n result = perform(function () {\n if (IS_NODE) {\n process.emit('unhandledRejection', value, promise);\n } else dispatchEvent(UNHANDLED_REJECTION, promise, value);\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED;\n if (result.error) throw result.value;\n }\n });\n};\nvar isUnhandled = function isUnhandled(state) {\n return state.rejection !== HANDLED && !state.parent;\n};\nvar onHandleUnhandled = function onHandleUnhandled(state) {\n call(task, global, function () {\n var promise = state.facade;\n if (IS_NODE) {\n process.emit('rejectionHandled', promise);\n } else dispatchEvent(REJECTION_HANDLED, promise, state.value);\n });\n};\nvar bind = function bind(fn, state, unwrap) {\n return function (value) {\n fn(state, value, unwrap);\n };\n};\nvar internalReject = function internalReject(state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n state.value = value;\n state.state = REJECTED;\n notify(state, true);\n};\nvar internalResolve = function internalResolve(state, value, unwrap) {\n if (state.done) return;\n state.done = true;\n if (unwrap) state = unwrap;\n try {\n if (state.facade === value) throw TypeError(\"Promise can't be resolved itself\");\n var then = isThenable(value);\n if (then) {\n microtask(function () {\n var wrapper = {\n done: false\n };\n try {\n call(then, value, bind(internalResolve, wrapper, state), bind(internalReject, wrapper, state));\n } catch (error) {\n internalReject(wrapper, error, state);\n }\n });\n } else {\n state.value = value;\n state.state = FULFILLED;\n notify(state, false);\n }\n } catch (error) {\n internalReject({\n done: false\n }, error, state);\n }\n};\n\n// constructor polyfill\nif (FORCED_PROMISE_CONSTRUCTOR) {\n // 25.4.3.1 Promise(executor)\n PromiseConstructor = function Promise(executor) {\n anInstance(this, PromisePrototype);\n aCallable(executor);\n call(Internal, this);\n var state = getInternalPromiseState(this);\n try {\n executor(bind(internalResolve, state), bind(internalReject, state));\n } catch (error) {\n internalReject(state, error);\n }\n };\n PromisePrototype = PromiseConstructor.prototype;\n\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n Internal = function Promise(executor) {\n setInternalState(this, {\n type: PROMISE,\n done: false,\n notified: false,\n parent: false,\n reactions: new Queue(),\n rejection: false,\n state: PENDING,\n value: undefined\n });\n };\n\n // `Promise.prototype.then` method\n // https://tc39.es/ecma262/#sec-promise.prototype.then\n Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var state = getInternalPromiseState(this);\n var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor));\n state.parent = true;\n reaction.ok = isCallable(onFulfilled) ? onFulfilled : true;\n reaction.fail = isCallable(onRejected) && onRejected;\n reaction.domain = IS_NODE ? process.domain : undefined;\n if (state.state == PENDING) state.reactions.add(reaction);else microtask(function () {\n callReaction(reaction, state);\n });\n return reaction.promise;\n });\n OwnPromiseCapability = function OwnPromiseCapability() {\n var promise = new Internal();\n var state = getInternalPromiseState(promise);\n this.promise = promise;\n this.resolve = bind(internalResolve, state);\n this.reject = bind(internalReject, state);\n };\n newPromiseCapabilityModule.f = newPromiseCapability = function newPromiseCapability(C) {\n return C === PromiseConstructor || C === PromiseWrapper ? new OwnPromiseCapability(C) : newGenericPromiseCapability(C);\n };\n if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) {\n nativeThen = NativePromisePrototype.then;\n if (!NATIVE_PROMISE_SUBCLASSING) {\n // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs\n defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) {\n var that = this;\n return new PromiseConstructor(function (resolve, reject) {\n call(nativeThen, that, resolve, reject);\n }).then(onFulfilled, onRejected);\n // https://github.com/zloirock/core-js/issues/640\n }, {\n unsafe: true\n });\n }\n\n // make `.constructor === Promise` work for native promise-based APIs\n try {\n delete NativePromisePrototype.constructor;\n } catch (error) {/* empty */}\n\n // make `instanceof Promise` work for native promise-based APIs\n if (setPrototypeOf) {\n setPrototypeOf(NativePromisePrototype, PromisePrototype);\n }\n }\n}\n$({\n global: true,\n constructor: true,\n wrap: true,\n forced: FORCED_PROMISE_CONSTRUCTOR\n}, {\n Promise: PromiseConstructor\n});\nsetToStringTag(PromiseConstructor, PROMISE, false, true);\nsetSpecies(PROMISE);", "var NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nmodule.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) {\n NativePromiseConstructor.all(iterable).then(undefined, function () {/* empty */});\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.all` method\n// https://tc39.es/ecma262/#sec-promise.all\n$({\n target: 'Promise',\n stat: true,\n forced: PROMISE_STATICS_INCORRECT_ITERATION\n}, {\n all: function all(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call($promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\n\n// `Promise.prototype.catch` method\n// https://tc39.es/ecma262/#sec-promise.prototype.catch\n$({\n target: 'Promise',\n proto: true,\n forced: FORCED_PROMISE_CONSTRUCTOR,\n real: true\n}, {\n 'catch': function _catch(onRejected) {\n return this.then(undefined, onRejected);\n }\n});\n\n// makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromiseConstructor)) {\n var method = getBuiltIn('Promise').prototype['catch'];\n if (NativePromisePrototype['catch'] !== method) {\n defineBuiltIn(NativePromisePrototype, 'catch', method, {\n unsafe: true\n });\n }\n}", "'use strict';\n\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_STATICS_INCORRECT_ITERATION = require('../internals/promise-statics-incorrect-iteration');\n\n// `Promise.race` method\n// https://tc39.es/ecma262/#sec-promise.race\n$({\n target: 'Promise',\n stat: true,\n forced: PROMISE_STATICS_INCORRECT_ITERATION\n}, {\n race: function race(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var reject = capability.reject;\n var result = perform(function () {\n var $promiseResolve = aCallable(C.resolve);\n iterate(iterable, function (promise) {\n call($promiseResolve, C, promise).then(capability.resolve, reject);\n });\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\n\n// `Promise.reject` method\n// https://tc39.es/ecma262/#sec-promise.reject\n$({\n target: 'Promise',\n stat: true,\n forced: FORCED_PROMISE_CONSTRUCTOR\n}, {\n reject: function reject(r) {\n var capability = newPromiseCapabilityModule.f(this);\n call(capability.reject, undefined, r);\n return capability.promise;\n }\n});", "var anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar newPromiseCapability = require('../internals/new-promise-capability');\nmodule.exports = function (C, x) {\n anObject(C);\n if (isObject(x) && x.constructor === C) return x;\n var promiseCapability = newPromiseCapability.f(C);\n var resolve = promiseCapability.resolve;\n resolve(x);\n return promiseCapability.promise;\n};", "'use strict';\n\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar FORCED_PROMISE_CONSTRUCTOR = require('../internals/promise-constructor-detection').CONSTRUCTOR;\nvar promiseResolve = require('../internals/promise-resolve');\nvar PromiseConstructorWrapper = getBuiltIn('Promise');\nvar CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR;\n\n// `Promise.resolve` method\n// https://tc39.es/ecma262/#sec-promise.resolve\n$({\n target: 'Promise',\n stat: true,\n forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR\n}, {\n resolve: function resolve(x) {\n return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x);\n }\n});", "'use strict';\n\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar arraySlice = require('../internals/array-slice');\nvar NATIVE_BIND = require('../internals/function-bind-native');\nvar $Function = Function;\nvar concat = uncurryThis([].concat);\nvar join = uncurryThis([].join);\nvar factories = {};\nvar construct = function construct(C, argsLength, args) {\n if (!hasOwn(factories, argsLength)) {\n for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']';\n factories[argsLength] = $Function('C,a', 'return new C(' + join(list, ',') + ')');\n }\n return factories[argsLength](C, args);\n};\n\n// `Function.prototype.bind` method implementation\n// https://tc39.es/ecma262/#sec-function.prototype.bind\nmodule.exports = NATIVE_BIND ? $Function.bind : function bind(that /* , ...args */) {\n var F = aCallable(this);\n var Prototype = F.prototype;\n var partArgs = arraySlice(arguments, 1);\n var boundFunction = function bound( /* args... */\n ) {\n var args = concat(partArgs, arraySlice(arguments));\n return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args);\n };\n if (isObject(Prototype)) boundFunction.prototype = Prototype;\n return boundFunction;\n};", "var hasOwn = require('../internals/has-own-property');\nmodule.exports = function (descriptor) {\n return descriptor !== undefined && (hasOwn(descriptor, 'value') || hasOwn(descriptor, 'writable'));\n};", "var isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar MATCH = wellKnownSymbol('match');\n\n// `IsRegExp` abstract operation\n// https://tc39.es/ecma262/#sec-isregexp\nmodule.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');\n};", "'use strict';\n\nvar anObject = require('../internals/an-object');\n\n// `RegExp.prototype.flags` getter implementation\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nmodule.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.hasIndices) result += 'd';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.dotAll) result += 's';\n if (that.unicode) result += 'u';\n if (that.unicodeSets) result += 'v';\n if (that.sticky) result += 'y';\n return result;\n};", "var call = require('../internals/function-call');\nvar hasOwn = require('../internals/has-own-property');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar regExpFlags = require('../internals/regexp-flags');\nvar RegExpPrototype = RegExp.prototype;\nmodule.exports = function (R) {\n var flags = R.flags;\n return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R) ? call(regExpFlags, R) : flags;\n};", "var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError\nvar $RegExp = global.RegExp;\nvar UNSUPPORTED_Y = fails(function () {\n var re = $RegExp('a', 'y');\n re.lastIndex = 2;\n return re.exec('abcd') != null;\n});\n\n// UC Browser bug\n// https://github.com/zloirock/core-js/issues/1008\nvar MISSED_STICKY = UNSUPPORTED_Y || fails(function () {\n return !$RegExp('a', 'y').sticky;\n});\nvar BROKEN_CARET = UNSUPPORTED_Y || fails(function () {\n // https://bugzilla.mozilla.org/show_bug.cgi?id=773687\n var re = $RegExp('^r', 'gy');\n re.lastIndex = 2;\n return re.exec('str') != null;\n});\nmodule.exports = {\n BROKEN_CARET: BROKEN_CARET,\n MISSED_STICKY: MISSED_STICKY,\n UNSUPPORTED_Y: UNSUPPORTED_Y\n};", "var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError\nvar $RegExp = global.RegExp;\nmodule.exports = fails(function () {\n var re = $RegExp('.', 's');\n return !(re.dotAll && re.exec('\\n') && re.flags === 's');\n});", "var fails = require('../internals/fails');\nvar global = require('../internals/global');\n\n// babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError\nvar $RegExp = global.RegExp;\nmodule.exports = fails(function () {\n var re = $RegExp('(?b)', 'g');\n return re.exec('b').groups.a !== 'b' || 'b'.replace(re, '$c') !== 'bc';\n});", "var makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, {\n getter: true\n });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, {\n setter: true\n });\n return defineProperty.f(target, name, descriptor);\n};", "'use strict';\n\n/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */\n/* eslint-disable regexp/no-useless-quantifier -- testing */\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar regexpFlags = require('../internals/regexp-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar shared = require('../internals/shared');\nvar create = require('../internals/object-create');\nvar getInternalState = require('../internals/internal-state').get;\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\nvar nativeReplace = shared('native-string-replace', String.prototype.replace);\nvar nativeExec = RegExp.prototype.exec;\nvar patchedExec = nativeExec;\nvar charAt = uncurryThis(''.charAt);\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar UPDATES_LAST_INDEX_WRONG = function () {\n var re1 = /a/;\n var re2 = /b*/g;\n call(nativeExec, re1, 'a');\n call(nativeExec, re2, 'a');\n return re1.lastIndex !== 0 || re2.lastIndex !== 0;\n}();\nvar UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;\nif (PATCH) {\n patchedExec = function exec(string) {\n var re = this;\n var state = getInternalState(re);\n var str = toString(string);\n var raw = state.raw;\n var result, reCopy, lastIndex, match, i, object, group;\n if (raw) {\n raw.lastIndex = re.lastIndex;\n result = call(patchedExec, raw, str);\n re.lastIndex = raw.lastIndex;\n return result;\n }\n var groups = state.groups;\n var sticky = UNSUPPORTED_Y && re.sticky;\n var flags = call(regexpFlags, re);\n var source = re.source;\n var charsAdded = 0;\n var strCopy = str;\n if (sticky) {\n flags = replace(flags, 'y', '');\n if (indexOf(flags, 'g') === -1) {\n flags += 'g';\n }\n strCopy = stringSlice(str, re.lastIndex);\n // Support anchored sticky behavior.\n if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\\n')) {\n source = '(?: ' + source + ')';\n strCopy = ' ' + strCopy;\n charsAdded++;\n }\n // ^(? + rx + ) is needed, in combination with some str slicing, to\n // simulate the 'y' flag.\n reCopy = new RegExp('^(?:' + source + ')', flags);\n }\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + source + '$(?!\\\\s)', flags);\n }\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;\n match = call(nativeExec, sticky ? reCopy : re, strCopy);\n if (sticky) {\n if (match) {\n match.input = stringSlice(match.input, charsAdded);\n match[0] = stringSlice(match[0], charsAdded);\n match.index = re.lastIndex;\n re.lastIndex += match[0].length;\n } else re.lastIndex = 0;\n } else if (UPDATES_LAST_INDEX_WRONG && match) {\n re.lastIndex = re.global ? match.index + match[0].length : lastIndex;\n }\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/\n call(nativeReplace, match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n if (match && groups) {\n match.groups = object = create(null);\n for (i = 0; i < groups.length; i++) {\n group = groups[i];\n object[group[0]] = match[group[1]];\n }\n }\n return match;\n };\n}\nmodule.exports = patchedExec;", "'use strict';\n\nvar $ = require('../internals/export');\nvar exec = require('../internals/regexp-exec');\n\n// `RegExp.prototype.exec` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.exec\n$({\n target: 'RegExp',\n proto: true,\n forced: /./.exec !== exec\n}, {\n exec: exec\n});", "'use strict';\n\nvar collection = require('../internals/collection');\nvar collectionStrong = require('../internals/collection-strong');\n\n// `Set` constructor\n// https://tc39.es/ecma262/#sec-set-objects\ncollection('Set', function (init) {\n return function Set() {\n return init(this, arguments.length ? arguments[0] : undefined);\n };\n}, collectionStrong);", "var uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar stringSlice = uncurryThis(''.slice);\nvar createMethod = function createMethod(CONVERT_TO_STRING) {\n return function ($this, pos) {\n var S = toString(requireObjectCoercible($this));\n var position = toIntegerOrInfinity(pos);\n var size = S.length;\n var first, second;\n if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;\n first = charCodeAt(S, position);\n return first < 0xD800 || first > 0xDBFF || position + 1 === size || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF ? CONVERT_TO_STRING ? charAt(S, position) : first : CONVERT_TO_STRING ? stringSlice(S, position, position + 2) : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;\n };\n};\nmodule.exports = {\n // `String.prototype.codePointAt` method\n // https://tc39.es/ecma262/#sec-string.prototype.codepointat\n codeAt: createMethod(false),\n // `String.prototype.at` method\n // https://github.com/mathiasbynens/String.prototype.at\n charAt: createMethod(true)\n};", "var isRegExp = require('../internals/is-regexp');\nvar $TypeError = TypeError;\nmodule.exports = function (it) {\n if (isRegExp(it)) {\n throw $TypeError(\"The method doesn't accept regular expressions\");\n }\n return it;\n};", "var wellKnownSymbol = require('../internals/well-known-symbol');\nvar MATCH = wellKnownSymbol('match');\nmodule.exports = function (METHOD_NAME) {\n var regexp = /./;\n try {\n '/./'[METHOD_NAME](regexp);\n } catch (error1) {\n try {\n regexp[MATCH] = false;\n return '/./'[METHOD_NAME](regexp);\n } catch (error2) {/* empty */}\n }\n return false;\n};", "'use strict';\n\nvar charAt = require('../internals/string-multibyte').charAt;\nvar toString = require('../internals/to-string');\nvar InternalStateModule = require('../internals/internal-state');\nvar defineIterator = require('../internals/define-iterator');\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// `String.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-string.prototype-@@iterator\ndefineIterator(String, 'String', function (iterated) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: toString(iterated),\n index: 0\n });\n // `%StringIteratorPrototype%.next` method\n // https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next\n}, function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return {\n value: undefined,\n done: true\n };\n point = charAt(string, index);\n state.index += point.length;\n return {\n value: point,\n done: false\n };\n});", "'use strict';\n\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar regexpExec = require('../internals/regexp-exec');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar SPECIES = wellKnownSymbol('species');\nvar RegExpPrototype = RegExp.prototype;\nmodule.exports = function (KEY, exec, FORCED, SHAM) {\n var SYMBOL = wellKnownSymbol(KEY);\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n O[SYMBOL] = function () {\n return 7;\n };\n return ''[KEY](O) != 7;\n });\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n if (KEY === 'split') {\n // We can't use real regex here since it causes deoptimization\n // and serious performance degradation in V8\n // https://github.com/zloirock/core-js/issues/306\n re = {};\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n re.constructor[SPECIES] = function () {\n return re;\n };\n re.flags = '';\n re[SYMBOL] = /./[SYMBOL];\n }\n re.exec = function () {\n execCalled = true;\n return null;\n };\n re[SYMBOL]('');\n return !execCalled;\n });\n if (!DELEGATES_TO_SYMBOL || !DELEGATES_TO_EXEC || FORCED) {\n var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]);\n var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {\n var uncurriedNativeMethod = uncurryThis(nativeMethod);\n var $exec = regexp.exec;\n if ($exec === regexpExec || $exec === RegExpPrototype.exec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return {\n done: true,\n value: uncurriedNativeRegExpMethod(regexp, str, arg2)\n };\n }\n return {\n done: true,\n value: uncurriedNativeMethod(str, regexp, arg2)\n };\n }\n return {\n done: false\n };\n });\n defineBuiltIn(String.prototype, KEY, methods[0]);\n defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);\n }\n if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);\n};", "'use strict';\n\nvar charAt = require('../internals/string-multibyte').charAt;\n\n// `AdvanceStringIndex` abstract operation\n// https://tc39.es/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n return index + (unicode ? charAt(S, index).length : 1);\n};", "var call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar classof = require('../internals/classof-raw');\nvar regexpExec = require('../internals/regexp-exec');\nvar $TypeError = TypeError;\n\n// `RegExpExec` abstract operation\n// https://tc39.es/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n var exec = R.exec;\n if (isCallable(exec)) {\n var result = call(exec, R, S);\n if (result !== null) anObject(result);\n return result;\n }\n if (classof(R) === 'RegExp') return call(regexpExec, R, S);\n throw $TypeError('RegExp#exec called on incompatible receiver');\n};", "// https://github.com/tc39/proposal-string-pad-start-end\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar $repeat = require('../internals/string-repeat');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar repeat = uncurryThis($repeat);\nvar stringSlice = uncurryThis(''.slice);\nvar ceil = Math.ceil;\n\n// `String.prototype.{ padStart, padEnd }` methods implementation\nvar createMethod = function createMethod(IS_END) {\n return function ($this, maxLength, fillString) {\n var S = toString(requireObjectCoercible($this));\n var intMaxLength = toLength(maxLength);\n var stringLength = S.length;\n var fillStr = fillString === undefined ? ' ' : toString(fillString);\n var fillLen, stringFiller;\n if (intMaxLength <= stringLength || fillStr == '') return S;\n fillLen = intMaxLength - stringLength;\n stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length));\n if (stringFiller.length > fillLen) stringFiller = stringSlice(stringFiller, 0, fillLen);\n return IS_END ? S + stringFiller : stringFiller + S;\n };\n};\nmodule.exports = {\n // `String.prototype.padStart` method\n // https://tc39.es/ecma262/#sec-string.prototype.padstart\n start: createMethod(false),\n // `String.prototype.padEnd` method\n // https://tc39.es/ecma262/#sec-string.prototype.padend\n end: createMethod(true)\n};", "// https://github.com/zloirock/core-js/issues/280\nvar userAgent = require('../internals/engine-user-agent');\nmodule.exports = /Version\\/10(?:\\.\\d+){1,2}(?: [\\w./]+)?(?: Mobile\\/\\w+)? Safari\\//.test(userAgent);", "var uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\nvar floor = Math.floor;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar SUBSTITUTION_SYMBOLS = /\\$([$&'`]|\\d{1,2}|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&'`]|\\d{1,2})/g;\n\n// `GetSubstitution` abstract operation\n// https://tc39.es/ecma262/#sec-getsubstitution\nmodule.exports = function (matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n return replace(replacement, symbols, function (match, ch) {\n var capture;\n switch (charAt(ch, 0)) {\n case '$':\n return '$';\n case '&':\n return matched;\n case '`':\n return stringSlice(str, 0, position);\n case \"'\":\n return stringSlice(str, tailPos);\n case '<':\n capture = namedCaptures[stringSlice(ch, 1, -1)];\n break;\n default:\n // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);\n return match;\n }\n capture = captures[n - 1];\n }\n return capture === undefined ? '' : capture;\n });\n};", "var PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar fails = require('../internals/fails');\nvar whitespaces = require('../internals/whitespaces');\nvar non = \"\\u200B\\x85\\u180E\";\n\n// check that a method works with the correct list\n// of whitespaces and has a correct name\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() !== non || PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME;\n });\n};", "'use strict';\n\nvar $trimEnd = require('../internals/string-trim').end;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.{ trimEnd, trimRight }` method\n// https://tc39.es/ecma262/#sec-string.prototype.trimend\n// https://tc39.es/ecma262/#String.prototype.trimright\nmodule.exports = forcedStringTrimMethod('trimEnd') ? function trimEnd() {\n return $trimEnd(this);\n // eslint-disable-next-line es-x/no-string-prototype-trimstart-trimend -- safe\n} : ''.trimEnd;", "var $ = require('../internals/export');\nvar trimEnd = require('../internals/string-trim-end');\n\n// `String.prototype.trimRight` method\n// https://tc39.es/ecma262/#sec-string.prototype.trimend\n// eslint-disable-next-line es-x/no-string-prototype-trimleft-trimright -- safe\n$({\n target: 'String',\n proto: true,\n name: 'trimEnd',\n forced: ''.trimRight !== trimEnd\n}, {\n trimRight: trimEnd\n});", "'use strict';\n\nvar $trimStart = require('../internals/string-trim').start;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.{ trimStart, trimLeft }` method\n// https://tc39.es/ecma262/#sec-string.prototype.trimstart\n// https://tc39.es/ecma262/#String.prototype.trimleft\nmodule.exports = forcedStringTrimMethod('trimStart') ? function trimStart() {\n return $trimStart(this);\n // eslint-disable-next-line es-x/no-string-prototype-trimstart-trimend -- safe\n} : ''.trimStart;", "var $ = require('../internals/export');\nvar trimStart = require('../internals/string-trim-start');\n\n// `String.prototype.trimLeft` method\n// https://tc39.es/ecma262/#sec-string.prototype.trimleft\n// eslint-disable-next-line es-x/no-string-prototype-trimleft-trimright -- safe\n$({\n target: 'String',\n proto: true,\n name: 'trimStart',\n forced: ''.trimLeft !== trimStart\n}, {\n trimLeft: trimStart\n});", "var uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar quot = /\"/g;\nvar replace = uncurryThis(''.replace);\n\n// `CreateHTML` abstract operation\n// https://tc39.es/ecma262/#sec-createhtml\nmodule.exports = function (string, tag, attribute, value) {\n var S = toString(requireObjectCoercible(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + replace(toString(value), quot, '"') + '\"';\n return p1 + '>' + S + '';\n};", "var fails = require('../internals/fails');\n\n// check the existence of a method, lowercase\n// of a tag and escaping quotes in arguments\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n var test = ''[METHOD_NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n });\n};", "'use strict';\n\nvar NATIVE_ARRAY_BUFFER = require('../internals/array-buffer-native');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar hasOwn = require('../internals/has-own-property');\nvar classof = require('../internals/classof');\nvar tryToString = require('../internals/try-to-string');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineProperty = require('../internals/object-define-property').f;\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar uid = require('../internals/uid');\nvar InternalStateModule = require('../internals/internal-state');\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar Int8Array = global.Int8Array;\nvar Int8ArrayPrototype = Int8Array && Int8Array.prototype;\nvar Uint8ClampedArray = global.Uint8ClampedArray;\nvar Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype;\nvar TypedArray = Int8Array && getPrototypeOf(Int8Array);\nvar TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype);\nvar ObjectPrototype = Object.prototype;\nvar TypeError = global.TypeError;\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');\nvar TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';\n// Fixing native typed arrays in Opera Presto crashes the browser, see #595\nvar NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera';\nvar TYPED_ARRAY_TAG_REQUIRED = false;\nvar NAME, Constructor, Prototype;\nvar TypedArrayConstructorsList = {\n Int8Array: 1,\n Uint8Array: 1,\n Uint8ClampedArray: 1,\n Int16Array: 2,\n Uint16Array: 2,\n Int32Array: 4,\n Uint32Array: 4,\n Float32Array: 4,\n Float64Array: 8\n};\nvar BigIntArrayConstructorsList = {\n BigInt64Array: 8,\n BigUint64Array: 8\n};\nvar isView = function isView(it) {\n if (!isObject(it)) return false;\n var klass = classof(it);\n return klass === 'DataView' || hasOwn(TypedArrayConstructorsList, klass) || hasOwn(BigIntArrayConstructorsList, klass);\n};\nvar getTypedArrayConstructor = function getTypedArrayConstructor(it) {\n var proto = getPrototypeOf(it);\n if (!isObject(proto)) return;\n var state = getInternalState(proto);\n return state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto);\n};\nvar isTypedArray = function isTypedArray(it) {\n if (!isObject(it)) return false;\n var klass = classof(it);\n return hasOwn(TypedArrayConstructorsList, klass) || hasOwn(BigIntArrayConstructorsList, klass);\n};\nvar aTypedArray = function aTypedArray(it) {\n if (isTypedArray(it)) return it;\n throw TypeError('Target is not a typed array');\n};\nvar aTypedArrayConstructor = function aTypedArrayConstructor(C) {\n if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C;\n throw TypeError(tryToString(C) + ' is not a typed array constructor');\n};\nvar exportTypedArrayMethod = function exportTypedArrayMethod(KEY, property, forced, options) {\n if (!DESCRIPTORS) return;\n if (forced) for (var ARRAY in TypedArrayConstructorsList) {\n var TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try {\n delete TypedArrayConstructor.prototype[KEY];\n } catch (error) {\n // old WebKit bug - some methods are non-configurable\n try {\n TypedArrayConstructor.prototype[KEY] = property;\n } catch (error2) {/* empty */}\n }\n }\n if (!TypedArrayPrototype[KEY] || forced) {\n defineBuiltIn(TypedArrayPrototype, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options);\n }\n};\nvar exportTypedArrayStaticMethod = function exportTypedArrayStaticMethod(KEY, property, forced) {\n var ARRAY, TypedArrayConstructor;\n if (!DESCRIPTORS) return;\n if (setPrototypeOf) {\n if (forced) for (ARRAY in TypedArrayConstructorsList) {\n TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try {\n delete TypedArrayConstructor[KEY];\n } catch (error) {/* empty */}\n }\n if (!TypedArray[KEY] || forced) {\n // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable\n try {\n return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property);\n } catch (error) {/* empty */}\n } else return;\n }\n for (ARRAY in TypedArrayConstructorsList) {\n TypedArrayConstructor = global[ARRAY];\n if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) {\n defineBuiltIn(TypedArrayConstructor, KEY, property);\n }\n }\n};\nfor (NAME in TypedArrayConstructorsList) {\n Constructor = global[NAME];\n Prototype = Constructor && Constructor.prototype;\n if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;else NATIVE_ARRAY_BUFFER_VIEWS = false;\n}\nfor (NAME in BigIntArrayConstructorsList) {\n Constructor = global[NAME];\n Prototype = Constructor && Constructor.prototype;\n if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor;\n}\n\n// WebKit bug - typed arrays constructors prototype is Object.prototype\nif (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) {\n // eslint-disable-next-line no-shadow -- safe\n TypedArray = function TypedArray() {\n throw TypeError('Incorrect invocation');\n };\n if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {\n if (global[NAME]) setPrototypeOf(global[NAME], TypedArray);\n }\n}\nif (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) {\n TypedArrayPrototype = TypedArray.prototype;\n if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) {\n if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype);\n }\n}\n\n// WebKit bug - one more object in Uint8ClampedArray prototype chain\nif (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) {\n setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype);\n}\nif (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) {\n TYPED_ARRAY_TAG_REQUIRED = true;\n defineProperty(TypedArrayPrototype, TO_STRING_TAG, {\n get: function get() {\n return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;\n }\n });\n for (NAME in TypedArrayConstructorsList) if (global[NAME]) {\n createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME);\n }\n}\nmodule.exports = {\n NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS,\n TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG,\n aTypedArray: aTypedArray,\n aTypedArrayConstructor: aTypedArrayConstructor,\n exportTypedArrayMethod: exportTypedArrayMethod,\n exportTypedArrayStaticMethod: exportTypedArrayStaticMethod,\n getTypedArrayConstructor: getTypedArrayConstructor,\n isView: isView,\n isTypedArray: isTypedArray,\n TypedArray: TypedArray,\n TypedArrayPrototype: TypedArrayPrototype\n};", "/* eslint-disable no-new -- required for testing */\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar NATIVE_ARRAY_BUFFER_VIEWS = require('../internals/array-buffer-view-core').NATIVE_ARRAY_BUFFER_VIEWS;\nvar ArrayBuffer = global.ArrayBuffer;\nvar Int8Array = global.Int8Array;\nmodule.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () {\n Int8Array(1);\n}) || !fails(function () {\n new Int8Array(-1);\n}) || !checkCorrectnessOfIteration(function (iterable) {\n new Int8Array();\n new Int8Array(null);\n new Int8Array(1.5);\n new Int8Array(iterable);\n}, true) || fails(function () {\n // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill\n return new Int8Array(new ArrayBuffer(2), 1, undefined).length !== 1;\n});", "var toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar $RangeError = RangeError;\nmodule.exports = function (it) {\n var result = toIntegerOrInfinity(it);\n if (result < 0) throw $RangeError(\"The argument can't be less than 0\");\n return result;\n};", "var toPositiveInteger = require('../internals/to-positive-integer');\nvar $RangeError = RangeError;\nmodule.exports = function (it, BYTES) {\n var offset = toPositiveInteger(it);\n if (offset % BYTES) throw $RangeError('Wrong offset');\n return offset;\n};", "var bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar aConstructor = require('../internals/a-constructor');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar isArrayIteratorMethod = require('../internals/is-array-iterator-method');\nvar aTypedArrayConstructor = require('../internals/array-buffer-view-core').aTypedArrayConstructor;\nmodule.exports = function from(source /* , mapfn, thisArg */) {\n var C = aConstructor(this);\n var O = toObject(source);\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var iteratorMethod = getIteratorMethod(O);\n var i, length, result, step, iterator, next;\n if (iteratorMethod && !isArrayIteratorMethod(iteratorMethod)) {\n iterator = getIterator(O, iteratorMethod);\n next = iterator.next;\n O = [];\n while (!(step = call(next, iterator)).done) {\n O.push(step.value);\n }\n }\n if (mapping && argumentsLength > 2) {\n mapfn = bind(mapfn, arguments[2]);\n }\n length = lengthOfArrayLike(O);\n result = new (aTypedArrayConstructor(C))(length);\n for (i = 0; length > i; i++) {\n result[i] = mapping ? mapfn(O[i], i) : O[i];\n }\n return result;\n};", "'use strict';\n\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar ArrayBufferModule = require('../internals/array-buffer');\nvar anInstance = require('../internals/an-instance');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar isIntegralNumber = require('../internals/is-integral-number');\nvar toLength = require('../internals/to-length');\nvar toIndex = require('../internals/to-index');\nvar toOffset = require('../internals/to-offset');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar classof = require('../internals/classof');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar create = require('../internals/object-create');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar setPrototypeOf = require('../internals/object-set-prototype-of');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar typedArrayFrom = require('../internals/typed-array-from');\nvar forEach = require('../internals/array-iteration').forEach;\nvar setSpecies = require('../internals/set-species');\nvar definePropertyModule = require('../internals/object-define-property');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar InternalStateModule = require('../internals/internal-state');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar getInternalState = InternalStateModule.get;\nvar setInternalState = InternalStateModule.set;\nvar enforceInternalState = InternalStateModule.enforce;\nvar nativeDefineProperty = definePropertyModule.f;\nvar nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\nvar round = Math.round;\nvar RangeError = global.RangeError;\nvar ArrayBuffer = ArrayBufferModule.ArrayBuffer;\nvar ArrayBufferPrototype = ArrayBuffer.prototype;\nvar DataView = ArrayBufferModule.DataView;\nvar NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS;\nvar TYPED_ARRAY_TAG = ArrayBufferViewCore.TYPED_ARRAY_TAG;\nvar TypedArray = ArrayBufferViewCore.TypedArray;\nvar TypedArrayPrototype = ArrayBufferViewCore.TypedArrayPrototype;\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar isTypedArray = ArrayBufferViewCore.isTypedArray;\nvar BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';\nvar WRONG_LENGTH = 'Wrong length';\nvar fromList = function fromList(C, list) {\n aTypedArrayConstructor(C);\n var index = 0;\n var length = list.length;\n var result = new C(length);\n while (length > index) result[index] = list[index++];\n return result;\n};\nvar addGetter = function addGetter(it, key) {\n nativeDefineProperty(it, key, {\n get: function get() {\n return getInternalState(this)[key];\n }\n });\n};\nvar isArrayBuffer = function isArrayBuffer(it) {\n var klass;\n return isPrototypeOf(ArrayBufferPrototype, it) || (klass = classof(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer';\n};\nvar isTypedArrayIndex = function isTypedArrayIndex(target, key) {\n return isTypedArray(target) && !isSymbol(key) && key in target && isIntegralNumber(+key) && key >= 0;\n};\nvar wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) {\n key = toPropertyKey(key);\n return isTypedArrayIndex(target, key) ? createPropertyDescriptor(2, target[key]) : nativeGetOwnPropertyDescriptor(target, key);\n};\nvar wrappedDefineProperty = function defineProperty(target, key, descriptor) {\n key = toPropertyKey(key);\n if (isTypedArrayIndex(target, key) && isObject(descriptor) && hasOwn(descriptor, 'value') && !hasOwn(descriptor, 'get') && !hasOwn(descriptor, 'set')\n // TODO: add validation descriptor w/o calling accessors\n && !descriptor.configurable && (!hasOwn(descriptor, 'writable') || descriptor.writable) && (!hasOwn(descriptor, 'enumerable') || descriptor.enumerable)) {\n target[key] = descriptor.value;\n return target;\n }\n return nativeDefineProperty(target, key, descriptor);\n};\nif (DESCRIPTORS) {\n if (!NATIVE_ARRAY_BUFFER_VIEWS) {\n getOwnPropertyDescriptorModule.f = wrappedGetOwnPropertyDescriptor;\n definePropertyModule.f = wrappedDefineProperty;\n addGetter(TypedArrayPrototype, 'buffer');\n addGetter(TypedArrayPrototype, 'byteOffset');\n addGetter(TypedArrayPrototype, 'byteLength');\n addGetter(TypedArrayPrototype, 'length');\n }\n $({\n target: 'Object',\n stat: true,\n forced: !NATIVE_ARRAY_BUFFER_VIEWS\n }, {\n getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor,\n defineProperty: wrappedDefineProperty\n });\n module.exports = function (TYPE, wrapper, CLAMPED) {\n var BYTES = TYPE.match(/\\d+$/)[0] / 8;\n var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array';\n var GETTER = 'get' + TYPE;\n var SETTER = 'set' + TYPE;\n var NativeTypedArrayConstructor = global[CONSTRUCTOR_NAME];\n var TypedArrayConstructor = NativeTypedArrayConstructor;\n var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype;\n var exported = {};\n var getter = function getter(that, index) {\n var data = getInternalState(that);\n return data.view[GETTER](index * BYTES + data.byteOffset, true);\n };\n var setter = function setter(that, index, value) {\n var data = getInternalState(that);\n if (CLAMPED) value = (value = round(value)) < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF;\n data.view[SETTER](index * BYTES + data.byteOffset, value, true);\n };\n var addElement = function addElement(that, index) {\n nativeDefineProperty(that, index, {\n get: function get() {\n return getter(this, index);\n },\n set: function set(value) {\n return setter(this, index, value);\n },\n enumerable: true\n });\n };\n if (!NATIVE_ARRAY_BUFFER_VIEWS) {\n TypedArrayConstructor = wrapper(function (that, data, offset, $length) {\n anInstance(that, TypedArrayConstructorPrototype);\n var index = 0;\n var byteOffset = 0;\n var buffer, byteLength, length;\n if (!isObject(data)) {\n length = toIndex(data);\n byteLength = length * BYTES;\n buffer = new ArrayBuffer(byteLength);\n } else if (isArrayBuffer(data)) {\n buffer = data;\n byteOffset = toOffset(offset, BYTES);\n var $len = data.byteLength;\n if ($length === undefined) {\n if ($len % BYTES) throw RangeError(WRONG_LENGTH);\n byteLength = $len - byteOffset;\n if (byteLength < 0) throw RangeError(WRONG_LENGTH);\n } else {\n byteLength = toLength($length) * BYTES;\n if (byteLength + byteOffset > $len) throw RangeError(WRONG_LENGTH);\n }\n length = byteLength / BYTES;\n } else if (isTypedArray(data)) {\n return fromList(TypedArrayConstructor, data);\n } else {\n return call(typedArrayFrom, TypedArrayConstructor, data);\n }\n setInternalState(that, {\n buffer: buffer,\n byteOffset: byteOffset,\n byteLength: byteLength,\n length: length,\n view: new DataView(buffer)\n });\n while (index < length) addElement(that, index++);\n });\n if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);\n TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create(TypedArrayPrototype);\n } else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS) {\n TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) {\n anInstance(dummy, TypedArrayConstructorPrototype);\n return inheritIfRequired(function () {\n if (!isObject(data)) return new NativeTypedArrayConstructor(toIndex(data));\n if (isArrayBuffer(data)) return $length !== undefined ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length) : typedArrayOffset !== undefined ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES)) : new NativeTypedArrayConstructor(data);\n if (isTypedArray(data)) return fromList(TypedArrayConstructor, data);\n return call(typedArrayFrom, TypedArrayConstructor, data);\n }(), dummy, TypedArrayConstructor);\n });\n if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray);\n forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) {\n if (!(key in TypedArrayConstructor)) {\n createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]);\n }\n });\n TypedArrayConstructor.prototype = TypedArrayConstructorPrototype;\n }\n if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) {\n createNonEnumerableProperty(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor);\n }\n enforceInternalState(TypedArrayConstructorPrototype).TypedArrayConstructor = TypedArrayConstructor;\n if (TYPED_ARRAY_TAG) {\n createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME);\n }\n var FORCED = TypedArrayConstructor != NativeTypedArrayConstructor;\n exported[CONSTRUCTOR_NAME] = TypedArrayConstructor;\n $({\n global: true,\n constructor: true,\n forced: FORCED,\n sham: !NATIVE_ARRAY_BUFFER_VIEWS\n }, exported);\n if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) {\n createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES);\n }\n if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) {\n createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES);\n }\n setSpecies(CONSTRUCTOR_NAME);\n };\n} else module.exports = function () {/* empty */};", "var toPrimitive = require('../internals/to-primitive');\nvar $TypeError = TypeError;\n\n// `ToBigInt` abstract operation\n// https://tc39.es/ecma262/#sec-tobigint\nmodule.exports = function (argument) {\n var prim = toPrimitive(argument, 'number');\n if (typeof prim == 'number') throw $TypeError(\"Can't convert number to bigint\");\n // eslint-disable-next-line es-x/no-bigint -- safe\n return BigInt(prim);\n};", "var lengthOfArrayLike = require('../internals/length-of-array-like');\nmodule.exports = function (Constructor, list) {\n var index = 0;\n var length = lengthOfArrayLike(list);\n var result = new Constructor(length);\n while (length > index) result[index] = list[index++];\n return result;\n};", "var ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar speciesConstructor = require('../internals/species-constructor');\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;\n\n// a part of `TypedArraySpeciesCreate` abstract operation\n// https://tc39.es/ecma262/#typedarray-species-create\nmodule.exports = function (originalArray) {\n return aTypedArrayConstructor(speciesConstructor(originalArray, getTypedArrayConstructor(originalArray)));\n};", "var arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\nmodule.exports = function (instance, list) {\n return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance), list);\n};", "'use strict';\n\n/* eslint-disable es-x/no-array-prototype-lastindexof -- safe */\nvar apply = require('../internals/function-apply');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar min = Math.min;\nvar $lastIndexOf = [].lastIndexOf;\nvar NEGATIVE_ZERO = !!$lastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0;\nvar STRICT_METHOD = arrayMethodIsStrict('lastIndexOf');\nvar FORCED = NEGATIVE_ZERO || !STRICT_METHOD;\n\n// `Array.prototype.lastIndexOf` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.lastindexof\nmodule.exports = FORCED ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {\n // convert -0 to +0\n if (NEGATIVE_ZERO) return apply($lastIndexOf, this, arguments) || 0;\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var index = length - 1;\n if (arguments.length > 1) index = min(index, toIntegerOrInfinity(arguments[1]));\n if (index < 0) index = length + index;\n for (; index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0;\n return -1;\n} : $lastIndexOf;", "var aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar $TypeError = TypeError;\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function createMethod(IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n aCallable(callbackfn);\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(O);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw $TypeError('Reduce of empty array with no initial value');\n }\n }\n for (; IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};", "'use strict';\n\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar getWeakData = require('../internals/internal-metadata').getWeakData;\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar iterate = require('../internals/iterate');\nvar ArrayIterationModule = require('../internals/array-iteration');\nvar hasOwn = require('../internals/has-own-property');\nvar InternalStateModule = require('../internals/internal-state');\nvar setInternalState = InternalStateModule.set;\nvar internalStateGetterFor = InternalStateModule.getterFor;\nvar find = ArrayIterationModule.find;\nvar findIndex = ArrayIterationModule.findIndex;\nvar splice = uncurryThis([].splice);\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function uncaughtFrozenStore(store) {\n return store.frozen || (store.frozen = new UncaughtFrozenStore());\n};\nvar UncaughtFrozenStore = function UncaughtFrozenStore() {\n this.entries = [];\n};\nvar findUncaughtFrozen = function findUncaughtFrozen(store, key) {\n return find(store.entries, function (it) {\n return it[0] === key;\n });\n};\nUncaughtFrozenStore.prototype = {\n get: function get(key) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) return entry[1];\n },\n has: function has(key) {\n return !!findUncaughtFrozen(this, key);\n },\n set: function set(key, value) {\n var entry = findUncaughtFrozen(this, key);\n if (entry) entry[1] = value;else this.entries.push([key, value]);\n },\n 'delete': function _delete(key) {\n var index = findIndex(this.entries, function (it) {\n return it[0] === key;\n });\n if (~index) splice(this.entries, index, 1);\n return !!~index;\n }\n};\nmodule.exports = {\n getConstructor: function getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {\n var Constructor = wrapper(function (that, iterable) {\n anInstance(that, Prototype);\n setInternalState(that, {\n type: CONSTRUCTOR_NAME,\n id: id++,\n frozen: undefined\n });\n if (iterable != undefined) iterate(iterable, that[ADDER], {\n that: that,\n AS_ENTRIES: IS_MAP\n });\n });\n var Prototype = Constructor.prototype;\n var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);\n var define = function define(that, key, value) {\n var state = getInternalState(that);\n var data = getWeakData(anObject(key), true);\n if (data === true) uncaughtFrozenStore(state).set(key, value);else data[state.id] = value;\n return that;\n };\n defineBuiltIns(Prototype, {\n // `{ WeakMap, WeakSet }.prototype.delete(key)` methods\n // https://tc39.es/ecma262/#sec-weakmap.prototype.delete\n // https://tc39.es/ecma262/#sec-weakset.prototype.delete\n 'delete': function _delete(key) {\n var state = getInternalState(this);\n if (!isObject(key)) return false;\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state)['delete'](key);\n return data && hasOwn(data, state.id) && delete data[state.id];\n },\n // `{ WeakMap, WeakSet }.prototype.has(key)` methods\n // https://tc39.es/ecma262/#sec-weakmap.prototype.has\n // https://tc39.es/ecma262/#sec-weakset.prototype.has\n has: function has(key) {\n var state = getInternalState(this);\n if (!isObject(key)) return false;\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state).has(key);\n return data && hasOwn(data, state.id);\n }\n });\n defineBuiltIns(Prototype, IS_MAP ? {\n // `WeakMap.prototype.get(key)` method\n // https://tc39.es/ecma262/#sec-weakmap.prototype.get\n get: function get(key) {\n var state = getInternalState(this);\n if (isObject(key)) {\n var data = getWeakData(key);\n if (data === true) return uncaughtFrozenStore(state).get(key);\n return data ? data[state.id] : undefined;\n }\n },\n // `WeakMap.prototype.set(key, value)` method\n // https://tc39.es/ecma262/#sec-weakmap.prototype.set\n set: function set(key, value) {\n return define(this, key, value);\n }\n } : {\n // `WeakSet.prototype.add(value)` method\n // https://tc39.es/ecma262/#sec-weakset.prototype.add\n add: function add(value) {\n return define(this, value, true);\n }\n });\n return Constructor;\n }\n};", "'use strict';\n\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar InternalMetadataModule = require('../internals/internal-metadata');\nvar collection = require('../internals/collection');\nvar collectionWeak = require('../internals/collection-weak');\nvar isObject = require('../internals/is-object');\nvar isExtensible = require('../internals/object-is-extensible');\nvar enforceInternalState = require('../internals/internal-state').enforce;\nvar NATIVE_WEAK_MAP = require('../internals/native-weak-map');\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\nvar InternalWeakMap;\nvar wrapper = function wrapper(init) {\n return function WeakMap() {\n return init(this, arguments.length ? arguments[0] : undefined);\n };\n};\n\n// `WeakMap` constructor\n// https://tc39.es/ecma262/#sec-weakmap-constructor\nvar $WeakMap = collection('WeakMap', wrapper, collectionWeak);\n\n// IE11 WeakMap frozen keys fix\n// We can't use feature detection because it crash some old IE builds\n// https://github.com/zloirock/core-js/issues/485\nif (NATIVE_WEAK_MAP && IS_IE11) {\n InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true);\n InternalMetadataModule.enable();\n var WeakMapPrototype = $WeakMap.prototype;\n var nativeDelete = uncurryThis(WeakMapPrototype['delete']);\n var nativeHas = uncurryThis(WeakMapPrototype.has);\n var nativeGet = uncurryThis(WeakMapPrototype.get);\n var nativeSet = uncurryThis(WeakMapPrototype.set);\n defineBuiltIns(WeakMapPrototype, {\n 'delete': function _delete(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeDelete(this, key) || state.frozen['delete'](key);\n }\n return nativeDelete(this, key);\n },\n has: function has(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas(this, key) || state.frozen.has(key);\n }\n return nativeHas(this, key);\n },\n get: function get(key) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key);\n }\n return nativeGet(this, key);\n },\n set: function set(key, value) {\n if (isObject(key) && !isExtensible(key)) {\n var state = enforceInternalState(this);\n if (!state.frozen) state.frozen = new InternalWeakMap();\n nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value);\n } else nativeSet(this, key, value);\n return this;\n }\n });\n}", "// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.weak-map.constructor');", "'use strict';\n\nvar collection = require('../internals/collection');\nvar collectionWeak = require('../internals/collection-weak');\n\n// `WeakSet` constructor\n// https://tc39.es/ecma262/#sec-weakset-constructor\ncollection('WeakSet', function (init) {\n return function WeakSet() {\n return init(this, arguments.length ? arguments[0] : undefined);\n };\n}, collectionWeak);", "var global = require('../internals/global');\nvar shared = require('../internals/shared-store');\nvar isCallable = require('../internals/is-callable');\nvar create = require('../internals/object-create');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\nvar USE_FUNCTION_CONSTRUCTOR = 'USE_FUNCTION_CONSTRUCTOR';\nvar ASYNC_ITERATOR = wellKnownSymbol('asyncIterator');\nvar AsyncIterator = global.AsyncIterator;\nvar PassedAsyncIteratorPrototype = shared.AsyncIteratorPrototype;\nvar AsyncIteratorPrototype, prototype;\nif (PassedAsyncIteratorPrototype) {\n AsyncIteratorPrototype = PassedAsyncIteratorPrototype;\n} else if (isCallable(AsyncIterator)) {\n AsyncIteratorPrototype = AsyncIterator.prototype;\n} else if (shared[USE_FUNCTION_CONSTRUCTOR] || global[USE_FUNCTION_CONSTRUCTOR]) {\n try {\n // eslint-disable-next-line no-new-func -- we have no alternatives without usage of modern syntax\n prototype = getPrototypeOf(getPrototypeOf(getPrototypeOf(Function('return async function*(){}()')())));\n if (getPrototypeOf(prototype) === Object.prototype) AsyncIteratorPrototype = prototype;\n } catch (error) {/* empty */}\n}\nif (!AsyncIteratorPrototype) AsyncIteratorPrototype = {};else if (IS_PURE) AsyncIteratorPrototype = create(AsyncIteratorPrototype);\nif (!isCallable(AsyncIteratorPrototype[ASYNC_ITERATOR])) {\n defineBuiltIn(AsyncIteratorPrototype, ASYNC_ITERATOR, function () {\n return this;\n });\n}\nmodule.exports = AsyncIteratorPrototype;", "'use strict';\n\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar create = require('../internals/object-create');\nvar getMethod = require('../internals/get-method');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar InternalStateModule = require('../internals/internal-state');\nvar getBuiltIn = require('../internals/get-built-in');\nvar AsyncIteratorPrototype = require('../internals/async-iterator-prototype');\nvar Promise = getBuiltIn('Promise');\nvar ASYNC_FROM_SYNC_ITERATOR = 'AsyncFromSyncIterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(ASYNC_FROM_SYNC_ITERATOR);\nvar asyncFromSyncIteratorContinuation = function asyncFromSyncIteratorContinuation(result, resolve, reject) {\n var done = result.done;\n Promise.resolve(result.value).then(function (value) {\n resolve({\n done: done,\n value: value\n });\n }, reject);\n};\nvar AsyncFromSyncIterator = function AsyncIterator(iterator) {\n setInternalState(this, {\n type: ASYNC_FROM_SYNC_ITERATOR,\n iterator: anObject(iterator),\n next: iterator.next\n });\n};\nAsyncFromSyncIterator.prototype = defineBuiltIns(create(AsyncIteratorPrototype), {\n next: function next() {\n var state = getInternalState(this);\n return new Promise(function (resolve, reject) {\n var result = anObject(call(state.next, state.iterator));\n asyncFromSyncIteratorContinuation(result, resolve, reject);\n });\n },\n 'return': function _return() {\n var iterator = getInternalState(this).iterator;\n return new Promise(function (resolve, reject) {\n var $return = getMethod(iterator, 'return');\n if ($return === undefined) return resolve({\n done: true,\n value: undefined\n });\n var result = anObject(call($return, iterator));\n asyncFromSyncIteratorContinuation(result, resolve, reject);\n });\n }\n});\nmodule.exports = AsyncFromSyncIterator;", "var call = require('../internals/function-call');\nvar AsyncFromSyncIterator = require('../internals/async-from-sync-iterator');\nvar anObject = require('../internals/an-object');\nvar getIterator = require('../internals/get-iterator');\nvar getMethod = require('../internals/get-method');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar ASYNC_ITERATOR = wellKnownSymbol('asyncIterator');\nmodule.exports = function (it, usingIterator) {\n var method = arguments.length < 2 ? getMethod(it, ASYNC_ITERATOR) : usingIterator;\n return method ? anObject(call(method, it)) : new AsyncFromSyncIterator(getIterator(it));\n};", "var global = require('../internals/global');\nmodule.exports = function (CONSTRUCTOR) {\n return global[CONSTRUCTOR].prototype;\n};", "var aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nmodule.exports = function (obj) {\n return {\n iterator: obj,\n next: aCallable(anObject(obj).next)\n };\n};", "var call = require('../internals/function-call');\nvar getBuiltIn = require('../internals/get-built-in');\nvar getMethod = require('../internals/get-method');\nmodule.exports = function (iterator, method, argument, reject) {\n try {\n var returnMethod = getMethod(iterator, 'return');\n if (returnMethod) {\n return getBuiltIn('Promise').resolve(call(returnMethod, iterator)).then(function () {\n method(argument);\n }, function (error) {\n reject(error);\n });\n }\n } catch (error2) {\n return reject(error2);\n }\n method(argument);\n};", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\n// https://github.com/tc39/proposal-array-from-async\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar getBuiltIn = require('../internals/get-built-in');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar closeAsyncIteration = require('../internals/async-iterator-close');\nvar createMethod = function createMethod(TYPE) {\n var IS_TO_ARRAY = TYPE == 0;\n var IS_FOR_EACH = TYPE == 1;\n var IS_EVERY = TYPE == 2;\n var IS_SOME = TYPE == 3;\n return function (object, fn, target) {\n var record = getIteratorDirect(object);\n var Promise = getBuiltIn('Promise');\n var iterator = record.iterator;\n var next = record.next;\n var index = 0;\n var MAPPING = fn !== undefined;\n if (MAPPING || !IS_TO_ARRAY) aCallable(fn);\n return new Promise(function (resolve, reject) {\n var ifAbruptCloseAsyncIterator = function ifAbruptCloseAsyncIterator(error) {\n closeAsyncIteration(iterator, reject, error, reject);\n };\n var loop = function loop() {\n try {\n if (IS_TO_ARRAY && MAPPING) try {\n doesNotExceedSafeInteger(index);\n } catch (error5) {\n ifAbruptCloseAsyncIterator(error5);\n }\n Promise.resolve(anObject(call(next, iterator))).then(function (step) {\n try {\n if (anObject(step).done) {\n if (IS_TO_ARRAY) {\n target.length = index;\n resolve(target);\n } else resolve(IS_SOME ? false : IS_EVERY || undefined);\n } else {\n var value = step.value;\n try {\n if (MAPPING) {\n Promise.resolve(IS_TO_ARRAY ? fn(value, index) : fn(value)).then(function (result) {\n if (IS_FOR_EACH) {\n loop();\n } else if (IS_EVERY) {\n result ? loop() : closeAsyncIteration(iterator, resolve, false, reject);\n } else if (IS_TO_ARRAY) {\n try {\n target[index++] = result;\n loop();\n } catch (error4) {\n ifAbruptCloseAsyncIterator(error4);\n }\n } else {\n result ? closeAsyncIteration(iterator, resolve, IS_SOME || value, reject) : loop();\n }\n }, ifAbruptCloseAsyncIterator);\n } else {\n target[index++] = value;\n loop();\n }\n } catch (error3) {\n ifAbruptCloseAsyncIterator(error3);\n }\n }\n } catch (error2) {\n reject(error2);\n }\n }, reject);\n } catch (error) {\n reject(error);\n }\n };\n loop();\n });\n };\n};\nmodule.exports = {\n toArray: createMethod(0),\n forEach: createMethod(1),\n every: createMethod(2),\n some: createMethod(3),\n find: createMethod(4)\n};", "'use strict';\n\nvar bind = require('../internals/function-bind-context');\nvar toObject = require('../internals/to-object');\nvar isConstructor = require('../internals/is-constructor');\nvar getAsyncIterator = require('../internals/get-async-iterator');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar getMethod = require('../internals/get-method');\nvar getVirtual = require('../internals/entry-virtual');\nvar getBuiltIn = require('../internals/get-built-in');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar AsyncFromSyncIterator = require('../internals/async-from-sync-iterator');\nvar toArray = require('../internals/async-iterator-iteration').toArray;\nvar ASYNC_ITERATOR = wellKnownSymbol('asyncIterator');\nvar arrayIterator = getVirtual('Array').values;\n\n// `Array.fromAsync` method implementation\n// https://github.com/tc39/proposal-array-from-async\nmodule.exports = function fromAsync(asyncItems /* , mapfn = undefined, thisArg = undefined */) {\n var C = this;\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var thisArg = argumentsLength > 2 ? arguments[2] : undefined;\n return new (getBuiltIn('Promise'))(function (resolve) {\n var O = toObject(asyncItems);\n if (mapfn !== undefined) mapfn = bind(mapfn, thisArg);\n var usingAsyncIterator = getMethod(O, ASYNC_ITERATOR);\n var usingSyncIterator = usingAsyncIterator ? undefined : getIteratorMethod(O) || arrayIterator;\n var A = isConstructor(C) ? new C() : [];\n var iterator = usingAsyncIterator ? getAsyncIterator(O, usingAsyncIterator) : new AsyncFromSyncIterator(getIterator(O, usingSyncIterator));\n resolve(toArray(iterator, mapfn, A));\n });\n};", "var bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar objectCreate = require('../internals/object-create');\nvar arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list');\nvar $Array = Array;\nvar push = uncurryThis([].push);\nmodule.exports = function ($this, callbackfn, that, specificConstructor) {\n var O = toObject($this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, that);\n var target = objectCreate(null);\n var length = lengthOfArrayLike(self);\n var index = 0;\n var Constructor, key, value;\n for (; length > index; index++) {\n value = self[index];\n key = toPropertyKey(boundFunction(value, index, O));\n // in some IE10 builds, `hasOwnProperty` returns incorrect result on integer keys\n // but since it's a `null` prototype object, we can safely use `in`\n if (key in target) push(target[key], value);else target[key] = [value];\n }\n // TODO: Remove this block from `core-js@4`\n if (specificConstructor) {\n Constructor = specificConstructor(O);\n if (Constructor !== $Array) {\n for (key in target) target[key] = arrayFromConstructorAndList(Constructor, target[key]);\n }\n }\n return target;\n};", "'use strict';\n\nvar getBuiltIn = require('../internals/get-built-in');\nvar bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar Map = getBuiltIn('Map');\nvar MapPrototype = Map.prototype;\nvar mapGet = uncurryThis(MapPrototype.get);\nvar mapHas = uncurryThis(MapPrototype.has);\nvar mapSet = uncurryThis(MapPrototype.set);\nvar push = uncurryThis([].push);\n\n// `Array.prototype.groupToMap` method\n// https://github.com/tc39/proposal-array-grouping\nmodule.exports = function groupToMap(callbackfn /* , thisArg */) {\n var O = toObject(this);\n var self = IndexedObject(O);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var map = new Map();\n var length = lengthOfArrayLike(self);\n var index = 0;\n var key, value;\n for (; length > index; index++) {\n value = self[index];\n key = boundFunction(value, index, O);\n if (mapHas(map, key)) push(mapGet(map, key), value);else mapSet(map, key, [value]);\n }\n return map;\n};", "var lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toReversed\n// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toReversed\nmodule.exports = function (O, C) {\n var len = lengthOfArrayLike(O);\n var A = new C(len);\n var k = 0;\n for (; k < len; k++) A[k] = O[len - k - 1];\n return A;\n};", "'use strict';\n\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toObject = require('../internals/to-object');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar Map = getBuiltIn('Map');\nvar MapPrototype = Map.prototype;\nvar mapForEach = uncurryThis(MapPrototype.forEach);\nvar mapHas = uncurryThis(MapPrototype.has);\nvar mapSet = uncurryThis(MapPrototype.set);\nvar push = uncurryThis([].push);\n\n// `Array.prototype.uniqueBy` method\n// https://github.com/tc39/proposal-array-unique\nmodule.exports = function uniqueBy(resolver) {\n var that = toObject(this);\n var length = lengthOfArrayLike(that);\n var result = arraySpeciesCreate(that, 0);\n var map = new Map();\n var resolverFunction = resolver != null ? aCallable(resolver) : function (value) {\n return value;\n };\n var index, item, key;\n for (index = 0; index < length; index++) {\n item = that[index];\n key = resolverFunction(item);\n if (!mapHas(map, key)) mapSet(map, key, item);\n }\n mapForEach(map, function (value) {\n push(result, value);\n });\n return result;\n};", "var lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar $RangeError = RangeError;\n\n// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.with\n// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.with\nmodule.exports = function (O, C, index, value) {\n var len = lengthOfArrayLike(O);\n var relativeIndex = toIntegerOrInfinity(index);\n var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex;\n if (actualIndex >= len || actualIndex < 0) throw $RangeError('Incorrect index');\n var A = new C(len);\n var k = 0;\n for (; k < len; k++) A[k] = k === actualIndex ? value : O[k];\n return A;\n};", "'use strict';\n\nvar call = require('../internals/function-call');\nvar perform = require('../internals/perform');\nvar anObject = require('../internals/an-object');\nvar create = require('../internals/object-create');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar InternalStateModule = require('../internals/internal-state');\nvar getBuiltIn = require('../internals/get-built-in');\nvar getMethod = require('../internals/get-method');\nvar AsyncIteratorPrototype = require('../internals/async-iterator-prototype');\nvar iteratorClose = require('../internals/iterator-close');\nvar Promise = getBuiltIn('Promise');\nvar ASYNC_ITERATOR_HELPER = 'AsyncIteratorHelper';\nvar WRAP_FOR_VALID_ASYNC_ITERATOR = 'WrapForValidAsyncIterator';\nvar setInternalState = InternalStateModule.set;\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar createAsyncIteratorProxyPrototype = function createAsyncIteratorProxyPrototype(IS_ITERATOR) {\n var IS_GENERATOR = !IS_ITERATOR;\n var ASYNC_ITERATOR_PROXY = IS_ITERATOR ? WRAP_FOR_VALID_ASYNC_ITERATOR : ASYNC_ITERATOR_HELPER;\n var getInternalState = InternalStateModule.getterFor(ASYNC_ITERATOR_PROXY);\n var getStateOrEarlyExit = function getStateOrEarlyExit(that) {\n var stateCompletion = perform(function () {\n return getInternalState(that);\n });\n var stateError = stateCompletion.error;\n var state = stateCompletion.value;\n if (stateError || IS_GENERATOR && state.done) {\n return {\n exit: true,\n value: stateError ? Promise.reject(state) : Promise.resolve({\n done: true,\n value: undefined\n })\n };\n }\n return {\n exit: false,\n value: state\n };\n };\n var enqueue = function enqueue(state, handler) {\n var task = function task() {\n var promise = handler();\n if (IS_GENERATOR) {\n state.awaiting = promise;\n var clean = function clean() {\n if (state.awaiting === promise) state.awaiting = null;\n };\n promise.then(clean, clean);\n }\n return promise;\n };\n return state.awaiting ? state.awaiting = state.awaiting.then(task, task) : task();\n };\n var AsyncIteratorProxyPrototype = defineBuiltIns(create(AsyncIteratorPrototype), {\n next: function next() {\n var stateCompletion = getStateOrEarlyExit(this);\n var exit = stateCompletion.exit;\n var state = stateCompletion.value;\n return exit ? state : enqueue(state, function () {\n var handlerCompletion = perform(function () {\n return anObject(state.nextHandler(Promise));\n });\n var handlerError = handlerCompletion.error;\n var value = handlerCompletion.value;\n if (handlerError) state.done = true;\n return handlerError ? Promise.reject(value) : Promise.resolve(value);\n });\n },\n 'return': function _return() {\n var stateCompletion = getStateOrEarlyExit(this);\n var exit = stateCompletion.exit;\n var state = stateCompletion.value;\n return exit ? state : enqueue(state, function () {\n return new Promise(function (resolve, reject) {\n var iterator = state.iterator;\n var innerIterator = state.innerIterator;\n state.done = true;\n if (innerIterator) try {\n iteratorClose(innerIterator, 'return');\n } catch (error) {\n return iteratorClose(iterator, 'throw', error);\n }\n var $$return = getMethod(iterator, 'return');\n if ($$return === undefined) return resolve({\n done: true,\n value: undefined\n });\n Promise.resolve(call($$return, iterator)).then(function (result) {\n anObject(result);\n resolve({\n done: true,\n value: undefined\n });\n }, reject);\n });\n });\n }\n });\n if (IS_GENERATOR) {\n createNonEnumerableProperty(AsyncIteratorProxyPrototype, TO_STRING_TAG, 'Async Iterator Helper');\n }\n return AsyncIteratorProxyPrototype;\n};\nvar AsyncIteratorHelperPrototype = createAsyncIteratorProxyPrototype(false);\nvar WrapForValidAsyncIteratorPrototype = createAsyncIteratorProxyPrototype(true);\nmodule.exports = function (nextHandler, IS_ITERATOR) {\n var ASYNC_ITERATOR_PROXY = IS_ITERATOR ? WRAP_FOR_VALID_ASYNC_ITERATOR : ASYNC_ITERATOR_HELPER;\n var AsyncIteratorProxy = function AsyncIterator(record, state) {\n if (state) {\n state.iterator = record.iterator;\n state.next = record.next;\n } else state = record;\n state.type = ASYNC_ITERATOR_PROXY;\n state.nextHandler = nextHandler;\n state.done = false;\n state.awaiting = null;\n setInternalState(this, state);\n };\n AsyncIteratorProxy.prototype = IS_ITERATOR ? WrapForValidAsyncIteratorPrototype : AsyncIteratorHelperPrototype;\n return AsyncIteratorProxy;\n};", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy');\nvar AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) {\n var state = this;\n var iterator = state.iterator;\n return Promise.resolve(anObject(call(state.next, iterator))).then(function (step) {\n if (anObject(step).done) {\n state.done = true;\n return {\n done: true,\n value: undefined\n };\n }\n return {\n done: false,\n value: [state.index++, step.value]\n };\n }).then(null, function (error) {\n state.done = true;\n throw error;\n });\n});\nmodule.exports = function indexed() {\n return new AsyncIteratorProxy(getIteratorDirect(this), {\n index: 0\n });\n};", "var $RangeError = RangeError;\nmodule.exports = function (it) {\n // eslint-disable-next-line no-self-compare -- NaN check\n if (it === it) return it;\n throw $RangeError('NaN is not allowed');\n};", "var call = require('../internals/function-call');\nvar createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy');\nmodule.exports = createAsyncIteratorProxy(function () {\n return call(this.next, this.iterator);\n}, true);", "'use strict';\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar InternalStateModule = require('../internals/internal-state');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar isObject = require('../internals/is-object');\nvar defineProperties = require('../internals/object-define-properties').f;\nvar DESCRIPTORS = require('../internals/descriptors');\nvar INCORRECT_RANGE = 'Incorrect Number.range arguments';\nvar NUMERIC_RANGE_ITERATOR = 'NumericRangeIterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(NUMERIC_RANGE_ITERATOR);\nvar $RangeError = RangeError;\nvar $TypeError = TypeError;\nvar $RangeIterator = createIteratorConstructor(function NumericRangeIterator(start, end, option, type, zero, one) {\n if (_typeof(start) != type || end !== Infinity && end !== -Infinity && _typeof(end) != type) {\n throw new $TypeError(INCORRECT_RANGE);\n }\n if (start === Infinity || start === -Infinity) {\n throw new $RangeError(INCORRECT_RANGE);\n }\n var ifIncrease = end > start;\n var inclusiveEnd = false;\n var step;\n if (option === undefined) {\n step = undefined;\n } else if (isObject(option)) {\n step = option.step;\n inclusiveEnd = !!option.inclusive;\n } else if (_typeof(option) == type) {\n step = option;\n } else {\n throw new $TypeError(INCORRECT_RANGE);\n }\n if (step == null) {\n step = ifIncrease ? one : -one;\n }\n if (_typeof(step) != type) {\n throw new $TypeError(INCORRECT_RANGE);\n }\n if (step === Infinity || step === -Infinity || step === zero && start !== end) {\n throw new $RangeError(INCORRECT_RANGE);\n }\n // eslint-disable-next-line no-self-compare -- NaN check\n var hitsEnd = start != start || end != end || step != step || end > start !== step > zero;\n setInternalState(this, {\n type: NUMERIC_RANGE_ITERATOR,\n start: start,\n end: end,\n step: step,\n inclusiveEnd: inclusiveEnd,\n hitsEnd: hitsEnd,\n currentCount: zero,\n zero: zero\n });\n if (!DESCRIPTORS) {\n this.start = start;\n this.end = end;\n this.step = step;\n this.inclusive = inclusiveEnd;\n }\n}, NUMERIC_RANGE_ITERATOR, function next() {\n var state = getInternalState(this);\n if (state.hitsEnd) return {\n value: undefined,\n done: true\n };\n var start = state.start;\n var end = state.end;\n var step = state.step;\n var currentYieldingValue = start + step * state.currentCount++;\n if (currentYieldingValue === end) state.hitsEnd = true;\n var inclusiveEnd = state.inclusiveEnd;\n var endCondition;\n if (end > start) {\n endCondition = inclusiveEnd ? currentYieldingValue > end : currentYieldingValue >= end;\n } else {\n endCondition = inclusiveEnd ? end > currentYieldingValue : end >= currentYieldingValue;\n }\n if (endCondition) {\n return {\n value: undefined,\n done: state.hitsEnd = true\n };\n }\n return {\n value: currentYieldingValue,\n done: false\n };\n});\nvar getter = function getter(fn) {\n return {\n get: fn,\n set: function set() {/* empty */},\n configurable: true,\n enumerable: false\n };\n};\nif (DESCRIPTORS) {\n defineProperties($RangeIterator.prototype, {\n start: getter(function () {\n return getInternalState(this).start;\n }),\n end: getter(function () {\n return getInternalState(this).end;\n }),\n inclusive: getter(function () {\n return getInternalState(this).inclusiveEnd;\n }),\n step: getter(function () {\n return getInternalState(this).step;\n })\n });\n}\nmodule.exports = $RangeIterator;", "// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nrequire('../modules/es.map');\nrequire('../modules/es.weak-map');\nvar getBuiltIn = require('../internals/get-built-in');\nvar create = require('../internals/object-create');\nvar isObject = require('../internals/is-object');\nvar $Object = Object;\nvar $TypeError = TypeError;\nvar Map = getBuiltIn('Map');\nvar WeakMap = getBuiltIn('WeakMap');\nvar Node = function Node() {\n // keys\n this.object = null;\n this.symbol = null;\n // child nodes\n this.primitives = null;\n this.objectsByIndex = create(null);\n};\nNode.prototype.get = function (key, initializer) {\n return this[key] || (this[key] = initializer());\n};\nNode.prototype.next = function (i, it, IS_OBJECT) {\n var store = IS_OBJECT ? this.objectsByIndex[i] || (this.objectsByIndex[i] = new WeakMap()) : this.primitives || (this.primitives = new Map());\n var entry = store.get(it);\n if (!entry) store.set(it, entry = new Node());\n return entry;\n};\nvar root = new Node();\nmodule.exports = function () {\n var active = root;\n var length = arguments.length;\n var i, it;\n // for prevent leaking, start from objects\n for (i = 0; i < length; i++) {\n if (isObject(it = arguments[i])) active = active.next(i, it, true);\n }\n if (this === $Object && active === root) throw $TypeError('Composite keys must contain a non-primitive component');\n for (i = 0; i < length; i++) {\n if (!isObject(it = arguments[i])) active = active.next(i, it, false);\n }\n return active;\n};", "'use strict';\n\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar create = require('../internals/object-create');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar InternalStateModule = require('../internals/internal-state');\nvar getMethod = require('../internals/get-method');\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar iteratorClose = require('../internals/iterator-close');\nvar ITERATOR_HELPER = 'IteratorHelper';\nvar WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';\nvar setInternalState = InternalStateModule.set;\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar createIteratorProxyPrototype = function createIteratorProxyPrototype(IS_ITERATOR) {\n var ITERATOR_PROXY = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;\n var getInternalState = InternalStateModule.getterFor(ITERATOR_PROXY);\n var IteratorProxyPrototype = defineBuiltIns(create(IteratorPrototype), {\n next: function next() {\n var state = getInternalState(this);\n // for simplification:\n // for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject`\n // for `%IteratorHelperPrototype%.next` - just a value\n if (IS_ITERATOR) return state.nextHandler();\n try {\n var result = state.done ? undefined : state.nextHandler();\n return {\n done: state.done,\n value: result\n };\n } catch (error) {\n state.done = true;\n throw error;\n }\n },\n 'return': function _return() {\n var state = getInternalState(this);\n var iterator = state.iterator;\n var innerIterator = state.innerIterator;\n state.done = true;\n if (innerIterator) try {\n iteratorClose(innerIterator, 'return');\n } catch (error) {\n return iteratorClose(iterator, 'throw', error);\n }\n var $$return = getMethod(iterator, 'return');\n return {\n done: true,\n value: $$return ? anObject(call($$return, iterator)).value : undefined\n };\n }\n });\n if (!IS_ITERATOR) {\n createNonEnumerableProperty(IteratorProxyPrototype, TO_STRING_TAG, 'Iterator Helper');\n }\n return IteratorProxyPrototype;\n};\nvar IteratorHelperPrototype = createIteratorProxyPrototype(false);\nvar WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);\nmodule.exports = function (nextHandler, IS_ITERATOR) {\n var ITERATOR_PROXY = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;\n var IteratorProxy = function Iterator(record, state) {\n if (state) {\n state.iterator = record.iterator;\n state.next = record.next;\n } else state = record;\n state.type = ITERATOR_PROXY;\n state.nextHandler = nextHandler;\n state.done = false;\n setInternalState(this, state);\n };\n IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;\n return IteratorProxy;\n};", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar createIteratorProxy = require('../internals/iterator-create-proxy');\nvar IteratorProxy = createIteratorProxy(function () {\n var result = anObject(call(this.next, this.iterator));\n var done = this.done = !!result.done;\n if (!done) return [this.index++, result.value];\n});\nmodule.exports = function indexed() {\n return new IteratorProxy(getIteratorDirect(this), {\n index: 0\n });\n};", "'use strict';\n\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\n\n// https://github.com/tc39/collection-methods\nmodule.exports = function deleteAll( /* ...elements */\n) {\n var collection = anObject(this);\n var remover = aCallable(collection['delete']);\n var allDeleted = true;\n var wasDeleted;\n for (var k = 0, len = arguments.length; k < len; k++) {\n wasDeleted = call(remover, collection, arguments[k]);\n allDeleted = allDeleted && wasDeleted;\n }\n return !!allDeleted;\n};", "'use strict';\n\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\n\n// `Map.prototype.emplace` method\n// https://github.com/thumbsupep/proposal-upsert\nmodule.exports = function emplace(key, handler) {\n var map = anObject(this);\n var get = aCallable(map.get);\n var has = aCallable(map.has);\n var set = aCallable(map.set);\n var value, inserted;\n if (call(has, map, key)) {\n value = call(get, map, key);\n if ('update' in handler) {\n value = handler.update(value, key, map);\n call(set, map, key, value);\n }\n return value;\n }\n inserted = handler.insert(key, map);\n call(set, map, key, inserted);\n return inserted;\n};", "var call = require('../internals/function-call');\nmodule.exports = function (it) {\n // eslint-disable-next-line es-x/no-map -- safe\n return call(Map.prototype.entries, it);\n};", "'use strict';\n\n// https://tc39.github.io/proposal-setmap-offrom/\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar aConstructor = require('../internals/a-constructor');\nvar iterate = require('../internals/iterate');\nvar push = [].push;\nmodule.exports = function from(source /* , mapFn, thisArg */) {\n var length = arguments.length;\n var mapFn = length > 1 ? arguments[1] : undefined;\n var mapping, array, n, boundFunction;\n aConstructor(this);\n mapping = mapFn !== undefined;\n if (mapping) aCallable(mapFn);\n if (source == undefined) return new this();\n array = [];\n if (mapping) {\n n = 0;\n boundFunction = bind(mapFn, length > 2 ? arguments[2] : undefined);\n iterate(source, function (nextItem) {\n call(push, array, boundFunction(nextItem, n++));\n });\n } else {\n iterate(source, push, {\n that: array\n });\n }\n return new this(array);\n};", "// `SameValueZero` abstract operation\n// https://tc39.es/ecma262/#sec-samevaluezero\nmodule.exports = function (x, y) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return x === y || x != x && y != y;\n};", "'use strict';\n\nvar arraySlice = require('../internals/array-slice');\n\n// https://tc39.github.io/proposal-setmap-offrom/\nmodule.exports = function of() {\n return new this(arraySlice(arguments));\n};", "'use strict';\n\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar isCallable = require('../internals/is-callable');\nvar anObject = require('../internals/an-object');\nvar $TypeError = TypeError;\n\n// `Map.prototype.upsert` method\n// https://github.com/thumbsupep/proposal-upsert\nmodule.exports = function upsert(key, updateFn /* , insertFn */) {\n var map = anObject(this);\n var get = aCallable(map.get);\n var has = aCallable(map.has);\n var set = aCallable(map.set);\n var insertFn = arguments.length > 2 ? arguments[2] : undefined;\n var value;\n if (!isCallable(updateFn) && !isCallable(insertFn)) {\n throw $TypeError('At least one callback required');\n }\n if (call(has, map, key)) {\n value = call(get, map, key);\n if (isCallable(updateFn)) {\n value = updateFn(value);\n call(set, map, key, value);\n }\n } else if (isCallable(insertFn)) {\n value = insertFn();\n call(set, map, key, value);\n }\n return value;\n};", "// `Math.scale` method implementation\n// https://rwaldron.github.io/proposal-math-extensions/\nmodule.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) {\n var nx = +x;\n var nInLow = +inLow;\n var nInHigh = +inHigh;\n var nOutLow = +outLow;\n var nOutHigh = +outHigh;\n // eslint-disable-next-line no-self-compare -- NaN check\n if (nx != nx || nInLow != nInLow || nInHigh != nInHigh || nOutLow != nOutLow || nOutHigh != nOutHigh) return NaN;\n if (nx === Infinity || nx === -Infinity) return nx;\n return (nx - nInLow) * (nOutHigh - nOutLow) / (nInHigh - nInLow) + nOutLow;\n};", "'use strict';\n\nvar InternalStateModule = require('../internals/internal-state');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar hasOwn = require('../internals/has-own-property');\nvar objectKeys = require('../internals/object-keys');\nvar toObject = require('../internals/to-object');\nvar OBJECT_ITERATOR = 'Object Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(OBJECT_ITERATOR);\nmodule.exports = createIteratorConstructor(function ObjectIterator(source, mode) {\n var object = toObject(source);\n setInternalState(this, {\n type: OBJECT_ITERATOR,\n mode: mode,\n object: object,\n keys: objectKeys(object),\n index: 0\n });\n}, 'Object', function next() {\n var state = getInternalState(this);\n var keys = state.keys;\n while (true) {\n if (keys === null || state.index >= keys.length) {\n state.object = state.keys = null;\n return {\n value: undefined,\n done: true\n };\n }\n var key = keys[state.index++];\n var object = state.object;\n if (!hasOwn(object, key)) continue;\n switch (state.mode) {\n case 'keys':\n return {\n value: key,\n done: false\n };\n case 'values':\n return {\n value: object[key],\n done: false\n };\n } /* entries */\n return {\n value: [key, object[key]],\n done: false\n };\n }\n});", "var global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar $$OBSERVABLE = wellKnownSymbol('observable');\nvar NativeObservable = global.Observable;\nvar NativeObservablePrototype = NativeObservable && NativeObservable.prototype;\nmodule.exports = !isCallable(NativeObservable) || !isCallable(NativeObservable.from) || !isCallable(NativeObservable.of) || !isCallable(NativeObservablePrototype.subscribe) || !isCallable(NativeObservablePrototype[$$OBSERVABLE]);", "'use strict';\n\n// https://github.com/tc39/proposal-observable\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar setSpecies = require('../internals/set-species');\nvar aCallable = require('../internals/a-callable');\nvar isCallable = require('../internals/is-callable');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar anInstance = require('../internals/an-instance');\nvar getMethod = require('../internals/get-method');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar hostReportErrors = require('../internals/host-report-errors');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar InternalStateModule = require('../internals/internal-state');\nvar OBSERVABLE_FORCED = require('../internals/observable-forced');\nvar $$OBSERVABLE = wellKnownSymbol('observable');\nvar OBSERVABLE = 'Observable';\nvar SUBSCRIPTION = 'Subscription';\nvar SUBSCRIPTION_OBSERVER = 'SubscriptionObserver';\nvar getterFor = InternalStateModule.getterFor;\nvar setInternalState = InternalStateModule.set;\nvar getObservableInternalState = getterFor(OBSERVABLE);\nvar getSubscriptionInternalState = getterFor(SUBSCRIPTION);\nvar getSubscriptionObserverInternalState = getterFor(SUBSCRIPTION_OBSERVER);\nvar SubscriptionState = function SubscriptionState(observer) {\n this.observer = anObject(observer);\n this.cleanup = undefined;\n this.subscriptionObserver = undefined;\n};\nSubscriptionState.prototype = {\n type: SUBSCRIPTION,\n clean: function clean() {\n var cleanup = this.cleanup;\n if (cleanup) {\n this.cleanup = undefined;\n try {\n cleanup();\n } catch (error) {\n hostReportErrors(error);\n }\n }\n },\n close: function close() {\n if (!DESCRIPTORS) {\n var subscription = this.facade;\n var subscriptionObserver = this.subscriptionObserver;\n subscription.closed = true;\n if (subscriptionObserver) subscriptionObserver.closed = true;\n }\n this.observer = undefined;\n },\n isClosed: function isClosed() {\n return this.observer === undefined;\n }\n};\nvar Subscription = function Subscription(observer, subscriber) {\n var subscriptionState = setInternalState(this, new SubscriptionState(observer));\n var start;\n if (!DESCRIPTORS) this.closed = false;\n try {\n if (start = getMethod(observer, 'start')) call(start, observer, this);\n } catch (error) {\n hostReportErrors(error);\n }\n if (subscriptionState.isClosed()) return;\n var subscriptionObserver = subscriptionState.subscriptionObserver = new SubscriptionObserver(subscriptionState);\n try {\n var cleanup = subscriber(subscriptionObserver);\n var subscription = cleanup;\n if (cleanup != null) subscriptionState.cleanup = isCallable(cleanup.unsubscribe) ? function () {\n subscription.unsubscribe();\n } : aCallable(cleanup);\n } catch (error) {\n subscriptionObserver.error(error);\n return;\n }\n if (subscriptionState.isClosed()) subscriptionState.clean();\n};\nSubscription.prototype = defineBuiltIns({}, {\n unsubscribe: function unsubscribe() {\n var subscriptionState = getSubscriptionInternalState(this);\n if (!subscriptionState.isClosed()) {\n subscriptionState.close();\n subscriptionState.clean();\n }\n }\n});\nif (DESCRIPTORS) defineBuiltInAccessor(Subscription.prototype, 'closed', {\n configurable: true,\n get: function closed() {\n return getSubscriptionInternalState(this).isClosed();\n }\n});\nvar SubscriptionObserver = function SubscriptionObserver(subscriptionState) {\n setInternalState(this, {\n type: SUBSCRIPTION_OBSERVER,\n subscriptionState: subscriptionState\n });\n if (!DESCRIPTORS) this.closed = false;\n};\nSubscriptionObserver.prototype = defineBuiltIns({}, {\n next: function next(value) {\n var subscriptionState = getSubscriptionObserverInternalState(this).subscriptionState;\n if (!subscriptionState.isClosed()) {\n var observer = subscriptionState.observer;\n try {\n var nextMethod = getMethod(observer, 'next');\n if (nextMethod) call(nextMethod, observer, value);\n } catch (error) {\n hostReportErrors(error);\n }\n }\n },\n error: function error(value) {\n var subscriptionState = getSubscriptionObserverInternalState(this).subscriptionState;\n if (!subscriptionState.isClosed()) {\n var observer = subscriptionState.observer;\n subscriptionState.close();\n try {\n var errorMethod = getMethod(observer, 'error');\n if (errorMethod) call(errorMethod, observer, value);else hostReportErrors(value);\n } catch (err) {\n hostReportErrors(err);\n }\n subscriptionState.clean();\n }\n },\n complete: function complete() {\n var subscriptionState = getSubscriptionObserverInternalState(this).subscriptionState;\n if (!subscriptionState.isClosed()) {\n var observer = subscriptionState.observer;\n subscriptionState.close();\n try {\n var completeMethod = getMethod(observer, 'complete');\n if (completeMethod) call(completeMethod, observer);\n } catch (error) {\n hostReportErrors(error);\n }\n subscriptionState.clean();\n }\n }\n});\nif (DESCRIPTORS) defineBuiltInAccessor(SubscriptionObserver.prototype, 'closed', {\n configurable: true,\n get: function closed() {\n return getSubscriptionObserverInternalState(this).subscriptionState.isClosed();\n }\n});\nvar $Observable = function Observable(subscriber) {\n anInstance(this, ObservablePrototype);\n setInternalState(this, {\n type: OBSERVABLE,\n subscriber: aCallable(subscriber)\n });\n};\nvar ObservablePrototype = $Observable.prototype;\ndefineBuiltIns(ObservablePrototype, {\n subscribe: function subscribe(observer) {\n var length = arguments.length;\n return new Subscription(isCallable(observer) ? {\n next: observer,\n error: length > 1 ? arguments[1] : undefined,\n complete: length > 2 ? arguments[2] : undefined\n } : isObject(observer) ? observer : {}, getObservableInternalState(this).subscriber);\n }\n});\ndefineBuiltIn(ObservablePrototype, $$OBSERVABLE, function () {\n return this;\n});\n$({\n global: true,\n constructor: true,\n forced: OBSERVABLE_FORCED\n}, {\n Observable: $Observable\n});\nsetSpecies(OBSERVABLE);", "'use strict';\n\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isConstructor = require('../internals/is-constructor');\nvar getIterator = require('../internals/get-iterator');\nvar getMethod = require('../internals/get-method');\nvar iterate = require('../internals/iterate');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar OBSERVABLE_FORCED = require('../internals/observable-forced');\nvar $$OBSERVABLE = wellKnownSymbol('observable');\n\n// `Observable.from` method\n// https://github.com/tc39/proposal-observable\n$({\n target: 'Observable',\n stat: true,\n forced: OBSERVABLE_FORCED\n}, {\n from: function from(x) {\n var C = isConstructor(this) ? this : getBuiltIn('Observable');\n var observableMethod = getMethod(anObject(x), $$OBSERVABLE);\n if (observableMethod) {\n var observable = anObject(call(observableMethod, x));\n return observable.constructor === C ? observable : new C(function (observer) {\n return observable.subscribe(observer);\n });\n }\n var iterator = getIterator(x);\n return new C(function (observer) {\n iterate(iterator, function (it, stop) {\n observer.next(it);\n if (observer.closed) return stop();\n }, {\n IS_ITERATOR: true,\n INTERRUPTED: true\n });\n observer.complete();\n });\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isConstructor = require('../internals/is-constructor');\nvar OBSERVABLE_FORCED = require('../internals/observable-forced');\nvar Array = getBuiltIn('Array');\n\n// `Observable.of` method\n// https://github.com/tc39/proposal-observable\n$({\n target: 'Observable',\n stat: true,\n forced: OBSERVABLE_FORCED\n}, {\n of: function of() {\n var C = isConstructor(this) ? this : getBuiltIn('Observable');\n var length = arguments.length;\n var items = Array(length);\n var index = 0;\n while (index < length) items[index] = arguments[index++];\n return new C(function (observer) {\n for (var i = 0; i < length; i++) {\n observer.next(items[i]);\n if (observer.closed) return;\n }\n observer.complete();\n });\n }\n});", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nrequire('../modules/es.map');\nrequire('../modules/es.weak-map');\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar shared = require('../internals/shared');\nvar Map = getBuiltIn('Map');\nvar WeakMap = getBuiltIn('WeakMap');\nvar push = uncurryThis([].push);\nvar metadata = shared('metadata');\nvar store = metadata.store || (metadata.store = new WeakMap());\nvar getOrCreateMetadataMap = function getOrCreateMetadataMap(target, targetKey, create) {\n var targetMetadata = store.get(target);\n if (!targetMetadata) {\n if (!create) return;\n store.set(target, targetMetadata = new Map());\n }\n var keyMetadata = targetMetadata.get(targetKey);\n if (!keyMetadata) {\n if (!create) return;\n targetMetadata.set(targetKey, keyMetadata = new Map());\n }\n return keyMetadata;\n};\nvar ordinaryHasOwnMetadata = function ordinaryHasOwnMetadata(MetadataKey, O, P) {\n var metadataMap = getOrCreateMetadataMap(O, P, false);\n return metadataMap === undefined ? false : metadataMap.has(MetadataKey);\n};\nvar ordinaryGetOwnMetadata = function ordinaryGetOwnMetadata(MetadataKey, O, P) {\n var metadataMap = getOrCreateMetadataMap(O, P, false);\n return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);\n};\nvar ordinaryDefineOwnMetadata = function ordinaryDefineOwnMetadata(MetadataKey, MetadataValue, O, P) {\n getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);\n};\nvar ordinaryOwnMetadataKeys = function ordinaryOwnMetadataKeys(target, targetKey) {\n var metadataMap = getOrCreateMetadataMap(target, targetKey, false);\n var keys = [];\n if (metadataMap) metadataMap.forEach(function (_, key) {\n push(keys, key);\n });\n return keys;\n};\nvar toMetadataKey = function toMetadataKey(it) {\n return it === undefined || _typeof(it) == 'symbol' ? it : String(it);\n};\nmodule.exports = {\n store: store,\n getMap: getOrCreateMetadataMap,\n has: ordinaryHasOwnMetadata,\n get: ordinaryGetOwnMetadata,\n set: ordinaryDefineOwnMetadata,\n keys: ordinaryOwnMetadataKeys,\n toKey: toMetadataKey\n};", "'use strict';\n\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\n\n// https://github.com/tc39/collection-methods\nmodule.exports = function addAll( /* ...elements */\n) {\n var set = anObject(this);\n var adder = aCallable(set.add);\n for (var k = 0, len = arguments.length; k < len; k++) {\n call(adder, set, arguments[k]);\n }\n return set;\n};", "var call = require('../internals/function-call');\nmodule.exports = function (it) {\n // eslint-disable-next-line es-x/no-set -- safe\n return call(Set.prototype.values, it);\n};", "var classof = require('../internals/classof');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar slice = uncurryThis(''.slice);\nmodule.exports = function (it) {\n return slice(classof(it), 0, 3) === 'Big';\n};", "var itoc = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\nvar ctoi = {};\nfor (var index = 0; index < 66; index++) ctoi[itoc.charAt(index)] = index;\nmodule.exports = {\n itoc: itoc,\n ctoi: ctoi\n};", "// iterable DOM collections\n// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods\nmodule.exports = {\n CSSRuleList: 0,\n CSSStyleDeclaration: 0,\n CSSValueList: 0,\n ClientRectList: 0,\n DOMRectList: 0,\n DOMStringList: 0,\n DOMTokenList: 1,\n DataTransferItemList: 0,\n FileList: 0,\n HTMLAllCollection: 0,\n HTMLCollection: 0,\n HTMLFormElement: 0,\n HTMLSelectElement: 0,\n MediaList: 0,\n MimeTypeArray: 0,\n NamedNodeMap: 0,\n NodeList: 1,\n PaintRequestList: 0,\n Plugin: 0,\n PluginArray: 0,\n SVGLengthList: 0,\n SVGNumberList: 0,\n SVGPathSegList: 0,\n SVGPointList: 0,\n SVGStringList: 0,\n SVGTransformList: 0,\n SourceBufferList: 0,\n StyleSheetList: 0,\n TextTrackCueList: 0,\n TextTrackList: 0,\n TouchList: 0\n};", "// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`\nvar documentCreateElement = require('../internals/document-create-element');\nvar classList = documentCreateElement('span').classList;\nvar DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype;\nmodule.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype;", "'use strict';\n\nvar $forEach = require('../internals/array-iteration').forEach;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar STRICT_METHOD = arrayMethodIsStrict('forEach');\n\n// `Array.prototype.forEach` method implementation\n// https://tc39.es/ecma262/#sec-array.prototype.foreach\nmodule.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {\n return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n // eslint-disable-next-line es-x/no-array-prototype-foreach -- safe\n} : [].forEach;", "var IS_NODE = require('../internals/engine-is-node');\nmodule.exports = function (name) {\n try {\n // eslint-disable-next-line no-new-func -- safe\n if (IS_NODE) return Function('return require(\"' + name + '\")')();\n } catch (error) {/* empty */}\n};", "'use strict';\n\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar create = require('../internals/object-create');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar nativeErrorToString = Error.prototype.toString;\nvar INCORRECT_TO_STRING = fails(function () {\n if (DESCRIPTORS) {\n // Chrome 32- incorrectly call accessor\n // eslint-disable-next-line es-x/no-object-defineproperty -- safe\n var object = create(Object.defineProperty({}, 'name', {\n get: function get() {\n return this === object;\n }\n }));\n if (nativeErrorToString.call(object) !== 'true') return true;\n }\n // FF10- does not properly handle non-strings\n return nativeErrorToString.call({\n message: 1,\n name: 2\n }) !== '2: 1'\n // IE8 does not properly handle defaults\n || nativeErrorToString.call({}) !== 'Error';\n});\nmodule.exports = INCORRECT_TO_STRING ? function toString() {\n var O = anObject(this);\n var name = normalizeStringArgument(O.name, 'Error');\n var message = normalizeStringArgument(O.message);\n return !name ? message : !message ? name : name + ': ' + message;\n} : nativeErrorToString;", "module.exports = {\n IndexSizeError: {\n s: 'INDEX_SIZE_ERR',\n c: 1,\n m: 1\n },\n DOMStringSizeError: {\n s: 'DOMSTRING_SIZE_ERR',\n c: 2,\n m: 0\n },\n HierarchyRequestError: {\n s: 'HIERARCHY_REQUEST_ERR',\n c: 3,\n m: 1\n },\n WrongDocumentError: {\n s: 'WRONG_DOCUMENT_ERR',\n c: 4,\n m: 1\n },\n InvalidCharacterError: {\n s: 'INVALID_CHARACTER_ERR',\n c: 5,\n m: 1\n },\n NoDataAllowedError: {\n s: 'NO_DATA_ALLOWED_ERR',\n c: 6,\n m: 0\n },\n NoModificationAllowedError: {\n s: 'NO_MODIFICATION_ALLOWED_ERR',\n c: 7,\n m: 1\n },\n NotFoundError: {\n s: 'NOT_FOUND_ERR',\n c: 8,\n m: 1\n },\n NotSupportedError: {\n s: 'NOT_SUPPORTED_ERR',\n c: 9,\n m: 1\n },\n InUseAttributeError: {\n s: 'INUSE_ATTRIBUTE_ERR',\n c: 10,\n m: 1\n },\n InvalidStateError: {\n s: 'INVALID_STATE_ERR',\n c: 11,\n m: 1\n },\n SyntaxError: {\n s: 'SYNTAX_ERR',\n c: 12,\n m: 1\n },\n InvalidModificationError: {\n s: 'INVALID_MODIFICATION_ERR',\n c: 13,\n m: 1\n },\n NamespaceError: {\n s: 'NAMESPACE_ERR',\n c: 14,\n m: 1\n },\n InvalidAccessError: {\n s: 'INVALID_ACCESS_ERR',\n c: 15,\n m: 1\n },\n ValidationError: {\n s: 'VALIDATION_ERR',\n c: 16,\n m: 0\n },\n TypeMismatchError: {\n s: 'TYPE_MISMATCH_ERR',\n c: 17,\n m: 1\n },\n SecurityError: {\n s: 'SECURITY_ERR',\n c: 18,\n m: 1\n },\n NetworkError: {\n s: 'NETWORK_ERR',\n c: 19,\n m: 1\n },\n AbortError: {\n s: 'ABORT_ERR',\n c: 20,\n m: 1\n },\n URLMismatchError: {\n s: 'URL_MISMATCH_ERR',\n c: 21,\n m: 1\n },\n QuotaExceededError: {\n s: 'QUOTA_EXCEEDED_ERR',\n c: 22,\n m: 1\n },\n TimeoutError: {\n s: 'TIMEOUT_ERR',\n c: 23,\n m: 1\n },\n InvalidNodeTypeError: {\n s: 'INVALID_NODE_TYPE_ERR',\n c: 24,\n m: 1\n },\n DataCloneError: {\n s: 'DATA_CLONE_ERR',\n c: 25,\n m: 1\n }\n};", "var fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\nvar ITERATOR = wellKnownSymbol('iterator');\nmodule.exports = !fails(function () {\n // eslint-disable-next-line unicorn/relative-url-style -- required for testing\n var url = new URL('b?a=1&b=2&c=3', 'http://a');\n var searchParams = url.searchParams;\n var result = '';\n url.pathname = 'c%20d';\n searchParams.forEach(function (value, key) {\n searchParams['delete']('b');\n result += key + value;\n });\n return IS_PURE && !url.toJSON || !searchParams.sort || url.href !== 'http://a/c%20d?a=1&c=3' || searchParams.get('c') !== '3' || String(new URLSearchParams('?a=1')) !== 'a=1' || !searchParams[ITERATOR]\n // throws in Edge\n || new URL('https://a@b').username !== 'a' || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'\n // not punycoded in Edge\n || new URL('http://\u0442\u0435\u0441\u0442').host !== 'xn--e1aybc'\n // not escaped in Chrome 62-\n || new URL('http://a#\u0431').hash !== '#%D0%B1'\n // fails in Chrome 66-\n || result !== 'a1c3'\n // throws in Safari\n || new URL('http://x', undefined).host !== 'x';\n});", "'use strict';\n\n// based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1\nvar base = 36;\nvar tMin = 1;\nvar tMax = 26;\nvar skew = 38;\nvar damp = 700;\nvar initialBias = 72;\nvar initialN = 128; // 0x80\nvar delimiter = '-'; // '\\x2D'\nvar regexNonASCII = /[^\\0-\\u007E]/; // non-ASCII chars\nvar regexSeparators = /[.\\u3002\\uFF0E\\uFF61]/g; // RFC 3490 separators\nvar OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';\nvar baseMinusTMin = base - tMin;\nvar $RangeError = RangeError;\nvar exec = uncurryThis(regexSeparators.exec);\nvar floor = Math.floor;\nvar fromCharCode = String.fromCharCode;\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar join = uncurryThis([].join);\nvar push = uncurryThis([].push);\nvar replace = uncurryThis(''.replace);\nvar split = uncurryThis(''.split);\nvar toLowerCase = uncurryThis(''.toLowerCase);\n\n/**\n * Creates an array containing the numeric code points of each Unicode\n * character in the string. While JavaScript uses UCS-2 internally,\n * this function will convert a pair of surrogate halves (each of which\n * UCS-2 exposes as separate characters) into a single code point,\n * matching UTF-16.\n */\nvar ucs2decode = function ucs2decode(string) {\n var output = [];\n var counter = 0;\n var length = string.length;\n while (counter < length) {\n var value = charCodeAt(string, counter++);\n if (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n // It's a high surrogate, and there is a next character.\n var extra = charCodeAt(string, counter++);\n if ((extra & 0xFC00) == 0xDC00) {\n // Low surrogate.\n push(output, ((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n } else {\n // It's an unmatched surrogate; only append this code unit, in case the\n // next code unit is the high surrogate of a surrogate pair.\n push(output, value);\n counter--;\n }\n } else {\n push(output, value);\n }\n }\n return output;\n};\n\n/**\n * Converts a digit/integer into a basic code point.\n */\nvar digitToBasic = function digitToBasic(digit) {\n // 0..25 map to ASCII a..z or A..Z\n // 26..35 map to ASCII 0..9\n return digit + 22 + 75 * (digit < 26);\n};\n\n/**\n * Bias adaptation function as per section 3.4 of RFC 3492.\n * https://tools.ietf.org/html/rfc3492#section-3.4\n */\nvar adapt = function adapt(delta, numPoints, firstTime) {\n var k = 0;\n delta = firstTime ? floor(delta / damp) : delta >> 1;\n delta += floor(delta / numPoints);\n while (delta > baseMinusTMin * tMax >> 1) {\n delta = floor(delta / baseMinusTMin);\n k += base;\n }\n return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n};\n\n/**\n * Converts a string of Unicode symbols (e.g. a domain name label) to a\n * Punycode string of ASCII-only symbols.\n */\nvar encode = function encode(input) {\n var output = [];\n\n // Convert the input in UCS-2 to an array of Unicode code points.\n input = ucs2decode(input);\n\n // Cache the length.\n var inputLength = input.length;\n\n // Initialize the state.\n var n = initialN;\n var delta = 0;\n var bias = initialBias;\n var i, currentValue;\n\n // Handle the basic code points.\n for (i = 0; i < input.length; i++) {\n currentValue = input[i];\n if (currentValue < 0x80) {\n push(output, fromCharCode(currentValue));\n }\n }\n var basicLength = output.length; // number of basic code points.\n var handledCPCount = basicLength; // number of code points that have been handled;\n\n // Finish the basic string with a delimiter unless it's empty.\n if (basicLength) {\n push(output, delimiter);\n }\n\n // Main encoding loop:\n while (handledCPCount < inputLength) {\n // All non-basic code points < n have been handled already. Find the next larger one:\n var m = maxInt;\n for (i = 0; i < input.length; i++) {\n currentValue = input[i];\n if (currentValue >= n && currentValue < m) {\n m = currentValue;\n }\n }\n\n // Increase `delta` enough to advance the decoder's state to , but guard against overflow.\n var handledCPCountPlusOne = handledCPCount + 1;\n if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n throw $RangeError(OVERFLOW_ERROR);\n }\n delta += (m - n) * handledCPCountPlusOne;\n n = m;\n for (i = 0; i < input.length; i++) {\n currentValue = input[i];\n if (currentValue < n && ++delta > maxInt) {\n throw $RangeError(OVERFLOW_ERROR);\n }\n if (currentValue == n) {\n // Represent delta as a generalized variable-length integer.\n var q = delta;\n var k = base;\n while (true) {\n var t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;\n if (q < t) break;\n var qMinusT = q - t;\n var baseMinusT = base - t;\n push(output, fromCharCode(digitToBasic(t + qMinusT % baseMinusT)));\n q = floor(qMinusT / baseMinusT);\n k += base;\n }\n push(output, fromCharCode(digitToBasic(q)));\n bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n delta = 0;\n handledCPCount++;\n }\n }\n delta++;\n n++;\n }\n return join(output, '');\n};\nmodule.exports = function (input) {\n var encoded = [];\n var labels = split(replace(toLowerCase(input), regexSeparators, \".\"), '.');\n var i, label;\n for (i = 0; i < labels.length; i++) {\n label = labels[i];\n push(encoded, exec(regexNonASCII, label) ? 'xn--' + encode(label) : label);\n }\n return join(encoded, '.');\n};", "'use strict';\n\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nrequire('../modules/es.array.iterator');\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar USE_NATIVE_URL = require('../internals/native-url');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltIns = require('../internals/define-built-ins');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar InternalStateModule = require('../internals/internal-state');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar bind = require('../internals/function-bind-context');\nvar classof = require('../internals/classof');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar $toString = require('../internals/to-string');\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arraySort = require('../internals/array-sort');\nvar ITERATOR = wellKnownSymbol('iterator');\nvar URL_SEARCH_PARAMS = 'URLSearchParams';\nvar URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS);\nvar getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR);\n// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Avoid NodeJS experimental warning\nvar safeGetBuiltIn = function safeGetBuiltIn(name) {\n if (!DESCRIPTORS) return global[name];\n var descriptor = getOwnPropertyDescriptor(global, name);\n return descriptor && descriptor.value;\n};\nvar nativeFetch = safeGetBuiltIn('fetch');\nvar NativeRequest = safeGetBuiltIn('Request');\nvar Headers = safeGetBuiltIn('Headers');\nvar RequestPrototype = NativeRequest && NativeRequest.prototype;\nvar HeadersPrototype = Headers && Headers.prototype;\nvar RegExp = global.RegExp;\nvar TypeError = global.TypeError;\nvar decodeURIComponent = global.decodeURIComponent;\nvar encodeURIComponent = global.encodeURIComponent;\nvar charAt = uncurryThis(''.charAt);\nvar join = uncurryThis([].join);\nvar push = uncurryThis([].push);\nvar replace = uncurryThis(''.replace);\nvar shift = uncurryThis([].shift);\nvar splice = uncurryThis([].splice);\nvar split = uncurryThis(''.split);\nvar stringSlice = uncurryThis(''.slice);\nvar plus = /\\+/g;\nvar sequences = Array(4);\nvar percentSequence = function percentSequence(bytes) {\n return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp('((?:%[\\\\da-f]{2}){' + bytes + '})', 'gi'));\n};\nvar percentDecode = function percentDecode(sequence) {\n try {\n return decodeURIComponent(sequence);\n } catch (error) {\n return sequence;\n }\n};\nvar deserialize = function deserialize(it) {\n var result = replace(it, plus, ' ');\n var bytes = 4;\n try {\n return decodeURIComponent(result);\n } catch (error) {\n while (bytes) {\n result = replace(result, percentSequence(bytes--), percentDecode);\n }\n return result;\n }\n};\nvar find = /[!'()~]|%20/g;\nvar replacements = {\n '!': '%21',\n \"'\": '%27',\n '(': '%28',\n ')': '%29',\n '~': '%7E',\n '%20': '+'\n};\nvar replacer = function replacer(match) {\n return replacements[match];\n};\nvar _serialize = function serialize(it) {\n return replace(encodeURIComponent(it), find, replacer);\n};\nvar URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) {\n setInternalState(this, {\n type: URL_SEARCH_PARAMS_ITERATOR,\n iterator: getIterator(getInternalParamsState(params).entries),\n kind: kind\n });\n}, 'Iterator', function next() {\n var state = getInternalIteratorState(this);\n var kind = state.kind;\n var step = state.iterator.next();\n var entry = step.value;\n if (!step.done) {\n step.value = kind === 'keys' ? entry.key : kind === 'values' ? entry.value : [entry.key, entry.value];\n }\n return step;\n}, true);\nvar URLSearchParamsState = function URLSearchParamsState(init) {\n this.entries = [];\n this.url = null;\n if (init !== undefined) {\n if (isObject(init)) this.parseObject(init);else this.parseQuery(typeof init == 'string' ? charAt(init, 0) === '?' ? stringSlice(init, 1) : init : $toString(init));\n }\n};\nURLSearchParamsState.prototype = {\n type: URL_SEARCH_PARAMS,\n bindURL: function bindURL(url) {\n this.url = url;\n this.update();\n },\n parseObject: function parseObject(object) {\n var iteratorMethod = getIteratorMethod(object);\n var iterator, next, step, entryIterator, entryNext, first, second;\n if (iteratorMethod) {\n iterator = getIterator(object, iteratorMethod);\n next = iterator.next;\n while (!(step = call(next, iterator)).done) {\n entryIterator = getIterator(anObject(step.value));\n entryNext = entryIterator.next;\n if ((first = call(entryNext, entryIterator)).done || (second = call(entryNext, entryIterator)).done || !call(entryNext, entryIterator).done) throw TypeError('Expected sequence with length 2');\n push(this.entries, {\n key: $toString(first.value),\n value: $toString(second.value)\n });\n }\n } else for (var key in object) if (hasOwn(object, key)) {\n push(this.entries, {\n key: key,\n value: $toString(object[key])\n });\n }\n },\n parseQuery: function parseQuery(query) {\n if (query) {\n var attributes = split(query, '&');\n var index = 0;\n var attribute, entry;\n while (index < attributes.length) {\n attribute = attributes[index++];\n if (attribute.length) {\n entry = split(attribute, '=');\n push(this.entries, {\n key: deserialize(shift(entry)),\n value: deserialize(join(entry, '='))\n });\n }\n }\n }\n },\n serialize: function serialize() {\n var entries = this.entries;\n var result = [];\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n push(result, _serialize(entry.key) + '=' + _serialize(entry.value));\n }\n return join(result, '&');\n },\n update: function update() {\n this.entries.length = 0;\n this.parseQuery(this.url.query);\n },\n updateURL: function updateURL() {\n if (this.url) this.url.update();\n }\n};\n\n// `URLSearchParams` constructor\n// https://url.spec.whatwg.org/#interface-urlsearchparams\nvar URLSearchParamsConstructor = function URLSearchParams( /* init */\n) {\n anInstance(this, URLSearchParamsPrototype);\n var init = arguments.length > 0 ? arguments[0] : undefined;\n setInternalState(this, new URLSearchParamsState(init));\n};\nvar URLSearchParamsPrototype = URLSearchParamsConstructor.prototype;\ndefineBuiltIns(URLSearchParamsPrototype, {\n // `URLSearchParams.prototype.append` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-append\n append: function append(name, value) {\n validateArgumentsLength(arguments.length, 2);\n var state = getInternalParamsState(this);\n push(state.entries, {\n key: $toString(name),\n value: $toString(value)\n });\n state.updateURL();\n },\n // `URLSearchParams.prototype.delete` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-delete\n 'delete': function _delete(name) {\n validateArgumentsLength(arguments.length, 1);\n var state = getInternalParamsState(this);\n var entries = state.entries;\n var key = $toString(name);\n var index = 0;\n while (index < entries.length) {\n if (entries[index].key === key) splice(entries, index, 1);else index++;\n }\n state.updateURL();\n },\n // `URLSearchParams.prototype.get` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-get\n get: function get(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) return entries[index].value;\n }\n return null;\n },\n // `URLSearchParams.prototype.getAll` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-getall\n getAll: function getAll(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var result = [];\n var index = 0;\n for (; index < entries.length; index++) {\n if (entries[index].key === key) push(result, entries[index].value);\n }\n return result;\n },\n // `URLSearchParams.prototype.has` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-has\n has: function has(name) {\n validateArgumentsLength(arguments.length, 1);\n var entries = getInternalParamsState(this).entries;\n var key = $toString(name);\n var index = 0;\n while (index < entries.length) {\n if (entries[index++].key === key) return true;\n }\n return false;\n },\n // `URLSearchParams.prototype.set` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-set\n set: function set(name, value) {\n validateArgumentsLength(arguments.length, 1);\n var state = getInternalParamsState(this);\n var entries = state.entries;\n var found = false;\n var key = $toString(name);\n var val = $toString(value);\n var index = 0;\n var entry;\n for (; index < entries.length; index++) {\n entry = entries[index];\n if (entry.key === key) {\n if (found) splice(entries, index--, 1);else {\n found = true;\n entry.value = val;\n }\n }\n }\n if (!found) push(entries, {\n key: key,\n value: val\n });\n state.updateURL();\n },\n // `URLSearchParams.prototype.sort` method\n // https://url.spec.whatwg.org/#dom-urlsearchparams-sort\n sort: function sort() {\n var state = getInternalParamsState(this);\n arraySort(state.entries, function (a, b) {\n return a.key > b.key ? 1 : -1;\n });\n state.updateURL();\n },\n // `URLSearchParams.prototype.forEach` method\n forEach: function forEach(callback /* , thisArg */) {\n var entries = getInternalParamsState(this).entries;\n var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined);\n var index = 0;\n var entry;\n while (index < entries.length) {\n entry = entries[index++];\n boundFunction(entry.value, entry.key, this);\n }\n },\n // `URLSearchParams.prototype.keys` method\n keys: function keys() {\n return new URLSearchParamsIterator(this, 'keys');\n },\n // `URLSearchParams.prototype.values` method\n values: function values() {\n return new URLSearchParamsIterator(this, 'values');\n },\n // `URLSearchParams.prototype.entries` method\n entries: function entries() {\n return new URLSearchParamsIterator(this, 'entries');\n }\n}, {\n enumerable: true\n});\n\n// `URLSearchParams.prototype[@@iterator]` method\ndefineBuiltIn(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, {\n name: 'entries'\n});\n\n// `URLSearchParams.prototype.toString` method\n// https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior\ndefineBuiltIn(URLSearchParamsPrototype, 'toString', function toString() {\n return getInternalParamsState(this).serialize();\n}, {\n enumerable: true\n});\nsetToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS);\n$({\n global: true,\n constructor: true,\n forced: !USE_NATIVE_URL\n}, {\n URLSearchParams: URLSearchParamsConstructor\n});\n\n// Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`\nif (!USE_NATIVE_URL && isCallable(Headers)) {\n var headersHas = uncurryThis(HeadersPrototype.has);\n var headersSet = uncurryThis(HeadersPrototype.set);\n var wrapRequestOptions = function wrapRequestOptions(init) {\n if (isObject(init)) {\n var body = init.body;\n var headers;\n if (classof(body) === URL_SEARCH_PARAMS) {\n headers = init.headers ? new Headers(init.headers) : new Headers();\n if (!headersHas(headers, 'content-type')) {\n headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n }\n return create(init, {\n body: createPropertyDescriptor(0, $toString(body)),\n headers: createPropertyDescriptor(0, headers)\n });\n }\n }\n return init;\n };\n if (isCallable(nativeFetch)) {\n $({\n global: true,\n enumerable: true,\n dontCallGetSet: true,\n forced: true\n }, {\n fetch: function fetch(input /* , init */) {\n return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n }\n });\n }\n if (isCallable(NativeRequest)) {\n var RequestConstructor = function Request(input /* , init */) {\n anInstance(this, RequestPrototype);\n return new NativeRequest(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});\n };\n RequestPrototype.constructor = RequestConstructor;\n RequestConstructor.prototype = RequestPrototype;\n $({\n global: true,\n constructor: true,\n dontCallGetSet: true,\n forced: true\n }, {\n Request: RequestConstructor\n });\n }\n}\nmodule.exports = {\n URLSearchParams: URLSearchParamsConstructor,\n getState: getInternalParamsState\n};", "'use strict';\n\n// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nrequire('../modules/es.string.iterator');\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar USE_NATIVE_URL = require('../internals/native-url');\nvar global = require('../internals/global');\nvar bind = require('../internals/function-bind-context');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar anInstance = require('../internals/an-instance');\nvar hasOwn = require('../internals/has-own-property');\nvar assign = require('../internals/object-assign');\nvar arrayFrom = require('../internals/array-from');\nvar arraySlice = require('../internals/array-slice-simple');\nvar codeAt = require('../internals/string-multibyte').codeAt;\nvar toASCII = require('../internals/string-punycode-to-ascii');\nvar $toString = require('../internals/to-string');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar URLSearchParamsModule = require('../modules/web.url-search-params.constructor');\nvar InternalStateModule = require('../internals/internal-state');\nvar setInternalState = InternalStateModule.set;\nvar getInternalURLState = InternalStateModule.getterFor('URL');\nvar URLSearchParams = URLSearchParamsModule.URLSearchParams;\nvar getInternalSearchParamsState = URLSearchParamsModule.getState;\nvar NativeURL = global.URL;\nvar TypeError = global.TypeError;\nvar parseInt = global.parseInt;\nvar floor = Math.floor;\nvar pow = Math.pow;\nvar charAt = uncurryThis(''.charAt);\nvar exec = uncurryThis(/./.exec);\nvar join = uncurryThis([].join);\nvar numberToString = uncurryThis(1.0.toString);\nvar pop = uncurryThis([].pop);\nvar push = uncurryThis([].push);\nvar replace = uncurryThis(''.replace);\nvar shift = uncurryThis([].shift);\nvar split = uncurryThis(''.split);\nvar stringSlice = uncurryThis(''.slice);\nvar toLowerCase = uncurryThis(''.toLowerCase);\nvar unshift = uncurryThis([].unshift);\nvar INVALID_AUTHORITY = 'Invalid authority';\nvar INVALID_SCHEME = 'Invalid scheme';\nvar INVALID_HOST = 'Invalid host';\nvar INVALID_PORT = 'Invalid port';\nvar ALPHA = /[a-z]/i;\n// eslint-disable-next-line regexp/no-obscure-range -- safe\nvar ALPHANUMERIC = /[\\d+-.a-z]/i;\nvar DIGIT = /\\d/;\nvar HEX_START = /^0x/i;\nvar OCT = /^[0-7]+$/;\nvar DEC = /^\\d+$/;\nvar HEX = /^[\\da-f]+$/i;\n/* eslint-disable regexp/no-control-character -- safe */\nvar FORBIDDEN_HOST_CODE_POINT = /[\\0\\t\\n\\r #%/:<>?@[\\\\\\]^|]/;\nvar FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\\0\\t\\n\\r #/:<>?@[\\\\\\]^|]/;\nvar LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE = /^[\\u0000-\\u0020]+|[\\u0000-\\u0020]+$/g;\nvar TAB_AND_NEW_LINE = /[\\t\\n\\r]/g;\n/* eslint-enable regexp/no-control-character -- safe */\nvar EOF;\n\n// https://url.spec.whatwg.org/#ipv4-number-parser\nvar parseIPv4 = function parseIPv4(input) {\n var parts = split(input, '.');\n var partsLength, numbers, index, part, radix, number, ipv4;\n if (parts.length && parts[parts.length - 1] == '') {\n parts.length--;\n }\n partsLength = parts.length;\n if (partsLength > 4) return input;\n numbers = [];\n for (index = 0; index < partsLength; index++) {\n part = parts[index];\n if (part == '') return input;\n radix = 10;\n if (part.length > 1 && charAt(part, 0) == '0') {\n radix = exec(HEX_START, part) ? 16 : 8;\n part = stringSlice(part, radix == 8 ? 1 : 2);\n }\n if (part === '') {\n number = 0;\n } else {\n if (!exec(radix == 10 ? DEC : radix == 8 ? OCT : HEX, part)) return input;\n number = parseInt(part, radix);\n }\n push(numbers, number);\n }\n for (index = 0; index < partsLength; index++) {\n number = numbers[index];\n if (index == partsLength - 1) {\n if (number >= pow(256, 5 - partsLength)) return null;\n } else if (number > 255) return null;\n }\n ipv4 = pop(numbers);\n for (index = 0; index < numbers.length; index++) {\n ipv4 += numbers[index] * pow(256, 3 - index);\n }\n return ipv4;\n};\n\n// https://url.spec.whatwg.org/#concept-ipv6-parser\n// eslint-disable-next-line max-statements -- TODO\nvar parseIPv6 = function parseIPv6(input) {\n var address = [0, 0, 0, 0, 0, 0, 0, 0];\n var pieceIndex = 0;\n var compress = null;\n var pointer = 0;\n var value, length, numbersSeen, ipv4Piece, number, swaps, swap;\n var chr = function chr() {\n return charAt(input, pointer);\n };\n if (chr() == ':') {\n if (charAt(input, 1) != ':') return;\n pointer += 2;\n pieceIndex++;\n compress = pieceIndex;\n }\n while (chr()) {\n if (pieceIndex == 8) return;\n if (chr() == ':') {\n if (compress !== null) return;\n pointer++;\n pieceIndex++;\n compress = pieceIndex;\n continue;\n }\n value = length = 0;\n while (length < 4 && exec(HEX, chr())) {\n value = value * 16 + parseInt(chr(), 16);\n pointer++;\n length++;\n }\n if (chr() == '.') {\n if (length == 0) return;\n pointer -= length;\n if (pieceIndex > 6) return;\n numbersSeen = 0;\n while (chr()) {\n ipv4Piece = null;\n if (numbersSeen > 0) {\n if (chr() == '.' && numbersSeen < 4) pointer++;else return;\n }\n if (!exec(DIGIT, chr())) return;\n while (exec(DIGIT, chr())) {\n number = parseInt(chr(), 10);\n if (ipv4Piece === null) ipv4Piece = number;else if (ipv4Piece == 0) return;else ipv4Piece = ipv4Piece * 10 + number;\n if (ipv4Piece > 255) return;\n pointer++;\n }\n address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece;\n numbersSeen++;\n if (numbersSeen == 2 || numbersSeen == 4) pieceIndex++;\n }\n if (numbersSeen != 4) return;\n break;\n } else if (chr() == ':') {\n pointer++;\n if (!chr()) return;\n } else if (chr()) return;\n address[pieceIndex++] = value;\n }\n if (compress !== null) {\n swaps = pieceIndex - compress;\n pieceIndex = 7;\n while (pieceIndex != 0 && swaps > 0) {\n swap = address[pieceIndex];\n address[pieceIndex--] = address[compress + swaps - 1];\n address[compress + --swaps] = swap;\n }\n } else if (pieceIndex != 8) return;\n return address;\n};\nvar findLongestZeroSequence = function findLongestZeroSequence(ipv6) {\n var maxIndex = null;\n var maxLength = 1;\n var currStart = null;\n var currLength = 0;\n var index = 0;\n for (; index < 8; index++) {\n if (ipv6[index] !== 0) {\n if (currLength > maxLength) {\n maxIndex = currStart;\n maxLength = currLength;\n }\n currStart = null;\n currLength = 0;\n } else {\n if (currStart === null) currStart = index;\n ++currLength;\n }\n }\n if (currLength > maxLength) {\n maxIndex = currStart;\n maxLength = currLength;\n }\n return maxIndex;\n};\n\n// https://url.spec.whatwg.org/#host-serializing\nvar serializeHost = function serializeHost(host) {\n var result, index, compress, ignore0;\n // ipv4\n if (typeof host == 'number') {\n result = [];\n for (index = 0; index < 4; index++) {\n unshift(result, host % 256);\n host = floor(host / 256);\n }\n return join(result, '.');\n // ipv6\n } else if (_typeof(host) == 'object') {\n result = '';\n compress = findLongestZeroSequence(host);\n for (index = 0; index < 8; index++) {\n if (ignore0 && host[index] === 0) continue;\n if (ignore0) ignore0 = false;\n if (compress === index) {\n result += index ? ':' : '::';\n ignore0 = true;\n } else {\n result += numberToString(host[index], 16);\n if (index < 7) result += ':';\n }\n }\n return '[' + result + ']';\n }\n return host;\n};\nvar C0ControlPercentEncodeSet = {};\nvar fragmentPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, {\n ' ': 1,\n '\"': 1,\n '<': 1,\n '>': 1,\n '`': 1\n});\nvar pathPercentEncodeSet = assign({}, fragmentPercentEncodeSet, {\n '#': 1,\n '?': 1,\n '{': 1,\n '}': 1\n});\nvar userinfoPercentEncodeSet = assign({}, pathPercentEncodeSet, {\n '/': 1,\n ':': 1,\n ';': 1,\n '=': 1,\n '@': 1,\n '[': 1,\n '\\\\': 1,\n ']': 1,\n '^': 1,\n '|': 1\n});\nvar percentEncode = function percentEncode(chr, set) {\n var code = codeAt(chr, 0);\n return code > 0x20 && code < 0x7F && !hasOwn(set, chr) ? chr : encodeURIComponent(chr);\n};\n\n// https://url.spec.whatwg.org/#special-scheme\nvar specialSchemes = {\n ftp: 21,\n file: null,\n http: 80,\n https: 443,\n ws: 80,\n wss: 443\n};\n\n// https://url.spec.whatwg.org/#windows-drive-letter\nvar isWindowsDriveLetter = function isWindowsDriveLetter(string, normalized) {\n var second;\n return string.length == 2 && exec(ALPHA, charAt(string, 0)) && ((second = charAt(string, 1)) == ':' || !normalized && second == '|');\n};\n\n// https://url.spec.whatwg.org/#start-with-a-windows-drive-letter\nvar startsWithWindowsDriveLetter = function startsWithWindowsDriveLetter(string) {\n var third;\n return string.length > 1 && isWindowsDriveLetter(stringSlice(string, 0, 2)) && (string.length == 2 || (third = charAt(string, 2)) === '/' || third === '\\\\' || third === '?' || third === '#');\n};\n\n// https://url.spec.whatwg.org/#single-dot-path-segment\nvar isSingleDot = function isSingleDot(segment) {\n return segment === '.' || toLowerCase(segment) === '%2e';\n};\n\n// https://url.spec.whatwg.org/#double-dot-path-segment\nvar isDoubleDot = function isDoubleDot(segment) {\n segment = toLowerCase(segment);\n return segment === '..' || segment === '%2e.' || segment === '.%2e' || segment === '%2e%2e';\n};\n\n// States:\nvar SCHEME_START = {};\nvar SCHEME = {};\nvar NO_SCHEME = {};\nvar SPECIAL_RELATIVE_OR_AUTHORITY = {};\nvar PATH_OR_AUTHORITY = {};\nvar RELATIVE = {};\nvar RELATIVE_SLASH = {};\nvar SPECIAL_AUTHORITY_SLASHES = {};\nvar SPECIAL_AUTHORITY_IGNORE_SLASHES = {};\nvar AUTHORITY = {};\nvar HOST = {};\nvar HOSTNAME = {};\nvar PORT = {};\nvar FILE = {};\nvar FILE_SLASH = {};\nvar FILE_HOST = {};\nvar PATH_START = {};\nvar PATH = {};\nvar CANNOT_BE_A_BASE_URL_PATH = {};\nvar QUERY = {};\nvar FRAGMENT = {};\nvar URLState = function URLState(url, isBase, base) {\n var urlString = $toString(url);\n var baseState, failure, searchParams;\n if (isBase) {\n failure = this.parse(urlString);\n if (failure) throw TypeError(failure);\n this.searchParams = null;\n } else {\n if (base !== undefined) baseState = new URLState(base, true);\n failure = this.parse(urlString, null, baseState);\n if (failure) throw TypeError(failure);\n searchParams = getInternalSearchParamsState(new URLSearchParams());\n searchParams.bindURL(this);\n this.searchParams = searchParams;\n }\n};\nURLState.prototype = {\n type: 'URL',\n // https://url.spec.whatwg.org/#url-parsing\n // eslint-disable-next-line max-statements -- TODO\n parse: function parse(input, stateOverride, base) {\n var url = this;\n var state = stateOverride || SCHEME_START;\n var pointer = 0;\n var buffer = '';\n var seenAt = false;\n var seenBracket = false;\n var seenPasswordToken = false;\n var codePoints, chr, bufferCodePoints, failure;\n input = $toString(input);\n if (!stateOverride) {\n url.scheme = '';\n url.username = '';\n url.password = '';\n url.host = null;\n url.port = null;\n url.path = [];\n url.query = null;\n url.fragment = null;\n url.cannotBeABaseURL = false;\n input = replace(input, LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE, '');\n }\n input = replace(input, TAB_AND_NEW_LINE, '');\n codePoints = arrayFrom(input);\n while (pointer <= codePoints.length) {\n chr = codePoints[pointer];\n switch (state) {\n case SCHEME_START:\n if (chr && exec(ALPHA, chr)) {\n buffer += toLowerCase(chr);\n state = SCHEME;\n } else if (!stateOverride) {\n state = NO_SCHEME;\n continue;\n } else return INVALID_SCHEME;\n break;\n case SCHEME:\n if (chr && (exec(ALPHANUMERIC, chr) || chr == '+' || chr == '-' || chr == '.')) {\n buffer += toLowerCase(chr);\n } else if (chr == ':') {\n if (stateOverride && (url.isSpecial() != hasOwn(specialSchemes, buffer) || buffer == 'file' && (url.includesCredentials() || url.port !== null) || url.scheme == 'file' && !url.host)) return;\n url.scheme = buffer;\n if (stateOverride) {\n if (url.isSpecial() && specialSchemes[url.scheme] == url.port) url.port = null;\n return;\n }\n buffer = '';\n if (url.scheme == 'file') {\n state = FILE;\n } else if (url.isSpecial() && base && base.scheme == url.scheme) {\n state = SPECIAL_RELATIVE_OR_AUTHORITY;\n } else if (url.isSpecial()) {\n state = SPECIAL_AUTHORITY_SLASHES;\n } else if (codePoints[pointer + 1] == '/') {\n state = PATH_OR_AUTHORITY;\n pointer++;\n } else {\n url.cannotBeABaseURL = true;\n push(url.path, '');\n state = CANNOT_BE_A_BASE_URL_PATH;\n }\n } else if (!stateOverride) {\n buffer = '';\n state = NO_SCHEME;\n pointer = 0;\n continue;\n } else return INVALID_SCHEME;\n break;\n case NO_SCHEME:\n if (!base || base.cannotBeABaseURL && chr != '#') return INVALID_SCHEME;\n if (base.cannotBeABaseURL && chr == '#') {\n url.scheme = base.scheme;\n url.path = arraySlice(base.path);\n url.query = base.query;\n url.fragment = '';\n url.cannotBeABaseURL = true;\n state = FRAGMENT;\n break;\n }\n state = base.scheme == 'file' ? FILE : RELATIVE;\n continue;\n case SPECIAL_RELATIVE_OR_AUTHORITY:\n if (chr == '/' && codePoints[pointer + 1] == '/') {\n state = SPECIAL_AUTHORITY_IGNORE_SLASHES;\n pointer++;\n } else {\n state = RELATIVE;\n continue;\n }\n break;\n case PATH_OR_AUTHORITY:\n if (chr == '/') {\n state = AUTHORITY;\n break;\n } else {\n state = PATH;\n continue;\n }\n case RELATIVE:\n url.scheme = base.scheme;\n if (chr == EOF) {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = arraySlice(base.path);\n url.query = base.query;\n } else if (chr == '/' || chr == '\\\\' && url.isSpecial()) {\n state = RELATIVE_SLASH;\n } else if (chr == '?') {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = arraySlice(base.path);\n url.query = '';\n state = QUERY;\n } else if (chr == '#') {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = arraySlice(base.path);\n url.query = base.query;\n url.fragment = '';\n state = FRAGMENT;\n } else {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n url.path = arraySlice(base.path);\n url.path.length--;\n state = PATH;\n continue;\n }\n break;\n case RELATIVE_SLASH:\n if (url.isSpecial() && (chr == '/' || chr == '\\\\')) {\n state = SPECIAL_AUTHORITY_IGNORE_SLASHES;\n } else if (chr == '/') {\n state = AUTHORITY;\n } else {\n url.username = base.username;\n url.password = base.password;\n url.host = base.host;\n url.port = base.port;\n state = PATH;\n continue;\n }\n break;\n case SPECIAL_AUTHORITY_SLASHES:\n state = SPECIAL_AUTHORITY_IGNORE_SLASHES;\n if (chr != '/' || charAt(buffer, pointer + 1) != '/') continue;\n pointer++;\n break;\n case SPECIAL_AUTHORITY_IGNORE_SLASHES:\n if (chr != '/' && chr != '\\\\') {\n state = AUTHORITY;\n continue;\n }\n break;\n case AUTHORITY:\n if (chr == '@') {\n if (seenAt) buffer = '%40' + buffer;\n seenAt = true;\n bufferCodePoints = arrayFrom(buffer);\n for (var i = 0; i < bufferCodePoints.length; i++) {\n var codePoint = bufferCodePoints[i];\n if (codePoint == ':' && !seenPasswordToken) {\n seenPasswordToken = true;\n continue;\n }\n var encodedCodePoints = percentEncode(codePoint, userinfoPercentEncodeSet);\n if (seenPasswordToken) url.password += encodedCodePoints;else url.username += encodedCodePoints;\n }\n buffer = '';\n } else if (chr == EOF || chr == '/' || chr == '?' || chr == '#' || chr == '\\\\' && url.isSpecial()) {\n if (seenAt && buffer == '') return INVALID_AUTHORITY;\n pointer -= arrayFrom(buffer).length + 1;\n buffer = '';\n state = HOST;\n } else buffer += chr;\n break;\n case HOST:\n case HOSTNAME:\n if (stateOverride && url.scheme == 'file') {\n state = FILE_HOST;\n continue;\n } else if (chr == ':' && !seenBracket) {\n if (buffer == '') return INVALID_HOST;\n failure = url.parseHost(buffer);\n if (failure) return failure;\n buffer = '';\n state = PORT;\n if (stateOverride == HOSTNAME) return;\n } else if (chr == EOF || chr == '/' || chr == '?' || chr == '#' || chr == '\\\\' && url.isSpecial()) {\n if (url.isSpecial() && buffer == '') return INVALID_HOST;\n if (stateOverride && buffer == '' && (url.includesCredentials() || url.port !== null)) return;\n failure = url.parseHost(buffer);\n if (failure) return failure;\n buffer = '';\n state = PATH_START;\n if (stateOverride) return;\n continue;\n } else {\n if (chr == '[') seenBracket = true;else if (chr == ']') seenBracket = false;\n buffer += chr;\n }\n break;\n case PORT:\n if (exec(DIGIT, chr)) {\n buffer += chr;\n } else if (chr == EOF || chr == '/' || chr == '?' || chr == '#' || chr == '\\\\' && url.isSpecial() || stateOverride) {\n if (buffer != '') {\n var port = parseInt(buffer, 10);\n if (port > 0xFFFF) return INVALID_PORT;\n url.port = url.isSpecial() && port === specialSchemes[url.scheme] ? null : port;\n buffer = '';\n }\n if (stateOverride) return;\n state = PATH_START;\n continue;\n } else return INVALID_PORT;\n break;\n case FILE:\n url.scheme = 'file';\n if (chr == '/' || chr == '\\\\') state = FILE_SLASH;else if (base && base.scheme == 'file') {\n if (chr == EOF) {\n url.host = base.host;\n url.path = arraySlice(base.path);\n url.query = base.query;\n } else if (chr == '?') {\n url.host = base.host;\n url.path = arraySlice(base.path);\n url.query = '';\n state = QUERY;\n } else if (chr == '#') {\n url.host = base.host;\n url.path = arraySlice(base.path);\n url.query = base.query;\n url.fragment = '';\n state = FRAGMENT;\n } else {\n if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {\n url.host = base.host;\n url.path = arraySlice(base.path);\n url.shortenPath();\n }\n state = PATH;\n continue;\n }\n } else {\n state = PATH;\n continue;\n }\n break;\n case FILE_SLASH:\n if (chr == '/' || chr == '\\\\') {\n state = FILE_HOST;\n break;\n }\n if (base && base.scheme == 'file' && !startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) {\n if (isWindowsDriveLetter(base.path[0], true)) push(url.path, base.path[0]);else url.host = base.host;\n }\n state = PATH;\n continue;\n case FILE_HOST:\n if (chr == EOF || chr == '/' || chr == '\\\\' || chr == '?' || chr == '#') {\n if (!stateOverride && isWindowsDriveLetter(buffer)) {\n state = PATH;\n } else if (buffer == '') {\n url.host = '';\n if (stateOverride) return;\n state = PATH_START;\n } else {\n failure = url.parseHost(buffer);\n if (failure) return failure;\n if (url.host == 'localhost') url.host = '';\n if (stateOverride) return;\n buffer = '';\n state = PATH_START;\n }\n continue;\n } else buffer += chr;\n break;\n case PATH_START:\n if (url.isSpecial()) {\n state = PATH;\n if (chr != '/' && chr != '\\\\') continue;\n } else if (!stateOverride && chr == '?') {\n url.query = '';\n state = QUERY;\n } else if (!stateOverride && chr == '#') {\n url.fragment = '';\n state = FRAGMENT;\n } else if (chr != EOF) {\n state = PATH;\n if (chr != '/') continue;\n }\n break;\n case PATH:\n if (chr == EOF || chr == '/' || chr == '\\\\' && url.isSpecial() || !stateOverride && (chr == '?' || chr == '#')) {\n if (isDoubleDot(buffer)) {\n url.shortenPath();\n if (chr != '/' && !(chr == '\\\\' && url.isSpecial())) {\n push(url.path, '');\n }\n } else if (isSingleDot(buffer)) {\n if (chr != '/' && !(chr == '\\\\' && url.isSpecial())) {\n push(url.path, '');\n }\n } else {\n if (url.scheme == 'file' && !url.path.length && isWindowsDriveLetter(buffer)) {\n if (url.host) url.host = '';\n buffer = charAt(buffer, 0) + ':'; // normalize windows drive letter\n }\n push(url.path, buffer);\n }\n buffer = '';\n if (url.scheme == 'file' && (chr == EOF || chr == '?' || chr == '#')) {\n while (url.path.length > 1 && url.path[0] === '') {\n shift(url.path);\n }\n }\n if (chr == '?') {\n url.query = '';\n state = QUERY;\n } else if (chr == '#') {\n url.fragment = '';\n state = FRAGMENT;\n }\n } else {\n buffer += percentEncode(chr, pathPercentEncodeSet);\n }\n break;\n case CANNOT_BE_A_BASE_URL_PATH:\n if (chr == '?') {\n url.query = '';\n state = QUERY;\n } else if (chr == '#') {\n url.fragment = '';\n state = FRAGMENT;\n } else if (chr != EOF) {\n url.path[0] += percentEncode(chr, C0ControlPercentEncodeSet);\n }\n break;\n case QUERY:\n if (!stateOverride && chr == '#') {\n url.fragment = '';\n state = FRAGMENT;\n } else if (chr != EOF) {\n if (chr == \"'\" && url.isSpecial()) url.query += '%27';else if (chr == '#') url.query += '%23';else url.query += percentEncode(chr, C0ControlPercentEncodeSet);\n }\n break;\n case FRAGMENT:\n if (chr != EOF) url.fragment += percentEncode(chr, fragmentPercentEncodeSet);\n break;\n }\n pointer++;\n }\n },\n // https://url.spec.whatwg.org/#host-parsing\n parseHost: function parseHost(input) {\n var result, codePoints, index;\n if (charAt(input, 0) == '[') {\n if (charAt(input, input.length - 1) != ']') return INVALID_HOST;\n result = parseIPv6(stringSlice(input, 1, -1));\n if (!result) return INVALID_HOST;\n this.host = result;\n // opaque host\n } else if (!this.isSpecial()) {\n if (exec(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT, input)) return INVALID_HOST;\n result = '';\n codePoints = arrayFrom(input);\n for (index = 0; index < codePoints.length; index++) {\n result += percentEncode(codePoints[index], C0ControlPercentEncodeSet);\n }\n this.host = result;\n } else {\n input = toASCII(input);\n if (exec(FORBIDDEN_HOST_CODE_POINT, input)) return INVALID_HOST;\n result = parseIPv4(input);\n if (result === null) return INVALID_HOST;\n this.host = result;\n }\n },\n // https://url.spec.whatwg.org/#cannot-have-a-username-password-port\n cannotHaveUsernamePasswordPort: function cannotHaveUsernamePasswordPort() {\n return !this.host || this.cannotBeABaseURL || this.scheme == 'file';\n },\n // https://url.spec.whatwg.org/#include-credentials\n includesCredentials: function includesCredentials() {\n return this.username != '' || this.password != '';\n },\n // https://url.spec.whatwg.org/#is-special\n isSpecial: function isSpecial() {\n return hasOwn(specialSchemes, this.scheme);\n },\n // https://url.spec.whatwg.org/#shorten-a-urls-path\n shortenPath: function shortenPath() {\n var path = this.path;\n var pathSize = path.length;\n if (pathSize && (this.scheme != 'file' || pathSize != 1 || !isWindowsDriveLetter(path[0], true))) {\n path.length--;\n }\n },\n // https://url.spec.whatwg.org/#concept-url-serializer\n serialize: function serialize() {\n var url = this;\n var scheme = url.scheme;\n var username = url.username;\n var password = url.password;\n var host = url.host;\n var port = url.port;\n var path = url.path;\n var query = url.query;\n var fragment = url.fragment;\n var output = scheme + ':';\n if (host !== null) {\n output += '//';\n if (url.includesCredentials()) {\n output += username + (password ? ':' + password : '') + '@';\n }\n output += serializeHost(host);\n if (port !== null) output += ':' + port;\n } else if (scheme == 'file') output += '//';\n output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : '';\n if (query !== null) output += '?' + query;\n if (fragment !== null) output += '#' + fragment;\n return output;\n },\n // https://url.spec.whatwg.org/#dom-url-href\n setHref: function setHref(href) {\n var failure = this.parse(href);\n if (failure) throw TypeError(failure);\n this.searchParams.update();\n },\n // https://url.spec.whatwg.org/#dom-url-origin\n getOrigin: function getOrigin() {\n var scheme = this.scheme;\n var port = this.port;\n if (scheme == 'blob') try {\n return new URLConstructor(scheme.path[0]).origin;\n } catch (error) {\n return 'null';\n }\n if (scheme == 'file' || !this.isSpecial()) return 'null';\n return scheme + '://' + serializeHost(this.host) + (port !== null ? ':' + port : '');\n },\n // https://url.spec.whatwg.org/#dom-url-protocol\n getProtocol: function getProtocol() {\n return this.scheme + ':';\n },\n setProtocol: function setProtocol(protocol) {\n this.parse($toString(protocol) + ':', SCHEME_START);\n },\n // https://url.spec.whatwg.org/#dom-url-username\n getUsername: function getUsername() {\n return this.username;\n },\n setUsername: function setUsername(username) {\n var codePoints = arrayFrom($toString(username));\n if (this.cannotHaveUsernamePasswordPort()) return;\n this.username = '';\n for (var i = 0; i < codePoints.length; i++) {\n this.username += percentEncode(codePoints[i], userinfoPercentEncodeSet);\n }\n },\n // https://url.spec.whatwg.org/#dom-url-password\n getPassword: function getPassword() {\n return this.password;\n },\n setPassword: function setPassword(password) {\n var codePoints = arrayFrom($toString(password));\n if (this.cannotHaveUsernamePasswordPort()) return;\n this.password = '';\n for (var i = 0; i < codePoints.length; i++) {\n this.password += percentEncode(codePoints[i], userinfoPercentEncodeSet);\n }\n },\n // https://url.spec.whatwg.org/#dom-url-host\n getHost: function getHost() {\n var host = this.host;\n var port = this.port;\n return host === null ? '' : port === null ? serializeHost(host) : serializeHost(host) + ':' + port;\n },\n setHost: function setHost(host) {\n if (this.cannotBeABaseURL) return;\n this.parse(host, HOST);\n },\n // https://url.spec.whatwg.org/#dom-url-hostname\n getHostname: function getHostname() {\n var host = this.host;\n return host === null ? '' : serializeHost(host);\n },\n setHostname: function setHostname(hostname) {\n if (this.cannotBeABaseURL) return;\n this.parse(hostname, HOSTNAME);\n },\n // https://url.spec.whatwg.org/#dom-url-port\n getPort: function getPort() {\n var port = this.port;\n return port === null ? '' : $toString(port);\n },\n setPort: function setPort(port) {\n if (this.cannotHaveUsernamePasswordPort()) return;\n port = $toString(port);\n if (port == '') this.port = null;else this.parse(port, PORT);\n },\n // https://url.spec.whatwg.org/#dom-url-pathname\n getPathname: function getPathname() {\n var path = this.path;\n return this.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : '';\n },\n setPathname: function setPathname(pathname) {\n if (this.cannotBeABaseURL) return;\n this.path = [];\n this.parse(pathname, PATH_START);\n },\n // https://url.spec.whatwg.org/#dom-url-search\n getSearch: function getSearch() {\n var query = this.query;\n return query ? '?' + query : '';\n },\n setSearch: function setSearch(search) {\n search = $toString(search);\n if (search == '') {\n this.query = null;\n } else {\n if ('?' == charAt(search, 0)) search = stringSlice(search, 1);\n this.query = '';\n this.parse(search, QUERY);\n }\n this.searchParams.update();\n },\n // https://url.spec.whatwg.org/#dom-url-searchparams\n getSearchParams: function getSearchParams() {\n return this.searchParams.facade;\n },\n // https://url.spec.whatwg.org/#dom-url-hash\n getHash: function getHash() {\n var fragment = this.fragment;\n return fragment ? '#' + fragment : '';\n },\n setHash: function setHash(hash) {\n hash = $toString(hash);\n if (hash == '') {\n this.fragment = null;\n return;\n }\n if ('#' == charAt(hash, 0)) hash = stringSlice(hash, 1);\n this.fragment = '';\n this.parse(hash, FRAGMENT);\n },\n update: function update() {\n this.query = this.searchParams.serialize() || null;\n }\n};\n\n// `URL` constructor\n// https://url.spec.whatwg.org/#url-class\nvar URLConstructor = function URL(url /* , base */) {\n var that = anInstance(this, URLPrototype);\n var base = validateArgumentsLength(arguments.length, 1) > 1 ? arguments[1] : undefined;\n var state = setInternalState(that, new URLState(url, false, base));\n if (!DESCRIPTORS) {\n that.href = state.serialize();\n that.origin = state.getOrigin();\n that.protocol = state.getProtocol();\n that.username = state.getUsername();\n that.password = state.getPassword();\n that.host = state.getHost();\n that.hostname = state.getHostname();\n that.port = state.getPort();\n that.pathname = state.getPathname();\n that.search = state.getSearch();\n that.searchParams = state.getSearchParams();\n that.hash = state.getHash();\n }\n};\nvar URLPrototype = URLConstructor.prototype;\nvar accessorDescriptor = function accessorDescriptor(getter, setter) {\n return {\n get: function get() {\n return getInternalURLState(this)[getter]();\n },\n set: setter && function (value) {\n return getInternalURLState(this)[setter](value);\n },\n configurable: true,\n enumerable: true\n };\n};\nif (DESCRIPTORS) {\n // `URL.prototype.href` accessors pair\n // https://url.spec.whatwg.org/#dom-url-href\n defineBuiltInAccessor(URLPrototype, 'href', accessorDescriptor('serialize', 'setHref'));\n // `URL.prototype.origin` getter\n // https://url.spec.whatwg.org/#dom-url-origin\n defineBuiltInAccessor(URLPrototype, 'origin', accessorDescriptor('getOrigin'));\n // `URL.prototype.protocol` accessors pair\n // https://url.spec.whatwg.org/#dom-url-protocol\n defineBuiltInAccessor(URLPrototype, 'protocol', accessorDescriptor('getProtocol', 'setProtocol'));\n // `URL.prototype.username` accessors pair\n // https://url.spec.whatwg.org/#dom-url-username\n defineBuiltInAccessor(URLPrototype, 'username', accessorDescriptor('getUsername', 'setUsername'));\n // `URL.prototype.password` accessors pair\n // https://url.spec.whatwg.org/#dom-url-password\n defineBuiltInAccessor(URLPrototype, 'password', accessorDescriptor('getPassword', 'setPassword'));\n // `URL.prototype.host` accessors pair\n // https://url.spec.whatwg.org/#dom-url-host\n defineBuiltInAccessor(URLPrototype, 'host', accessorDescriptor('getHost', 'setHost'));\n // `URL.prototype.hostname` accessors pair\n // https://url.spec.whatwg.org/#dom-url-hostname\n defineBuiltInAccessor(URLPrototype, 'hostname', accessorDescriptor('getHostname', 'setHostname'));\n // `URL.prototype.port` accessors pair\n // https://url.spec.whatwg.org/#dom-url-port\n defineBuiltInAccessor(URLPrototype, 'port', accessorDescriptor('getPort', 'setPort'));\n // `URL.prototype.pathname` accessors pair\n // https://url.spec.whatwg.org/#dom-url-pathname\n defineBuiltInAccessor(URLPrototype, 'pathname', accessorDescriptor('getPathname', 'setPathname'));\n // `URL.prototype.search` accessors pair\n // https://url.spec.whatwg.org/#dom-url-search\n defineBuiltInAccessor(URLPrototype, 'search', accessorDescriptor('getSearch', 'setSearch'));\n // `URL.prototype.searchParams` getter\n // https://url.spec.whatwg.org/#dom-url-searchparams\n defineBuiltInAccessor(URLPrototype, 'searchParams', accessorDescriptor('getSearchParams'));\n // `URL.prototype.hash` accessors pair\n // https://url.spec.whatwg.org/#dom-url-hash\n defineBuiltInAccessor(URLPrototype, 'hash', accessorDescriptor('getHash', 'setHash'));\n}\n\n// `URL.prototype.toJSON` method\n// https://url.spec.whatwg.org/#dom-url-tojson\ndefineBuiltIn(URLPrototype, 'toJSON', function toJSON() {\n return getInternalURLState(this).serialize();\n}, {\n enumerable: true\n});\n\n// `URL.prototype.toString` method\n// https://url.spec.whatwg.org/#URL-stringification-behavior\ndefineBuiltIn(URLPrototype, 'toString', function toString() {\n return getInternalURLState(this).serialize();\n}, {\n enumerable: true\n});\nif (NativeURL) {\n var nativeCreateObjectURL = NativeURL.createObjectURL;\n var nativeRevokeObjectURL = NativeURL.revokeObjectURL;\n // `URL.createObjectURL` method\n // https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL\n if (nativeCreateObjectURL) defineBuiltIn(URLConstructor, 'createObjectURL', bind(nativeCreateObjectURL, NativeURL));\n // `URL.revokeObjectURL` method\n // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL\n if (nativeRevokeObjectURL) defineBuiltIn(URLConstructor, 'revokeObjectURL', bind(nativeRevokeObjectURL, NativeURL));\n}\nsetToStringTag(URLConstructor, 'URL');\n$({\n global: true,\n constructor: true,\n forced: !USE_NATIVE_URL,\n sham: !DESCRIPTORS\n}, {\n URL: URLConstructor\n});", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = function (exports) {\n \"use strict\";\n\n var Op = Object.prototype;\n var hasOwn = Op.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n function define(obj, key, value) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n return obj[key];\n }\n try {\n // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n define({}, \"\");\n } catch (err) {\n define = function define(obj, key, value) {\n return obj[key] = value;\n };\n }\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n var generator = Object.create(protoGenerator.prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n return generator;\n }\n exports.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return {\n type: \"normal\",\n arg: fn.call(obj, arg)\n };\n } catch (err) {\n return {\n type: \"throw\",\n arg: err\n };\n }\n }\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n // This is a polyfill for %IteratorPrototype% for environments that\n // don't natively support it.\n var IteratorPrototype = {};\n define(IteratorPrototype, iteratorSymbol, function () {\n return this;\n });\n var getProto = Object.getPrototypeOf;\n var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n if (NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n // This environment has a native %IteratorPrototype%; use it instead\n // of the polyfill.\n IteratorPrototype = NativeIteratorPrototype;\n }\n var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);\n GeneratorFunction.prototype = GeneratorFunctionPrototype;\n define(Gp, \"constructor\", GeneratorFunctionPrototype);\n define(GeneratorFunctionPrototype, \"constructor\", GeneratorFunction);\n GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, \"GeneratorFunction\");\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function (method) {\n define(prototype, method, function (arg) {\n return this._invoke(method, arg);\n });\n });\n }\n exports.isGeneratorFunction = function (genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\" : false;\n };\n exports.mark = function (genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n define(genFun, toStringTagSymbol, \"GeneratorFunction\");\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n // meant to be awaited.\n exports.awrap = function (arg) {\n return {\n __await: arg\n };\n };\n function AsyncIterator(generator, PromiseImpl) {\n function invoke(method, arg, resolve, reject) {\n var record = tryCatch(generator[method], generator, arg);\n if (record.type === \"throw\") {\n reject(record.arg);\n } else {\n var result = record.arg;\n var value = result.value;\n if (value && _typeof(value) === \"object\" && hasOwn.call(value, \"__await\")) {\n return PromiseImpl.resolve(value.__await).then(function (value) {\n invoke(\"next\", value, resolve, reject);\n }, function (err) {\n invoke(\"throw\", err, resolve, reject);\n });\n }\n return PromiseImpl.resolve(value).then(function (unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration.\n result.value = unwrapped;\n resolve(result);\n }, function (error) {\n // If a rejected Promise was yielded, throw the rejection back\n // into the async generator function so it can be handled there.\n return invoke(\"throw\", error, resolve, reject);\n });\n }\n }\n var previousPromise;\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return new PromiseImpl(function (resolve, reject) {\n invoke(method, arg, resolve, reject);\n });\n }\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n defineIteratorMethods(AsyncIterator.prototype);\n define(AsyncIterator.prototype, asyncIteratorSymbol, function () {\n return this;\n });\n exports.AsyncIterator = AsyncIterator;\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n if (PromiseImpl === void 0) PromiseImpl = Promise;\n var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);\n return exports.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function (result) {\n return result.done ? result.value : iter.next();\n });\n };\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n context.method = method;\n context.arg = arg;\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n var delegateResult = maybeInvokeDelegate(delegate, context);\n if (delegateResult) {\n if (delegateResult === ContinueSentinel) continue;\n return delegateResult;\n }\n }\n if (context.method === \"next\") {\n // Setting context._sent for legacy support of Babel's\n // function.sent implementation.\n context.sent = context._sent = context.arg;\n } else if (context.method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw context.arg;\n }\n context.dispatchException(context.arg);\n } else if (context.method === \"return\") {\n context.abrupt(\"return\", context.arg);\n }\n state = GenStateExecuting;\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done ? GenStateCompleted : GenStateSuspendedYield;\n if (record.arg === ContinueSentinel) {\n continue;\n }\n return {\n value: record.arg,\n done: context.done\n };\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(context.arg) call above.\n context.method = \"throw\";\n context.arg = record.arg;\n }\n }\n };\n }\n\n // Call delegate.iterator[context.method](context.arg) and handle the\n // result, either by returning a { value, done } result from the\n // delegate iterator, or by modifying context.method and context.arg,\n // setting context.delegate to null, and returning the ContinueSentinel.\n function maybeInvokeDelegate(delegate, context) {\n var method = delegate.iterator[context.method];\n if (method === undefined) {\n // A .throw or .return when the delegate iterator has no .throw\n // method always terminates the yield* loop.\n context.delegate = null;\n if (context.method === \"throw\") {\n // Note: [\"return\"] must be used for ES3 parsing compatibility.\n if (delegate.iterator[\"return\"]) {\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n context.method = \"return\";\n context.arg = undefined;\n maybeInvokeDelegate(delegate, context);\n if (context.method === \"throw\") {\n // If maybeInvokeDelegate(context) changed context.method from\n // \"return\" to \"throw\", let that override the TypeError below.\n return ContinueSentinel;\n }\n }\n context.method = \"throw\";\n context.arg = new TypeError(\"The iterator does not provide a 'throw' method\");\n }\n return ContinueSentinel;\n }\n var record = tryCatch(method, delegate.iterator, context.arg);\n if (record.type === \"throw\") {\n context.method = \"throw\";\n context.arg = record.arg;\n context.delegate = null;\n return ContinueSentinel;\n }\n var info = record.arg;\n if (!info) {\n context.method = \"throw\";\n context.arg = new TypeError(\"iterator result is not an object\");\n context.delegate = null;\n return ContinueSentinel;\n }\n if (info.done) {\n // Assign the result of the finished delegate to the temporary\n // variable specified by delegate.resultName (see delegateYield).\n context[delegate.resultName] = info.value;\n\n // Resume execution at the desired location (see delegateYield).\n context.next = delegate.nextLoc;\n\n // If context.method was \"throw\" but the delegate handled the\n // exception, let the outer generator proceed normally. If\n // context.method was \"next\", forget context.arg since it has been\n // \"consumed\" by the delegate iterator. If context.method was\n // \"return\", allow the original .return call to continue in the\n // outer generator.\n if (context.method !== \"return\") {\n context.method = \"next\";\n context.arg = undefined;\n }\n } else {\n // Re-yield the result returned by the delegate method.\n return info;\n }\n\n // The delegate iterator is finished, so forget it and continue with\n // the outer generator.\n context.delegate = null;\n return ContinueSentinel;\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n define(Gp, toStringTagSymbol, \"Generator\");\n\n // A Generator should always return itself as the iterator object when the\n // @@iterator function is called on it. Some browsers' implementations of the\n // iterator prototype chain incorrectly implement this, causing the Generator\n // object to not be returned from this call. This ensures that doesn't happen.\n // See https://github.com/facebook/regenerator/issues/274 for more details.\n define(Gp, iteratorSymbol, function () {\n return this;\n });\n define(Gp, \"toString\", function () {\n return \"[object Generator]\";\n });\n function pushTryEntry(locs) {\n var entry = {\n tryLoc: locs[0]\n };\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n this.tryEntries.push(entry);\n }\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{\n tryLoc: \"root\"\n }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n exports.keys = function (object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n if (!isNaN(iterable.length)) {\n var i = -1,\n next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n next.value = undefined;\n next.done = true;\n return next;\n };\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return {\n next: doneResult\n };\n }\n exports.values = values;\n function doneResult() {\n return {\n value: undefined,\n done: true\n };\n }\n Context.prototype = {\n constructor: Context,\n reset: function reset(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n // Resetting context._sent for legacy support of Babel's\n // function.sent implementation.\n this.sent = this._sent = undefined;\n this.done = false;\n this.delegate = null;\n this.method = \"next\";\n this.arg = undefined;\n this.tryEntries.forEach(resetTryEntry);\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" && hasOwn.call(this, name) && !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n stop: function stop() {\n this.done = true;\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n return this.rval;\n },\n dispatchException: function dispatchException(exception) {\n if (this.done) {\n throw exception;\n }\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n if (caught) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n context.method = \"next\";\n context.arg = undefined;\n }\n return !!caught;\n }\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n abrupt: function abrupt(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev && hasOwn.call(entry, \"finallyLoc\") && this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n if (finallyEntry && (type === \"break\" || type === \"continue\") && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n if (finallyEntry) {\n this.method = \"next\";\n this.next = finallyEntry.finallyLoc;\n return ContinueSentinel;\n }\n return this.complete(record);\n },\n complete: function complete(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n if (record.type === \"break\" || record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = this.arg = record.arg;\n this.method = \"return\";\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n return ContinueSentinel;\n },\n finish: function finish(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n \"catch\": function _catch(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n delegateYield: function delegateYield(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n if (this.method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n this.arg = undefined;\n }\n return ContinueSentinel;\n }\n };\n\n // Regardless of whether this script is executing as a CommonJS module\n // or not, return the runtime object so that we can declare the variable\n // regeneratorRuntime in the outer scope, which allows this module to be\n // injected easily by `bin/regenerator --include-runtime script.js`.\n return exports;\n}(\n// If this script is executing as a CommonJS module, use module.exports\n// as the regeneratorRuntime namespace. Otherwise create a new empty\n// object. Either way, the resulting object will be used to initialize\n// the regeneratorRuntime variable at the top of this file.\n(typeof module === \"undefined\" ? \"undefined\" : _typeof(module)) === \"object\" ? module.exports : {});\ntry {\n regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n // This module should not be running in strict mode, so the above\n // assignment should always work unless something is misconfigured. Just\n // in case runtime.js accidentally runs in strict mode, in modern engines\n // we can explicitly access globalThis. In older engines we can escape\n // strict mode using a global Function call. This could conceivably fail\n // if a Content Security Policy forbids using Function, but in that case\n // the proper solution is to fix the accidental strict mode problem. If\n // you've misconfigured your bundler to force strict mode and applied a\n // CSP to forbid Function, and you're not willing to fix either of those\n // problems, please detail your unique predicament in a GitHub issue.\n if ((typeof globalThis === \"undefined\" ? \"undefined\" : _typeof(globalThis)) === \"object\") {\n globalThis.regeneratorRuntime = runtime;\n } else {\n Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n }\n}", "/**\n* Create an event emitter with namespaces\n* @name createNamespaceEmitter\n* @example\n* var emitter = require('./index')()\n*\n* emitter.on('*', function () {\n* console.log('all events emitted', this.event)\n* })\n*\n* emitter.on('example', function () {\n* console.log('example event emitted')\n* })\n*/\nmodule.exports = function createNamespaceEmitter() {\n var emitter = {};\n var _fns = emitter._fns = {};\n\n /**\n * Emit an event. Optionally namespace the event. Handlers are fired in the order in which they were added with exact matches taking precedence. Separate the namespace and event with a `:`\n * @name emit\n * @param {String} event \u2013 the name of the event, with optional namespace\n * @param {...*} data \u2013 up to 6 arguments that are passed to the event listener\n * @example\n * emitter.emit('example')\n * emitter.emit('demo:test')\n * emitter.emit('data', { example: true}, 'a string', 1)\n */\n emitter.emit = function emit(event, arg1, arg2, arg3, arg4, arg5, arg6) {\n var toEmit = getListeners(event);\n if (toEmit.length) {\n emitAll(event, toEmit, [arg1, arg2, arg3, arg4, arg5, arg6]);\n }\n };\n\n /**\n * Create en event listener.\n * @name on\n * @param {String} event\n * @param {Function} fn\n * @example\n * emitter.on('example', function () {})\n * emitter.on('demo', function () {})\n */\n emitter.on = function on(event, fn) {\n if (!_fns[event]) {\n _fns[event] = [];\n }\n _fns[event].push(fn);\n };\n\n /**\n * Create en event listener that fires once.\n * @name once\n * @param {String} event\n * @param {Function} fn\n * @example\n * emitter.once('example', function () {})\n * emitter.once('demo', function () {})\n */\n emitter.once = function once(event, fn) {\n function one() {\n fn.apply(this, arguments);\n emitter.off(event, one);\n }\n this.on(event, one);\n };\n\n /**\n * Stop listening to an event. Stop all listeners on an event by only passing the event name. Stop a single listener by passing that event handler as a callback.\n * You must be explicit about what will be unsubscribed: `emitter.off('demo')` will unsubscribe an `emitter.on('demo')` listener,\n * `emitter.off('demo:example')` will unsubscribe an `emitter.on('demo:example')` listener\n * @name off\n * @param {String} event\n * @param {Function} [fn] \u2013 the specific handler\n * @example\n * emitter.off('example')\n * emitter.off('demo', function () {})\n */\n emitter.off = function off(event, fn) {\n var keep = [];\n if (event && fn) {\n var fns = this._fns[event];\n var i = 0;\n var l = fns ? fns.length : 0;\n for (i; i < l; i++) {\n if (fns[i] !== fn) {\n keep.push(fns[i]);\n }\n }\n }\n keep.length ? this._fns[event] = keep : delete this._fns[event];\n };\n function getListeners(e) {\n var out = _fns[e] ? _fns[e] : [];\n var idx = e.indexOf(':');\n var args = idx === -1 ? [e] : [e.substring(0, idx), e.substring(idx + 1)];\n var keys = Object.keys(_fns);\n var i = 0;\n var l = keys.length;\n for (i; i < l; i++) {\n var key = keys[i];\n if (key === '*') {\n out = out.concat(_fns[key]);\n }\n if (args.length === 2 && args[0] === key) {\n out = out.concat(_fns[key]);\n break;\n }\n }\n return out;\n }\n function emitAll(e, fns, args) {\n var i = 0;\n var l = fns.length;\n for (i; i < l; i++) {\n if (!fns[i]) break;\n fns[i].event = e;\n fns[i].apply(fns[i], args);\n }\n }\n return emitter;\n};", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = _typeof(value);\n return value != null && (type == 'object' || type == 'function');\n}\nmodule.exports = isObject;", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = (typeof global === \"undefined\" ? \"undefined\" : _typeof(global)) == 'object' && global && global.Object === Object && global;\nmodule.exports = freeGlobal;", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = (typeof self === \"undefined\" ? \"undefined\" : _typeof(self)) == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\nmodule.exports = root;", "var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function now() {\n return root.Date.now();\n};\nmodule.exports = now;", "/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\nmodule.exports = trimmedEndIndex;", "var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '') : string;\n}\nmodule.exports = baseTrim;", "var root = require('./_root');\n\n/** Built-in value references. */\nvar _Symbol = root.Symbol;\nmodule.exports = _Symbol;", "var _Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\nmodule.exports = getRawTag;", "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\nmodule.exports = objectToString;", "var _Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = _Symbol ? _Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);\n}\nmodule.exports = baseGetTag;", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && _typeof(value) == 'object';\n}\nmodule.exports = isObjectLike;", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return _typeof(value) == 'symbol' || isObjectLike(value) && baseGetTag(value) == symbolTag;\n}\nmodule.exports = isSymbol;", "var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? other + '' : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;\n}\nmodule.exports = toNumber;", "var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting;\n }\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return lastCallTime === undefined || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;\n }\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\nmodule.exports = debounce;", "var debounce = require('./debounce'),\n isObject = require('./isObject');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a throttled function that only invokes `func` at most once per\n * every `wait` milliseconds. The throttled function comes with a `cancel`\n * method to cancel delayed `func` invocations and a `flush` method to\n * immediately invoke them. Provide `options` to indicate whether `func`\n * should be invoked on the leading and/or trailing edge of the `wait`\n * timeout. The `func` is invoked with the last arguments provided to the\n * throttled function. Subsequent calls to the throttled function return the\n * result of the last `func` invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the throttled function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.throttle` and `_.debounce`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to throttle.\n * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=true]\n * Specify invoking on the leading edge of the timeout.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new throttled function.\n * @example\n *\n * // Avoid excessively updating the position while scrolling.\n * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n *\n * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n * jQuery(element).on('click', throttled);\n *\n * // Cancel the trailing throttled invocation.\n * jQuery(window).on('popstate', throttled.cancel);\n */\nfunction throttle(func, wait, options) {\n var leading = true,\n trailing = true;\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n if (isObject(options)) {\n leading = 'leading' in options ? !!options.leading : leading;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n return debounce(func, wait, {\n 'leading': leading,\n 'maxWait': wait,\n 'trailing': trailing\n });\n}\nmodule.exports = throttle;", "\"use strict\";\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nmodule.exports = function prettierBytes(num) {\n if (typeof num !== 'number' || Number.isNaN(num)) {\n throw new TypeError(\"Expected a number, got \".concat(_typeof(num)));\n }\n var neg = num < 0;\n var units = ['B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];\n if (neg) {\n num = -num;\n }\n if (num < 1) {\n return \"\".concat((neg ? '-' : '') + num, \" B\");\n }\n var exponent = Math.min(Math.floor(Math.log(num) / Math.log(1024)), units.length - 1);\n num = Number(num / Math.pow(1024, exponent));\n var unit = units[exponent];\n if (num >= 10 || num % 1 === 0) {\n return \"\".concat((neg ? '-' : '') + num.toFixed(0), \" \").concat(unit);\n }\n return \"\".concat((neg ? '-' : '') + num.toFixed(1), \" \").concat(unit);\n};", "/* jshint node: true */\n'use strict';\n\n/**\n # wildcard\n\n Very simple wildcard matching, which is designed to provide the same\n functionality that is found in the\n [eve](https://github.com/adobe-webplatform/eve) eventing library.\n\n ## Usage\n\n It works with strings:\n\n <<< examples/strings.js\n\n Arrays:\n\n <<< examples/arrays.js\n\n Objects (matching against keys):\n\n <<< examples/objects.js\n\n While the library works in Node, if you are are looking for file-based\n wildcard matching then you should have a look at:\n\n \n**/\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction WildcardMatcher(text, separator) {\n this.text = text = text || '';\n this.hasWild = ~text.indexOf('*');\n this.separator = separator;\n this.parts = text.split(separator);\n}\nWildcardMatcher.prototype.match = function (input) {\n var matches = true;\n var parts = this.parts;\n var ii;\n var partsCount = parts.length;\n var testParts;\n if (typeof input == 'string' || input instanceof String) {\n if (!this.hasWild && this.text != input) {\n matches = false;\n } else {\n testParts = (input || '').split(this.separator);\n for (ii = 0; matches && ii < partsCount; ii++) {\n if (parts[ii] === '*') {\n continue;\n } else if (ii < testParts.length) {\n matches = parts[ii] === testParts[ii];\n } else {\n matches = false;\n }\n }\n\n // If matches, then return the component parts\n matches = matches && testParts;\n }\n } else if (typeof input.splice == 'function') {\n matches = [];\n for (ii = input.length; ii--;) {\n if (this.match(input[ii])) {\n matches[matches.length] = input[ii];\n }\n }\n } else if (_typeof(input) == 'object') {\n matches = {};\n for (var key in input) {\n if (this.match(key)) {\n matches[key] = input[key];\n }\n }\n }\n return matches;\n};\nmodule.exports = function (text, test, separator) {\n var matcher = new WildcardMatcher(text, separator || /[\\/\\.]/);\n if (typeof test != 'undefined') {\n return matcher.match(test);\n }\n return matcher;\n};", "var wildcard = require('wildcard');\nvar reMimePartSplit = /[\\/\\+\\.]/;\n\n/**\n # mime-match\n\n A simple function to checker whether a target mime type matches a mime-type\n pattern (e.g. image/jpeg matches image/jpeg OR image/*).\n\n ## Example Usage\n\n <<< example.js\n\n**/\nmodule.exports = function (target, pattern) {\n function test(pattern) {\n var result = wildcard(pattern, target, reMimePartSplit);\n\n // ensure that we have a valid mime type (should have two parts)\n return result && result.length >= 2;\n }\n return pattern ? test(pattern.split(';')[0]) : test;\n};", "function RetryOperation(timeouts, options) {\n // Compatibility for the old (timeouts, retryForever) signature\n if (typeof options === 'boolean') {\n options = {\n forever: options\n };\n }\n this._originalTimeouts = JSON.parse(JSON.stringify(timeouts));\n this._timeouts = timeouts;\n this._options = options || {};\n this._maxRetryTime = options && options.maxRetryTime || Infinity;\n this._fn = null;\n this._errors = [];\n this._attempts = 1;\n this._operationTimeout = null;\n this._operationTimeoutCb = null;\n this._timeout = null;\n this._operationStart = null;\n this._timer = null;\n if (this._options.forever) {\n this._cachedTimeouts = this._timeouts.slice(0);\n }\n}\nmodule.exports = RetryOperation;\nRetryOperation.prototype.reset = function () {\n this._attempts = 1;\n this._timeouts = this._originalTimeouts.slice(0);\n};\nRetryOperation.prototype.stop = function () {\n if (this._timeout) {\n clearTimeout(this._timeout);\n }\n if (this._timer) {\n clearTimeout(this._timer);\n }\n this._timeouts = [];\n this._cachedTimeouts = null;\n};\nRetryOperation.prototype.retry = function (err) {\n if (this._timeout) {\n clearTimeout(this._timeout);\n }\n if (!err) {\n return false;\n }\n var currentTime = new Date().getTime();\n if (err && currentTime - this._operationStart >= this._maxRetryTime) {\n this._errors.push(err);\n this._errors.unshift(new Error('RetryOperation timeout occurred'));\n return false;\n }\n this._errors.push(err);\n var timeout = this._timeouts.shift();\n if (timeout === undefined) {\n if (this._cachedTimeouts) {\n // retry forever, only keep last error\n this._errors.splice(0, this._errors.length - 1);\n timeout = this._cachedTimeouts.slice(-1);\n } else {\n return false;\n }\n }\n var self = this;\n this._timer = setTimeout(function () {\n self._attempts++;\n if (self._operationTimeoutCb) {\n self._timeout = setTimeout(function () {\n self._operationTimeoutCb(self._attempts);\n }, self._operationTimeout);\n if (self._options.unref) {\n self._timeout.unref();\n }\n }\n self._fn(self._attempts);\n }, timeout);\n if (this._options.unref) {\n this._timer.unref();\n }\n return true;\n};\nRetryOperation.prototype.attempt = function (fn, timeoutOps) {\n this._fn = fn;\n if (timeoutOps) {\n if (timeoutOps.timeout) {\n this._operationTimeout = timeoutOps.timeout;\n }\n if (timeoutOps.cb) {\n this._operationTimeoutCb = timeoutOps.cb;\n }\n }\n var self = this;\n if (this._operationTimeoutCb) {\n this._timeout = setTimeout(function () {\n self._operationTimeoutCb();\n }, self._operationTimeout);\n }\n this._operationStart = new Date().getTime();\n this._fn(this._attempts);\n};\nRetryOperation.prototype.try = function (fn) {\n console.log('Using RetryOperation.try() is deprecated');\n this.attempt(fn);\n};\nRetryOperation.prototype.start = function (fn) {\n console.log('Using RetryOperation.start() is deprecated');\n this.attempt(fn);\n};\nRetryOperation.prototype.start = RetryOperation.prototype.try;\nRetryOperation.prototype.errors = function () {\n return this._errors;\n};\nRetryOperation.prototype.attempts = function () {\n return this._attempts;\n};\nRetryOperation.prototype.mainError = function () {\n if (this._errors.length === 0) {\n return null;\n }\n var counts = {};\n var mainError = null;\n var mainErrorCount = 0;\n for (var i = 0; i < this._errors.length; i++) {\n var error = this._errors[i];\n var message = error.message;\n var count = (counts[message] || 0) + 1;\n counts[message] = count;\n if (count >= mainErrorCount) {\n mainError = error;\n mainErrorCount = count;\n }\n }\n return mainError;\n};", "var RetryOperation = require('./retry_operation');\nexports.operation = function (options) {\n var timeouts = exports.timeouts(options);\n return new RetryOperation(timeouts, {\n forever: options && (options.forever || options.retries === Infinity),\n unref: options && options.unref,\n maxRetryTime: options && options.maxRetryTime\n });\n};\nexports.timeouts = function (options) {\n if (options instanceof Array) {\n return [].concat(options);\n }\n var opts = {\n retries: 10,\n factor: 2,\n minTimeout: 1 * 1000,\n maxTimeout: Infinity,\n randomize: false\n };\n for (var key in options) {\n opts[key] = options[key];\n }\n if (opts.minTimeout > opts.maxTimeout) {\n throw new Error('minTimeout is greater than maxTimeout');\n }\n var timeouts = [];\n for (var i = 0; i < opts.retries; i++) {\n timeouts.push(this.createTimeout(i, opts));\n }\n if (options && options.forever && !timeouts.length) {\n timeouts.push(this.createTimeout(i, opts));\n }\n\n // sort the array numerically ascending\n timeouts.sort(function (a, b) {\n return a - b;\n });\n return timeouts;\n};\nexports.createTimeout = function (attempt, opts) {\n var random = opts.randomize ? Math.random() + 1 : 1;\n var timeout = Math.round(random * Math.max(opts.minTimeout, 1) * Math.pow(opts.factor, attempt));\n timeout = Math.min(timeout, opts.maxTimeout);\n return timeout;\n};\nexports.wrap = function (obj, options, methods) {\n if (options instanceof Array) {\n methods = options;\n options = null;\n }\n if (!methods) {\n methods = [];\n for (var key in obj) {\n if (typeof obj[key] === 'function') {\n methods.push(key);\n }\n }\n }\n for (var i = 0; i < methods.length; i++) {\n var method = methods[i];\n var original = obj[method];\n obj[method] = function retryWrapper(original) {\n var op = exports.operation(options);\n var args = Array.prototype.slice.call(arguments, 1);\n var callback = args.pop();\n args.push(function (err) {\n if (op.retry(err)) {\n return;\n }\n if (err) {\n arguments[0] = op.mainError();\n }\n callback.apply(this, arguments);\n });\n op.attempt(function () {\n original.apply(obj, args);\n });\n }.bind(obj, original);\n obj[method].options = options;\n }\n};", "module.exports = require('./lib/retry');", "'use strict';\n\nvar has = Object.prototype.hasOwnProperty,\n prefix = '~';\n\n/**\n * Constructor to create a storage for our `EE` objects.\n * An `Events` instance is a plain object whose properties are event names.\n *\n * @constructor\n * @private\n */\nfunction Events() {}\n\n//\n// We try to not inherit from `Object.prototype`. In some engines creating an\n// instance in this way is faster than calling `Object.create(null)` directly.\n// If `Object.create(null)` is not supported we prefix the event names with a\n// character to make sure that the built-in object properties are not\n// overridden or used as an attack vector.\n//\nif (Object.create) {\n Events.prototype = Object.create(null);\n\n //\n // This hack is needed because the `__proto__` property is still inherited in\n // some old browsers like Android 4, iPhone 5.1, Opera 11 and Safari 5.\n //\n if (!new Events().__proto__) prefix = false;\n}\n\n/**\n * Representation of a single event listener.\n *\n * @param {Function} fn The listener function.\n * @param {*} context The context to invoke the listener with.\n * @param {Boolean} [once=false] Specify if the listener is a one-time listener.\n * @constructor\n * @private\n */\nfunction EE(fn, context, once) {\n this.fn = fn;\n this.context = context;\n this.once = once || false;\n}\n\n/**\n * Add a listener for a given event.\n *\n * @param {EventEmitter} emitter Reference to the `EventEmitter` instance.\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn The listener function.\n * @param {*} context The context to invoke the listener with.\n * @param {Boolean} once Specify if the listener is a one-time listener.\n * @returns {EventEmitter}\n * @private\n */\nfunction addListener(emitter, event, fn, context, once) {\n if (typeof fn !== 'function') {\n throw new TypeError('The listener must be a function');\n }\n var listener = new EE(fn, context || emitter, once),\n evt = prefix ? prefix + event : event;\n if (!emitter._events[evt]) emitter._events[evt] = listener, emitter._eventsCount++;else if (!emitter._events[evt].fn) emitter._events[evt].push(listener);else emitter._events[evt] = [emitter._events[evt], listener];\n return emitter;\n}\n\n/**\n * Clear event by name.\n *\n * @param {EventEmitter} emitter Reference to the `EventEmitter` instance.\n * @param {(String|Symbol)} evt The Event name.\n * @private\n */\nfunction clearEvent(emitter, evt) {\n if (--emitter._eventsCount === 0) emitter._events = new Events();else delete emitter._events[evt];\n}\n\n/**\n * Minimal `EventEmitter` interface that is molded against the Node.js\n * `EventEmitter` interface.\n *\n * @constructor\n * @public\n */\nfunction EventEmitter() {\n this._events = new Events();\n this._eventsCount = 0;\n}\n\n/**\n * Return an array listing the events for which the emitter has registered\n * listeners.\n *\n * @returns {Array}\n * @public\n */\nEventEmitter.prototype.eventNames = function eventNames() {\n var names = [],\n events,\n name;\n if (this._eventsCount === 0) return names;\n for (name in events = this._events) {\n if (has.call(events, name)) names.push(prefix ? name.slice(1) : name);\n }\n if (Object.getOwnPropertySymbols) {\n return names.concat(Object.getOwnPropertySymbols(events));\n }\n return names;\n};\n\n/**\n * Return the listeners registered for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @returns {Array} The registered listeners.\n * @public\n */\nEventEmitter.prototype.listeners = function listeners(event) {\n var evt = prefix ? prefix + event : event,\n handlers = this._events[evt];\n if (!handlers) return [];\n if (handlers.fn) return [handlers.fn];\n for (var i = 0, l = handlers.length, ee = new Array(l); i < l; i++) {\n ee[i] = handlers[i].fn;\n }\n return ee;\n};\n\n/**\n * Return the number of listeners listening to a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @returns {Number} The number of listeners.\n * @public\n */\nEventEmitter.prototype.listenerCount = function listenerCount(event) {\n var evt = prefix ? prefix + event : event,\n listeners = this._events[evt];\n if (!listeners) return 0;\n if (listeners.fn) return 1;\n return listeners.length;\n};\n\n/**\n * Calls each of the listeners registered for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @returns {Boolean} `true` if the event had listeners, else `false`.\n * @public\n */\nEventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {\n var evt = prefix ? prefix + event : event;\n if (!this._events[evt]) return false;\n var listeners = this._events[evt],\n len = arguments.length,\n args,\n i;\n if (listeners.fn) {\n if (listeners.once) this.removeListener(event, listeners.fn, undefined, true);\n switch (len) {\n case 1:\n return listeners.fn.call(listeners.context), true;\n case 2:\n return listeners.fn.call(listeners.context, a1), true;\n case 3:\n return listeners.fn.call(listeners.context, a1, a2), true;\n case 4:\n return listeners.fn.call(listeners.context, a1, a2, a3), true;\n case 5:\n return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;\n case 6:\n return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;\n }\n for (i = 1, args = new Array(len - 1); i < len; i++) {\n args[i - 1] = arguments[i];\n }\n listeners.fn.apply(listeners.context, args);\n } else {\n var length = listeners.length,\n j;\n for (i = 0; i < length; i++) {\n if (listeners[i].once) this.removeListener(event, listeners[i].fn, undefined, true);\n switch (len) {\n case 1:\n listeners[i].fn.call(listeners[i].context);\n break;\n case 2:\n listeners[i].fn.call(listeners[i].context, a1);\n break;\n case 3:\n listeners[i].fn.call(listeners[i].context, a1, a2);\n break;\n case 4:\n listeners[i].fn.call(listeners[i].context, a1, a2, a3);\n break;\n default:\n if (!args) for (j = 1, args = new Array(len - 1); j < len; j++) {\n args[j - 1] = arguments[j];\n }\n listeners[i].fn.apply(listeners[i].context, args);\n }\n }\n }\n return true;\n};\n\n/**\n * Add a listener for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn The listener function.\n * @param {*} [context=this] The context to invoke the listener with.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.on = function on(event, fn, context) {\n return addListener(this, event, fn, context, false);\n};\n\n/**\n * Add a one-time listener for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn The listener function.\n * @param {*} [context=this] The context to invoke the listener with.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.once = function once(event, fn, context) {\n return addListener(this, event, fn, context, true);\n};\n\n/**\n * Remove the listeners of a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn Only remove the listeners that match this function.\n * @param {*} context Only remove the listeners that have this context.\n * @param {Boolean} once Only remove one-time listeners.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.removeListener = function removeListener(event, fn, context, once) {\n var evt = prefix ? prefix + event : event;\n if (!this._events[evt]) return this;\n if (!fn) {\n clearEvent(this, evt);\n return this;\n }\n var listeners = this._events[evt];\n if (listeners.fn) {\n if (listeners.fn === fn && (!once || listeners.once) && (!context || listeners.context === context)) {\n clearEvent(this, evt);\n }\n } else {\n for (var i = 0, events = [], length = listeners.length; i < length; i++) {\n if (listeners[i].fn !== fn || once && !listeners[i].once || context && listeners[i].context !== context) {\n events.push(listeners[i]);\n }\n }\n\n //\n // Reset the array, or remove it completely if we have no more listeners.\n //\n if (events.length) this._events[evt] = events.length === 1 ? events[0] : events;else clearEvent(this, evt);\n }\n return this;\n};\n\n/**\n * Remove all listeners, or those of the specified event.\n *\n * @param {(String|Symbol)} [event] The event name.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.removeAllListeners = function removeAllListeners(event) {\n var evt;\n if (event) {\n evt = prefix ? prefix + event : event;\n if (this._events[evt]) clearEvent(this, evt);\n } else {\n this._events = new Events();\n this._eventsCount = 0;\n }\n return this;\n};\n\n//\n// Alias methods names because people roll like that.\n//\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\nEventEmitter.prototype.addListener = EventEmitter.prototype.on;\n\n//\n// Expose the prefix.\n//\nEventEmitter.prefixed = prefix;\n\n//\n// Allow `EventEmitter` to be imported as module namespace.\n//\nEventEmitter.EventEmitter = EventEmitter;\n\n//\n// Expose the module.\n//\nif ('undefined' !== typeof module) {\n module.exports = EventEmitter;\n}", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n/*!\n Copyright (c) 2018 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n 'use strict';\n\n var hasOwn = {}.hasOwnProperty;\n function classNames() {\n var classes = [];\n for (var i = 0; i < arguments.length; i++) {\n var arg = arguments[i];\n if (!arg) continue;\n var argType = _typeof(arg);\n if (argType === 'string' || argType === 'number') {\n classes.push(arg);\n } else if (Array.isArray(arg)) {\n if (arg.length) {\n var inner = classNames.apply(null, arg);\n if (inner) {\n classes.push(inner);\n }\n }\n } else if (argType === 'object') {\n if (arg.toString === Object.prototype.toString) {\n for (var key in arg) {\n if (hasOwn.call(arg, key) && arg[key]) {\n classes.push(key);\n }\n }\n } else {\n classes.push(arg.toString());\n }\n }\n }\n return classes.join(' ');\n }\n if (typeof module !== 'undefined' && module.exports) {\n classNames.default = classNames;\n module.exports = classNames;\n } else if (typeof define === 'function' && _typeof(define.amd) === 'object' && define.amd) {\n // register as 'classnames', consistent with npm package name\n define('classnames', [], function () {\n return classNames;\n });\n } else {\n window.classNames = classNames;\n }\n})();", "module.exports = function isShallowEqual(a, b) {\n if (a === b) return true;\n for (var i in a) if (!(i in b)) return false;\n for (var i in b) if (a[i] !== b[i]) return false;\n return true;\n};", "function _typeof2(o) { \"@babel/helpers - typeof\"; return _typeof2 = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof2(o); }\n/*!\n * Cropper.js v1.5.7\n * https://fengyuanchen.github.io/cropperjs\n *\n * Copyright 2015-present Chen Fengyuan\n * Released under the MIT license\n *\n * Date: 2020-05-23T05:23:00.081Z\n */\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof2(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = global || self, global.Cropper = factory());\n})(this, function () {\n 'use strict';\n\n function _typeof(obj) {\n \"@babel/helpers - typeof\";\n\n if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n _typeof = function _typeof(obj) {\n return typeof obj;\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n };\n }\n return _typeof(obj);\n }\n function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n }\n function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n }\n function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n if (enumerableOnly) symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n });\n keys.push.apply(keys, symbols);\n }\n return keys;\n }\n function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n if (i % 2) {\n ownKeys(Object(source), true).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n } else if (Object.getOwnPropertyDescriptors) {\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n } else {\n ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n }\n return target;\n }\n function _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n }\n function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n }\n function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter);\n }\n function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n }\n function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];\n return arr2;\n }\n function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n }\n var IS_BROWSER = typeof window !== 'undefined' && typeof window.document !== 'undefined';\n var WINDOW = IS_BROWSER ? window : {};\n var IS_TOUCH_DEVICE = IS_BROWSER && WINDOW.document.documentElement ? 'ontouchstart' in WINDOW.document.documentElement : false;\n var HAS_POINTER_EVENT = IS_BROWSER ? 'PointerEvent' in WINDOW : false;\n var NAMESPACE = 'cropper'; // Actions\n\n var ACTION_ALL = 'all';\n var ACTION_CROP = 'crop';\n var ACTION_MOVE = 'move';\n var ACTION_ZOOM = 'zoom';\n var ACTION_EAST = 'e';\n var ACTION_WEST = 'w';\n var ACTION_SOUTH = 's';\n var ACTION_NORTH = 'n';\n var ACTION_NORTH_EAST = 'ne';\n var ACTION_NORTH_WEST = 'nw';\n var ACTION_SOUTH_EAST = 'se';\n var ACTION_SOUTH_WEST = 'sw'; // Classes\n\n var CLASS_CROP = \"\".concat(NAMESPACE, \"-crop\");\n var CLASS_DISABLED = \"\".concat(NAMESPACE, \"-disabled\");\n var CLASS_HIDDEN = \"\".concat(NAMESPACE, \"-hidden\");\n var CLASS_HIDE = \"\".concat(NAMESPACE, \"-hide\");\n var CLASS_INVISIBLE = \"\".concat(NAMESPACE, \"-invisible\");\n var CLASS_MODAL = \"\".concat(NAMESPACE, \"-modal\");\n var CLASS_MOVE = \"\".concat(NAMESPACE, \"-move\"); // Data keys\n\n var DATA_ACTION = \"\".concat(NAMESPACE, \"Action\");\n var DATA_PREVIEW = \"\".concat(NAMESPACE, \"Preview\"); // Drag modes\n\n var DRAG_MODE_CROP = 'crop';\n var DRAG_MODE_MOVE = 'move';\n var DRAG_MODE_NONE = 'none'; // Events\n\n var EVENT_CROP = 'crop';\n var EVENT_CROP_END = 'cropend';\n var EVENT_CROP_MOVE = 'cropmove';\n var EVENT_CROP_START = 'cropstart';\n var EVENT_DBLCLICK = 'dblclick';\n var EVENT_TOUCH_START = IS_TOUCH_DEVICE ? 'touchstart' : 'mousedown';\n var EVENT_TOUCH_MOVE = IS_TOUCH_DEVICE ? 'touchmove' : 'mousemove';\n var EVENT_TOUCH_END = IS_TOUCH_DEVICE ? 'touchend touchcancel' : 'mouseup';\n var EVENT_POINTER_DOWN = HAS_POINTER_EVENT ? 'pointerdown' : EVENT_TOUCH_START;\n var EVENT_POINTER_MOVE = HAS_POINTER_EVENT ? 'pointermove' : EVENT_TOUCH_MOVE;\n var EVENT_POINTER_UP = HAS_POINTER_EVENT ? 'pointerup pointercancel' : EVENT_TOUCH_END;\n var EVENT_READY = 'ready';\n var EVENT_RESIZE = 'resize';\n var EVENT_WHEEL = 'wheel';\n var EVENT_ZOOM = 'zoom'; // Mime types\n\n var MIME_TYPE_JPEG = 'image/jpeg'; // RegExps\n\n var REGEXP_ACTIONS = /^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/;\n var REGEXP_DATA_URL = /^data:/;\n var REGEXP_DATA_URL_JPEG = /^data:image\\/jpeg;base64,/;\n var REGEXP_TAG_NAME = /^img|canvas$/i; // Misc\n\n var DEFAULTS = {\n // Define the view mode of the cropper\n viewMode: 0,\n // 0, 1, 2, 3\n // Define the dragging mode of the cropper\n dragMode: DRAG_MODE_CROP,\n // 'crop', 'move' or 'none'\n // Define the initial aspect ratio of the crop box\n initialAspectRatio: NaN,\n // Define the aspect ratio of the crop box\n aspectRatio: NaN,\n // An object with the previous cropping result data\n data: null,\n // A selector for adding extra containers to preview\n preview: '',\n // Re-render the cropper when resize the window\n responsive: true,\n // Restore the cropped area after resize the window\n restore: true,\n // Check if the current image is a cross-origin image\n checkCrossOrigin: true,\n // Check the current image's Exif Orientation information\n checkOrientation: true,\n // Show the black modal\n modal: true,\n // Show the dashed lines for guiding\n guides: true,\n // Show the center indicator for guiding\n center: true,\n // Show the white modal to highlight the crop box\n highlight: true,\n // Show the grid background\n background: true,\n // Enable to crop the image automatically when initialize\n autoCrop: true,\n // Define the percentage of automatic cropping area when initializes\n autoCropArea: 0.8,\n // Enable to move the image\n movable: true,\n // Enable to rotate the image\n rotatable: true,\n // Enable to scale the image\n scalable: true,\n // Enable to zoom the image\n zoomable: true,\n // Enable to zoom the image by dragging touch\n zoomOnTouch: true,\n // Enable to zoom the image by wheeling mouse\n zoomOnWheel: true,\n // Define zoom ratio when zoom the image by wheeling mouse\n wheelZoomRatio: 0.1,\n // Enable to move the crop box\n cropBoxMovable: true,\n // Enable to resize the crop box\n cropBoxResizable: true,\n // Toggle drag mode between \"crop\" and \"move\" when click twice on the cropper\n toggleDragModeOnDblclick: true,\n // Size limitation\n minCanvasWidth: 0,\n minCanvasHeight: 0,\n minCropBoxWidth: 0,\n minCropBoxHeight: 0,\n minContainerWidth: 200,\n minContainerHeight: 100,\n // Shortcuts of events\n ready: null,\n cropstart: null,\n cropmove: null,\n cropend: null,\n crop: null,\n zoom: null\n };\n var TEMPLATE = '
' + '
' + '
' + '
' + '
' + '
' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '
' + '
';\n\n /**\n * Check if the given value is not a number.\n */\n\n var isNaN = Number.isNaN || WINDOW.isNaN;\n /**\n * Check if the given value is a number.\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if the given value is a number, else `false`.\n */\n\n function isNumber(value) {\n return typeof value === 'number' && !isNaN(value);\n }\n /**\n * Check if the given value is a positive number.\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if the given value is a positive number, else `false`.\n */\n\n var isPositiveNumber = function isPositiveNumber(value) {\n return value > 0 && value < Infinity;\n };\n /**\n * Check if the given value is undefined.\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if the given value is undefined, else `false`.\n */\n\n function isUndefined(value) {\n return typeof value === 'undefined';\n }\n /**\n * Check if the given value is an object.\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if the given value is an object, else `false`.\n */\n\n function isObject(value) {\n return _typeof(value) === 'object' && value !== null;\n }\n var hasOwnProperty = Object.prototype.hasOwnProperty;\n /**\n * Check if the given value is a plain object.\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if the given value is a plain object, else `false`.\n */\n\n function isPlainObject(value) {\n if (!isObject(value)) {\n return false;\n }\n try {\n var _constructor = value.constructor;\n var prototype = _constructor.prototype;\n return _constructor && prototype && hasOwnProperty.call(prototype, 'isPrototypeOf');\n } catch (error) {\n return false;\n }\n }\n /**\n * Check if the given value is a function.\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if the given value is a function, else `false`.\n */\n\n function isFunction(value) {\n return typeof value === 'function';\n }\n var slice = Array.prototype.slice;\n /**\n * Convert array-like or iterable object to an array.\n * @param {*} value - The value to convert.\n * @returns {Array} Returns a new array.\n */\n\n function toArray(value) {\n return Array.from ? Array.from(value) : slice.call(value);\n }\n /**\n * Iterate the given data.\n * @param {*} data - The data to iterate.\n * @param {Function} callback - The process function for each element.\n * @returns {*} The original data.\n */\n\n function forEach(data, callback) {\n if (data && isFunction(callback)) {\n if (Array.isArray(data) || isNumber(data.length)\n /* array-like */) {\n toArray(data).forEach(function (value, key) {\n callback.call(data, value, key, data);\n });\n } else if (isObject(data)) {\n Object.keys(data).forEach(function (key) {\n callback.call(data, data[key], key, data);\n });\n }\n }\n return data;\n }\n /**\n * Extend the given object.\n * @param {*} target - The target object to extend.\n * @param {*} args - The rest objects for merging to the target object.\n * @returns {Object} The extended object.\n */\n\n var assign = Object.assign || function assign(target) {\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n if (isObject(target) && args.length > 0) {\n args.forEach(function (arg) {\n if (isObject(arg)) {\n Object.keys(arg).forEach(function (key) {\n target[key] = arg[key];\n });\n }\n });\n }\n return target;\n };\n var REGEXP_DECIMALS = /\\.\\d*(?:0|9){12}\\d*$/;\n /**\n * Normalize decimal number.\n * Check out {@link https://0.30000000000000004.com/}\n * @param {number} value - The value to normalize.\n * @param {number} [times=100000000000] - The times for normalizing.\n * @returns {number} Returns the normalized number.\n */\n\n function normalizeDecimalNumber(value) {\n var times = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 100000000000;\n return REGEXP_DECIMALS.test(value) ? Math.round(value * times) / times : value;\n }\n var REGEXP_SUFFIX = /^width|height|left|top|marginLeft|marginTop$/;\n /**\n * Apply styles to the given element.\n * @param {Element} element - The target element.\n * @param {Object} styles - The styles for applying.\n */\n\n function setStyle(element, styles) {\n var style = element.style;\n forEach(styles, function (value, property) {\n if (REGEXP_SUFFIX.test(property) && isNumber(value)) {\n value = \"\".concat(value, \"px\");\n }\n style[property] = value;\n });\n }\n /**\n * Check if the given element has a special class.\n * @param {Element} element - The element to check.\n * @param {string} value - The class to search.\n * @returns {boolean} Returns `true` if the special class was found.\n */\n\n function hasClass(element, value) {\n return element.classList ? element.classList.contains(value) : element.className.indexOf(value) > -1;\n }\n /**\n * Add classes to the given element.\n * @param {Element} element - The target element.\n * @param {string} value - The classes to be added.\n */\n\n function addClass(element, value) {\n if (!value) {\n return;\n }\n if (isNumber(element.length)) {\n forEach(element, function (elem) {\n addClass(elem, value);\n });\n return;\n }\n if (element.classList) {\n element.classList.add(value);\n return;\n }\n var className = element.className.trim();\n if (!className) {\n element.className = value;\n } else if (className.indexOf(value) < 0) {\n element.className = \"\".concat(className, \" \").concat(value);\n }\n }\n /**\n * Remove classes from the given element.\n * @param {Element} element - The target element.\n * @param {string} value - The classes to be removed.\n */\n\n function removeClass(element, value) {\n if (!value) {\n return;\n }\n if (isNumber(element.length)) {\n forEach(element, function (elem) {\n removeClass(elem, value);\n });\n return;\n }\n if (element.classList) {\n element.classList.remove(value);\n return;\n }\n if (element.className.indexOf(value) >= 0) {\n element.className = element.className.replace(value, '');\n }\n }\n /**\n * Add or remove classes from the given element.\n * @param {Element} element - The target element.\n * @param {string} value - The classes to be toggled.\n * @param {boolean} added - Add only.\n */\n\n function toggleClass(element, value, added) {\n if (!value) {\n return;\n }\n if (isNumber(element.length)) {\n forEach(element, function (elem) {\n toggleClass(elem, value, added);\n });\n return;\n } // IE10-11 doesn't support the second parameter of `classList.toggle`\n\n if (added) {\n addClass(element, value);\n } else {\n removeClass(element, value);\n }\n }\n var REGEXP_CAMEL_CASE = /([a-z\\d])([A-Z])/g;\n /**\n * Transform the given string from camelCase to kebab-case\n * @param {string} value - The value to transform.\n * @returns {string} The transformed value.\n */\n\n function toParamCase(value) {\n return value.replace(REGEXP_CAMEL_CASE, '$1-$2').toLowerCase();\n }\n /**\n * Get data from the given element.\n * @param {Element} element - The target element.\n * @param {string} name - The data key to get.\n * @returns {string} The data value.\n */\n\n function getData(element, name) {\n if (isObject(element[name])) {\n return element[name];\n }\n if (element.dataset) {\n return element.dataset[name];\n }\n return element.getAttribute(\"data-\".concat(toParamCase(name)));\n }\n /**\n * Set data to the given element.\n * @param {Element} element - The target element.\n * @param {string} name - The data key to set.\n * @param {string} data - The data value.\n */\n\n function setData(element, name, data) {\n if (isObject(data)) {\n element[name] = data;\n } else if (element.dataset) {\n element.dataset[name] = data;\n } else {\n element.setAttribute(\"data-\".concat(toParamCase(name)), data);\n }\n }\n /**\n * Remove data from the given element.\n * @param {Element} element - The target element.\n * @param {string} name - The data key to remove.\n */\n\n function removeData(element, name) {\n if (isObject(element[name])) {\n try {\n delete element[name];\n } catch (error) {\n element[name] = undefined;\n }\n } else if (element.dataset) {\n // #128 Safari not allows to delete dataset property\n try {\n delete element.dataset[name];\n } catch (error) {\n element.dataset[name] = undefined;\n }\n } else {\n element.removeAttribute(\"data-\".concat(toParamCase(name)));\n }\n }\n var REGEXP_SPACES = /\\s\\s*/;\n var onceSupported = function () {\n var supported = false;\n if (IS_BROWSER) {\n var once = false;\n var listener = function listener() {};\n var options = Object.defineProperty({}, 'once', {\n get: function get() {\n supported = true;\n return once;\n },\n /**\n * This setter can fix a `TypeError` in strict mode\n * {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Getter_only}\n * @param {boolean} value - The value to set\n */\n set: function set(value) {\n once = value;\n }\n });\n WINDOW.addEventListener('test', listener, options);\n WINDOW.removeEventListener('test', listener, options);\n }\n return supported;\n }();\n /**\n * Remove event listener from the target element.\n * @param {Element} element - The event target.\n * @param {string} type - The event type(s).\n * @param {Function} listener - The event listener.\n * @param {Object} options - The event options.\n */\n\n function removeListener(element, type, listener) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var handler = listener;\n type.trim().split(REGEXP_SPACES).forEach(function (event) {\n if (!onceSupported) {\n var listeners = element.listeners;\n if (listeners && listeners[event] && listeners[event][listener]) {\n handler = listeners[event][listener];\n delete listeners[event][listener];\n if (Object.keys(listeners[event]).length === 0) {\n delete listeners[event];\n }\n if (Object.keys(listeners).length === 0) {\n delete element.listeners;\n }\n }\n }\n element.removeEventListener(event, handler, options);\n });\n }\n /**\n * Add event listener to the target element.\n * @param {Element} element - The event target.\n * @param {string} type - The event type(s).\n * @param {Function} listener - The event listener.\n * @param {Object} options - The event options.\n */\n\n function addListener(element, type, listener) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var _handler = listener;\n type.trim().split(REGEXP_SPACES).forEach(function (event) {\n if (options.once && !onceSupported) {\n var _element$listeners = element.listeners,\n listeners = _element$listeners === void 0 ? {} : _element$listeners;\n _handler = function handler() {\n delete listeners[event][listener];\n element.removeEventListener(event, _handler, options);\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n listener.apply(element, args);\n };\n if (!listeners[event]) {\n listeners[event] = {};\n }\n if (listeners[event][listener]) {\n element.removeEventListener(event, listeners[event][listener], options);\n }\n listeners[event][listener] = _handler;\n element.listeners = listeners;\n }\n element.addEventListener(event, _handler, options);\n });\n }\n /**\n * Dispatch event on the target element.\n * @param {Element} element - The event target.\n * @param {string} type - The event type(s).\n * @param {Object} data - The additional event data.\n * @returns {boolean} Indicate if the event is default prevented or not.\n */\n\n function dispatchEvent(element, type, data) {\n var event; // Event and CustomEvent on IE9-11 are global objects, not constructors\n\n if (isFunction(Event) && isFunction(CustomEvent)) {\n event = new CustomEvent(type, {\n detail: data,\n bubbles: true,\n cancelable: true\n });\n } else {\n event = document.createEvent('CustomEvent');\n event.initCustomEvent(type, true, true, data);\n }\n return element.dispatchEvent(event);\n }\n /**\n * Get the offset base on the document.\n * @param {Element} element - The target element.\n * @returns {Object} The offset data.\n */\n\n function getOffset(element) {\n var box = element.getBoundingClientRect();\n return {\n left: box.left + (window.pageXOffset - document.documentElement.clientLeft),\n top: box.top + (window.pageYOffset - document.documentElement.clientTop)\n };\n }\n var location = WINDOW.location;\n var REGEXP_ORIGINS = /^(\\w+:)\\/\\/([^:/?#]*):?(\\d*)/i;\n /**\n * Check if the given URL is a cross origin URL.\n * @param {string} url - The target URL.\n * @returns {boolean} Returns `true` if the given URL is a cross origin URL, else `false`.\n */\n\n function isCrossOriginURL(url) {\n var parts = url.match(REGEXP_ORIGINS);\n return parts !== null && (parts[1] !== location.protocol || parts[2] !== location.hostname || parts[3] !== location.port);\n }\n /**\n * Add timestamp to the given URL.\n * @param {string} url - The target URL.\n * @returns {string} The result URL.\n */\n\n function addTimestamp(url) {\n var timestamp = \"timestamp=\".concat(new Date().getTime());\n return url + (url.indexOf('?') === -1 ? '?' : '&') + timestamp;\n }\n /**\n * Get transforms base on the given object.\n * @param {Object} obj - The target object.\n * @returns {string} A string contains transform values.\n */\n\n function getTransforms(_ref) {\n var rotate = _ref.rotate,\n scaleX = _ref.scaleX,\n scaleY = _ref.scaleY,\n translateX = _ref.translateX,\n translateY = _ref.translateY;\n var values = [];\n if (isNumber(translateX) && translateX !== 0) {\n values.push(\"translateX(\".concat(translateX, \"px)\"));\n }\n if (isNumber(translateY) && translateY !== 0) {\n values.push(\"translateY(\".concat(translateY, \"px)\"));\n } // Rotate should come first before scale to match orientation transform\n\n if (isNumber(rotate) && rotate !== 0) {\n values.push(\"rotate(\".concat(rotate, \"deg)\"));\n }\n if (isNumber(scaleX) && scaleX !== 1) {\n values.push(\"scaleX(\".concat(scaleX, \")\"));\n }\n if (isNumber(scaleY) && scaleY !== 1) {\n values.push(\"scaleY(\".concat(scaleY, \")\"));\n }\n var transform = values.length ? values.join(' ') : 'none';\n return {\n WebkitTransform: transform,\n msTransform: transform,\n transform: transform\n };\n }\n /**\n * Get the max ratio of a group of pointers.\n * @param {string} pointers - The target pointers.\n * @returns {number} The result ratio.\n */\n\n function getMaxZoomRatio(pointers) {\n var pointers2 = _objectSpread2({}, pointers);\n var ratios = [];\n forEach(pointers, function (pointer, pointerId) {\n delete pointers2[pointerId];\n forEach(pointers2, function (pointer2) {\n var x1 = Math.abs(pointer.startX - pointer2.startX);\n var y1 = Math.abs(pointer.startY - pointer2.startY);\n var x2 = Math.abs(pointer.endX - pointer2.endX);\n var y2 = Math.abs(pointer.endY - pointer2.endY);\n var z1 = Math.sqrt(x1 * x1 + y1 * y1);\n var z2 = Math.sqrt(x2 * x2 + y2 * y2);\n var ratio = (z2 - z1) / z1;\n ratios.push(ratio);\n });\n });\n ratios.sort(function (a, b) {\n return Math.abs(a) < Math.abs(b);\n });\n return ratios[0];\n }\n /**\n * Get a pointer from an event object.\n * @param {Object} event - The target event object.\n * @param {boolean} endOnly - Indicates if only returns the end point coordinate or not.\n * @returns {Object} The result pointer contains start and/or end point coordinates.\n */\n\n function getPointer(_ref2, endOnly) {\n var pageX = _ref2.pageX,\n pageY = _ref2.pageY;\n var end = {\n endX: pageX,\n endY: pageY\n };\n return endOnly ? end : _objectSpread2({\n startX: pageX,\n startY: pageY\n }, end);\n }\n /**\n * Get the center point coordinate of a group of pointers.\n * @param {Object} pointers - The target pointers.\n * @returns {Object} The center point coordinate.\n */\n\n function getPointersCenter(pointers) {\n var pageX = 0;\n var pageY = 0;\n var count = 0;\n forEach(pointers, function (_ref3) {\n var startX = _ref3.startX,\n startY = _ref3.startY;\n pageX += startX;\n pageY += startY;\n count += 1;\n });\n pageX /= count;\n pageY /= count;\n return {\n pageX: pageX,\n pageY: pageY\n };\n }\n /**\n * Get the max sizes in a rectangle under the given aspect ratio.\n * @param {Object} data - The original sizes.\n * @param {string} [type='contain'] - The adjust type.\n * @returns {Object} The result sizes.\n */\n\n function getAdjustedSizes(_ref4)\n // or 'cover'\n {\n var aspectRatio = _ref4.aspectRatio,\n height = _ref4.height,\n width = _ref4.width;\n var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'contain';\n var isValidWidth = isPositiveNumber(width);\n var isValidHeight = isPositiveNumber(height);\n if (isValidWidth && isValidHeight) {\n var adjustedWidth = height * aspectRatio;\n if (type === 'contain' && adjustedWidth > width || type === 'cover' && adjustedWidth < width) {\n height = width / aspectRatio;\n } else {\n width = height * aspectRatio;\n }\n } else if (isValidWidth) {\n height = width / aspectRatio;\n } else if (isValidHeight) {\n width = height * aspectRatio;\n }\n return {\n width: width,\n height: height\n };\n }\n /**\n * Get the new sizes of a rectangle after rotated.\n * @param {Object} data - The original sizes.\n * @returns {Object} The result sizes.\n */\n\n function getRotatedSizes(_ref5) {\n var width = _ref5.width,\n height = _ref5.height,\n degree = _ref5.degree;\n degree = Math.abs(degree) % 180;\n if (degree === 90) {\n return {\n width: height,\n height: width\n };\n }\n var arc = degree % 90 * Math.PI / 180;\n var sinArc = Math.sin(arc);\n var cosArc = Math.cos(arc);\n var newWidth = width * cosArc + height * sinArc;\n var newHeight = width * sinArc + height * cosArc;\n return degree > 90 ? {\n width: newHeight,\n height: newWidth\n } : {\n width: newWidth,\n height: newHeight\n };\n }\n /**\n * Get a canvas which drew the given image.\n * @param {HTMLImageElement} image - The image for drawing.\n * @param {Object} imageData - The image data.\n * @param {Object} canvasData - The canvas data.\n * @param {Object} options - The options.\n * @returns {HTMLCanvasElement} The result canvas.\n */\n\n function getSourceCanvas(image, _ref6, _ref7, _ref8) {\n var imageAspectRatio = _ref6.aspectRatio,\n imageNaturalWidth = _ref6.naturalWidth,\n imageNaturalHeight = _ref6.naturalHeight,\n _ref6$rotate = _ref6.rotate,\n rotate = _ref6$rotate === void 0 ? 0 : _ref6$rotate,\n _ref6$scaleX = _ref6.scaleX,\n scaleX = _ref6$scaleX === void 0 ? 1 : _ref6$scaleX,\n _ref6$scaleY = _ref6.scaleY,\n scaleY = _ref6$scaleY === void 0 ? 1 : _ref6$scaleY;\n var aspectRatio = _ref7.aspectRatio,\n naturalWidth = _ref7.naturalWidth,\n naturalHeight = _ref7.naturalHeight;\n var _ref8$fillColor = _ref8.fillColor,\n fillColor = _ref8$fillColor === void 0 ? 'transparent' : _ref8$fillColor,\n _ref8$imageSmoothingE = _ref8.imageSmoothingEnabled,\n imageSmoothingEnabled = _ref8$imageSmoothingE === void 0 ? true : _ref8$imageSmoothingE,\n _ref8$imageSmoothingQ = _ref8.imageSmoothingQuality,\n imageSmoothingQuality = _ref8$imageSmoothingQ === void 0 ? 'low' : _ref8$imageSmoothingQ,\n _ref8$maxWidth = _ref8.maxWidth,\n maxWidth = _ref8$maxWidth === void 0 ? Infinity : _ref8$maxWidth,\n _ref8$maxHeight = _ref8.maxHeight,\n maxHeight = _ref8$maxHeight === void 0 ? Infinity : _ref8$maxHeight,\n _ref8$minWidth = _ref8.minWidth,\n minWidth = _ref8$minWidth === void 0 ? 0 : _ref8$minWidth,\n _ref8$minHeight = _ref8.minHeight,\n minHeight = _ref8$minHeight === void 0 ? 0 : _ref8$minHeight;\n var canvas = document.createElement('canvas');\n var context = canvas.getContext('2d');\n var maxSizes = getAdjustedSizes({\n aspectRatio: aspectRatio,\n width: maxWidth,\n height: maxHeight\n });\n var minSizes = getAdjustedSizes({\n aspectRatio: aspectRatio,\n width: minWidth,\n height: minHeight\n }, 'cover');\n var width = Math.min(maxSizes.width, Math.max(minSizes.width, naturalWidth));\n var height = Math.min(maxSizes.height, Math.max(minSizes.height, naturalHeight)); // Note: should always use image's natural sizes for drawing as\n // imageData.naturalWidth === canvasData.naturalHeight when rotate % 180 === 90\n\n var destMaxSizes = getAdjustedSizes({\n aspectRatio: imageAspectRatio,\n width: maxWidth,\n height: maxHeight\n });\n var destMinSizes = getAdjustedSizes({\n aspectRatio: imageAspectRatio,\n width: minWidth,\n height: minHeight\n }, 'cover');\n var destWidth = Math.min(destMaxSizes.width, Math.max(destMinSizes.width, imageNaturalWidth));\n var destHeight = Math.min(destMaxSizes.height, Math.max(destMinSizes.height, imageNaturalHeight));\n var params = [-destWidth / 2, -destHeight / 2, destWidth, destHeight];\n canvas.width = normalizeDecimalNumber(width);\n canvas.height = normalizeDecimalNumber(height);\n context.fillStyle = fillColor;\n context.fillRect(0, 0, width, height);\n context.save();\n context.translate(width / 2, height / 2);\n context.rotate(rotate * Math.PI / 180);\n context.scale(scaleX, scaleY);\n context.imageSmoothingEnabled = imageSmoothingEnabled;\n context.imageSmoothingQuality = imageSmoothingQuality;\n context.drawImage.apply(context, [image].concat(_toConsumableArray(params.map(function (param) {\n return Math.floor(normalizeDecimalNumber(param));\n }))));\n context.restore();\n return canvas;\n }\n var fromCharCode = String.fromCharCode;\n /**\n * Get string from char code in data view.\n * @param {DataView} dataView - The data view for read.\n * @param {number} start - The start index.\n * @param {number} length - The read length.\n * @returns {string} The read result.\n */\n\n function getStringFromCharCode(dataView, start, length) {\n var str = '';\n length += start;\n for (var i = start; i < length; i += 1) {\n str += fromCharCode(dataView.getUint8(i));\n }\n return str;\n }\n var REGEXP_DATA_URL_HEAD = /^data:.*,/;\n /**\n * Transform Data URL to array buffer.\n * @param {string} dataURL - The Data URL to transform.\n * @returns {ArrayBuffer} The result array buffer.\n */\n\n function dataURLToArrayBuffer(dataURL) {\n var base64 = dataURL.replace(REGEXP_DATA_URL_HEAD, '');\n var binary = atob(base64);\n var arrayBuffer = new ArrayBuffer(binary.length);\n var uint8 = new Uint8Array(arrayBuffer);\n forEach(uint8, function (value, i) {\n uint8[i] = binary.charCodeAt(i);\n });\n return arrayBuffer;\n }\n /**\n * Transform array buffer to Data URL.\n * @param {ArrayBuffer} arrayBuffer - The array buffer to transform.\n * @param {string} mimeType - The mime type of the Data URL.\n * @returns {string} The result Data URL.\n */\n\n function arrayBufferToDataURL(arrayBuffer, mimeType) {\n var chunks = []; // Chunk Typed Array for better performance (#435)\n\n var chunkSize = 8192;\n var uint8 = new Uint8Array(arrayBuffer);\n while (uint8.length > 0) {\n // XXX: Babel's `toConsumableArray` helper will throw error in IE or Safari 9\n // eslint-disable-next-line prefer-spread\n chunks.push(fromCharCode.apply(null, toArray(uint8.subarray(0, chunkSize))));\n uint8 = uint8.subarray(chunkSize);\n }\n return \"data:\".concat(mimeType, \";base64,\").concat(btoa(chunks.join('')));\n }\n /**\n * Get orientation value from given array buffer.\n * @param {ArrayBuffer} arrayBuffer - The array buffer to read.\n * @returns {number} The read orientation value.\n */\n\n function resetAndGetOrientation(arrayBuffer) {\n var dataView = new DataView(arrayBuffer);\n var orientation; // Ignores range error when the image does not have correct Exif information\n\n try {\n var littleEndian;\n var app1Start;\n var ifdStart; // Only handle JPEG image (start by 0xFFD8)\n\n if (dataView.getUint8(0) === 0xFF && dataView.getUint8(1) === 0xD8) {\n var length = dataView.byteLength;\n var offset = 2;\n while (offset + 1 < length) {\n if (dataView.getUint8(offset) === 0xFF && dataView.getUint8(offset + 1) === 0xE1) {\n app1Start = offset;\n break;\n }\n offset += 1;\n }\n }\n if (app1Start) {\n var exifIDCode = app1Start + 4;\n var tiffOffset = app1Start + 10;\n if (getStringFromCharCode(dataView, exifIDCode, 4) === 'Exif') {\n var endianness = dataView.getUint16(tiffOffset);\n littleEndian = endianness === 0x4949;\n if (littleEndian || endianness === 0x4D4D\n /* bigEndian */) {\n if (dataView.getUint16(tiffOffset + 2, littleEndian) === 0x002A) {\n var firstIFDOffset = dataView.getUint32(tiffOffset + 4, littleEndian);\n if (firstIFDOffset >= 0x00000008) {\n ifdStart = tiffOffset + firstIFDOffset;\n }\n }\n }\n }\n }\n if (ifdStart) {\n var _length = dataView.getUint16(ifdStart, littleEndian);\n var _offset;\n var i;\n for (i = 0; i < _length; i += 1) {\n _offset = ifdStart + i * 12 + 2;\n if (dataView.getUint16(_offset, littleEndian) === 0x0112\n /* Orientation */) {\n // 8 is the offset of the current tag's value\n _offset += 8; // Get the original orientation value\n\n orientation = dataView.getUint16(_offset, littleEndian); // Override the orientation with its default value\n\n dataView.setUint16(_offset, 1, littleEndian);\n break;\n }\n }\n }\n } catch (error) {\n orientation = 1;\n }\n return orientation;\n }\n /**\n * Parse Exif Orientation value.\n * @param {number} orientation - The orientation to parse.\n * @returns {Object} The parsed result.\n */\n\n function parseOrientation(orientation) {\n var rotate = 0;\n var scaleX = 1;\n var scaleY = 1;\n switch (orientation) {\n // Flip horizontal\n case 2:\n scaleX = -1;\n break;\n // Rotate left 180\u00B0\n\n case 3:\n rotate = -180;\n break;\n // Flip vertical\n\n case 4:\n scaleY = -1;\n break;\n // Flip vertical and rotate right 90\u00B0\n\n case 5:\n rotate = 90;\n scaleY = -1;\n break;\n // Rotate right 90\u00B0\n\n case 6:\n rotate = 90;\n break;\n // Flip horizontal and rotate right 90\u00B0\n\n case 7:\n rotate = 90;\n scaleX = -1;\n break;\n // Rotate left 90\u00B0\n\n case 8:\n rotate = -90;\n break;\n }\n return {\n rotate: rotate,\n scaleX: scaleX,\n scaleY: scaleY\n };\n }\n var render = {\n render: function render() {\n this.initContainer();\n this.initCanvas();\n this.initCropBox();\n this.renderCanvas();\n if (this.cropped) {\n this.renderCropBox();\n }\n },\n initContainer: function initContainer() {\n var element = this.element,\n options = this.options,\n container = this.container,\n cropper = this.cropper;\n addClass(cropper, CLASS_HIDDEN);\n removeClass(element, CLASS_HIDDEN);\n var containerData = {\n width: Math.max(container.offsetWidth, Number(options.minContainerWidth) || 200),\n height: Math.max(container.offsetHeight, Number(options.minContainerHeight) || 100)\n };\n this.containerData = containerData;\n setStyle(cropper, {\n width: containerData.width,\n height: containerData.height\n });\n addClass(element, CLASS_HIDDEN);\n removeClass(cropper, CLASS_HIDDEN);\n },\n // Canvas (image wrapper)\n initCanvas: function initCanvas() {\n var containerData = this.containerData,\n imageData = this.imageData;\n var viewMode = this.options.viewMode;\n var rotated = Math.abs(imageData.rotate) % 180 === 90;\n var naturalWidth = rotated ? imageData.naturalHeight : imageData.naturalWidth;\n var naturalHeight = rotated ? imageData.naturalWidth : imageData.naturalHeight;\n var aspectRatio = naturalWidth / naturalHeight;\n var canvasWidth = containerData.width;\n var canvasHeight = containerData.height;\n if (containerData.height * aspectRatio > containerData.width) {\n if (viewMode === 3) {\n canvasWidth = containerData.height * aspectRatio;\n } else {\n canvasHeight = containerData.width / aspectRatio;\n }\n } else if (viewMode === 3) {\n canvasHeight = containerData.width / aspectRatio;\n } else {\n canvasWidth = containerData.height * aspectRatio;\n }\n var canvasData = {\n aspectRatio: aspectRatio,\n naturalWidth: naturalWidth,\n naturalHeight: naturalHeight,\n width: canvasWidth,\n height: canvasHeight\n };\n canvasData.left = (containerData.width - canvasWidth) / 2;\n canvasData.top = (containerData.height - canvasHeight) / 2;\n canvasData.oldLeft = canvasData.left;\n canvasData.oldTop = canvasData.top;\n this.canvasData = canvasData;\n this.limited = viewMode === 1 || viewMode === 2;\n this.limitCanvas(true, true);\n this.initialImageData = assign({}, imageData);\n this.initialCanvasData = assign({}, canvasData);\n },\n limitCanvas: function limitCanvas(sizeLimited, positionLimited) {\n var options = this.options,\n containerData = this.containerData,\n canvasData = this.canvasData,\n cropBoxData = this.cropBoxData;\n var viewMode = options.viewMode;\n var aspectRatio = canvasData.aspectRatio;\n var cropped = this.cropped && cropBoxData;\n if (sizeLimited) {\n var minCanvasWidth = Number(options.minCanvasWidth) || 0;\n var minCanvasHeight = Number(options.minCanvasHeight) || 0;\n if (viewMode > 1) {\n minCanvasWidth = Math.max(minCanvasWidth, containerData.width);\n minCanvasHeight = Math.max(minCanvasHeight, containerData.height);\n if (viewMode === 3) {\n if (minCanvasHeight * aspectRatio > minCanvasWidth) {\n minCanvasWidth = minCanvasHeight * aspectRatio;\n } else {\n minCanvasHeight = minCanvasWidth / aspectRatio;\n }\n }\n } else if (viewMode > 0) {\n if (minCanvasWidth) {\n minCanvasWidth = Math.max(minCanvasWidth, cropped ? cropBoxData.width : 0);\n } else if (minCanvasHeight) {\n minCanvasHeight = Math.max(minCanvasHeight, cropped ? cropBoxData.height : 0);\n } else if (cropped) {\n minCanvasWidth = cropBoxData.width;\n minCanvasHeight = cropBoxData.height;\n if (minCanvasHeight * aspectRatio > minCanvasWidth) {\n minCanvasWidth = minCanvasHeight * aspectRatio;\n } else {\n minCanvasHeight = minCanvasWidth / aspectRatio;\n }\n }\n }\n var _getAdjustedSizes = getAdjustedSizes({\n aspectRatio: aspectRatio,\n width: minCanvasWidth,\n height: minCanvasHeight\n });\n minCanvasWidth = _getAdjustedSizes.width;\n minCanvasHeight = _getAdjustedSizes.height;\n canvasData.minWidth = minCanvasWidth;\n canvasData.minHeight = minCanvasHeight;\n canvasData.maxWidth = Infinity;\n canvasData.maxHeight = Infinity;\n }\n if (positionLimited) {\n if (viewMode > (cropped ? 0 : 1)) {\n var newCanvasLeft = containerData.width - canvasData.width;\n var newCanvasTop = containerData.height - canvasData.height;\n canvasData.minLeft = Math.min(0, newCanvasLeft);\n canvasData.minTop = Math.min(0, newCanvasTop);\n canvasData.maxLeft = Math.max(0, newCanvasLeft);\n canvasData.maxTop = Math.max(0, newCanvasTop);\n if (cropped && this.limited) {\n canvasData.minLeft = Math.min(cropBoxData.left, cropBoxData.left + (cropBoxData.width - canvasData.width));\n canvasData.minTop = Math.min(cropBoxData.top, cropBoxData.top + (cropBoxData.height - canvasData.height));\n canvasData.maxLeft = cropBoxData.left;\n canvasData.maxTop = cropBoxData.top;\n if (viewMode === 2) {\n if (canvasData.width >= containerData.width) {\n canvasData.minLeft = Math.min(0, newCanvasLeft);\n canvasData.maxLeft = Math.max(0, newCanvasLeft);\n }\n if (canvasData.height >= containerData.height) {\n canvasData.minTop = Math.min(0, newCanvasTop);\n canvasData.maxTop = Math.max(0, newCanvasTop);\n }\n }\n }\n } else {\n canvasData.minLeft = -canvasData.width;\n canvasData.minTop = -canvasData.height;\n canvasData.maxLeft = containerData.width;\n canvasData.maxTop = containerData.height;\n }\n }\n },\n renderCanvas: function renderCanvas(changed, transformed) {\n var canvasData = this.canvasData,\n imageData = this.imageData;\n if (transformed) {\n var _getRotatedSizes = getRotatedSizes({\n width: imageData.naturalWidth * Math.abs(imageData.scaleX || 1),\n height: imageData.naturalHeight * Math.abs(imageData.scaleY || 1),\n degree: imageData.rotate || 0\n }),\n naturalWidth = _getRotatedSizes.width,\n naturalHeight = _getRotatedSizes.height;\n var width = canvasData.width * (naturalWidth / canvasData.naturalWidth);\n var height = canvasData.height * (naturalHeight / canvasData.naturalHeight);\n canvasData.left -= (width - canvasData.width) / 2;\n canvasData.top -= (height - canvasData.height) / 2;\n canvasData.width = width;\n canvasData.height = height;\n canvasData.aspectRatio = naturalWidth / naturalHeight;\n canvasData.naturalWidth = naturalWidth;\n canvasData.naturalHeight = naturalHeight;\n this.limitCanvas(true, false);\n }\n if (canvasData.width > canvasData.maxWidth || canvasData.width < canvasData.minWidth) {\n canvasData.left = canvasData.oldLeft;\n }\n if (canvasData.height > canvasData.maxHeight || canvasData.height < canvasData.minHeight) {\n canvasData.top = canvasData.oldTop;\n }\n canvasData.width = Math.min(Math.max(canvasData.width, canvasData.minWidth), canvasData.maxWidth);\n canvasData.height = Math.min(Math.max(canvasData.height, canvasData.minHeight), canvasData.maxHeight);\n this.limitCanvas(false, true);\n canvasData.left = Math.min(Math.max(canvasData.left, canvasData.minLeft), canvasData.maxLeft);\n canvasData.top = Math.min(Math.max(canvasData.top, canvasData.minTop), canvasData.maxTop);\n canvasData.oldLeft = canvasData.left;\n canvasData.oldTop = canvasData.top;\n setStyle(this.canvas, assign({\n width: canvasData.width,\n height: canvasData.height\n }, getTransforms({\n translateX: canvasData.left,\n translateY: canvasData.top\n })));\n this.renderImage(changed);\n if (this.cropped && this.limited) {\n this.limitCropBox(true, true);\n }\n },\n renderImage: function renderImage(changed) {\n var canvasData = this.canvasData,\n imageData = this.imageData;\n var width = imageData.naturalWidth * (canvasData.width / canvasData.naturalWidth);\n var height = imageData.naturalHeight * (canvasData.height / canvasData.naturalHeight);\n assign(imageData, {\n width: width,\n height: height,\n left: (canvasData.width - width) / 2,\n top: (canvasData.height - height) / 2\n });\n setStyle(this.image, assign({\n width: imageData.width,\n height: imageData.height\n }, getTransforms(assign({\n translateX: imageData.left,\n translateY: imageData.top\n }, imageData))));\n if (changed) {\n this.output();\n }\n },\n initCropBox: function initCropBox() {\n var options = this.options,\n canvasData = this.canvasData;\n var aspectRatio = options.aspectRatio || options.initialAspectRatio;\n var autoCropArea = Number(options.autoCropArea) || 0.8;\n var cropBoxData = {\n width: canvasData.width,\n height: canvasData.height\n };\n if (aspectRatio) {\n if (canvasData.height * aspectRatio > canvasData.width) {\n cropBoxData.height = cropBoxData.width / aspectRatio;\n } else {\n cropBoxData.width = cropBoxData.height * aspectRatio;\n }\n }\n this.cropBoxData = cropBoxData;\n this.limitCropBox(true, true); // Initialize auto crop area\n\n cropBoxData.width = Math.min(Math.max(cropBoxData.width, cropBoxData.minWidth), cropBoxData.maxWidth);\n cropBoxData.height = Math.min(Math.max(cropBoxData.height, cropBoxData.minHeight), cropBoxData.maxHeight); // The width/height of auto crop area must large than \"minWidth/Height\"\n\n cropBoxData.width = Math.max(cropBoxData.minWidth, cropBoxData.width * autoCropArea);\n cropBoxData.height = Math.max(cropBoxData.minHeight, cropBoxData.height * autoCropArea);\n cropBoxData.left = canvasData.left + (canvasData.width - cropBoxData.width) / 2;\n cropBoxData.top = canvasData.top + (canvasData.height - cropBoxData.height) / 2;\n cropBoxData.oldLeft = cropBoxData.left;\n cropBoxData.oldTop = cropBoxData.top;\n this.initialCropBoxData = assign({}, cropBoxData);\n },\n limitCropBox: function limitCropBox(sizeLimited, positionLimited) {\n var options = this.options,\n containerData = this.containerData,\n canvasData = this.canvasData,\n cropBoxData = this.cropBoxData,\n limited = this.limited;\n var aspectRatio = options.aspectRatio;\n if (sizeLimited) {\n var minCropBoxWidth = Number(options.minCropBoxWidth) || 0;\n var minCropBoxHeight = Number(options.minCropBoxHeight) || 0;\n var maxCropBoxWidth = limited ? Math.min(containerData.width, canvasData.width, canvasData.width + canvasData.left, containerData.width - canvasData.left) : containerData.width;\n var maxCropBoxHeight = limited ? Math.min(containerData.height, canvasData.height, canvasData.height + canvasData.top, containerData.height - canvasData.top) : containerData.height; // The min/maxCropBoxWidth/Height must be less than container's width/height\n\n minCropBoxWidth = Math.min(minCropBoxWidth, containerData.width);\n minCropBoxHeight = Math.min(minCropBoxHeight, containerData.height);\n if (aspectRatio) {\n if (minCropBoxWidth && minCropBoxHeight) {\n if (minCropBoxHeight * aspectRatio > minCropBoxWidth) {\n minCropBoxHeight = minCropBoxWidth / aspectRatio;\n } else {\n minCropBoxWidth = minCropBoxHeight * aspectRatio;\n }\n } else if (minCropBoxWidth) {\n minCropBoxHeight = minCropBoxWidth / aspectRatio;\n } else if (minCropBoxHeight) {\n minCropBoxWidth = minCropBoxHeight * aspectRatio;\n }\n if (maxCropBoxHeight * aspectRatio > maxCropBoxWidth) {\n maxCropBoxHeight = maxCropBoxWidth / aspectRatio;\n } else {\n maxCropBoxWidth = maxCropBoxHeight * aspectRatio;\n }\n } // The minWidth/Height must be less than maxWidth/Height\n\n cropBoxData.minWidth = Math.min(minCropBoxWidth, maxCropBoxWidth);\n cropBoxData.minHeight = Math.min(minCropBoxHeight, maxCropBoxHeight);\n cropBoxData.maxWidth = maxCropBoxWidth;\n cropBoxData.maxHeight = maxCropBoxHeight;\n }\n if (positionLimited) {\n if (limited) {\n cropBoxData.minLeft = Math.max(0, canvasData.left);\n cropBoxData.minTop = Math.max(0, canvasData.top);\n cropBoxData.maxLeft = Math.min(containerData.width, canvasData.left + canvasData.width) - cropBoxData.width;\n cropBoxData.maxTop = Math.min(containerData.height, canvasData.top + canvasData.height) - cropBoxData.height;\n } else {\n cropBoxData.minLeft = 0;\n cropBoxData.minTop = 0;\n cropBoxData.maxLeft = containerData.width - cropBoxData.width;\n cropBoxData.maxTop = containerData.height - cropBoxData.height;\n }\n }\n },\n renderCropBox: function renderCropBox() {\n var options = this.options,\n containerData = this.containerData,\n cropBoxData = this.cropBoxData;\n if (cropBoxData.width > cropBoxData.maxWidth || cropBoxData.width < cropBoxData.minWidth) {\n cropBoxData.left = cropBoxData.oldLeft;\n }\n if (cropBoxData.height > cropBoxData.maxHeight || cropBoxData.height < cropBoxData.minHeight) {\n cropBoxData.top = cropBoxData.oldTop;\n }\n cropBoxData.width = Math.min(Math.max(cropBoxData.width, cropBoxData.minWidth), cropBoxData.maxWidth);\n cropBoxData.height = Math.min(Math.max(cropBoxData.height, cropBoxData.minHeight), cropBoxData.maxHeight);\n this.limitCropBox(false, true);\n cropBoxData.left = Math.min(Math.max(cropBoxData.left, cropBoxData.minLeft), cropBoxData.maxLeft);\n cropBoxData.top = Math.min(Math.max(cropBoxData.top, cropBoxData.minTop), cropBoxData.maxTop);\n cropBoxData.oldLeft = cropBoxData.left;\n cropBoxData.oldTop = cropBoxData.top;\n if (options.movable && options.cropBoxMovable) {\n // Turn to move the canvas when the crop box is equal to the container\n setData(this.face, DATA_ACTION, cropBoxData.width >= containerData.width && cropBoxData.height >= containerData.height ? ACTION_MOVE : ACTION_ALL);\n }\n setStyle(this.cropBox, assign({\n width: cropBoxData.width,\n height: cropBoxData.height\n }, getTransforms({\n translateX: cropBoxData.left,\n translateY: cropBoxData.top\n })));\n if (this.cropped && this.limited) {\n this.limitCanvas(true, true);\n }\n if (!this.disabled) {\n this.output();\n }\n },\n output: function output() {\n this.preview();\n dispatchEvent(this.element, EVENT_CROP, this.getData());\n }\n };\n var preview = {\n initPreview: function initPreview() {\n var element = this.element,\n crossOrigin = this.crossOrigin;\n var preview = this.options.preview;\n var url = crossOrigin ? this.crossOriginUrl : this.url;\n var alt = element.alt || 'The image to preview';\n var image = document.createElement('img');\n if (crossOrigin) {\n image.crossOrigin = crossOrigin;\n }\n image.src = url;\n image.alt = alt;\n this.viewBox.appendChild(image);\n this.viewBoxImage = image;\n if (!preview) {\n return;\n }\n var previews = preview;\n if (typeof preview === 'string') {\n previews = element.ownerDocument.querySelectorAll(preview);\n } else if (preview.querySelector) {\n previews = [preview];\n }\n this.previews = previews;\n forEach(previews, function (el) {\n var img = document.createElement('img'); // Save the original size for recover\n\n setData(el, DATA_PREVIEW, {\n width: el.offsetWidth,\n height: el.offsetHeight,\n html: el.innerHTML\n });\n if (crossOrigin) {\n img.crossOrigin = crossOrigin;\n }\n img.src = url;\n img.alt = alt;\n /**\n * Override img element styles\n * Add `display:block` to avoid margin top issue\n * Add `height:auto` to override `height` attribute on IE8\n * (Occur only when margin-top <= -height)\n */\n\n img.style.cssText = 'display:block;' + 'width:100%;' + 'height:auto;' + 'min-width:0!important;' + 'min-height:0!important;' + 'max-width:none!important;' + 'max-height:none!important;' + 'image-orientation:0deg!important;\"';\n el.innerHTML = '';\n el.appendChild(img);\n });\n },\n resetPreview: function resetPreview() {\n forEach(this.previews, function (element) {\n var data = getData(element, DATA_PREVIEW);\n setStyle(element, {\n width: data.width,\n height: data.height\n });\n element.innerHTML = data.html;\n removeData(element, DATA_PREVIEW);\n });\n },\n preview: function preview() {\n var imageData = this.imageData,\n canvasData = this.canvasData,\n cropBoxData = this.cropBoxData;\n var cropBoxWidth = cropBoxData.width,\n cropBoxHeight = cropBoxData.height;\n var width = imageData.width,\n height = imageData.height;\n var left = cropBoxData.left - canvasData.left - imageData.left;\n var top = cropBoxData.top - canvasData.top - imageData.top;\n if (!this.cropped || this.disabled) {\n return;\n }\n setStyle(this.viewBoxImage, assign({\n width: width,\n height: height\n }, getTransforms(assign({\n translateX: -left,\n translateY: -top\n }, imageData))));\n forEach(this.previews, function (element) {\n var data = getData(element, DATA_PREVIEW);\n var originalWidth = data.width;\n var originalHeight = data.height;\n var newWidth = originalWidth;\n var newHeight = originalHeight;\n var ratio = 1;\n if (cropBoxWidth) {\n ratio = originalWidth / cropBoxWidth;\n newHeight = cropBoxHeight * ratio;\n }\n if (cropBoxHeight && newHeight > originalHeight) {\n ratio = originalHeight / cropBoxHeight;\n newWidth = cropBoxWidth * ratio;\n newHeight = originalHeight;\n }\n setStyle(element, {\n width: newWidth,\n height: newHeight\n });\n setStyle(element.getElementsByTagName('img')[0], assign({\n width: width * ratio,\n height: height * ratio\n }, getTransforms(assign({\n translateX: -left * ratio,\n translateY: -top * ratio\n }, imageData))));\n });\n }\n };\n var events = {\n bind: function bind() {\n var element = this.element,\n options = this.options,\n cropper = this.cropper;\n if (isFunction(options.cropstart)) {\n addListener(element, EVENT_CROP_START, options.cropstart);\n }\n if (isFunction(options.cropmove)) {\n addListener(element, EVENT_CROP_MOVE, options.cropmove);\n }\n if (isFunction(options.cropend)) {\n addListener(element, EVENT_CROP_END, options.cropend);\n }\n if (isFunction(options.crop)) {\n addListener(element, EVENT_CROP, options.crop);\n }\n if (isFunction(options.zoom)) {\n addListener(element, EVENT_ZOOM, options.zoom);\n }\n addListener(cropper, EVENT_POINTER_DOWN, this.onCropStart = this.cropStart.bind(this));\n if (options.zoomable && options.zoomOnWheel) {\n addListener(cropper, EVENT_WHEEL, this.onWheel = this.wheel.bind(this), {\n passive: false,\n capture: true\n });\n }\n if (options.toggleDragModeOnDblclick) {\n addListener(cropper, EVENT_DBLCLICK, this.onDblclick = this.dblclick.bind(this));\n }\n addListener(element.ownerDocument, EVENT_POINTER_MOVE, this.onCropMove = this.cropMove.bind(this));\n addListener(element.ownerDocument, EVENT_POINTER_UP, this.onCropEnd = this.cropEnd.bind(this));\n if (options.responsive) {\n addListener(window, EVENT_RESIZE, this.onResize = this.resize.bind(this));\n }\n },\n unbind: function unbind() {\n var element = this.element,\n options = this.options,\n cropper = this.cropper;\n if (isFunction(options.cropstart)) {\n removeListener(element, EVENT_CROP_START, options.cropstart);\n }\n if (isFunction(options.cropmove)) {\n removeListener(element, EVENT_CROP_MOVE, options.cropmove);\n }\n if (isFunction(options.cropend)) {\n removeListener(element, EVENT_CROP_END, options.cropend);\n }\n if (isFunction(options.crop)) {\n removeListener(element, EVENT_CROP, options.crop);\n }\n if (isFunction(options.zoom)) {\n removeListener(element, EVENT_ZOOM, options.zoom);\n }\n removeListener(cropper, EVENT_POINTER_DOWN, this.onCropStart);\n if (options.zoomable && options.zoomOnWheel) {\n removeListener(cropper, EVENT_WHEEL, this.onWheel, {\n passive: false,\n capture: true\n });\n }\n if (options.toggleDragModeOnDblclick) {\n removeListener(cropper, EVENT_DBLCLICK, this.onDblclick);\n }\n removeListener(element.ownerDocument, EVENT_POINTER_MOVE, this.onCropMove);\n removeListener(element.ownerDocument, EVENT_POINTER_UP, this.onCropEnd);\n if (options.responsive) {\n removeListener(window, EVENT_RESIZE, this.onResize);\n }\n }\n };\n var handlers = {\n resize: function resize() {\n if (this.disabled) {\n return;\n }\n var options = this.options,\n container = this.container,\n containerData = this.containerData;\n var ratio = container.offsetWidth / containerData.width; // Resize when width changed or height changed\n\n if (ratio !== 1 || container.offsetHeight !== containerData.height) {\n var canvasData;\n var cropBoxData;\n if (options.restore) {\n canvasData = this.getCanvasData();\n cropBoxData = this.getCropBoxData();\n }\n this.render();\n if (options.restore) {\n this.setCanvasData(forEach(canvasData, function (n, i) {\n canvasData[i] = n * ratio;\n }));\n this.setCropBoxData(forEach(cropBoxData, function (n, i) {\n cropBoxData[i] = n * ratio;\n }));\n }\n }\n },\n dblclick: function dblclick() {\n if (this.disabled || this.options.dragMode === DRAG_MODE_NONE) {\n return;\n }\n this.setDragMode(hasClass(this.dragBox, CLASS_CROP) ? DRAG_MODE_MOVE : DRAG_MODE_CROP);\n },\n wheel: function wheel(event) {\n var _this = this;\n var ratio = Number(this.options.wheelZoomRatio) || 0.1;\n var delta = 1;\n if (this.disabled) {\n return;\n }\n event.preventDefault(); // Limit wheel speed to prevent zoom too fast (#21)\n\n if (this.wheeling) {\n return;\n }\n this.wheeling = true;\n setTimeout(function () {\n _this.wheeling = false;\n }, 50);\n if (event.deltaY) {\n delta = event.deltaY > 0 ? 1 : -1;\n } else if (event.wheelDelta) {\n delta = -event.wheelDelta / 120;\n } else if (event.detail) {\n delta = event.detail > 0 ? 1 : -1;\n }\n this.zoom(-delta * ratio, event);\n },\n cropStart: function cropStart(event) {\n var buttons = event.buttons,\n button = event.button;\n if (this.disabled // Handle mouse event and pointer event and ignore touch event\n || (event.type === 'mousedown' || event.type === 'pointerdown' && event.pointerType === 'mouse') && (\n // No primary button (Usually the left button)\n isNumber(buttons) && buttons !== 1 || isNumber(button) && button !== 0 // Open context menu\n || event.ctrlKey)) {\n return;\n }\n var options = this.options,\n pointers = this.pointers;\n var action;\n if (event.changedTouches) {\n // Handle touch event\n forEach(event.changedTouches, function (touch) {\n pointers[touch.identifier] = getPointer(touch);\n });\n } else {\n // Handle mouse event and pointer event\n pointers[event.pointerId || 0] = getPointer(event);\n }\n if (Object.keys(pointers).length > 1 && options.zoomable && options.zoomOnTouch) {\n action = ACTION_ZOOM;\n } else {\n action = getData(event.target, DATA_ACTION);\n }\n if (!REGEXP_ACTIONS.test(action)) {\n return;\n }\n if (dispatchEvent(this.element, EVENT_CROP_START, {\n originalEvent: event,\n action: action\n }) === false) {\n return;\n } // This line is required for preventing page zooming in iOS browsers\n\n event.preventDefault();\n this.action = action;\n this.cropping = false;\n if (action === ACTION_CROP) {\n this.cropping = true;\n addClass(this.dragBox, CLASS_MODAL);\n }\n },\n cropMove: function cropMove(event) {\n var action = this.action;\n if (this.disabled || !action) {\n return;\n }\n var pointers = this.pointers;\n event.preventDefault();\n if (dispatchEvent(this.element, EVENT_CROP_MOVE, {\n originalEvent: event,\n action: action\n }) === false) {\n return;\n }\n if (event.changedTouches) {\n forEach(event.changedTouches, function (touch) {\n // The first parameter should not be undefined (#432)\n assign(pointers[touch.identifier] || {}, getPointer(touch, true));\n });\n } else {\n assign(pointers[event.pointerId || 0] || {}, getPointer(event, true));\n }\n this.change(event);\n },\n cropEnd: function cropEnd(event) {\n if (this.disabled) {\n return;\n }\n var action = this.action,\n pointers = this.pointers;\n if (event.changedTouches) {\n forEach(event.changedTouches, function (touch) {\n delete pointers[touch.identifier];\n });\n } else {\n delete pointers[event.pointerId || 0];\n }\n if (!action) {\n return;\n }\n event.preventDefault();\n if (!Object.keys(pointers).length) {\n this.action = '';\n }\n if (this.cropping) {\n this.cropping = false;\n toggleClass(this.dragBox, CLASS_MODAL, this.cropped && this.options.modal);\n }\n dispatchEvent(this.element, EVENT_CROP_END, {\n originalEvent: event,\n action: action\n });\n }\n };\n var change = {\n change: function change(event) {\n var options = this.options,\n canvasData = this.canvasData,\n containerData = this.containerData,\n cropBoxData = this.cropBoxData,\n pointers = this.pointers;\n var action = this.action;\n var aspectRatio = options.aspectRatio;\n var left = cropBoxData.left,\n top = cropBoxData.top,\n width = cropBoxData.width,\n height = cropBoxData.height;\n var right = left + width;\n var bottom = top + height;\n var minLeft = 0;\n var minTop = 0;\n var maxWidth = containerData.width;\n var maxHeight = containerData.height;\n var renderable = true;\n var offset; // Locking aspect ratio in \"free mode\" by holding shift key\n\n if (!aspectRatio && event.shiftKey) {\n aspectRatio = width && height ? width / height : 1;\n }\n if (this.limited) {\n minLeft = cropBoxData.minLeft;\n minTop = cropBoxData.minTop;\n maxWidth = minLeft + Math.min(containerData.width, canvasData.width, canvasData.left + canvasData.width);\n maxHeight = minTop + Math.min(containerData.height, canvasData.height, canvasData.top + canvasData.height);\n }\n var pointer = pointers[Object.keys(pointers)[0]];\n var range = {\n x: pointer.endX - pointer.startX,\n y: pointer.endY - pointer.startY\n };\n var check = function check(side) {\n switch (side) {\n case ACTION_EAST:\n if (right + range.x > maxWidth) {\n range.x = maxWidth - right;\n }\n break;\n case ACTION_WEST:\n if (left + range.x < minLeft) {\n range.x = minLeft - left;\n }\n break;\n case ACTION_NORTH:\n if (top + range.y < minTop) {\n range.y = minTop - top;\n }\n break;\n case ACTION_SOUTH:\n if (bottom + range.y > maxHeight) {\n range.y = maxHeight - bottom;\n }\n break;\n }\n };\n switch (action) {\n // Move crop box\n case ACTION_ALL:\n left += range.x;\n top += range.y;\n break;\n // Resize crop box\n\n case ACTION_EAST:\n if (range.x >= 0 && (right >= maxWidth || aspectRatio && (top <= minTop || bottom >= maxHeight))) {\n renderable = false;\n break;\n }\n check(ACTION_EAST);\n width += range.x;\n if (width < 0) {\n action = ACTION_WEST;\n width = -width;\n left -= width;\n }\n if (aspectRatio) {\n height = width / aspectRatio;\n top += (cropBoxData.height - height) / 2;\n }\n break;\n case ACTION_NORTH:\n if (range.y <= 0 && (top <= minTop || aspectRatio && (left <= minLeft || right >= maxWidth))) {\n renderable = false;\n break;\n }\n check(ACTION_NORTH);\n height -= range.y;\n top += range.y;\n if (height < 0) {\n action = ACTION_SOUTH;\n height = -height;\n top -= height;\n }\n if (aspectRatio) {\n width = height * aspectRatio;\n left += (cropBoxData.width - width) / 2;\n }\n break;\n case ACTION_WEST:\n if (range.x <= 0 && (left <= minLeft || aspectRatio && (top <= minTop || bottom >= maxHeight))) {\n renderable = false;\n break;\n }\n check(ACTION_WEST);\n width -= range.x;\n left += range.x;\n if (width < 0) {\n action = ACTION_EAST;\n width = -width;\n left -= width;\n }\n if (aspectRatio) {\n height = width / aspectRatio;\n top += (cropBoxData.height - height) / 2;\n }\n break;\n case ACTION_SOUTH:\n if (range.y >= 0 && (bottom >= maxHeight || aspectRatio && (left <= minLeft || right >= maxWidth))) {\n renderable = false;\n break;\n }\n check(ACTION_SOUTH);\n height += range.y;\n if (height < 0) {\n action = ACTION_NORTH;\n height = -height;\n top -= height;\n }\n if (aspectRatio) {\n width = height * aspectRatio;\n left += (cropBoxData.width - width) / 2;\n }\n break;\n case ACTION_NORTH_EAST:\n if (aspectRatio) {\n if (range.y <= 0 && (top <= minTop || right >= maxWidth)) {\n renderable = false;\n break;\n }\n check(ACTION_NORTH);\n height -= range.y;\n top += range.y;\n width = height * aspectRatio;\n } else {\n check(ACTION_NORTH);\n check(ACTION_EAST);\n if (range.x >= 0) {\n if (right < maxWidth) {\n width += range.x;\n } else if (range.y <= 0 && top <= minTop) {\n renderable = false;\n }\n } else {\n width += range.x;\n }\n if (range.y <= 0) {\n if (top > minTop) {\n height -= range.y;\n top += range.y;\n }\n } else {\n height -= range.y;\n top += range.y;\n }\n }\n if (width < 0 && height < 0) {\n action = ACTION_SOUTH_WEST;\n height = -height;\n width = -width;\n top -= height;\n left -= width;\n } else if (width < 0) {\n action = ACTION_NORTH_WEST;\n width = -width;\n left -= width;\n } else if (height < 0) {\n action = ACTION_SOUTH_EAST;\n height = -height;\n top -= height;\n }\n break;\n case ACTION_NORTH_WEST:\n if (aspectRatio) {\n if (range.y <= 0 && (top <= minTop || left <= minLeft)) {\n renderable = false;\n break;\n }\n check(ACTION_NORTH);\n height -= range.y;\n top += range.y;\n width = height * aspectRatio;\n left += cropBoxData.width - width;\n } else {\n check(ACTION_NORTH);\n check(ACTION_WEST);\n if (range.x <= 0) {\n if (left > minLeft) {\n width -= range.x;\n left += range.x;\n } else if (range.y <= 0 && top <= minTop) {\n renderable = false;\n }\n } else {\n width -= range.x;\n left += range.x;\n }\n if (range.y <= 0) {\n if (top > minTop) {\n height -= range.y;\n top += range.y;\n }\n } else {\n height -= range.y;\n top += range.y;\n }\n }\n if (width < 0 && height < 0) {\n action = ACTION_SOUTH_EAST;\n height = -height;\n width = -width;\n top -= height;\n left -= width;\n } else if (width < 0) {\n action = ACTION_NORTH_EAST;\n width = -width;\n left -= width;\n } else if (height < 0) {\n action = ACTION_SOUTH_WEST;\n height = -height;\n top -= height;\n }\n break;\n case ACTION_SOUTH_WEST:\n if (aspectRatio) {\n if (range.x <= 0 && (left <= minLeft || bottom >= maxHeight)) {\n renderable = false;\n break;\n }\n check(ACTION_WEST);\n width -= range.x;\n left += range.x;\n height = width / aspectRatio;\n } else {\n check(ACTION_SOUTH);\n check(ACTION_WEST);\n if (range.x <= 0) {\n if (left > minLeft) {\n width -= range.x;\n left += range.x;\n } else if (range.y >= 0 && bottom >= maxHeight) {\n renderable = false;\n }\n } else {\n width -= range.x;\n left += range.x;\n }\n if (range.y >= 0) {\n if (bottom < maxHeight) {\n height += range.y;\n }\n } else {\n height += range.y;\n }\n }\n if (width < 0 && height < 0) {\n action = ACTION_NORTH_EAST;\n height = -height;\n width = -width;\n top -= height;\n left -= width;\n } else if (width < 0) {\n action = ACTION_SOUTH_EAST;\n width = -width;\n left -= width;\n } else if (height < 0) {\n action = ACTION_NORTH_WEST;\n height = -height;\n top -= height;\n }\n break;\n case ACTION_SOUTH_EAST:\n if (aspectRatio) {\n if (range.x >= 0 && (right >= maxWidth || bottom >= maxHeight)) {\n renderable = false;\n break;\n }\n check(ACTION_EAST);\n width += range.x;\n height = width / aspectRatio;\n } else {\n check(ACTION_SOUTH);\n check(ACTION_EAST);\n if (range.x >= 0) {\n if (right < maxWidth) {\n width += range.x;\n } else if (range.y >= 0 && bottom >= maxHeight) {\n renderable = false;\n }\n } else {\n width += range.x;\n }\n if (range.y >= 0) {\n if (bottom < maxHeight) {\n height += range.y;\n }\n } else {\n height += range.y;\n }\n }\n if (width < 0 && height < 0) {\n action = ACTION_NORTH_WEST;\n height = -height;\n width = -width;\n top -= height;\n left -= width;\n } else if (width < 0) {\n action = ACTION_SOUTH_WEST;\n width = -width;\n left -= width;\n } else if (height < 0) {\n action = ACTION_NORTH_EAST;\n height = -height;\n top -= height;\n }\n break;\n // Move canvas\n\n case ACTION_MOVE:\n this.move(range.x, range.y);\n renderable = false;\n break;\n // Zoom canvas\n\n case ACTION_ZOOM:\n this.zoom(getMaxZoomRatio(pointers), event);\n renderable = false;\n break;\n // Create crop box\n\n case ACTION_CROP:\n if (!range.x || !range.y) {\n renderable = false;\n break;\n }\n offset = getOffset(this.cropper);\n left = pointer.startX - offset.left;\n top = pointer.startY - offset.top;\n width = cropBoxData.minWidth;\n height = cropBoxData.minHeight;\n if (range.x > 0) {\n action = range.y > 0 ? ACTION_SOUTH_EAST : ACTION_NORTH_EAST;\n } else if (range.x < 0) {\n left -= width;\n action = range.y > 0 ? ACTION_SOUTH_WEST : ACTION_NORTH_WEST;\n }\n if (range.y < 0) {\n top -= height;\n } // Show the crop box if is hidden\n\n if (!this.cropped) {\n removeClass(this.cropBox, CLASS_HIDDEN);\n this.cropped = true;\n if (this.limited) {\n this.limitCropBox(true, true);\n }\n }\n break;\n }\n if (renderable) {\n cropBoxData.width = width;\n cropBoxData.height = height;\n cropBoxData.left = left;\n cropBoxData.top = top;\n this.action = action;\n this.renderCropBox();\n } // Override\n\n forEach(pointers, function (p) {\n p.startX = p.endX;\n p.startY = p.endY;\n });\n }\n };\n var methods = {\n // Show the crop box manually\n crop: function crop() {\n if (this.ready && !this.cropped && !this.disabled) {\n this.cropped = true;\n this.limitCropBox(true, true);\n if (this.options.modal) {\n addClass(this.dragBox, CLASS_MODAL);\n }\n removeClass(this.cropBox, CLASS_HIDDEN);\n this.setCropBoxData(this.initialCropBoxData);\n }\n return this;\n },\n // Reset the image and crop box to their initial states\n reset: function reset() {\n if (this.ready && !this.disabled) {\n this.imageData = assign({}, this.initialImageData);\n this.canvasData = assign({}, this.initialCanvasData);\n this.cropBoxData = assign({}, this.initialCropBoxData);\n this.renderCanvas();\n if (this.cropped) {\n this.renderCropBox();\n }\n }\n return this;\n },\n // Clear the crop box\n clear: function clear() {\n if (this.cropped && !this.disabled) {\n assign(this.cropBoxData, {\n left: 0,\n top: 0,\n width: 0,\n height: 0\n });\n this.cropped = false;\n this.renderCropBox();\n this.limitCanvas(true, true); // Render canvas after crop box rendered\n\n this.renderCanvas();\n removeClass(this.dragBox, CLASS_MODAL);\n addClass(this.cropBox, CLASS_HIDDEN);\n }\n return this;\n },\n /**\n * Replace the image's src and rebuild the cropper\n * @param {string} url - The new URL.\n * @param {boolean} [hasSameSize] - Indicate if the new image has the same size as the old one.\n * @returns {Cropper} this\n */\n replace: function replace(url) {\n var hasSameSize = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n if (!this.disabled && url) {\n if (this.isImg) {\n this.element.src = url;\n }\n if (hasSameSize) {\n this.url = url;\n this.image.src = url;\n if (this.ready) {\n this.viewBoxImage.src = url;\n forEach(this.previews, function (element) {\n element.getElementsByTagName('img')[0].src = url;\n });\n }\n } else {\n if (this.isImg) {\n this.replaced = true;\n }\n this.options.data = null;\n this.uncreate();\n this.load(url);\n }\n }\n return this;\n },\n // Enable (unfreeze) the cropper\n enable: function enable() {\n if (this.ready && this.disabled) {\n this.disabled = false;\n removeClass(this.cropper, CLASS_DISABLED);\n }\n return this;\n },\n // Disable (freeze) the cropper\n disable: function disable() {\n if (this.ready && !this.disabled) {\n this.disabled = true;\n addClass(this.cropper, CLASS_DISABLED);\n }\n return this;\n },\n /**\n * Destroy the cropper and remove the instance from the image\n * @returns {Cropper} this\n */\n destroy: function destroy() {\n var element = this.element;\n if (!element[NAMESPACE]) {\n return this;\n }\n element[NAMESPACE] = undefined;\n if (this.isImg && this.replaced) {\n element.src = this.originalUrl;\n }\n this.uncreate();\n return this;\n },\n /**\n * Move the canvas with relative offsets\n * @param {number} offsetX - The relative offset distance on the x-axis.\n * @param {number} [offsetY=offsetX] - The relative offset distance on the y-axis.\n * @returns {Cropper} this\n */\n move: function move(offsetX) {\n var offsetY = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : offsetX;\n var _this$canvasData = this.canvasData,\n left = _this$canvasData.left,\n top = _this$canvasData.top;\n return this.moveTo(isUndefined(offsetX) ? offsetX : left + Number(offsetX), isUndefined(offsetY) ? offsetY : top + Number(offsetY));\n },\n /**\n * Move the canvas to an absolute point\n * @param {number} x - The x-axis coordinate.\n * @param {number} [y=x] - The y-axis coordinate.\n * @returns {Cropper} this\n */\n moveTo: function moveTo(x) {\n var y = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : x;\n var canvasData = this.canvasData;\n var changed = false;\n x = Number(x);\n y = Number(y);\n if (this.ready && !this.disabled && this.options.movable) {\n if (isNumber(x)) {\n canvasData.left = x;\n changed = true;\n }\n if (isNumber(y)) {\n canvasData.top = y;\n changed = true;\n }\n if (changed) {\n this.renderCanvas(true);\n }\n }\n return this;\n },\n /**\n * Zoom the canvas with a relative ratio\n * @param {number} ratio - The target ratio.\n * @param {Event} _originalEvent - The original event if any.\n * @returns {Cropper} this\n */\n zoom: function zoom(ratio, _originalEvent) {\n var canvasData = this.canvasData;\n ratio = Number(ratio);\n if (ratio < 0) {\n ratio = 1 / (1 - ratio);\n } else {\n ratio = 1 + ratio;\n }\n return this.zoomTo(canvasData.width * ratio / canvasData.naturalWidth, null, _originalEvent);\n },\n /**\n * Zoom the canvas to an absolute ratio\n * @param {number} ratio - The target ratio.\n * @param {Object} pivot - The zoom pivot point coordinate.\n * @param {Event} _originalEvent - The original event if any.\n * @returns {Cropper} this\n */\n zoomTo: function zoomTo(ratio, pivot, _originalEvent) {\n var options = this.options,\n canvasData = this.canvasData;\n var width = canvasData.width,\n height = canvasData.height,\n naturalWidth = canvasData.naturalWidth,\n naturalHeight = canvasData.naturalHeight;\n ratio = Number(ratio);\n if (ratio >= 0 && this.ready && !this.disabled && options.zoomable) {\n var newWidth = naturalWidth * ratio;\n var newHeight = naturalHeight * ratio;\n if (dispatchEvent(this.element, EVENT_ZOOM, {\n ratio: ratio,\n oldRatio: width / naturalWidth,\n originalEvent: _originalEvent\n }) === false) {\n return this;\n }\n if (_originalEvent) {\n var pointers = this.pointers;\n var offset = getOffset(this.cropper);\n var center = pointers && Object.keys(pointers).length ? getPointersCenter(pointers) : {\n pageX: _originalEvent.pageX,\n pageY: _originalEvent.pageY\n }; // Zoom from the triggering point of the event\n\n canvasData.left -= (newWidth - width) * ((center.pageX - offset.left - canvasData.left) / width);\n canvasData.top -= (newHeight - height) * ((center.pageY - offset.top - canvasData.top) / height);\n } else if (isPlainObject(pivot) && isNumber(pivot.x) && isNumber(pivot.y)) {\n canvasData.left -= (newWidth - width) * ((pivot.x - canvasData.left) / width);\n canvasData.top -= (newHeight - height) * ((pivot.y - canvasData.top) / height);\n } else {\n // Zoom from the center of the canvas\n canvasData.left -= (newWidth - width) / 2;\n canvasData.top -= (newHeight - height) / 2;\n }\n canvasData.width = newWidth;\n canvasData.height = newHeight;\n this.renderCanvas(true);\n }\n return this;\n },\n /**\n * Rotate the canvas with a relative degree\n * @param {number} degree - The rotate degree.\n * @returns {Cropper} this\n */\n rotate: function rotate(degree) {\n return this.rotateTo((this.imageData.rotate || 0) + Number(degree));\n },\n /**\n * Rotate the canvas to an absolute degree\n * @param {number} degree - The rotate degree.\n * @returns {Cropper} this\n */\n rotateTo: function rotateTo(degree) {\n degree = Number(degree);\n if (isNumber(degree) && this.ready && !this.disabled && this.options.rotatable) {\n this.imageData.rotate = degree % 360;\n this.renderCanvas(true, true);\n }\n return this;\n },\n /**\n * Scale the image on the x-axis.\n * @param {number} scaleX - The scale ratio on the x-axis.\n * @returns {Cropper} this\n */\n scaleX: function scaleX(_scaleX) {\n var scaleY = this.imageData.scaleY;\n return this.scale(_scaleX, isNumber(scaleY) ? scaleY : 1);\n },\n /**\n * Scale the image on the y-axis.\n * @param {number} scaleY - The scale ratio on the y-axis.\n * @returns {Cropper} this\n */\n scaleY: function scaleY(_scaleY) {\n var scaleX = this.imageData.scaleX;\n return this.scale(isNumber(scaleX) ? scaleX : 1, _scaleY);\n },\n /**\n * Scale the image\n * @param {number} scaleX - The scale ratio on the x-axis.\n * @param {number} [scaleY=scaleX] - The scale ratio on the y-axis.\n * @returns {Cropper} this\n */\n scale: function scale(scaleX) {\n var scaleY = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : scaleX;\n var imageData = this.imageData;\n var transformed = false;\n scaleX = Number(scaleX);\n scaleY = Number(scaleY);\n if (this.ready && !this.disabled && this.options.scalable) {\n if (isNumber(scaleX)) {\n imageData.scaleX = scaleX;\n transformed = true;\n }\n if (isNumber(scaleY)) {\n imageData.scaleY = scaleY;\n transformed = true;\n }\n if (transformed) {\n this.renderCanvas(true, true);\n }\n }\n return this;\n },\n /**\n * Get the cropped area position and size data (base on the original image)\n * @param {boolean} [rounded=false] - Indicate if round the data values or not.\n * @returns {Object} The result cropped data.\n */\n getData: function getData() {\n var rounded = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n var options = this.options,\n imageData = this.imageData,\n canvasData = this.canvasData,\n cropBoxData = this.cropBoxData;\n var data;\n if (this.ready && this.cropped) {\n data = {\n x: cropBoxData.left - canvasData.left,\n y: cropBoxData.top - canvasData.top,\n width: cropBoxData.width,\n height: cropBoxData.height\n };\n var ratio = imageData.width / imageData.naturalWidth;\n forEach(data, function (n, i) {\n data[i] = n / ratio;\n });\n if (rounded) {\n // In case rounding off leads to extra 1px in right or bottom border\n // we should round the top-left corner and the dimension (#343).\n var bottom = Math.round(data.y + data.height);\n var right = Math.round(data.x + data.width);\n data.x = Math.round(data.x);\n data.y = Math.round(data.y);\n data.width = right - data.x;\n data.height = bottom - data.y;\n }\n } else {\n data = {\n x: 0,\n y: 0,\n width: 0,\n height: 0\n };\n }\n if (options.rotatable) {\n data.rotate = imageData.rotate || 0;\n }\n if (options.scalable) {\n data.scaleX = imageData.scaleX || 1;\n data.scaleY = imageData.scaleY || 1;\n }\n return data;\n },\n /**\n * Set the cropped area position and size with new data\n * @param {Object} data - The new data.\n * @returns {Cropper} this\n */\n setData: function setData(data) {\n var options = this.options,\n imageData = this.imageData,\n canvasData = this.canvasData;\n var cropBoxData = {};\n if (this.ready && !this.disabled && isPlainObject(data)) {\n var transformed = false;\n if (options.rotatable) {\n if (isNumber(data.rotate) && data.rotate !== imageData.rotate) {\n imageData.rotate = data.rotate;\n transformed = true;\n }\n }\n if (options.scalable) {\n if (isNumber(data.scaleX) && data.scaleX !== imageData.scaleX) {\n imageData.scaleX = data.scaleX;\n transformed = true;\n }\n if (isNumber(data.scaleY) && data.scaleY !== imageData.scaleY) {\n imageData.scaleY = data.scaleY;\n transformed = true;\n }\n }\n if (transformed) {\n this.renderCanvas(true, true);\n }\n var ratio = imageData.width / imageData.naturalWidth;\n if (isNumber(data.x)) {\n cropBoxData.left = data.x * ratio + canvasData.left;\n }\n if (isNumber(data.y)) {\n cropBoxData.top = data.y * ratio + canvasData.top;\n }\n if (isNumber(data.width)) {\n cropBoxData.width = data.width * ratio;\n }\n if (isNumber(data.height)) {\n cropBoxData.height = data.height * ratio;\n }\n this.setCropBoxData(cropBoxData);\n }\n return this;\n },\n /**\n * Get the container size data.\n * @returns {Object} The result container data.\n */\n getContainerData: function getContainerData() {\n return this.ready ? assign({}, this.containerData) : {};\n },\n /**\n * Get the image position and size data.\n * @returns {Object} The result image data.\n */\n getImageData: function getImageData() {\n return this.sized ? assign({}, this.imageData) : {};\n },\n /**\n * Get the canvas position and size data.\n * @returns {Object} The result canvas data.\n */\n getCanvasData: function getCanvasData() {\n var canvasData = this.canvasData;\n var data = {};\n if (this.ready) {\n forEach(['left', 'top', 'width', 'height', 'naturalWidth', 'naturalHeight'], function (n) {\n data[n] = canvasData[n];\n });\n }\n return data;\n },\n /**\n * Set the canvas position and size with new data.\n * @param {Object} data - The new canvas data.\n * @returns {Cropper} this\n */\n setCanvasData: function setCanvasData(data) {\n var canvasData = this.canvasData;\n var aspectRatio = canvasData.aspectRatio;\n if (this.ready && !this.disabled && isPlainObject(data)) {\n if (isNumber(data.left)) {\n canvasData.left = data.left;\n }\n if (isNumber(data.top)) {\n canvasData.top = data.top;\n }\n if (isNumber(data.width)) {\n canvasData.width = data.width;\n canvasData.height = data.width / aspectRatio;\n } else if (isNumber(data.height)) {\n canvasData.height = data.height;\n canvasData.width = data.height * aspectRatio;\n }\n this.renderCanvas(true);\n }\n return this;\n },\n /**\n * Get the crop box position and size data.\n * @returns {Object} The result crop box data.\n */\n getCropBoxData: function getCropBoxData() {\n var cropBoxData = this.cropBoxData;\n var data;\n if (this.ready && this.cropped) {\n data = {\n left: cropBoxData.left,\n top: cropBoxData.top,\n width: cropBoxData.width,\n height: cropBoxData.height\n };\n }\n return data || {};\n },\n /**\n * Set the crop box position and size with new data.\n * @param {Object} data - The new crop box data.\n * @returns {Cropper} this\n */\n setCropBoxData: function setCropBoxData(data) {\n var cropBoxData = this.cropBoxData;\n var aspectRatio = this.options.aspectRatio;\n var widthChanged;\n var heightChanged;\n if (this.ready && this.cropped && !this.disabled && isPlainObject(data)) {\n if (isNumber(data.left)) {\n cropBoxData.left = data.left;\n }\n if (isNumber(data.top)) {\n cropBoxData.top = data.top;\n }\n if (isNumber(data.width) && data.width !== cropBoxData.width) {\n widthChanged = true;\n cropBoxData.width = data.width;\n }\n if (isNumber(data.height) && data.height !== cropBoxData.height) {\n heightChanged = true;\n cropBoxData.height = data.height;\n }\n if (aspectRatio) {\n if (widthChanged) {\n cropBoxData.height = cropBoxData.width / aspectRatio;\n } else if (heightChanged) {\n cropBoxData.width = cropBoxData.height * aspectRatio;\n }\n }\n this.renderCropBox();\n }\n return this;\n },\n /**\n * Get a canvas drawn the cropped image.\n * @param {Object} [options={}] - The config options.\n * @returns {HTMLCanvasElement} - The result canvas.\n */\n getCroppedCanvas: function getCroppedCanvas() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n if (!this.ready || !window.HTMLCanvasElement) {\n return null;\n }\n var canvasData = this.canvasData;\n var source = getSourceCanvas(this.image, this.imageData, canvasData, options); // Returns the source canvas if it is not cropped.\n\n if (!this.cropped) {\n return source;\n }\n var _this$getData = this.getData(),\n initialX = _this$getData.x,\n initialY = _this$getData.y,\n initialWidth = _this$getData.width,\n initialHeight = _this$getData.height;\n var ratio = source.width / Math.floor(canvasData.naturalWidth);\n if (ratio !== 1) {\n initialX *= ratio;\n initialY *= ratio;\n initialWidth *= ratio;\n initialHeight *= ratio;\n }\n var aspectRatio = initialWidth / initialHeight;\n var maxSizes = getAdjustedSizes({\n aspectRatio: aspectRatio,\n width: options.maxWidth || Infinity,\n height: options.maxHeight || Infinity\n });\n var minSizes = getAdjustedSizes({\n aspectRatio: aspectRatio,\n width: options.minWidth || 0,\n height: options.minHeight || 0\n }, 'cover');\n var _getAdjustedSizes = getAdjustedSizes({\n aspectRatio: aspectRatio,\n width: options.width || (ratio !== 1 ? source.width : initialWidth),\n height: options.height || (ratio !== 1 ? source.height : initialHeight)\n }),\n width = _getAdjustedSizes.width,\n height = _getAdjustedSizes.height;\n width = Math.min(maxSizes.width, Math.max(minSizes.width, width));\n height = Math.min(maxSizes.height, Math.max(minSizes.height, height));\n var canvas = document.createElement('canvas');\n var context = canvas.getContext('2d');\n canvas.width = normalizeDecimalNumber(width);\n canvas.height = normalizeDecimalNumber(height);\n context.fillStyle = options.fillColor || 'transparent';\n context.fillRect(0, 0, width, height);\n var _options$imageSmoothi = options.imageSmoothingEnabled,\n imageSmoothingEnabled = _options$imageSmoothi === void 0 ? true : _options$imageSmoothi,\n imageSmoothingQuality = options.imageSmoothingQuality;\n context.imageSmoothingEnabled = imageSmoothingEnabled;\n if (imageSmoothingQuality) {\n context.imageSmoothingQuality = imageSmoothingQuality;\n } // https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D.drawImage\n\n var sourceWidth = source.width;\n var sourceHeight = source.height; // Source canvas parameters\n\n var srcX = initialX;\n var srcY = initialY;\n var srcWidth;\n var srcHeight; // Destination canvas parameters\n\n var dstX;\n var dstY;\n var dstWidth;\n var dstHeight;\n if (srcX <= -initialWidth || srcX > sourceWidth) {\n srcX = 0;\n srcWidth = 0;\n dstX = 0;\n dstWidth = 0;\n } else if (srcX <= 0) {\n dstX = -srcX;\n srcX = 0;\n srcWidth = Math.min(sourceWidth, initialWidth + srcX);\n dstWidth = srcWidth;\n } else if (srcX <= sourceWidth) {\n dstX = 0;\n srcWidth = Math.min(initialWidth, sourceWidth - srcX);\n dstWidth = srcWidth;\n }\n if (srcWidth <= 0 || srcY <= -initialHeight || srcY > sourceHeight) {\n srcY = 0;\n srcHeight = 0;\n dstY = 0;\n dstHeight = 0;\n } else if (srcY <= 0) {\n dstY = -srcY;\n srcY = 0;\n srcHeight = Math.min(sourceHeight, initialHeight + srcY);\n dstHeight = srcHeight;\n } else if (srcY <= sourceHeight) {\n dstY = 0;\n srcHeight = Math.min(initialHeight, sourceHeight - srcY);\n dstHeight = srcHeight;\n }\n var params = [srcX, srcY, srcWidth, srcHeight]; // Avoid \"IndexSizeError\"\n\n if (dstWidth > 0 && dstHeight > 0) {\n var scale = width / initialWidth;\n params.push(dstX * scale, dstY * scale, dstWidth * scale, dstHeight * scale);\n } // All the numerical parameters should be integer for `drawImage`\n // https://github.com/fengyuanchen/cropper/issues/476\n\n context.drawImage.apply(context, [source].concat(_toConsumableArray(params.map(function (param) {\n return Math.floor(normalizeDecimalNumber(param));\n }))));\n return canvas;\n },\n /**\n * Change the aspect ratio of the crop box.\n * @param {number} aspectRatio - The new aspect ratio.\n * @returns {Cropper} this\n */\n setAspectRatio: function setAspectRatio(aspectRatio) {\n var options = this.options;\n if (!this.disabled && !isUndefined(aspectRatio)) {\n // 0 -> NaN\n options.aspectRatio = Math.max(0, aspectRatio) || NaN;\n if (this.ready) {\n this.initCropBox();\n if (this.cropped) {\n this.renderCropBox();\n }\n }\n }\n return this;\n },\n /**\n * Change the drag mode.\n * @param {string} mode - The new drag mode.\n * @returns {Cropper} this\n */\n setDragMode: function setDragMode(mode) {\n var options = this.options,\n dragBox = this.dragBox,\n face = this.face;\n if (this.ready && !this.disabled) {\n var croppable = mode === DRAG_MODE_CROP;\n var movable = options.movable && mode === DRAG_MODE_MOVE;\n mode = croppable || movable ? mode : DRAG_MODE_NONE;\n options.dragMode = mode;\n setData(dragBox, DATA_ACTION, mode);\n toggleClass(dragBox, CLASS_CROP, croppable);\n toggleClass(dragBox, CLASS_MOVE, movable);\n if (!options.cropBoxMovable) {\n // Sync drag mode to crop box when it is not movable\n setData(face, DATA_ACTION, mode);\n toggleClass(face, CLASS_CROP, croppable);\n toggleClass(face, CLASS_MOVE, movable);\n }\n }\n return this;\n }\n };\n var AnotherCropper = WINDOW.Cropper;\n var Cropper = /*#__PURE__*/function () {\n /**\n * Create a new Cropper.\n * @param {Element} element - The target element for cropping.\n * @param {Object} [options={}] - The configuration options.\n */\n function Cropper(element) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n _classCallCheck(this, Cropper);\n if (!element || !REGEXP_TAG_NAME.test(element.tagName)) {\n throw new Error('The first argument is required and must be an or element.');\n }\n this.element = element;\n this.options = assign({}, DEFAULTS, isPlainObject(options) && options);\n this.cropped = false;\n this.disabled = false;\n this.pointers = {};\n this.ready = false;\n this.reloading = false;\n this.replaced = false;\n this.sized = false;\n this.sizing = false;\n this.init();\n }\n _createClass(Cropper, [{\n key: \"init\",\n value: function init() {\n var element = this.element;\n var tagName = element.tagName.toLowerCase();\n var url;\n if (element[NAMESPACE]) {\n return;\n }\n element[NAMESPACE] = this;\n if (tagName === 'img') {\n this.isImg = true; // e.g.: \"img/picture.jpg\"\n\n url = element.getAttribute('src') || '';\n this.originalUrl = url; // Stop when it's a blank image\n\n if (!url) {\n return;\n } // e.g.: \"https://example.com/img/picture.jpg\"\n\n url = element.src;\n } else if (tagName === 'canvas' && window.HTMLCanvasElement) {\n url = element.toDataURL();\n }\n this.load(url);\n }\n }, {\n key: \"load\",\n value: function load(url) {\n var _this = this;\n if (!url) {\n return;\n }\n this.url = url;\n this.imageData = {};\n var element = this.element,\n options = this.options;\n if (!options.rotatable && !options.scalable) {\n options.checkOrientation = false;\n } // Only IE10+ supports Typed Arrays\n\n if (!options.checkOrientation || !window.ArrayBuffer) {\n this.clone();\n return;\n } // Detect the mime type of the image directly if it is a Data URL\n\n if (REGEXP_DATA_URL.test(url)) {\n // Read ArrayBuffer from Data URL of JPEG images directly for better performance\n if (REGEXP_DATA_URL_JPEG.test(url)) {\n this.read(dataURLToArrayBuffer(url));\n } else {\n // Only a JPEG image may contains Exif Orientation information,\n // the rest types of Data URLs are not necessary to check orientation at all.\n this.clone();\n }\n return;\n } // 1. Detect the mime type of the image by a XMLHttpRequest.\n // 2. Load the image as ArrayBuffer for reading orientation if its a JPEG image.\n\n var xhr = new XMLHttpRequest();\n var clone = this.clone.bind(this);\n this.reloading = true;\n this.xhr = xhr; // 1. Cross origin requests are only supported for protocol schemes:\n // http, https, data, chrome, chrome-extension.\n // 2. Access to XMLHttpRequest from a Data URL will be blocked by CORS policy\n // in some browsers as IE11 and Safari.\n\n xhr.onabort = clone;\n xhr.onerror = clone;\n xhr.ontimeout = clone;\n xhr.onprogress = function () {\n // Abort the request directly if it not a JPEG image for better performance\n if (xhr.getResponseHeader('content-type') !== MIME_TYPE_JPEG) {\n xhr.abort();\n }\n };\n xhr.onload = function () {\n _this.read(xhr.response);\n };\n xhr.onloadend = function () {\n _this.reloading = false;\n _this.xhr = null;\n }; // Bust cache when there is a \"crossOrigin\" property to avoid browser cache error\n\n if (options.checkCrossOrigin && isCrossOriginURL(url) && element.crossOrigin) {\n url = addTimestamp(url);\n }\n xhr.open('GET', url);\n xhr.responseType = 'arraybuffer';\n xhr.withCredentials = element.crossOrigin === 'use-credentials';\n xhr.send();\n }\n }, {\n key: \"read\",\n value: function read(arrayBuffer) {\n var options = this.options,\n imageData = this.imageData; // Reset the orientation value to its default value 1\n // as some iOS browsers will render image with its orientation\n\n var orientation = resetAndGetOrientation(arrayBuffer);\n var rotate = 0;\n var scaleX = 1;\n var scaleY = 1;\n if (orientation > 1) {\n // Generate a new URL which has the default orientation value\n this.url = arrayBufferToDataURL(arrayBuffer, MIME_TYPE_JPEG);\n var _parseOrientation = parseOrientation(orientation);\n rotate = _parseOrientation.rotate;\n scaleX = _parseOrientation.scaleX;\n scaleY = _parseOrientation.scaleY;\n }\n if (options.rotatable) {\n imageData.rotate = rotate;\n }\n if (options.scalable) {\n imageData.scaleX = scaleX;\n imageData.scaleY = scaleY;\n }\n this.clone();\n }\n }, {\n key: \"clone\",\n value: function clone() {\n var element = this.element,\n url = this.url;\n var crossOrigin = element.crossOrigin;\n var crossOriginUrl = url;\n if (this.options.checkCrossOrigin && isCrossOriginURL(url)) {\n if (!crossOrigin) {\n crossOrigin = 'anonymous';\n } // Bust cache when there is not a \"crossOrigin\" property (#519)\n\n crossOriginUrl = addTimestamp(url);\n }\n this.crossOrigin = crossOrigin;\n this.crossOriginUrl = crossOriginUrl;\n var image = document.createElement('img');\n if (crossOrigin) {\n image.crossOrigin = crossOrigin;\n }\n image.src = crossOriginUrl || url;\n image.alt = element.alt || 'The image to crop';\n this.image = image;\n image.onload = this.start.bind(this);\n image.onerror = this.stop.bind(this);\n addClass(image, CLASS_HIDE);\n element.parentNode.insertBefore(image, element.nextSibling);\n }\n }, {\n key: \"start\",\n value: function start() {\n var _this2 = this;\n var image = this.image;\n image.onload = null;\n image.onerror = null;\n this.sizing = true; // Match all browsers that use WebKit as the layout engine in iOS devices,\n // such as Safari for iOS, Chrome for iOS, and in-app browsers.\n\n var isIOSWebKit = WINDOW.navigator && /(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(WINDOW.navigator.userAgent);\n var done = function done(naturalWidth, naturalHeight) {\n assign(_this2.imageData, {\n naturalWidth: naturalWidth,\n naturalHeight: naturalHeight,\n aspectRatio: naturalWidth / naturalHeight\n });\n _this2.sizing = false;\n _this2.sized = true;\n _this2.build();\n }; // Most modern browsers (excepts iOS WebKit)\n\n if (image.naturalWidth && !isIOSWebKit) {\n done(image.naturalWidth, image.naturalHeight);\n return;\n }\n var sizingImage = document.createElement('img');\n var body = document.body || document.documentElement;\n this.sizingImage = sizingImage;\n sizingImage.onload = function () {\n done(sizingImage.width, sizingImage.height);\n if (!isIOSWebKit) {\n body.removeChild(sizingImage);\n }\n };\n sizingImage.src = image.src; // iOS WebKit will convert the image automatically\n // with its orientation once append it into DOM (#279)\n\n if (!isIOSWebKit) {\n sizingImage.style.cssText = 'left:0;' + 'max-height:none!important;' + 'max-width:none!important;' + 'min-height:0!important;' + 'min-width:0!important;' + 'opacity:0;' + 'position:absolute;' + 'top:0;' + 'z-index:-1;';\n body.appendChild(sizingImage);\n }\n }\n }, {\n key: \"stop\",\n value: function stop() {\n var image = this.image;\n image.onload = null;\n image.onerror = null;\n image.parentNode.removeChild(image);\n this.image = null;\n }\n }, {\n key: \"build\",\n value: function build() {\n if (!this.sized || this.ready) {\n return;\n }\n var element = this.element,\n options = this.options,\n image = this.image; // Create cropper elements\n\n var container = element.parentNode;\n var template = document.createElement('div');\n template.innerHTML = TEMPLATE;\n var cropper = template.querySelector(\".\".concat(NAMESPACE, \"-container\"));\n var canvas = cropper.querySelector(\".\".concat(NAMESPACE, \"-canvas\"));\n var dragBox = cropper.querySelector(\".\".concat(NAMESPACE, \"-drag-box\"));\n var cropBox = cropper.querySelector(\".\".concat(NAMESPACE, \"-crop-box\"));\n var face = cropBox.querySelector(\".\".concat(NAMESPACE, \"-face\"));\n this.container = container;\n this.cropper = cropper;\n this.canvas = canvas;\n this.dragBox = dragBox;\n this.cropBox = cropBox;\n this.viewBox = cropper.querySelector(\".\".concat(NAMESPACE, \"-view-box\"));\n this.face = face;\n canvas.appendChild(image); // Hide the original image\n\n addClass(element, CLASS_HIDDEN); // Inserts the cropper after to the current image\n\n container.insertBefore(cropper, element.nextSibling); // Show the image if is hidden\n\n if (!this.isImg) {\n removeClass(image, CLASS_HIDE);\n }\n this.initPreview();\n this.bind();\n options.initialAspectRatio = Math.max(0, options.initialAspectRatio) || NaN;\n options.aspectRatio = Math.max(0, options.aspectRatio) || NaN;\n options.viewMode = Math.max(0, Math.min(3, Math.round(options.viewMode))) || 0;\n addClass(cropBox, CLASS_HIDDEN);\n if (!options.guides) {\n addClass(cropBox.getElementsByClassName(\"\".concat(NAMESPACE, \"-dashed\")), CLASS_HIDDEN);\n }\n if (!options.center) {\n addClass(cropBox.getElementsByClassName(\"\".concat(NAMESPACE, \"-center\")), CLASS_HIDDEN);\n }\n if (options.background) {\n addClass(cropper, \"\".concat(NAMESPACE, \"-bg\"));\n }\n if (!options.highlight) {\n addClass(face, CLASS_INVISIBLE);\n }\n if (options.cropBoxMovable) {\n addClass(face, CLASS_MOVE);\n setData(face, DATA_ACTION, ACTION_ALL);\n }\n if (!options.cropBoxResizable) {\n addClass(cropBox.getElementsByClassName(\"\".concat(NAMESPACE, \"-line\")), CLASS_HIDDEN);\n addClass(cropBox.getElementsByClassName(\"\".concat(NAMESPACE, \"-point\")), CLASS_HIDDEN);\n }\n this.render();\n this.ready = true;\n this.setDragMode(options.dragMode);\n if (options.autoCrop) {\n this.crop();\n }\n this.setData(options.data);\n if (isFunction(options.ready)) {\n addListener(element, EVENT_READY, options.ready, {\n once: true\n });\n }\n dispatchEvent(element, EVENT_READY);\n }\n }, {\n key: \"unbuild\",\n value: function unbuild() {\n if (!this.ready) {\n return;\n }\n this.ready = false;\n this.unbind();\n this.resetPreview();\n this.cropper.parentNode.removeChild(this.cropper);\n removeClass(this.element, CLASS_HIDDEN);\n }\n }, {\n key: \"uncreate\",\n value: function uncreate() {\n if (this.ready) {\n this.unbuild();\n this.ready = false;\n this.cropped = false;\n } else if (this.sizing) {\n this.sizingImage.onload = null;\n this.sizing = false;\n this.sized = false;\n } else if (this.reloading) {\n this.xhr.onabort = null;\n this.xhr.abort();\n } else if (this.image) {\n this.stop();\n }\n }\n /**\n * Get the no conflict cropper class.\n * @returns {Cropper} The cropper class.\n */\n }], [{\n key: \"noConflict\",\n value: function noConflict() {\n window.Cropper = AnotherCropper;\n return Cropper;\n }\n /**\n * Change the default options.\n * @param {Object} options - The new default options.\n */\n }, {\n key: \"setDefaults\",\n value: function setDefaults(options) {\n assign(DEFAULTS, isPlainObject(options) && options);\n }\n }]);\n return Cropper;\n }();\n assign(Cropper.prototype, render, preview, events, handlers, change, methods);\n return Cropper;\n});", "'use strict';\n\nmodule.exports = isMobile;\nmodule.exports.isMobile = isMobile;\nmodule.exports.default = isMobile;\nvar mobileRE = /(android|bb\\d+|meego).+mobile|armv7l|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series[46]0|samsungbrowser|symbian|treo|up\\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i;\nvar notMobileRE = /CrOS/;\nvar tabletRE = /android|ipad|playbook|silk/i;\nfunction isMobile(opts) {\n if (!opts) opts = {};\n var ua = opts.ua;\n if (!ua && typeof navigator !== 'undefined') ua = navigator.userAgent;\n if (ua && ua.headers && typeof ua.headers['user-agent'] === 'string') {\n ua = ua.headers['user-agent'];\n }\n if (typeof ua !== 'string') return false;\n var result = mobileRE.test(ua) && !notMobileRE.test(ua) || !!opts.tablet && tabletRE.test(ua);\n if (!result && opts.tablet && opts.featureDetect && navigator && navigator.maxTouchPoints > 1 && ua.indexOf('Macintosh') !== -1 && ua.indexOf('Safari') !== -1) {\n result = true;\n }\n return result;\n}", "'use strict';\n\n/**\n * Check if we're required to add a port number.\n *\n * @see https://url.spec.whatwg.org/#default-port\n * @param {Number|String} port Port number we need to check\n * @param {String} protocol Protocol we need to check against.\n * @returns {Boolean} Is it a default port for the given protocol\n * @api private\n */\nmodule.exports = function required(port, protocol) {\n protocol = protocol.split(':')[0];\n port = +port;\n if (!port) return false;\n switch (protocol) {\n case 'http':\n case 'ws':\n return port !== 80;\n case 'https':\n case 'wss':\n return port !== 443;\n case 'ftp':\n return port !== 21;\n case 'gopher':\n return port !== 70;\n case 'file':\n return false;\n }\n return port !== 0;\n};", "'use strict';\n\nvar has = Object.prototype.hasOwnProperty,\n undef;\n\n/**\n * Decode a URI encoded string.\n *\n * @param {String} input The URI encoded string.\n * @returns {String|Null} The decoded string.\n * @api private\n */\nfunction decode(input) {\n try {\n return decodeURIComponent(input.replace(/\\+/g, ' '));\n } catch (e) {\n return null;\n }\n}\n\n/**\n * Attempts to encode a given input.\n *\n * @param {String} input The string that needs to be encoded.\n * @returns {String|Null} The encoded string.\n * @api private\n */\nfunction encode(input) {\n try {\n return encodeURIComponent(input);\n } catch (e) {\n return null;\n }\n}\n\n/**\n * Simple query string parser.\n *\n * @param {String} query The query string that needs to be parsed.\n * @returns {Object}\n * @api public\n */\nfunction querystring(query) {\n var parser = /([^=?#&]+)=?([^&]*)/g,\n result = {},\n part;\n while (part = parser.exec(query)) {\n var key = decode(part[1]),\n value = decode(part[2]);\n\n //\n // Prevent overriding of existing properties. This ensures that build-in\n // methods like `toString` or __proto__ are not overriden by malicious\n // querystrings.\n //\n // In the case if failed decoding, we want to omit the key/value pairs\n // from the result.\n //\n if (key === null || value === null || key in result) continue;\n result[key] = value;\n }\n return result;\n}\n\n/**\n * Transform a query string to an object.\n *\n * @param {Object} obj Object that should be transformed.\n * @param {String} prefix Optional prefix.\n * @returns {String}\n * @api public\n */\nfunction querystringify(obj, prefix) {\n prefix = prefix || '';\n var pairs = [],\n value,\n key;\n\n //\n // Optionally prefix with a '?' if needed\n //\n if ('string' !== typeof prefix) prefix = '?';\n for (key in obj) {\n if (has.call(obj, key)) {\n value = obj[key];\n\n //\n // Edge cases where we actually want to encode the value to an empty\n // string instead of the stringified value.\n //\n if (!value && (value === null || value === undef || isNaN(value))) {\n value = '';\n }\n key = encode(key);\n value = encode(value);\n\n //\n // If we failed to encode the strings, we should bail out as we don't\n // want to add invalid strings to the query.\n //\n if (key === null || value === null) continue;\n pairs.push(key + '=' + value);\n }\n }\n return pairs.length ? prefix + pairs.join('&') : '';\n}\n\n//\n// Expose the module.\n//\nexports.stringify = querystringify;\nexports.parse = querystring;", "'use strict';\n\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar required = require('requires-port'),\n qs = require('querystringify'),\n controlOrWhitespace = /^[\\x00-\\x20\\u00a0\\u1680\\u2000-\\u200a\\u2028\\u2029\\u202f\\u205f\\u3000\\ufeff]+/,\n CRHTLF = /[\\n\\r\\t]/g,\n slashes = /^[A-Za-z][A-Za-z0-9+-.]*:\\/\\//,\n port = /:\\d+$/,\n protocolre = /^([a-z][a-z0-9.+-]*:)?(\\/\\/)?([\\\\/]+)?([\\S\\s]*)/i,\n windowsDriveLetter = /^[a-zA-Z]:/;\n\n/**\n * Remove control characters and whitespace from the beginning of a string.\n *\n * @param {Object|String} str String to trim.\n * @returns {String} A new string representing `str` stripped of control\n * characters and whitespace from its beginning.\n * @public\n */\nfunction trimLeft(str) {\n return (str ? str : '').toString().replace(controlOrWhitespace, '');\n}\n\n/**\n * These are the parse rules for the URL parser, it informs the parser\n * about:\n *\n * 0. The char it Needs to parse, if it's a string it should be done using\n * indexOf, RegExp using exec and NaN means set as current value.\n * 1. The property we should set when parsing this value.\n * 2. Indication if it's backwards or forward parsing, when set as number it's\n * the value of extra chars that should be split off.\n * 3. Inherit from location if non existing in the parser.\n * 4. `toLowerCase` the resulting value.\n */\nvar rules = [['#', 'hash'],\n// Extract from the back.\n['?', 'query'],\n// Extract from the back.\nfunction sanitize(address, url) {\n // Sanitize what is left of the address\n return isSpecial(url.protocol) ? address.replace(/\\\\/g, '/') : address;\n}, ['/', 'pathname'],\n// Extract from the back.\n['@', 'auth', 1],\n// Extract from the front.\n[NaN, 'host', undefined, 1, 1],\n// Set left over value.\n[/:(\\d*)$/, 'port', undefined, 1],\n// RegExp the back.\n[NaN, 'hostname', undefined, 1, 1] // Set left over.\n];\n\n/**\n * These properties should not be copied or inherited from. This is only needed\n * for all non blob URL's as a blob URL does not include a hash, only the\n * origin.\n *\n * @type {Object}\n * @private\n */\nvar ignore = {\n hash: 1,\n query: 1\n};\n\n/**\n * The location object differs when your code is loaded through a normal page,\n * Worker or through a worker using a blob. And with the blobble begins the\n * trouble as the location object will contain the URL of the blob, not the\n * location of the page where our code is loaded in. The actual origin is\n * encoded in the `pathname` so we can thankfully generate a good \"default\"\n * location from it so we can generate proper relative URL's again.\n *\n * @param {Object|String} loc Optional default location object.\n * @returns {Object} lolcation object.\n * @public\n */\nfunction lolcation(loc) {\n var globalVar;\n if (typeof window !== 'undefined') globalVar = window;else if (typeof global !== 'undefined') globalVar = global;else if (typeof self !== 'undefined') globalVar = self;else globalVar = {};\n var location = globalVar.location || {};\n loc = loc || location;\n var finaldestination = {},\n type = _typeof(loc),\n key;\n if ('blob:' === loc.protocol) {\n finaldestination = new Url(unescape(loc.pathname), {});\n } else if ('string' === type) {\n finaldestination = new Url(loc, {});\n for (key in ignore) delete finaldestination[key];\n } else if ('object' === type) {\n for (key in loc) {\n if (key in ignore) continue;\n finaldestination[key] = loc[key];\n }\n if (finaldestination.slashes === undefined) {\n finaldestination.slashes = slashes.test(loc.href);\n }\n }\n return finaldestination;\n}\n\n/**\n * Check whether a protocol scheme is special.\n *\n * @param {String} The protocol scheme of the URL\n * @return {Boolean} `true` if the protocol scheme is special, else `false`\n * @private\n */\nfunction isSpecial(scheme) {\n return scheme === 'file:' || scheme === 'ftp:' || scheme === 'http:' || scheme === 'https:' || scheme === 'ws:' || scheme === 'wss:';\n}\n\n/**\n * @typedef ProtocolExtract\n * @type Object\n * @property {String} protocol Protocol matched in the URL, in lowercase.\n * @property {Boolean} slashes `true` if protocol is followed by \"//\", else `false`.\n * @property {String} rest Rest of the URL that is not part of the protocol.\n */\n\n/**\n * Extract protocol information from a URL with/without double slash (\"//\").\n *\n * @param {String} address URL we want to extract from.\n * @param {Object} location\n * @return {ProtocolExtract} Extracted information.\n * @private\n */\nfunction extractProtocol(address, location) {\n address = trimLeft(address);\n address = address.replace(CRHTLF, '');\n location = location || {};\n var match = protocolre.exec(address);\n var protocol = match[1] ? match[1].toLowerCase() : '';\n var forwardSlashes = !!match[2];\n var otherSlashes = !!match[3];\n var slashesCount = 0;\n var rest;\n if (forwardSlashes) {\n if (otherSlashes) {\n rest = match[2] + match[3] + match[4];\n slashesCount = match[2].length + match[3].length;\n } else {\n rest = match[2] + match[4];\n slashesCount = match[2].length;\n }\n } else {\n if (otherSlashes) {\n rest = match[3] + match[4];\n slashesCount = match[3].length;\n } else {\n rest = match[4];\n }\n }\n if (protocol === 'file:') {\n if (slashesCount >= 2) {\n rest = rest.slice(2);\n }\n } else if (isSpecial(protocol)) {\n rest = match[4];\n } else if (protocol) {\n if (forwardSlashes) {\n rest = rest.slice(2);\n }\n } else if (slashesCount >= 2 && isSpecial(location.protocol)) {\n rest = match[4];\n }\n return {\n protocol: protocol,\n slashes: forwardSlashes || isSpecial(protocol),\n slashesCount: slashesCount,\n rest: rest\n };\n}\n\n/**\n * Resolve a relative URL pathname against a base URL pathname.\n *\n * @param {String} relative Pathname of the relative URL.\n * @param {String} base Pathname of the base URL.\n * @return {String} Resolved pathname.\n * @private\n */\nfunction resolve(relative, base) {\n if (relative === '') return base;\n var path = (base || '/').split('/').slice(0, -1).concat(relative.split('/')),\n i = path.length,\n last = path[i - 1],\n unshift = false,\n up = 0;\n while (i--) {\n if (path[i] === '.') {\n path.splice(i, 1);\n } else if (path[i] === '..') {\n path.splice(i, 1);\n up++;\n } else if (up) {\n if (i === 0) unshift = true;\n path.splice(i, 1);\n up--;\n }\n }\n if (unshift) path.unshift('');\n if (last === '.' || last === '..') path.push('');\n return path.join('/');\n}\n\n/**\n * The actual URL instance. Instead of returning an object we've opted-in to\n * create an actual constructor as it's much more memory efficient and\n * faster and it pleases my OCD.\n *\n * It is worth noting that we should not use `URL` as class name to prevent\n * clashes with the global URL instance that got introduced in browsers.\n *\n * @constructor\n * @param {String} address URL we want to parse.\n * @param {Object|String} [location] Location defaults for relative paths.\n * @param {Boolean|Function} [parser] Parser for the query string.\n * @private\n */\nfunction Url(address, location, parser) {\n address = trimLeft(address);\n address = address.replace(CRHTLF, '');\n if (!(this instanceof Url)) {\n return new Url(address, location, parser);\n }\n var relative,\n extracted,\n parse,\n instruction,\n index,\n key,\n instructions = rules.slice(),\n type = _typeof(location),\n url = this,\n i = 0;\n\n //\n // The following if statements allows this module two have compatibility with\n // 2 different API:\n //\n // 1. Node.js's `url.parse` api which accepts a URL, boolean as arguments\n // where the boolean indicates that the query string should also be parsed.\n //\n // 2. The `URL` interface of the browser which accepts a URL, object as\n // arguments. The supplied object will be used as default values / fall-back\n // for relative paths.\n //\n if ('object' !== type && 'string' !== type) {\n parser = location;\n location = null;\n }\n if (parser && 'function' !== typeof parser) parser = qs.parse;\n location = lolcation(location);\n\n //\n // Extract protocol information before running the instructions.\n //\n extracted = extractProtocol(address || '', location);\n relative = !extracted.protocol && !extracted.slashes;\n url.slashes = extracted.slashes || relative && location.slashes;\n url.protocol = extracted.protocol || location.protocol || '';\n address = extracted.rest;\n\n //\n // When the authority component is absent the URL starts with a path\n // component.\n //\n if (extracted.protocol === 'file:' && (extracted.slashesCount !== 2 || windowsDriveLetter.test(address)) || !extracted.slashes && (extracted.protocol || extracted.slashesCount < 2 || !isSpecial(url.protocol))) {\n instructions[3] = [/(.*)/, 'pathname'];\n }\n for (; i < instructions.length; i++) {\n instruction = instructions[i];\n if (typeof instruction === 'function') {\n address = instruction(address, url);\n continue;\n }\n parse = instruction[0];\n key = instruction[1];\n if (parse !== parse) {\n url[key] = address;\n } else if ('string' === typeof parse) {\n index = parse === '@' ? address.lastIndexOf(parse) : address.indexOf(parse);\n if (~index) {\n if ('number' === typeof instruction[2]) {\n url[key] = address.slice(0, index);\n address = address.slice(index + instruction[2]);\n } else {\n url[key] = address.slice(index);\n address = address.slice(0, index);\n }\n }\n } else if (index = parse.exec(address)) {\n url[key] = index[1];\n address = address.slice(0, index.index);\n }\n url[key] = url[key] || (relative && instruction[3] ? location[key] || '' : '');\n\n //\n // Hostname, host and protocol should be lowercased so they can be used to\n // create a proper `origin`.\n //\n if (instruction[4]) url[key] = url[key].toLowerCase();\n }\n\n //\n // Also parse the supplied query string in to an object. If we're supplied\n // with a custom parser as function use that instead of the default build-in\n // parser.\n //\n if (parser) url.query = parser(url.query);\n\n //\n // If the URL is relative, resolve the pathname against the base URL.\n //\n if (relative && location.slashes && url.pathname.charAt(0) !== '/' && (url.pathname !== '' || location.pathname !== '')) {\n url.pathname = resolve(url.pathname, location.pathname);\n }\n\n //\n // Default to a / for pathname if none exists. This normalizes the URL\n // to always have a /\n //\n if (url.pathname.charAt(0) !== '/' && isSpecial(url.protocol)) {\n url.pathname = '/' + url.pathname;\n }\n\n //\n // We should not add port numbers if they are already the default port number\n // for a given protocol. As the host also contains the port number we're going\n // override it with the hostname which contains no port number.\n //\n if (!required(url.port, url.protocol)) {\n url.host = url.hostname;\n url.port = '';\n }\n\n //\n // Parse down the `auth` for the username and password.\n //\n url.username = url.password = '';\n if (url.auth) {\n index = url.auth.indexOf(':');\n if (~index) {\n url.username = url.auth.slice(0, index);\n url.username = encodeURIComponent(decodeURIComponent(url.username));\n url.password = url.auth.slice(index + 1);\n url.password = encodeURIComponent(decodeURIComponent(url.password));\n } else {\n url.username = encodeURIComponent(decodeURIComponent(url.auth));\n }\n url.auth = url.password ? url.username + ':' + url.password : url.username;\n }\n url.origin = url.protocol !== 'file:' && isSpecial(url.protocol) && url.host ? url.protocol + '//' + url.host : 'null';\n\n //\n // The href is just the compiled result.\n //\n url.href = url.toString();\n}\n\n/**\n * This is convenience method for changing properties in the URL instance to\n * insure that they all propagate correctly.\n *\n * @param {String} part Property we need to adjust.\n * @param {Mixed} value The newly assigned value.\n * @param {Boolean|Function} fn When setting the query, it will be the function\n * used to parse the query.\n * When setting the protocol, double slash will be\n * removed from the final url if it is true.\n * @returns {URL} URL instance for chaining.\n * @public\n */\nfunction set(part, value, fn) {\n var url = this;\n switch (part) {\n case 'query':\n if ('string' === typeof value && value.length) {\n value = (fn || qs.parse)(value);\n }\n url[part] = value;\n break;\n case 'port':\n url[part] = value;\n if (!required(value, url.protocol)) {\n url.host = url.hostname;\n url[part] = '';\n } else if (value) {\n url.host = url.hostname + ':' + value;\n }\n break;\n case 'hostname':\n url[part] = value;\n if (url.port) value += ':' + url.port;\n url.host = value;\n break;\n case 'host':\n url[part] = value;\n if (port.test(value)) {\n value = value.split(':');\n url.port = value.pop();\n url.hostname = value.join(':');\n } else {\n url.hostname = value;\n url.port = '';\n }\n break;\n case 'protocol':\n url.protocol = value.toLowerCase();\n url.slashes = !fn;\n break;\n case 'pathname':\n case 'hash':\n if (value) {\n var char = part === 'pathname' ? '/' : '#';\n url[part] = value.charAt(0) !== char ? char + value : value;\n } else {\n url[part] = value;\n }\n break;\n case 'username':\n case 'password':\n url[part] = encodeURIComponent(value);\n break;\n case 'auth':\n var index = value.indexOf(':');\n if (~index) {\n url.username = value.slice(0, index);\n url.username = encodeURIComponent(decodeURIComponent(url.username));\n url.password = value.slice(index + 1);\n url.password = encodeURIComponent(decodeURIComponent(url.password));\n } else {\n url.username = encodeURIComponent(decodeURIComponent(value));\n }\n }\n for (var i = 0; i < rules.length; i++) {\n var ins = rules[i];\n if (ins[4]) url[ins[1]] = url[ins[1]].toLowerCase();\n }\n url.auth = url.password ? url.username + ':' + url.password : url.username;\n url.origin = url.protocol !== 'file:' && isSpecial(url.protocol) && url.host ? url.protocol + '//' + url.host : 'null';\n url.href = url.toString();\n return url;\n}\n\n/**\n * Transform the properties back in to a valid and full URL string.\n *\n * @param {Function} stringify Optional query stringify function.\n * @returns {String} Compiled version of the URL.\n * @public\n */\nfunction toString(stringify) {\n if (!stringify || 'function' !== typeof stringify) stringify = qs.stringify;\n var query,\n url = this,\n host = url.host,\n protocol = url.protocol;\n if (protocol && protocol.charAt(protocol.length - 1) !== ':') protocol += ':';\n var result = protocol + (url.protocol && url.slashes || isSpecial(url.protocol) ? '//' : '');\n if (url.username) {\n result += url.username;\n if (url.password) result += ':' + url.password;\n result += '@';\n } else if (url.password) {\n result += ':' + url.password;\n result += '@';\n } else if (url.protocol !== 'file:' && isSpecial(url.protocol) && !host && url.pathname !== '/') {\n //\n // Add back the empty userinfo, otherwise the original invalid URL\n // might be transformed into a valid one with `url.pathname` as host.\n //\n result += '@';\n }\n\n //\n // Trailing colon is removed from `url.host` when it is parsed. If it still\n // ends with a colon, then add back the trailing colon that was removed. This\n // prevents an invalid URL from being transformed into a valid one.\n //\n if (host[host.length - 1] === ':' || port.test(url.hostname) && !url.port) {\n host += ':';\n }\n result += host + url.pathname;\n query = 'object' === _typeof(url.query) ? stringify(url.query) : url.query;\n if (query) result += '?' !== query.charAt(0) ? '?' + query : query;\n if (url.hash) result += url.hash;\n return result;\n}\nUrl.prototype = {\n set: set,\n toString: toString\n};\n\n//\n// Expose the URL parser and some additional properties that might be useful for\n// others or testing.\n//\nUrl.extractProtocol = extractProtocol;\nUrl.location = lolcation;\nUrl.trimLeft = trimLeft;\nUrl.qs = qs;\nmodule.exports = Url;", "/**\r\n * Expose `Emitter`.\r\n */\n\nif (typeof module !== 'undefined') {\n module.exports = Emitter;\n}\n\n/**\r\n * Initialize a new `Emitter`.\r\n *\r\n * @api public\r\n */\n\nfunction Emitter(obj) {\n if (obj) return mixin(obj);\n}\n;\n\n/**\r\n * Mixin the emitter properties.\r\n *\r\n * @param {Object} obj\r\n * @return {Object}\r\n * @api private\r\n */\n\nfunction mixin(obj) {\n for (var key in Emitter.prototype) {\n obj[key] = Emitter.prototype[key];\n }\n return obj;\n}\n\n/**\r\n * Listen on the given `event` with `fn`.\r\n *\r\n * @param {String} event\r\n * @param {Function} fn\r\n * @return {Emitter}\r\n * @api public\r\n */\n\nEmitter.prototype.on = Emitter.prototype.addEventListener = function (event, fn) {\n this._callbacks = this._callbacks || {};\n (this._callbacks['$' + event] = this._callbacks['$' + event] || []).push(fn);\n return this;\n};\n\n/**\r\n * Adds an `event` listener that will be invoked a single\r\n * time then automatically removed.\r\n *\r\n * @param {String} event\r\n * @param {Function} fn\r\n * @return {Emitter}\r\n * @api public\r\n */\n\nEmitter.prototype.once = function (event, fn) {\n function on() {\n this.off(event, on);\n fn.apply(this, arguments);\n }\n on.fn = fn;\n this.on(event, on);\n return this;\n};\n\n/**\r\n * Remove the given callback for `event` or all\r\n * registered callbacks.\r\n *\r\n * @param {String} event\r\n * @param {Function} fn\r\n * @return {Emitter}\r\n * @api public\r\n */\n\nEmitter.prototype.off = Emitter.prototype.removeListener = Emitter.prototype.removeAllListeners = Emitter.prototype.removeEventListener = function (event, fn) {\n this._callbacks = this._callbacks || {};\n\n // all\n if (0 == arguments.length) {\n this._callbacks = {};\n return this;\n }\n\n // specific event\n var callbacks = this._callbacks['$' + event];\n if (!callbacks) return this;\n\n // remove all handlers\n if (1 == arguments.length) {\n delete this._callbacks['$' + event];\n return this;\n }\n\n // remove specific handler\n var cb;\n for (var i = 0; i < callbacks.length; i++) {\n cb = callbacks[i];\n if (cb === fn || cb.fn === fn) {\n callbacks.splice(i, 1);\n break;\n }\n }\n\n // Remove event specific arrays for event types that no\n // one is subscribed for to avoid memory leak.\n if (callbacks.length === 0) {\n delete this._callbacks['$' + event];\n }\n return this;\n};\n\n/**\r\n * Emit `event` with the given args.\r\n *\r\n * @param {String} event\r\n * @param {Mixed} ...\r\n * @return {Emitter}\r\n */\n\nEmitter.prototype.emit = function (event) {\n this._callbacks = this._callbacks || {};\n var args = new Array(arguments.length - 1),\n callbacks = this._callbacks['$' + event];\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n if (callbacks) {\n callbacks = callbacks.slice(0);\n for (var i = 0, len = callbacks.length; i < len; ++i) {\n callbacks[i].apply(this, args);\n }\n }\n return this;\n};\n\n/**\r\n * Return array of callbacks for `event`.\r\n *\r\n * @param {String} event\r\n * @return {Array}\r\n * @api public\r\n */\n\nEmitter.prototype.listeners = function (event) {\n this._callbacks = this._callbacks || {};\n return this._callbacks['$' + event] || [];\n};\n\n/**\r\n * Check if this emitter has `event` handlers.\r\n *\r\n * @param {String} event\r\n * @return {Boolean}\r\n * @api public\r\n */\n\nEmitter.prototype.hasListeners = function (event) {\n return !!this.listeners(event).length;\n};", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n/*!\n * Compressor.js v1.2.1\n * https://fengyuanchen.github.io/compressorjs\n *\n * Copyright 2018-present Chen Fengyuan\n * Released under the MIT license\n *\n * Date: 2023-02-28T14:09:41.732Z\n */\n\n(function (global, factory) {\n (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Compressor = factory());\n})(this, function () {\n 'use strict';\n\n function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n return keys;\n }\n function _objectSpread2(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n return target;\n }\n function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);\n }\n }\n function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n }\n function _defineProperty(obj, key, value) {\n key = _toPropertyKey(key);\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n return obj;\n }\n function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n }\n function _toPrimitive(input, hint) {\n if (_typeof(input) !== \"object\" || input === null) return input;\n var prim = input[Symbol.toPrimitive];\n if (prim !== undefined) {\n var res = prim.call(input, hint || \"default\");\n if (_typeof(res) !== \"object\") return res;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (hint === \"string\" ? String : Number)(input);\n }\n function _toPropertyKey(arg) {\n var key = _toPrimitive(arg, \"string\");\n return _typeof(key) === \"symbol\" ? key : String(key);\n }\n var canvasToBlob = {\n exports: {}\n };\n\n /*\n * JavaScript Canvas to Blob\n * https://github.com/blueimp/JavaScript-Canvas-to-Blob\n *\n * Copyright 2012, Sebastian Tschan\n * https://blueimp.net\n *\n * Licensed under the MIT license:\n * https://opensource.org/licenses/MIT\n *\n * Based on stackoverflow user Stoive's code snippet:\n * http://stackoverflow.com/q/4998908\n */\n (function (module) {\n if (typeof window === 'undefined') {\n return;\n }\n (function (window) {\n var CanvasPrototype = window.HTMLCanvasElement && window.HTMLCanvasElement.prototype;\n var hasBlobConstructor = window.Blob && function () {\n try {\n return Boolean(new Blob());\n } catch (e) {\n return false;\n }\n }();\n var hasArrayBufferViewSupport = hasBlobConstructor && window.Uint8Array && function () {\n try {\n return new Blob([new Uint8Array(100)]).size === 100;\n } catch (e) {\n return false;\n }\n }();\n var BlobBuilder = window.BlobBuilder || window.WebKitBlobBuilder || window.MozBlobBuilder || window.MSBlobBuilder;\n var dataURIPattern = /^data:((.*?)(;charset=.*?)?)(;base64)?,/;\n var dataURLtoBlob = (hasBlobConstructor || BlobBuilder) && window.atob && window.ArrayBuffer && window.Uint8Array && function (dataURI) {\n var matches, mediaType, isBase64, dataString, byteString, arrayBuffer, intArray, i, bb;\n // Parse the dataURI components as per RFC 2397\n matches = dataURI.match(dataURIPattern);\n if (!matches) {\n throw new Error('invalid data URI');\n }\n // Default to text/plain;charset=US-ASCII\n mediaType = matches[2] ? matches[1] : 'text/plain' + (matches[3] || ';charset=US-ASCII');\n isBase64 = !!matches[4];\n dataString = dataURI.slice(matches[0].length);\n if (isBase64) {\n // Convert base64 to raw binary data held in a string:\n byteString = atob(dataString);\n } else {\n // Convert base64/URLEncoded data component to raw binary:\n byteString = decodeURIComponent(dataString);\n }\n // Write the bytes of the string to an ArrayBuffer:\n arrayBuffer = new ArrayBuffer(byteString.length);\n intArray = new Uint8Array(arrayBuffer);\n for (i = 0; i < byteString.length; i += 1) {\n intArray[i] = byteString.charCodeAt(i);\n }\n // Write the ArrayBuffer (or ArrayBufferView) to a blob:\n if (hasBlobConstructor) {\n return new Blob([hasArrayBufferViewSupport ? intArray : arrayBuffer], {\n type: mediaType\n });\n }\n bb = new BlobBuilder();\n bb.append(arrayBuffer);\n return bb.getBlob(mediaType);\n };\n if (window.HTMLCanvasElement && !CanvasPrototype.toBlob) {\n if (CanvasPrototype.mozGetAsFile) {\n CanvasPrototype.toBlob = function (callback, type, quality) {\n var self = this;\n setTimeout(function () {\n if (quality && CanvasPrototype.toDataURL && dataURLtoBlob) {\n callback(dataURLtoBlob(self.toDataURL(type, quality)));\n } else {\n callback(self.mozGetAsFile('blob', type));\n }\n });\n };\n } else if (CanvasPrototype.toDataURL && dataURLtoBlob) {\n if (CanvasPrototype.msToBlob) {\n CanvasPrototype.toBlob = function (callback, type, quality) {\n var self = this;\n setTimeout(function () {\n if ((type && type !== 'image/png' || quality) && CanvasPrototype.toDataURL && dataURLtoBlob) {\n callback(dataURLtoBlob(self.toDataURL(type, quality)));\n } else {\n callback(self.msToBlob(type));\n }\n });\n };\n } else {\n CanvasPrototype.toBlob = function (callback, type, quality) {\n var self = this;\n setTimeout(function () {\n callback(dataURLtoBlob(self.toDataURL(type, quality)));\n });\n };\n }\n }\n }\n if (module.exports) {\n module.exports = dataURLtoBlob;\n } else {\n window.dataURLtoBlob = dataURLtoBlob;\n }\n })(window);\n })(canvasToBlob);\n var toBlob = canvasToBlob.exports;\n var isBlob = function isBlob(value) {\n if (typeof Blob === 'undefined') {\n return false;\n }\n return value instanceof Blob || Object.prototype.toString.call(value) === '[object Blob]';\n };\n var DEFAULTS = {\n /**\n * Indicates if output the original image instead of the compressed one\n * when the size of the compressed image is greater than the original one's\n * @type {boolean}\n */\n strict: true,\n /**\n * Indicates if read the image's Exif Orientation information,\n * and then rotate or flip the image automatically.\n * @type {boolean}\n */\n checkOrientation: true,\n /**\n * Indicates if retain the image's Exif information after compressed.\n * @type {boolean}\n */\n retainExif: false,\n /**\n * The max width of the output image.\n * @type {number}\n */\n maxWidth: Infinity,\n /**\n * The max height of the output image.\n * @type {number}\n */\n maxHeight: Infinity,\n /**\n * The min width of the output image.\n * @type {number}\n */\n minWidth: 0,\n /**\n * The min height of the output image.\n * @type {number}\n */\n minHeight: 0,\n /**\n * The width of the output image.\n * If not specified, the natural width of the source image will be used.\n * @type {number}\n */\n width: undefined,\n /**\n * The height of the output image.\n * If not specified, the natural height of the source image will be used.\n * @type {number}\n */\n height: undefined,\n /**\n * Sets how the size of the image should be resized to the container\n * specified by the `width` and `height` options.\n * @type {string}\n */\n resize: 'none',\n /**\n * The quality of the output image.\n * It must be a number between `0` and `1`,\n * and only available for `image/jpeg` and `image/webp` images.\n * Check out {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob canvas.toBlob}.\n * @type {number}\n */\n quality: 0.8,\n /**\n * The mime type of the output image.\n * By default, the original mime type of the source image file will be used.\n * @type {string}\n */\n mimeType: 'auto',\n /**\n * Files whose file type is included in this list,\n * and whose file size exceeds the `convertSize` value will be converted to JPEGs.\n * @type {string\uFF5CArray}\n */\n convertTypes: ['image/png'],\n /**\n * PNG files over this size (5 MB by default) will be converted to JPEGs.\n * To disable this, just set the value to `Infinity`.\n * @type {number}\n */\n convertSize: 5000000,\n /**\n * The hook function to execute before draw the image into the canvas for compression.\n * @type {Function}\n * @param {CanvasRenderingContext2D} context - The 2d rendering context of the canvas.\n * @param {HTMLCanvasElement} canvas - The canvas for compression.\n * @example\n * function (context, canvas) {\n * context.fillStyle = '#fff';\n * }\n */\n beforeDraw: null,\n /**\n * The hook function to execute after drew the image into the canvas for compression.\n * @type {Function}\n * @param {CanvasRenderingContext2D} context - The 2d rendering context of the canvas.\n * @param {HTMLCanvasElement} canvas - The canvas for compression.\n * @example\n * function (context, canvas) {\n * context.filter = 'grayscale(100%)';\n * }\n */\n drew: null,\n /**\n * The hook function to execute when success to compress the image.\n * @type {Function}\n * @param {File} file - The compressed image File object.\n * @example\n * function (file) {\n * console.log(file);\n * }\n */\n success: null,\n /**\n * The hook function to execute when fail to compress the image.\n * @type {Function}\n * @param {Error} err - An Error object.\n * @example\n * function (err) {\n * console.log(err.message);\n * }\n */\n error: null\n };\n var IS_BROWSER = typeof window !== 'undefined' && typeof window.document !== 'undefined';\n var WINDOW = IS_BROWSER ? window : {};\n\n /**\n * Check if the given value is a positive number.\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if the given value is a positive number, else `false`.\n */\n var isPositiveNumber = function isPositiveNumber(value) {\n return value > 0 && value < Infinity;\n };\n var slice = Array.prototype.slice;\n\n /**\n * Convert array-like or iterable object to an array.\n * @param {*} value - The value to convert.\n * @returns {Array} Returns a new array.\n */\n function toArray(value) {\n return Array.from ? Array.from(value) : slice.call(value);\n }\n var REGEXP_IMAGE_TYPE = /^image\\/.+$/;\n\n /**\n * Check if the given value is a mime type of image.\n * @param {*} value - The value to check.\n * @returns {boolean} Returns `true` if the given is a mime type of image, else `false`.\n */\n function isImageType(value) {\n return REGEXP_IMAGE_TYPE.test(value);\n }\n\n /**\n * Convert image type to extension.\n * @param {string} value - The image type to convert.\n * @returns {boolean} Returns the image extension.\n */\n function imageTypeToExtension(value) {\n var extension = isImageType(value) ? value.substr(6) : '';\n if (extension === 'jpeg') {\n extension = 'jpg';\n }\n return \".\".concat(extension);\n }\n var fromCharCode = String.fromCharCode;\n\n /**\n * Get string from char code in data view.\n * @param {DataView} dataView - The data view for read.\n * @param {number} start - The start index.\n * @param {number} length - The read length.\n * @returns {string} The read result.\n */\n function getStringFromCharCode(dataView, start, length) {\n var str = '';\n var i;\n length += start;\n for (i = start; i < length; i += 1) {\n str += fromCharCode(dataView.getUint8(i));\n }\n return str;\n }\n var btoa = WINDOW.btoa;\n\n /**\n * Transform array buffer to Data URL.\n * @param {ArrayBuffer} arrayBuffer - The array buffer to transform.\n * @param {string} mimeType - The mime type of the Data URL.\n * @returns {string} The result Data URL.\n */\n function arrayBufferToDataURL(arrayBuffer, mimeType) {\n var chunks = [];\n var chunkSize = 8192;\n var uint8 = new Uint8Array(arrayBuffer);\n while (uint8.length > 0) {\n // XXX: Babel's `toConsumableArray` helper will throw error in IE or Safari 9\n // eslint-disable-next-line prefer-spread\n chunks.push(fromCharCode.apply(null, toArray(uint8.subarray(0, chunkSize))));\n uint8 = uint8.subarray(chunkSize);\n }\n return \"data:\".concat(mimeType, \";base64,\").concat(btoa(chunks.join('')));\n }\n\n /**\n * Get orientation value from given array buffer.\n * @param {ArrayBuffer} arrayBuffer - The array buffer to read.\n * @returns {number} The read orientation value.\n */\n function resetAndGetOrientation(arrayBuffer) {\n var dataView = new DataView(arrayBuffer);\n var orientation;\n\n // Ignores range error when the image does not have correct Exif information\n try {\n var littleEndian;\n var app1Start;\n var ifdStart;\n\n // Only handle JPEG image (start by 0xFFD8)\n if (dataView.getUint8(0) === 0xFF && dataView.getUint8(1) === 0xD8) {\n var length = dataView.byteLength;\n var offset = 2;\n while (offset + 1 < length) {\n if (dataView.getUint8(offset) === 0xFF && dataView.getUint8(offset + 1) === 0xE1) {\n app1Start = offset;\n break;\n }\n offset += 1;\n }\n }\n if (app1Start) {\n var exifIDCode = app1Start + 4;\n var tiffOffset = app1Start + 10;\n if (getStringFromCharCode(dataView, exifIDCode, 4) === 'Exif') {\n var endianness = dataView.getUint16(tiffOffset);\n littleEndian = endianness === 0x4949;\n if (littleEndian || endianness === 0x4D4D /* bigEndian */) {\n if (dataView.getUint16(tiffOffset + 2, littleEndian) === 0x002A) {\n var firstIFDOffset = dataView.getUint32(tiffOffset + 4, littleEndian);\n if (firstIFDOffset >= 0x00000008) {\n ifdStart = tiffOffset + firstIFDOffset;\n }\n }\n }\n }\n }\n if (ifdStart) {\n var _length = dataView.getUint16(ifdStart, littleEndian);\n var _offset;\n var i;\n for (i = 0; i < _length; i += 1) {\n _offset = ifdStart + i * 12 + 2;\n if (dataView.getUint16(_offset, littleEndian) === 0x0112 /* Orientation */) {\n // 8 is the offset of the current tag's value\n _offset += 8;\n\n // Get the original orientation value\n orientation = dataView.getUint16(_offset, littleEndian);\n\n // Override the orientation with its default value\n dataView.setUint16(_offset, 1, littleEndian);\n break;\n }\n }\n }\n } catch (e) {\n orientation = 1;\n }\n return orientation;\n }\n\n /**\n * Parse Exif Orientation value.\n * @param {number} orientation - The orientation to parse.\n * @returns {Object} The parsed result.\n */\n function parseOrientation(orientation) {\n var rotate = 0;\n var scaleX = 1;\n var scaleY = 1;\n switch (orientation) {\n // Flip horizontal\n case 2:\n scaleX = -1;\n break;\n\n // Rotate left 180\u00B0\n case 3:\n rotate = -180;\n break;\n\n // Flip vertical\n case 4:\n scaleY = -1;\n break;\n\n // Flip vertical and rotate right 90\u00B0\n case 5:\n rotate = 90;\n scaleY = -1;\n break;\n\n // Rotate right 90\u00B0\n case 6:\n rotate = 90;\n break;\n\n // Flip horizontal and rotate right 90\u00B0\n case 7:\n rotate = 90;\n scaleX = -1;\n break;\n\n // Rotate left 90\u00B0\n case 8:\n rotate = -90;\n break;\n }\n return {\n rotate: rotate,\n scaleX: scaleX,\n scaleY: scaleY\n };\n }\n var REGEXP_DECIMALS = /\\.\\d*(?:0|9){12}\\d*$/;\n\n /**\n * Normalize decimal number.\n * Check out {@link https://0.30000000000000004.com/}\n * @param {number} value - The value to normalize.\n * @param {number} [times=100000000000] - The times for normalizing.\n * @returns {number} Returns the normalized number.\n */\n function normalizeDecimalNumber(value) {\n var times = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 100000000000;\n return REGEXP_DECIMALS.test(value) ? Math.round(value * times) / times : value;\n }\n\n /**\n * Get the max sizes in a rectangle under the given aspect ratio.\n * @param {Object} data - The original sizes.\n * @param {string} [type='contain'] - The adjust type.\n * @returns {Object} The result sizes.\n */\n function getAdjustedSizes(_ref) {\n var aspectRatio = _ref.aspectRatio,\n height = _ref.height,\n width = _ref.width;\n var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'none';\n var isValidWidth = isPositiveNumber(width);\n var isValidHeight = isPositiveNumber(height);\n if (isValidWidth && isValidHeight) {\n var adjustedWidth = height * aspectRatio;\n if ((type === 'contain' || type === 'none') && adjustedWidth > width || type === 'cover' && adjustedWidth < width) {\n height = width / aspectRatio;\n } else {\n width = height * aspectRatio;\n }\n } else if (isValidWidth) {\n height = width / aspectRatio;\n } else if (isValidHeight) {\n width = height * aspectRatio;\n }\n return {\n width: width,\n height: height\n };\n }\n\n /**\n * Get Exif information from the given array buffer.\n * @param {ArrayBuffer} arrayBuffer - The array buffer to read.\n * @returns {Array} The read Exif information.\n */\n function getExif(arrayBuffer) {\n var array = toArray(new Uint8Array(arrayBuffer));\n var length = array.length;\n var segments = [];\n var start = 0;\n while (start + 3 < length) {\n var value = array[start];\n var next = array[start + 1];\n\n // SOS (Start of Scan)\n if (value === 0xFF && next === 0xDA) {\n break;\n }\n\n // SOI (Start of Image)\n if (value === 0xFF && next === 0xD8) {\n start += 2;\n } else {\n var offset = array[start + 2] * 256 + array[start + 3];\n var end = start + offset + 2;\n var segment = array.slice(start, end);\n segments.push(segment);\n start = end;\n }\n }\n return segments.reduce(function (exifArray, current) {\n if (current[0] === 0xFF && current[1] === 0xE1) {\n return exifArray.concat(current);\n }\n return exifArray;\n }, []);\n }\n\n /**\n * Insert Exif information into the given array buffer.\n * @param {ArrayBuffer} arrayBuffer - The array buffer to transform.\n * @param {Array} exifArray - The Exif information to insert.\n * @returns {ArrayBuffer} The transformed array buffer.\n */\n function insertExif(arrayBuffer, exifArray) {\n var array = toArray(new Uint8Array(arrayBuffer));\n if (array[2] !== 0xFF || array[3] !== 0xE0) {\n return arrayBuffer;\n }\n var app0Length = array[4] * 256 + array[5];\n var newArrayBuffer = [0xFF, 0xD8].concat(exifArray, array.slice(4 + app0Length));\n return new Uint8Array(newArrayBuffer);\n }\n var ArrayBuffer$1 = WINDOW.ArrayBuffer,\n FileReader = WINDOW.FileReader;\n var URL = WINDOW.URL || WINDOW.webkitURL;\n var REGEXP_EXTENSION = /\\.\\w+$/;\n var AnotherCompressor = WINDOW.Compressor;\n\n /**\n * Creates a new image compressor.\n * @class\n */\n var Compressor = /*#__PURE__*/function () {\n /**\n * The constructor of Compressor.\n * @param {File|Blob} file - The target image file for compressing.\n * @param {Object} [options] - The options for compressing.\n */\n function Compressor(file, options) {\n _classCallCheck(this, Compressor);\n this.file = file;\n this.exif = [];\n this.image = new Image();\n this.options = _objectSpread2(_objectSpread2({}, DEFAULTS), options);\n this.aborted = false;\n this.result = null;\n this.init();\n }\n _createClass(Compressor, [{\n key: \"init\",\n value: function init() {\n var _this = this;\n var file = this.file,\n options = this.options;\n if (!isBlob(file)) {\n this.fail(new Error('The first argument must be a File or Blob object.'));\n return;\n }\n var mimeType = file.type;\n if (!isImageType(mimeType)) {\n this.fail(new Error('The first argument must be an image File or Blob object.'));\n return;\n }\n if (!URL || !FileReader) {\n this.fail(new Error('The current browser does not support image compression.'));\n return;\n }\n if (!ArrayBuffer$1) {\n options.checkOrientation = false;\n options.retainExif = false;\n }\n var isJPEGImage = mimeType === 'image/jpeg';\n var checkOrientation = isJPEGImage && options.checkOrientation;\n var retainExif = isJPEGImage && options.retainExif;\n if (URL && !checkOrientation && !retainExif) {\n this.load({\n url: URL.createObjectURL(file)\n });\n } else {\n var reader = new FileReader();\n this.reader = reader;\n reader.onload = function (_ref) {\n var target = _ref.target;\n var result = target.result;\n var data = {};\n var orientation = 1;\n if (checkOrientation) {\n // Reset the orientation value to its default value 1\n // as some iOS browsers will render image with its orientation\n orientation = resetAndGetOrientation(result);\n if (orientation > 1) {\n _extends(data, parseOrientation(orientation));\n }\n }\n if (retainExif) {\n _this.exif = getExif(result);\n }\n if (checkOrientation || retainExif) {\n if (!URL\n\n // Generate a new URL with the default orientation value 1.\n || orientation > 1) {\n data.url = arrayBufferToDataURL(result, mimeType);\n } else {\n data.url = URL.createObjectURL(file);\n }\n } else {\n data.url = result;\n }\n _this.load(data);\n };\n reader.onabort = function () {\n _this.fail(new Error('Aborted to read the image with FileReader.'));\n };\n reader.onerror = function () {\n _this.fail(new Error('Failed to read the image with FileReader.'));\n };\n reader.onloadend = function () {\n _this.reader = null;\n };\n if (checkOrientation || retainExif) {\n reader.readAsArrayBuffer(file);\n } else {\n reader.readAsDataURL(file);\n }\n }\n }\n }, {\n key: \"load\",\n value: function load(data) {\n var _this2 = this;\n var file = this.file,\n image = this.image;\n image.onload = function () {\n _this2.draw(_objectSpread2(_objectSpread2({}, data), {}, {\n naturalWidth: image.naturalWidth,\n naturalHeight: image.naturalHeight\n }));\n };\n image.onabort = function () {\n _this2.fail(new Error('Aborted to load the image.'));\n };\n image.onerror = function () {\n _this2.fail(new Error('Failed to load the image.'));\n };\n\n // Match all browsers that use WebKit as the layout engine in iOS devices,\n // such as Safari for iOS, Chrome for iOS, and in-app browsers.\n if (WINDOW.navigator && /(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(WINDOW.navigator.userAgent)) {\n // Fix the `The operation is insecure` error (#57)\n image.crossOrigin = 'anonymous';\n }\n image.alt = file.name;\n image.src = data.url;\n }\n }, {\n key: \"draw\",\n value: function draw(_ref2) {\n var _this3 = this;\n var naturalWidth = _ref2.naturalWidth,\n naturalHeight = _ref2.naturalHeight,\n _ref2$rotate = _ref2.rotate,\n rotate = _ref2$rotate === void 0 ? 0 : _ref2$rotate,\n _ref2$scaleX = _ref2.scaleX,\n scaleX = _ref2$scaleX === void 0 ? 1 : _ref2$scaleX,\n _ref2$scaleY = _ref2.scaleY,\n scaleY = _ref2$scaleY === void 0 ? 1 : _ref2$scaleY;\n var file = this.file,\n image = this.image,\n options = this.options;\n var canvas = document.createElement('canvas');\n var context = canvas.getContext('2d');\n var is90DegreesRotated = Math.abs(rotate) % 180 === 90;\n var resizable = (options.resize === 'contain' || options.resize === 'cover') && isPositiveNumber(options.width) && isPositiveNumber(options.height);\n var maxWidth = Math.max(options.maxWidth, 0) || Infinity;\n var maxHeight = Math.max(options.maxHeight, 0) || Infinity;\n var minWidth = Math.max(options.minWidth, 0) || 0;\n var minHeight = Math.max(options.minHeight, 0) || 0;\n var aspectRatio = naturalWidth / naturalHeight;\n var width = options.width,\n height = options.height;\n if (is90DegreesRotated) {\n var _ref3 = [maxHeight, maxWidth];\n maxWidth = _ref3[0];\n maxHeight = _ref3[1];\n var _ref4 = [minHeight, minWidth];\n minWidth = _ref4[0];\n minHeight = _ref4[1];\n var _ref5 = [height, width];\n width = _ref5[0];\n height = _ref5[1];\n }\n if (resizable) {\n aspectRatio = width / height;\n }\n var _getAdjustedSizes = getAdjustedSizes({\n aspectRatio: aspectRatio,\n width: maxWidth,\n height: maxHeight\n }, 'contain');\n maxWidth = _getAdjustedSizes.width;\n maxHeight = _getAdjustedSizes.height;\n var _getAdjustedSizes2 = getAdjustedSizes({\n aspectRatio: aspectRatio,\n width: minWidth,\n height: minHeight\n }, 'cover');\n minWidth = _getAdjustedSizes2.width;\n minHeight = _getAdjustedSizes2.height;\n if (resizable) {\n var _getAdjustedSizes3 = getAdjustedSizes({\n aspectRatio: aspectRatio,\n width: width,\n height: height\n }, options.resize);\n width = _getAdjustedSizes3.width;\n height = _getAdjustedSizes3.height;\n } else {\n var _getAdjustedSizes4 = getAdjustedSizes({\n aspectRatio: aspectRatio,\n width: width,\n height: height\n });\n var _getAdjustedSizes4$wi = _getAdjustedSizes4.width;\n width = _getAdjustedSizes4$wi === void 0 ? naturalWidth : _getAdjustedSizes4$wi;\n var _getAdjustedSizes4$he = _getAdjustedSizes4.height;\n height = _getAdjustedSizes4$he === void 0 ? naturalHeight : _getAdjustedSizes4$he;\n }\n width = Math.floor(normalizeDecimalNumber(Math.min(Math.max(width, minWidth), maxWidth)));\n height = Math.floor(normalizeDecimalNumber(Math.min(Math.max(height, minHeight), maxHeight)));\n var destX = -width / 2;\n var destY = -height / 2;\n var destWidth = width;\n var destHeight = height;\n var params = [];\n if (resizable) {\n var srcX = 0;\n var srcY = 0;\n var srcWidth = naturalWidth;\n var srcHeight = naturalHeight;\n var _getAdjustedSizes5 = getAdjustedSizes({\n aspectRatio: aspectRatio,\n width: naturalWidth,\n height: naturalHeight\n }, {\n contain: 'cover',\n cover: 'contain'\n }[options.resize]);\n srcWidth = _getAdjustedSizes5.width;\n srcHeight = _getAdjustedSizes5.height;\n srcX = (naturalWidth - srcWidth) / 2;\n srcY = (naturalHeight - srcHeight) / 2;\n params.push(srcX, srcY, srcWidth, srcHeight);\n }\n params.push(destX, destY, destWidth, destHeight);\n if (is90DegreesRotated) {\n var _ref6 = [height, width];\n width = _ref6[0];\n height = _ref6[1];\n }\n canvas.width = width;\n canvas.height = height;\n if (!isImageType(options.mimeType)) {\n options.mimeType = file.type;\n }\n var fillStyle = 'transparent';\n\n // Converts PNG files over the `convertSize` to JPEGs.\n if (file.size > options.convertSize && options.convertTypes.indexOf(options.mimeType) >= 0) {\n options.mimeType = 'image/jpeg';\n }\n var isJPEGImage = options.mimeType === 'image/jpeg';\n if (isJPEGImage) {\n fillStyle = '#fff';\n }\n\n // Override the default fill color (#000, black)\n context.fillStyle = fillStyle;\n context.fillRect(0, 0, width, height);\n if (options.beforeDraw) {\n options.beforeDraw.call(this, context, canvas);\n }\n if (this.aborted) {\n return;\n }\n context.save();\n context.translate(width / 2, height / 2);\n context.rotate(rotate * Math.PI / 180);\n context.scale(scaleX, scaleY);\n context.drawImage.apply(context, [image].concat(params));\n context.restore();\n if (options.drew) {\n options.drew.call(this, context, canvas);\n }\n if (this.aborted) {\n return;\n }\n var callback = function callback(blob) {\n if (!_this3.aborted) {\n var done = function done(result) {\n return _this3.done({\n naturalWidth: naturalWidth,\n naturalHeight: naturalHeight,\n result: result\n });\n };\n if (blob && isJPEGImage && options.retainExif && _this3.exif && _this3.exif.length > 0) {\n var next = function next(arrayBuffer) {\n return done(toBlob(arrayBufferToDataURL(insertExif(arrayBuffer, _this3.exif), options.mimeType)));\n };\n if (blob.arrayBuffer) {\n blob.arrayBuffer().then(next).catch(function () {\n _this3.fail(new Error('Failed to read the compressed image with Blob.arrayBuffer().'));\n });\n } else {\n var reader = new FileReader();\n _this3.reader = reader;\n reader.onload = function (_ref7) {\n var target = _ref7.target;\n next(target.result);\n };\n reader.onabort = function () {\n _this3.fail(new Error('Aborted to read the compressed image with FileReader.'));\n };\n reader.onerror = function () {\n _this3.fail(new Error('Failed to read the compressed image with FileReader.'));\n };\n reader.onloadend = function () {\n _this3.reader = null;\n };\n reader.readAsArrayBuffer(blob);\n }\n } else {\n done(blob);\n }\n }\n };\n if (canvas.toBlob) {\n canvas.toBlob(callback, options.mimeType, options.quality);\n } else {\n callback(toBlob(canvas.toDataURL(options.mimeType, options.quality)));\n }\n }\n }, {\n key: \"done\",\n value: function done(_ref8) {\n var naturalWidth = _ref8.naturalWidth,\n naturalHeight = _ref8.naturalHeight,\n result = _ref8.result;\n var file = this.file,\n image = this.image,\n options = this.options;\n if (URL && image.src.indexOf('blob:') === 0) {\n URL.revokeObjectURL(image.src);\n }\n if (result) {\n // Returns original file if the result is greater than it and without size related options\n if (options.strict && !options.retainExif && result.size > file.size && options.mimeType === file.type && !(options.width > naturalWidth || options.height > naturalHeight || options.minWidth > naturalWidth || options.minHeight > naturalHeight || options.maxWidth < naturalWidth || options.maxHeight < naturalHeight)) {\n result = file;\n } else {\n var date = new Date();\n result.lastModified = date.getTime();\n result.lastModifiedDate = date;\n result.name = file.name;\n\n // Convert the extension to match its type\n if (result.name && result.type !== file.type) {\n result.name = result.name.replace(REGEXP_EXTENSION, imageTypeToExtension(result.type));\n }\n }\n } else {\n // Returns original file if the result is null in some cases.\n result = file;\n }\n this.result = result;\n if (options.success) {\n options.success.call(this, result);\n }\n }\n }, {\n key: \"fail\",\n value: function fail(err) {\n var options = this.options;\n if (options.error) {\n options.error.call(this, err);\n } else {\n throw err;\n }\n }\n }, {\n key: \"abort\",\n value: function abort() {\n if (!this.aborted) {\n this.aborted = true;\n if (this.reader) {\n this.reader.abort();\n } else if (!this.image.complete) {\n this.image.onload = null;\n this.image.onabort();\n } else {\n this.fail(new Error('The compression process has been aborted.'));\n }\n }\n }\n\n /**\n * Get the no conflict compressor class.\n * @returns {Compressor} The compressor class.\n */\n }], [{\n key: \"noConflict\",\n value: function noConflict() {\n window.Compressor = AnotherCompressor;\n return Compressor;\n }\n\n /**\n * Change the default options.\n * @param {Object} options - The new default options.\n */\n }, {\n key: \"setDefaults\",\n value: function setDefaults(options) {\n _extends(DEFAULTS, options);\n }\n }]);\n return Compressor;\n }();\n return Compressor;\n});", "// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/es.symbol.constructor');\nrequire('../modules/es.symbol.for');\nrequire('../modules/es.symbol.key-for');\nrequire('../modules/es.json.stringify');\nrequire('../modules/es.object.get-own-property-symbols');", "// `Symbol.prototype.description` getter\n// https://tc39.es/ecma262/#sec-symbol.prototype.description\n'use strict';\n\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar toString = require('../internals/to-string');\nvar defineProperty = require('../internals/object-define-property').f;\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar NativeSymbol = global.Symbol;\nvar SymbolPrototype = NativeSymbol && NativeSymbol.prototype;\nif (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) ||\n// Safari 12 bug\nNativeSymbol().description !== undefined)) {\n var EmptyStringDescriptionStore = {};\n // wrap Symbol constructor for correct work with undefined description\n var SymbolWrapper = function _Symbol() {\n var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]);\n var result = isPrototypeOf(SymbolPrototype, this) ? new NativeSymbol(description)\n // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)'\n : description === undefined ? NativeSymbol() : NativeSymbol(description);\n if (description === '') EmptyStringDescriptionStore[result] = true;\n return result;\n };\n copyConstructorProperties(SymbolWrapper, NativeSymbol);\n SymbolWrapper.prototype = SymbolPrototype;\n SymbolPrototype.constructor = SymbolWrapper;\n var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)';\n var symbolToString = uncurryThis(SymbolPrototype.toString);\n var symbolValueOf = uncurryThis(SymbolPrototype.valueOf);\n var regexp = /^Symbol\\((.*)\\)[^)]+$/;\n var replace = uncurryThis(''.replace);\n var stringSlice = uncurryThis(''.slice);\n defineProperty(SymbolPrototype, 'description', {\n configurable: true,\n get: function description() {\n var symbol = symbolValueOf(this);\n var string = symbolToString(symbol);\n if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';\n var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');\n return desc === '' ? undefined : desc;\n }\n });\n $({\n global: true,\n constructor: true,\n forced: true\n }, {\n Symbol: SymbolWrapper\n });\n}", "var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.asyncIterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.asynciterator\ndefineWellKnownSymbol('asyncIterator');", "var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.hasInstance` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.hasinstance\ndefineWellKnownSymbol('hasInstance');", "var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.isConcatSpreadable` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.isconcatspreadable\ndefineWellKnownSymbol('isConcatSpreadable');", "var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.iterator` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.iterator\ndefineWellKnownSymbol('iterator');", "var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.match` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.match\ndefineWellKnownSymbol('match');", "var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.matchAll` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.matchall\ndefineWellKnownSymbol('matchAll');", "var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.replace` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.replace\ndefineWellKnownSymbol('replace');", "var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.search` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.search\ndefineWellKnownSymbol('search');", "var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.species` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.species\ndefineWellKnownSymbol('species');", "var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.split` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.split\ndefineWellKnownSymbol('split');", "var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\nvar defineSymbolToPrimitive = require('../internals/symbol-define-to-primitive');\n\n// `Symbol.toPrimitive` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.toprimitive\ndefineWellKnownSymbol('toPrimitive');\n\n// `Symbol.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive\ndefineSymbolToPrimitive();", "var getBuiltIn = require('../internals/get-built-in');\nvar defineWellKnownSymbol = require('../internals/define-well-known-symbol');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// `Symbol.toStringTag` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.tostringtag\ndefineWellKnownSymbol('toStringTag');\n\n// `Symbol.prototype[@@toStringTag]` property\n// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag\nsetToStringTag(getBuiltIn('Symbol'), 'Symbol');", "var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.unscopables` well-known symbol\n// https://tc39.es/ecma262/#sec-symbol.unscopables\ndefineWellKnownSymbol('unscopables');", "/* eslint-disable no-unused-vars -- required for functions `.length` */\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar wrapErrorConstructorWithCause = require('../internals/wrap-error-constructor-with-cause');\nvar WEB_ASSEMBLY = 'WebAssembly';\nvar WebAssembly = global[WEB_ASSEMBLY];\nvar FORCED = Error('e', {\n cause: 7\n}).cause !== 7;\nvar exportGlobalErrorCauseWrapper = function exportGlobalErrorCauseWrapper(ERROR_NAME, wrapper) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED);\n $({\n global: true,\n constructor: true,\n arity: 1,\n forced: FORCED\n }, O);\n};\nvar exportWebAssemblyErrorCauseWrapper = function exportWebAssemblyErrorCauseWrapper(ERROR_NAME, wrapper) {\n if (WebAssembly && WebAssembly[ERROR_NAME]) {\n var O = {};\n O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED);\n $({\n target: WEB_ASSEMBLY,\n stat: true,\n constructor: true,\n arity: 1,\n forced: FORCED\n }, O);\n }\n};\n\n// https://github.com/tc39/proposal-error-cause\nexportGlobalErrorCauseWrapper('Error', function (init) {\n return function Error(message) {\n return apply(init, this, arguments);\n };\n});\nexportGlobalErrorCauseWrapper('EvalError', function (init) {\n return function EvalError(message) {\n return apply(init, this, arguments);\n };\n});\nexportGlobalErrorCauseWrapper('RangeError', function (init) {\n return function RangeError(message) {\n return apply(init, this, arguments);\n };\n});\nexportGlobalErrorCauseWrapper('ReferenceError', function (init) {\n return function ReferenceError(message) {\n return apply(init, this, arguments);\n };\n});\nexportGlobalErrorCauseWrapper('SyntaxError', function (init) {\n return function SyntaxError(message) {\n return apply(init, this, arguments);\n };\n});\nexportGlobalErrorCauseWrapper('TypeError', function (init) {\n return function TypeError(message) {\n return apply(init, this, arguments);\n };\n});\nexportGlobalErrorCauseWrapper('URIError', function (init) {\n return function URIError(message) {\n return apply(init, this, arguments);\n };\n});\nexportWebAssemblyErrorCauseWrapper('CompileError', function (init) {\n return function CompileError(message) {\n return apply(init, this, arguments);\n };\n});\nexportWebAssemblyErrorCauseWrapper('LinkError', function (init) {\n return function LinkError(message) {\n return apply(init, this, arguments);\n };\n});\nexportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) {\n return function RuntimeError(message) {\n return apply(init, this, arguments);\n };\n});", "// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.aggregate-error.constructor');", "var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar fails = require('../internals/fails');\nvar wrapErrorConstructorWithCause = require('../internals/wrap-error-constructor-with-cause');\nvar AGGREGATE_ERROR = 'AggregateError';\nvar $AggregateError = getBuiltIn(AGGREGATE_ERROR);\nvar FORCED = !fails(function () {\n return $AggregateError([1]).errors[0] !== 1;\n}) && fails(function () {\n return $AggregateError([1], AGGREGATE_ERROR, {\n cause: 7\n }).cause !== 7;\n});\n\n// https://github.com/tc39/proposal-error-cause\n$({\n global: true,\n constructor: true,\n arity: 2,\n forced: FORCED\n}, {\n AggregateError: wrapErrorConstructorWithCause(AGGREGATE_ERROR, function (init) {\n // eslint-disable-next-line no-unused-vars -- required for functions `.length`\n return function AggregateError(errors, message) {\n return apply(init, this, arguments);\n };\n }, FORCED, true)\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.at` method\n// https://github.com/tc39/proposal-relative-indexing-method\n$({\n target: 'Array',\n proto: true\n}, {\n at: function at(index) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var relativeIndex = toIntegerOrInfinity(index);\n var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;\n return k < 0 || k >= len ? undefined : O[k];\n }\n});\naddToUnscopables('at');", "'use strict';\n\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isArray = require('../internals/is-array');\nvar isObject = require('../internals/is-object');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar createProperty = require('../internals/create-property');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar V8_VERSION = require('../internals/engine-v8-version');\nvar IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');\n\n// We can't use this feature detection in V8 since it causes\n// deoptimization and serious performance degradation\n// https://github.com/zloirock/core-js/issues/679\nvar IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {\n var array = [];\n array[IS_CONCAT_SPREADABLE] = false;\n return array.concat()[0] !== array;\n});\nvar SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');\nvar isConcatSpreadable = function isConcatSpreadable(O) {\n if (!isObject(O)) return false;\n var spreadable = O[IS_CONCAT_SPREADABLE];\n return spreadable !== undefined ? !!spreadable : isArray(O);\n};\nvar FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;\n\n// `Array.prototype.concat` method\n// https://tc39.es/ecma262/#sec-array.prototype.concat\n// with adding support of @@isConcatSpreadable and @@species\n$({\n target: 'Array',\n proto: true,\n arity: 1,\n forced: FORCED\n}, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n concat: function concat(arg) {\n var O = toObject(this);\n var A = arraySpeciesCreate(O, 0);\n var n = 0;\n var i, k, length, len, E;\n for (i = -1, length = arguments.length; i < length; i++) {\n E = i === -1 ? O : arguments[i];\n if (isConcatSpreadable(E)) {\n len = lengthOfArrayLike(E);\n doesNotExceedSafeInteger(n + len);\n for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);\n } else {\n doesNotExceedSafeInteger(n + 1);\n createProperty(A, n++, E);\n }\n }\n A.length = n;\n return A;\n }\n});", "var $ = require('../internals/export');\nvar copyWithin = require('../internals/array-copy-within');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.copyWithin` method\n// https://tc39.es/ecma262/#sec-array.prototype.copywithin\n$({\n target: 'Array',\n proto: true\n}, {\n copyWithin: copyWithin\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('copyWithin');", "var $ = require('../internals/export');\nvar fill = require('../internals/array-fill');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.fill` method\n// https://tc39.es/ecma262/#sec-array.prototype.fill\n$({\n target: 'Array',\n proto: true\n}, {\n fill: fill\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('fill');", "'use strict';\n\nvar $ = require('../internals/export');\nvar $filter = require('../internals/array-iteration').filter;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');\n\n// `Array.prototype.filter` method\n// https://tc39.es/ecma262/#sec-array.prototype.filter\n// with adding support of @@species\n$({\n target: 'Array',\n proto: true,\n forced: !HAS_SPECIES_SUPPORT\n}, {\n filter: function filter(callbackfn /* , thisArg */) {\n return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar $find = require('../internals/array-iteration').find;\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar FIND = 'find';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\nif (FIND in []) Array(1)[FIND](function () {\n SKIPS_HOLES = false;\n});\n\n// `Array.prototype.find` method\n// https://tc39.es/ecma262/#sec-array.prototype.find\n$({\n target: 'Array',\n proto: true,\n forced: SKIPS_HOLES\n}, {\n find: function find(callbackfn /* , that = undefined */) {\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND);", "'use strict';\n\nvar $ = require('../internals/export');\nvar $findIndex = require('../internals/array-iteration').findIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\n// Shouldn't skip holes\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () {\n SKIPS_HOLES = false;\n});\n\n// `Array.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-array.prototype.findindex\n$({\n target: 'Array',\n proto: true,\n forced: SKIPS_HOLES\n}, {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);", "'use strict';\n\nvar $ = require('../internals/export');\nvar $findLast = require('../internals/array-iteration-from-last').findLast;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.findLast` method\n// https://github.com/tc39/proposal-array-find-from-last\n$({\n target: 'Array',\n proto: true\n}, {\n findLast: function findLast(callbackfn /* , that = undefined */) {\n return $findLast(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\naddToUnscopables('findLast');", "'use strict';\n\nvar $ = require('../internals/export');\nvar $findLastIndex = require('../internals/array-iteration-from-last').findLastIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.findLastIndex` method\n// https://github.com/tc39/proposal-array-find-from-last\n$({\n target: 'Array',\n proto: true\n}, {\n findLastIndex: function findLastIndex(callbackfn /* , that = undefined */) {\n return $findLastIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\naddToUnscopables('findLastIndex');", "'use strict';\n\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flat` method\n// https://tc39.es/ecma262/#sec-array.prototype.flat\n$({\n target: 'Array',\n proto: true\n}, {\n flat: function flat( /* depthArg = 1 */\n ) {\n var depthArg = arguments.length ? arguments[0] : undefined;\n var O = toObject(this);\n var sourceLen = lengthOfArrayLike(O);\n var A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity(depthArg));\n return A;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar flattenIntoArray = require('../internals/flatten-into-array');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar arraySpeciesCreate = require('../internals/array-species-create');\n\n// `Array.prototype.flatMap` method\n// https://tc39.es/ecma262/#sec-array.prototype.flatmap\n$({\n target: 'Array',\n proto: true\n}, {\n flatMap: function flatMap(callbackfn /* , thisArg */) {\n var O = toObject(this);\n var sourceLen = lengthOfArrayLike(O);\n var A;\n aCallable(callbackfn);\n A = arraySpeciesCreate(O, 0);\n A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return A;\n }\n});", "var $ = require('../internals/export');\nvar from = require('../internals/array-from');\nvar checkCorrectnessOfIteration = require('../internals/check-correctness-of-iteration');\nvar INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) {\n // eslint-disable-next-line es-x/no-array-from -- required for testing\n Array.from(iterable);\n});\n\n// `Array.from` method\n// https://tc39.es/ecma262/#sec-array.from\n$({\n target: 'Array',\n stat: true,\n forced: INCORRECT_ITERATION\n}, {\n from: from\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar fails = require('../internals/fails');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// FF99+ bug\nvar BROKEN_ON_SPARSE = fails(function () {\n return !Array(1).includes();\n});\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({\n target: 'Array',\n proto: true,\n forced: BROKEN_ON_SPARSE\n}, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');", "// adding this directive to make sure the output file is using strict mode:\n\n'use strict';\n\nimport \"core-js/modules/es.symbol.js\";\nimport \"core-js/modules/es.symbol.description.js\";\nimport \"core-js/modules/es.symbol.async-iterator.js\";\nimport \"core-js/modules/es.symbol.has-instance.js\";\nimport \"core-js/modules/es.symbol.is-concat-spreadable.js\";\nimport \"core-js/modules/es.symbol.iterator.js\";\nimport \"core-js/modules/es.symbol.match.js\";\nimport \"core-js/modules/es.symbol.match-all.js\";\nimport \"core-js/modules/es.symbol.replace.js\";\nimport \"core-js/modules/es.symbol.search.js\";\nimport \"core-js/modules/es.symbol.species.js\";\nimport \"core-js/modules/es.symbol.split.js\";\nimport \"core-js/modules/es.symbol.to-primitive.js\";\nimport \"core-js/modules/es.symbol.to-string-tag.js\";\nimport \"core-js/modules/es.symbol.unscopables.js\";\nimport \"core-js/modules/es.error.cause.js\";\nimport \"core-js/modules/es.aggregate-error.js\";\nimport \"core-js/modules/es.aggregate-error.cause.js\";\nimport \"core-js/modules/es.array.at.js\";\nimport \"core-js/modules/es.array.concat.js\";\nimport \"core-js/modules/es.array.copy-within.js\";\nimport \"core-js/modules/es.array.fill.js\";\nimport \"core-js/modules/es.array.filter.js\";\nimport \"core-js/modules/es.array.find.js\";\nimport \"core-js/modules/es.array.find-index.js\";\nimport \"core-js/modules/es.array.find-last.js\";\nimport \"core-js/modules/es.array.find-last-index.js\";\nimport \"core-js/modules/es.array.flat.js\";\nimport \"core-js/modules/es.array.flat-map.js\";\nimport \"core-js/modules/es.array.from.js\";\nimport \"core-js/modules/es.array.includes.js\";\nimport \"core-js/modules/es.array.iterator.js\";\nimport \"core-js/modules/es.array.join.js\";\nimport \"core-js/modules/es.array.map.js\";\nimport \"core-js/modules/es.array.of.js\";\nimport \"core-js/modules/es.array.push.js\";\nimport \"core-js/modules/es.array.slice.js\";\nimport \"core-js/modules/es.array.sort.js\";\nimport \"core-js/modules/es.array.species.js\";\nimport \"core-js/modules/es.array.splice.js\";\nimport \"core-js/modules/es.array.unscopables.flat.js\";\nimport \"core-js/modules/es.array.unscopables.flat-map.js\";\nimport \"core-js/modules/es.array-buffer.constructor.js\";\nimport \"core-js/modules/es.date.to-primitive.js\";\nimport \"core-js/modules/es.function.has-instance.js\";\nimport \"core-js/modules/es.function.name.js\";\nimport \"core-js/modules/es.global-this.js\";\nimport \"core-js/modules/es.json.stringify.js\";\nimport \"core-js/modules/es.json.to-string-tag.js\";\nimport \"core-js/modules/es.map.js\";\nimport \"core-js/modules/es.math.acosh.js\";\nimport \"core-js/modules/es.math.asinh.js\";\nimport \"core-js/modules/es.math.atanh.js\";\nimport \"core-js/modules/es.math.cbrt.js\";\nimport \"core-js/modules/es.math.clz32.js\";\nimport \"core-js/modules/es.math.cosh.js\";\nimport \"core-js/modules/es.math.expm1.js\";\nimport \"core-js/modules/es.math.fround.js\";\nimport \"core-js/modules/es.math.hypot.js\";\nimport \"core-js/modules/es.math.imul.js\";\nimport \"core-js/modules/es.math.log10.js\";\nimport \"core-js/modules/es.math.log1p.js\";\nimport \"core-js/modules/es.math.log2.js\";\nimport \"core-js/modules/es.math.sign.js\";\nimport \"core-js/modules/es.math.sinh.js\";\nimport \"core-js/modules/es.math.tanh.js\";\nimport \"core-js/modules/es.math.to-string-tag.js\";\nimport \"core-js/modules/es.math.trunc.js\";\nimport \"core-js/modules/es.number.constructor.js\";\nimport \"core-js/modules/es.number.epsilon.js\";\nimport \"core-js/modules/es.number.is-finite.js\";\nimport \"core-js/modules/es.number.is-integer.js\";\nimport \"core-js/modules/es.number.is-nan.js\";\nimport \"core-js/modules/es.number.is-safe-integer.js\";\nimport \"core-js/modules/es.number.max-safe-integer.js\";\nimport \"core-js/modules/es.number.min-safe-integer.js\";\nimport \"core-js/modules/es.number.parse-float.js\";\nimport \"core-js/modules/es.number.parse-int.js\";\nimport \"core-js/modules/es.number.to-exponential.js\";\nimport \"core-js/modules/es.number.to-fixed.js\";\nimport \"core-js/modules/es.object.assign.js\";\nimport \"core-js/modules/es.object.define-getter.js\";\nimport \"core-js/modules/es.object.define-setter.js\";\nimport \"core-js/modules/es.object.entries.js\";\nimport \"core-js/modules/es.object.freeze.js\";\nimport \"core-js/modules/es.object.from-entries.js\";\nimport \"core-js/modules/es.object.get-own-property-descriptor.js\";\nimport \"core-js/modules/es.object.get-own-property-descriptors.js\";\nimport \"core-js/modules/es.object.get-own-property-names.js\";\nimport \"core-js/modules/es.object.get-prototype-of.js\";\nimport \"core-js/modules/es.object.has-own.js\";\nimport \"core-js/modules/es.object.is.js\";\nimport \"core-js/modules/es.object.is-extensible.js\";\nimport \"core-js/modules/es.object.is-frozen.js\";\nimport \"core-js/modules/es.object.is-sealed.js\";\nimport \"core-js/modules/es.object.keys.js\";\nimport \"core-js/modules/es.object.lookup-getter.js\";\nimport \"core-js/modules/es.object.lookup-setter.js\";\nimport \"core-js/modules/es.object.prevent-extensions.js\";\nimport \"core-js/modules/es.object.seal.js\";\nimport \"core-js/modules/es.object.to-string.js\";\nimport \"core-js/modules/es.object.values.js\";\nimport \"core-js/modules/es.promise.js\";\nimport \"core-js/modules/es.promise.all-settled.js\";\nimport \"core-js/modules/es.promise.any.js\";\nimport \"core-js/modules/es.promise.finally.js\";\nimport \"core-js/modules/es.reflect.apply.js\";\nimport \"core-js/modules/es.reflect.construct.js\";\nimport \"core-js/modules/es.reflect.define-property.js\";\nimport \"core-js/modules/es.reflect.delete-property.js\";\nimport \"core-js/modules/es.reflect.get.js\";\nimport \"core-js/modules/es.reflect.get-own-property-descriptor.js\";\nimport \"core-js/modules/es.reflect.get-prototype-of.js\";\nimport \"core-js/modules/es.reflect.has.js\";\nimport \"core-js/modules/es.reflect.is-extensible.js\";\nimport \"core-js/modules/es.reflect.own-keys.js\";\nimport \"core-js/modules/es.reflect.prevent-extensions.js\";\nimport \"core-js/modules/es.reflect.set.js\";\nimport \"core-js/modules/es.reflect.set-prototype-of.js\";\nimport \"core-js/modules/es.reflect.to-string-tag.js\";\nimport \"core-js/modules/es.regexp.constructor.js\";\nimport \"core-js/modules/es.regexp.dot-all.js\";\nimport \"core-js/modules/es.regexp.exec.js\";\nimport \"core-js/modules/es.regexp.flags.js\";\nimport \"core-js/modules/es.regexp.sticky.js\";\nimport \"core-js/modules/es.regexp.test.js\";\nimport \"core-js/modules/es.regexp.to-string.js\";\nimport \"core-js/modules/es.set.js\";\nimport \"core-js/modules/es.string.at-alternative.js\";\nimport \"core-js/modules/es.string.code-point-at.js\";\nimport \"core-js/modules/es.string.ends-with.js\";\nimport \"core-js/modules/es.string.from-code-point.js\";\nimport \"core-js/modules/es.string.includes.js\";\nimport \"core-js/modules/es.string.iterator.js\";\nimport \"core-js/modules/es.string.match.js\";\nimport \"core-js/modules/es.string.match-all.js\";\nimport \"core-js/modules/es.string.pad-end.js\";\nimport \"core-js/modules/es.string.pad-start.js\";\nimport \"core-js/modules/es.string.raw.js\";\nimport \"core-js/modules/es.string.repeat.js\";\nimport \"core-js/modules/es.string.replace.js\";\nimport \"core-js/modules/es.string.replace-all.js\";\nimport \"core-js/modules/es.string.search.js\";\nimport \"core-js/modules/es.string.split.js\";\nimport \"core-js/modules/es.string.starts-with.js\";\nimport \"core-js/modules/es.string.trim.js\";\nimport \"core-js/modules/es.string.trim-end.js\";\nimport \"core-js/modules/es.string.trim-start.js\";\nimport \"core-js/modules/es.string.anchor.js\";\nimport \"core-js/modules/es.string.big.js\";\nimport \"core-js/modules/es.string.blink.js\";\nimport \"core-js/modules/es.string.bold.js\";\nimport \"core-js/modules/es.string.fixed.js\";\nimport \"core-js/modules/es.string.fontcolor.js\";\nimport \"core-js/modules/es.string.fontsize.js\";\nimport \"core-js/modules/es.string.italics.js\";\nimport \"core-js/modules/es.string.link.js\";\nimport \"core-js/modules/es.string.small.js\";\nimport \"core-js/modules/es.string.strike.js\";\nimport \"core-js/modules/es.string.sub.js\";\nimport \"core-js/modules/es.string.sup.js\";\nimport \"core-js/modules/es.typed-array.float32-array.js\";\nimport \"core-js/modules/es.typed-array.float64-array.js\";\nimport \"core-js/modules/es.typed-array.int8-array.js\";\nimport \"core-js/modules/es.typed-array.int16-array.js\";\nimport \"core-js/modules/es.typed-array.int32-array.js\";\nimport \"core-js/modules/es.typed-array.uint8-array.js\";\nimport \"core-js/modules/es.typed-array.uint8-clamped-array.js\";\nimport \"core-js/modules/es.typed-array.uint16-array.js\";\nimport \"core-js/modules/es.typed-array.uint32-array.js\";\nimport \"core-js/modules/es.typed-array.at.js\";\nimport \"core-js/modules/es.typed-array.copy-within.js\";\nimport \"core-js/modules/es.typed-array.every.js\";\nimport \"core-js/modules/es.typed-array.fill.js\";\nimport \"core-js/modules/es.typed-array.filter.js\";\nimport \"core-js/modules/es.typed-array.find.js\";\nimport \"core-js/modules/es.typed-array.find-index.js\";\nimport \"core-js/modules/es.typed-array.find-last.js\";\nimport \"core-js/modules/es.typed-array.find-last-index.js\";\nimport \"core-js/modules/es.typed-array.for-each.js\";\nimport \"core-js/modules/es.typed-array.from.js\";\nimport \"core-js/modules/es.typed-array.includes.js\";\nimport \"core-js/modules/es.typed-array.index-of.js\";\nimport \"core-js/modules/es.typed-array.iterator.js\";\nimport \"core-js/modules/es.typed-array.join.js\";\nimport \"core-js/modules/es.typed-array.last-index-of.js\";\nimport \"core-js/modules/es.typed-array.map.js\";\nimport \"core-js/modules/es.typed-array.of.js\";\nimport \"core-js/modules/es.typed-array.reduce.js\";\nimport \"core-js/modules/es.typed-array.reduce-right.js\";\nimport \"core-js/modules/es.typed-array.reverse.js\";\nimport \"core-js/modules/es.typed-array.set.js\";\nimport \"core-js/modules/es.typed-array.slice.js\";\nimport \"core-js/modules/es.typed-array.some.js\";\nimport \"core-js/modules/es.typed-array.sort.js\";\nimport \"core-js/modules/es.typed-array.subarray.js\";\nimport \"core-js/modules/es.typed-array.to-locale-string.js\";\nimport \"core-js/modules/es.typed-array.to-string.js\";\nimport \"core-js/modules/es.weak-map.js\";\nimport \"core-js/modules/es.weak-set.js\";\nimport \"core-js/modules/esnext.array.from-async.js\";\nimport \"core-js/modules/esnext.array.filter-out.js\";\nimport \"core-js/modules/esnext.array.filter-reject.js\";\nimport \"core-js/modules/esnext.array.group.js\";\nimport \"core-js/modules/esnext.array.group-by.js\";\nimport \"core-js/modules/esnext.array.group-by-to-map.js\";\nimport \"core-js/modules/esnext.array.group-to-map.js\";\nimport \"core-js/modules/esnext.array.is-template-object.js\";\nimport \"core-js/modules/esnext.array.last-index.js\";\nimport \"core-js/modules/esnext.array.last-item.js\";\nimport \"core-js/modules/esnext.array.to-reversed.js\";\nimport \"core-js/modules/esnext.array.to-sorted.js\";\nimport \"core-js/modules/esnext.array.to-spliced.js\";\nimport \"core-js/modules/esnext.array.unique-by.js\";\nimport \"core-js/modules/esnext.array.with.js\";\nimport \"core-js/modules/esnext.async-iterator.constructor.js\";\nimport \"core-js/modules/esnext.async-iterator.as-indexed-pairs.js\";\nimport \"core-js/modules/esnext.async-iterator.drop.js\";\nimport \"core-js/modules/esnext.async-iterator.every.js\";\nimport \"core-js/modules/esnext.async-iterator.filter.js\";\nimport \"core-js/modules/esnext.async-iterator.find.js\";\nimport \"core-js/modules/esnext.async-iterator.flat-map.js\";\nimport \"core-js/modules/esnext.async-iterator.for-each.js\";\nimport \"core-js/modules/esnext.async-iterator.from.js\";\nimport \"core-js/modules/esnext.async-iterator.indexed.js\";\nimport \"core-js/modules/esnext.async-iterator.map.js\";\nimport \"core-js/modules/esnext.async-iterator.reduce.js\";\nimport \"core-js/modules/esnext.async-iterator.some.js\";\nimport \"core-js/modules/esnext.async-iterator.take.js\";\nimport \"core-js/modules/esnext.async-iterator.to-array.js\";\nimport \"core-js/modules/esnext.bigint.range.js\";\nimport \"core-js/modules/esnext.composite-key.js\";\nimport \"core-js/modules/esnext.composite-symbol.js\";\nimport \"core-js/modules/esnext.function.is-callable.js\";\nimport \"core-js/modules/esnext.function.is-constructor.js\";\nimport \"core-js/modules/esnext.function.un-this.js\";\nimport \"core-js/modules/esnext.iterator.constructor.js\";\nimport \"core-js/modules/esnext.iterator.as-indexed-pairs.js\";\nimport \"core-js/modules/esnext.iterator.drop.js\";\nimport \"core-js/modules/esnext.iterator.every.js\";\nimport \"core-js/modules/esnext.iterator.filter.js\";\nimport \"core-js/modules/esnext.iterator.find.js\";\nimport \"core-js/modules/esnext.iterator.flat-map.js\";\nimport \"core-js/modules/esnext.iterator.for-each.js\";\nimport \"core-js/modules/esnext.iterator.from.js\";\nimport \"core-js/modules/esnext.iterator.indexed.js\";\nimport \"core-js/modules/esnext.iterator.map.js\";\nimport \"core-js/modules/esnext.iterator.reduce.js\";\nimport \"core-js/modules/esnext.iterator.some.js\";\nimport \"core-js/modules/esnext.iterator.take.js\";\nimport \"core-js/modules/esnext.iterator.to-array.js\";\nimport \"core-js/modules/esnext.iterator.to-async.js\";\nimport \"core-js/modules/esnext.map.delete-all.js\";\nimport \"core-js/modules/esnext.map.emplace.js\";\nimport \"core-js/modules/esnext.map.every.js\";\nimport \"core-js/modules/esnext.map.filter.js\";\nimport \"core-js/modules/esnext.map.find.js\";\nimport \"core-js/modules/esnext.map.find-key.js\";\nimport \"core-js/modules/esnext.map.from.js\";\nimport \"core-js/modules/esnext.map.group-by.js\";\nimport \"core-js/modules/esnext.map.includes.js\";\nimport \"core-js/modules/esnext.map.key-by.js\";\nimport \"core-js/modules/esnext.map.key-of.js\";\nimport \"core-js/modules/esnext.map.map-keys.js\";\nimport \"core-js/modules/esnext.map.map-values.js\";\nimport \"core-js/modules/esnext.map.merge.js\";\nimport \"core-js/modules/esnext.map.of.js\";\nimport \"core-js/modules/esnext.map.reduce.js\";\nimport \"core-js/modules/esnext.map.some.js\";\nimport \"core-js/modules/esnext.map.update.js\";\nimport \"core-js/modules/esnext.map.update-or-insert.js\";\nimport \"core-js/modules/esnext.map.upsert.js\";\nimport \"core-js/modules/esnext.math.clamp.js\";\nimport \"core-js/modules/esnext.math.deg-per-rad.js\";\nimport \"core-js/modules/esnext.math.degrees.js\";\nimport \"core-js/modules/esnext.math.fscale.js\";\nimport \"core-js/modules/esnext.math.iaddh.js\";\nimport \"core-js/modules/esnext.math.imulh.js\";\nimport \"core-js/modules/esnext.math.isubh.js\";\nimport \"core-js/modules/esnext.math.rad-per-deg.js\";\nimport \"core-js/modules/esnext.math.radians.js\";\nimport \"core-js/modules/esnext.math.scale.js\";\nimport \"core-js/modules/esnext.math.seeded-prng.js\";\nimport \"core-js/modules/esnext.math.signbit.js\";\nimport \"core-js/modules/esnext.math.umulh.js\";\nimport \"core-js/modules/esnext.number.from-string.js\";\nimport \"core-js/modules/esnext.number.range.js\";\nimport \"core-js/modules/esnext.object.iterate-entries.js\";\nimport \"core-js/modules/esnext.object.iterate-keys.js\";\nimport \"core-js/modules/esnext.object.iterate-values.js\";\nimport \"core-js/modules/esnext.observable.js\";\nimport \"core-js/modules/esnext.promise.try.js\";\nimport \"core-js/modules/esnext.reflect.define-metadata.js\";\nimport \"core-js/modules/esnext.reflect.delete-metadata.js\";\nimport \"core-js/modules/esnext.reflect.get-metadata.js\";\nimport \"core-js/modules/esnext.reflect.get-metadata-keys.js\";\nimport \"core-js/modules/esnext.reflect.get-own-metadata.js\";\nimport \"core-js/modules/esnext.reflect.get-own-metadata-keys.js\";\nimport \"core-js/modules/esnext.reflect.has-metadata.js\";\nimport \"core-js/modules/esnext.reflect.has-own-metadata.js\";\nimport \"core-js/modules/esnext.reflect.metadata.js\";\nimport \"core-js/modules/esnext.set.add-all.js\";\nimport \"core-js/modules/esnext.set.delete-all.js\";\nimport \"core-js/modules/esnext.set.difference.js\";\nimport \"core-js/modules/esnext.set.every.js\";\nimport \"core-js/modules/esnext.set.filter.js\";\nimport \"core-js/modules/esnext.set.find.js\";\nimport \"core-js/modules/esnext.set.from.js\";\nimport \"core-js/modules/esnext.set.intersection.js\";\nimport \"core-js/modules/esnext.set.is-disjoint-from.js\";\nimport \"core-js/modules/esnext.set.is-subset-of.js\";\nimport \"core-js/modules/esnext.set.is-superset-of.js\";\nimport \"core-js/modules/esnext.set.join.js\";\nimport \"core-js/modules/esnext.set.map.js\";\nimport \"core-js/modules/esnext.set.of.js\";\nimport \"core-js/modules/esnext.set.reduce.js\";\nimport \"core-js/modules/esnext.set.some.js\";\nimport \"core-js/modules/esnext.set.symmetric-difference.js\";\nimport \"core-js/modules/esnext.set.union.js\";\nimport \"core-js/modules/esnext.string.at.js\";\nimport \"core-js/modules/esnext.string.cooked.js\";\nimport \"core-js/modules/esnext.string.code-points.js\";\nimport \"core-js/modules/esnext.symbol.async-dispose.js\";\nimport \"core-js/modules/esnext.symbol.dispose.js\";\nimport \"core-js/modules/esnext.symbol.matcher.js\";\nimport \"core-js/modules/esnext.symbol.metadata.js\";\nimport \"core-js/modules/esnext.symbol.metadata-key.js\";\nimport \"core-js/modules/esnext.symbol.observable.js\";\nimport \"core-js/modules/esnext.symbol.pattern-match.js\";\nimport \"core-js/modules/esnext.symbol.replace-all.js\";\nimport \"core-js/modules/esnext.typed-array.from-async.js\";\nimport \"core-js/modules/esnext.typed-array.filter-out.js\";\nimport \"core-js/modules/esnext.typed-array.filter-reject.js\";\nimport \"core-js/modules/esnext.typed-array.group-by.js\";\nimport \"core-js/modules/esnext.typed-array.to-reversed.js\";\nimport \"core-js/modules/esnext.typed-array.to-sorted.js\";\nimport \"core-js/modules/esnext.typed-array.to-spliced.js\";\nimport \"core-js/modules/esnext.typed-array.unique-by.js\";\nimport \"core-js/modules/esnext.typed-array.with.js\";\nimport \"core-js/modules/esnext.weak-map.delete-all.js\";\nimport \"core-js/modules/esnext.weak-map.from.js\";\nimport \"core-js/modules/esnext.weak-map.of.js\";\nimport \"core-js/modules/esnext.weak-map.emplace.js\";\nimport \"core-js/modules/esnext.weak-map.upsert.js\";\nimport \"core-js/modules/esnext.weak-set.add-all.js\";\nimport \"core-js/modules/esnext.weak-set.delete-all.js\";\nimport \"core-js/modules/esnext.weak-set.from.js\";\nimport \"core-js/modules/esnext.weak-set.of.js\";\nimport \"core-js/modules/web.atob.js\";\nimport \"core-js/modules/web.btoa.js\";\nimport \"core-js/modules/web.dom-collections.for-each.js\";\nimport \"core-js/modules/web.dom-collections.iterator.js\";\nimport \"core-js/modules/web.dom-exception.constructor.js\";\nimport \"core-js/modules/web.dom-exception.stack.js\";\nimport \"core-js/modules/web.dom-exception.to-string-tag.js\";\nimport \"core-js/modules/web.queue-microtask.js\";\nimport \"core-js/modules/web.structured-clone.js\";\nimport \"core-js/modules/web.url.js\";\nimport \"core-js/modules/web.url.to-json.js\";\nimport \"core-js/modules/web.url-search-params.js\";\nimport 'whatwg-fetch';\nimport 'abortcontroller-polyfill/dist/polyfill-patch-fetch';\n// Order matters: AbortController needs fetch which needs Promise.\n\nimport 'md-gum-polyfill';\nimport ResizeObserver from 'resize-observer-polyfill';\nif (typeof window.ResizeObserver !== 'function') window.ResizeObserver = ResizeObserver;\n\n// Needed for Babel\nimport 'regenerator-runtime/runtime';\nimport './bundle.mjs';", "'use strict';\n\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar IndexedObject = require('../internals/indexed-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar un$Join = uncurryThis([].join);\nvar ES3_STRINGS = IndexedObject != Object;\nvar STRICT_METHOD = arrayMethodIsStrict('join', ',');\n\n// `Array.prototype.join` method\n// https://tc39.es/ecma262/#sec-array.prototype.join\n$({\n target: 'Array',\n proto: true,\n forced: ES3_STRINGS || !STRICT_METHOD\n}, {\n join: function join(separator) {\n return un$Join(toIndexedObject(this), separator === undefined ? ',' : separator);\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar $map = require('../internals/array-iteration').map;\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');\n\n// `Array.prototype.map` method\n// https://tc39.es/ecma262/#sec-array.prototype.map\n// with adding support of @@species\n$({\n target: 'Array',\n proto: true,\n forced: !HAS_SPECIES_SUPPORT\n}, {\n map: function map(callbackfn /* , thisArg */) {\n return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isConstructor = require('../internals/is-constructor');\nvar createProperty = require('../internals/create-property');\nvar $Array = Array;\nvar ISNT_GENERIC = fails(function () {\n function F() {/* empty */}\n // eslint-disable-next-line es-x/no-array-of -- safe\n return !($Array.of.call(F) instanceof F);\n});\n\n// `Array.of` method\n// https://tc39.es/ecma262/#sec-array.of\n// WebKit Array.of isn't generic\n$({\n target: 'Array',\n stat: true,\n forced: ISNT_GENERIC\n}, {\n of: function of( /* ...args */\n ) {\n var index = 0;\n var argumentsLength = arguments.length;\n var result = new (isConstructor(this) ? this : $Array)(argumentsLength);\n while (argumentsLength > index) createProperty(result, index, arguments[index++]);\n result.length = argumentsLength;\n return result;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar fails = require('../internals/fails');\nvar INCORRECT_TO_LENGTH = fails(function () {\n return [].push.call({\n length: 0x100000000\n }, 1) !== 4294967297;\n});\n\n// V8 and Safari <= 15.4, FF < 23 throws InternalError\n// https://bugs.chromium.org/p/v8/issues/detail?id=12681\nvar SILENT_ON_NON_WRITABLE_LENGTH = !function () {\n try {\n // eslint-disable-next-line es-x/no-object-defineproperty -- safe\n Object.defineProperty([], 'length', {\n writable: false\n }).push();\n } catch (error) {\n return error instanceof TypeError;\n }\n}();\n\n// `Array.prototype.push` method\n// https://tc39.es/ecma262/#sec-array.prototype.push\n$({\n target: 'Array',\n proto: true,\n arity: 1,\n forced: INCORRECT_TO_LENGTH || SILENT_ON_NON_WRITABLE_LENGTH\n}, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n push: function push(item) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var argCount = arguments.length;\n doesNotExceedSafeInteger(len + argCount);\n for (var i = 0; i < argCount; i++) {\n O[len] = arguments[i];\n len++;\n }\n O.length = len;\n return len;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar createProperty = require('../internals/create-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar un$Slice = require('../internals/array-slice');\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice');\nvar SPECIES = wellKnownSymbol('species');\nvar $Array = Array;\nvar max = Math.max;\n\n// `Array.prototype.slice` method\n// https://tc39.es/ecma262/#sec-array.prototype.slice\n// fallback for not array-like ES3 strings and DOM objects\n$({\n target: 'Array',\n proto: true,\n forced: !HAS_SPECIES_SUPPORT\n}, {\n slice: function slice(start, end) {\n var O = toIndexedObject(this);\n var length = lengthOfArrayLike(O);\n var k = toAbsoluteIndex(start, length);\n var fin = toAbsoluteIndex(end === undefined ? length : end, length);\n // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible\n var Constructor, result, n;\n if (isArray(O)) {\n Constructor = O.constructor;\n // cross-realm fallback\n if (isConstructor(Constructor) && (Constructor === $Array || isArray(Constructor.prototype))) {\n Constructor = undefined;\n } else if (isObject(Constructor)) {\n Constructor = Constructor[SPECIES];\n if (Constructor === null) Constructor = undefined;\n }\n if (Constructor === $Array || Constructor === undefined) {\n return un$Slice(O, k, fin);\n }\n }\n result = new (Constructor === undefined ? $Array : Constructor)(max(fin - k, 0));\n for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]);\n result.length = n;\n return result;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar internalSort = require('../internals/array-sort');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\nvar test = [];\nvar un$Sort = uncurryThis(test.sort);\nvar push = uncurryThis(test.push);\n\n// IE8-\nvar FAILS_ON_UNDEFINED = fails(function () {\n test.sort(undefined);\n});\n// V8 bug\nvar FAILS_ON_NULL = fails(function () {\n test.sort(null);\n});\n// Old WebKit\nvar STRICT_METHOD = arrayMethodIsStrict('sort');\nvar STABLE_SORT = !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 70;\n if (FF && FF > 3) return;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 603;\n var result = '';\n var code, chr, value, index;\n\n // generate an array with more 512 elements (Chakra and old V8 fails only in this case)\n for (code = 65; code < 76; code++) {\n chr = String.fromCharCode(code);\n switch (code) {\n case 66:\n case 69:\n case 70:\n case 72:\n value = 3;\n break;\n case 68:\n case 71:\n value = 4;\n break;\n default:\n value = 2;\n }\n for (index = 0; index < 47; index++) {\n test.push({\n k: chr + index,\n v: value\n });\n }\n }\n test.sort(function (a, b) {\n return b.v - a.v;\n });\n for (index = 0; index < test.length; index++) {\n chr = test[index].k.charAt(0);\n if (result.charAt(result.length - 1) !== chr) result += chr;\n }\n return result !== 'DGBEFHACIJK';\n});\nvar FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;\nvar getSortCompare = function getSortCompare(comparefn) {\n return function (x, y) {\n if (y === undefined) return -1;\n if (x === undefined) return 1;\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n return toString(x) > toString(y) ? 1 : -1;\n };\n};\n\n// `Array.prototype.sort` method\n// https://tc39.es/ecma262/#sec-array.prototype.sort\n$({\n target: 'Array',\n proto: true,\n forced: FORCED\n}, {\n sort: function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n var array = toObject(this);\n if (STABLE_SORT) return comparefn === undefined ? un$Sort(array) : un$Sort(array, comparefn);\n var items = [];\n var arrayLength = lengthOfArrayLike(array);\n var itemsLength, index;\n for (index = 0; index < arrayLength; index++) {\n if (index in array) push(items, array[index]);\n }\n internalSort(items, getSortCompare(comparefn));\n itemsLength = items.length;\n index = 0;\n while (index < itemsLength) array[index] = items[index++];\n while (index < arrayLength) deletePropertyOrThrow(array, index++);\n return array;\n }\n});", "var setSpecies = require('../internals/set-species');\n\n// `Array[@@species]` getter\n// https://tc39.es/ecma262/#sec-get-array-@@species\nsetSpecies('Array');", "'use strict';\n\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar deletePropertyOrThrow = require('../internals/delete-property-or-throw');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\nvar max = Math.max;\nvar min = Math.min;\n\n// `Array.prototype.splice` method\n// https://tc39.es/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({\n target: 'Array',\n proto: true,\n forced: !HAS_SPECIES_SUPPORT\n}, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);\n }\n doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];else deletePropertyOrThrow(O, to);\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1);\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];else deletePropertyOrThrow(O, to);\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});", "// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('flat');", "// this method was added to unscopables after implementation\n// in popular engines, so it's moved to a separate module\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('flatMap');", "'use strict';\n\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar arrayBufferModule = require('../internals/array-buffer');\nvar setSpecies = require('../internals/set-species');\nvar ARRAY_BUFFER = 'ArrayBuffer';\nvar ArrayBuffer = arrayBufferModule[ARRAY_BUFFER];\nvar NativeArrayBuffer = global[ARRAY_BUFFER];\n\n// `ArrayBuffer` constructor\n// https://tc39.es/ecma262/#sec-arraybuffer-constructor\n$({\n global: true,\n constructor: true,\n forced: NativeArrayBuffer !== ArrayBuffer\n}, {\n ArrayBuffer: ArrayBuffer\n});\nsetSpecies(ARRAY_BUFFER);", "var hasOwn = require('../internals/has-own-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar dateToPrimitive = require('../internals/date-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\nvar DatePrototype = Date.prototype;\n\n// `Date.prototype[@@toPrimitive]` method\n// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive\nif (!hasOwn(DatePrototype, TO_PRIMITIVE)) {\n defineBuiltIn(DatePrototype, TO_PRIMITIVE, dateToPrimitive);\n}", "'use strict';\n\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar definePropertyModule = require('../internals/object-define-property');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar HAS_INSTANCE = wellKnownSymbol('hasInstance');\nvar FunctionPrototype = Function.prototype;\n\n// `Function.prototype[@@hasInstance]` method\n// https://tc39.es/ecma262/#sec-function.prototype-@@hasinstance\nif (!(HAS_INSTANCE in FunctionPrototype)) {\n definePropertyModule.f(FunctionPrototype, HAS_INSTANCE, {\n value: makeBuiltIn(function (O) {\n if (!isCallable(this) || !isObject(O)) return false;\n var P = this.prototype;\n if (!isObject(P)) return O instanceof this;\n // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n while (O = getPrototypeOf(O)) if (P === O) return true;\n return false;\n }, HAS_INSTANCE)\n });\n}", "var DESCRIPTORS = require('../internals/descriptors');\nvar FUNCTION_NAME_EXISTS = require('../internals/function-name').EXISTS;\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineProperty = require('../internals/object-define-property').f;\nvar FunctionPrototype = Function.prototype;\nvar functionToString = uncurryThis(FunctionPrototype.toString);\nvar nameRE = /function\\b(?:\\s|\\/\\*[\\S\\s]*?\\*\\/|\\/\\/[^\\n\\r]*[\\n\\r]+)*([^\\s(/]*)/;\nvar regExpExec = uncurryThis(nameRE.exec);\nvar NAME = 'name';\n\n// Function instances `.name` property\n// https://tc39.es/ecma262/#sec-function-instances-name\nif (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {\n defineProperty(FunctionPrototype, NAME, {\n configurable: true,\n get: function get() {\n try {\n return regExpExec(nameRE, functionToString(this))[1];\n } catch (error) {\n return '';\n }\n }\n });\n}", "var $ = require('../internals/export');\nvar global = require('../internals/global');\n\n// `globalThis` object\n// https://tc39.es/ecma262/#sec-globalthis\n$({\n global: true\n}, {\n globalThis: global\n});", "var global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\n\n// JSON[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-json-@@tostringtag\nsetToStringTag(global.JSON, 'JSON', true);", "var $ = require('../internals/export');\nvar log1p = require('../internals/math-log1p');\n\n// eslint-disable-next-line es-x/no-math-acosh -- required for testing\nvar $acosh = Math.acosh;\nvar log = Math.log;\nvar sqrt = Math.sqrt;\nvar LN2 = Math.LN2;\nvar FORCED = !$acosh\n// V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n|| Math.floor($acosh(Number.MAX_VALUE)) != 710\n// Tor Browser bug: Math.acosh(Infinity) -> NaN\n|| $acosh(Infinity) != Infinity;\n\n// `Math.acosh` method\n// https://tc39.es/ecma262/#sec-math.acosh\n$({\n target: 'Math',\n stat: true,\n forced: FORCED\n}, {\n acosh: function acosh(x) {\n var n = +x;\n return n < 1 ? NaN : n > 94906265.62425156 ? log(n) + LN2 : log1p(n - 1 + sqrt(n - 1) * sqrt(n + 1));\n }\n});", "var $ = require('../internals/export');\n\n// eslint-disable-next-line es-x/no-math-asinh -- required for testing\nvar $asinh = Math.asinh;\nvar log = Math.log;\nvar sqrt = Math.sqrt;\nfunction asinh(x) {\n var n = +x;\n return !isFinite(n) || n == 0 ? n : n < 0 ? -asinh(-n) : log(n + sqrt(n * n + 1));\n}\n\n// `Math.asinh` method\n// https://tc39.es/ecma262/#sec-math.asinh\n// Tor Browser bug: Math.asinh(0) -> -0\n$({\n target: 'Math',\n stat: true,\n forced: !($asinh && 1 / $asinh(0) > 0)\n}, {\n asinh: asinh\n});", "var $ = require('../internals/export');\n\n// eslint-disable-next-line es-x/no-math-atanh -- required for testing\nvar $atanh = Math.atanh;\nvar log = Math.log;\n\n// `Math.atanh` method\n// https://tc39.es/ecma262/#sec-math.atanh\n// Tor Browser bug: Math.atanh(-0) -> 0\n$({\n target: 'Math',\n stat: true,\n forced: !($atanh && 1 / $atanh(-0) < 0)\n}, {\n atanh: function atanh(x) {\n var n = +x;\n return n == 0 ? n : log((1 + n) / (1 - n)) / 2;\n }\n});", "var $ = require('../internals/export');\nvar sign = require('../internals/math-sign');\nvar abs = Math.abs;\nvar pow = Math.pow;\n\n// `Math.cbrt` method\n// https://tc39.es/ecma262/#sec-math.cbrt\n$({\n target: 'Math',\n stat: true\n}, {\n cbrt: function cbrt(x) {\n var n = +x;\n return sign(n) * pow(abs(n), 1 / 3);\n }\n});", "var $ = require('../internals/export');\nvar floor = Math.floor;\nvar log = Math.log;\nvar LOG2E = Math.LOG2E;\n\n// `Math.clz32` method\n// https://tc39.es/ecma262/#sec-math.clz32\n$({\n target: 'Math',\n stat: true\n}, {\n clz32: function clz32(x) {\n var n = x >>> 0;\n return n ? 31 - floor(log(n + 0.5) * LOG2E) : 32;\n }\n});", "var $ = require('../internals/export');\nvar expm1 = require('../internals/math-expm1');\n\n// eslint-disable-next-line es-x/no-math-cosh -- required for testing\nvar $cosh = Math.cosh;\nvar abs = Math.abs;\nvar E = Math.E;\n\n// `Math.cosh` method\n// https://tc39.es/ecma262/#sec-math.cosh\n$({\n target: 'Math',\n stat: true,\n forced: !$cosh || $cosh(710) === Infinity\n}, {\n cosh: function cosh(x) {\n var t = expm1(abs(x) - 1) + 1;\n return (t + 1 / (t * E * E)) * (E / 2);\n }\n});", "var $ = require('../internals/export');\nvar expm1 = require('../internals/math-expm1');\n\n// `Math.expm1` method\n// https://tc39.es/ecma262/#sec-math.expm1\n// eslint-disable-next-line es-x/no-math-expm1 -- required for testing\n$({\n target: 'Math',\n stat: true,\n forced: expm1 != Math.expm1\n}, {\n expm1: expm1\n});", "var $ = require('../internals/export');\nvar fround = require('../internals/math-fround');\n\n// `Math.fround` method\n// https://tc39.es/ecma262/#sec-math.fround\n$({\n target: 'Math',\n stat: true\n}, {\n fround: fround\n});", "var $ = require('../internals/export');\n\n// eslint-disable-next-line es-x/no-math-hypot -- required for testing\nvar $hypot = Math.hypot;\nvar abs = Math.abs;\nvar sqrt = Math.sqrt;\n\n// Chrome 77 bug\n// https://bugs.chromium.org/p/v8/issues/detail?id=9546\nvar BUGGY = !!$hypot && $hypot(Infinity, NaN) !== Infinity;\n\n// `Math.hypot` method\n// https://tc39.es/ecma262/#sec-math.hypot\n$({\n target: 'Math',\n stat: true,\n arity: 2,\n forced: BUGGY\n}, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n hypot: function hypot(value1, value2) {\n var sum = 0;\n var i = 0;\n var aLen = arguments.length;\n var larg = 0;\n var arg, div;\n while (i < aLen) {\n arg = abs(arguments[i++]);\n if (larg < arg) {\n div = larg / arg;\n sum = sum * div * div + 1;\n larg = arg;\n } else if (arg > 0) {\n div = arg / larg;\n sum += div * div;\n } else sum += arg;\n }\n return larg === Infinity ? Infinity : larg * sqrt(sum);\n }\n});", "var $ = require('../internals/export');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es-x/no-math-imul -- required for testing\nvar $imul = Math.imul;\nvar FORCED = fails(function () {\n return $imul(0xFFFFFFFF, 5) != -5 || $imul.length != 2;\n});\n\n// `Math.imul` method\n// https://tc39.es/ecma262/#sec-math.imul\n// some WebKit versions fails with big numbers, some has wrong arity\n$({\n target: 'Math',\n stat: true,\n forced: FORCED\n}, {\n imul: function imul(x, y) {\n var UINT16 = 0xFFFF;\n var xn = +x;\n var yn = +y;\n var xl = UINT16 & xn;\n var yl = UINT16 & yn;\n return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n }\n});", "var $ = require('../internals/export');\nvar log10 = require('../internals/math-log10');\n\n// `Math.log10` method\n// https://tc39.es/ecma262/#sec-math.log10\n$({\n target: 'Math',\n stat: true\n}, {\n log10: log10\n});", "var $ = require('../internals/export');\nvar log1p = require('../internals/math-log1p');\n\n// `Math.log1p` method\n// https://tc39.es/ecma262/#sec-math.log1p\n$({\n target: 'Math',\n stat: true\n}, {\n log1p: log1p\n});", "var $ = require('../internals/export');\nvar log = Math.log;\nvar LN2 = Math.LN2;\n\n// `Math.log2` method\n// https://tc39.es/ecma262/#sec-math.log2\n$({\n target: 'Math',\n stat: true\n}, {\n log2: function log2(x) {\n return log(x) / LN2;\n }\n});", "var $ = require('../internals/export');\nvar sign = require('../internals/math-sign');\n\n// `Math.sign` method\n// https://tc39.es/ecma262/#sec-math.sign\n$({\n target: 'Math',\n stat: true\n}, {\n sign: sign\n});", "var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar expm1 = require('../internals/math-expm1');\nvar abs = Math.abs;\nvar exp = Math.exp;\nvar E = Math.E;\nvar FORCED = fails(function () {\n // eslint-disable-next-line es-x/no-math-sinh -- required for testing\n return Math.sinh(-2e-17) != -2e-17;\n});\n\n// `Math.sinh` method\n// https://tc39.es/ecma262/#sec-math.sinh\n// V8 near Chromium 38 has a problem with very small numbers\n$({\n target: 'Math',\n stat: true,\n forced: FORCED\n}, {\n sinh: function sinh(x) {\n var n = +x;\n return abs(n) < 1 ? (expm1(n) - expm1(-n)) / 2 : (exp(n - 1) - exp(-n - 1)) * (E / 2);\n }\n});", "var $ = require('../internals/export');\nvar expm1 = require('../internals/math-expm1');\nvar exp = Math.exp;\n\n// `Math.tanh` method\n// https://tc39.es/ecma262/#sec-math.tanh\n$({\n target: 'Math',\n stat: true\n}, {\n tanh: function tanh(x) {\n var n = +x;\n var a = expm1(n);\n var b = expm1(-n);\n return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(n) + exp(-n));\n }\n});", "var setToStringTag = require('../internals/set-to-string-tag');\n\n// Math[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-math-@@tostringtag\nsetToStringTag(Math, 'Math', true);", "var $ = require('../internals/export');\nvar trunc = require('../internals/math-trunc');\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n$({\n target: 'Math',\n stat: true\n}, {\n trunc: trunc\n});", "'use strict';\n\nvar DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar hasOwn = require('../internals/has-own-property');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isSymbol = require('../internals/is-symbol');\nvar toPrimitive = require('../internals/to-primitive');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar defineProperty = require('../internals/object-define-property').f;\nvar thisNumberValue = require('../internals/this-number-value');\nvar trim = require('../internals/string-trim').trim;\nvar NUMBER = 'Number';\nvar NativeNumber = global[NUMBER];\nvar NumberPrototype = NativeNumber.prototype;\nvar TypeError = global.TypeError;\nvar arraySlice = uncurryThis(''.slice);\nvar charCodeAt = uncurryThis(''.charCodeAt);\n\n// `ToNumeric` abstract operation\n// https://tc39.es/ecma262/#sec-tonumeric\nvar toNumeric = function toNumeric(value) {\n var primValue = toPrimitive(value, 'number');\n return typeof primValue == 'bigint' ? primValue : toNumber(primValue);\n};\n\n// `ToNumber` abstract operation\n// https://tc39.es/ecma262/#sec-tonumber\nvar toNumber = function toNumber(argument) {\n var it = toPrimitive(argument, 'number');\n var first, third, radix, maxCode, digits, length, index, code;\n if (isSymbol(it)) throw TypeError('Cannot convert a Symbol value to a number');\n if (typeof it == 'string' && it.length > 2) {\n it = trim(it);\n first = charCodeAt(it, 0);\n if (first === 43 || first === 45) {\n third = charCodeAt(it, 2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (charCodeAt(it, 1)) {\n case 66:\n case 98:\n radix = 2;\n maxCode = 49;\n break;\n // fast equal of /^0b[01]+$/i\n case 79:\n case 111:\n radix = 8;\n maxCode = 55;\n break;\n // fast equal of /^0o[0-7]+$/i\n default:\n return +it;\n }\n digits = arraySlice(it, 2);\n length = digits.length;\n for (index = 0; index < length; index++) {\n code = charCodeAt(digits, index);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n }\n return parseInt(digits, radix);\n }\n }\n return +it;\n};\n\n// `Number` constructor\n// https://tc39.es/ecma262/#sec-number-constructor\nif (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) {\n var NumberWrapper = function Number(value) {\n var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));\n var dummy = this;\n // check on 1..constructor(foo) case\n return isPrototypeOf(NumberPrototype, dummy) && fails(function () {\n thisNumberValue(dummy);\n }) ? inheritIfRequired(Object(n), dummy, NumberWrapper) : n;\n };\n for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES2015 (in case, if modules with ES2015 Number statics required before):\n 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +\n // ESNext\n 'fromString,range').split(','), j = 0, key; keys.length > j; j++) {\n if (hasOwn(NativeNumber, key = keys[j]) && !hasOwn(NumberWrapper, key)) {\n defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key));\n }\n }\n NumberWrapper.prototype = NumberPrototype;\n NumberPrototype.constructor = NumberWrapper;\n defineBuiltIn(global, NUMBER, NumberWrapper, {\n constructor: true\n });\n}", "var $ = require('../internals/export');\n\n// `Number.EPSILON` constant\n// https://tc39.es/ecma262/#sec-number.epsilon\n$({\n target: 'Number',\n stat: true,\n nonConfigurable: true,\n nonWritable: true\n}, {\n EPSILON: Math.pow(2, -52)\n});", "var $ = require('../internals/export');\nvar numberIsFinite = require('../internals/number-is-finite');\n\n// `Number.isFinite` method\n// https://tc39.es/ecma262/#sec-number.isfinite\n$({\n target: 'Number',\n stat: true\n}, {\n isFinite: numberIsFinite\n});", "var $ = require('../internals/export');\nvar isIntegralNumber = require('../internals/is-integral-number');\n\n// `Number.isInteger` method\n// https://tc39.es/ecma262/#sec-number.isinteger\n$({\n target: 'Number',\n stat: true\n}, {\n isInteger: isIntegralNumber\n});", "var $ = require('../internals/export');\n\n// `Number.isNaN` method\n// https://tc39.es/ecma262/#sec-number.isnan\n$({\n target: 'Number',\n stat: true\n}, {\n isNaN: function isNaN(number) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return number != number;\n }\n});", "var $ = require('../internals/export');\nvar isIntegralNumber = require('../internals/is-integral-number');\nvar abs = Math.abs;\n\n// `Number.isSafeInteger` method\n// https://tc39.es/ecma262/#sec-number.issafeinteger\n$({\n target: 'Number',\n stat: true\n}, {\n isSafeInteger: function isSafeInteger(number) {\n return isIntegralNumber(number) && abs(number) <= 0x1FFFFFFFFFFFFF;\n }\n});", "var $ = require('../internals/export');\n\n// `Number.MAX_SAFE_INTEGER` constant\n// https://tc39.es/ecma262/#sec-number.max_safe_integer\n$({\n target: 'Number',\n stat: true,\n nonConfigurable: true,\n nonWritable: true\n}, {\n MAX_SAFE_INTEGER: 0x1FFFFFFFFFFFFF\n});", "var $ = require('../internals/export');\n\n// `Number.MIN_SAFE_INTEGER` constant\n// https://tc39.es/ecma262/#sec-number.min_safe_integer\n$({\n target: 'Number',\n stat: true,\n nonConfigurable: true,\n nonWritable: true\n}, {\n MIN_SAFE_INTEGER: -0x1FFFFFFFFFFFFF\n});", "var $ = require('../internals/export');\nvar parseFloat = require('../internals/number-parse-float');\n\n// `Number.parseFloat` method\n// https://tc39.es/ecma262/#sec-number.parseFloat\n// eslint-disable-next-line es-x/no-number-parsefloat -- required for testing\n$({\n target: 'Number',\n stat: true,\n forced: Number.parseFloat != parseFloat\n}, {\n parseFloat: parseFloat\n});", "var $ = require('../internals/export');\nvar parseInt = require('../internals/number-parse-int');\n\n// `Number.parseInt` method\n// https://tc39.es/ecma262/#sec-number.parseint\n// eslint-disable-next-line es-x/no-number-parseint -- required for testing\n$({\n target: 'Number',\n stat: true,\n forced: Number.parseInt != parseInt\n}, {\n parseInt: parseInt\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar thisNumberValue = require('../internals/this-number-value');\nvar $repeat = require('../internals/string-repeat');\nvar log10 = require('../internals/math-log10');\nvar fails = require('../internals/fails');\nvar $RangeError = RangeError;\nvar $String = String;\nvar $isFinite = isFinite;\nvar abs = Math.abs;\nvar floor = Math.floor;\nvar pow = Math.pow;\nvar round = Math.round;\nvar un$ToExponential = uncurryThis(1.0.toExponential);\nvar repeat = uncurryThis($repeat);\nvar stringSlice = uncurryThis(''.slice);\n\n// Edge 17-\nvar ROUNDS_PROPERLY = un$ToExponential(-6.9e-11, 4) === '-6.9000e-11'\n// IE11- && Edge 14-\n&& un$ToExponential(1.255, 2) === '1.25e+0'\n// FF86-, V8 ~ Chrome 49-50\n&& un$ToExponential(12345, 3) === '1.235e+4'\n// FF86-, V8 ~ Chrome 49-50\n&& un$ToExponential(25, 0) === '3e+1';\n\n// IE8-\nvar THROWS_ON_INFINITY_FRACTION = fails(function () {\n un$ToExponential(1, Infinity);\n}) && fails(function () {\n un$ToExponential(1, -Infinity);\n});\n\n// Safari <11 && FF <50\nvar PROPER_NON_FINITE_THIS_CHECK = !fails(function () {\n un$ToExponential(Infinity, Infinity);\n}) && !fails(function () {\n un$ToExponential(NaN, Infinity);\n});\nvar FORCED = !ROUNDS_PROPERLY || !THROWS_ON_INFINITY_FRACTION || !PROPER_NON_FINITE_THIS_CHECK;\n\n// `Number.prototype.toExponential` method\n// https://tc39.es/ecma262/#sec-number.prototype.toexponential\n$({\n target: 'Number',\n proto: true,\n forced: FORCED\n}, {\n toExponential: function toExponential(fractionDigits) {\n var x = thisNumberValue(this);\n if (fractionDigits === undefined) return un$ToExponential(x);\n var f = toIntegerOrInfinity(fractionDigits);\n if (!$isFinite(x)) return String(x);\n // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation\n if (f < 0 || f > 20) throw $RangeError('Incorrect fraction digits');\n if (ROUNDS_PROPERLY) return un$ToExponential(x, f);\n var s = '';\n var m = '';\n var e = 0;\n var c = '';\n var d = '';\n if (x < 0) {\n s = '-';\n x = -x;\n }\n if (x === 0) {\n e = 0;\n m = repeat('0', f + 1);\n } else {\n // this block is based on https://gist.github.com/SheetJSDev/1100ad56b9f856c95299ed0e068eea08\n // TODO: improve accuracy with big fraction digits\n var l = log10(x);\n e = floor(l);\n var n = 0;\n var w = pow(10, e - f);\n n = round(x / w);\n if (2 * x >= (2 * n + 1) * w) {\n n += 1;\n }\n if (n >= pow(10, f + 1)) {\n n /= 10;\n e += 1;\n }\n m = $String(n);\n }\n if (f !== 0) {\n m = stringSlice(m, 0, 1) + '.' + stringSlice(m, 1);\n }\n if (e === 0) {\n c = '+';\n d = '0';\n } else {\n c = e > 0 ? '+' : '-';\n d = $String(abs(e));\n }\n m += 'e' + c + d;\n return s + m;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar thisNumberValue = require('../internals/this-number-value');\nvar $repeat = require('../internals/string-repeat');\nvar fails = require('../internals/fails');\nvar $RangeError = RangeError;\nvar $String = String;\nvar floor = Math.floor;\nvar repeat = uncurryThis($repeat);\nvar stringSlice = uncurryThis(''.slice);\nvar un$ToFixed = uncurryThis(1.0.toFixed);\nvar pow = function pow(x, n, acc) {\n return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\nvar log = function log(x) {\n var n = 0;\n var x2 = x;\n while (x2 >= 4096) {\n n += 12;\n x2 /= 4096;\n }\n while (x2 >= 2) {\n n += 1;\n x2 /= 2;\n }\n return n;\n};\nvar multiply = function multiply(data, n, c) {\n var index = -1;\n var c2 = c;\n while (++index < 6) {\n c2 += n * data[index];\n data[index] = c2 % 1e7;\n c2 = floor(c2 / 1e7);\n }\n};\nvar divide = function divide(data, n) {\n var index = 6;\n var c = 0;\n while (--index >= 0) {\n c += data[index];\n data[index] = floor(c / n);\n c = c % n * 1e7;\n }\n};\nvar dataToString = function dataToString(data) {\n var index = 6;\n var s = '';\n while (--index >= 0) {\n if (s !== '' || index === 0 || data[index] !== 0) {\n var t = $String(data[index]);\n s = s === '' ? t : s + repeat('0', 7 - t.length) + t;\n }\n }\n return s;\n};\nvar FORCED = fails(function () {\n return un$ToFixed(0.00008, 3) !== '0.000' || un$ToFixed(0.9, 0) !== '1' || un$ToFixed(1.255, 2) !== '1.25' || un$ToFixed(1000000000000000128.0, 0) !== '1000000000000000128';\n}) || !fails(function () {\n // V8 ~ Android 4.3-\n un$ToFixed({});\n});\n\n// `Number.prototype.toFixed` method\n// https://tc39.es/ecma262/#sec-number.prototype.tofixed\n$({\n target: 'Number',\n proto: true,\n forced: FORCED\n}, {\n toFixed: function toFixed(fractionDigits) {\n var number = thisNumberValue(this);\n var fractDigits = toIntegerOrInfinity(fractionDigits);\n var data = [0, 0, 0, 0, 0, 0];\n var sign = '';\n var result = '0';\n var e, z, j, k;\n\n // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation\n if (fractDigits < 0 || fractDigits > 20) throw $RangeError('Incorrect fraction digits');\n // eslint-disable-next-line no-self-compare -- NaN check\n if (number != number) return 'NaN';\n if (number <= -1e21 || number >= 1e21) return $String(number);\n if (number < 0) {\n sign = '-';\n number = -number;\n }\n if (number > 1e-21) {\n e = log(number * pow(2, 69, 1)) - 69;\n z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1);\n z *= 0x10000000000000;\n e = 52 - e;\n if (e > 0) {\n multiply(data, 0, z);\n j = fractDigits;\n while (j >= 7) {\n multiply(data, 1e7, 0);\n j -= 7;\n }\n multiply(data, pow(10, j, 1), 0);\n j = e - 1;\n while (j >= 23) {\n divide(data, 1 << 23);\n j -= 23;\n }\n divide(data, 1 << j);\n multiply(data, 1, 1);\n divide(data, 2);\n result = dataToString(data);\n } else {\n multiply(data, 0, z);\n multiply(data, 1 << -e, 0);\n result = dataToString(data) + repeat('0', fractDigits);\n }\n }\n if (fractDigits > 0) {\n k = result.length;\n result = sign + (k <= fractDigits ? '0.' + repeat('0', fractDigits - k) + result : stringSlice(result, 0, k - fractDigits) + '.' + stringSlice(result, k - fractDigits));\n } else {\n result = sign + result;\n }\n return result;\n }\n});", "var $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n// eslint-disable-next-line es-x/no-object-assign -- required for testing\n$({\n target: 'Object',\n stat: true,\n arity: 2,\n forced: Object.assign !== assign\n}, {\n assign: assign\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar definePropertyModule = require('../internals/object-define-property');\n\n// `Object.prototype.__defineGetter__` method\n// https://tc39.es/ecma262/#sec-object.prototype.__defineGetter__\nif (DESCRIPTORS) {\n $({\n target: 'Object',\n proto: true,\n forced: FORCED\n }, {\n __defineGetter__: function __defineGetter__(P, getter) {\n definePropertyModule.f(toObject(this), P, {\n get: aCallable(getter),\n enumerable: true,\n configurable: true\n });\n }\n });\n}", "'use strict';\n\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar definePropertyModule = require('../internals/object-define-property');\n\n// `Object.prototype.__defineSetter__` method\n// https://tc39.es/ecma262/#sec-object.prototype.__defineSetter__\nif (DESCRIPTORS) {\n $({\n target: 'Object',\n proto: true,\n forced: FORCED\n }, {\n __defineSetter__: function __defineSetter__(P, setter) {\n definePropertyModule.f(toObject(this), P, {\n set: aCallable(setter),\n enumerable: true,\n configurable: true\n });\n }\n });\n}", "var $ = require('../internals/export');\nvar $entries = require('../internals/object-to-array').entries;\n\n// `Object.entries` method\n// https://tc39.es/ecma262/#sec-object.entries\n$({\n target: 'Object',\n stat: true\n}, {\n entries: function entries(O) {\n return $entries(O);\n }\n});", "var $ = require('../internals/export');\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\n\n// eslint-disable-next-line es-x/no-object-freeze -- safe\nvar $freeze = Object.freeze;\nvar FAILS_ON_PRIMITIVES = fails(function () {\n $freeze(1);\n});\n\n// `Object.freeze` method\n// https://tc39.es/ecma262/#sec-object.freeze\n$({\n target: 'Object',\n stat: true,\n forced: FAILS_ON_PRIMITIVES,\n sham: !FREEZING\n}, {\n freeze: function freeze(it) {\n return $freeze && isObject(it) ? $freeze(onFreeze(it)) : it;\n }\n});", "var $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar createProperty = require('../internals/create-property');\n\n// `Object.fromEntries` method\n// https://github.com/tc39/proposal-object-from-entries\n$({\n target: 'Object',\n stat: true\n}, {\n fromEntries: function fromEntries(iterable) {\n var obj = {};\n iterate(iterable, function (k, v) {\n createProperty(obj, k, v);\n }, {\n AS_ENTRIES: true\n });\n return obj;\n }\n});", "var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar nativeGetOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FAILS_ON_PRIMITIVES = fails(function () {\n nativeGetOwnPropertyDescriptor(1);\n});\nvar FORCED = !DESCRIPTORS || FAILS_ON_PRIMITIVES;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\n$({\n target: 'Object',\n stat: true,\n forced: FORCED,\n sham: !DESCRIPTORS\n}, {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) {\n return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key);\n }\n});", "var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar ownKeys = require('../internals/own-keys');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar createProperty = require('../internals/create-property');\n\n// `Object.getOwnPropertyDescriptors` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors\n$({\n target: 'Object',\n stat: true,\n sham: !DESCRIPTORS\n}, {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n var O = toIndexedObject(object);\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n var keys = ownKeys(O);\n var result = {};\n var index = 0;\n var key, descriptor;\n while (keys.length > index) {\n descriptor = getOwnPropertyDescriptor(O, key = keys[index++]);\n if (descriptor !== undefined) createProperty(result, key, descriptor);\n }\n return result;\n }\n});", "var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names-external').f;\n\n// eslint-disable-next-line es-x/no-object-getownpropertynames -- required for testing\nvar FAILS_ON_PRIMITIVES = fails(function () {\n return !Object.getOwnPropertyNames(1);\n});\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n$({\n target: 'Object',\n stat: true,\n forced: FAILS_ON_PRIMITIVES\n}, {\n getOwnPropertyNames: getOwnPropertyNames\n});", "var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar toObject = require('../internals/to-object');\nvar nativeGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\nvar FAILS_ON_PRIMITIVES = fails(function () {\n nativeGetPrototypeOf(1);\n});\n\n// `Object.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-object.getprototypeof\n$({\n target: 'Object',\n stat: true,\n forced: FAILS_ON_PRIMITIVES,\n sham: !CORRECT_PROTOTYPE_GETTER\n}, {\n getPrototypeOf: function getPrototypeOf(it) {\n return nativeGetPrototypeOf(toObject(it));\n }\n});", "var $ = require('../internals/export');\nvar hasOwn = require('../internals/has-own-property');\n\n// `Object.hasOwn` method\n// https://github.com/tc39/proposal-accessible-object-hasownproperty\n$({\n target: 'Object',\n stat: true\n}, {\n hasOwn: hasOwn\n});", "var $ = require('../internals/export');\nvar is = require('../internals/same-value');\n\n// `Object.is` method\n// https://tc39.es/ecma262/#sec-object.is\n$({\n target: 'Object',\n stat: true\n}, {\n is: is\n});", "var $ = require('../internals/export');\nvar $isExtensible = require('../internals/object-is-extensible');\n\n// `Object.isExtensible` method\n// https://tc39.es/ecma262/#sec-object.isextensible\n// eslint-disable-next-line es-x/no-object-isextensible -- safe\n$({\n target: 'Object',\n stat: true,\n forced: Object.isExtensible !== $isExtensible\n}, {\n isExtensible: $isExtensible\n});", "var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es-x/no-object-isfrozen -- safe\nvar $isFrozen = Object.isFrozen;\nvar FAILS_ON_PRIMITIVES = fails(function () {\n $isFrozen(1);\n});\n\n// `Object.isFrozen` method\n// https://tc39.es/ecma262/#sec-object.isfrozen\n$({\n target: 'Object',\n stat: true,\n forced: FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE\n}, {\n isFrozen: function isFrozen(it) {\n if (!isObject(it)) return true;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return true;\n return $isFrozen ? $isFrozen(it) : false;\n }\n});", "var $ = require('../internals/export');\nvar fails = require('../internals/fails');\nvar isObject = require('../internals/is-object');\nvar classof = require('../internals/classof-raw');\nvar ARRAY_BUFFER_NON_EXTENSIBLE = require('../internals/array-buffer-non-extensible');\n\n// eslint-disable-next-line es-x/no-object-issealed -- safe\nvar $isSealed = Object.isSealed;\nvar FAILS_ON_PRIMITIVES = fails(function () {\n $isSealed(1);\n});\n\n// `Object.isSealed` method\n// https://tc39.es/ecma262/#sec-object.issealed\n$({\n target: 'Object',\n stat: true,\n forced: FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE\n}, {\n isSealed: function isSealed(it) {\n if (!isObject(it)) return true;\n if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return true;\n return $isSealed ? $isSealed(it) : false;\n }\n});", "var $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar nativeKeys = require('../internals/object-keys');\nvar fails = require('../internals/fails');\nvar FAILS_ON_PRIMITIVES = fails(function () {\n nativeKeys(1);\n});\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n$({\n target: 'Object',\n stat: true,\n forced: FAILS_ON_PRIMITIVES\n}, {\n keys: function keys(it) {\n return nativeKeys(toObject(it));\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar toObject = require('../internals/to-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\n// `Object.prototype.__lookupGetter__` method\n// https://tc39.es/ecma262/#sec-object.prototype.__lookupGetter__\nif (DESCRIPTORS) {\n $({\n target: 'Object',\n proto: true,\n forced: FORCED\n }, {\n __lookupGetter__: function __lookupGetter__(P) {\n var O = toObject(this);\n var key = toPropertyKey(P);\n var desc;\n do {\n if (desc = getOwnPropertyDescriptor(O, key)) return desc.get;\n } while (O = getPrototypeOf(O));\n }\n });\n}", "'use strict';\n\nvar $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FORCED = require('../internals/object-prototype-accessors-forced');\nvar toObject = require('../internals/to-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\n// `Object.prototype.__lookupSetter__` method\n// https://tc39.es/ecma262/#sec-object.prototype.__lookupSetter__\nif (DESCRIPTORS) {\n $({\n target: 'Object',\n proto: true,\n forced: FORCED\n }, {\n __lookupSetter__: function __lookupSetter__(P) {\n var O = toObject(this);\n var key = toPropertyKey(P);\n var desc;\n do {\n if (desc = getOwnPropertyDescriptor(O, key)) return desc.set;\n } while (O = getPrototypeOf(O));\n }\n });\n}", "var $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es-x/no-object-preventextensions -- safe\nvar $preventExtensions = Object.preventExtensions;\nvar FAILS_ON_PRIMITIVES = fails(function () {\n $preventExtensions(1);\n});\n\n// `Object.preventExtensions` method\n// https://tc39.es/ecma262/#sec-object.preventextensions\n$({\n target: 'Object',\n stat: true,\n forced: FAILS_ON_PRIMITIVES,\n sham: !FREEZING\n}, {\n preventExtensions: function preventExtensions(it) {\n return $preventExtensions && isObject(it) ? $preventExtensions(onFreeze(it)) : it;\n }\n});", "var $ = require('../internals/export');\nvar isObject = require('../internals/is-object');\nvar onFreeze = require('../internals/internal-metadata').onFreeze;\nvar FREEZING = require('../internals/freezing');\nvar fails = require('../internals/fails');\n\n// eslint-disable-next-line es-x/no-object-seal -- safe\nvar $seal = Object.seal;\nvar FAILS_ON_PRIMITIVES = fails(function () {\n $seal(1);\n});\n\n// `Object.seal` method\n// https://tc39.es/ecma262/#sec-object.seal\n$({\n target: 'Object',\n stat: true,\n forced: FAILS_ON_PRIMITIVES,\n sham: !FREEZING\n}, {\n seal: function seal(it) {\n return $seal && isObject(it) ? $seal(onFreeze(it)) : it;\n }\n});", "var TO_STRING_TAG_SUPPORT = require('../internals/to-string-tag-support');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar toString = require('../internals/object-to-string');\n\n// `Object.prototype.toString` method\n// https://tc39.es/ecma262/#sec-object.prototype.tostring\nif (!TO_STRING_TAG_SUPPORT) {\n defineBuiltIn(Object.prototype, 'toString', toString, {\n unsafe: true\n });\n}", "var $ = require('../internals/export');\nvar $values = require('../internals/object-to-array').values;\n\n// `Object.values` method\n// https://tc39.es/ecma262/#sec-object.values\n$({\n target: 'Object',\n stat: true\n}, {\n values: function values(O) {\n return $values(O);\n }\n});", "// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/es.promise.constructor');\nrequire('../modules/es.promise.all');\nrequire('../modules/es.promise.catch');\nrequire('../modules/es.promise.race');\nrequire('../modules/es.promise.reject');\nrequire('../modules/es.promise.resolve');", "'use strict';\n\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\n\n// `Promise.allSettled` method\n// https://tc39.es/ecma262/#sec-promise.allsettled\n$({\n target: 'Promise',\n stat: true\n}, {\n allSettled: function allSettled(iterable) {\n var C = this;\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var promiseResolve = aCallable(C.resolve);\n var values = [];\n var counter = 0;\n var remaining = 1;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyCalled = false;\n remaining++;\n call(promiseResolve, C, promise).then(function (value) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = {\n status: 'fulfilled',\n value: value\n };\n --remaining || resolve(values);\n }, function (error) {\n if (alreadyCalled) return;\n alreadyCalled = true;\n values[index] = {\n status: 'rejected',\n reason: error\n };\n --remaining || resolve(values);\n });\n });\n --remaining || resolve(values);\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar getBuiltIn = require('../internals/get-built-in');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\nvar iterate = require('../internals/iterate');\nvar PROMISE_ANY_ERROR = 'No one promise resolved';\n\n// `Promise.any` method\n// https://tc39.es/ecma262/#sec-promise.any\n$({\n target: 'Promise',\n stat: true\n}, {\n any: function any(iterable) {\n var C = this;\n var AggregateError = getBuiltIn('AggregateError');\n var capability = newPromiseCapabilityModule.f(C);\n var resolve = capability.resolve;\n var reject = capability.reject;\n var result = perform(function () {\n var promiseResolve = aCallable(C.resolve);\n var errors = [];\n var counter = 0;\n var remaining = 1;\n var alreadyResolved = false;\n iterate(iterable, function (promise) {\n var index = counter++;\n var alreadyRejected = false;\n remaining++;\n call(promiseResolve, C, promise).then(function (value) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyResolved = true;\n resolve(value);\n }, function (error) {\n if (alreadyRejected || alreadyResolved) return;\n alreadyRejected = true;\n errors[index] = error;\n --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n });\n });\n --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR));\n });\n if (result.error) reject(result.value);\n return capability.promise;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromiseConstructor = require('../internals/promise-native-constructor');\nvar fails = require('../internals/fails');\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar speciesConstructor = require('../internals/species-constructor');\nvar promiseResolve = require('../internals/promise-resolve');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype;\n\n// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829\nvar NON_GENERIC = !!NativePromiseConstructor && fails(function () {\n // eslint-disable-next-line unicorn/no-thenable -- required for testing\n NativePromisePrototype['finally'].call({\n then: function then() {/* empty */}\n }, function () {/* empty */});\n});\n\n// `Promise.prototype.finally` method\n// https://tc39.es/ecma262/#sec-promise.prototype.finally\n$({\n target: 'Promise',\n proto: true,\n real: true,\n forced: NON_GENERIC\n}, {\n 'finally': function _finally(onFinally) {\n var C = speciesConstructor(this, getBuiltIn('Promise'));\n var isFunction = isCallable(onFinally);\n return this.then(isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () {\n return x;\n });\n } : onFinally, isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () {\n throw e;\n });\n } : onFinally);\n }\n});\n\n// makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then`\nif (!IS_PURE && isCallable(NativePromiseConstructor)) {\n var method = getBuiltIn('Promise').prototype['finally'];\n if (NativePromisePrototype['finally'] !== method) {\n defineBuiltIn(NativePromisePrototype, 'finally', method, {\n unsafe: true\n });\n }\n}", "var $ = require('../internals/export');\nvar functionApply = require('../internals/function-apply');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar fails = require('../internals/fails');\n\n// MS Edge argumentsList argument is optional\nvar OPTIONAL_ARGUMENTS_LIST = !fails(function () {\n // eslint-disable-next-line es-x/no-reflect -- required for testing\n Reflect.apply(function () {/* empty */});\n});\n\n// `Reflect.apply` method\n// https://tc39.es/ecma262/#sec-reflect.apply\n$({\n target: 'Reflect',\n stat: true,\n forced: OPTIONAL_ARGUMENTS_LIST\n}, {\n apply: function apply(target, thisArgument, argumentsList) {\n return functionApply(aCallable(target), thisArgument, anObject(argumentsList));\n }\n});", "var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\nvar bind = require('../internals/function-bind');\nvar aConstructor = require('../internals/a-constructor');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar create = require('../internals/object-create');\nvar fails = require('../internals/fails');\nvar nativeConstruct = getBuiltIn('Reflect', 'construct');\nvar ObjectPrototype = Object.prototype;\nvar push = [].push;\n\n// `Reflect.construct` method\n// https://tc39.es/ecma262/#sec-reflect.construct\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n function F() {/* empty */}\n return !(nativeConstruct(function () {/* empty */}, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function () {\n nativeConstruct(function () {/* empty */});\n});\nvar FORCED = NEW_TARGET_BUG || ARGS_BUG;\n$({\n target: 'Reflect',\n stat: true,\n forced: FORCED,\n sham: FORCED\n}, {\n construct: function construct(Target, args /* , newTarget */) {\n aConstructor(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]);\n if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget);\n if (Target == newTarget) {\n // w/o altered newTarget, optimization for 0-4 arguments\n switch (args.length) {\n case 0:\n return new Target();\n case 1:\n return new Target(args[0]);\n case 2:\n return new Target(args[0], args[1]);\n case 3:\n return new Target(args[0], args[1], args[2]);\n case 4:\n return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n apply(push, $args, args);\n return new (apply(bind, Target, $args))();\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype;\n var instance = create(isObject(proto) ? proto : ObjectPrototype);\n var result = apply(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});", "var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar definePropertyModule = require('../internals/object-define-property');\nvar fails = require('../internals/fails');\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\nvar ERROR_INSTEAD_OF_FALSE = fails(function () {\n // eslint-disable-next-line es-x/no-reflect -- required for testing\n Reflect.defineProperty(definePropertyModule.f({}, 1, {\n value: 1\n }), 1, {\n value: 2\n });\n});\n\n// `Reflect.defineProperty` method\n// https://tc39.es/ecma262/#sec-reflect.defineproperty\n$({\n target: 'Reflect',\n stat: true,\n forced: ERROR_INSTEAD_OF_FALSE,\n sham: !DESCRIPTORS\n}, {\n defineProperty: function defineProperty(target, propertyKey, attributes) {\n anObject(target);\n var key = toPropertyKey(propertyKey);\n anObject(attributes);\n try {\n definePropertyModule.f(target, key, attributes);\n return true;\n } catch (error) {\n return false;\n }\n }\n});", "var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\n\n// `Reflect.deleteProperty` method\n// https://tc39.es/ecma262/#sec-reflect.deleteproperty\n$({\n target: 'Reflect',\n stat: true\n}, {\n deleteProperty: function deleteProperty(target, propertyKey) {\n var descriptor = getOwnPropertyDescriptor(anObject(target), propertyKey);\n return descriptor && !descriptor.configurable ? false : delete target[propertyKey];\n }\n});", "var $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar anObject = require('../internals/an-object');\nvar isDataDescriptor = require('../internals/is-data-descriptor');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\n\n// `Reflect.get` method\n// https://tc39.es/ecma262/#sec-reflect.get\nfunction get(target, propertyKey /* , receiver */) {\n var receiver = arguments.length < 3 ? target : arguments[2];\n var descriptor, prototype;\n if (anObject(target) === receiver) return target[propertyKey];\n descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey);\n if (descriptor) return isDataDescriptor(descriptor) ? descriptor.value : descriptor.get === undefined ? undefined : call(descriptor.get, receiver);\n if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver);\n}\n$({\n target: 'Reflect',\n stat: true\n}, {\n get: get\n});", "var $ = require('../internals/export');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar anObject = require('../internals/an-object');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\n\n// `Reflect.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-reflect.getownpropertydescriptor\n$({\n target: 'Reflect',\n stat: true,\n sham: !DESCRIPTORS\n}, {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n return getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);\n }\n});", "var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar objectGetPrototypeOf = require('../internals/object-get-prototype-of');\nvar CORRECT_PROTOTYPE_GETTER = require('../internals/correct-prototype-getter');\n\n// `Reflect.getPrototypeOf` method\n// https://tc39.es/ecma262/#sec-reflect.getprototypeof\n$({\n target: 'Reflect',\n stat: true,\n sham: !CORRECT_PROTOTYPE_GETTER\n}, {\n getPrototypeOf: function getPrototypeOf(target) {\n return objectGetPrototypeOf(anObject(target));\n }\n});", "var $ = require('../internals/export');\n\n// `Reflect.has` method\n// https://tc39.es/ecma262/#sec-reflect.has\n$({\n target: 'Reflect',\n stat: true\n}, {\n has: function has(target, propertyKey) {\n return propertyKey in target;\n }\n});", "var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar $isExtensible = require('../internals/object-is-extensible');\n\n// `Reflect.isExtensible` method\n// https://tc39.es/ecma262/#sec-reflect.isextensible\n$({\n target: 'Reflect',\n stat: true\n}, {\n isExtensible: function isExtensible(target) {\n anObject(target);\n return $isExtensible(target);\n }\n});", "var $ = require('../internals/export');\nvar ownKeys = require('../internals/own-keys');\n\n// `Reflect.ownKeys` method\n// https://tc39.es/ecma262/#sec-reflect.ownkeys\n$({\n target: 'Reflect',\n stat: true\n}, {\n ownKeys: ownKeys\n});", "var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar anObject = require('../internals/an-object');\nvar FREEZING = require('../internals/freezing');\n\n// `Reflect.preventExtensions` method\n// https://tc39.es/ecma262/#sec-reflect.preventextensions\n$({\n target: 'Reflect',\n stat: true,\n sham: !FREEZING\n}, {\n preventExtensions: function preventExtensions(target) {\n anObject(target);\n try {\n var objectPreventExtensions = getBuiltIn('Object', 'preventExtensions');\n if (objectPreventExtensions) objectPreventExtensions(target);\n return true;\n } catch (error) {\n return false;\n }\n }\n});", "var $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar isObject = require('../internals/is-object');\nvar isDataDescriptor = require('../internals/is-data-descriptor');\nvar fails = require('../internals/fails');\nvar definePropertyModule = require('../internals/object-define-property');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\n// `Reflect.set` method\n// https://tc39.es/ecma262/#sec-reflect.set\nfunction set(target, propertyKey, V /* , receiver */) {\n var receiver = arguments.length < 4 ? target : arguments[3];\n var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject(target), propertyKey);\n var existingDescriptor, prototype, setter;\n if (!ownDescriptor) {\n if (isObject(prototype = getPrototypeOf(target))) {\n return set(prototype, propertyKey, V, receiver);\n }\n ownDescriptor = createPropertyDescriptor(0);\n }\n if (isDataDescriptor(ownDescriptor)) {\n if (ownDescriptor.writable === false || !isObject(receiver)) return false;\n if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) {\n if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;\n existingDescriptor.value = V;\n definePropertyModule.f(receiver, propertyKey, existingDescriptor);\n } else definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor(0, V));\n } else {\n setter = ownDescriptor.set;\n if (setter === undefined) return false;\n call(setter, receiver, V);\n }\n return true;\n}\n\n// MS Edge 17-18 Reflect.set allows setting the property to object\n// with non-writable property on the prototype\nvar MS_EDGE_BUG = fails(function () {\n var Constructor = function Constructor() {/* empty */};\n var object = definePropertyModule.f(new Constructor(), 'a', {\n configurable: true\n });\n // eslint-disable-next-line es-x/no-reflect -- required for testing\n return Reflect.set(Constructor.prototype, 'a', 1, object) !== false;\n});\n$({\n target: 'Reflect',\n stat: true,\n forced: MS_EDGE_BUG\n}, {\n set: set\n});", "var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar aPossiblePrototype = require('../internals/a-possible-prototype');\nvar objectSetPrototypeOf = require('../internals/object-set-prototype-of');\n\n// `Reflect.setPrototypeOf` method\n// https://tc39.es/ecma262/#sec-reflect.setprototypeof\nif (objectSetPrototypeOf) $({\n target: 'Reflect',\n stat: true\n}, {\n setPrototypeOf: function setPrototypeOf(target, proto) {\n anObject(target);\n aPossiblePrototype(proto);\n try {\n objectSetPrototypeOf(target, proto);\n return true;\n } catch (error) {\n return false;\n }\n }\n});", "var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar setToStringTag = require('../internals/set-to-string-tag');\n$({\n global: true\n}, {\n Reflect: {}\n});\n\n// Reflect[@@toStringTag] property\n// https://tc39.es/ecma262/#sec-reflect-@@tostringtag\nsetToStringTag(global.Reflect, 'Reflect', true);", "var DESCRIPTORS = require('../internals/descriptors');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isForced = require('../internals/is-forced');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar getOwnPropertyNames = require('../internals/object-get-own-property-names').f;\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar isRegExp = require('../internals/is-regexp');\nvar toString = require('../internals/to-string');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar proxyAccessor = require('../internals/proxy-accessor');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar enforceInternalState = require('../internals/internal-state').enforce;\nvar setSpecies = require('../internals/set-species');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar UNSUPPORTED_NCG = require('../internals/regexp-unsupported-ncg');\nvar MATCH = wellKnownSymbol('match');\nvar NativeRegExp = global.RegExp;\nvar RegExpPrototype = NativeRegExp.prototype;\nvar SyntaxError = global.SyntaxError;\nvar exec = uncurryThis(RegExpPrototype.exec);\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\n// TODO: Use only proper RegExpIdentifierName\nvar IS_NCG = /^\\?<[^\\s\\d!#%&*+<=>@^][^\\s!#%&*+<=>@^]*>/;\nvar re1 = /a/g;\nvar re2 = /a/g;\n\n// \"new\" should create a new object, old webkit bug\nvar CORRECT_NEW = new NativeRegExp(re1) !== re1;\nvar MISSED_STICKY = stickyHelpers.MISSED_STICKY;\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\nvar BASE_FORCED = DESCRIPTORS && (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () {\n re2[MATCH] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';\n}));\nvar handleDotAll = function handleDotAll(string) {\n var length = string.length;\n var index = 0;\n var result = '';\n var brackets = false;\n var chr;\n for (; index <= length; index++) {\n chr = charAt(string, index);\n if (chr === '\\\\') {\n result += chr + charAt(string, ++index);\n continue;\n }\n if (!brackets && chr === '.') {\n result += '[\\\\s\\\\S]';\n } else {\n if (chr === '[') {\n brackets = true;\n } else if (chr === ']') {\n brackets = false;\n }\n result += chr;\n }\n }\n return result;\n};\nvar handleNCG = function handleNCG(string) {\n var length = string.length;\n var index = 0;\n var result = '';\n var named = [];\n var names = {};\n var brackets = false;\n var ncg = false;\n var groupid = 0;\n var groupname = '';\n var chr;\n for (; index <= length; index++) {\n chr = charAt(string, index);\n if (chr === '\\\\') {\n chr = chr + charAt(string, ++index);\n } else if (chr === ']') {\n brackets = false;\n } else if (!brackets) switch (true) {\n case chr === '[':\n brackets = true;\n break;\n case chr === '(':\n if (exec(IS_NCG, stringSlice(string, index + 1))) {\n index += 2;\n ncg = true;\n }\n result += chr;\n groupid++;\n continue;\n case chr === '>' && ncg:\n if (groupname === '' || hasOwn(names, groupname)) {\n throw new SyntaxError('Invalid capture group name');\n }\n names[groupname] = true;\n named[named.length] = [groupname, groupid];\n ncg = false;\n groupname = '';\n continue;\n }\n if (ncg) groupname += chr;else result += chr;\n }\n return [result, named];\n};\n\n// `RegExp` constructor\n// https://tc39.es/ecma262/#sec-regexp-constructor\nif (isForced('RegExp', BASE_FORCED)) {\n var RegExpWrapper = function RegExp(pattern, flags) {\n var thisIsRegExp = isPrototypeOf(RegExpPrototype, this);\n var patternIsRegExp = isRegExp(pattern);\n var flagsAreUndefined = flags === undefined;\n var groups = [];\n var rawPattern = pattern;\n var rawFlags, dotAll, sticky, handled, result, state;\n if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) {\n return pattern;\n }\n if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) {\n pattern = pattern.source;\n if (flagsAreUndefined) flags = getRegExpFlags(rawPattern);\n }\n pattern = pattern === undefined ? '' : toString(pattern);\n flags = flags === undefined ? '' : toString(flags);\n rawPattern = pattern;\n if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) {\n dotAll = !!flags && stringIndexOf(flags, 's') > -1;\n if (dotAll) flags = replace(flags, /s/g, '');\n }\n rawFlags = flags;\n if (MISSED_STICKY && 'sticky' in re1) {\n sticky = !!flags && stringIndexOf(flags, 'y') > -1;\n if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, '');\n }\n if (UNSUPPORTED_NCG) {\n handled = handleNCG(pattern);\n pattern = handled[0];\n groups = handled[1];\n }\n result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper);\n if (dotAll || sticky || groups.length) {\n state = enforceInternalState(result);\n if (dotAll) {\n state.dotAll = true;\n state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags);\n }\n if (sticky) state.sticky = true;\n if (groups.length) state.groups = groups;\n }\n if (pattern !== rawPattern) try {\n // fails in old engines, but we have no alternatives for unsupported regex syntax\n createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern);\n } catch (error) {/* empty */}\n return result;\n };\n for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) {\n proxyAccessor(RegExpWrapper, NativeRegExp, keys[index++]);\n }\n RegExpPrototype.constructor = RegExpWrapper;\n RegExpWrapper.prototype = RegExpPrototype;\n defineBuiltIn(global, 'RegExp', RegExpWrapper, {\n constructor: true\n });\n}\n\n// https://tc39.es/ecma262/#sec-get-regexp-@@species\nsetSpecies('RegExp');", "var DESCRIPTORS = require('../internals/descriptors');\nvar UNSUPPORTED_DOT_ALL = require('../internals/regexp-unsupported-dot-all');\nvar classof = require('../internals/classof-raw');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar getInternalState = require('../internals/internal-state').get;\nvar RegExpPrototype = RegExp.prototype;\nvar $TypeError = TypeError;\n\n// `RegExp.prototype.dotAll` getter\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.dotall\nif (DESCRIPTORS && UNSUPPORTED_DOT_ALL) {\n defineBuiltInAccessor(RegExpPrototype, 'dotAll', {\n configurable: true,\n get: function dotAll() {\n if (this === RegExpPrototype) return undefined;\n // We can't use InternalStateModule.getterFor because\n // we don't add metadata for regexps created by a literal.\n if (classof(this) === 'RegExp') {\n return !!getInternalState(this).dotAll;\n }\n throw $TypeError('Incompatible receiver, RegExp required');\n }\n });\n}", "var global = require('../internals/global');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar regExpFlags = require('../internals/regexp-flags');\nvar fails = require('../internals/fails');\n\n// babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError\nvar RegExp = global.RegExp;\nvar RegExpPrototype = RegExp.prototype;\nvar FORCED = DESCRIPTORS && fails(function () {\n var INDICES_SUPPORT = true;\n try {\n RegExp('.', 'd');\n } catch (error) {\n INDICES_SUPPORT = false;\n }\n var O = {};\n // modern V8 bug\n var calls = '';\n var expected = INDICES_SUPPORT ? 'dgimsy' : 'gimsy';\n var addGetter = function addGetter(key, chr) {\n // eslint-disable-next-line es-x/no-object-defineproperty -- safe\n Object.defineProperty(O, key, {\n get: function get() {\n calls += chr;\n return true;\n }\n });\n };\n var pairs = {\n dotAll: 's',\n global: 'g',\n ignoreCase: 'i',\n multiline: 'm',\n sticky: 'y'\n };\n if (INDICES_SUPPORT) pairs.hasIndices = 'd';\n for (var key in pairs) addGetter(key, pairs[key]);\n\n // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe\n var result = Object.getOwnPropertyDescriptor(RegExpPrototype, 'flags').get.call(O);\n return result !== expected || calls !== expected;\n});\n\n// `RegExp.prototype.flags` getter\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags\nif (FORCED) defineBuiltInAccessor(RegExpPrototype, 'flags', {\n configurable: true,\n get: regExpFlags\n});", "var DESCRIPTORS = require('../internals/descriptors');\nvar MISSED_STICKY = require('../internals/regexp-sticky-helpers').MISSED_STICKY;\nvar classof = require('../internals/classof-raw');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar getInternalState = require('../internals/internal-state').get;\nvar RegExpPrototype = RegExp.prototype;\nvar $TypeError = TypeError;\n\n// `RegExp.prototype.sticky` getter\n// https://tc39.es/ecma262/#sec-get-regexp.prototype.sticky\nif (DESCRIPTORS && MISSED_STICKY) {\n defineBuiltInAccessor(RegExpPrototype, 'sticky', {\n configurable: true,\n get: function sticky() {\n if (this === RegExpPrototype) return undefined;\n // We can't use InternalStateModule.getterFor because\n // we don't add metadata for regexps created by a literal.\n if (classof(this) === 'RegExp') {\n return !!getInternalState(this).sticky;\n }\n throw $TypeError('Incompatible receiver, RegExp required');\n }\n });\n}", "'use strict';\n\n// TODO: Remove from `core-js@4` since it's moved to entry points\nrequire('../modules/es.regexp.exec');\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\nvar DELEGATES_TO_EXEC = function () {\n var execCalled = false;\n var re = /[ac]/;\n re.exec = function () {\n execCalled = true;\n return /./.exec.apply(this, arguments);\n };\n return re.test('abc') === true && execCalled;\n}();\nvar $TypeError = TypeError;\nvar un$Test = uncurryThis(/./.test);\n\n// `RegExp.prototype.test` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.test\n$({\n target: 'RegExp',\n proto: true,\n forced: !DELEGATES_TO_EXEC\n}, {\n test: function test(str) {\n var exec = this.exec;\n if (!isCallable(exec)) return un$Test(this, str);\n var result = call(exec, this, str);\n if (result !== null && !isObject(result)) {\n throw new $TypeError('RegExp exec method returned something other than an Object or null');\n }\n return !!result;\n }\n});", "'use strict';\n\nvar PROPER_FUNCTION_NAME = require('../internals/function-name').PROPER;\nvar defineBuiltIn = require('../internals/define-built-in');\nvar anObject = require('../internals/an-object');\nvar $toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\nvar TO_STRING = 'toString';\nvar RegExpPrototype = RegExp.prototype;\nvar n$ToString = RegExpPrototype[TO_STRING];\nvar NOT_GENERIC = fails(function () {\n return n$ToString.call({\n source: 'a',\n flags: 'b'\n }) != '/a/b';\n});\n// FF44- RegExp#toString has a wrong name\nvar INCORRECT_NAME = PROPER_FUNCTION_NAME && n$ToString.name != TO_STRING;\n\n// `RegExp.prototype.toString` method\n// https://tc39.es/ecma262/#sec-regexp.prototype.tostring\nif (NOT_GENERIC || INCORRECT_NAME) {\n defineBuiltIn(RegExp.prototype, TO_STRING, function toString() {\n var R = anObject(this);\n var pattern = $toString(R.source);\n var flags = $toString(getRegExpFlags(R));\n return '/' + pattern + '/' + flags;\n }, {\n unsafe: true\n });\n}", "// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.set.constructor');", "'use strict';\n\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\nvar fails = require('../internals/fails');\nvar charAt = uncurryThis(''.charAt);\nvar FORCED = fails(function () {\n // eslint-disable-next-line es-x/no-array-string-prototype-at -- safe\n return '\uD842\uDFB7'.at(-2) !== \"\\uD842\";\n});\n\n// `String.prototype.at` method\n// https://github.com/tc39/proposal-relative-indexing-method\n$({\n target: 'String',\n proto: true,\n forced: FORCED\n}, {\n at: function at(index) {\n var S = toString(requireObjectCoercible(this));\n var len = S.length;\n var relativeIndex = toIntegerOrInfinity(index);\n var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;\n return k < 0 || k >= len ? undefined : charAt(S, k);\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar codeAt = require('../internals/string-multibyte').codeAt;\n\n// `String.prototype.codePointAt` method\n// https://tc39.es/ecma262/#sec-string.prototype.codepointat\n$({\n target: 'String',\n proto: true\n}, {\n codePointAt: function codePointAt(pos) {\n return codeAt(this, pos);\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es-x/no-string-prototype-endswith -- safe\nvar un$EndsWith = uncurryThis(''.endsWith);\nvar slice = uncurryThis(''.slice);\nvar min = Math.min;\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.endsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.endswith\n$({\n target: 'String',\n proto: true,\n forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC\n}, {\n endsWith: function endsWith(searchString /* , endPosition = @length */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n var len = that.length;\n var end = endPosition === undefined ? len : min(toLength(endPosition), len);\n var search = toString(searchString);\n return un$EndsWith ? un$EndsWith(that, search, end) : slice(that, end - search.length, end) === search;\n }\n});", "var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar $RangeError = RangeError;\nvar fromCharCode = String.fromCharCode;\n// eslint-disable-next-line es-x/no-string-fromcodepoint -- required for testing\nvar $fromCodePoint = String.fromCodePoint;\nvar join = uncurryThis([].join);\n\n// length should be 1, old FF problem\nvar INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length != 1;\n\n// `String.fromCodePoint` method\n// https://tc39.es/ecma262/#sec-string.fromcodepoint\n$({\n target: 'String',\n stat: true,\n arity: 1,\n forced: INCORRECT_LENGTH\n}, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n fromCodePoint: function fromCodePoint(x) {\n var elements = [];\n var length = arguments.length;\n var i = 0;\n var code;\n while (length > i) {\n code = +arguments[i++];\n if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw $RangeError(code + ' is not a valid code point');\n elements[i] = code < 0x10000 ? fromCharCode(code) : fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00);\n }\n return join(elements, '');\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar stringIndexOf = uncurryThis(''.indexOf);\n\n// `String.prototype.includes` method\n// https://tc39.es/ecma262/#sec-string.prototype.includes\n$({\n target: 'String',\n proto: true,\n forced: !correctIsRegExpLogic('includes')\n}, {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~stringIndexOf(toString(requireObjectCoercible(this)), toString(notARegExp(searchString)), arguments.length > 1 ? arguments[1] : undefined);\n }\n});", "'use strict';\n\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar getMethod = require('../internals/get-method');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@match logic\nfixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) {\n return [\n // `String.prototype.match` method\n // https://tc39.es/ecma262/#sec-string.prototype.match\n function match(regexp) {\n var O = requireObjectCoercible(this);\n var matcher = regexp == undefined ? undefined : getMethod(regexp, MATCH);\n return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O));\n },\n // `RegExp.prototype[@@match]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@match\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeMatch, rx, S);\n if (res.done) return res.value;\n if (!rx.global) return regExpExec(rx, S);\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n var A = [];\n var n = 0;\n var result;\n while ((result = regExpExec(rx, S)) !== null) {\n var matchStr = toString(result[0]);\n A[n] = matchStr;\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n n++;\n }\n return n === 0 ? null : A;\n }];\n});", "'use strict';\n\n/* eslint-disable es-x/no-string-prototype-matchall -- safe */\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar anObject = require('../internals/an-object');\nvar classof = require('../internals/classof-raw');\nvar isRegExp = require('../internals/is-regexp');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\nvar getMethod = require('../internals/get-method');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar fails = require('../internals/fails');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar InternalStateModule = require('../internals/internal-state');\nvar IS_PURE = require('../internals/is-pure');\nvar MATCH_ALL = wellKnownSymbol('matchAll');\nvar REGEXP_STRING = 'RegExp String';\nvar REGEXP_STRING_ITERATOR = REGEXP_STRING + ' Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(REGEXP_STRING_ITERATOR);\nvar RegExpPrototype = RegExp.prototype;\nvar $TypeError = TypeError;\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar un$MatchAll = uncurryThis(''.matchAll);\nvar WORKS_WITH_NON_GLOBAL_REGEX = !!un$MatchAll && !fails(function () {\n un$MatchAll('a', /./);\n});\nvar $RegExpStringIterator = createIteratorConstructor(function RegExpStringIterator(regexp, string, $global, fullUnicode) {\n setInternalState(this, {\n type: REGEXP_STRING_ITERATOR,\n regexp: regexp,\n string: string,\n global: $global,\n unicode: fullUnicode,\n done: false\n });\n}, REGEXP_STRING, function next() {\n var state = getInternalState(this);\n if (state.done) return {\n value: undefined,\n done: true\n };\n var R = state.regexp;\n var S = state.string;\n var match = regExpExec(R, S);\n if (match === null) return {\n value: undefined,\n done: state.done = true\n };\n if (state.global) {\n if (toString(match[0]) === '') R.lastIndex = advanceStringIndex(S, toLength(R.lastIndex), state.unicode);\n return {\n value: match,\n done: false\n };\n }\n state.done = true;\n return {\n value: match,\n done: false\n };\n});\nvar $matchAll = function $matchAll(string) {\n var R = anObject(this);\n var S = toString(string);\n var C = speciesConstructor(R, RegExp);\n var flags = toString(getRegExpFlags(R));\n var matcher, $global, fullUnicode;\n matcher = new C(C === RegExp ? R.source : R, flags);\n $global = !!~stringIndexOf(flags, 'g');\n fullUnicode = !!~stringIndexOf(flags, 'u');\n matcher.lastIndex = toLength(R.lastIndex);\n return new $RegExpStringIterator(matcher, S, $global, fullUnicode);\n};\n\n// `String.prototype.matchAll` method\n// https://tc39.es/ecma262/#sec-string.prototype.matchall\n$({\n target: 'String',\n proto: true,\n forced: WORKS_WITH_NON_GLOBAL_REGEX\n}, {\n matchAll: function matchAll(regexp) {\n var O = requireObjectCoercible(this);\n var flags, S, matcher, rx;\n if (regexp != null) {\n if (isRegExp(regexp)) {\n flags = toString(requireObjectCoercible(getRegExpFlags(regexp)));\n if (!~stringIndexOf(flags, 'g')) throw $TypeError('`.matchAll` does not allow non-global regexes');\n }\n if (WORKS_WITH_NON_GLOBAL_REGEX) return un$MatchAll(O, regexp);\n matcher = getMethod(regexp, MATCH_ALL);\n if (matcher === undefined && IS_PURE && classof(regexp) == 'RegExp') matcher = $matchAll;\n if (matcher) return call(matcher, regexp, O);\n } else if (WORKS_WITH_NON_GLOBAL_REGEX) return un$MatchAll(O, regexp);\n S = toString(O);\n rx = new RegExp(regexp, 'g');\n return IS_PURE ? call($matchAll, rx, S) : rx[MATCH_ALL](S);\n }\n});\nIS_PURE || MATCH_ALL in RegExpPrototype || defineBuiltIn(RegExpPrototype, MATCH_ALL, $matchAll);", "'use strict';\n\nvar $ = require('../internals/export');\nvar $padEnd = require('../internals/string-pad').end;\nvar WEBKIT_BUG = require('../internals/string-pad-webkit-bug');\n\n// `String.prototype.padEnd` method\n// https://tc39.es/ecma262/#sec-string.prototype.padend\n$({\n target: 'String',\n proto: true,\n forced: WEBKIT_BUG\n}, {\n padEnd: function padEnd(maxLength /* , fillString = ' ' */) {\n return $padEnd(this, maxLength, arguments.length > 1 ? arguments[1] : undefined);\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar $padStart = require('../internals/string-pad').start;\nvar WEBKIT_BUG = require('../internals/string-pad-webkit-bug');\n\n// `String.prototype.padStart` method\n// https://tc39.es/ecma262/#sec-string.prototype.padstart\n$({\n target: 'String',\n proto: true,\n forced: WEBKIT_BUG\n}, {\n padStart: function padStart(maxLength /* , fillString = ' ' */) {\n return $padStart(this, maxLength, arguments.length > 1 ? arguments[1] : undefined);\n }\n});", "var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toObject = require('../internals/to-object');\nvar toString = require('../internals/to-string');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar push = uncurryThis([].push);\nvar join = uncurryThis([].join);\n\n// `String.raw` method\n// https://tc39.es/ecma262/#sec-string.raw\n$({\n target: 'String',\n stat: true\n}, {\n raw: function raw(template) {\n var rawTemplate = toIndexedObject(toObject(template).raw);\n var literalSegments = lengthOfArrayLike(rawTemplate);\n var argumentsLength = arguments.length;\n var elements = [];\n var i = 0;\n while (literalSegments > i) {\n push(elements, toString(rawTemplate[i++]));\n if (i === literalSegments) return join(elements, '');\n if (i < argumentsLength) push(elements, toString(arguments[i]));\n }\n }\n});", "var $ = require('../internals/export');\nvar repeat = require('../internals/string-repeat');\n\n// `String.prototype.repeat` method\n// https://tc39.es/ecma262/#sec-string.prototype.repeat\n$({\n target: 'String',\n proto: true\n}, {\n repeat: repeat\n});", "'use strict';\n\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar fails = require('../internals/fails');\nvar anObject = require('../internals/an-object');\nvar isCallable = require('../internals/is-callable');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar getMethod = require('../internals/get-method');\nvar getSubstitution = require('../internals/get-substitution');\nvar regExpExec = require('../internals/regexp-exec-abstract');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar REPLACE = wellKnownSymbol('replace');\nvar max = Math.max;\nvar min = Math.min;\nvar concat = uncurryThis([].concat);\nvar push = uncurryThis([].push);\nvar stringIndexOf = uncurryThis(''.indexOf);\nvar stringSlice = uncurryThis(''.slice);\nvar maybeToString = function maybeToString(it) {\n return it === undefined ? it : String(it);\n};\n\n// IE <= 11 replaces $0 with the whole match, as if it was $&\n// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0\nvar REPLACE_KEEPS_$0 = function () {\n // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing\n return 'a'.replace(/./, '$0') === '$0';\n}();\n\n// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string\nvar REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = function () {\n if (/./[REPLACE]) {\n return /./[REPLACE]('a', '$0') === '';\n }\n return false;\n}();\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n var re = /./;\n re.exec = function () {\n var result = [];\n result.groups = {\n a: '7'\n };\n return result;\n };\n // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive\n return ''.replace(re, '$
') !== '7';\n});\n\n// @@replace logic\nfixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {\n var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';\n return [\n // `String.prototype.replace` method\n // https://tc39.es/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE);\n return replacer ? call(replacer, searchValue, O, replaceValue) : call(nativeReplace, toString(O), searchValue, replaceValue);\n },\n // `RegExp.prototype[@@replace]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace\n function (string, replaceValue) {\n var rx = anObject(this);\n var S = toString(string);\n if (typeof replaceValue == 'string' && stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 && stringIndexOf(replaceValue, '$<') === -1) {\n var res = maybeCallNative(nativeReplace, rx, S, replaceValue);\n if (res.done) return res.value;\n }\n var functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n var global = rx.global;\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n var results = [];\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n push(results, result);\n if (!global) break;\n var matchStr = toString(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n var matched = toString(result[0]);\n var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);\n var captures = [];\n // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));\n var namedCaptures = result.groups;\n if (functionalReplace) {\n var replacerArgs = concat([matched], captures, position, S);\n if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);\n var replacement = toString(apply(replaceValue, undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n if (position >= nextSourcePosition) {\n accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n return accumulatedResult + stringSlice(S, nextSourcePosition);\n }];\n}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);", "'use strict';\n\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar isCallable = require('../internals/is-callable');\nvar isRegExp = require('../internals/is-regexp');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\nvar getSubstitution = require('../internals/get-substitution');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\nvar REPLACE = wellKnownSymbol('replace');\nvar $TypeError = TypeError;\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar max = Math.max;\nvar stringIndexOf = function stringIndexOf(string, searchValue, fromIndex) {\n if (fromIndex > string.length) return -1;\n if (searchValue === '') return fromIndex;\n return indexOf(string, searchValue, fromIndex);\n};\n\n// `String.prototype.replaceAll` method\n// https://tc39.es/ecma262/#sec-string.prototype.replaceall\n$({\n target: 'String',\n proto: true\n}, {\n replaceAll: function replaceAll(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement;\n var position = 0;\n var endOfLastMatch = 0;\n var result = '';\n if (searchValue != null) {\n IS_REG_EXP = isRegExp(searchValue);\n if (IS_REG_EXP) {\n flags = toString(requireObjectCoercible(getRegExpFlags(searchValue)));\n if (!~indexOf(flags, 'g')) throw $TypeError('`.replaceAll` does not allow non-global regexes');\n }\n replacer = getMethod(searchValue, REPLACE);\n if (replacer) {\n return call(replacer, searchValue, O, replaceValue);\n } else if (IS_PURE && IS_REG_EXP) {\n return replace(toString(O), searchValue, replaceValue);\n }\n }\n string = toString(O);\n searchString = toString(searchValue);\n functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n searchLength = searchString.length;\n advanceBy = max(1, searchLength);\n position = stringIndexOf(string, searchString, 0);\n while (position !== -1) {\n replacement = functionalReplace ? toString(replaceValue(searchString, position, string)) : getSubstitution(searchString, string, position, [], undefined, replaceValue);\n result += stringSlice(string, endOfLastMatch, position) + replacement;\n endOfLastMatch = position + searchLength;\n position = stringIndexOf(string, searchString, position + advanceBy);\n }\n if (endOfLastMatch < string.length) {\n result += stringSlice(string, endOfLastMatch);\n }\n return result;\n }\n});", "'use strict';\n\nvar call = require('../internals/function-call');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar sameValue = require('../internals/same-value');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar regExpExec = require('../internals/regexp-exec-abstract');\n\n// @@search logic\nfixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {\n return [\n // `String.prototype.search` method\n // https://tc39.es/ecma262/#sec-string.prototype.search\n function search(regexp) {\n var O = requireObjectCoercible(this);\n var searcher = regexp == undefined ? undefined : getMethod(regexp, SEARCH);\n return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));\n },\n // `RegExp.prototype[@@search]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@search\n function (string) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(nativeSearch, rx, S);\n if (res.done) return res.value;\n var previousLastIndex = rx.lastIndex;\n if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n var result = regExpExec(rx, S);\n if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n return result === null ? -1 : result.index;\n }];\n});", "'use strict';\n\nvar apply = require('../internals/function-apply');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fixRegExpWellKnownSymbolLogic = require('../internals/fix-regexp-well-known-symbol-logic');\nvar isRegExp = require('../internals/is-regexp');\nvar anObject = require('../internals/an-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar speciesConstructor = require('../internals/species-constructor');\nvar advanceStringIndex = require('../internals/advance-string-index');\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar arraySlice = require('../internals/array-slice-simple');\nvar callRegExpExec = require('../internals/regexp-exec-abstract');\nvar regexpExec = require('../internals/regexp-exec');\nvar stickyHelpers = require('../internals/regexp-sticky-helpers');\nvar fails = require('../internals/fails');\nvar UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;\nvar MAX_UINT32 = 0xFFFFFFFF;\nvar min = Math.min;\nvar $push = [].push;\nvar exec = uncurryThis(/./.exec);\nvar push = uncurryThis($push);\nvar stringSlice = uncurryThis(''.slice);\n\n// Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n// Weex JS has frozen built-in prototypes, so use try / catch wrapper\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () {\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n var re = /(?:)/;\n var originalExec = re.exec;\n re.exec = function () {\n return originalExec.apply(this, arguments);\n };\n var result = 'ab'.split(re);\n return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';\n});\n\n// @@split logic\nfixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) {\n var internalSplit;\n if ('abbc'.split(/(b)*/)[1] == 'c' ||\n // eslint-disable-next-line regexp/no-empty-group -- required for testing\n 'test'.split(/(?:)/, -1).length != 4 || 'ab'.split(/(?:ab)*/).length != 2 || '.'.split(/(.?)(.?)/).length != 4 ||\n // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing\n '.'.split(/()()/).length > 1 || ''.split(/.?/).length) {\n // based on es5-shim implementation, need to rework it\n internalSplit = function internalSplit(separator, limit) {\n var string = toString(requireObjectCoercible(this));\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (separator === undefined) return [string];\n // If `separator` is not a regex, use native split\n if (!isRegExp(separator)) {\n return call(nativeSplit, string, separator, lim);\n }\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') + (separator.multiline ? 'm' : '') + (separator.unicode ? 'u' : '') + (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var match, lastIndex, lastLength;\n while (match = call(regexpExec, separatorCopy, string)) {\n lastIndex = separatorCopy.lastIndex;\n if (lastIndex > lastLastIndex) {\n push(output, stringSlice(string, lastLastIndex, match.index));\n if (match.length > 1 && match.index < string.length) apply($push, output, arraySlice(match, 1));\n lastLength = match[0].length;\n lastLastIndex = lastIndex;\n if (output.length >= lim) break;\n }\n if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop\n }\n if (lastLastIndex === string.length) {\n if (lastLength || !exec(separatorCopy, '')) push(output, '');\n } else push(output, stringSlice(string, lastLastIndex));\n return output.length > lim ? arraySlice(output, 0, lim) : output;\n };\n // Chakra, V8\n } else if ('0'.split(undefined, 0).length) {\n internalSplit = function internalSplit(separator, limit) {\n return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit);\n };\n } else internalSplit = nativeSplit;\n return [\n // `String.prototype.split` method\n // https://tc39.es/ecma262/#sec-string.prototype.split\n function split(separator, limit) {\n var O = requireObjectCoercible(this);\n var splitter = separator == undefined ? undefined : getMethod(separator, SPLIT);\n return splitter ? call(splitter, separator, O, limit) : call(internalSplit, toString(O), separator, limit);\n },\n // `RegExp.prototype[@@split]` method\n // https://tc39.es/ecma262/#sec-regexp.prototype-@@split\n //\n // NOTE: This cannot be properly polyfilled in engines that don't support\n // the 'y' flag.\n function (string, limit) {\n var rx = anObject(this);\n var S = toString(string);\n var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);\n if (res.done) return res.value;\n var C = speciesConstructor(rx, RegExp);\n var unicodeMatching = rx.unicode;\n var flags = (rx.ignoreCase ? 'i' : '') + (rx.multiline ? 'm' : '') + (rx.unicode ? 'u' : '') + (UNSUPPORTED_Y ? 'g' : 'y');\n\n // ^(? + rx + ) is needed, in combination with some S slicing, to\n // simulate the 'y' flag.\n var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags);\n var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n if (lim === 0) return [];\n if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n var p = 0;\n var q = 0;\n var A = [];\n while (q < S.length) {\n splitter.lastIndex = UNSUPPORTED_Y ? 0 : q;\n var z = callRegExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S);\n var e;\n if (z === null || (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p) {\n q = advanceStringIndex(S, q, unicodeMatching);\n } else {\n push(A, stringSlice(S, p, q));\n if (A.length === lim) return A;\n for (var i = 1; i <= z.length - 1; i++) {\n push(A, z[i]);\n if (A.length === lim) return A;\n }\n q = p = e;\n }\n }\n push(A, stringSlice(S, p));\n return A;\n }];\n}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y);", "'use strict';\n\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar toLength = require('../internals/to-length');\nvar toString = require('../internals/to-string');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\nvar IS_PURE = require('../internals/is-pure');\n\n// eslint-disable-next-line es-x/no-string-prototype-startswith -- safe\nvar un$StartsWith = uncurryThis(''.startsWith);\nvar stringSlice = uncurryThis(''.slice);\nvar min = Math.min;\nvar CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');\n// https://github.com/zloirock/core-js/pull/702\nvar MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () {\n var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith');\n return descriptor && !descriptor.writable;\n}();\n\n// `String.prototype.startsWith` method\n// https://tc39.es/ecma262/#sec-string.prototype.startswith\n$({\n target: 'String',\n proto: true,\n forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC\n}, {\n startsWith: function startsWith(searchString /* , position = 0 */) {\n var that = toString(requireObjectCoercible(this));\n notARegExp(searchString);\n var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = toString(searchString);\n return un$StartsWith ? un$StartsWith(that, search, index) : stringSlice(that, index, index + search.length) === search;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar $trim = require('../internals/string-trim').trim;\nvar forcedStringTrimMethod = require('../internals/string-trim-forced');\n\n// `String.prototype.trim` method\n// https://tc39.es/ecma262/#sec-string.prototype.trim\n$({\n target: 'String',\n proto: true,\n forced: forcedStringTrimMethod('trim')\n}, {\n trim: function trim() {\n return $trim(this);\n }\n});", "// TODO: Remove this line from `core-js@4`\nrequire('../modules/es.string.trim-right');\nvar $ = require('../internals/export');\nvar trimEnd = require('../internals/string-trim-end');\n\n// `String.prototype.trimEnd` method\n// https://tc39.es/ecma262/#sec-string.prototype.trimend\n// eslint-disable-next-line es-x/no-string-prototype-trimstart-trimend -- safe\n$({\n target: 'String',\n proto: true,\n name: 'trimEnd',\n forced: ''.trimEnd !== trimEnd\n}, {\n trimEnd: trimEnd\n});", "// TODO: Remove this line from `core-js@4`\nrequire('../modules/es.string.trim-left');\nvar $ = require('../internals/export');\nvar trimStart = require('../internals/string-trim-start');\n\n// `String.prototype.trimStart` method\n// https://tc39.es/ecma262/#sec-string.prototype.trimstart\n// eslint-disable-next-line es-x/no-string-prototype-trimstart-trimend -- safe\n$({\n target: 'String',\n proto: true,\n name: 'trimStart',\n forced: ''.trimStart !== trimStart\n}, {\n trimStart: trimStart\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.anchor` method\n// https://tc39.es/ecma262/#sec-string.prototype.anchor\n$({\n target: 'String',\n proto: true,\n forced: forcedStringHTMLMethod('anchor')\n}, {\n anchor: function anchor(name) {\n return createHTML(this, 'a', 'name', name);\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.big` method\n// https://tc39.es/ecma262/#sec-string.prototype.big\n$({\n target: 'String',\n proto: true,\n forced: forcedStringHTMLMethod('big')\n}, {\n big: function big() {\n return createHTML(this, 'big', '', '');\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.blink` method\n// https://tc39.es/ecma262/#sec-string.prototype.blink\n$({\n target: 'String',\n proto: true,\n forced: forcedStringHTMLMethod('blink')\n}, {\n blink: function blink() {\n return createHTML(this, 'blink', '', '');\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.bold` method\n// https://tc39.es/ecma262/#sec-string.prototype.bold\n$({\n target: 'String',\n proto: true,\n forced: forcedStringHTMLMethod('bold')\n}, {\n bold: function bold() {\n return createHTML(this, 'b', '', '');\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.fixed` method\n// https://tc39.es/ecma262/#sec-string.prototype.fixed\n$({\n target: 'String',\n proto: true,\n forced: forcedStringHTMLMethod('fixed')\n}, {\n fixed: function fixed() {\n return createHTML(this, 'tt', '', '');\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.fontcolor` method\n// https://tc39.es/ecma262/#sec-string.prototype.fontcolor\n$({\n target: 'String',\n proto: true,\n forced: forcedStringHTMLMethod('fontcolor')\n}, {\n fontcolor: function fontcolor(color) {\n return createHTML(this, 'font', 'color', color);\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.fontsize` method\n// https://tc39.es/ecma262/#sec-string.prototype.fontsize\n$({\n target: 'String',\n proto: true,\n forced: forcedStringHTMLMethod('fontsize')\n}, {\n fontsize: function fontsize(size) {\n return createHTML(this, 'font', 'size', size);\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.italics` method\n// https://tc39.es/ecma262/#sec-string.prototype.italics\n$({\n target: 'String',\n proto: true,\n forced: forcedStringHTMLMethod('italics')\n}, {\n italics: function italics() {\n return createHTML(this, 'i', '', '');\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.link` method\n// https://tc39.es/ecma262/#sec-string.prototype.link\n$({\n target: 'String',\n proto: true,\n forced: forcedStringHTMLMethod('link')\n}, {\n link: function link(url) {\n return createHTML(this, 'a', 'href', url);\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.small` method\n// https://tc39.es/ecma262/#sec-string.prototype.small\n$({\n target: 'String',\n proto: true,\n forced: forcedStringHTMLMethod('small')\n}, {\n small: function small() {\n return createHTML(this, 'small', '', '');\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.strike` method\n// https://tc39.es/ecma262/#sec-string.prototype.strike\n$({\n target: 'String',\n proto: true,\n forced: forcedStringHTMLMethod('strike')\n}, {\n strike: function strike() {\n return createHTML(this, 'strike', '', '');\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.sub` method\n// https://tc39.es/ecma262/#sec-string.prototype.sub\n$({\n target: 'String',\n proto: true,\n forced: forcedStringHTMLMethod('sub')\n}, {\n sub: function sub() {\n return createHTML(this, 'sub', '', '');\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.sup` method\n// https://tc39.es/ecma262/#sec-string.prototype.sup\n$({\n target: 'String',\n proto: true,\n forced: forcedStringHTMLMethod('sup')\n}, {\n sup: function sup() {\n return createHTML(this, 'sup', '', '');\n }\n});", "var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Float32Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Float32', function (init) {\n return function Float32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});", "var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Float64Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Float64', function (init) {\n return function Float64Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});", "var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Int8Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Int8', function (init) {\n return function Int8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});", "var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Int16Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Int16', function (init) {\n return function Int16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});", "var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Int32Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Int32', function (init) {\n return function Int32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});", "var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint8Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint8', function (init) {\n return function Uint8Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});", "var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint8ClampedArray` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint8', function (init) {\n return function Uint8ClampedArray(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n}, true);", "var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint16Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint16', function (init) {\n return function Uint16Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});", "var createTypedArrayConstructor = require('../internals/typed-array-constructor');\n\n// `Uint32Array` constructor\n// https://tc39.es/ecma262/#sec-typedarray-objects\ncreateTypedArrayConstructor('Uint32', function (init) {\n return function Uint32Array(data, byteOffset, length) {\n return init(this, data, byteOffset, length);\n };\n});", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.at` method\n// https://github.com/tc39/proposal-relative-indexing-method\nexportTypedArrayMethod('at', function at(index) {\n var O = aTypedArray(this);\n var len = lengthOfArrayLike(O);\n var relativeIndex = toIntegerOrInfinity(index);\n var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;\n return k < 0 || k >= len ? undefined : O[k];\n});", "'use strict';\n\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $ArrayCopyWithin = require('../internals/array-copy-within');\nvar u$ArrayCopyWithin = uncurryThis($ArrayCopyWithin);\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.copyWithin` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.copywithin\nexportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end */) {\n return u$ArrayCopyWithin(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined);\n});", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $every = require('../internals/array-iteration').every;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.every` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.every\nexportTypedArrayMethod('every', function every(callbackfn /* , thisArg */) {\n return $every(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $fill = require('../internals/array-fill');\nvar toBigInt = require('../internals/to-big-int');\nvar classof = require('../internals/classof');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar slice = uncurryThis(''.slice);\n\n// V8 ~ Chrome < 59, Safari < 14.1, FF < 55, Edge <=18\nvar CONVERSION_BUG = fails(function () {\n var count = 0;\n // eslint-disable-next-line es-x/no-typed-arrays -- safe\n new Int8Array(2).fill({\n valueOf: function valueOf() {\n return count++;\n }\n });\n return count !== 1;\n});\n\n// `%TypedArray%.prototype.fill` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill\nexportTypedArrayMethod('fill', function fill(value /* , start, end */) {\n var length = arguments.length;\n aTypedArray(this);\n var actualValue = slice(classof(this), 0, 3) === 'Big' ? toBigInt(value) : +value;\n return call($fill, this, actualValue, length > 1 ? arguments[1] : undefined, length > 2 ? arguments[2] : undefined);\n}, CONVERSION_BUG);", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $filter = require('../internals/array-iteration').filter;\nvar fromSpeciesAndList = require('../internals/typed-array-from-species-and-list');\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.filter` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.filter\nexportTypedArrayMethod('filter', function filter(callbackfn /* , thisArg */) {\n var list = $filter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return fromSpeciesAndList(this, list);\n});", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $find = require('../internals/array-iteration').find;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.find` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.find\nexportTypedArrayMethod('find', function find(predicate /* , thisArg */) {\n return $find(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $findIndex = require('../internals/array-iteration').findIndex;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.findIndex` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.findindex\nexportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */) {\n return $findIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $findLast = require('../internals/array-iteration-from-last').findLast;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.findLast` method\n// https://github.com/tc39/proposal-array-find-from-last\nexportTypedArrayMethod('findLast', function findLast(predicate /* , thisArg */) {\n return $findLast(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $findLastIndex = require('../internals/array-iteration-from-last').findLastIndex;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.findLastIndex` method\n// https://github.com/tc39/proposal-array-find-from-last\nexportTypedArrayMethod('findLastIndex', function findLastIndex(predicate /* , thisArg */) {\n return $findLastIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n});", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $forEach = require('../internals/array-iteration').forEach;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.forEach` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.foreach\nexportTypedArrayMethod('forEach', function forEach(callbackfn /* , thisArg */) {\n $forEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});", "'use strict';\n\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');\nvar exportTypedArrayStaticMethod = require('../internals/array-buffer-view-core').exportTypedArrayStaticMethod;\nvar typedArrayFrom = require('../internals/typed-array-from');\n\n// `%TypedArray%.from` method\n// https://tc39.es/ecma262/#sec-%typedarray%.from\nexportTypedArrayStaticMethod('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $includes = require('../internals/array-includes').includes;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.includes` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.includes\nexportTypedArrayMethod('includes', function includes(searchElement /* , fromIndex */) {\n return $includes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n});", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $indexOf = require('../internals/array-includes').indexOf;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.indexOf` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.indexof\nexportTypedArrayMethod('indexOf', function indexOf(searchElement /* , fromIndex */) {\n return $indexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n});", "'use strict';\n\nvar global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar ArrayIterators = require('../modules/es.array.iterator');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar ITERATOR = wellKnownSymbol('iterator');\nvar Uint8Array = global.Uint8Array;\nvar arrayValues = uncurryThis(ArrayIterators.values);\nvar arrayKeys = uncurryThis(ArrayIterators.keys);\nvar arrayEntries = uncurryThis(ArrayIterators.entries);\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar TypedArrayPrototype = Uint8Array && Uint8Array.prototype;\nvar GENERIC = !fails(function () {\n TypedArrayPrototype[ITERATOR].call([1]);\n});\nvar ITERATOR_IS_VALUES = !!TypedArrayPrototype && TypedArrayPrototype.values && TypedArrayPrototype[ITERATOR] === TypedArrayPrototype.values && TypedArrayPrototype.values.name === 'values';\nvar typedArrayValues = function values() {\n return arrayValues(aTypedArray(this));\n};\n\n// `%TypedArray%.prototype.entries` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.entries\nexportTypedArrayMethod('entries', function entries() {\n return arrayEntries(aTypedArray(this));\n}, GENERIC);\n// `%TypedArray%.prototype.keys` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.keys\nexportTypedArrayMethod('keys', function keys() {\n return arrayKeys(aTypedArray(this));\n}, GENERIC);\n// `%TypedArray%.prototype.values` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.values\nexportTypedArrayMethod('values', typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, {\n name: 'values'\n});\n// `%TypedArray%.prototype[@@iterator]` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype-@@iterator\nexportTypedArrayMethod(ITERATOR, typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, {\n name: 'values'\n});", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar $join = uncurryThis([].join);\n\n// `%TypedArray%.prototype.join` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.join\nexportTypedArrayMethod('join', function join(separator) {\n return $join(aTypedArray(this), separator);\n});", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar apply = require('../internals/function-apply');\nvar $lastIndexOf = require('../internals/array-last-index-of');\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.lastIndexOf` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.lastindexof\nexportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) {\n var length = arguments.length;\n return apply($lastIndexOf, aTypedArray(this), length > 1 ? [searchElement, arguments[1]] : [searchElement]);\n});", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $map = require('../internals/array-iteration').map;\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.map` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.map\nexportTypedArrayMethod('map', function map(mapfn /* , thisArg */) {\n return $map(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) {\n return new (typedArraySpeciesConstructor(O))(length);\n });\n});", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = require('../internals/typed-array-constructors-require-wrappers');\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod;\n\n// `%TypedArray%.of` method\n// https://tc39.es/ecma262/#sec-%typedarray%.of\nexportTypedArrayStaticMethod('of', function of( /* ...items */\n) {\n var index = 0;\n var length = arguments.length;\n var result = new (aTypedArrayConstructor(this))(length);\n while (length > index) result[index] = arguments[index++];\n return result;\n}, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS);", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $reduce = require('../internals/array-reduce').left;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce\nexportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduce(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined);\n});", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $reduceRight = require('../internals/array-reduce').right;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.reduceRight` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright\nexportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduceRight(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined);\n});", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar floor = Math.floor;\n\n// `%TypedArray%.prototype.reverse` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reverse\nexportTypedArrayMethod('reverse', function reverse() {\n var that = this;\n var length = aTypedArray(that).length;\n var middle = floor(length / 2);\n var index = 0;\n var value;\n while (index < middle) {\n value = that[index];\n that[index++] = that[--length];\n that[length] = value;\n }\n return that;\n});", "'use strict';\n\nvar global = require('../internals/global');\nvar call = require('../internals/function-call');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toOffset = require('../internals/to-offset');\nvar toIndexedObject = require('../internals/to-object');\nvar fails = require('../internals/fails');\nvar RangeError = global.RangeError;\nvar Int8Array = global.Int8Array;\nvar Int8ArrayPrototype = Int8Array && Int8Array.prototype;\nvar $set = Int8ArrayPrototype && Int8ArrayPrototype.set;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS = !fails(function () {\n // eslint-disable-next-line es-x/no-typed-arrays -- required for testing\n var array = new Uint8ClampedArray(2);\n call($set, array, {\n length: 1,\n 0: 3\n }, 1);\n return array[1] !== 3;\n});\n\n// https://bugs.chromium.org/p/v8/issues/detail?id=11294 and other\nvar TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS && fails(function () {\n var array = new Int8Array(2);\n array.set(1);\n array.set('2', 1);\n return array[0] !== 0 || array[1] !== 2;\n});\n\n// `%TypedArray%.prototype.set` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.set\nexportTypedArrayMethod('set', function set(arrayLike /* , offset */) {\n aTypedArray(this);\n var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1);\n var src = toIndexedObject(arrayLike);\n if (WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS) return call($set, this, src, offset);\n var length = this.length;\n var len = lengthOfArrayLike(src);\n var index = 0;\n if (len + offset > length) throw RangeError('Wrong length');\n while (index < len) this[offset + index] = src[index++];\n}, !WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG);", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\nvar fails = require('../internals/fails');\nvar arraySlice = require('../internals/array-slice');\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar FORCED = fails(function () {\n // eslint-disable-next-line es-x/no-typed-arrays -- required for testing\n new Int8Array(1).slice();\n});\n\n// `%TypedArray%.prototype.slice` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice\nexportTypedArrayMethod('slice', function slice(start, end) {\n var list = arraySlice(aTypedArray(this), start, end);\n var C = typedArraySpeciesConstructor(this);\n var index = 0;\n var length = list.length;\n var result = new C(length);\n while (length > index) result[index] = list[index++];\n return result;\n}, FORCED);", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $some = require('../internals/array-iteration').some;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.some` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.some\nexportTypedArrayMethod('some', function some(callbackfn /* , thisArg */) {\n return $some(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n});", "'use strict';\n\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar aCallable = require('../internals/a-callable');\nvar internalSort = require('../internals/array-sort');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar FF = require('../internals/engine-ff-version');\nvar IE_OR_EDGE = require('../internals/engine-is-ie-or-edge');\nvar V8 = require('../internals/engine-v8-version');\nvar WEBKIT = require('../internals/engine-webkit-version');\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar Uint16Array = global.Uint16Array;\nvar un$Sort = Uint16Array && uncurryThis(Uint16Array.prototype.sort);\n\n// WebKit\nvar ACCEPT_INCORRECT_ARGUMENTS = !!un$Sort && !(fails(function () {\n un$Sort(new Uint16Array(2), null);\n}) && fails(function () {\n un$Sort(new Uint16Array(2), {});\n}));\nvar STABLE_SORT = !!un$Sort && !fails(function () {\n // feature detection can be too slow, so check engines versions\n if (V8) return V8 < 74;\n if (FF) return FF < 67;\n if (IE_OR_EDGE) return true;\n if (WEBKIT) return WEBKIT < 602;\n var array = new Uint16Array(516);\n var expected = Array(516);\n var index, mod;\n for (index = 0; index < 516; index++) {\n mod = index % 4;\n array[index] = 515 - index;\n expected[index] = index - 2 * mod + 3;\n }\n un$Sort(array, function (a, b) {\n return (a / 4 | 0) - (b / 4 | 0);\n });\n for (index = 0; index < 516; index++) {\n if (array[index] !== expected[index]) return true;\n }\n});\nvar getSortCompare = function getSortCompare(comparefn) {\n return function (x, y) {\n if (comparefn !== undefined) return +comparefn(x, y) || 0;\n // eslint-disable-next-line no-self-compare -- NaN check\n if (y !== y) return -1;\n // eslint-disable-next-line no-self-compare -- NaN check\n if (x !== x) return 1;\n if (x === 0 && y === 0) return 1 / x > 0 && 1 / y < 0 ? 1 : -1;\n return x > y;\n };\n};\n\n// `%TypedArray%.prototype.sort` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort\nexportTypedArrayMethod('sort', function sort(comparefn) {\n if (comparefn !== undefined) aCallable(comparefn);\n if (STABLE_SORT) return un$Sort(this, comparefn);\n return internalSort(aTypedArray(this), getSortCompare(comparefn));\n}, !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS);", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar toLength = require('../internals/to-length');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.subarray` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray\nexportTypedArrayMethod('subarray', function subarray(begin, end) {\n var O = aTypedArray(this);\n var length = O.length;\n var beginIndex = toAbsoluteIndex(begin, length);\n var C = typedArraySpeciesConstructor(O);\n return new C(O.buffer, O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT, toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex));\n});", "'use strict';\n\nvar global = require('../internals/global');\nvar apply = require('../internals/function-apply');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar fails = require('../internals/fails');\nvar arraySlice = require('../internals/array-slice');\nvar Int8Array = global.Int8Array;\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar $toLocaleString = [].toLocaleString;\n\n// iOS Safari 6.x fails here\nvar TO_LOCALE_STRING_BUG = !!Int8Array && fails(function () {\n $toLocaleString.call(new Int8Array(1));\n});\nvar FORCED = fails(function () {\n return [1, 2].toLocaleString() != new Int8Array([1, 2]).toLocaleString();\n}) || !fails(function () {\n Int8Array.prototype.toLocaleString.call([1, 2]);\n});\n\n// `%TypedArray%.prototype.toLocaleString` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tolocalestring\nexportTypedArrayMethod('toLocaleString', function toLocaleString() {\n return apply($toLocaleString, TO_LOCALE_STRING_BUG ? arraySlice(aTypedArray(this)) : aTypedArray(this), arraySlice(arguments));\n}, FORCED);", "'use strict';\n\nvar exportTypedArrayMethod = require('../internals/array-buffer-view-core').exportTypedArrayMethod;\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar Uint8Array = global.Uint8Array;\nvar Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype || {};\nvar arrayToString = [].toString;\nvar join = uncurryThis([].join);\nif (fails(function () {\n arrayToString.call({});\n})) {\n arrayToString = function toString() {\n return join(this);\n };\n}\nvar IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString != arrayToString;\n\n// `%TypedArray%.prototype.toString` method\n// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tostring\nexportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD);", "// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/es.weak-set.constructor');", "var $ = require('../internals/export');\nvar fromAsync = require('../internals/array-from-async');\n\n// `Array.fromAsync` method\n// https://github.com/tc39/proposal-array-from-async\n$({\n target: 'Array',\n stat: true,\n forced: true\n}, {\n fromAsync: fromAsync\n});", "'use strict';\n\n// TODO: remove from `core-js@4`\nvar $ = require('../internals/export');\nvar $filterReject = require('../internals/array-iteration').filterReject;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.filterOut` method\n// https://github.com/tc39/proposal-array-filtering\n$({\n target: 'Array',\n proto: true,\n forced: true\n}, {\n filterOut: function filterOut(callbackfn /* , thisArg */) {\n return $filterReject(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\naddToUnscopables('filterOut');", "'use strict';\n\nvar $ = require('../internals/export');\nvar $filterReject = require('../internals/array-iteration').filterReject;\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.filterReject` method\n// https://github.com/tc39/proposal-array-filtering\n$({\n target: 'Array',\n proto: true,\n forced: true\n}, {\n filterReject: function filterReject(callbackfn /* , thisArg */) {\n return $filterReject(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\naddToUnscopables('filterReject');", "'use strict';\n\nvar $ = require('../internals/export');\nvar $group = require('../internals/array-group');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.group` method\n// https://github.com/tc39/proposal-array-grouping\n$({\n target: 'Array',\n proto: true\n}, {\n group: function group(callbackfn /* , thisArg */) {\n var thisArg = arguments.length > 1 ? arguments[1] : undefined;\n return $group(this, callbackfn, thisArg);\n }\n});\naddToUnscopables('group');", "'use strict';\n\n// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar $group = require('../internals/array-group');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// `Array.prototype.groupBy` method\n// https://github.com/tc39/proposal-array-grouping\n// https://bugs.webkit.org/show_bug.cgi?id=236541\n$({\n target: 'Array',\n proto: true,\n forced: !arrayMethodIsStrict('groupBy')\n}, {\n groupBy: function groupBy(callbackfn /* , thisArg */) {\n var thisArg = arguments.length > 1 ? arguments[1] : undefined;\n return $group(this, callbackfn, thisArg);\n }\n});\naddToUnscopables('groupBy');", "// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar $groupToMap = require('../internals/array-group-to-map');\n\n// `Array.prototype.groupByToMap` method\n// https://github.com/tc39/proposal-array-grouping\n// https://bugs.webkit.org/show_bug.cgi?id=236541\n$({\n target: 'Array',\n proto: true,\n name: 'groupToMap',\n forced: !arrayMethodIsStrict('groupByToMap')\n}, {\n groupByToMap: $groupToMap\n});\naddToUnscopables('groupByToMap');", "var $ = require('../internals/export');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar $groupToMap = require('../internals/array-group-to-map');\n\n// `Array.prototype.groupToMap` method\n// https://github.com/tc39/proposal-array-grouping\n$({\n target: 'Array',\n proto: true\n}, {\n groupToMap: $groupToMap\n});\naddToUnscopables('groupToMap');", "var $ = require('../internals/export');\nvar isArray = require('../internals/is-array');\n\n// eslint-disable-next-line es-x/no-object-isfrozen -- safe\nvar isFrozen = Object.isFrozen;\nvar isFrozenStringArray = function isFrozenStringArray(array, allowUndefined) {\n if (!isFrozen || !isArray(array) || !isFrozen(array)) return false;\n var index = 0;\n var length = array.length;\n var element;\n while (index < length) {\n element = array[index++];\n if (!(typeof element == 'string' || allowUndefined && typeof element == 'undefined')) {\n return false;\n }\n }\n return length !== 0;\n};\n\n// `Array.isTemplateObject` method\n// https://github.com/tc39/proposal-array-is-template-object\n$({\n target: 'Array',\n stat: true,\n sham: true,\n forced: true\n}, {\n isTemplateObject: function isTemplateObject(value) {\n if (!isFrozenStringArray(value, true)) return false;\n var raw = value.raw;\n return raw.length === value.length && isFrozenStringArray(raw, false);\n }\n});", "'use strict';\n\n// TODO: Remove from `core-js@4`\nvar DESCRIPTORS = require('../internals/descriptors');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\n\n// `Array.prototype.lastIndex` getter\n// https://github.com/keithamus/proposal-array-last\nif (DESCRIPTORS) {\n defineBuiltInAccessor(Array.prototype, 'lastIndex', {\n configurable: true,\n get: function lastIndex() {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n return len == 0 ? 0 : len - 1;\n }\n });\n addToUnscopables('lastIndex');\n}", "'use strict';\n\n// TODO: Remove from `core-js@4`\nvar DESCRIPTORS = require('../internals/descriptors');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar toObject = require('../internals/to-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\n\n// `Array.prototype.lastIndex` accessor\n// https://github.com/keithamus/proposal-array-last\nif (DESCRIPTORS) {\n defineBuiltInAccessor(Array.prototype, 'lastItem', {\n configurable: true,\n get: function lastItem() {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n return len == 0 ? undefined : O[len - 1];\n },\n set: function lastItem(value) {\n var O = toObject(this);\n var len = lengthOfArrayLike(O);\n return O[len == 0 ? 0 : len - 1] = value;\n }\n });\n addToUnscopables('lastItem');\n}", "'use strict';\n\nvar $ = require('../internals/export');\nvar arrayToReversed = require('../internals/array-to-reversed');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar $Array = Array;\n\n// `Array.prototype.toReversed` method\n// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toReversed\n$({\n target: 'Array',\n proto: true\n}, {\n toReversed: function toReversed() {\n return arrayToReversed(toIndexedObject(this), $Array);\n }\n});\naddToUnscopables('toReversed');", "'use strict';\n\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list');\nvar getVirtual = require('../internals/entry-virtual');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar $Array = Array;\nvar sort = uncurryThis(getVirtual('Array').sort);\n\n// `Array.prototype.toSorted` method\n// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toSorted\n$({\n target: 'Array',\n proto: true\n}, {\n toSorted: function toSorted(compareFn) {\n if (compareFn !== undefined) aCallable(compareFn);\n var O = toIndexedObject(this);\n var A = arrayFromConstructorAndList($Array, O);\n return sort(A, compareFn);\n }\n});\naddToUnscopables('toSorted');", "'use strict';\n\nvar $ = require('../internals/export');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar doesNotExceedSafeInteger = require('../internals/does-not-exceed-safe-integer');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar $Array = Array;\nvar max = Math.max;\nvar min = Math.min;\n\n// `Array.prototype.toSpliced` method\n// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toSpliced\n$({\n target: 'Array',\n proto: true\n}, {\n toSpliced: function toSpliced(start, deleteCount /* , ...items */) {\n var O = toIndexedObject(this);\n var len = lengthOfArrayLike(O);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var k = 0;\n var insertCount, actualDeleteCount, newLen, A;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);\n }\n newLen = doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);\n A = $Array(newLen);\n for (; k < actualStart; k++) A[k] = O[k];\n for (; k < actualStart + insertCount; k++) A[k] = arguments[k - actualStart + 2];\n for (; k < newLen; k++) A[k] = O[k + actualDeleteCount - insertCount];\n return A;\n }\n});\naddToUnscopables('toSpliced');", "'use strict';\n\nvar $ = require('../internals/export');\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar uniqueBy = require('../internals/array-unique-by');\n\n// `Array.prototype.uniqueBy` method\n// https://github.com/tc39/proposal-array-unique\n$({\n target: 'Array',\n proto: true,\n forced: true\n}, {\n uniqueBy: uniqueBy\n});\naddToUnscopables('uniqueBy');", "'use strict';\n\nvar $ = require('../internals/export');\nvar arrayWith = require('../internals/array-with');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar $Array = Array;\n\n// `Array.prototype.with` method\n// https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.with\n$({\n target: 'Array',\n proto: true\n}, {\n 'with': function _with(index, value) {\n return arrayWith(toIndexedObject(this), $Array, index, value);\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar anInstance = require('../internals/an-instance');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar AsyncIteratorPrototype = require('../internals/async-iterator-prototype');\nvar IS_PURE = require('../internals/is-pure');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar AsyncIteratorConstructor = function AsyncIterator() {\n anInstance(this, AsyncIteratorPrototype);\n};\nAsyncIteratorConstructor.prototype = AsyncIteratorPrototype;\nif (!hasOwn(AsyncIteratorPrototype, TO_STRING_TAG)) {\n createNonEnumerableProperty(AsyncIteratorPrototype, TO_STRING_TAG, 'AsyncIterator');\n}\nif (IS_PURE || !hasOwn(AsyncIteratorPrototype, 'constructor') || AsyncIteratorPrototype.constructor === Object) {\n createNonEnumerableProperty(AsyncIteratorPrototype, 'constructor', AsyncIteratorConstructor);\n}\n$({\n global: true,\n constructor: true,\n forced: IS_PURE\n}, {\n AsyncIterator: AsyncIteratorConstructor\n});", "// TODO: Remove from `core-js@4`\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar indexed = require('../internals/async-iterator-indexed');\n$({\n target: 'AsyncIterator',\n name: 'indexed',\n proto: true,\n real: true,\n forced: true\n}, {\n asIndexedPairs: indexed\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar notANaN = require('../internals/not-a-nan');\nvar toPositiveInteger = require('../internals/to-positive-integer');\nvar createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy');\nvar AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) {\n var state = this;\n return new Promise(function (resolve, reject) {\n var doneAndReject = function doneAndReject(error) {\n state.done = true;\n reject(error);\n };\n var loop = function loop() {\n try {\n Promise.resolve(anObject(call(state.next, state.iterator))).then(function (step) {\n try {\n if (anObject(step).done) {\n state.done = true;\n resolve({\n done: true,\n value: undefined\n });\n } else if (state.remaining) {\n state.remaining--;\n loop();\n } else resolve({\n done: false,\n value: step.value\n });\n } catch (err) {\n doneAndReject(err);\n }\n }, doneAndReject);\n } catch (error) {\n doneAndReject(error);\n }\n };\n loop();\n });\n});\n$({\n target: 'AsyncIterator',\n proto: true,\n real: true,\n forced: true\n}, {\n drop: function drop(limit) {\n return new AsyncIteratorProxy(getIteratorDirect(this), {\n remaining: toPositiveInteger(notANaN(+limit))\n });\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar $every = require('../internals/async-iterator-iteration').every;\n$({\n target: 'AsyncIterator',\n proto: true,\n real: true,\n forced: true\n}, {\n every: function every(fn) {\n return $every(this, fn);\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy');\nvar closeAsyncIteration = require('../internals/async-iterator-close');\nvar AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) {\n var state = this;\n var iterator = state.iterator;\n var filterer = state.filterer;\n return new Promise(function (resolve, reject) {\n var doneAndReject = function doneAndReject(error) {\n state.done = true;\n reject(error);\n };\n var ifAbruptCloseAsyncIterator = function ifAbruptCloseAsyncIterator(error) {\n closeAsyncIteration(iterator, doneAndReject, error, doneAndReject);\n };\n var loop = function loop() {\n try {\n Promise.resolve(anObject(call(state.next, iterator))).then(function (step) {\n try {\n if (anObject(step).done) {\n state.done = true;\n resolve({\n done: true,\n value: undefined\n });\n } else {\n var value = step.value;\n try {\n Promise.resolve(filterer(value)).then(function (selected) {\n selected ? resolve({\n done: false,\n value: value\n }) : loop();\n }, ifAbruptCloseAsyncIterator);\n } catch (error3) {\n ifAbruptCloseAsyncIterator(error3);\n }\n }\n } catch (error2) {\n doneAndReject(error2);\n }\n }, doneAndReject);\n } catch (error) {\n doneAndReject(error);\n }\n };\n loop();\n });\n});\n$({\n target: 'AsyncIterator',\n proto: true,\n real: true,\n forced: true\n}, {\n filter: function filter(filterer) {\n return new AsyncIteratorProxy(getIteratorDirect(this), {\n filterer: aCallable(filterer)\n });\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar $find = require('../internals/async-iterator-iteration').find;\n$({\n target: 'AsyncIterator',\n proto: true,\n real: true,\n forced: true\n}, {\n find: function find(fn) {\n return $find(this, fn);\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy');\nvar getAsyncIterator = require('../internals/get-async-iterator');\nvar closeAsyncIteration = require('../internals/async-iterator-close');\nvar AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) {\n var state = this;\n var iterator = state.iterator;\n var mapper = state.mapper;\n var innerIterator;\n return new Promise(function (resolve, reject) {\n var doneAndReject = function doneAndReject(error) {\n state.done = true;\n reject(error);\n };\n var ifAbruptCloseAsyncIterator = function ifAbruptCloseAsyncIterator(error) {\n closeAsyncIteration(iterator, doneAndReject, error, doneAndReject);\n };\n var outerLoop = function outerLoop() {\n try {\n Promise.resolve(anObject(call(state.next, iterator))).then(function (step) {\n try {\n if (anObject(step).done) {\n state.done = true;\n resolve({\n done: true,\n value: undefined\n });\n } else {\n var value = step.value;\n try {\n Promise.resolve(mapper(value)).then(function (mapped) {\n try {\n state.innerIterator = innerIterator = getAsyncIterator(mapped);\n state.innerNext = aCallable(innerIterator.next);\n innerLoop();\n } catch (error4) {\n ifAbruptCloseAsyncIterator(error4);\n }\n }, ifAbruptCloseAsyncIterator);\n } catch (error3) {\n ifAbruptCloseAsyncIterator(error3);\n }\n }\n } catch (error2) {\n doneAndReject(error2);\n }\n }, doneAndReject);\n } catch (error) {\n doneAndReject(error);\n }\n };\n var innerLoop = function innerLoop() {\n if (innerIterator = state.innerIterator) {\n try {\n Promise.resolve(anObject(call(state.innerNext, innerIterator))).then(function (result) {\n try {\n if (anObject(result).done) {\n state.innerIterator = state.innerNext = null;\n outerLoop();\n } else resolve({\n done: false,\n value: result.value\n });\n } catch (error1) {\n ifAbruptCloseAsyncIterator(error1);\n }\n }, ifAbruptCloseAsyncIterator);\n } catch (error) {\n ifAbruptCloseAsyncIterator(error);\n }\n } else outerLoop();\n };\n innerLoop();\n });\n});\n$({\n target: 'AsyncIterator',\n proto: true,\n real: true,\n forced: true\n}, {\n flatMap: function flatMap(mapper) {\n return new AsyncIteratorProxy(getIteratorDirect(this), {\n mapper: aCallable(mapper),\n innerIterator: null,\n innerNext: null\n });\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar $forEach = require('../internals/async-iterator-iteration').forEach;\n$({\n target: 'AsyncIterator',\n proto: true,\n real: true,\n forced: true\n}, {\n forEach: function forEach(fn) {\n return $forEach(this, fn);\n }\n});", "// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar toObject = require('../internals/to-object');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar AsyncIteratorPrototype = require('../internals/async-iterator-prototype');\nvar getAsyncIterator = require('../internals/get-async-iterator');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar getMethod = require('../internals/get-method');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar AsyncFromSyncIterator = require('../internals/async-from-sync-iterator');\nvar WrapAsyncIterator = require('../internals/async-iterator-wrap');\nvar ASYNC_ITERATOR = wellKnownSymbol('asyncIterator');\n$({\n target: 'AsyncIterator',\n stat: true,\n forced: true\n}, {\n from: function from(O) {\n var object = toObject(O);\n var usingIterator = getMethod(object, ASYNC_ITERATOR);\n var iterator;\n if (usingIterator) {\n iterator = getAsyncIterator(object, usingIterator);\n if (isPrototypeOf(AsyncIteratorPrototype, iterator)) return iterator;\n }\n if (iterator === undefined) {\n usingIterator = getIteratorMethod(object);\n if (usingIterator) iterator = new AsyncFromSyncIterator(getIterator(object, usingIterator));\n }\n return new WrapAsyncIterator(getIteratorDirect(iterator !== undefined ? iterator : object));\n }\n});", "// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar indexed = require('../internals/async-iterator-indexed');\n$({\n target: 'AsyncIterator',\n proto: true,\n real: true,\n forced: true\n}, {\n indexed: indexed\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy');\nvar closeAsyncIteration = require('../internals/async-iterator-close');\nvar AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) {\n var state = this;\n var iterator = state.iterator;\n var mapper = state.mapper;\n return new Promise(function (resolve, reject) {\n var doneAndReject = function doneAndReject(error) {\n state.done = true;\n reject(error);\n };\n var ifAbruptCloseAsyncIterator = function ifAbruptCloseAsyncIterator(error) {\n closeAsyncIteration(iterator, doneAndReject, error, doneAndReject);\n };\n Promise.resolve(anObject(call(state.next, iterator))).then(function (step) {\n try {\n if (anObject(step).done) {\n state.done = true;\n resolve({\n done: true,\n value: undefined\n });\n } else {\n var value = step.value;\n try {\n Promise.resolve(mapper(value)).then(function (mapped) {\n resolve({\n done: false,\n value: mapped\n });\n }, ifAbruptCloseAsyncIterator);\n } catch (error2) {\n ifAbruptCloseAsyncIterator(error2);\n }\n }\n } catch (error) {\n doneAndReject(error);\n }\n }, doneAndReject);\n });\n});\n$({\n target: 'AsyncIterator',\n proto: true,\n real: true,\n forced: true\n}, {\n map: function map(mapper) {\n return new AsyncIteratorProxy(getIteratorDirect(this), {\n mapper: aCallable(mapper)\n });\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getBuiltIn = require('../internals/get-built-in');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar closeAsyncIteration = require('../internals/async-iterator-close');\nvar Promise = getBuiltIn('Promise');\nvar $TypeError = TypeError;\n$({\n target: 'AsyncIterator',\n proto: true,\n real: true,\n forced: true\n}, {\n reduce: function reduce(reducer /* , initialValue */) {\n var record = getIteratorDirect(this);\n var iterator = record.iterator;\n var next = record.next;\n var noInitial = arguments.length < 2;\n var accumulator = noInitial ? undefined : arguments[1];\n aCallable(reducer);\n return new Promise(function (resolve, reject) {\n var ifAbruptCloseAsyncIterator = function ifAbruptCloseAsyncIterator(error) {\n closeAsyncIteration(iterator, reject, error, reject);\n };\n var loop = function loop() {\n try {\n Promise.resolve(anObject(call(next, iterator))).then(function (step) {\n try {\n if (anObject(step).done) {\n noInitial ? reject($TypeError('Reduce of empty iterator with no initial value')) : resolve(accumulator);\n } else {\n var value = step.value;\n if (noInitial) {\n noInitial = false;\n accumulator = value;\n loop();\n } else try {\n Promise.resolve(reducer(accumulator, value)).then(function (result) {\n accumulator = result;\n loop();\n }, ifAbruptCloseAsyncIterator);\n } catch (error3) {\n ifAbruptCloseAsyncIterator(error3);\n }\n }\n } catch (error2) {\n reject(error2);\n }\n }, reject);\n } catch (error) {\n reject(error);\n }\n };\n loop();\n });\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar $some = require('../internals/async-iterator-iteration').some;\n$({\n target: 'AsyncIterator',\n proto: true,\n real: true,\n forced: true\n}, {\n some: function some(fn) {\n return $some(this, fn);\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar notANaN = require('../internals/not-a-nan');\nvar toPositiveInteger = require('../internals/to-positive-integer');\nvar createAsyncIteratorProxy = require('../internals/async-iterator-create-proxy');\nvar AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) {\n var state = this;\n var iterator = state.iterator;\n var returnMethod;\n if (!state.remaining--) {\n var resultDone = {\n done: true,\n value: undefined\n };\n state.done = true;\n returnMethod = iterator['return'];\n if (returnMethod !== undefined) {\n return Promise.resolve(call(returnMethod, iterator, undefined)).then(function () {\n return resultDone;\n });\n }\n return resultDone;\n }\n return Promise.resolve(call(state.next, iterator)).then(function (step) {\n if (anObject(step).done) {\n state.done = true;\n return {\n done: true,\n value: undefined\n };\n }\n return {\n done: false,\n value: step.value\n };\n }).then(null, function (error) {\n state.done = true;\n throw error;\n });\n});\n$({\n target: 'AsyncIterator',\n proto: true,\n real: true,\n forced: true\n}, {\n take: function take(limit) {\n return new AsyncIteratorProxy(getIteratorDirect(this), {\n remaining: toPositiveInteger(notANaN(+limit))\n });\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar $toArray = require('../internals/async-iterator-iteration').toArray;\n$({\n target: 'AsyncIterator',\n proto: true,\n real: true,\n forced: true\n}, {\n toArray: function toArray() {\n return $toArray(this, undefined, []);\n }\n});", "'use strict';\n\n/* eslint-disable es-x/no-bigint -- safe */\nvar $ = require('../internals/export');\nvar NumericRangeIterator = require('../internals/numeric-range-iterator');\n\n// `BigInt.range` method\n// https://github.com/tc39/proposal-Number.range\nif (typeof BigInt == 'function') {\n $({\n target: 'BigInt',\n stat: true,\n forced: true\n }, {\n range: function range(start, end, option) {\n return new NumericRangeIterator(start, end, option, 'bigint', BigInt(0), BigInt(1));\n }\n });\n}", "var $ = require('../internals/export');\nvar apply = require('../internals/function-apply');\nvar getCompositeKeyNode = require('../internals/composite-key');\nvar getBuiltIn = require('../internals/get-built-in');\nvar create = require('../internals/object-create');\nvar $Object = Object;\nvar initializer = function initializer() {\n var freeze = getBuiltIn('Object', 'freeze');\n return freeze ? freeze(create(null)) : create(null);\n};\n\n// https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey\n$({\n global: true,\n forced: true\n}, {\n compositeKey: function compositeKey() {\n return apply(getCompositeKeyNode, $Object, arguments).get('object', initializer);\n }\n});", "var $ = require('../internals/export');\nvar getCompositeKeyNode = require('../internals/composite-key');\nvar getBuiltIn = require('../internals/get-built-in');\nvar apply = require('../internals/function-apply');\n\n// https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey\n$({\n global: true,\n forced: true\n}, {\n compositeSymbol: function compositeSymbol() {\n if (arguments.length == 1 && typeof arguments[0] == 'string') return getBuiltIn('Symbol')['for'](arguments[0]);\n return apply(getCompositeKeyNode, null, arguments).get('symbol', getBuiltIn('Symbol'));\n }\n});", "var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar $isCallable = require('../internals/is-callable');\nvar inspectSource = require('../internals/inspect-source');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\n\n// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar classRegExp = /^\\s*class\\b/;\nvar exec = uncurryThis(classRegExp.exec);\nvar isClassConstructor = function isClassConstructor(argument) {\n try {\n // `Function#toString` throws on some built-it function in some legacy engines\n // (for example, `DOMQuad` and similar in FF41-)\n if (!DESCRIPTORS || !exec(classRegExp, inspectSource(argument))) return false;\n } catch (error) {/* empty */}\n var prototype = getOwnPropertyDescriptor(argument, 'prototype');\n return !!prototype && hasOwn(prototype, 'writable') && !prototype.writable;\n};\n\n// `Function.isCallable` method\n// https://github.com/caitp/TC39-Proposals/blob/trunk/tc39-reflect-isconstructor-iscallable.md\n$({\n target: 'Function',\n stat: true,\n sham: true,\n forced: true\n}, {\n isCallable: function isCallable(argument) {\n return $isCallable(argument) && !isClassConstructor(argument);\n }\n});", "var $ = require('../internals/export');\nvar isConstructor = require('../internals/is-constructor');\n\n// `Function.isConstructor` method\n// https://github.com/caitp/TC39-Proposals/blob/trunk/tc39-reflect-isconstructor-iscallable.md\n$({\n target: 'Function',\n stat: true,\n forced: true\n}, {\n isConstructor: isConstructor\n});", "var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\n\n// `Function.prototype.unThis` method\n// https://github.com/js-choi/proposal-function-un-this\n$({\n target: 'Function',\n proto: true,\n forced: true\n}, {\n unThis: function unThis() {\n return uncurryThis(aCallable(this));\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar anInstance = require('../internals/an-instance');\nvar isCallable = require('../internals/is-callable');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar fails = require('../internals/fails');\nvar hasOwn = require('../internals/has-own-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar IS_PURE = require('../internals/is-pure');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar NativeIterator = global.Iterator;\n\n// FF56- have non-standard global helper `Iterator`\nvar FORCED = IS_PURE || !isCallable(NativeIterator) || NativeIterator.prototype !== IteratorPrototype\n// FF44- non-standard `Iterator` passes previous tests\n|| !fails(function () {\n NativeIterator({});\n});\nvar IteratorConstructor = function Iterator() {\n anInstance(this, IteratorPrototype);\n};\nif (!hasOwn(IteratorPrototype, TO_STRING_TAG)) {\n createNonEnumerableProperty(IteratorPrototype, TO_STRING_TAG, 'Iterator');\n}\nif (FORCED || !hasOwn(IteratorPrototype, 'constructor') || IteratorPrototype.constructor === Object) {\n createNonEnumerableProperty(IteratorPrototype, 'constructor', IteratorConstructor);\n}\nIteratorConstructor.prototype = IteratorPrototype;\n$({\n global: true,\n constructor: true,\n forced: FORCED\n}, {\n Iterator: IteratorConstructor\n});", "// TODO: Remove from `core-js@4`\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar indexed = require('../internals/iterator-indexed');\n$({\n target: 'Iterator',\n name: 'indexed',\n proto: true,\n real: true,\n forced: true\n}, {\n asIndexedPairs: indexed\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar notANaN = require('../internals/not-a-nan');\nvar toPositiveInteger = require('../internals/to-positive-integer');\nvar createIteratorProxy = require('../internals/iterator-create-proxy');\nvar IteratorProxy = createIteratorProxy(function () {\n var iterator = this.iterator;\n var next = this.next;\n var result, done;\n while (this.remaining) {\n this.remaining--;\n result = anObject(call(next, iterator));\n done = this.done = !!result.done;\n if (done) return;\n }\n result = anObject(call(next, iterator));\n done = this.done = !!result.done;\n if (!done) return result.value;\n});\n$({\n target: 'Iterator',\n proto: true,\n real: true,\n forced: true\n}, {\n drop: function drop(limit) {\n return new IteratorProxy(getIteratorDirect(this), {\n remaining: toPositiveInteger(notANaN(+limit))\n });\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar aCallable = require('../internals/a-callable');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\n$({\n target: 'Iterator',\n proto: true,\n real: true,\n forced: true\n}, {\n every: function every(fn) {\n var record = getIteratorDirect(this);\n aCallable(fn);\n return !iterate(record, function (value, stop) {\n if (!fn(value)) return stop();\n }, {\n IS_RECORD: true,\n INTERRUPTED: true\n }).stopped;\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar createIteratorProxy = require('../internals/iterator-create-proxy');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar IteratorProxy = createIteratorProxy(function () {\n var iterator = this.iterator;\n var filterer = this.filterer;\n var next = this.next;\n var result, done, value;\n while (true) {\n result = anObject(call(next, iterator));\n done = this.done = !!result.done;\n if (done) return;\n value = result.value;\n if (callWithSafeIterationClosing(iterator, filterer, value)) return value;\n }\n});\n$({\n target: 'Iterator',\n proto: true,\n real: true,\n forced: true\n}, {\n filter: function filter(filterer) {\n return new IteratorProxy(getIteratorDirect(this), {\n filterer: aCallable(filterer)\n });\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar aCallable = require('../internals/a-callable');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\n$({\n target: 'Iterator',\n proto: true,\n real: true,\n forced: true\n}, {\n find: function find(fn) {\n var record = getIteratorDirect(this);\n aCallable(fn);\n return iterate(record, function (value, stop) {\n if (fn(value)) return stop(value);\n }, {\n IS_RECORD: true,\n INTERRUPTED: true\n }).result;\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar createIteratorProxy = require('../internals/iterator-create-proxy');\nvar iteratorClose = require('../internals/iterator-close');\nvar $TypeError = TypeError;\nvar IteratorProxy = createIteratorProxy(function () {\n var iterator = this.iterator;\n var mapper = this.mapper;\n var result, mapped, iteratorMethod, innerIterator;\n while (true) {\n if (innerIterator = this.innerIterator) try {\n result = anObject(call(this.innerNext, innerIterator));\n if (!result.done) return result.value;\n this.innerIterator = this.innerNext = null;\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n result = anObject(call(this.next, iterator));\n if (this.done = !!result.done) return;\n try {\n mapped = mapper(result.value);\n iteratorMethod = getIteratorMethod(mapped);\n if (!iteratorMethod) {\n throw $TypeError('.flatMap callback should return an iterable object');\n }\n this.innerIterator = innerIterator = anObject(call(iteratorMethod, mapped));\n this.innerNext = aCallable(innerIterator.next);\n } catch (error) {\n iteratorClose(iterator, 'throw', error);\n }\n }\n});\n$({\n target: 'Iterator',\n proto: true,\n real: true,\n forced: true\n}, {\n flatMap: function flatMap(mapper) {\n return new IteratorProxy(getIteratorDirect(this), {\n mapper: aCallable(mapper),\n innerIterator: null,\n innerNext: null\n });\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\n$({\n target: 'Iterator',\n proto: true,\n real: true,\n forced: true\n}, {\n forEach: function forEach(fn) {\n iterate(getIteratorDirect(this), fn, {\n IS_RECORD: true\n });\n }\n});", "// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar toObject = require('../internals/to-object');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar IteratorPrototype = require('../internals/iterators-core').IteratorPrototype;\nvar createIteratorProxy = require('../internals/iterator-create-proxy');\nvar getIterator = require('../internals/get-iterator');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar getIteratorMethod = require('../internals/get-iterator-method');\nvar IteratorProxy = createIteratorProxy(function () {\n return call(this.next, this.iterator);\n}, true);\n$({\n target: 'Iterator',\n stat: true,\n forced: true\n}, {\n from: function from(O) {\n var object = toObject(O);\n var usingIterator = getIteratorMethod(object);\n var iterator;\n if (usingIterator) {\n iterator = getIterator(object, usingIterator);\n if (isPrototypeOf(IteratorPrototype, iterator)) return iterator;\n } else {\n iterator = object;\n }\n return new IteratorProxy(getIteratorDirect(iterator));\n }\n});", "// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar indexed = require('../internals/iterator-indexed');\n$({\n target: 'Iterator',\n proto: true,\n real: true,\n forced: true\n}, {\n indexed: indexed\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar createIteratorProxy = require('../internals/iterator-create-proxy');\nvar callWithSafeIterationClosing = require('../internals/call-with-safe-iteration-closing');\nvar IteratorProxy = createIteratorProxy(function () {\n var iterator = this.iterator;\n var result = anObject(call(this.next, iterator));\n var done = this.done = !!result.done;\n if (!done) return callWithSafeIterationClosing(iterator, this.mapper, result.value);\n});\n$({\n target: 'Iterator',\n proto: true,\n real: true,\n forced: true\n}, {\n map: function map(mapper) {\n return new IteratorProxy(getIteratorDirect(this), {\n mapper: aCallable(mapper)\n });\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar aCallable = require('../internals/a-callable');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar $TypeError = TypeError;\n$({\n target: 'Iterator',\n proto: true,\n real: true,\n forced: true\n}, {\n reduce: function reduce(reducer /* , initialValue */) {\n var record = getIteratorDirect(this);\n aCallable(reducer);\n var noInitial = arguments.length < 2;\n var accumulator = noInitial ? undefined : arguments[1];\n iterate(record, function (value) {\n if (noInitial) {\n noInitial = false;\n accumulator = value;\n } else {\n accumulator = reducer(accumulator, value);\n }\n }, {\n IS_RECORD: true\n });\n if (noInitial) throw $TypeError('Reduce of empty iterator with no initial value');\n return accumulator;\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar aCallable = require('../internals/a-callable');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\n$({\n target: 'Iterator',\n proto: true,\n real: true,\n forced: true\n}, {\n some: function some(fn) {\n var record = getIteratorDirect(this);\n aCallable(fn);\n return iterate(record, function (value, stop) {\n if (fn(value)) return stop();\n }, {\n IS_RECORD: true,\n INTERRUPTED: true\n }).stopped;\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar notANaN = require('../internals/not-a-nan');\nvar toPositiveInteger = require('../internals/to-positive-integer');\nvar createIteratorProxy = require('../internals/iterator-create-proxy');\nvar iteratorClose = require('../internals/iterator-close');\nvar IteratorProxy = createIteratorProxy(function () {\n var iterator = this.iterator;\n if (!this.remaining--) {\n this.done = true;\n return iteratorClose(iterator, 'normal', undefined);\n }\n var result = anObject(call(this.next, iterator));\n var done = this.done = !!result.done;\n if (!done) return result.value;\n});\n$({\n target: 'Iterator',\n proto: true,\n real: true,\n forced: true\n}, {\n take: function take(limit) {\n return new IteratorProxy(getIteratorDirect(this), {\n remaining: toPositiveInteger(notANaN(+limit))\n });\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\nvar push = [].push;\n$({\n target: 'Iterator',\n proto: true,\n real: true,\n forced: true\n}, {\n toArray: function toArray() {\n var result = [];\n iterate(getIteratorDirect(this), push, {\n that: result,\n IS_RECORD: true\n });\n return result;\n }\n});", "'use strict';\n\n// https://github.com/tc39/proposal-iterator-helpers\nvar $ = require('../internals/export');\nvar AsyncFromSyncIterator = require('../internals/async-from-sync-iterator');\nvar WrapAsyncIterator = require('../internals/async-iterator-wrap');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\n$({\n target: 'Iterator',\n proto: true,\n real: true,\n forced: true\n}, {\n toAsync: function toAsync() {\n return new WrapAsyncIterator(getIteratorDirect(new AsyncFromSyncIterator(this)));\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar deleteAll = require('../internals/collection-delete-all');\n\n// `Map.prototype.deleteAll` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Map',\n proto: true,\n real: true,\n forced: true\n}, {\n deleteAll: deleteAll\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar emplace = require('../internals/map-emplace');\n\n// `Map.prototype.emplace` method\n// https://github.com/thumbsupep/proposal-upsert\n$({\n target: 'Map',\n proto: true,\n real: true,\n forced: true\n}, {\n emplace: emplace\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar bind = require('../internals/function-bind-context');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Map.prototype.every` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Map',\n proto: true,\n real: true,\n forced: true\n}, {\n every: function every(callbackfn /* , thisArg */) {\n var map = anObject(this);\n var iterator = getMapIterator(map);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return !iterate(iterator, function (key, value, stop) {\n if (!boundFunction(value, key, map)) return stop();\n }, {\n AS_ENTRIES: true,\n IS_ITERATOR: true,\n INTERRUPTED: true\n }).stopped;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar speciesConstructor = require('../internals/species-constructor');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Map.prototype.filter` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Map',\n proto: true,\n real: true,\n forced: true\n}, {\n filter: function filter(callbackfn /* , thisArg */) {\n var map = anObject(this);\n var iterator = getMapIterator(map);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var newMap = new (speciesConstructor(map, getBuiltIn('Map')))();\n var setter = aCallable(newMap.set);\n iterate(iterator, function (key, value) {\n if (boundFunction(value, key, map)) call(setter, newMap, key, value);\n }, {\n AS_ENTRIES: true,\n IS_ITERATOR: true\n });\n return newMap;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar bind = require('../internals/function-bind-context');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Map.prototype.find` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Map',\n proto: true,\n real: true,\n forced: true\n}, {\n find: function find(callbackfn /* , thisArg */) {\n var map = anObject(this);\n var iterator = getMapIterator(map);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return iterate(iterator, function (key, value, stop) {\n if (boundFunction(value, key, map)) return stop(value);\n }, {\n AS_ENTRIES: true,\n IS_ITERATOR: true,\n INTERRUPTED: true\n }).result;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar bind = require('../internals/function-bind-context');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Map.prototype.findKey` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Map',\n proto: true,\n real: true,\n forced: true\n}, {\n findKey: function findKey(callbackfn /* , thisArg */) {\n var map = anObject(this);\n var iterator = getMapIterator(map);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return iterate(iterator, function (key, value, stop) {\n if (boundFunction(value, key, map)) return stop(key);\n }, {\n AS_ENTRIES: true,\n IS_ITERATOR: true,\n INTERRUPTED: true\n }).result;\n }\n});", "var $ = require('../internals/export');\nvar from = require('../internals/collection-from');\n\n// `Map.from` method\n// https://tc39.github.io/proposal-setmap-offrom/#sec-map.from\n$({\n target: 'Map',\n stat: true,\n forced: true\n}, {\n from: from\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar getIterator = require('../internals/get-iterator');\nvar iterate = require('../internals/iterate');\nvar push = uncurryThis([].push);\n\n// `Map.groupBy` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Map',\n stat: true,\n forced: true\n}, {\n groupBy: function groupBy(iterable, keyDerivative) {\n aCallable(keyDerivative);\n var iterator = getIterator(iterable);\n var newMap = new this();\n var has = aCallable(newMap.has);\n var get = aCallable(newMap.get);\n var set = aCallable(newMap.set);\n iterate(iterator, function (element) {\n var derivedKey = keyDerivative(element);\n if (!call(has, newMap, derivedKey)) call(set, newMap, derivedKey, [element]);else push(call(get, newMap, derivedKey), element);\n }, {\n IS_ITERATOR: true\n });\n return newMap;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar sameValueZero = require('../internals/same-value-zero');\nvar iterate = require('../internals/iterate');\n\n// `Map.prototype.includes` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Map',\n proto: true,\n real: true,\n forced: true\n}, {\n includes: function includes(searchElement) {\n return iterate(getMapIterator(anObject(this)), function (key, value, stop) {\n if (sameValueZero(value, searchElement)) return stop();\n }, {\n AS_ENTRIES: true,\n IS_ITERATOR: true,\n INTERRUPTED: true\n }).stopped;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar iterate = require('../internals/iterate');\nvar aCallable = require('../internals/a-callable');\n\n// `Map.keyBy` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Map',\n stat: true,\n forced: true\n}, {\n keyBy: function keyBy(iterable, keyDerivative) {\n var newMap = new this();\n aCallable(keyDerivative);\n var setter = aCallable(newMap.set);\n iterate(iterable, function (element) {\n call(setter, newMap, keyDerivative(element), element);\n });\n return newMap;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Map.prototype.keyOf` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Map',\n proto: true,\n real: true,\n forced: true\n}, {\n keyOf: function keyOf(searchElement) {\n return iterate(getMapIterator(anObject(this)), function (key, value, stop) {\n if (value === searchElement) return stop(key);\n }, {\n AS_ENTRIES: true,\n IS_ITERATOR: true,\n INTERRUPTED: true\n }).result;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar speciesConstructor = require('../internals/species-constructor');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Map.prototype.mapKeys` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Map',\n proto: true,\n real: true,\n forced: true\n}, {\n mapKeys: function mapKeys(callbackfn /* , thisArg */) {\n var map = anObject(this);\n var iterator = getMapIterator(map);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var newMap = new (speciesConstructor(map, getBuiltIn('Map')))();\n var setter = aCallable(newMap.set);\n iterate(iterator, function (key, value) {\n call(setter, newMap, boundFunction(value, key, map), value);\n }, {\n AS_ENTRIES: true,\n IS_ITERATOR: true\n });\n return newMap;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar speciesConstructor = require('../internals/species-constructor');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Map.prototype.mapValues` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Map',\n proto: true,\n real: true,\n forced: true\n}, {\n mapValues: function mapValues(callbackfn /* , thisArg */) {\n var map = anObject(this);\n var iterator = getMapIterator(map);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var newMap = new (speciesConstructor(map, getBuiltIn('Map')))();\n var setter = aCallable(newMap.set);\n iterate(iterator, function (key, value) {\n call(setter, newMap, key, boundFunction(value, key, map));\n }, {\n AS_ENTRIES: true,\n IS_ITERATOR: true\n });\n return newMap;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar iterate = require('../internals/iterate');\n\n// `Map.prototype.merge` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Map',\n proto: true,\n real: true,\n arity: 1,\n forced: true\n}, {\n // eslint-disable-next-line no-unused-vars -- required for `.length`\n merge: function merge(iterable /* ...iterables */) {\n var map = anObject(this);\n var setter = aCallable(map.set);\n var argumentsLength = arguments.length;\n var i = 0;\n while (i < argumentsLength) {\n iterate(arguments[i++], setter, {\n that: map,\n AS_ENTRIES: true\n });\n }\n return map;\n }\n});", "var $ = require('../internals/export');\nvar of = require('../internals/collection-of');\n\n// `Map.of` method\n// https://tc39.github.io/proposal-setmap-offrom/#sec-map.of\n$({\n target: 'Map',\n stat: true,\n forced: true\n}, {\n of: of\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar aCallable = require('../internals/a-callable');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar iterate = require('../internals/iterate');\nvar $TypeError = TypeError;\n\n// `Map.prototype.reduce` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Map',\n proto: true,\n real: true,\n forced: true\n}, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n var map = anObject(this);\n var iterator = getMapIterator(map);\n var noInitial = arguments.length < 2;\n var accumulator = noInitial ? undefined : arguments[1];\n aCallable(callbackfn);\n iterate(iterator, function (key, value) {\n if (noInitial) {\n noInitial = false;\n accumulator = value;\n } else {\n accumulator = callbackfn(accumulator, value, key, map);\n }\n }, {\n AS_ENTRIES: true,\n IS_ITERATOR: true\n });\n if (noInitial) throw $TypeError('Reduce of empty map with no initial value');\n return accumulator;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar bind = require('../internals/function-bind-context');\nvar getMapIterator = require('../internals/get-map-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.some` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Map',\n proto: true,\n real: true,\n forced: true\n}, {\n some: function some(callbackfn /* , thisArg */) {\n var map = anObject(this);\n var iterator = getMapIterator(map);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return iterate(iterator, function (key, value, stop) {\n if (boundFunction(value, key, map)) return stop();\n }, {\n AS_ENTRIES: true,\n IS_ITERATOR: true,\n INTERRUPTED: true\n }).stopped;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar anObject = require('../internals/an-object');\nvar aCallable = require('../internals/a-callable');\nvar $TypeError = TypeError;\n\n// `Set.prototype.update` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Map',\n proto: true,\n real: true,\n forced: true\n}, {\n update: function update(key, callback /* , thunk */) {\n var map = anObject(this);\n var get = aCallable(map.get);\n var has = aCallable(map.has);\n var set = aCallable(map.set);\n var length = arguments.length;\n aCallable(callback);\n var isPresentInMap = call(has, map, key);\n if (!isPresentInMap && length < 3) {\n throw $TypeError('Updating absent value');\n }\n var value = isPresentInMap ? call(get, map, key) : aCallable(length > 2 ? arguments[2] : undefined)(key, map);\n call(set, map, key, callback(value, key, map));\n return map;\n }\n});", "'use strict';\n\n// TODO: remove from `core-js@4`\nvar $ = require('../internals/export');\nvar upsert = require('../internals/map-upsert');\n\n// `Map.prototype.updateOrInsert` method (replaced by `Map.prototype.emplace`)\n// https://github.com/thumbsupep/proposal-upsert\n$({\n target: 'Map',\n proto: true,\n real: true,\n name: 'upsert',\n forced: true\n}, {\n updateOrInsert: upsert\n});", "'use strict';\n\n// TODO: remove from `core-js@4`\nvar $ = require('../internals/export');\nvar upsert = require('../internals/map-upsert');\n\n// `Map.prototype.upsert` method (replaced by `Map.prototype.emplace`)\n// https://github.com/thumbsupep/proposal-upsert\n$({\n target: 'Map',\n proto: true,\n real: true,\n forced: true\n}, {\n upsert: upsert\n});", "var $ = require('../internals/export');\nvar min = Math.min;\nvar max = Math.max;\n\n// `Math.clamp` method\n// https://rwaldron.github.io/proposal-math-extensions/\n$({\n target: 'Math',\n stat: true,\n forced: true\n}, {\n clamp: function clamp(x, lower, upper) {\n return min(upper, max(lower, x));\n }\n});", "var $ = require('../internals/export');\n\n// `Math.DEG_PER_RAD` constant\n// https://rwaldron.github.io/proposal-math-extensions/\n$({\n target: 'Math',\n stat: true,\n nonConfigurable: true,\n nonWritable: true\n}, {\n DEG_PER_RAD: Math.PI / 180\n});", "var $ = require('../internals/export');\nvar RAD_PER_DEG = 180 / Math.PI;\n\n// `Math.degrees` method\n// https://rwaldron.github.io/proposal-math-extensions/\n$({\n target: 'Math',\n stat: true,\n forced: true\n}, {\n degrees: function degrees(radians) {\n return radians * RAD_PER_DEG;\n }\n});", "var $ = require('../internals/export');\nvar scale = require('../internals/math-scale');\nvar fround = require('../internals/math-fround');\n\n// `Math.fscale` method\n// https://rwaldron.github.io/proposal-math-extensions/\n$({\n target: 'Math',\n stat: true,\n forced: true\n}, {\n fscale: function fscale(x, inLow, inHigh, outLow, outHigh) {\n return fround(scale(x, inLow, inHigh, outLow, outHigh));\n }\n});", "var $ = require('../internals/export');\n\n// `Math.iaddh` method\n// https://gist.github.com/BrendanEich/4294d5c212a6d2254703\n// TODO: Remove from `core-js@4`\n$({\n target: 'Math',\n stat: true,\n forced: true\n}, {\n iaddh: function iaddh(x0, x1, y0, y1) {\n var $x0 = x0 >>> 0;\n var $x1 = x1 >>> 0;\n var $y0 = y0 >>> 0;\n return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0;\n }\n});", "var $ = require('../internals/export');\n\n// `Math.imulh` method\n// https://gist.github.com/BrendanEich/4294d5c212a6d2254703\n// TODO: Remove from `core-js@4`\n$({\n target: 'Math',\n stat: true,\n forced: true\n}, {\n imulh: function imulh(u, v) {\n var UINT16 = 0xFFFF;\n var $u = +u;\n var $v = +v;\n var u0 = $u & UINT16;\n var v0 = $v & UINT16;\n var u1 = $u >> 16;\n var v1 = $v >> 16;\n var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);\n return u1 * v1 + (t >> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >> 16);\n }\n});", "var $ = require('../internals/export');\n\n// `Math.isubh` method\n// https://gist.github.com/BrendanEich/4294d5c212a6d2254703\n// TODO: Remove from `core-js@4`\n$({\n target: 'Math',\n stat: true,\n forced: true\n}, {\n isubh: function isubh(x0, x1, y0, y1) {\n var $x0 = x0 >>> 0;\n var $x1 = x1 >>> 0;\n var $y0 = y0 >>> 0;\n return $x1 - (y1 >>> 0) - ((~$x0 & $y0 | ~($x0 ^ $y0) & $x0 - $y0 >>> 0) >>> 31) | 0;\n }\n});", "var $ = require('../internals/export');\n\n// `Math.RAD_PER_DEG` constant\n// https://rwaldron.github.io/proposal-math-extensions/\n$({\n target: 'Math',\n stat: true,\n nonConfigurable: true,\n nonWritable: true\n}, {\n RAD_PER_DEG: 180 / Math.PI\n});", "var $ = require('../internals/export');\nvar DEG_PER_RAD = Math.PI / 180;\n\n// `Math.radians` method\n// https://rwaldron.github.io/proposal-math-extensions/\n$({\n target: 'Math',\n stat: true,\n forced: true\n}, {\n radians: function radians(degrees) {\n return degrees * DEG_PER_RAD;\n }\n});", "var $ = require('../internals/export');\nvar scale = require('../internals/math-scale');\n\n// `Math.scale` method\n// https://rwaldron.github.io/proposal-math-extensions/\n$({\n target: 'Math',\n stat: true,\n forced: true\n}, {\n scale: scale\n});", "var $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar numberIsFinite = require('../internals/number-is-finite');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar InternalStateModule = require('../internals/internal-state');\nvar SEEDED_RANDOM = 'Seeded Random';\nvar SEEDED_RANDOM_GENERATOR = SEEDED_RANDOM + ' Generator';\nvar SEED_TYPE_ERROR = 'Math.seededPRNG() argument should have a \"seed\" field with a finite value.';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(SEEDED_RANDOM_GENERATOR);\nvar $TypeError = TypeError;\nvar $SeededRandomGenerator = createIteratorConstructor(function SeededRandomGenerator(seed) {\n setInternalState(this, {\n type: SEEDED_RANDOM_GENERATOR,\n seed: seed % 2147483647\n });\n}, SEEDED_RANDOM, function next() {\n var state = getInternalState(this);\n var seed = state.seed = (state.seed * 1103515245 + 12345) % 2147483647;\n return {\n value: (seed & 1073741823) / 1073741823,\n done: false\n };\n});\n\n// `Math.seededPRNG` method\n// https://github.com/tc39/proposal-seeded-random\n// based on https://github.com/tc39/proposal-seeded-random/blob/78b8258835b57fc2100d076151ab506bc3202ae6/demo.html\n$({\n target: 'Math',\n stat: true,\n forced: true\n}, {\n seededPRNG: function seededPRNG(it) {\n var seed = anObject(it).seed;\n if (!numberIsFinite(seed)) throw $TypeError(SEED_TYPE_ERROR);\n return new $SeededRandomGenerator(seed);\n }\n});", "var $ = require('../internals/export');\n\n// `Math.signbit` method\n// https://github.com/tc39/proposal-Math.signbit\n$({\n target: 'Math',\n stat: true,\n forced: true\n}, {\n signbit: function signbit(x) {\n var n = +x;\n // eslint-disable-next-line no-self-compare -- NaN check\n return n == n && n == 0 ? 1 / n == -Infinity : n < 0;\n }\n});", "var $ = require('../internals/export');\n\n// `Math.umulh` method\n// https://gist.github.com/BrendanEich/4294d5c212a6d2254703\n// TODO: Remove from `core-js@4`\n$({\n target: 'Math',\n stat: true,\n forced: true\n}, {\n umulh: function umulh(u, v) {\n var UINT16 = 0xFFFF;\n var $u = +u;\n var $v = +v;\n var u0 = $u & UINT16;\n var v0 = $v & UINT16;\n var u1 = $u >>> 16;\n var v1 = $v >>> 16;\n var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);\n return u1 * v1 + (t >>> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >>> 16);\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar parseInt = require('../internals/number-parse-int');\nvar INVALID_NUMBER_REPRESENTATION = 'Invalid number representation';\nvar INVALID_RADIX = 'Invalid radix';\nvar $RangeError = RangeError;\nvar $SyntaxError = SyntaxError;\nvar $TypeError = TypeError;\nvar valid = /^[\\da-z]+$/;\nvar charAt = uncurryThis(''.charAt);\nvar exec = uncurryThis(valid.exec);\nvar numberToString = uncurryThis(1.0.toString);\nvar stringSlice = uncurryThis(''.slice);\n\n// `Number.fromString` method\n// https://github.com/tc39/proposal-number-fromstring\n$({\n target: 'Number',\n stat: true,\n forced: true\n}, {\n fromString: function fromString(string, radix) {\n var sign = 1;\n var R, mathNum;\n if (typeof string != 'string') throw $TypeError(INVALID_NUMBER_REPRESENTATION);\n if (!string.length) throw $SyntaxError(INVALID_NUMBER_REPRESENTATION);\n if (charAt(string, 0) == '-') {\n sign = -1;\n string = stringSlice(string, 1);\n if (!string.length) throw $SyntaxError(INVALID_NUMBER_REPRESENTATION);\n }\n R = radix === undefined ? 10 : toIntegerOrInfinity(radix);\n if (R < 2 || R > 36) throw $RangeError(INVALID_RADIX);\n if (!exec(valid, string) || numberToString(mathNum = parseInt(string, R), R) !== string) {\n throw $SyntaxError(INVALID_NUMBER_REPRESENTATION);\n }\n return sign * mathNum;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar NumericRangeIterator = require('../internals/numeric-range-iterator');\n\n// `Number.range` method\n// https://github.com/tc39/proposal-Number.range\n$({\n target: 'Number',\n stat: true,\n forced: true\n}, {\n range: function range(start, end, option) {\n return new NumericRangeIterator(start, end, option, 'number', 0, 1);\n }\n});", "'use strict';\n\n// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar ObjectIterator = require('../internals/object-iterator');\n\n// `Object.iterateEntries` method\n// https://github.com/tc39/proposal-object-iteration\n$({\n target: 'Object',\n stat: true,\n forced: true\n}, {\n iterateEntries: function iterateEntries(object) {\n return new ObjectIterator(object, 'entries');\n }\n});", "'use strict';\n\n// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar ObjectIterator = require('../internals/object-iterator');\n\n// `Object.iterateKeys` method\n// https://github.com/tc39/proposal-object-iteration\n$({\n target: 'Object',\n stat: true,\n forced: true\n}, {\n iterateKeys: function iterateKeys(object) {\n return new ObjectIterator(object, 'keys');\n }\n});", "'use strict';\n\n// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar ObjectIterator = require('../internals/object-iterator');\n\n// `Object.iterateValues` method\n// https://github.com/tc39/proposal-object-iteration\n$({\n target: 'Object',\n stat: true,\n forced: true\n}, {\n iterateValues: function iterateValues(object) {\n return new ObjectIterator(object, 'values');\n }\n});", "// TODO: Remove this module from `core-js@4` since it's split to modules listed below\nrequire('../modules/esnext.observable.constructor');\nrequire('../modules/esnext.observable.from');\nrequire('../modules/esnext.observable.of');", "'use strict';\n\n// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar newPromiseCapabilityModule = require('../internals/new-promise-capability');\nvar perform = require('../internals/perform');\n\n// `Promise.try` method\n// https://github.com/tc39/proposal-promise-try\n$({\n target: 'Promise',\n stat: true,\n forced: true\n}, {\n 'try': function _try(callbackfn) {\n var promiseCapability = newPromiseCapabilityModule.f(this);\n var result = perform(callbackfn);\n (result.error ? promiseCapability.reject : promiseCapability.resolve)(result.value);\n return promiseCapability.promise;\n }\n});", "// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\nvar toMetadataKey = ReflectMetadataModule.toKey;\nvar ordinaryDefineOwnMetadata = ReflectMetadataModule.set;\n\n// `Reflect.defineMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({\n target: 'Reflect',\n stat: true\n}, {\n defineMetadata: function defineMetadata(metadataKey, metadataValue, target /* , targetKey */) {\n var targetKey = arguments.length < 4 ? undefined : toMetadataKey(arguments[3]);\n ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), targetKey);\n }\n});", "var $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\nvar toMetadataKey = ReflectMetadataModule.toKey;\nvar getOrCreateMetadataMap = ReflectMetadataModule.getMap;\nvar store = ReflectMetadataModule.store;\n\n// `Reflect.deleteMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({\n target: 'Reflect',\n stat: true\n}, {\n deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) {\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);\n if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false;\n if (metadataMap.size) return true;\n var targetMetadata = store.get(target);\n targetMetadata['delete'](targetKey);\n return !!targetMetadata.size || store['delete'](target);\n }\n});", "// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar ordinaryHasOwnMetadata = ReflectMetadataModule.has;\nvar ordinaryGetOwnMetadata = ReflectMetadataModule.get;\nvar toMetadataKey = ReflectMetadataModule.toKey;\nvar ordinaryGetMetadata = function ordinaryGetMetadata(MetadataKey, O, P) {\n var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P);\n var parent = getPrototypeOf(O);\n return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;\n};\n\n// `Reflect.getMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({\n target: 'Reflect',\n stat: true\n}, {\n getMetadata: function getMetadata(metadataKey, target /* , targetKey */) {\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n return ordinaryGetMetadata(metadataKey, anObject(target), targetKey);\n }\n});", "// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar $arrayUniqueBy = require('../internals/array-unique-by');\nvar arrayUniqueBy = uncurryThis($arrayUniqueBy);\nvar concat = uncurryThis([].concat);\nvar ordinaryOwnMetadataKeys = ReflectMetadataModule.keys;\nvar toMetadataKey = ReflectMetadataModule.toKey;\nvar ordinaryMetadataKeys = function ordinaryMetadataKeys(O, P) {\n var oKeys = ordinaryOwnMetadataKeys(O, P);\n var parent = getPrototypeOf(O);\n if (parent === null) return oKeys;\n var pKeys = ordinaryMetadataKeys(parent, P);\n return pKeys.length ? oKeys.length ? arrayUniqueBy(concat(oKeys, pKeys)) : pKeys : oKeys;\n};\n\n// `Reflect.getMetadataKeys` method\n// https://github.com/rbuckton/reflect-metadata\n$({\n target: 'Reflect',\n stat: true\n}, {\n getMetadataKeys: function getMetadataKeys(target /* , targetKey */) {\n var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]);\n return ordinaryMetadataKeys(anObject(target), targetKey);\n }\n});", "// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\nvar ordinaryGetOwnMetadata = ReflectMetadataModule.get;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\n// `Reflect.getOwnMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({\n target: 'Reflect',\n stat: true\n}, {\n getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) {\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n return ordinaryGetOwnMetadata(metadataKey, anObject(target), targetKey);\n }\n});", "// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\nvar ordinaryOwnMetadataKeys = ReflectMetadataModule.keys;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\n// `Reflect.getOwnMetadataKeys` method\n// https://github.com/rbuckton/reflect-metadata\n$({\n target: 'Reflect',\n stat: true\n}, {\n getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) {\n var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]);\n return ordinaryOwnMetadataKeys(anObject(target), targetKey);\n }\n});", "// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\nvar getPrototypeOf = require('../internals/object-get-prototype-of');\nvar ordinaryHasOwnMetadata = ReflectMetadataModule.has;\nvar toMetadataKey = ReflectMetadataModule.toKey;\nvar ordinaryHasMetadata = function ordinaryHasMetadata(MetadataKey, O, P) {\n var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n if (hasOwn) return true;\n var parent = getPrototypeOf(O);\n return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;\n};\n\n// `Reflect.hasMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({\n target: 'Reflect',\n stat: true\n}, {\n hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) {\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n return ordinaryHasMetadata(metadataKey, anObject(target), targetKey);\n }\n});", "// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\nvar ordinaryHasOwnMetadata = ReflectMetadataModule.has;\nvar toMetadataKey = ReflectMetadataModule.toKey;\n\n// `Reflect.hasOwnMetadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({\n target: 'Reflect',\n stat: true\n}, {\n hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) {\n var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]);\n return ordinaryHasOwnMetadata(metadataKey, anObject(target), targetKey);\n }\n});", "var $ = require('../internals/export');\nvar ReflectMetadataModule = require('../internals/reflect-metadata');\nvar anObject = require('../internals/an-object');\nvar toMetadataKey = ReflectMetadataModule.toKey;\nvar ordinaryDefineOwnMetadata = ReflectMetadataModule.set;\n\n// `Reflect.metadata` method\n// https://github.com/rbuckton/reflect-metadata\n$({\n target: 'Reflect',\n stat: true\n}, {\n metadata: function metadata(metadataKey, metadataValue) {\n return function decorator(target, key) {\n ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetadataKey(key));\n };\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar addAll = require('../internals/collection-add-all');\n\n// `Set.prototype.addAll` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Set',\n proto: true,\n real: true,\n forced: true\n}, {\n addAll: addAll\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar deleteAll = require('../internals/collection-delete-all');\n\n// `Set.prototype.deleteAll` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Set',\n proto: true,\n real: true,\n forced: true\n}, {\n deleteAll: deleteAll\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar speciesConstructor = require('../internals/species-constructor');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.difference` method\n// https://github.com/tc39/proposal-set-methods\n$({\n target: 'Set',\n proto: true,\n real: true,\n forced: true\n}, {\n difference: function difference(iterable) {\n var set = anObject(this);\n var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set);\n var remover = aCallable(newSet['delete']);\n iterate(iterable, function (value) {\n call(remover, newSet, value);\n });\n return newSet;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar bind = require('../internals/function-bind-context');\nvar getSetIterator = require('../internals/get-set-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.every` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Set',\n proto: true,\n real: true,\n forced: true\n}, {\n every: function every(callbackfn /* , thisArg */) {\n var set = anObject(this);\n var iterator = getSetIterator(set);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return !iterate(iterator, function (value, stop) {\n if (!boundFunction(value, value, set)) return stop();\n }, {\n IS_ITERATOR: true,\n INTERRUPTED: true\n }).stopped;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar bind = require('../internals/function-bind-context');\nvar speciesConstructor = require('../internals/species-constructor');\nvar getSetIterator = require('../internals/get-set-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.filter` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Set',\n proto: true,\n real: true,\n forced: true\n}, {\n filter: function filter(callbackfn /* , thisArg */) {\n var set = anObject(this);\n var iterator = getSetIterator(set);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var newSet = new (speciesConstructor(set, getBuiltIn('Set')))();\n var adder = aCallable(newSet.add);\n iterate(iterator, function (value) {\n if (boundFunction(value, value, set)) call(adder, newSet, value);\n }, {\n IS_ITERATOR: true\n });\n return newSet;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar bind = require('../internals/function-bind-context');\nvar getSetIterator = require('../internals/get-set-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.find` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Set',\n proto: true,\n real: true,\n forced: true\n}, {\n find: function find(callbackfn /* , thisArg */) {\n var set = anObject(this);\n var iterator = getSetIterator(set);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return iterate(iterator, function (value, stop) {\n if (boundFunction(value, value, set)) return stop(value);\n }, {\n IS_ITERATOR: true,\n INTERRUPTED: true\n }).result;\n }\n});", "var $ = require('../internals/export');\nvar from = require('../internals/collection-from');\n\n// `Set.from` method\n// https://tc39.github.io/proposal-setmap-offrom/#sec-set.from\n$({\n target: 'Set',\n stat: true,\n forced: true\n}, {\n from: from\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar speciesConstructor = require('../internals/species-constructor');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.intersection` method\n// https://github.com/tc39/proposal-set-methods\n$({\n target: 'Set',\n proto: true,\n real: true,\n forced: true\n}, {\n intersection: function intersection(iterable) {\n var set = anObject(this);\n var newSet = new (speciesConstructor(set, getBuiltIn('Set')))();\n var hasCheck = aCallable(set.has);\n var adder = aCallable(newSet.add);\n iterate(iterable, function (value) {\n if (call(hasCheck, set, value)) call(adder, newSet, value);\n });\n return newSet;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.isDisjointFrom` method\n// https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom\n$({\n target: 'Set',\n proto: true,\n real: true,\n forced: true\n}, {\n isDisjointFrom: function isDisjointFrom(iterable) {\n var set = anObject(this);\n var hasCheck = aCallable(set.has);\n return !iterate(iterable, function (value, stop) {\n if (call(hasCheck, set, value) === true) return stop();\n }, {\n INTERRUPTED: true\n }).stopped;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar isCallable = require('../internals/is-callable');\nvar anObject = require('../internals/an-object');\nvar getIterator = require('../internals/get-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.isSubsetOf` method\n// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf\n$({\n target: 'Set',\n proto: true,\n real: true,\n forced: true\n}, {\n isSubsetOf: function isSubsetOf(iterable) {\n var iterator = getIterator(this);\n var otherSet = anObject(iterable);\n var hasCheck = otherSet.has;\n if (!isCallable(hasCheck)) {\n otherSet = new (getBuiltIn('Set'))(iterable);\n hasCheck = aCallable(otherSet.has);\n }\n return !iterate(iterator, function (value, stop) {\n if (call(hasCheck, otherSet, value) === false) return stop();\n }, {\n IS_ITERATOR: true,\n INTERRUPTED: true\n }).stopped;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.isSupersetOf` method\n// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf\n$({\n target: 'Set',\n proto: true,\n real: true,\n forced: true\n}, {\n isSupersetOf: function isSupersetOf(iterable) {\n var set = anObject(this);\n var hasCheck = aCallable(set.has);\n return !iterate(iterable, function (value, stop) {\n if (call(hasCheck, set, value) === false) return stop();\n }, {\n INTERRUPTED: true\n }).stopped;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar anObject = require('../internals/an-object');\nvar toString = require('../internals/to-string');\nvar getSetIterator = require('../internals/get-set-iterator');\nvar iterate = require('../internals/iterate');\nvar arrayJoin = uncurryThis([].join);\nvar push = [].push;\n\n// `Set.prototype.join` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Set',\n proto: true,\n real: true,\n forced: true\n}, {\n join: function join(separator) {\n var set = anObject(this);\n var iterator = getSetIterator(set);\n var sep = separator === undefined ? ',' : toString(separator);\n var result = [];\n iterate(iterator, push, {\n that: result,\n IS_ITERATOR: true\n });\n return arrayJoin(result, sep);\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar bind = require('../internals/function-bind-context');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar speciesConstructor = require('../internals/species-constructor');\nvar getSetIterator = require('../internals/get-set-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.map` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Set',\n proto: true,\n real: true,\n forced: true\n}, {\n map: function map(callbackfn /* , thisArg */) {\n var set = anObject(this);\n var iterator = getSetIterator(set);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n var newSet = new (speciesConstructor(set, getBuiltIn('Set')))();\n var adder = aCallable(newSet.add);\n iterate(iterator, function (value) {\n call(adder, newSet, boundFunction(value, value, set));\n }, {\n IS_ITERATOR: true\n });\n return newSet;\n }\n});", "var $ = require('../internals/export');\nvar of = require('../internals/collection-of');\n\n// `Set.of` method\n// https://tc39.github.io/proposal-setmap-offrom/#sec-set.of\n$({\n target: 'Set',\n stat: true,\n forced: true\n}, {\n of: of\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getSetIterator = require('../internals/get-set-iterator');\nvar iterate = require('../internals/iterate');\nvar $TypeError = TypeError;\n\n// `Set.prototype.reduce` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Set',\n proto: true,\n real: true,\n forced: true\n}, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n var set = anObject(this);\n var iterator = getSetIterator(set);\n var noInitial = arguments.length < 2;\n var accumulator = noInitial ? undefined : arguments[1];\n aCallable(callbackfn);\n iterate(iterator, function (value) {\n if (noInitial) {\n noInitial = false;\n accumulator = value;\n } else {\n accumulator = callbackfn(accumulator, value, value, set);\n }\n }, {\n IS_ITERATOR: true\n });\n if (noInitial) throw $TypeError('Reduce of empty set with no initial value');\n return accumulator;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar anObject = require('../internals/an-object');\nvar bind = require('../internals/function-bind-context');\nvar getSetIterator = require('../internals/get-set-iterator');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.some` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'Set',\n proto: true,\n real: true,\n forced: true\n}, {\n some: function some(callbackfn /* , thisArg */) {\n var set = anObject(this);\n var iterator = getSetIterator(set);\n var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return iterate(iterator, function (value, stop) {\n if (boundFunction(value, value, set)) return stop();\n }, {\n IS_ITERATOR: true,\n INTERRUPTED: true\n }).stopped;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar call = require('../internals/function-call');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar speciesConstructor = require('../internals/species-constructor');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.symmetricDifference` method\n// https://github.com/tc39/proposal-set-methods\n$({\n target: 'Set',\n proto: true,\n real: true,\n forced: true\n}, {\n symmetricDifference: function symmetricDifference(iterable) {\n var set = anObject(this);\n var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set);\n var remover = aCallable(newSet['delete']);\n var adder = aCallable(newSet.add);\n iterate(iterable, function (value) {\n call(remover, newSet, value) || call(adder, newSet, value);\n });\n return newSet;\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar speciesConstructor = require('../internals/species-constructor');\nvar iterate = require('../internals/iterate');\n\n// `Set.prototype.union` method\n// https://github.com/tc39/proposal-set-methods\n$({\n target: 'Set',\n proto: true,\n real: true,\n forced: true\n}, {\n union: function union(iterable) {\n var set = anObject(this);\n var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set);\n iterate(iterable, aCallable(newSet.add), {\n that: newSet\n });\n return newSet;\n }\n});", "'use strict';\n\n// TODO: Remove from `core-js@4`\nvar $ = require('../internals/export');\nvar charAt = require('../internals/string-multibyte').charAt;\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toString = require('../internals/to-string');\n\n// `String.prototype.at` method\n// https://github.com/mathiasbynens/String.prototype.at\n$({\n target: 'String',\n proto: true,\n forced: true\n}, {\n at: function at(index) {\n var S = toString(requireObjectCoercible(this));\n var len = S.length;\n var relativeIndex = toIntegerOrInfinity(index);\n var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex;\n return k < 0 || k >= len ? undefined : charAt(S, k);\n }\n});", "var $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toString = require('../internals/to-string');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar $TypeError = TypeError;\nvar ArrayPrototype = Array.prototype;\nvar push = uncurryThis(ArrayPrototype.push);\nvar join = uncurryThis(ArrayPrototype.join);\n\n// `String.cooked` method\n// https://github.com/tc39/proposal-string-cooked\n$({\n target: 'String',\n stat: true,\n forced: true\n}, {\n cooked: function cooked(template /* , ...substitutions */) {\n var cookedTemplate = toIndexedObject(template);\n var literalSegments = lengthOfArrayLike(cookedTemplate);\n var argumentsLength = arguments.length;\n var elements = [];\n var i = 0;\n while (literalSegments > i) {\n var nextVal = cookedTemplate[i++];\n if (nextVal === undefined) throw $TypeError('Incorrect template');\n push(elements, toString(nextVal));\n if (i === literalSegments) return join(elements, '');\n if (i < argumentsLength) push(elements, toString(arguments[i]));\n }\n }\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar createIteratorConstructor = require('../internals/create-iterator-constructor');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar InternalStateModule = require('../internals/internal-state');\nvar StringMultibyteModule = require('../internals/string-multibyte');\nvar codeAt = StringMultibyteModule.codeAt;\nvar charAt = StringMultibyteModule.charAt;\nvar STRING_ITERATOR = 'String Iterator';\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(STRING_ITERATOR);\n\n// TODO: unify with String#@@iterator\nvar $StringIterator = createIteratorConstructor(function StringIterator(string) {\n setInternalState(this, {\n type: STRING_ITERATOR,\n string: string,\n index: 0\n });\n}, 'String', function next() {\n var state = getInternalState(this);\n var string = state.string;\n var index = state.index;\n var point;\n if (index >= string.length) return {\n value: undefined,\n done: true\n };\n point = charAt(string, index);\n state.index += point.length;\n return {\n value: {\n codePoint: codeAt(point, 0),\n position: index\n },\n done: false\n };\n});\n\n// `String.prototype.codePoints` method\n// https://github.com/tc39/proposal-string-prototype-codepoints\n$({\n target: 'String',\n proto: true,\n forced: true\n}, {\n codePoints: function codePoints() {\n return new $StringIterator(toString(requireObjectCoercible(this)));\n }\n});", "var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.asyncDispose` well-known symbol\n// https://github.com/tc39/proposal-using-statement\ndefineWellKnownSymbol('asyncDispose');", "var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.dispose` well-known symbol\n// https://github.com/tc39/proposal-using-statement\ndefineWellKnownSymbol('dispose');", "var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.matcher` well-known symbol\n// https://github.com/tc39/proposal-pattern-matching\ndefineWellKnownSymbol('matcher');", "// TODO: Remove from `core-js@4`\nvar defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.metadata` well-known symbol\n// https://github.com/tc39/proposal-decorators\ndefineWellKnownSymbol('metadata');", "var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.metadataKey` well-known symbol\n// https://github.com/tc39/proposal-decorator-metadata\ndefineWellKnownSymbol('metadataKey');", "var defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.observable` well-known symbol\n// https://github.com/tc39/proposal-observable\ndefineWellKnownSymbol('observable');", "// TODO: remove from `core-js@4`\nvar defineWellKnownSymbol = require('../internals/define-well-known-symbol');\n\n// `Symbol.patternMatch` well-known symbol\n// https://github.com/tc39/proposal-pattern-matching\ndefineWellKnownSymbol('patternMatch');", "// TODO: remove from `core-js@4`\nvar defineWellKnownSymbol = require('../internals/define-well-known-symbol');\ndefineWellKnownSymbol('replaceAll');", "'use strict';\n\n// TODO: Remove from `core-js@4`\nvar getBuiltIn = require('../internals/get-built-in');\nvar aConstructor = require('../internals/a-constructor');\nvar arrayFromAsync = require('../internals/array-from-async');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list');\nvar aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;\nvar exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod;\n\n// `%TypedArray%.fromAsync` method\n// https://github.com/tc39/proposal-array-from-async\nexportTypedArrayStaticMethod('fromAsync', function fromAsync(asyncItems /* , mapfn = undefined, thisArg = undefined */) {\n var C = this;\n var argumentsLength = arguments.length;\n var mapfn = argumentsLength > 1 ? arguments[1] : undefined;\n var thisArg = argumentsLength > 2 ? arguments[2] : undefined;\n return new (getBuiltIn('Promise'))(function (resolve) {\n aConstructor(C);\n resolve(arrayFromAsync(asyncItems, mapfn, thisArg));\n }).then(function (list) {\n return arrayFromConstructorAndList(aTypedArrayConstructor(C), list);\n });\n}, true);", "'use strict';\n\n// TODO: Remove from `core-js@4`\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $filterReject = require('../internals/array-iteration').filterReject;\nvar fromSpeciesAndList = require('../internals/typed-array-from-species-and-list');\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.filterOut` method\n// https://github.com/tc39/proposal-array-filtering\nexportTypedArrayMethod('filterOut', function filterOut(callbackfn /* , thisArg */) {\n var list = $filterReject(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return fromSpeciesAndList(this, list);\n}, true);", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $filterReject = require('../internals/array-iteration').filterReject;\nvar fromSpeciesAndList = require('../internals/typed-array-from-species-and-list');\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.filterReject` method\n// https://github.com/tc39/proposal-array-filtering\nexportTypedArrayMethod('filterReject', function filterReject(callbackfn /* , thisArg */) {\n var list = $filterReject(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n return fromSpeciesAndList(this, list);\n}, true);", "'use strict';\n\n// TODO: Remove from `core-js@4`\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $group = require('../internals/array-group');\nvar typedArraySpeciesConstructor = require('../internals/typed-array-species-constructor');\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\n\n// `%TypedArray%.prototype.groupBy` method\n// https://github.com/tc39/proposal-array-grouping\nexportTypedArrayMethod('groupBy', function groupBy(callbackfn /* , thisArg */) {\n var thisArg = arguments.length > 1 ? arguments[1] : undefined;\n return $group(aTypedArray(this), callbackfn, thisArg, typedArraySpeciesConstructor);\n}, true);", "'use strict';\n\nvar arrayToReversed = require('../internals/array-to-reversed');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;\n\n// `%TypedArray%.prototype.toReversed` method\n// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toReversed\nexportTypedArrayMethod('toReversed', function toReversed() {\n return arrayToReversed(aTypedArray(this), getTypedArrayConstructor(this));\n});", "'use strict';\n\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar aCallable = require('../internals/a-callable');\nvar arrayFromConstructorAndList = require('../internals/array-from-constructor-and-list');\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar sort = uncurryThis(ArrayBufferViewCore.TypedArrayPrototype.sort);\n\n// `%TypedArray%.prototype.toSorted` method\n// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toSorted\nexportTypedArrayMethod('toSorted', function toSorted(compareFn) {\n if (compareFn !== undefined) aCallable(compareFn);\n var O = aTypedArray(this);\n var A = arrayFromConstructorAndList(getTypedArrayConstructor(O), O);\n return sort(A, compareFn);\n});", "'use strict';\n\n// TODO: Remove from `core-js@4`\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar fails = require('../internals/fails');\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar max = Math.max;\nvar min = Math.min;\n\n// some early implementations, like WebKit, does not follow the final semantic\nvar PROPER_ORDER = !fails(function () {\n // eslint-disable-next-line es-x/no-typed-arrays -- required for testing\n var array = new Int8Array([1]);\n var spliced = array.toSpliced(1, 0, {\n valueOf: function valueOf() {\n array[0] = 2;\n return 3;\n }\n });\n return spliced[0] !== 2 || spliced[1] !== 3;\n});\n\n// `%TypedArray%.prototype.toSpliced` method\n// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toSpliced\nexportTypedArrayMethod('toSpliced', function toSpliced(start, deleteCount /* , ...items */) {\n var O = aTypedArray(this);\n var C = getTypedArrayConstructor(O);\n var len = lengthOfArrayLike(O);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var k = 0;\n var insertCount, actualDeleteCount, convertedItems, newLen, A;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);\n insertCount = argumentsLength - 2;\n if (insertCount) {\n convertedItems = new C(insertCount);\n for (var i = 2; i < argumentsLength; i++) {\n convertedItems[i - 2] = arguments[i];\n }\n }\n }\n newLen = len + insertCount - actualDeleteCount;\n A = new C(newLen);\n for (; k < actualStart; k++) A[k] = O[k];\n for (; k < actualStart + insertCount; k++) A[k] = convertedItems[k - actualStart];\n for (; k < newLen; k++) A[k] = O[k + actualDeleteCount - insertCount];\n return A;\n}, !PROPER_ORDER);", "'use strict';\n\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar $arrayUniqueBy = require('../internals/array-unique-by');\nvar fromSpeciesAndList = require('../internals/typed-array-from-species-and-list');\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar arrayUniqueBy = uncurryThis($arrayUniqueBy);\n\n// `%TypedArray%.prototype.uniqueBy` method\n// https://github.com/tc39/proposal-array-unique\nexportTypedArrayMethod('uniqueBy', function uniqueBy(resolver) {\n return fromSpeciesAndList(this, arrayUniqueBy(aTypedArray(this), resolver));\n}, true);", "'use strict';\n\nvar arrayWith = require('../internals/array-with');\nvar ArrayBufferViewCore = require('../internals/array-buffer-view-core');\nvar isBigIntArray = require('../internals/is-big-int-array');\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\nvar toBigInt = require('../internals/to-big-int');\nvar aTypedArray = ArrayBufferViewCore.aTypedArray;\nvar getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;\nvar exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod;\nvar PROPER_ORDER = !!function () {\n try {\n // eslint-disable-next-line no-throw-literal, es-x/no-typed-arrays -- required for testing\n new Int8Array(1)['with'](2, {\n valueOf: function valueOf() {\n throw 8;\n }\n });\n } catch (error) {\n // some early implementations, like WebKit, does not follow the final semantic\n // https://github.com/tc39/proposal-change-array-by-copy/pull/86\n return error === 8;\n }\n}();\n\n// `%TypedArray%.prototype.with` method\n// https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.with\nexportTypedArrayMethod('with', {\n 'with': function _with(index, value) {\n var O = aTypedArray(this);\n var relativeIndex = toIntegerOrInfinity(index);\n var actualValue = isBigIntArray(O) ? toBigInt(value) : +value;\n return arrayWith(O, getTypedArrayConstructor(O), relativeIndex, actualValue);\n }\n}['with'], !PROPER_ORDER);", "'use strict';\n\nvar $ = require('../internals/export');\nvar deleteAll = require('../internals/collection-delete-all');\n\n// `WeakMap.prototype.deleteAll` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'WeakMap',\n proto: true,\n real: true,\n forced: true\n}, {\n deleteAll: deleteAll\n});", "var $ = require('../internals/export');\nvar from = require('../internals/collection-from');\n\n// `WeakMap.from` method\n// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from\n$({\n target: 'WeakMap',\n stat: true,\n forced: true\n}, {\n from: from\n});", "var $ = require('../internals/export');\nvar of = require('../internals/collection-of');\n\n// `WeakMap.of` method\n// https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of\n$({\n target: 'WeakMap',\n stat: true,\n forced: true\n}, {\n of: of\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar emplace = require('../internals/map-emplace');\n\n// `WeakMap.prototype.emplace` method\n// https://github.com/tc39/proposal-upsert\n$({\n target: 'WeakMap',\n proto: true,\n real: true,\n forced: true\n}, {\n emplace: emplace\n});", "'use strict';\n\n// TODO: remove from `core-js@4`\nvar $ = require('../internals/export');\nvar upsert = require('../internals/map-upsert');\n\n// `WeakMap.prototype.upsert` method (replaced by `WeakMap.prototype.emplace`)\n// https://github.com/tc39/proposal-upsert\n$({\n target: 'WeakMap',\n proto: true,\n real: true,\n forced: true\n}, {\n upsert: upsert\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar addAll = require('../internals/collection-add-all');\n\n// `WeakSet.prototype.addAll` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'WeakSet',\n proto: true,\n real: true,\n forced: true\n}, {\n addAll: addAll\n});", "'use strict';\n\nvar $ = require('../internals/export');\nvar deleteAll = require('../internals/collection-delete-all');\n\n// `WeakSet.prototype.deleteAll` method\n// https://github.com/tc39/proposal-collection-methods\n$({\n target: 'WeakSet',\n proto: true,\n real: true,\n forced: true\n}, {\n deleteAll: deleteAll\n});", "var $ = require('../internals/export');\nvar from = require('../internals/collection-from');\n\n// `WeakSet.from` method\n// https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from\n$({\n target: 'WeakSet',\n stat: true,\n forced: true\n}, {\n from: from\n});", "var $ = require('../internals/export');\nvar of = require('../internals/collection-of');\n\n// `WeakSet.of` method\n// https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of\n$({\n target: 'WeakSet',\n stat: true,\n forced: true\n}, {\n of: of\n});", "var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar toString = require('../internals/to-string');\nvar hasOwn = require('../internals/has-own-property');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar ctoi = require('../internals/base64-map').ctoi;\nvar disallowed = /[^\\d+/a-z]/i;\nvar whitespaces = /[\\t\\n\\f\\r ]+/g;\nvar finalEq = /[=]+$/;\nvar $atob = getBuiltIn('atob');\nvar fromCharCode = String.fromCharCode;\nvar charAt = uncurryThis(''.charAt);\nvar replace = uncurryThis(''.replace);\nvar exec = uncurryThis(disallowed.exec);\nvar NO_SPACES_IGNORE = fails(function () {\n return $atob(' ') !== '';\n});\nvar NO_ENCODING_CHECK = !fails(function () {\n $atob('a');\n});\nvar NO_ARG_RECEIVING_CHECK = !NO_SPACES_IGNORE && !NO_ENCODING_CHECK && !fails(function () {\n $atob();\n});\nvar WRONG_ARITY = !NO_SPACES_IGNORE && !NO_ENCODING_CHECK && $atob.length !== 1;\n\n// `atob` method\n// https://html.spec.whatwg.org/multipage/webappapis.html#dom-atob\n$({\n global: true,\n enumerable: true,\n forced: NO_SPACES_IGNORE || NO_ENCODING_CHECK || NO_ARG_RECEIVING_CHECK || WRONG_ARITY\n}, {\n atob: function atob(data) {\n validateArgumentsLength(arguments.length, 1);\n if (NO_ARG_RECEIVING_CHECK || WRONG_ARITY) return $atob(data);\n var string = replace(toString(data), whitespaces, '');\n var output = '';\n var position = 0;\n var bc = 0;\n var chr, bs;\n if (string.length % 4 == 0) {\n string = replace(string, finalEq, '');\n }\n if (string.length % 4 == 1 || exec(disallowed, string)) {\n throw new (getBuiltIn('DOMException'))('The string is not correctly encoded', 'InvalidCharacterError');\n }\n while (chr = charAt(string, position++)) {\n if (hasOwn(ctoi, chr)) {\n bs = bc % 4 ? bs * 64 + ctoi[chr] : ctoi[chr];\n if (bc++ % 4) output += fromCharCode(255 & bs >> (-2 * bc & 6));\n }\n }\n return output;\n }\n});", "var $ = require('../internals/export');\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar toString = require('../internals/to-string');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar itoc = require('../internals/base64-map').itoc;\nvar $btoa = getBuiltIn('btoa');\nvar charAt = uncurryThis(''.charAt);\nvar charCodeAt = uncurryThis(''.charCodeAt);\nvar NO_ARG_RECEIVING_CHECK = !!$btoa && !fails(function () {\n $btoa();\n});\nvar WRONG_ARG_CONVERSION = !!$btoa && fails(function () {\n return $btoa(null) !== 'bnVsbA==';\n});\nvar WRONG_ARITY = !!$btoa && $btoa.length !== 1;\n\n// `btoa` method\n// https://html.spec.whatwg.org/multipage/webappapis.html#dom-btoa\n$({\n global: true,\n enumerable: true,\n forced: NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY\n}, {\n btoa: function btoa(data) {\n validateArgumentsLength(arguments.length, 1);\n if (NO_ARG_RECEIVING_CHECK || WRONG_ARG_CONVERSION || WRONG_ARITY) return $btoa(toString(data));\n var string = toString(data);\n var output = '';\n var position = 0;\n var map = itoc;\n var block, charCode;\n while (charAt(string, position) || (map = '=', position % 1)) {\n charCode = charCodeAt(string, position += 3 / 4);\n if (charCode > 0xFF) {\n throw new (getBuiltIn('DOMException'))('The string contains characters outside of the Latin1 range', 'InvalidCharacterError');\n }\n block = block << 8 | charCode;\n output += charAt(map, 63 & block >> 8 - position % 1 * 8);\n }\n return output;\n }\n});", "var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar forEach = require('../internals/array-for-each');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar handlePrototype = function handlePrototype(CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {\n createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);\n } catch (error) {\n CollectionPrototype.forEach = forEach;\n }\n};\nfor (var COLLECTION_NAME in DOMIterables) {\n if (DOMIterables[COLLECTION_NAME]) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype);\n }\n}\nhandlePrototype(DOMTokenListPrototype);", "var global = require('../internals/global');\nvar DOMIterables = require('../internals/dom-iterables');\nvar DOMTokenListPrototype = require('../internals/dom-token-list-prototype');\nvar ArrayIteratorMethods = require('../modules/es.array.iterator');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar ITERATOR = wellKnownSymbol('iterator');\nvar TO_STRING_TAG = wellKnownSymbol('toStringTag');\nvar ArrayValues = ArrayIteratorMethods.values;\nvar handlePrototype = function handlePrototype(CollectionPrototype, COLLECTION_NAME) {\n if (CollectionPrototype) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[ITERATOR] !== ArrayValues) try {\n createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);\n } catch (error) {\n CollectionPrototype[ITERATOR] = ArrayValues;\n }\n if (!CollectionPrototype[TO_STRING_TAG]) {\n createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);\n }\n if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {\n // some Chrome versions have non-configurable methods on DOMTokenList\n if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {\n createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);\n } catch (error) {\n CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];\n }\n }\n }\n};\nfor (var COLLECTION_NAME in DOMIterables) {\n handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME);\n}\nhandlePrototype(DOMTokenListPrototype, 'DOMTokenList');", "'use strict';\n\nvar $ = require('../internals/export');\nvar tryNodeRequire = require('../internals/try-node-require');\nvar getBuiltIn = require('../internals/get-built-in');\nvar fails = require('../internals/fails');\nvar create = require('../internals/object-create');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar defineProperty = require('../internals/object-define-property').f;\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\nvar hasOwn = require('../internals/has-own-property');\nvar anInstance = require('../internals/an-instance');\nvar anObject = require('../internals/an-object');\nvar errorToString = require('../internals/error-to-string');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar DOMExceptionConstants = require('../internals/dom-exception-constants');\nvar clearErrorStack = require('../internals/clear-error-stack');\nvar InternalStateModule = require('../internals/internal-state');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\nvar DOM_EXCEPTION = 'DOMException';\nvar DATA_CLONE_ERR = 'DATA_CLONE_ERR';\nvar Error = getBuiltIn('Error');\n// NodeJS < 17.0 does not expose `DOMException` to global\nvar NativeDOMException = getBuiltIn(DOM_EXCEPTION) || function () {\n try {\n // NodeJS < 15.0 does not expose `MessageChannel` to global\n var MessageChannel = getBuiltIn('MessageChannel') || tryNodeRequire('worker_threads').MessageChannel;\n // eslint-disable-next-line es-x/no-weak-map, unicorn/require-post-message-target-origin -- safe\n new MessageChannel().port1.postMessage(new WeakMap());\n } catch (error) {\n if (error.name == DATA_CLONE_ERR && error.code == 25) return error.constructor;\n }\n}();\nvar NativeDOMExceptionPrototype = NativeDOMException && NativeDOMException.prototype;\nvar ErrorPrototype = Error.prototype;\nvar setInternalState = InternalStateModule.set;\nvar getInternalState = InternalStateModule.getterFor(DOM_EXCEPTION);\nvar HAS_STACK = ('stack' in Error(DOM_EXCEPTION));\nvar codeFor = function codeFor(name) {\n return hasOwn(DOMExceptionConstants, name) && DOMExceptionConstants[name].m ? DOMExceptionConstants[name].c : 0;\n};\nvar $DOMException = function DOMException() {\n anInstance(this, DOMExceptionPrototype);\n var argumentsLength = arguments.length;\n var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);\n var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');\n var code = codeFor(name);\n setInternalState(this, {\n type: DOM_EXCEPTION,\n name: name,\n message: message,\n code: code\n });\n if (!DESCRIPTORS) {\n this.name = name;\n this.message = message;\n this.code = code;\n }\n if (HAS_STACK) {\n var error = Error(message);\n error.name = DOM_EXCEPTION;\n defineProperty(this, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));\n }\n};\nvar DOMExceptionPrototype = $DOMException.prototype = create(ErrorPrototype);\nvar createGetterDescriptor = function createGetterDescriptor(get) {\n return {\n enumerable: true,\n configurable: true,\n get: get\n };\n};\nvar getterFor = function getterFor(key) {\n return createGetterDescriptor(function () {\n return getInternalState(this)[key];\n });\n};\nif (DESCRIPTORS) {\n defineBuiltInAccessor(DOMExceptionPrototype, 'code', getterFor('code'));\n defineBuiltInAccessor(DOMExceptionPrototype, 'message', getterFor('message'));\n defineBuiltInAccessor(DOMExceptionPrototype, 'name', getterFor('name'));\n}\ndefineProperty(DOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, $DOMException));\n\n// FF36- DOMException is a function, but can't be constructed\nvar INCORRECT_CONSTRUCTOR = fails(function () {\n return !(new NativeDOMException() instanceof Error);\n});\n\n// Safari 10.1 / Chrome 32- / IE8- DOMException.prototype.toString bugs\nvar INCORRECT_TO_STRING = INCORRECT_CONSTRUCTOR || fails(function () {\n return ErrorPrototype.toString !== errorToString || String(new NativeDOMException(1, 2)) !== '2: 1';\n});\n\n// Deno 1.6.3- DOMException.prototype.code just missed\nvar INCORRECT_CODE = INCORRECT_CONSTRUCTOR || fails(function () {\n return new NativeDOMException(1, 'DataCloneError').code !== 25;\n});\n\n// Deno 1.6.3- DOMException constants just missed\nvar MISSED_CONSTANTS = INCORRECT_CONSTRUCTOR || NativeDOMException[DATA_CLONE_ERR] !== 25 || NativeDOMExceptionPrototype[DATA_CLONE_ERR] !== 25;\nvar FORCED_CONSTRUCTOR = IS_PURE ? INCORRECT_TO_STRING || INCORRECT_CODE || MISSED_CONSTANTS : INCORRECT_CONSTRUCTOR;\n\n// `DOMException` constructor\n// https://webidl.spec.whatwg.org/#idl-DOMException\n$({\n global: true,\n constructor: true,\n forced: FORCED_CONSTRUCTOR\n}, {\n DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException\n});\nvar PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);\nvar PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;\nif (INCORRECT_TO_STRING && (IS_PURE || NativeDOMException === PolyfilledDOMException)) {\n defineBuiltIn(PolyfilledDOMExceptionPrototype, 'toString', errorToString);\n}\nif (INCORRECT_CODE && DESCRIPTORS && NativeDOMException === PolyfilledDOMException) {\n defineBuiltInAccessor(PolyfilledDOMExceptionPrototype, 'code', createGetterDescriptor(function () {\n return codeFor(anObject(this).name);\n }));\n}\nfor (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {\n var constant = DOMExceptionConstants[key];\n var constantName = constant.s;\n var descriptor = createPropertyDescriptor(6, constant.c);\n if (!hasOwn(PolyfilledDOMException, constantName)) {\n defineProperty(PolyfilledDOMException, constantName, descriptor);\n }\n if (!hasOwn(PolyfilledDOMExceptionPrototype, constantName)) {\n defineProperty(PolyfilledDOMExceptionPrototype, constantName, descriptor);\n }\n}", "'use strict';\n\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltIn = require('../internals/get-built-in');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar defineProperty = require('../internals/object-define-property').f;\nvar hasOwn = require('../internals/has-own-property');\nvar anInstance = require('../internals/an-instance');\nvar inheritIfRequired = require('../internals/inherit-if-required');\nvar normalizeStringArgument = require('../internals/normalize-string-argument');\nvar DOMExceptionConstants = require('../internals/dom-exception-constants');\nvar clearErrorStack = require('../internals/clear-error-stack');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IS_PURE = require('../internals/is-pure');\nvar DOM_EXCEPTION = 'DOMException';\nvar Error = getBuiltIn('Error');\nvar NativeDOMException = getBuiltIn(DOM_EXCEPTION);\nvar $DOMException = function DOMException() {\n anInstance(this, DOMExceptionPrototype);\n var argumentsLength = arguments.length;\n var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]);\n var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');\n var that = new NativeDOMException(message, name);\n var error = Error(message);\n error.name = DOM_EXCEPTION;\n defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1)));\n inheritIfRequired(that, this, $DOMException);\n return that;\n};\nvar DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype;\nvar ERROR_HAS_STACK = ('stack' in Error(DOM_EXCEPTION));\nvar DOM_EXCEPTION_HAS_STACK = ('stack' in new NativeDOMException(1, 2));\n\n// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe\nvar descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global, DOM_EXCEPTION);\n\n// Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it\n// https://github.com/Jarred-Sumner/bun/issues/399\nvar BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable);\nvar FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK;\n\n// `DOMException` constructor patch for `.stack` where it's required\n// https://webidl.spec.whatwg.org/#es-DOMException-specialness\n$({\n global: true,\n constructor: true,\n forced: IS_PURE || FORCED_CONSTRUCTOR\n}, {\n // TODO: fix export logic\n DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException\n});\nvar PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION);\nvar PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype;\nif (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) {\n if (!IS_PURE) {\n defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException));\n }\n for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) {\n var constant = DOMExceptionConstants[key];\n var constantName = constant.s;\n if (!hasOwn(PolyfilledDOMException, constantName)) {\n defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c));\n }\n }\n}", "var getBuiltIn = require('../internals/get-built-in');\nvar setToStringTag = require('../internals/set-to-string-tag');\nvar DOM_EXCEPTION = 'DOMException';\nsetToStringTag(getBuiltIn(DOM_EXCEPTION), DOM_EXCEPTION);", "var $ = require('../internals/export');\nvar global = require('../internals/global');\nvar microtask = require('../internals/microtask');\nvar aCallable = require('../internals/a-callable');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar IS_NODE = require('../internals/engine-is-node');\nvar process = global.process;\n\n// `queueMicrotask` method\n// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask\n$({\n global: true,\n enumerable: true,\n dontCallGetSet: true\n}, {\n queueMicrotask: function queueMicrotask(fn) {\n validateArgumentsLength(arguments.length, 1);\n aCallable(fn);\n var domain = IS_NODE && process.domain;\n microtask(domain ? domain.bind(fn) : fn);\n }\n});", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar IS_PURE = require('../internals/is-pure');\nvar $ = require('../internals/export');\nvar global = require('../internals/global');\nvar getBuiltin = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar uid = require('../internals/uid');\nvar isCallable = require('../internals/is-callable');\nvar isConstructor = require('../internals/is-constructor');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar iterate = require('../internals/iterate');\nvar anObject = require('../internals/an-object');\nvar classof = require('../internals/classof');\nvar hasOwn = require('../internals/has-own-property');\nvar createProperty = require('../internals/create-property');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\nvar validateArgumentsLength = require('../internals/validate-arguments-length');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\nvar ERROR_STACK_INSTALLABLE = require('../internals/error-stack-installable');\nvar V8 = require('../internals/engine-v8-version');\nvar IS_BROWSER = require('../internals/engine-is-browser');\nvar IS_DENO = require('../internals/engine-is-deno');\nvar IS_NODE = require('../internals/engine-is-node');\nvar Object = global.Object;\nvar Date = global.Date;\nvar Error = global.Error;\nvar EvalError = global.EvalError;\nvar RangeError = global.RangeError;\nvar ReferenceError = global.ReferenceError;\nvar SyntaxError = global.SyntaxError;\nvar TypeError = global.TypeError;\nvar URIError = global.URIError;\nvar PerformanceMark = global.PerformanceMark;\nvar WebAssembly = global.WebAssembly;\nvar CompileError = WebAssembly && WebAssembly.CompileError || Error;\nvar LinkError = WebAssembly && WebAssembly.LinkError || Error;\nvar RuntimeError = WebAssembly && WebAssembly.RuntimeError || Error;\nvar DOMException = getBuiltin('DOMException');\nvar Set = getBuiltin('Set');\nvar Map = getBuiltin('Map');\nvar MapPrototype = Map.prototype;\nvar mapHas = uncurryThis(MapPrototype.has);\nvar mapGet = uncurryThis(MapPrototype.get);\nvar mapSet = uncurryThis(MapPrototype.set);\nvar setAdd = uncurryThis(Set.prototype.add);\nvar objectKeys = getBuiltin('Object', 'keys');\nvar push = uncurryThis([].push);\nvar booleanValueOf = uncurryThis(true.valueOf);\nvar numberValueOf = uncurryThis(1.0.valueOf);\nvar stringValueOf = uncurryThis(''.valueOf);\nvar getTime = uncurryThis(Date.prototype.getTime);\nvar PERFORMANCE_MARK = uid('structuredClone');\nvar DATA_CLONE_ERROR = 'DataCloneError';\nvar TRANSFERRING = 'Transferring';\nvar checkBasicSemantic = function checkBasicSemantic(structuredCloneImplementation) {\n return !fails(function () {\n var set1 = new global.Set([7]);\n var set2 = structuredCloneImplementation(set1);\n var number = structuredCloneImplementation(Object(7));\n return set2 == set1 || !set2.has(7) || _typeof(number) != 'object' || number != 7;\n }) && structuredCloneImplementation;\n};\nvar checkErrorsCloning = function checkErrorsCloning(structuredCloneImplementation, $Error) {\n return !fails(function () {\n var error = new $Error();\n var test = structuredCloneImplementation({\n a: error,\n b: error\n });\n return !(test && test.a === test.b && test.a instanceof $Error && test.a.stack === error.stack);\n });\n};\n\n// https://github.com/whatwg/html/pull/5749\nvar checkNewErrorsCloningSemantic = function checkNewErrorsCloningSemantic(structuredCloneImplementation) {\n return !fails(function () {\n var test = structuredCloneImplementation(new global.AggregateError([1], PERFORMANCE_MARK, {\n cause: 3\n }));\n return test.name != 'AggregateError' || test.errors[0] != 1 || test.message != PERFORMANCE_MARK || test.cause != 3;\n });\n};\n\n// FF94+, Safari 15.4+, Chrome 98+, NodeJS 17.0+, Deno 1.13+\n// FF<103 and Safari implementations can't clone errors\n// https://bugzilla.mozilla.org/show_bug.cgi?id=1556604\n// FF103 can clone errors, but `.stack` of clone is an empty string\n// https://bugzilla.mozilla.org/show_bug.cgi?id=1778762\n// FF104+ fixed it on usual errors, but not on DOMExceptions\n// https://bugzilla.mozilla.org/show_bug.cgi?id=1777321\n// Chrome <102 returns `null` if cloned object contains multiple references to one error\n// https://bugs.chromium.org/p/v8/issues/detail?id=12542\n// NodeJS implementation can't clone DOMExceptions\n// https://github.com/nodejs/node/issues/41038\n// only FF103+ supports new (html/5749) error cloning semantic\nvar nativeStructuredClone = global.structuredClone;\nvar FORCED_REPLACEMENT = IS_PURE || !checkErrorsCloning(nativeStructuredClone, Error) || !checkErrorsCloning(nativeStructuredClone, DOMException) || !checkNewErrorsCloningSemantic(nativeStructuredClone);\n\n// Chrome 82+, Safari 14.1+, Deno 1.11+\n// Chrome 78-81 implementation swaps `.name` and `.message` of cloned `DOMException`\n// Chrome returns `null` if cloned object contains multiple references to one error\n// Safari 14.1 implementation doesn't clone some `RegExp` flags, so requires a workaround\n// Safari implementation can't clone errors\n// Deno 1.2-1.10 implementations too naive\n// NodeJS 16.0+ does not have `PerformanceMark` constructor\n// NodeJS <17.2 structured cloning implementation from `performance.mark` is too naive\n// and can't clone, for example, `RegExp` or some boxed primitives\n// https://github.com/nodejs/node/issues/40840\n// no one of those implementations supports new (html/5749) error cloning semantic\nvar structuredCloneFromMark = !nativeStructuredClone && checkBasicSemantic(function (value) {\n return new PerformanceMark(PERFORMANCE_MARK, {\n detail: value\n }).detail;\n});\nvar nativeRestrictedStructuredClone = checkBasicSemantic(nativeStructuredClone) || structuredCloneFromMark;\nvar throwUncloneable = function throwUncloneable(type) {\n throw new DOMException('Uncloneable type: ' + type, DATA_CLONE_ERROR);\n};\nvar throwUnpolyfillable = function throwUnpolyfillable(type, kind) {\n throw new DOMException((kind || 'Cloning') + ' of ' + type + ' cannot be properly polyfilled in this engine', DATA_CLONE_ERROR);\n};\nvar structuredCloneInternal = function structuredCloneInternal(value, map) {\n if (isSymbol(value)) throwUncloneable('Symbol');\n if (!isObject(value)) return value;\n // effectively preserves circular references\n if (map) {\n if (mapHas(map, value)) return mapGet(map, value);\n } else map = new Map();\n var type = classof(value);\n var deep = false;\n var C, name, cloned, dataTransfer, i, length, keys, key, source, target;\n switch (type) {\n case 'Array':\n cloned = [];\n deep = true;\n break;\n case 'Object':\n cloned = {};\n deep = true;\n break;\n case 'Map':\n cloned = new Map();\n deep = true;\n break;\n case 'Set':\n cloned = new Set();\n deep = true;\n break;\n case 'RegExp':\n // in this block because of a Safari 14.1 bug\n // old FF does not clone regexes passed to the constructor, so get the source and flags directly\n cloned = new RegExp(value.source, getRegExpFlags(value));\n break;\n case 'Error':\n name = value.name;\n switch (name) {\n case 'AggregateError':\n cloned = getBuiltin('AggregateError')([]);\n break;\n case 'EvalError':\n cloned = EvalError();\n break;\n case 'RangeError':\n cloned = RangeError();\n break;\n case 'ReferenceError':\n cloned = ReferenceError();\n break;\n case 'SyntaxError':\n cloned = SyntaxError();\n break;\n case 'TypeError':\n cloned = TypeError();\n break;\n case 'URIError':\n cloned = URIError();\n break;\n case 'CompileError':\n cloned = CompileError();\n break;\n case 'LinkError':\n cloned = LinkError();\n break;\n case 'RuntimeError':\n cloned = RuntimeError();\n break;\n default:\n cloned = Error();\n }\n deep = true;\n break;\n case 'DOMException':\n cloned = new DOMException(value.message, value.name);\n deep = true;\n break;\n case 'DataView':\n case 'Int8Array':\n case 'Uint8Array':\n case 'Uint8ClampedArray':\n case 'Int16Array':\n case 'Uint16Array':\n case 'Int32Array':\n case 'Uint32Array':\n case 'Float32Array':\n case 'Float64Array':\n case 'BigInt64Array':\n case 'BigUint64Array':\n C = global[type];\n // in some old engines like Safari 9, typeof C is 'object'\n // on Uint8ClampedArray or some other constructors\n if (!isObject(C)) throwUnpolyfillable(type);\n cloned = new C(\n // this is safe, since arraybuffer cannot have circular references\n structuredCloneInternal(value.buffer, map), value.byteOffset, type === 'DataView' ? value.byteLength : value.length);\n break;\n case 'DOMQuad':\n try {\n cloned = new DOMQuad(structuredCloneInternal(value.p1, map), structuredCloneInternal(value.p2, map), structuredCloneInternal(value.p3, map), structuredCloneInternal(value.p4, map));\n } catch (error) {\n if (nativeRestrictedStructuredClone) {\n cloned = nativeRestrictedStructuredClone(value);\n } else throwUnpolyfillable(type);\n }\n break;\n case 'FileList':\n C = global.DataTransfer;\n if (isConstructor(C)) {\n dataTransfer = new C();\n for (i = 0, length = lengthOfArrayLike(value); i < length; i++) {\n dataTransfer.items.add(structuredCloneInternal(value[i], map));\n }\n cloned = dataTransfer.files;\n } else if (nativeRestrictedStructuredClone) {\n cloned = nativeRestrictedStructuredClone(value);\n } else throwUnpolyfillable(type);\n break;\n case 'ImageData':\n // Safari 9 ImageData is a constructor, but typeof ImageData is 'object'\n try {\n cloned = new ImageData(structuredCloneInternal(value.data, map), value.width, value.height, {\n colorSpace: value.colorSpace\n });\n } catch (error) {\n if (nativeRestrictedStructuredClone) {\n cloned = nativeRestrictedStructuredClone(value);\n } else throwUnpolyfillable(type);\n }\n break;\n default:\n if (nativeRestrictedStructuredClone) {\n cloned = nativeRestrictedStructuredClone(value);\n } else switch (type) {\n case 'BigInt':\n // can be a 3rd party polyfill\n cloned = Object(value.valueOf());\n break;\n case 'Boolean':\n cloned = Object(booleanValueOf(value));\n break;\n case 'Number':\n cloned = Object(numberValueOf(value));\n break;\n case 'String':\n cloned = Object(stringValueOf(value));\n break;\n case 'Date':\n cloned = new Date(getTime(value));\n break;\n case 'ArrayBuffer':\n C = global.DataView;\n // `ArrayBuffer#slice` is not available in IE10\n // `ArrayBuffer#slice` and `DataView` are not available in old FF\n if (!C && typeof value.slice != 'function') throwUnpolyfillable(type);\n // detached buffers throws in `DataView` and `.slice`\n try {\n if (typeof value.slice == 'function') {\n cloned = value.slice(0);\n } else {\n length = value.byteLength;\n cloned = new ArrayBuffer(length);\n source = new C(value);\n target = new C(cloned);\n for (i = 0; i < length; i++) {\n target.setUint8(i, source.getUint8(i));\n }\n }\n } catch (error) {\n throw new DOMException('ArrayBuffer is detached', DATA_CLONE_ERROR);\n }\n break;\n case 'SharedArrayBuffer':\n // SharedArrayBuffer should use shared memory, we can't polyfill it, so return the original\n cloned = value;\n break;\n case 'Blob':\n try {\n cloned = value.slice(0, value.size, value.type);\n } catch (error) {\n throwUnpolyfillable(type);\n }\n break;\n case 'DOMPoint':\n case 'DOMPointReadOnly':\n C = global[type];\n try {\n cloned = C.fromPoint ? C.fromPoint(value) : new C(value.x, value.y, value.z, value.w);\n } catch (error) {\n throwUnpolyfillable(type);\n }\n break;\n case 'DOMRect':\n case 'DOMRectReadOnly':\n C = global[type];\n try {\n cloned = C.fromRect ? C.fromRect(value) : new C(value.x, value.y, value.width, value.height);\n } catch (error) {\n throwUnpolyfillable(type);\n }\n break;\n case 'DOMMatrix':\n case 'DOMMatrixReadOnly':\n C = global[type];\n try {\n cloned = C.fromMatrix ? C.fromMatrix(value) : new C(value);\n } catch (error) {\n throwUnpolyfillable(type);\n }\n break;\n case 'AudioData':\n case 'VideoFrame':\n if (!isCallable(value.clone)) throwUnpolyfillable(type);\n try {\n cloned = value.clone();\n } catch (error) {\n throwUncloneable(type);\n }\n break;\n case 'File':\n try {\n cloned = new File([value], value.name, value);\n } catch (error) {\n throwUnpolyfillable(type);\n }\n break;\n case 'CryptoKey':\n case 'GPUCompilationMessage':\n case 'GPUCompilationInfo':\n case 'ImageBitmap':\n case 'RTCCertificate':\n case 'WebAssembly.Module':\n throwUnpolyfillable(type);\n // break omitted\n default:\n throwUncloneable(type);\n }\n }\n mapSet(map, value, cloned);\n if (deep) switch (type) {\n case 'Array':\n case 'Object':\n keys = objectKeys(value);\n for (i = 0, length = lengthOfArrayLike(keys); i < length; i++) {\n key = keys[i];\n createProperty(cloned, key, structuredCloneInternal(value[key], map));\n }\n break;\n case 'Map':\n value.forEach(function (v, k) {\n mapSet(cloned, structuredCloneInternal(k, map), structuredCloneInternal(v, map));\n });\n break;\n case 'Set':\n value.forEach(function (v) {\n setAdd(cloned, structuredCloneInternal(v, map));\n });\n break;\n case 'Error':\n createNonEnumerableProperty(cloned, 'message', structuredCloneInternal(value.message, map));\n if (hasOwn(value, 'cause')) {\n createNonEnumerableProperty(cloned, 'cause', structuredCloneInternal(value.cause, map));\n }\n if (name == 'AggregateError') {\n cloned.errors = structuredCloneInternal(value.errors, map);\n }\n // break omitted\n case 'DOMException':\n if (ERROR_STACK_INSTALLABLE) {\n createNonEnumerableProperty(cloned, 'stack', structuredCloneInternal(value.stack, map));\n }\n }\n return cloned;\n};\nvar PROPER_TRANSFER = nativeStructuredClone && !fails(function () {\n // prevent V8 ArrayBufferDetaching protector cell invalidation and performance degradation\n // https://github.com/zloirock/core-js/issues/679\n if (IS_DENO && V8 > 92 || IS_NODE && V8 > 94 || IS_BROWSER && V8 > 97) return false;\n var buffer = new ArrayBuffer(8);\n var clone = nativeStructuredClone(buffer, {\n transfer: [buffer]\n });\n return buffer.byteLength != 0 || clone.byteLength != 8;\n});\nvar tryToTransfer = function tryToTransfer(rawTransfer, map) {\n if (!isObject(rawTransfer)) throw TypeError('Transfer option cannot be converted to a sequence');\n var transfer = [];\n iterate(rawTransfer, function (value) {\n push(transfer, anObject(value));\n });\n var i = 0;\n var length = lengthOfArrayLike(transfer);\n var value, type, C, transferredArray, transferred, canvas, context;\n if (PROPER_TRANSFER) {\n transferredArray = nativeStructuredClone(transfer, {\n transfer: transfer\n });\n while (i < length) mapSet(map, transfer[i], transferredArray[i++]);\n } else while (i < length) {\n value = transfer[i++];\n if (mapHas(map, value)) throw new DOMException('Duplicate transferable', DATA_CLONE_ERROR);\n type = classof(value);\n switch (type) {\n case 'ImageBitmap':\n C = global.OffscreenCanvas;\n if (!isConstructor(C)) throwUnpolyfillable(type, TRANSFERRING);\n try {\n canvas = new C(value.width, value.height);\n context = canvas.getContext('bitmaprenderer');\n context.transferFromImageBitmap(value);\n transferred = canvas.transferToImageBitmap();\n } catch (error) {/* empty */}\n break;\n case 'AudioData':\n case 'VideoFrame':\n if (!isCallable(value.clone) || !isCallable(value.close)) throwUnpolyfillable(type, TRANSFERRING);\n try {\n transferred = value.clone();\n value.close();\n } catch (error) {/* empty */}\n break;\n case 'ArrayBuffer':\n case 'MessagePort':\n case 'OffscreenCanvas':\n case 'ReadableStream':\n case 'TransformStream':\n case 'WritableStream':\n throwUnpolyfillable(type, TRANSFERRING);\n }\n if (transferred === undefined) throw new DOMException('This object cannot be transferred: ' + type, DATA_CLONE_ERROR);\n mapSet(map, value, transferred);\n }\n};\n$({\n global: true,\n enumerable: true,\n sham: !PROPER_TRANSFER,\n forced: FORCED_REPLACEMENT\n}, {\n structuredClone: function structuredClone(value /* , { transfer } */) {\n var options = validateArgumentsLength(arguments.length, 1) > 1 && arguments[1] != null ? anObject(arguments[1]) : undefined;\n var transfer = options ? options.transfer : undefined;\n var map;\n if (transfer !== undefined) {\n map = new Map();\n tryToTransfer(transfer, map);\n }\n return structuredCloneInternal(value, map);\n }\n});", "// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/web.url.constructor');", "'use strict';\n\nvar $ = require('../internals/export');\nvar call = require('../internals/function-call');\n\n// `URL.prototype.toJSON` method\n// https://url.spec.whatwg.org/#dom-url-tojson\n$({\n target: 'URL',\n proto: true,\n enumerable: true\n}, {\n toJSON: function toJSON() {\n return call(URL.prototype.toString, this);\n }\n});", "// TODO: Remove this module from `core-js@4` since it's replaced to module below\nrequire('../modules/web.url-search-params.constructor');", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nvar global = typeof globalThis !== 'undefined' && globalThis || typeof self !== 'undefined' && self || typeof global !== 'undefined' && global;\nvar support = {\n searchParams: 'URLSearchParams' in global,\n iterable: 'Symbol' in global && 'iterator' in Symbol,\n blob: 'FileReader' in global && 'Blob' in global && function () {\n try {\n new Blob();\n return true;\n } catch (e) {\n return false;\n }\n }(),\n formData: 'FormData' in global,\n arrayBuffer: 'ArrayBuffer' in global\n};\nfunction isDataView(obj) {\n return obj && DataView.prototype.isPrototypeOf(obj);\n}\nif (support.arrayBuffer) {\n var viewClasses = ['[object Int8Array]', '[object Uint8Array]', '[object Uint8ClampedArray]', '[object Int16Array]', '[object Uint16Array]', '[object Int32Array]', '[object Uint32Array]', '[object Float32Array]', '[object Float64Array]'];\n var isArrayBufferView = ArrayBuffer.isView || function (obj) {\n return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1;\n };\n}\nfunction normalizeName(name) {\n if (typeof name !== 'string') {\n name = String(name);\n }\n if (/[^a-z0-9\\-#$%&'*+.^_`|~!]/i.test(name) || name === '') {\n throw new TypeError('Invalid character in header field name: \"' + name + '\"');\n }\n return name.toLowerCase();\n}\nfunction normalizeValue(value) {\n if (typeof value !== 'string') {\n value = String(value);\n }\n return value;\n}\n\n// Build a destructive iterator for the value list\nfunction iteratorFor(items) {\n var iterator = {\n next: function next() {\n var value = items.shift();\n return {\n done: value === undefined,\n value: value\n };\n }\n };\n if (support.iterable) {\n iterator[Symbol.iterator] = function () {\n return iterator;\n };\n }\n return iterator;\n}\nexport function Headers(headers) {\n this.map = {};\n if (headers instanceof Headers) {\n headers.forEach(function (value, name) {\n this.append(name, value);\n }, this);\n } else if (Array.isArray(headers)) {\n headers.forEach(function (header) {\n this.append(header[0], header[1]);\n }, this);\n } else if (headers) {\n Object.getOwnPropertyNames(headers).forEach(function (name) {\n this.append(name, headers[name]);\n }, this);\n }\n}\nHeaders.prototype.append = function (name, value) {\n name = normalizeName(name);\n value = normalizeValue(value);\n var oldValue = this.map[name];\n this.map[name] = oldValue ? oldValue + ', ' + value : value;\n};\nHeaders.prototype['delete'] = function (name) {\n delete this.map[normalizeName(name)];\n};\nHeaders.prototype.get = function (name) {\n name = normalizeName(name);\n return this.has(name) ? this.map[name] : null;\n};\nHeaders.prototype.has = function (name) {\n return this.map.hasOwnProperty(normalizeName(name));\n};\nHeaders.prototype.set = function (name, value) {\n this.map[normalizeName(name)] = normalizeValue(value);\n};\nHeaders.prototype.forEach = function (callback, thisArg) {\n for (var name in this.map) {\n if (this.map.hasOwnProperty(name)) {\n callback.call(thisArg, this.map[name], name, this);\n }\n }\n};\nHeaders.prototype.keys = function () {\n var items = [];\n this.forEach(function (value, name) {\n items.push(name);\n });\n return iteratorFor(items);\n};\nHeaders.prototype.values = function () {\n var items = [];\n this.forEach(function (value) {\n items.push(value);\n });\n return iteratorFor(items);\n};\nHeaders.prototype.entries = function () {\n var items = [];\n this.forEach(function (value, name) {\n items.push([name, value]);\n });\n return iteratorFor(items);\n};\nif (support.iterable) {\n Headers.prototype[Symbol.iterator] = Headers.prototype.entries;\n}\nfunction consumed(body) {\n if (body.bodyUsed) {\n return Promise.reject(new TypeError('Already read'));\n }\n body.bodyUsed = true;\n}\nfunction fileReaderReady(reader) {\n return new Promise(function (resolve, reject) {\n reader.onload = function () {\n resolve(reader.result);\n };\n reader.onerror = function () {\n reject(reader.error);\n };\n });\n}\nfunction readBlobAsArrayBuffer(blob) {\n var reader = new FileReader();\n var promise = fileReaderReady(reader);\n reader.readAsArrayBuffer(blob);\n return promise;\n}\nfunction readBlobAsText(blob) {\n var reader = new FileReader();\n var promise = fileReaderReady(reader);\n reader.readAsText(blob);\n return promise;\n}\nfunction readArrayBufferAsText(buf) {\n var view = new Uint8Array(buf);\n var chars = new Array(view.length);\n for (var i = 0; i < view.length; i++) {\n chars[i] = String.fromCharCode(view[i]);\n }\n return chars.join('');\n}\nfunction bufferClone(buf) {\n if (buf.slice) {\n return buf.slice(0);\n } else {\n var view = new Uint8Array(buf.byteLength);\n view.set(new Uint8Array(buf));\n return view.buffer;\n }\n}\nfunction Body() {\n this.bodyUsed = false;\n this._initBody = function (body) {\n /*\n fetch-mock wraps the Response object in an ES6 Proxy to\n provide useful test harness features such as flush. However, on\n ES5 browsers without fetch or Proxy support pollyfills must be used;\n the proxy-pollyfill is unable to proxy an attribute unless it exists\n on the object before the Proxy is created. This change ensures\n Response.bodyUsed exists on the instance, while maintaining the\n semantic of setting Request.bodyUsed in the constructor before\n _initBody is called.\n */\n this.bodyUsed = this.bodyUsed;\n this._bodyInit = body;\n if (!body) {\n this._bodyText = '';\n } else if (typeof body === 'string') {\n this._bodyText = body;\n } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n this._bodyBlob = body;\n } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n this._bodyFormData = body;\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this._bodyText = body.toString();\n } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n this._bodyArrayBuffer = bufferClone(body.buffer);\n // IE 10-11 can't handle a DataView body.\n this._bodyInit = new Blob([this._bodyArrayBuffer]);\n } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n this._bodyArrayBuffer = bufferClone(body);\n } else {\n this._bodyText = body = Object.prototype.toString.call(body);\n }\n if (!this.headers.get('content-type')) {\n if (typeof body === 'string') {\n this.headers.set('content-type', 'text/plain;charset=UTF-8');\n } else if (this._bodyBlob && this._bodyBlob.type) {\n this.headers.set('content-type', this._bodyBlob.type);\n } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n }\n }\n };\n if (support.blob) {\n this.blob = function () {\n var rejected = consumed(this);\n if (rejected) {\n return rejected;\n }\n if (this._bodyBlob) {\n return Promise.resolve(this._bodyBlob);\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(new Blob([this._bodyArrayBuffer]));\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as blob');\n } else {\n return Promise.resolve(new Blob([this._bodyText]));\n }\n };\n this.arrayBuffer = function () {\n if (this._bodyArrayBuffer) {\n var isConsumed = consumed(this);\n if (isConsumed) {\n return isConsumed;\n }\n if (ArrayBuffer.isView(this._bodyArrayBuffer)) {\n return Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset, this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength));\n } else {\n return Promise.resolve(this._bodyArrayBuffer);\n }\n } else {\n return this.blob().then(readBlobAsArrayBuffer);\n }\n };\n }\n this.text = function () {\n var rejected = consumed(this);\n if (rejected) {\n return rejected;\n }\n if (this._bodyBlob) {\n return readBlobAsText(this._bodyBlob);\n } else if (this._bodyArrayBuffer) {\n return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer));\n } else if (this._bodyFormData) {\n throw new Error('could not read FormData body as text');\n } else {\n return Promise.resolve(this._bodyText);\n }\n };\n if (support.formData) {\n this.formData = function () {\n return this.text().then(decode);\n };\n }\n this.json = function () {\n return this.text().then(JSON.parse);\n };\n return this;\n}\n\n// HTTP methods whose capitalization should be normalized\nvar methods = ['DELETE', 'GET', 'HEAD', 'OPTIONS', 'POST', 'PUT'];\nfunction normalizeMethod(method) {\n var upcased = method.toUpperCase();\n return methods.indexOf(upcased) > -1 ? upcased : method;\n}\nexport function Request(input, options) {\n if (!(this instanceof Request)) {\n throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.');\n }\n options = options || {};\n var body = options.body;\n if (input instanceof Request) {\n if (input.bodyUsed) {\n throw new TypeError('Already read');\n }\n this.url = input.url;\n this.credentials = input.credentials;\n if (!options.headers) {\n this.headers = new Headers(input.headers);\n }\n this.method = input.method;\n this.mode = input.mode;\n this.signal = input.signal;\n if (!body && input._bodyInit != null) {\n body = input._bodyInit;\n input.bodyUsed = true;\n }\n } else {\n this.url = String(input);\n }\n this.credentials = options.credentials || this.credentials || 'same-origin';\n if (options.headers || !this.headers) {\n this.headers = new Headers(options.headers);\n }\n this.method = normalizeMethod(options.method || this.method || 'GET');\n this.mode = options.mode || this.mode || null;\n this.signal = options.signal || this.signal;\n this.referrer = null;\n if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n throw new TypeError('Body not allowed for GET or HEAD requests');\n }\n this._initBody(body);\n if (this.method === 'GET' || this.method === 'HEAD') {\n if (options.cache === 'no-store' || options.cache === 'no-cache') {\n // Search for a '_' parameter in the query string\n var reParamSearch = /([?&])_=[^&]*/;\n if (reParamSearch.test(this.url)) {\n // If it already exists then set the value with the current time\n this.url = this.url.replace(reParamSearch, '$1_=' + new Date().getTime());\n } else {\n // Otherwise add a new '_' parameter to the end with the current time\n var reQueryString = /\\?/;\n this.url += (reQueryString.test(this.url) ? '&' : '?') + '_=' + new Date().getTime();\n }\n }\n }\n}\nRequest.prototype.clone = function () {\n return new Request(this, {\n body: this._bodyInit\n });\n};\nfunction decode(body) {\n var form = new FormData();\n body.trim().split('&').forEach(function (bytes) {\n if (bytes) {\n var split = bytes.split('=');\n var name = split.shift().replace(/\\+/g, ' ');\n var value = split.join('=').replace(/\\+/g, ' ');\n form.append(decodeURIComponent(name), decodeURIComponent(value));\n }\n });\n return form;\n}\nfunction parseHeaders(rawHeaders) {\n var headers = new Headers();\n // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n // https://tools.ietf.org/html/rfc7230#section-3.2\n var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ');\n // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill\n // https://github.com/github/fetch/issues/748\n // https://github.com/zloirock/core-js/issues/751\n preProcessedHeaders.split('\\r').map(function (header) {\n return header.indexOf('\\n') === 0 ? header.substr(1, header.length) : header;\n }).forEach(function (line) {\n var parts = line.split(':');\n var key = parts.shift().trim();\n if (key) {\n var value = parts.join(':').trim();\n headers.append(key, value);\n }\n });\n return headers;\n}\nBody.call(Request.prototype);\nexport function Response(bodyInit, options) {\n if (!(this instanceof Response)) {\n throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.');\n }\n if (!options) {\n options = {};\n }\n this.type = 'default';\n this.status = options.status === undefined ? 200 : options.status;\n this.ok = this.status >= 200 && this.status < 300;\n this.statusText = options.statusText === undefined ? '' : '' + options.statusText;\n this.headers = new Headers(options.headers);\n this.url = options.url || '';\n this._initBody(bodyInit);\n}\nBody.call(Response.prototype);\nResponse.prototype.clone = function () {\n return new Response(this._bodyInit, {\n status: this.status,\n statusText: this.statusText,\n headers: new Headers(this.headers),\n url: this.url\n });\n};\nResponse.error = function () {\n var response = new Response(null, {\n status: 0,\n statusText: ''\n });\n response.type = 'error';\n return response;\n};\nvar redirectStatuses = [301, 302, 303, 307, 308];\nResponse.redirect = function (url, status) {\n if (redirectStatuses.indexOf(status) === -1) {\n throw new RangeError('Invalid status code');\n }\n return new Response(null, {\n status: status,\n headers: {\n location: url\n }\n });\n};\nexport var DOMException = global.DOMException;\ntry {\n new DOMException();\n} catch (err) {\n DOMException = function DOMException(message, name) {\n this.message = message;\n this.name = name;\n var error = Error(message);\n this.stack = error.stack;\n };\n DOMException.prototype = Object.create(Error.prototype);\n DOMException.prototype.constructor = DOMException;\n}\nexport function fetch(input, init) {\n return new Promise(function (resolve, reject) {\n var request = new Request(input, init);\n if (request.signal && request.signal.aborted) {\n return reject(new DOMException('Aborted', 'AbortError'));\n }\n var xhr = new XMLHttpRequest();\n function abortXhr() {\n xhr.abort();\n }\n xhr.onload = function () {\n var options = {\n status: xhr.status,\n statusText: xhr.statusText,\n headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n };\n options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL');\n var body = 'response' in xhr ? xhr.response : xhr.responseText;\n setTimeout(function () {\n resolve(new Response(body, options));\n }, 0);\n };\n xhr.onerror = function () {\n setTimeout(function () {\n reject(new TypeError('Network request failed'));\n }, 0);\n };\n xhr.ontimeout = function () {\n setTimeout(function () {\n reject(new TypeError('Network request failed'));\n }, 0);\n };\n xhr.onabort = function () {\n setTimeout(function () {\n reject(new DOMException('Aborted', 'AbortError'));\n }, 0);\n };\n function fixUrl(url) {\n try {\n return url === '' && global.location.href ? global.location.href : url;\n } catch (e) {\n return url;\n }\n }\n xhr.open(request.method, fixUrl(request.url), true);\n if (request.credentials === 'include') {\n xhr.withCredentials = true;\n } else if (request.credentials === 'omit') {\n xhr.withCredentials = false;\n }\n if ('responseType' in xhr) {\n if (support.blob) {\n xhr.responseType = 'blob';\n } else if (support.arrayBuffer && request.headers.get('Content-Type') && request.headers.get('Content-Type').indexOf('application/octet-stream') !== -1) {\n xhr.responseType = 'arraybuffer';\n }\n }\n if (init && _typeof(init.headers) === 'object' && !(init.headers instanceof Headers)) {\n Object.getOwnPropertyNames(init.headers).forEach(function (name) {\n xhr.setRequestHeader(name, normalizeValue(init.headers[name]));\n });\n } else {\n request.headers.forEach(function (value, name) {\n xhr.setRequestHeader(name, value);\n });\n }\n if (request.signal) {\n request.signal.addEventListener('abort', abortXhr);\n xhr.onreadystatechange = function () {\n // DONE (success or failure)\n if (xhr.readyState === 4) {\n request.signal.removeEventListener('abort', abortXhr);\n }\n };\n }\n xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit);\n });\n}\nfetch.polyfill = true;\nif (!global.fetch) {\n global.fetch = fetch;\n global.Headers = Headers;\n global.Request = Request;\n global.Response = Response;\n}", "function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\n(function (factory) {\n typeof define === 'function' && define.amd ? define(factory) : factory();\n})(function () {\n 'use strict';\n\n function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n }\n function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n function _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n return Constructor;\n }\n function _inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function\");\n }\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf(subClass, superClass);\n }\n function _getPrototypeOf(o) {\n _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n return o.__proto__ || Object.getPrototypeOf(o);\n };\n return _getPrototypeOf(o);\n }\n function _setPrototypeOf(o, p) {\n _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n o.__proto__ = p;\n return o;\n };\n return _setPrototypeOf(o, p);\n }\n function _isNativeReflectConstruct() {\n if (typeof Reflect === \"undefined\" || !Reflect.construct) return false;\n if (Reflect.construct.sham) return false;\n if (typeof Proxy === \"function\") return true;\n try {\n Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));\n return true;\n } catch (e) {\n return false;\n }\n }\n function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n }\n function _possibleConstructorReturn(self, call) {\n if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n return call;\n }\n return _assertThisInitialized(self);\n }\n function _createSuper(Derived) {\n var hasNativeReflectConstruct = _isNativeReflectConstruct();\n return function _createSuperInternal() {\n var Super = _getPrototypeOf(Derived),\n result;\n if (hasNativeReflectConstruct) {\n var NewTarget = _getPrototypeOf(this).constructor;\n result = Reflect.construct(Super, arguments, NewTarget);\n } else {\n result = Super.apply(this, arguments);\n }\n return _possibleConstructorReturn(this, result);\n };\n }\n function _superPropBase(object, property) {\n while (!Object.prototype.hasOwnProperty.call(object, property)) {\n object = _getPrototypeOf(object);\n if (object === null) break;\n }\n return object;\n }\n function _get(target, property, receiver) {\n if (typeof Reflect !== \"undefined\" && Reflect.get) {\n _get = Reflect.get;\n } else {\n _get = function _get(target, property, receiver) {\n var base = _superPropBase(target, property);\n if (!base) return;\n var desc = Object.getOwnPropertyDescriptor(base, property);\n if (desc.get) {\n return desc.get.call(receiver);\n }\n return desc.value;\n };\n }\n return _get(target, property, receiver || target);\n }\n var Emitter = /*#__PURE__*/function () {\n function Emitter() {\n _classCallCheck(this, Emitter);\n Object.defineProperty(this, 'listeners', {\n value: {},\n writable: true,\n configurable: true\n });\n }\n _createClass(Emitter, [{\n key: \"addEventListener\",\n value: function addEventListener(type, callback, options) {\n if (!(type in this.listeners)) {\n this.listeners[type] = [];\n }\n this.listeners[type].push({\n callback: callback,\n options: options\n });\n }\n }, {\n key: \"removeEventListener\",\n value: function removeEventListener(type, callback) {\n if (!(type in this.listeners)) {\n return;\n }\n var stack = this.listeners[type];\n for (var i = 0, l = stack.length; i < l; i++) {\n if (stack[i].callback === callback) {\n stack.splice(i, 1);\n return;\n }\n }\n }\n }, {\n key: \"dispatchEvent\",\n value: function dispatchEvent(event) {\n var _this2 = this;\n if (!(event.type in this.listeners)) {\n return;\n }\n var stack = this.listeners[event.type];\n var stackToCall = stack.slice();\n var _loop = function _loop() {\n listener = stackToCall[i];\n try {\n listener.callback.call(_this2, event);\n } catch (e) {\n Promise.resolve().then(function () {\n throw e;\n });\n }\n if (listener.options && listener.options.once) {\n _this2.removeEventListener(event.type, listener.callback);\n }\n },\n listener;\n for (var i = 0, l = stackToCall.length; i < l; i++) {\n _loop();\n }\n return !event.defaultPrevented;\n }\n }]);\n return Emitter;\n }();\n var AbortSignal = /*#__PURE__*/function (_Emitter) {\n _inherits(AbortSignal, _Emitter);\n var _super = _createSuper(AbortSignal);\n function AbortSignal() {\n var _this;\n _classCallCheck(this, AbortSignal);\n _this = _super.call(this); // Some versions of babel does not transpile super() correctly for IE <= 10, if the parent\n // constructor has failed to run, then \"this.listeners\" will still be undefined and then we call\n // the parent constructor directly instead as a workaround. For general details, see babel bug:\n // https://github.com/babel/babel/issues/3041\n // This hack was added as a fix for the issue described here:\n // https://github.com/Financial-Times/polyfill-library/pull/59#issuecomment-477558042\n\n if (!_this.listeners) {\n Emitter.call(_assertThisInitialized(_this));\n } // Compared to assignment, Object.defineProperty makes properties non-enumerable by default and\n // we want Object.keys(new AbortController().signal) to be [] for compat with the native impl\n\n Object.defineProperty(_assertThisInitialized(_this), 'aborted', {\n value: false,\n writable: true,\n configurable: true\n });\n Object.defineProperty(_assertThisInitialized(_this), 'onabort', {\n value: null,\n writable: true,\n configurable: true\n });\n return _this;\n }\n _createClass(AbortSignal, [{\n key: \"toString\",\n value: function toString() {\n return '[object AbortSignal]';\n }\n }, {\n key: \"dispatchEvent\",\n value: function dispatchEvent(event) {\n if (event.type === 'abort') {\n this.aborted = true;\n if (typeof this.onabort === 'function') {\n this.onabort.call(this, event);\n }\n }\n _get(_getPrototypeOf(AbortSignal.prototype), \"dispatchEvent\", this).call(this, event);\n }\n }]);\n return AbortSignal;\n }(Emitter);\n var AbortController = /*#__PURE__*/function () {\n function AbortController() {\n _classCallCheck(this, AbortController);\n\n // Compared to assignment, Object.defineProperty makes properties non-enumerable by default and\n // we want Object.keys(new AbortController()) to be [] for compat with the native impl\n Object.defineProperty(this, 'signal', {\n value: new AbortSignal(),\n writable: true,\n configurable: true\n });\n }\n _createClass(AbortController, [{\n key: \"abort\",\n value: function abort() {\n var event;\n try {\n event = new Event('abort');\n } catch (e) {\n if (typeof document !== 'undefined') {\n if (!document.createEvent) {\n // For Internet Explorer 8:\n event = document.createEventObject();\n event.type = 'abort';\n } else {\n // For Internet Explorer 11:\n event = document.createEvent('Event');\n event.initEvent('abort', false, false);\n }\n } else {\n // Fallback where document isn't available:\n event = {\n type: 'abort',\n bubbles: false,\n cancelable: false\n };\n }\n }\n this.signal.dispatchEvent(event);\n }\n }, {\n key: \"toString\",\n value: function toString() {\n return '[object AbortController]';\n }\n }]);\n return AbortController;\n }();\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n // These are necessary to make sure that we get correct output for:\n // Object.prototype.toString.call(new AbortController())\n AbortController.prototype[Symbol.toStringTag] = 'AbortController';\n AbortSignal.prototype[Symbol.toStringTag] = 'AbortSignal';\n }\n function polyfillNeeded(self) {\n if (self.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL) {\n console.log('__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill');\n return true;\n } // Note that the \"unfetch\" minimal fetch polyfill defines fetch() without\n // defining window.Request, and this polyfill need to work on top of unfetch\n // so the below feature detection needs the !self.AbortController part.\n // The Request.prototype check is also needed because Safari versions 11.1.2\n // up to and including 12.1.x has a window.AbortController present but still\n // does NOT correctly implement abortable fetch:\n // https://bugs.webkit.org/show_bug.cgi?id=174980#c2\n\n return typeof self.Request === 'function' && !self.Request.prototype.hasOwnProperty('signal') || !self.AbortController;\n }\n\n /**\n * Note: the \"fetch.Request\" default value is available for fetch imported from\n * the \"node-fetch\" package and not in browsers. This is OK since browsers\n * will be importing umd-polyfill.js from that path \"self\" is passed the\n * decorator so the default value will not be used (because browsers that define\n * fetch also has Request). One quirky setup where self.fetch exists but\n * self.Request does not is when the \"unfetch\" minimal fetch polyfill is used\n * on top of IE11; for this case the browser will try to use the fetch.Request\n * default value which in turn will be undefined but then then \"if (Request)\"\n * will ensure that you get a patched fetch but still no Request (as expected).\n * @param {fetch, Request = fetch.Request}\n * @returns {fetch: abortableFetch, Request: AbortableRequest}\n */\n\n function abortableFetchDecorator(patchTargets) {\n if ('function' === typeof patchTargets) {\n patchTargets = {\n fetch: patchTargets\n };\n }\n var _patchTargets = patchTargets,\n fetch = _patchTargets.fetch,\n _patchTargets$Request = _patchTargets.Request,\n NativeRequest = _patchTargets$Request === void 0 ? fetch.Request : _patchTargets$Request,\n NativeAbortController = _patchTargets.AbortController,\n _patchTargets$__FORCE = _patchTargets.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL,\n __FORCE_INSTALL_ABORTCONTROLLER_POLYFILL = _patchTargets$__FORCE === void 0 ? false : _patchTargets$__FORCE;\n if (!polyfillNeeded({\n fetch: fetch,\n Request: NativeRequest,\n AbortController: NativeAbortController,\n __FORCE_INSTALL_ABORTCONTROLLER_POLYFILL: __FORCE_INSTALL_ABORTCONTROLLER_POLYFILL\n })) {\n return {\n fetch: fetch,\n Request: Request\n };\n }\n var Request = NativeRequest; // Note that the \"unfetch\" minimal fetch polyfill defines fetch() without\n // defining window.Request, and this polyfill need to work on top of unfetch\n // hence we only patch it if it's available. Also we don't patch it if signal\n // is already available on the Request prototype because in this case support\n // is present and the patching below can cause a crash since it assigns to\n // request.signal which is technically a read-only property. This latter error\n // happens when you run the main5.js node-fetch example in the repo\n // \"abortcontroller-polyfill-examples\". The exact error is:\n // request.signal = init.signal;\n // ^\n // TypeError: Cannot set property signal of # which has only a getter\n\n if (Request && !Request.prototype.hasOwnProperty('signal') || __FORCE_INSTALL_ABORTCONTROLLER_POLYFILL) {\n Request = function Request(input, init) {\n var signal;\n if (init && init.signal) {\n signal = init.signal; // Never pass init.signal to the native Request implementation when the polyfill has\n // been installed because if we're running on top of a browser with a\n // working native AbortController (i.e. the polyfill was installed due to\n // __FORCE_INSTALL_ABORTCONTROLLER_POLYFILL being set), then passing our\n // fake AbortSignal to the native fetch will trigger:\n // TypeError: Failed to construct 'Request': member signal is not of type AbortSignal.\n\n delete init.signal;\n }\n var request = new NativeRequest(input, init);\n if (signal) {\n Object.defineProperty(request, 'signal', {\n writable: false,\n enumerable: false,\n configurable: true,\n value: signal\n });\n }\n return request;\n };\n Request.prototype = NativeRequest.prototype;\n }\n var realFetch = fetch;\n var abortableFetch = function abortableFetch(input, init) {\n var signal = Request && Request.prototype.isPrototypeOf(input) ? input.signal : init ? init.signal : undefined;\n if (signal) {\n var abortError;\n try {\n abortError = new DOMException('Aborted', 'AbortError');\n } catch (err) {\n // IE 11 does not support calling the DOMException constructor, use a\n // regular error object on it instead.\n abortError = new Error('Aborted');\n abortError.name = 'AbortError';\n } // Return early if already aborted, thus avoiding making an HTTP request\n\n if (signal.aborted) {\n return Promise.reject(abortError);\n } // Turn an event into a promise, reject it once `abort` is dispatched\n\n var cancellation = new Promise(function (_, reject) {\n signal.addEventListener('abort', function () {\n return reject(abortError);\n }, {\n once: true\n });\n });\n if (init && init.signal) {\n // Never pass .signal to the native implementation when the polyfill has\n // been installed because if we're running on top of a browser with a\n // working native AbortController (i.e. the polyfill was installed due to\n // __FORCE_INSTALL_ABORTCONTROLLER_POLYFILL being set), then passing our\n // fake AbortSignal to the native fetch will trigger:\n // TypeError: Failed to execute 'fetch' on 'Window': member signal is not of type AbortSignal.\n delete init.signal;\n } // Return the fastest promise (don't need to wait for request to finish)\n\n return Promise.race([cancellation, realFetch(input, init)]);\n }\n return realFetch(input, init);\n };\n return {\n fetch: abortableFetch,\n Request: Request\n };\n }\n (function (self) {\n if (!polyfillNeeded(self)) {\n return;\n }\n if (!self.fetch) {\n console.warn('fetch() is not available, cannot install abortcontroller-polyfill');\n return;\n }\n var _abortableFetch = abortableFetchDecorator(self),\n fetch = _abortableFetch.fetch,\n Request = _abortableFetch.Request;\n self.fetch = fetch;\n self.Request = Request;\n Object.defineProperty(self, 'AbortController', {\n writable: true,\n enumerable: false,\n configurable: true,\n value: AbortController\n });\n Object.defineProperty(self, 'AbortSignal', {\n writable: true,\n enumerable: false,\n configurable: true,\n value: AbortSignal\n });\n })(typeof self !== 'undefined' ? self : global);\n});", "(function () {\n var promisifiedOldGUM = function promisifiedOldGUM(constraints, successCallback, errorCallback) {\n // First get ahold of getUserMedia, if present\n var getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia;\n\n // Some browsers just don't implement it - return a rejected promise with an error\n // to keep a consistent interface\n if (!getUserMedia) {\n return Promise.reject(new Error('getUserMedia is not implemented in this browser'));\n }\n\n // Otherwise, wrap the call to the old navigator.getUserMedia with a Promise\n return new Promise(function (successCallback, errorCallback) {\n getUserMedia.call(navigator, constraints, successCallback, errorCallback);\n });\n };\n\n // Older browsers might not implement mediaDevices at all, so we set an empty object first\n if (navigator.mediaDevices === undefined) {\n navigator.mediaDevices = {};\n }\n\n // Some browsers partially implement mediaDevices. We can't just assign an object\n // with getUserMedia as it would overwrite existing properties.\n // Here, we will just add the getUserMedia property if it's missing.\n if (navigator.mediaDevices.getUserMedia === undefined) {\n navigator.mediaDevices.getUserMedia = promisifiedOldGUM;\n }\n})();", "/**\r\n * A collection of shims that provide minimal functionality of the ES6 collections.\r\n *\r\n * These implementations are not meant to be used outside of the ResizeObserver\r\n * modules as they cover only a limited range of use cases.\r\n */\n/* eslint-disable require-jsdoc, valid-jsdoc */\nvar MapShim = function () {\n if (typeof Map !== 'undefined') {\n return Map;\n }\n /**\r\n * Returns index in provided array that matches the specified key.\r\n *\r\n * @param {Array} arr\r\n * @param {*} key\r\n * @returns {number}\r\n */\n function getIndex(arr, key) {\n var result = -1;\n arr.some(function (entry, index) {\n if (entry[0] === key) {\n result = index;\n return true;\n }\n return false;\n });\n return result;\n }\n return /** @class */function () {\n function class_1() {\n this.__entries__ = [];\n }\n Object.defineProperty(class_1.prototype, \"size\", {\n /**\r\n * @returns {boolean}\r\n */\n get: function get() {\n return this.__entries__.length;\n },\n enumerable: true,\n configurable: true\n });\n /**\r\n * @param {*} key\r\n * @returns {*}\r\n */\n class_1.prototype.get = function (key) {\n var index = getIndex(this.__entries__, key);\n var entry = this.__entries__[index];\n return entry && entry[1];\n };\n /**\r\n * @param {*} key\r\n * @param {*} value\r\n * @returns {void}\r\n */\n class_1.prototype.set = function (key, value) {\n var index = getIndex(this.__entries__, key);\n if (~index) {\n this.__entries__[index][1] = value;\n } else {\n this.__entries__.push([key, value]);\n }\n };\n /**\r\n * @param {*} key\r\n * @returns {void}\r\n */\n class_1.prototype.delete = function (key) {\n var entries = this.__entries__;\n var index = getIndex(entries, key);\n if (~index) {\n entries.splice(index, 1);\n }\n };\n /**\r\n * @param {*} key\r\n * @returns {void}\r\n */\n class_1.prototype.has = function (key) {\n return !!~getIndex(this.__entries__, key);\n };\n /**\r\n * @returns {void}\r\n */\n class_1.prototype.clear = function () {\n this.__entries__.splice(0);\n };\n /**\r\n * @param {Function} callback\r\n * @param {*} [ctx=null]\r\n * @returns {void}\r\n */\n class_1.prototype.forEach = function (callback, ctx) {\n if (ctx === void 0) {\n ctx = null;\n }\n for (var _i = 0, _a = this.__entries__; _i < _a.length; _i++) {\n var entry = _a[_i];\n callback.call(ctx, entry[1], entry[0]);\n }\n };\n return class_1;\n }();\n}();\n\n/**\r\n * Detects whether window and document objects are available in current environment.\r\n */\nvar isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined' && window.document === document;\n\n// Returns global object of a current environment.\nvar global$1 = function () {\n if (typeof global !== 'undefined' && global.Math === Math) {\n return global;\n }\n if (typeof self !== 'undefined' && self.Math === Math) {\n return self;\n }\n if (typeof window !== 'undefined' && window.Math === Math) {\n return window;\n }\n // eslint-disable-next-line no-new-func\n return Function('return this')();\n}();\n\n/**\r\n * A shim for the requestAnimationFrame which falls back to the setTimeout if\r\n * first one is not supported.\r\n *\r\n * @returns {number} Requests' identifier.\r\n */\nvar requestAnimationFrame$1 = function () {\n if (typeof requestAnimationFrame === 'function') {\n // It's required to use a bounded function because IE sometimes throws\n // an \"Invalid calling object\" error if rAF is invoked without the global\n // object on the left hand side.\n return requestAnimationFrame.bind(global$1);\n }\n return function (callback) {\n return setTimeout(function () {\n return callback(Date.now());\n }, 1000 / 60);\n };\n}();\n\n// Defines minimum timeout before adding a trailing call.\nvar trailingTimeout = 2;\n/**\r\n * Creates a wrapper function which ensures that provided callback will be\r\n * invoked only once during the specified delay period.\r\n *\r\n * @param {Function} callback - Function to be invoked after the delay period.\r\n * @param {number} delay - Delay after which to invoke callback.\r\n * @returns {Function}\r\n */\nfunction throttle(callback, delay) {\n var leadingCall = false,\n trailingCall = false,\n lastCallTime = 0;\n /**\r\n * Invokes the original callback function and schedules new invocation if\r\n * the \"proxy\" was called during current request.\r\n *\r\n * @returns {void}\r\n */\n function resolvePending() {\n if (leadingCall) {\n leadingCall = false;\n callback();\n }\n if (trailingCall) {\n proxy();\n }\n }\n /**\r\n * Callback invoked after the specified delay. It will further postpone\r\n * invocation of the original function delegating it to the\r\n * requestAnimationFrame.\r\n *\r\n * @returns {void}\r\n */\n function timeoutCallback() {\n requestAnimationFrame$1(resolvePending);\n }\n /**\r\n * Schedules invocation of the original function.\r\n *\r\n * @returns {void}\r\n */\n function proxy() {\n var timeStamp = Date.now();\n if (leadingCall) {\n // Reject immediately following calls.\n if (timeStamp - lastCallTime < trailingTimeout) {\n return;\n }\n // Schedule new call to be in invoked when the pending one is resolved.\n // This is important for \"transitions\" which never actually start\n // immediately so there is a chance that we might miss one if change\n // happens amids the pending invocation.\n trailingCall = true;\n } else {\n leadingCall = true;\n trailingCall = false;\n setTimeout(timeoutCallback, delay);\n }\n lastCallTime = timeStamp;\n }\n return proxy;\n}\n\n// Minimum delay before invoking the update of observers.\nvar REFRESH_DELAY = 20;\n// A list of substrings of CSS properties used to find transition events that\n// might affect dimensions of observed elements.\nvar transitionKeys = ['top', 'right', 'bottom', 'left', 'width', 'height', 'size', 'weight'];\n// Check if MutationObserver is available.\nvar mutationObserverSupported = typeof MutationObserver !== 'undefined';\n/**\r\n * Singleton controller class which handles updates of ResizeObserver instances.\r\n */\nvar ResizeObserverController = /** @class */function () {\n /**\r\n * Creates a new instance of ResizeObserverController.\r\n *\r\n * @private\r\n */\n function ResizeObserverController() {\n /**\r\n * Indicates whether DOM listeners have been added.\r\n *\r\n * @private {boolean}\r\n */\n this.connected_ = false;\n /**\r\n * Tells that controller has subscribed for Mutation Events.\r\n *\r\n * @private {boolean}\r\n */\n this.mutationEventsAdded_ = false;\n /**\r\n * Keeps reference to the instance of MutationObserver.\r\n *\r\n * @private {MutationObserver}\r\n */\n this.mutationsObserver_ = null;\n /**\r\n * A list of connected observers.\r\n *\r\n * @private {Array}\r\n */\n this.observers_ = [];\n this.onTransitionEnd_ = this.onTransitionEnd_.bind(this);\n this.refresh = throttle(this.refresh.bind(this), REFRESH_DELAY);\n }\n /**\r\n * Adds observer to observers list.\r\n *\r\n * @param {ResizeObserverSPI} observer - Observer to be added.\r\n * @returns {void}\r\n */\n ResizeObserverController.prototype.addObserver = function (observer) {\n if (!~this.observers_.indexOf(observer)) {\n this.observers_.push(observer);\n }\n // Add listeners if they haven't been added yet.\n if (!this.connected_) {\n this.connect_();\n }\n };\n /**\r\n * Removes observer from observers list.\r\n *\r\n * @param {ResizeObserverSPI} observer - Observer to be removed.\r\n * @returns {void}\r\n */\n ResizeObserverController.prototype.removeObserver = function (observer) {\n var observers = this.observers_;\n var index = observers.indexOf(observer);\n // Remove observer if it's present in registry.\n if (~index) {\n observers.splice(index, 1);\n }\n // Remove listeners if controller has no connected observers.\n if (!observers.length && this.connected_) {\n this.disconnect_();\n }\n };\n /**\r\n * Invokes the update of observers. It will continue running updates insofar\r\n * it detects changes.\r\n *\r\n * @returns {void}\r\n */\n ResizeObserverController.prototype.refresh = function () {\n var changesDetected = this.updateObservers_();\n // Continue running updates if changes have been detected as there might\n // be future ones caused by CSS transitions.\n if (changesDetected) {\n this.refresh();\n }\n };\n /**\r\n * Updates every observer from observers list and notifies them of queued\r\n * entries.\r\n *\r\n * @private\r\n * @returns {boolean} Returns \"true\" if any observer has detected changes in\r\n * dimensions of it's elements.\r\n */\n ResizeObserverController.prototype.updateObservers_ = function () {\n // Collect observers that have active observations.\n var activeObservers = this.observers_.filter(function (observer) {\n return observer.gatherActive(), observer.hasActive();\n });\n // Deliver notifications in a separate cycle in order to avoid any\n // collisions between observers, e.g. when multiple instances of\n // ResizeObserver are tracking the same element and the callback of one\n // of them changes content dimensions of the observed target. Sometimes\n // this may result in notifications being blocked for the rest of observers.\n activeObservers.forEach(function (observer) {\n return observer.broadcastActive();\n });\n return activeObservers.length > 0;\n };\n /**\r\n * Initializes DOM listeners.\r\n *\r\n * @private\r\n * @returns {void}\r\n */\n ResizeObserverController.prototype.connect_ = function () {\n // Do nothing if running in a non-browser environment or if listeners\n // have been already added.\n if (!isBrowser || this.connected_) {\n return;\n }\n // Subscription to the \"Transitionend\" event is used as a workaround for\n // delayed transitions. This way it's possible to capture at least the\n // final state of an element.\n document.addEventListener('transitionend', this.onTransitionEnd_);\n window.addEventListener('resize', this.refresh);\n if (mutationObserverSupported) {\n this.mutationsObserver_ = new MutationObserver(this.refresh);\n this.mutationsObserver_.observe(document, {\n attributes: true,\n childList: true,\n characterData: true,\n subtree: true\n });\n } else {\n document.addEventListener('DOMSubtreeModified', this.refresh);\n this.mutationEventsAdded_ = true;\n }\n this.connected_ = true;\n };\n /**\r\n * Removes DOM listeners.\r\n *\r\n * @private\r\n * @returns {void}\r\n */\n ResizeObserverController.prototype.disconnect_ = function () {\n // Do nothing if running in a non-browser environment or if listeners\n // have been already removed.\n if (!isBrowser || !this.connected_) {\n return;\n }\n document.removeEventListener('transitionend', this.onTransitionEnd_);\n window.removeEventListener('resize', this.refresh);\n if (this.mutationsObserver_) {\n this.mutationsObserver_.disconnect();\n }\n if (this.mutationEventsAdded_) {\n document.removeEventListener('DOMSubtreeModified', this.refresh);\n }\n this.mutationsObserver_ = null;\n this.mutationEventsAdded_ = false;\n this.connected_ = false;\n };\n /**\r\n * \"Transitionend\" event handler.\r\n *\r\n * @private\r\n * @param {TransitionEvent} event\r\n * @returns {void}\r\n */\n ResizeObserverController.prototype.onTransitionEnd_ = function (_a) {\n var _b = _a.propertyName,\n propertyName = _b === void 0 ? '' : _b;\n // Detect whether transition may affect dimensions of an element.\n var isReflowProperty = transitionKeys.some(function (key) {\n return !!~propertyName.indexOf(key);\n });\n if (isReflowProperty) {\n this.refresh();\n }\n };\n /**\r\n * Returns instance of the ResizeObserverController.\r\n *\r\n * @returns {ResizeObserverController}\r\n */\n ResizeObserverController.getInstance = function () {\n if (!this.instance_) {\n this.instance_ = new ResizeObserverController();\n }\n return this.instance_;\n };\n /**\r\n * Holds reference to the controller's instance.\r\n *\r\n * @private {ResizeObserverController}\r\n */\n ResizeObserverController.instance_ = null;\n return ResizeObserverController;\n}();\n\n/**\r\n * Defines non-writable/enumerable properties of the provided target object.\r\n *\r\n * @param {Object} target - Object for which to define properties.\r\n * @param {Object} props - Properties to be defined.\r\n * @returns {Object} Target object.\r\n */\nvar defineConfigurable = function defineConfigurable(target, props) {\n for (var _i = 0, _a = Object.keys(props); _i < _a.length; _i++) {\n var key = _a[_i];\n Object.defineProperty(target, key, {\n value: props[key],\n enumerable: false,\n writable: false,\n configurable: true\n });\n }\n return target;\n};\n\n/**\r\n * Returns the global object associated with provided element.\r\n *\r\n * @param {Object} target\r\n * @returns {Object}\r\n */\nvar getWindowOf = function getWindowOf(target) {\n // Assume that the element is an instance of Node, which means that it\n // has the \"ownerDocument\" property from which we can retrieve a\n // corresponding global object.\n var ownerGlobal = target && target.ownerDocument && target.ownerDocument.defaultView;\n // Return the local global object if it's not possible extract one from\n // provided element.\n return ownerGlobal || global$1;\n};\n\n// Placeholder of an empty content rectangle.\nvar emptyRect = createRectInit(0, 0, 0, 0);\n/**\r\n * Converts provided string to a number.\r\n *\r\n * @param {number|string} value\r\n * @returns {number}\r\n */\nfunction toFloat(value) {\n return parseFloat(value) || 0;\n}\n/**\r\n * Extracts borders size from provided styles.\r\n *\r\n * @param {CSSStyleDeclaration} styles\r\n * @param {...string} positions - Borders positions (top, right, ...)\r\n * @returns {number}\r\n */\nfunction getBordersSize(styles) {\n var positions = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n positions[_i - 1] = arguments[_i];\n }\n return positions.reduce(function (size, position) {\n var value = styles['border-' + position + '-width'];\n return size + toFloat(value);\n }, 0);\n}\n/**\r\n * Extracts paddings sizes from provided styles.\r\n *\r\n * @param {CSSStyleDeclaration} styles\r\n * @returns {Object} Paddings box.\r\n */\nfunction getPaddings(styles) {\n var positions = ['top', 'right', 'bottom', 'left'];\n var paddings = {};\n for (var _i = 0, positions_1 = positions; _i < positions_1.length; _i++) {\n var position = positions_1[_i];\n var value = styles['padding-' + position];\n paddings[position] = toFloat(value);\n }\n return paddings;\n}\n/**\r\n * Calculates content rectangle of provided SVG element.\r\n *\r\n * @param {SVGGraphicsElement} target - Element content rectangle of which needs\r\n * to be calculated.\r\n * @returns {DOMRectInit}\r\n */\nfunction getSVGContentRect(target) {\n var bbox = target.getBBox();\n return createRectInit(0, 0, bbox.width, bbox.height);\n}\n/**\r\n * Calculates content rectangle of provided HTMLElement.\r\n *\r\n * @param {HTMLElement} target - Element for which to calculate the content rectangle.\r\n * @returns {DOMRectInit}\r\n */\nfunction getHTMLElementContentRect(target) {\n // Client width & height properties can't be\n // used exclusively as they provide rounded values.\n var clientWidth = target.clientWidth,\n clientHeight = target.clientHeight;\n // By this condition we can catch all non-replaced inline, hidden and\n // detached elements. Though elements with width & height properties less\n // than 0.5 will be discarded as well.\n //\n // Without it we would need to implement separate methods for each of\n // those cases and it's not possible to perform a precise and performance\n // effective test for hidden elements. E.g. even jQuery's ':visible' filter\n // gives wrong results for elements with width & height less than 0.5.\n if (!clientWidth && !clientHeight) {\n return emptyRect;\n }\n var styles = getWindowOf(target).getComputedStyle(target);\n var paddings = getPaddings(styles);\n var horizPad = paddings.left + paddings.right;\n var vertPad = paddings.top + paddings.bottom;\n // Computed styles of width & height are being used because they are the\n // only dimensions available to JS that contain non-rounded values. It could\n // be possible to utilize the getBoundingClientRect if only it's data wasn't\n // affected by CSS transformations let alone paddings, borders and scroll bars.\n var width = toFloat(styles.width),\n height = toFloat(styles.height);\n // Width & height include paddings and borders when the 'border-box' box\n // model is applied (except for IE).\n if (styles.boxSizing === 'border-box') {\n // Following conditions are required to handle Internet Explorer which\n // doesn't include paddings and borders to computed CSS dimensions.\n //\n // We can say that if CSS dimensions + paddings are equal to the \"client\"\n // properties then it's either IE, and thus we don't need to subtract\n // anything, or an element merely doesn't have paddings/borders styles.\n if (Math.round(width + horizPad) !== clientWidth) {\n width -= getBordersSize(styles, 'left', 'right') + horizPad;\n }\n if (Math.round(height + vertPad) !== clientHeight) {\n height -= getBordersSize(styles, 'top', 'bottom') + vertPad;\n }\n }\n // Following steps can't be applied to the document's root element as its\n // client[Width/Height] properties represent viewport area of the window.\n // Besides, it's as well not necessary as the itself neither has\n // rendered scroll bars nor it can be clipped.\n if (!isDocumentElement(target)) {\n // In some browsers (only in Firefox, actually) CSS width & height\n // include scroll bars size which can be removed at this step as scroll\n // bars are the only difference between rounded dimensions + paddings\n // and \"client\" properties, though that is not always true in Chrome.\n var vertScrollbar = Math.round(width + horizPad) - clientWidth;\n var horizScrollbar = Math.round(height + vertPad) - clientHeight;\n // Chrome has a rather weird rounding of \"client\" properties.\n // E.g. for an element with content width of 314.2px it sometimes gives\n // the client width of 315px and for the width of 314.7px it may give\n // 314px. And it doesn't happen all the time. So just ignore this delta\n // as a non-relevant.\n if (Math.abs(vertScrollbar) !== 1) {\n width -= vertScrollbar;\n }\n if (Math.abs(horizScrollbar) !== 1) {\n height -= horizScrollbar;\n }\n }\n return createRectInit(paddings.left, paddings.top, width, height);\n}\n/**\r\n * Checks whether provided element is an instance of the SVGGraphicsElement.\r\n *\r\n * @param {Element} target - Element to be checked.\r\n * @returns {boolean}\r\n */\nvar isSVGGraphicsElement = function () {\n // Some browsers, namely IE and Edge, don't have the SVGGraphicsElement\n // interface.\n if (typeof SVGGraphicsElement !== 'undefined') {\n return function (target) {\n return target instanceof getWindowOf(target).SVGGraphicsElement;\n };\n }\n // If it's so, then check that element is at least an instance of the\n // SVGElement and that it has the \"getBBox\" method.\n // eslint-disable-next-line no-extra-parens\n return function (target) {\n return target instanceof getWindowOf(target).SVGElement && typeof target.getBBox === 'function';\n };\n}();\n/**\r\n * Checks whether provided element is a document element ().\r\n *\r\n * @param {Element} target - Element to be checked.\r\n * @returns {boolean}\r\n */\nfunction isDocumentElement(target) {\n return target === getWindowOf(target).document.documentElement;\n}\n/**\r\n * Calculates an appropriate content rectangle for provided html or svg element.\r\n *\r\n * @param {Element} target - Element content rectangle of which needs to be calculated.\r\n * @returns {DOMRectInit}\r\n */\nfunction getContentRect(target) {\n if (!isBrowser) {\n return emptyRect;\n }\n if (isSVGGraphicsElement(target)) {\n return getSVGContentRect(target);\n }\n return getHTMLElementContentRect(target);\n}\n/**\r\n * Creates rectangle with an interface of the DOMRectReadOnly.\r\n * Spec: https://drafts.fxtf.org/geometry/#domrectreadonly\r\n *\r\n * @param {DOMRectInit} rectInit - Object with rectangle's x/y coordinates and dimensions.\r\n * @returns {DOMRectReadOnly}\r\n */\nfunction createReadOnlyRect(_a) {\n var x = _a.x,\n y = _a.y,\n width = _a.width,\n height = _a.height;\n // If DOMRectReadOnly is available use it as a prototype for the rectangle.\n var Constr = typeof DOMRectReadOnly !== 'undefined' ? DOMRectReadOnly : Object;\n var rect = Object.create(Constr.prototype);\n // Rectangle's properties are not writable and non-enumerable.\n defineConfigurable(rect, {\n x: x,\n y: y,\n width: width,\n height: height,\n top: y,\n right: x + width,\n bottom: height + y,\n left: x\n });\n return rect;\n}\n/**\r\n * Creates DOMRectInit object based on the provided dimensions and the x/y coordinates.\r\n * Spec: https://drafts.fxtf.org/geometry/#dictdef-domrectinit\r\n *\r\n * @param {number} x - X coordinate.\r\n * @param {number} y - Y coordinate.\r\n * @param {number} width - Rectangle's width.\r\n * @param {number} height - Rectangle's height.\r\n * @returns {DOMRectInit}\r\n */\nfunction createRectInit(x, y, width, height) {\n return {\n x: x,\n y: y,\n width: width,\n height: height\n };\n}\n\n/**\r\n * Class that is responsible for computations of the content rectangle of\r\n * provided DOM element and for keeping track of it's changes.\r\n */\nvar ResizeObservation = /** @class */function () {\n /**\r\n * Creates an instance of ResizeObservation.\r\n *\r\n * @param {Element} target - Element to be observed.\r\n */\n function ResizeObservation(target) {\n /**\r\n * Broadcasted width of content rectangle.\r\n *\r\n * @type {number}\r\n */\n this.broadcastWidth = 0;\n /**\r\n * Broadcasted height of content rectangle.\r\n *\r\n * @type {number}\r\n */\n this.broadcastHeight = 0;\n /**\r\n * Reference to the last observed content rectangle.\r\n *\r\n * @private {DOMRectInit}\r\n */\n this.contentRect_ = createRectInit(0, 0, 0, 0);\n this.target = target;\n }\n /**\r\n * Updates content rectangle and tells whether it's width or height properties\r\n * have changed since the last broadcast.\r\n *\r\n * @returns {boolean}\r\n */\n ResizeObservation.prototype.isActive = function () {\n var rect = getContentRect(this.target);\n this.contentRect_ = rect;\n return rect.width !== this.broadcastWidth || rect.height !== this.broadcastHeight;\n };\n /**\r\n * Updates 'broadcastWidth' and 'broadcastHeight' properties with a data\r\n * from the corresponding properties of the last observed content rectangle.\r\n *\r\n * @returns {DOMRectInit} Last observed content rectangle.\r\n */\n ResizeObservation.prototype.broadcastRect = function () {\n var rect = this.contentRect_;\n this.broadcastWidth = rect.width;\n this.broadcastHeight = rect.height;\n return rect;\n };\n return ResizeObservation;\n}();\nvar ResizeObserverEntry = /** @class */function () {\n /**\r\n * Creates an instance of ResizeObserverEntry.\r\n *\r\n * @param {Element} target - Element that is being observed.\r\n * @param {DOMRectInit} rectInit - Data of the element's content rectangle.\r\n */\n function ResizeObserverEntry(target, rectInit) {\n var contentRect = createReadOnlyRect(rectInit);\n // According to the specification following properties are not writable\n // and are also not enumerable in the native implementation.\n //\n // Property accessors are not being used as they'd require to define a\n // private WeakMap storage which may cause memory leaks in browsers that\n // don't support this type of collections.\n defineConfigurable(this, {\n target: target,\n contentRect: contentRect\n });\n }\n return ResizeObserverEntry;\n}();\nvar ResizeObserverSPI = /** @class */function () {\n /**\r\n * Creates a new instance of ResizeObserver.\r\n *\r\n * @param {ResizeObserverCallback} callback - Callback function that is invoked\r\n * when one of the observed elements changes it's content dimensions.\r\n * @param {ResizeObserverController} controller - Controller instance which\r\n * is responsible for the updates of observer.\r\n * @param {ResizeObserver} callbackCtx - Reference to the public\r\n * ResizeObserver instance which will be passed to callback function.\r\n */\n function ResizeObserverSPI(callback, controller, callbackCtx) {\n /**\r\n * Collection of resize observations that have detected changes in dimensions\r\n * of elements.\r\n *\r\n * @private {Array}\r\n */\n this.activeObservations_ = [];\n /**\r\n * Registry of the ResizeObservation instances.\r\n *\r\n * @private {Map}\r\n */\n this.observations_ = new MapShim();\n if (typeof callback !== 'function') {\n throw new TypeError('The callback provided as parameter 1 is not a function.');\n }\n this.callback_ = callback;\n this.controller_ = controller;\n this.callbackCtx_ = callbackCtx;\n }\n /**\r\n * Starts observing provided element.\r\n *\r\n * @param {Element} target - Element to be observed.\r\n * @returns {void}\r\n */\n ResizeObserverSPI.prototype.observe = function (target) {\n if (!arguments.length) {\n throw new TypeError('1 argument required, but only 0 present.');\n }\n // Do nothing if current environment doesn't have the Element interface.\n if (typeof Element === 'undefined' || !(Element instanceof Object)) {\n return;\n }\n if (!(target instanceof getWindowOf(target).Element)) {\n throw new TypeError('parameter 1 is not of type \"Element\".');\n }\n var observations = this.observations_;\n // Do nothing if element is already being observed.\n if (observations.has(target)) {\n return;\n }\n observations.set(target, new ResizeObservation(target));\n this.controller_.addObserver(this);\n // Force the update of observations.\n this.controller_.refresh();\n };\n /**\r\n * Stops observing provided element.\r\n *\r\n * @param {Element} target - Element to stop observing.\r\n * @returns {void}\r\n */\n ResizeObserverSPI.prototype.unobserve = function (target) {\n if (!arguments.length) {\n throw new TypeError('1 argument required, but only 0 present.');\n }\n // Do nothing if current environment doesn't have the Element interface.\n if (typeof Element === 'undefined' || !(Element instanceof Object)) {\n return;\n }\n if (!(target instanceof getWindowOf(target).Element)) {\n throw new TypeError('parameter 1 is not of type \"Element\".');\n }\n var observations = this.observations_;\n // Do nothing if element is not being observed.\n if (!observations.has(target)) {\n return;\n }\n observations.delete(target);\n if (!observations.size) {\n this.controller_.removeObserver(this);\n }\n };\n /**\r\n * Stops observing all elements.\r\n *\r\n * @returns {void}\r\n */\n ResizeObserverSPI.prototype.disconnect = function () {\n this.clearActive();\n this.observations_.clear();\n this.controller_.removeObserver(this);\n };\n /**\r\n * Collects observation instances the associated element of which has changed\r\n * it's content rectangle.\r\n *\r\n * @returns {void}\r\n */\n ResizeObserverSPI.prototype.gatherActive = function () {\n var _this = this;\n this.clearActive();\n this.observations_.forEach(function (observation) {\n if (observation.isActive()) {\n _this.activeObservations_.push(observation);\n }\n });\n };\n /**\r\n * Invokes initial callback function with a list of ResizeObserverEntry\r\n * instances collected from active resize observations.\r\n *\r\n * @returns {void}\r\n */\n ResizeObserverSPI.prototype.broadcastActive = function () {\n // Do nothing if observer doesn't have active observations.\n if (!this.hasActive()) {\n return;\n }\n var ctx = this.callbackCtx_;\n // Create ResizeObserverEntry instance for every active observation.\n var entries = this.activeObservations_.map(function (observation) {\n return new ResizeObserverEntry(observation.target, observation.broadcastRect());\n });\n this.callback_.call(ctx, entries, ctx);\n this.clearActive();\n };\n /**\r\n * Clears the collection of active observations.\r\n *\r\n * @returns {void}\r\n */\n ResizeObserverSPI.prototype.clearActive = function () {\n this.activeObservations_.splice(0);\n };\n /**\r\n * Tells whether observer has active observations.\r\n *\r\n * @returns {boolean}\r\n */\n ResizeObserverSPI.prototype.hasActive = function () {\n return this.activeObservations_.length > 0;\n };\n return ResizeObserverSPI;\n}();\n\n// Registry of internal observers. If WeakMap is not available use current shim\n// for the Map collection as it has all required methods and because WeakMap\n// can't be fully polyfilled anyway.\nvar observers = typeof WeakMap !== 'undefined' ? new WeakMap() : new MapShim();\n/**\r\n * ResizeObserver API. Encapsulates the ResizeObserver SPI implementation\r\n * exposing only those methods and properties that are defined in the spec.\r\n */\nvar ResizeObserver = /** @class */function () {\n /**\r\n * Creates a new instance of ResizeObserver.\r\n *\r\n * @param {ResizeObserverCallback} callback - Callback that is invoked when\r\n * dimensions of the observed elements change.\r\n */\n function ResizeObserver(callback) {\n if (!(this instanceof ResizeObserver)) {\n throw new TypeError('Cannot call a class as a function.');\n }\n if (!arguments.length) {\n throw new TypeError('1 argument required, but only 0 present.');\n }\n var controller = ResizeObserverController.getInstance();\n var observer = new ResizeObserverSPI(callback, controller, this);\n observers.set(this, observer);\n }\n return ResizeObserver;\n}();\n// Expose public methods of ResizeObserver.\n['observe', 'unobserve', 'disconnect'].forEach(function (method) {\n ResizeObserver.prototype[method] = function () {\n var _a;\n return (_a = observers.get(this))[method].apply(_a, arguments);\n };\n});\nvar index = function () {\n // Export existing implementation if available.\n if (typeof global$1.ResizeObserver !== 'undefined') {\n return global$1.ResizeObserver;\n }\n return ResizeObserver;\n}();\nexport default index;", "// Core\nexport { default as Uppy, debugLogger } from '@uppy/core';\n\n// Plugin base classes\nexport { default as UIPlugin } from '@uppy/core/lib/UIPlugin.js';\nexport { default as BasePlugin } from '@uppy/core/lib/BasePlugin.js';\n\n/**\n * @deprecated Use `Uppy` instead of `Core`\n */\nexport function Core() {\n throw new Error('Core has been renamed to Uppy');\n}\n\n// Utilities\nimport * as _server from '@uppy/companion-client';\nexport { _server as server };\nimport * as ProviderView from '@uppy/provider-views';\nexport var views = {\n ProviderView: ProviderView\n};\n\n// Stores\nexport { default as DefaultStore } from '@uppy/store-default';\nexport { default as ReduxStore } from '@uppy/store-redux';\n\n// UI plugins\nexport { default as Dashboard } from '@uppy/dashboard';\nexport { default as DragDrop } from '@uppy/drag-drop';\nexport { default as DropTarget } from '@uppy/drop-target';\nexport { default as FileInput } from '@uppy/file-input';\nexport { default as ImageEditor } from '@uppy/image-editor';\nexport { default as Informer } from '@uppy/informer';\nexport { default as ProgressBar } from '@uppy/progress-bar';\nexport { default as StatusBar } from '@uppy/status-bar';\n\n// Acquirers\nexport { default as Audio } from '@uppy/audio';\nexport { default as Box } from '@uppy/box';\nexport { default as Dropbox } from '@uppy/dropbox';\nexport { default as Facebook } from '@uppy/facebook';\nexport { default as GoogleDrive } from '@uppy/google-drive';\nexport { default as Instagram } from '@uppy/instagram';\nexport { default as OneDrive } from '@uppy/onedrive';\nexport { default as RemoteSources } from '@uppy/remote-sources';\nexport { default as ScreenCapture } from '@uppy/screen-capture';\nexport { default as Unsplash } from '@uppy/unsplash';\nexport { default as Url } from '@uppy/url';\nexport { default as Webcam } from '@uppy/webcam';\nexport { default as Zoom } from '@uppy/zoom';\n\n// Uploaders\nexport { default as AwsS3 } from '@uppy/aws-s3';\nexport { default as AwsS3Multipart } from '@uppy/aws-s3-multipart';\nexport { default as Transloadit } from '@uppy/transloadit';\nexport { default as Tus } from '@uppy/tus';\nexport { default as XHRUpload } from '@uppy/xhr-upload';\n\n// Miscellaneous\nexport { default as Compressor } from '@uppy/compressor';\nexport { default as Form } from '@uppy/form';\nexport { default as GoldenRetriever } from '@uppy/golden-retriever';\nexport { default as ReduxDevTools } from '@uppy/redux-dev-tools';\nexport { default as ThumbnailGenerator } from '@uppy/thumbnail-generator';\n\n// Special hack for Transloadit static exports\nimport Transloadit, { COMPANION_URL, COMPANION_ALLOWED_HOSTS } from '@uppy/transloadit';\nTransloadit.COMPANION_URL = COMPANION_URL;\nTransloadit.COMPANION_ALLOWED_HOSTS = COMPANION_ALLOWED_HOSTS;\nexport var locales = {};", "function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : String(i); }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _classPrivateFieldLooseBase(receiver, privateKey) {\n if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {\n throw new TypeError(\"attempted to use private field on non-instance\");\n }\n return receiver;\n}\nvar id = 0;\nfunction _classPrivateFieldLooseKey(name) {\n return \"__private_\" + id++ + \"_\" + name;\n}\n// We're using a generic because languages have different plural rules.\n\n// eslint-disable-next-line no-use-before-define\n\nfunction insertReplacement(source, rx, replacement) {\n var newParts = [];\n source.forEach(function (chunk) {\n // When the source contains multiple placeholders for interpolation,\n // we should ignore chunks that are not strings, because those\n // can be JSX objects and will be otherwise incorrectly turned into strings.\n // Without this condition we\u2019d get this: [object Object] hello [object Object] my