@feedmepos/mf-payment 1.1.7-beta.3 → 1.1.7-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PayoutAccount-CnTCZExr.js → PayoutAccount-7TEE2BzE.js} +5 -5
- package/dist/{PayoutAccount-Crwu1h-c.js → PayoutAccount-DwKI9IhW.js} +3 -3
- package/dist/{PayoutAccountSetting-PyIESuN8.js → PayoutAccountSetting-C2ISSDKv.js} +3 -3
- package/dist/{Restaurant-BF1J35Ic.js → Restaurant-BXWgyQGg.js} +4 -4
- package/dist/{RestaurantSetting-Dg7cfqKF.js → RestaurantSetting-B2zqIloE.js} +3 -3
- package/dist/{Settlement-BPrjfDMN.js → Settlement-6eU_HP7K.js} +3 -3
- package/dist/Settlement-CBhBo7w7.js +219 -0
- package/dist/{SettlementTransactions-CpRADd8a.js → SettlementTransactions-C4Hj7cKF.js} +3 -3
- package/dist/{SettlementTransactions-C13T6n0z.js → SettlementTransactions-DAzU50AC.js} +3 -3
- package/dist/{Terminal-DgKJ9zSL.js → Terminal-D-mwA9bo.js} +5 -5
- package/dist/{TerminalSetting-Boh1fu6s.js → TerminalSetting-ByPtWVqu.js} +3 -3
- package/dist/{Transaction-BvvhqS95.js → Transaction-C1Z1g1Oh.js} +5 -5
- package/dist/{Transaction-CsAF2AXj.js → Transaction-CCjNEXsW.js} +6 -6
- package/dist/{TransactionOld-DsC0R1Qe.js → TransactionOld-xW6kfmjb.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-CtrMBxwz.js → TransactionTable.vue_vue_type_script_setup_true_lang-CU6q9oND.js} +3 -3
- package/dist/api/settlement/index.d.ts +1 -1
- package/dist/{app-D6rd6uvO.js → app-DSu8Bqxt.js} +318 -318
- package/dist/app.js +1 -1
- package/dist/{assets-B41ScDuA.js → assets-BYZLC205.js} +1 -1
- package/dist/{grafana-CdozbaJn.js → grafana-B-ZEJ__-.js} +1 -1
- package/dist/{index-CEU5ybp0.js → index-B5I6xD5e.js} +1 -1
- package/dist/{index-3u2VZ6Ni.js → index-CEbxMc8H.js} +29 -29
- package/dist/{index-CCBZtmwy.js → index-ClUkVJXR.js} +1 -1
- package/dist/{index-D1_hIXoR.js → index-EJS3NJlp.js} +1521 -1521
- package/dist/{index-BIObbzAP.js → index-Yd0Q7mxR.js} +1 -1
- package/dist/{index-Cnf4HsQx.js → index-yIQx0FT4.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-i3Lcf2Mj.js → index.vue_vue_type_script_setup_true_lang-BHvwhRYU.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-C80nPFWJ.js → payout-account-DgcZA_FW.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/Settlement-B-TQCdB4.js +0 -219
@@ -1,6 +1,6 @@
|
|
1
1
|
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as Fn } from "vue-router";
|
2
|
-
import { computed as Lt, watch as $, defineComponent as Ut, ref as xn, resolveComponent as Bt, openBlock as Ft, createBlock as xt, h as
|
3
|
-
import { useCoreStore as
|
2
|
+
import { computed as Lt, watch as $, defineComponent as Ut, ref as xn, resolveComponent as Bt, openBlock as Ft, createBlock as xt, h as jn, onMounted as Vn, onBeforeMount as Hn, unref as Gn } from "vue";
|
3
|
+
import { useCoreStore as Ge, useI18n as Wn } from "@feedmepos/mf-common";
|
4
4
|
import { defineStore as zn } from "pinia";
|
5
5
|
import { components as Zn } from "@feedmepos/ui-library";
|
6
6
|
const $n = {
|
@@ -303,7 +303,7 @@ const $n = {
|
|
303
303
|
sidebarDisplay: "Restaurants",
|
304
304
|
section: "payment-gateway"
|
305
305
|
},
|
306
|
-
component: () => import("./Restaurant-
|
306
|
+
component: () => import("./Restaurant-BXWgyQGg.js")
|
307
307
|
},
|
308
308
|
{
|
309
309
|
path: "/admin/restaurants/:restaurantId",
|
@@ -312,7 +312,7 @@ const $n = {
|
|
312
312
|
meta: {
|
313
313
|
parent: "mf-payment-admin.restaurant"
|
314
314
|
},
|
315
|
-
component: () => import("./RestaurantSetting-
|
315
|
+
component: () => import("./RestaurantSetting-B2zqIloE.js")
|
316
316
|
},
|
317
317
|
{
|
318
318
|
path: "/admin/payout-accounts",
|
@@ -321,7 +321,7 @@ const $n = {
|
|
321
321
|
sidebarDisplay: "Payout Accounts",
|
322
322
|
section: "payment-gateway"
|
323
323
|
},
|
324
|
-
component: () => import("./PayoutAccount-
|
324
|
+
component: () => import("./PayoutAccount-7TEE2BzE.js")
|
325
325
|
},
|
326
326
|
{
|
327
327
|
path: "/admin/payout-accounts/:accountId",
|
@@ -330,7 +330,7 @@ const $n = {
|
|
330
330
|
meta: {
|
331
331
|
parent: "mf-payment-admin.payout-account"
|
332
332
|
},
|
333
|
-
component: () => import("./PayoutAccountSetting-
|
333
|
+
component: () => import("./PayoutAccountSetting-C2ISSDKv.js")
|
334
334
|
},
|
335
335
|
{
|
336
336
|
path: "/admin/terminal/pos",
|
@@ -339,7 +339,7 @@ const $n = {
|
|
339
339
|
sidebarDisplay: "POS",
|
340
340
|
section: "device"
|
341
341
|
},
|
342
|
-
component: () => import("./Terminal-
|
342
|
+
component: () => import("./Terminal-D-mwA9bo.js"),
|
343
343
|
props: {
|
344
344
|
type: "POS"
|
345
345
|
}
|
@@ -351,7 +351,7 @@ const $n = {
|
|
351
351
|
sidebarDisplay: "Kiosks",
|
352
352
|
section: "device"
|
353
353
|
},
|
354
|
-
component: () => import("./Terminal-
|
354
|
+
component: () => import("./Terminal-D-mwA9bo.js"),
|
355
355
|
props: {
|
356
356
|
type: "KIOSK"
|
357
357
|
}
|
@@ -363,7 +363,7 @@ const $n = {
|
|
363
363
|
sidebarDisplay: "Terminals",
|
364
364
|
section: "device"
|
365
365
|
},
|
366
|
-
component: () => import("./Terminal-
|
366
|
+
component: () => import("./Terminal-D-mwA9bo.js"),
|
367
367
|
props: {
|
368
368
|
type: "TERMINAL"
|
369
369
|
}
|
@@ -375,7 +375,7 @@ const $n = {
|
|
375
375
|
meta: {
|
376
376
|
parent: "mf-payment-admin.pos"
|
377
377
|
},
|
378
|
-
component: () => import("./TerminalSetting-
|
378
|
+
component: () => import("./TerminalSetting-ByPtWVqu.js")
|
379
379
|
},
|
380
380
|
{
|
381
381
|
path: "/admin/terminal/kiosk/:terminalId",
|
@@ -384,7 +384,7 @@ const $n = {
|
|
384
384
|
meta: {
|
385
385
|
parent: "mf-payment-admin.kiosk"
|
386
386
|
},
|
387
|
-
component: () => import("./TerminalSetting-
|
387
|
+
component: () => import("./TerminalSetting-ByPtWVqu.js")
|
388
388
|
},
|
389
389
|
{
|
390
390
|
path: "/admin/terminal/terminal/:terminalId",
|
@@ -393,7 +393,7 @@ const $n = {
|
|
393
393
|
meta: {
|
394
394
|
parent: "mf-payment-admin.terminal"
|
395
395
|
},
|
396
|
-
component: () => import("./TerminalSetting-
|
396
|
+
component: () => import("./TerminalSetting-ByPtWVqu.js")
|
397
397
|
},
|
398
398
|
{
|
399
399
|
path: "/admin/transaction",
|
@@ -401,7 +401,7 @@ const $n = {
|
|
401
401
|
meta: {
|
402
402
|
sidebarDisplay: "Transactions"
|
403
403
|
},
|
404
|
-
component: () => import("./Transaction-
|
404
|
+
component: () => import("./Transaction-C1Z1g1Oh.js")
|
405
405
|
},
|
406
406
|
{
|
407
407
|
path: "/admin/settlement",
|
@@ -409,7 +409,7 @@ const $n = {
|
|
409
409
|
meta: {
|
410
410
|
sidebarDisplay: "Settlements"
|
411
411
|
},
|
412
|
-
component: () => import("./Settlement-
|
412
|
+
component: () => import("./Settlement-CBhBo7w7.js")
|
413
413
|
},
|
414
414
|
{
|
415
415
|
path: "/admin/settlement/:settlementId",
|
@@ -418,7 +418,7 @@ const $n = {
|
|
418
418
|
meta: {
|
419
419
|
parent: "mf-payment-admin.settlement"
|
420
420
|
},
|
421
|
-
component: () => import("./SettlementTransactions-
|
421
|
+
component: () => import("./SettlementTransactions-DAzU50AC.js")
|
422
422
|
}
|
423
423
|
], We = [
|
424
424
|
{
|
@@ -428,7 +428,7 @@ const $n = {
|
|
428
428
|
{
|
429
429
|
path: "/payout-account",
|
430
430
|
name: "mf-payment-payout-account",
|
431
|
-
component: () => import("./PayoutAccount-
|
431
|
+
component: () => import("./PayoutAccount-DwKI9IhW.js"),
|
432
432
|
meta: {
|
433
433
|
sidebarDisplay: "i18n:routes.payout_account"
|
434
434
|
}
|
@@ -436,7 +436,7 @@ const $n = {
|
|
436
436
|
{
|
437
437
|
path: "/transaction-old",
|
438
438
|
name: "mf-payment-old-transaction",
|
439
|
-
component: () => import("./TransactionOld-
|
439
|
+
component: () => import("./TransactionOld-xW6kfmjb.js"),
|
440
440
|
meta: {
|
441
441
|
sidebarDisplay: "i18n:routes.transaction"
|
442
442
|
}
|
@@ -444,7 +444,7 @@ const $n = {
|
|
444
444
|
{
|
445
445
|
path: "/transaction",
|
446
446
|
name: "mf-payment-transaction",
|
447
|
-
component: () => import("./Transaction-
|
447
|
+
component: () => import("./Transaction-CCjNEXsW.js"),
|
448
448
|
meta: {
|
449
449
|
sidebarDisplay: "i18n:routes.transaction-new",
|
450
450
|
sidebarNew: !0
|
@@ -453,7 +453,7 @@ const $n = {
|
|
453
453
|
{
|
454
454
|
path: "/settlement",
|
455
455
|
name: "mf-payment-settlement",
|
456
|
-
component: () => import("./Settlement-
|
456
|
+
component: () => import("./Settlement-6eU_HP7K.js"),
|
457
457
|
meta: {
|
458
458
|
sidebarDisplay: "i18n:routes.settlement"
|
459
459
|
}
|
@@ -462,7 +462,7 @@ const $n = {
|
|
462
462
|
path: "/settlement/:settlementId",
|
463
463
|
name: "mf-payment-settlement-transaction",
|
464
464
|
props: !0,
|
465
|
-
component: () => import("./SettlementTransactions-
|
465
|
+
component: () => import("./SettlementTransactions-C4Hj7cKF.js"),
|
466
466
|
meta: {
|
467
467
|
parent: "mf-payment-settlement"
|
468
468
|
}
|
@@ -479,7 +479,7 @@ const $n = {
|
|
479
479
|
init: t
|
480
480
|
};
|
481
481
|
});
|
482
|
-
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_211dcf60-2c51-4c22-b8df-6b2e3adc6e14", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies_jest: "^29.6.3", npm_package_dependencies_vue_pdf_embed: "^2.1.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v22.14.0 linux x64", npm_config_always_auth: "", CI: "true", npm_package_dependencies_vue: "^3.2.25", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_211dcf60-2c51-4c22-b8df-6b2e3adc6e14", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", npm_package_devDependencies_vite: "^5.2.11", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "ghs_yEIXDwvhhz9zak4eWrQNV2uggrE0qO0Qesdr", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "708", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250316.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:5944", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "14303533286", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "80d61383257f80fc3171e7fc12c88b93781d20d6", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-dev.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6YzBkMmQzNjEtOGY2My00Mzg5LWE5OGYtZmZlY2I1OGIyNjBhOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDM4IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46YzBkMmQzNjEtOGY2My00Mzg5LWE5OGYtZmZlY2I1OGIyNjBhOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDM4IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiMDBiMGQ5NzYtOGYzMC00Zjk2LThkMDQtNjQ2NWIyZDMxNmNhIiwic2lkIjoiYzM1YTc4MGUtZDdlYS00ODcyLThmYWItYTg5NTQyOWEzODlmIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjgwZDYxMzgzMjU3ZjgwZmMzMTcxZTdmYzEyYzg4YjkzNzgxZDIwZDZcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQzMDM1MzMyODZcIixcInJ1bl9udW1iZXJcIjpcIjE2M1wiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCI4MGQ2MTM4MzI1N2Y4MGZjMzE3MWU3ZmMxMmM4OGI5Mzc4MWQyMGQ2XCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCI4MGQ2MTM4MzI1N2Y4MGZjMzE3MWU3ZmMxMmM4OGI5Mzc4MWQyMGQ2XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiJjMGQyZDM2MS04ZjYzLTQzODktYTk4Zi1mZmVjYjU4YjI2MGEuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDQwMTA5MTUsImV4cCI6MTc0NDAzMzcxNX0.l5b1WROy5t9GjVnUvVLP0gQeAnV_-U59Gg5sfURnAlBtfYFIE5mMZeREZbV6xbpdIUOz5E95s6J8v6oduc0Cq23-atQThMhQBI3m8fvKHjuxZowO5C9CuqNXqGS9UF3ukBTkBe1uB8UtztVS1nvKCZ_C11naOBUQlQX9KTcxUfJVGClgwp0fHCHahSe_j34WdgVkxSjoVDrrTBg9gHp5EWvem-2_TCeyTDhHeLRmhm-cdOrv98QK52gAGCuUJFlYp543OdVeCrisUTV1wTCQVgUu1zT9uNflBJ7AHh7s-7UxU35pHKpdN0MawXjGfrdYwqLZE7ivP_BpltKxbLaUdQ", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1744011566316-0.8397647998704827:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1744011566160-0.07727471289060261:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1744011566004-0.9813355493796256:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_7eed90b8-e43d-426d-91b8-32ad920a04d0", INVOCATION_ID: "b14fa95db6144e05a9dcfc172c351beb", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_devDependencies__types_qrcode: "^1.5.0", npm_package_devDependencies__types_jsurl: "^0.1.2", npm_package_dependencies_file_saver: "^2.0.5", npm_package_scripts_deploy_dev: "yarn build-only:dev && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_name: "@feedmepos/mf-payment", GITHUB_ACTION: "__run", GITHUB_RUN_NUMBER: "163", GITHUB_TRIGGERING_ACTOR: "Oskang09", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_package_scripts_deploy_prod: "yarn build-only:prod && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_dependencies_vue_advanced_cropper: "^2.8.6", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.17.0", npm_package_devDependencies__vue_test_utils: "^2.4.1", npm_package_devDependencies__vue_eslint_config_typescript: "^10.0.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 72", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:dev", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:dev", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.7-beta.3", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "80d61383257f80fc3171e7fc12c88b93781d20d6", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_211dcf60-2c51-4c22-b8df-6b2e3adc6e14", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/payment-service/payment-service/mf-portal", GITHUB_ACTOR_ID: "15674107", RUNNER_WORKSPACE: "/home/runner/work/payment-service", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://pipelinesghubeus11.actions.githubusercontent.com/uhMzCspeMtZD05BczWutTDpLRkQb1I4q0fwG0tss4R7H4Wpw9s/00000000-0000-0000-0000-000000000000/_apis/distributedtask/hubs/Actions/plans/c0d2d361-8f63-4389-a98f-ffecb58b260a/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_211dcf60-2c51-4c22-b8df-6b2e3adc6e14", npm_package_dependencies_qrcode_vue: "^3.6.0", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_devDependencies_postcss: "^8.4.47", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_cd: "^0.3.3", npm_package_dependencies_i18next_http_backend: "^1.4.1", npm_package_dependencies_rasterizehtml: "^1.3.1", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", INIT_CWD: "/home/runner/work/payment-service/payment-service/mf-portal", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_211dcf60-2c51-4c22-b8df-6b2e3adc6e14", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
482
|
+
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_89205783-55a0-49f3-b7c5-10ea171f1384", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies_jest: "^29.6.3", npm_package_dependencies_vue_pdf_embed: "^2.1.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v22.14.0 linux x64", npm_config_always_auth: "", CI: "true", npm_package_dependencies_vue: "^3.2.25", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_89205783-55a0-49f3-b7c5-10ea171f1384", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", npm_package_devDependencies_vite: "^5.2.11", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "ghs_3VR6qsFe24IOxHP381VFxzjm2739Kp3reI8L", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "708", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250323.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:6028", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "14303739685", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "b9605574e260fd49c432cc5c5d2f3eea578a0176", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-dev.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6YTg5ZTJjNWYtNTJiNi00ZTgzLWI2ZjktMjFmY2Q2OTgwMTQ5OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDQxIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46YTg5ZTJjNWYtNTJiNi00ZTgzLWI2ZjktMjFmY2Q2OTgwMTQ5OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDQxIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiY2ExOTUzNjQtNTY2MS00OTRjLTk5ZjUtMjQxM2U2YjIzNTNkIiwic2lkIjoiZTcxZDNiN2EtNjk5Ny00MTU1LTgyZGUtM2YzZjNkMGM1MmZmIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcImI5NjA1NTc0ZTI2MGZkNDljNDMyY2M1YzVkMmYzZWVhNTc4YTAxNzZcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQzMDM3Mzk2ODVcIixcInJ1bl9udW1iZXJcIjpcIjE2NFwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCJiOTYwNTU3NGUyNjBmZDQ5YzQzMmNjNWM1ZDJmM2VlYTU3OGEwMTc2XCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJiOTYwNTU3NGUyNjBmZDQ5YzQzMmNjNWM1ZDJmM2VlYTU3OGEwMTc2XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiJhODllMmM1Zi01MmI2LTRlODMtYjZmOS0yMWZjZDY5ODAxNDkuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDQwMTE2MjIsImV4cCI6MTc0NDAzNDQyMn0.r6LbxA_ArrDTcaQ69_6WIROfXjMd9nYIafuI7v98yoz5owTgCPzJ88euB_Kwz-k5iBDs0ncRWeD2pcyReeOxtFgRwfr5GXf06Tfimz7ciPrYax3ZGym2CoDyglNtJHZAVyR-B-BVvS5by_9WD0W8pMGL1x4cV20Oz2R9ezQ5NmvFvW6Yrj1zrxQ7WohXtThpP5cZVrwVP9vuGvx5-AHGn5slBJ0nAqNuosXorZ_8P0MNVx57vfjMRnYHdB0N8U19XbTxKdkUq1snJyNUduYCWE1D77mi6BeueAMjkIgD3mymAUkujBg2L7jZmslRry6V3_myWoOpO7pFWot80pFthg", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1744012258282-0.09335054937524889:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1744012258119-0.31327519926879166:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1744012257959-0.39213652275769606:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_030e5190-c60d-43de-8d1a-bb2d46bcf34b", INVOCATION_ID: "73a9e09b03aa42daba80055efe38a364", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_devDependencies__types_qrcode: "^1.5.0", npm_package_devDependencies__types_jsurl: "^0.1.2", npm_package_dependencies_file_saver: "^2.0.5", npm_package_scripts_deploy_dev: "yarn build-only:dev && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_name: "@feedmepos/mf-payment", GITHUB_ACTION: "__run", GITHUB_RUN_NUMBER: "164", GITHUB_TRIGGERING_ACTOR: "Oskang09", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_package_scripts_deploy_prod: "yarn build-only:prod && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_dependencies_vue_advanced_cropper: "^2.8.6", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.17.0", npm_package_devDependencies__vue_test_utils: "^2.4.1", npm_package_devDependencies__vue_eslint_config_typescript: "^10.0.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 51", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:dev", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:dev", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.7-beta.4", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "b9605574e260fd49c432cc5c5d2f3eea578a0176", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_89205783-55a0-49f3-b7c5-10ea171f1384", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/payment-service/payment-service/mf-portal", GITHUB_ACTOR_ID: "15674107", RUNNER_WORKSPACE: "/home/runner/work/payment-service", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://pipelinesghubeus11.actions.githubusercontent.com/uhMzCspeMtZD05BczWutTDpLRkQb1I4q0fwG0tss4R7H4Wpw9s/00000000-0000-0000-0000-000000000000/_apis/distributedtask/hubs/Actions/plans/a89e2c5f-52b6-4e83-b6f9-21fcd6980149/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_89205783-55a0-49f3-b7c5-10ea171f1384", npm_package_dependencies_qrcode_vue: "^3.6.0", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_devDependencies_postcss: "^8.4.47", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_cd: "^0.3.3", npm_package_dependencies_i18next_http_backend: "^1.4.1", npm_package_dependencies_rasterizehtml: "^1.3.1", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", INIT_CWD: "/home/runner/work/payment-service/payment-service/mf-portal", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_89205783-55a0-49f3-b7c5-10ea171f1384", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
483
483
|
/**
|
484
484
|
* @license
|
485
485
|
* Copyright 2017 Google LLC
|
@@ -496,7 +496,7 @@ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
|
|
496
496
|
* See the License for the specific language governing permissions and
|
497
497
|
* limitations under the License.
|
498
498
|
*/
|
499
|
-
const
|
499
|
+
const jt = function(n) {
|
500
500
|
const e = [];
|
501
501
|
let t = 0;
|
502
502
|
for (let r = 0; r < n.length; r++) {
|
@@ -523,7 +523,7 @@ const Gt = function(n) {
|
|
523
523
|
}
|
524
524
|
}
|
525
525
|
return e.join("");
|
526
|
-
},
|
526
|
+
}, Vt = {
|
527
527
|
/**
|
528
528
|
* Maps bytes to characters.
|
529
529
|
*/
|
@@ -583,8 +583,8 @@ const Gt = function(n) {
|
|
583
583
|
const t = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
|
584
584
|
for (let i = 0; i < n.length; i += 3) {
|
585
585
|
const s = n[i], a = i + 1 < n.length, c = a ? n[i + 1] : 0, o = i + 2 < n.length, l = o ? n[i + 2] : 0, d = s >> 2, h = (s & 3) << 4 | c >> 4;
|
586
|
-
let
|
587
|
-
o || (v = 64, a || (
|
586
|
+
let m = (c & 15) << 2 | l >> 6, v = l & 63;
|
587
|
+
o || (v = 64, a || (m = 64)), r.push(t[d], t[h], t[m], t[v]);
|
588
588
|
}
|
589
589
|
return r.join("");
|
590
590
|
},
|
@@ -597,7 +597,7 @@ const Gt = function(n) {
|
|
597
597
|
* @return The base64 encoded string.
|
598
598
|
*/
|
599
599
|
encodeString(n, e) {
|
600
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(
|
600
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(jt(n), e);
|
601
601
|
},
|
602
602
|
/**
|
603
603
|
* Base64-decode a string.
|
@@ -636,8 +636,8 @@ const Gt = function(n) {
|
|
636
636
|
const h = i < n.length ? t[n.charAt(i)] : 64;
|
637
637
|
if (++i, s == null || c == null || l == null || h == null)
|
638
638
|
throw new or();
|
639
|
-
const
|
640
|
-
if (r.push(
|
639
|
+
const m = s << 2 | c >> 4;
|
640
|
+
if (r.push(m), l !== 64) {
|
641
641
|
const v = c << 4 & 240 | l >> 2;
|
642
642
|
if (r.push(v), h !== 64) {
|
643
643
|
const F = l << 6 & 192 | h;
|
@@ -666,13 +666,13 @@ class or extends Error {
|
|
666
666
|
}
|
667
667
|
}
|
668
668
|
const cr = function(n) {
|
669
|
-
const e =
|
670
|
-
return
|
669
|
+
const e = jt(n);
|
670
|
+
return Vt.encodeByteArray(e, !0);
|
671
671
|
}, de = function(n) {
|
672
672
|
return cr(n).replace(/\./g, "");
|
673
|
-
},
|
673
|
+
}, Ht = function(n) {
|
674
674
|
try {
|
675
|
-
return
|
675
|
+
return Vt.decodeString(n, !0);
|
676
676
|
} catch (e) {
|
677
677
|
console.error("base64Decode failed: ", e);
|
678
678
|
}
|
@@ -734,7 +734,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
734
734
|
} catch {
|
735
735
|
return;
|
736
736
|
}
|
737
|
-
const e = n &&
|
737
|
+
const e = n && Ht(n[1]);
|
738
738
|
return e && JSON.parse(e);
|
739
739
|
}, ze = () => {
|
740
740
|
try {
|
@@ -743,11 +743,11 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
743
743
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
|
744
744
|
return;
|
745
745
|
}
|
746
|
-
},
|
746
|
+
}, Gt = (n) => {
|
747
747
|
var e, t;
|
748
748
|
return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
|
749
749
|
}, Wa = (n) => {
|
750
|
-
const e =
|
750
|
+
const e = Gt(n);
|
751
751
|
if (!e)
|
752
752
|
return;
|
753
753
|
const t = e.lastIndexOf(":");
|
@@ -859,15 +859,15 @@ function za(n, e) {
|
|
859
859
|
* See the License for the specific language governing permissions and
|
860
860
|
* limitations under the License.
|
861
861
|
*/
|
862
|
-
function
|
862
|
+
function f() {
|
863
863
|
return typeof navigator < "u" && typeof navigator.userAgent == "string" ? navigator.userAgent : "";
|
864
864
|
}
|
865
|
-
function
|
865
|
+
function mr() {
|
866
866
|
return typeof window < "u" && // @ts-ignore Setting up an broadly applicable index signature for Window
|
867
867
|
// just to deal with this case would probably be a bad idea.
|
868
|
-
!!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(
|
868
|
+
!!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(f());
|
869
869
|
}
|
870
|
-
function
|
870
|
+
function fr() {
|
871
871
|
return typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers";
|
872
872
|
}
|
873
873
|
function _r() {
|
@@ -878,7 +878,7 @@ function gr() {
|
|
878
878
|
return typeof navigator == "object" && navigator.product === "ReactNative";
|
879
879
|
}
|
880
880
|
function vr() {
|
881
|
-
const n =
|
881
|
+
const n = f();
|
882
882
|
return n.indexOf("MSIE ") >= 0 || n.indexOf("Trident/") >= 0;
|
883
883
|
}
|
884
884
|
function Ir() {
|
@@ -933,17 +933,17 @@ class q {
|
|
933
933
|
this.service = e, this.serviceName = t, this.errors = r;
|
934
934
|
}
|
935
935
|
create(e, ...t) {
|
936
|
-
const r = t[0] || {}, i = `${this.service}/${e}`, s = this.errors[e], a = s ?
|
936
|
+
const r = t[0] || {}, i = `${this.service}/${e}`, s = this.errors[e], a = s ? Tr(s, r) : "Error", c = `${this.serviceName}: ${a} (${i}).`;
|
937
937
|
return new M(i, c, r);
|
938
938
|
}
|
939
939
|
}
|
940
|
-
function
|
941
|
-
return n.replace(
|
940
|
+
function Tr(n, e) {
|
941
|
+
return n.replace(Er, (t, r) => {
|
942
942
|
const i = e[r];
|
943
943
|
return i != null ? String(i) : `<${r}?>`;
|
944
944
|
});
|
945
945
|
}
|
946
|
-
const
|
946
|
+
const Er = /\{\$([^}]+)}/g;
|
947
947
|
function wr(n) {
|
948
948
|
for (const e in n)
|
949
949
|
if (Object.prototype.hasOwnProperty.call(n, e))
|
@@ -996,11 +996,11 @@ function Q(n) {
|
|
996
996
|
}) : e.push(encodeURIComponent(t) + "=" + encodeURIComponent(r));
|
997
997
|
return e.length ? "&" + e.join("&") : "";
|
998
998
|
}
|
999
|
-
function
|
1000
|
-
const t = new
|
999
|
+
function Rr(n, e) {
|
1000
|
+
const t = new kr(n, e);
|
1001
1001
|
return t.subscribe.bind(t);
|
1002
1002
|
}
|
1003
|
-
class
|
1003
|
+
class kr {
|
1004
1004
|
/**
|
1005
1005
|
* @param executor Function which can make calls to a single Observer
|
1006
1006
|
* as a proxy.
|
@@ -1046,7 +1046,7 @@ class Rr {
|
|
1046
1046
|
next: e,
|
1047
1047
|
error: t,
|
1048
1048
|
complete: r
|
1049
|
-
}, i.next === void 0 && (i.next =
|
1049
|
+
}, i.next === void 0 && (i.next = ke), i.error === void 0 && (i.error = ke), i.complete === void 0 && (i.complete = ke);
|
1050
1050
|
const s = this.unsubscribeOne.bind(this, this.observers.length);
|
1051
1051
|
return this.finalized && this.task.then(() => {
|
1052
1052
|
try {
|
@@ -1092,7 +1092,7 @@ function Sr(n, e) {
|
|
1092
1092
|
return !0;
|
1093
1093
|
return !1;
|
1094
1094
|
}
|
1095
|
-
function
|
1095
|
+
function ke() {
|
1096
1096
|
}
|
1097
1097
|
/**
|
1098
1098
|
* @license
|
@@ -1220,7 +1220,7 @@ class Ar {
|
|
1220
1220
|
if (this.component)
|
1221
1221
|
throw Error(`Component for ${this.name} has already been provided`);
|
1222
1222
|
if (this.component = e, !!this.shouldAutoInitialize()) {
|
1223
|
-
if (
|
1223
|
+
if (Nr(e))
|
1224
1224
|
try {
|
1225
1225
|
this.getOrInitializeService({ instanceIdentifier: L });
|
1226
1226
|
} catch {
|
@@ -1326,7 +1326,7 @@ class Ar {
|
|
1326
1326
|
function Or(n) {
|
1327
1327
|
return n === L ? void 0 : n;
|
1328
1328
|
}
|
1329
|
-
function
|
1329
|
+
function Nr(n) {
|
1330
1330
|
return n.instantiationMode === "EAGER";
|
1331
1331
|
}
|
1332
1332
|
/**
|
@@ -1345,7 +1345,7 @@ function Cr(n) {
|
|
1345
1345
|
* See the License for the specific language governing permissions and
|
1346
1346
|
* limitations under the License.
|
1347
1347
|
*/
|
1348
|
-
class
|
1348
|
+
class Cr {
|
1349
1349
|
constructor(e) {
|
1350
1350
|
this.name = e, this.providers = /* @__PURE__ */ new Map();
|
1351
1351
|
}
|
@@ -1404,7 +1404,7 @@ var p;
|
|
1404
1404
|
(function(n) {
|
1405
1405
|
n[n.DEBUG = 0] = "DEBUG", n[n.VERBOSE = 1] = "VERBOSE", n[n.INFO = 2] = "INFO", n[n.WARN = 3] = "WARN", n[n.ERROR = 4] = "ERROR", n[n.SILENT = 5] = "SILENT";
|
1406
1406
|
})(p || (p = {}));
|
1407
|
-
const
|
1407
|
+
const Dr = {
|
1408
1408
|
debug: p.DEBUG,
|
1409
1409
|
verbose: p.VERBOSE,
|
1410
1410
|
info: p.INFO,
|
@@ -1446,7 +1446,7 @@ class Zt {
|
|
1446
1446
|
}
|
1447
1447
|
// Workaround for setter/getter having to be the same type.
|
1448
1448
|
setLogLevel(e) {
|
1449
|
-
this._logLevel = typeof e == "string" ?
|
1449
|
+
this._logLevel = typeof e == "string" ? Dr[e] : e;
|
1450
1450
|
}
|
1451
1451
|
get logHandler() {
|
1452
1452
|
return this._logHandler;
|
@@ -1505,7 +1505,7 @@ function xr(n) {
|
|
1505
1505
|
const i = () => {
|
1506
1506
|
n.removeEventListener("success", s), n.removeEventListener("error", a);
|
1507
1507
|
}, s = () => {
|
1508
|
-
t(
|
1508
|
+
t(C(n.result)), i();
|
1509
1509
|
}, a = () => {
|
1510
1510
|
r(n.error), i();
|
1511
1511
|
};
|
@@ -1516,7 +1516,7 @@ function xr(n) {
|
|
1516
1516
|
}).catch(() => {
|
1517
1517
|
}), Ze.set(e, n), e;
|
1518
1518
|
}
|
1519
|
-
function
|
1519
|
+
function jr(n) {
|
1520
1520
|
if (Le.has(n))
|
1521
1521
|
return;
|
1522
1522
|
const e = new Promise((t, r) => {
|
@@ -1541,7 +1541,7 @@ let Ue = {
|
|
1541
1541
|
if (e === "store")
|
1542
1542
|
return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
|
1543
1543
|
}
|
1544
|
-
return
|
1544
|
+
return C(n[e]);
|
1545
1545
|
},
|
1546
1546
|
set(n, e, t) {
|
1547
1547
|
return n[e] = t, !0;
|
@@ -1550,35 +1550,35 @@ let Ue = {
|
|
1550
1550
|
return n instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in n;
|
1551
1551
|
}
|
1552
1552
|
};
|
1553
|
-
function
|
1553
|
+
function Vr(n) {
|
1554
1554
|
Ue = n(Ue);
|
1555
1555
|
}
|
1556
|
-
function
|
1556
|
+
function Hr(n) {
|
1557
1557
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
1558
1558
|
const r = n.call(Ae(this), e, ...t);
|
1559
|
-
return Jt.set(r, e.sort ? e.sort() : [e]),
|
1559
|
+
return Jt.set(r, e.sort ? e.sort() : [e]), C(r);
|
1560
1560
|
} : Fr().includes(n) ? function(...e) {
|
1561
|
-
return n.apply(Ae(this), e),
|
1561
|
+
return n.apply(Ae(this), e), C($t.get(this));
|
1562
1562
|
} : function(...e) {
|
1563
|
-
return
|
1563
|
+
return C(n.apply(Ae(this), e));
|
1564
1564
|
};
|
1565
1565
|
}
|
1566
|
-
function
|
1567
|
-
return typeof n == "function" ?
|
1566
|
+
function Gr(n) {
|
1567
|
+
return typeof n == "function" ? Hr(n) : (n instanceof IDBTransaction && jr(n), Ur(n, Br()) ? new Proxy(n, Ue) : n);
|
1568
1568
|
}
|
1569
|
-
function
|
1569
|
+
function C(n) {
|
1570
1570
|
if (n instanceof IDBRequest)
|
1571
1571
|
return xr(n);
|
1572
1572
|
if (Se.has(n))
|
1573
1573
|
return Se.get(n);
|
1574
|
-
const e =
|
1574
|
+
const e = Gr(n);
|
1575
1575
|
return e !== n && (Se.set(n, e), Ze.set(e, n)), e;
|
1576
1576
|
}
|
1577
1577
|
const Ae = (n) => Ze.get(n);
|
1578
1578
|
function Wr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
1579
|
-
const a = indexedDB.open(n, e), c =
|
1579
|
+
const a = indexedDB.open(n, e), c = C(a);
|
1580
1580
|
return r && a.addEventListener("upgradeneeded", (o) => {
|
1581
|
-
r(
|
1581
|
+
r(C(a.result), o.oldVersion, o.newVersion, C(a.transaction), o);
|
1582
1582
|
}), t && a.addEventListener("blocked", (o) => t(
|
1583
1583
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
1584
1584
|
o.oldVersion,
|
@@ -1611,7 +1611,7 @@ function ut(n, e) {
|
|
1611
1611
|
};
|
1612
1612
|
return Oe.set(e, s), s;
|
1613
1613
|
}
|
1614
|
-
|
1614
|
+
Vr((n) => ({
|
1615
1615
|
...n,
|
1616
1616
|
get: (e, t, r) => ut(e, t) || n.get(e, t, r),
|
1617
1617
|
has: (e, t) => !!ut(e, t) || n.has(e, t)
|
@@ -1669,7 +1669,7 @@ const Be = "@firebase/app", ht = "0.10.13";
|
|
1669
1669
|
* See the License for the specific language governing permissions and
|
1670
1670
|
* limitations under the License.
|
1671
1671
|
*/
|
1672
|
-
const
|
1672
|
+
const E = new Zt("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/analytics-compat", Kr = "@firebase/analytics", qr = "@firebase/app-check-compat", Qr = "@firebase/app-check", ei = "@firebase/auth", ti = "@firebase/auth-compat", ni = "@firebase/database", ri = "@firebase/data-connect", ii = "@firebase/database-compat", si = "@firebase/functions", ai = "@firebase/functions-compat", oi = "@firebase/installations", ci = "@firebase/installations-compat", li = "@firebase/messaging", di = "@firebase/messaging-compat", ui = "@firebase/performance", hi = "@firebase/performance-compat", pi = "@firebase/remote-config", mi = "@firebase/remote-config-compat", fi = "@firebase/storage", _i = "@firebase/storage-compat", gi = "@firebase/firestore", vi = "@firebase/vertexai-preview", Ii = "@firebase/firestore-compat", bi = "firebase", yi = "10.14.1";
|
1673
1673
|
/**
|
1674
1674
|
* @license
|
1675
1675
|
* Copyright 2019 Google LLC
|
@@ -1686,7 +1686,7 @@ const T = new Zt("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/
|
|
1686
1686
|
* See the License for the specific language governing permissions and
|
1687
1687
|
* limitations under the License.
|
1688
1688
|
*/
|
1689
|
-
const Fe = "[DEFAULT]",
|
1689
|
+
const Fe = "[DEFAULT]", Ti = {
|
1690
1690
|
[Be]: "fire-core",
|
1691
1691
|
[Xr]: "fire-core-compat",
|
1692
1692
|
[Kr]: "fire-analytics",
|
@@ -1707,8 +1707,8 @@ const Fe = "[DEFAULT]", Ei = {
|
|
1707
1707
|
[ui]: "fire-perf",
|
1708
1708
|
[hi]: "fire-perf-compat",
|
1709
1709
|
[pi]: "fire-rc",
|
1710
|
-
[
|
1711
|
-
[
|
1710
|
+
[mi]: "fire-rc-compat",
|
1711
|
+
[fi]: "fire-gcs",
|
1712
1712
|
[_i]: "fire-gcs-compat",
|
1713
1713
|
[gi]: "fire-fst",
|
1714
1714
|
[Ii]: "fire-fst-compat",
|
@@ -1732,22 +1732,22 @@ const Fe = "[DEFAULT]", Ei = {
|
|
1732
1732
|
* See the License for the specific language governing permissions and
|
1733
1733
|
* limitations under the License.
|
1734
1734
|
*/
|
1735
|
-
const he = /* @__PURE__ */ new Map(),
|
1735
|
+
const he = /* @__PURE__ */ new Map(), Ei = /* @__PURE__ */ new Map(), xe = /* @__PURE__ */ new Map();
|
1736
1736
|
function pt(n, e) {
|
1737
1737
|
try {
|
1738
1738
|
n.container.addComponent(e);
|
1739
1739
|
} catch (t) {
|
1740
|
-
|
1740
|
+
E.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
|
1741
1741
|
}
|
1742
1742
|
}
|
1743
1743
|
function X(n) {
|
1744
1744
|
const e = n.name;
|
1745
1745
|
if (xe.has(e))
|
1746
|
-
return
|
1746
|
+
return E.debug(`There were multiple attempts to register component ${e}.`), !1;
|
1747
1747
|
xe.set(e, n);
|
1748
1748
|
for (const t of he.values())
|
1749
1749
|
pt(t, n);
|
1750
|
-
for (const t of
|
1750
|
+
for (const t of Ei.values())
|
1751
1751
|
pt(t, n);
|
1752
1752
|
return !0;
|
1753
1753
|
}
|
@@ -1789,7 +1789,7 @@ const wi = {
|
|
1789
1789
|
"idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
|
1790
1790
|
"finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
|
1791
1791
|
"invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
|
1792
|
-
},
|
1792
|
+
}, D = new q("app", "Firebase", wi);
|
1793
1793
|
/**
|
1794
1794
|
* @license
|
1795
1795
|
* Copyright 2019 Google LLC
|
@@ -1806,7 +1806,7 @@ const wi = {
|
|
1806
1806
|
* See the License for the specific language governing permissions and
|
1807
1807
|
* limitations under the License.
|
1808
1808
|
*/
|
1809
|
-
class
|
1809
|
+
class Ri {
|
1810
1810
|
constructor(e, t, r) {
|
1811
1811
|
this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, t), this._name = t.name, this._automaticDataCollectionEnabled = t.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new W(
|
1812
1812
|
"app",
|
@@ -1845,7 +1845,7 @@ class ki {
|
|
1845
1845
|
*/
|
1846
1846
|
checkDestroyed() {
|
1847
1847
|
if (this.isDeleted)
|
1848
|
-
throw
|
1848
|
+
throw D.create("app-deleted", { appName: this._name });
|
1849
1849
|
}
|
1850
1850
|
}
|
1851
1851
|
/**
|
@@ -1870,11 +1870,11 @@ function Yt(n, e = {}) {
|
|
1870
1870
|
typeof e != "object" && (e = { name: e });
|
1871
1871
|
const r = Object.assign({ name: Fe, automaticDataCollectionEnabled: !1 }, e), i = r.name;
|
1872
1872
|
if (typeof i != "string" || !i)
|
1873
|
-
throw
|
1873
|
+
throw D.create("bad-app-name", {
|
1874
1874
|
appName: String(i)
|
1875
1875
|
});
|
1876
1876
|
if (t || (t = Wt()), !t)
|
1877
|
-
throw
|
1877
|
+
throw D.create(
|
1878
1878
|
"no-options"
|
1879
1879
|
/* AppError.NO_OPTIONS */
|
1880
1880
|
);
|
@@ -1882,32 +1882,32 @@ function Yt(n, e = {}) {
|
|
1882
1882
|
if (s) {
|
1883
1883
|
if (ue(t, s.options) && ue(r, s.config))
|
1884
1884
|
return s;
|
1885
|
-
throw
|
1885
|
+
throw D.create("duplicate-app", { appName: i });
|
1886
1886
|
}
|
1887
|
-
const a = new
|
1887
|
+
const a = new Cr(i);
|
1888
1888
|
for (const o of xe.values())
|
1889
1889
|
a.addComponent(o);
|
1890
|
-
const c = new
|
1890
|
+
const c = new Ri(t, r, a);
|
1891
1891
|
return he.set(i, c), c;
|
1892
1892
|
}
|
1893
|
-
function
|
1893
|
+
function ki(n = Fe) {
|
1894
1894
|
const e = he.get(n);
|
1895
1895
|
if (!e && n === Fe && Wt())
|
1896
1896
|
return Yt();
|
1897
1897
|
if (!e)
|
1898
|
-
throw
|
1898
|
+
throw D.create("no-app", { appName: n });
|
1899
1899
|
return e;
|
1900
1900
|
}
|
1901
|
-
function
|
1901
|
+
function j(n, e, t) {
|
1902
1902
|
var r;
|
1903
|
-
let i = (r =
|
1903
|
+
let i = (r = Ti[n]) !== null && r !== void 0 ? r : n;
|
1904
1904
|
t && (i += `-${t}`);
|
1905
1905
|
const s = i.match(/\s|\//), a = e.match(/\s|\//);
|
1906
1906
|
if (s || a) {
|
1907
1907
|
const c = [
|
1908
1908
|
`Unable to register library "${i}" with version "${e}":`
|
1909
1909
|
];
|
1910
|
-
s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`),
|
1910
|
+
s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`), E.warn(c.join(" "));
|
1911
1911
|
return;
|
1912
1912
|
}
|
1913
1913
|
X(new W(
|
@@ -1934,9 +1934,9 @@ function G(n, e, t) {
|
|
1934
1934
|
* limitations under the License.
|
1935
1935
|
*/
|
1936
1936
|
const Si = "firebase-heartbeat-database", Ai = 1, Y = "firebase-heartbeat-store";
|
1937
|
-
let
|
1937
|
+
let Ne = null;
|
1938
1938
|
function Kt() {
|
1939
|
-
return
|
1939
|
+
return Ne || (Ne = Wr(Si, Ai, {
|
1940
1940
|
upgrade: (n, e) => {
|
1941
1941
|
switch (e) {
|
1942
1942
|
case 0:
|
@@ -1948,10 +1948,10 @@ function Kt() {
|
|
1948
1948
|
}
|
1949
1949
|
}
|
1950
1950
|
}).catch((n) => {
|
1951
|
-
throw
|
1951
|
+
throw D.create("idb-open", {
|
1952
1952
|
originalErrorMessage: n.message
|
1953
1953
|
});
|
1954
|
-
})),
|
1954
|
+
})), Ne;
|
1955
1955
|
}
|
1956
1956
|
async function Oi(n) {
|
1957
1957
|
try {
|
@@ -1959,27 +1959,27 @@ async function Oi(n) {
|
|
1959
1959
|
return await t.done, r;
|
1960
1960
|
} catch (e) {
|
1961
1961
|
if (e instanceof M)
|
1962
|
-
|
1962
|
+
E.warn(e.message);
|
1963
1963
|
else {
|
1964
|
-
const t =
|
1964
|
+
const t = D.create("idb-get", {
|
1965
1965
|
originalErrorMessage: e == null ? void 0 : e.message
|
1966
1966
|
});
|
1967
|
-
|
1967
|
+
E.warn(t.message);
|
1968
1968
|
}
|
1969
1969
|
}
|
1970
1970
|
}
|
1971
|
-
async function
|
1971
|
+
async function mt(n, e) {
|
1972
1972
|
try {
|
1973
1973
|
const r = (await Kt()).transaction(Y, "readwrite");
|
1974
1974
|
await r.objectStore(Y).put(e, qt(n)), await r.done;
|
1975
1975
|
} catch (t) {
|
1976
1976
|
if (t instanceof M)
|
1977
|
-
|
1977
|
+
E.warn(t.message);
|
1978
1978
|
else {
|
1979
|
-
const r =
|
1979
|
+
const r = D.create("idb-set", {
|
1980
1980
|
originalErrorMessage: t == null ? void 0 : t.message
|
1981
1981
|
});
|
1982
|
-
|
1982
|
+
E.warn(r.message);
|
1983
1983
|
}
|
1984
1984
|
}
|
1985
1985
|
}
|
@@ -2002,8 +2002,8 @@ function qt(n) {
|
|
2002
2002
|
* See the License for the specific language governing permissions and
|
2003
2003
|
* limitations under the License.
|
2004
2004
|
*/
|
2005
|
-
const
|
2006
|
-
class
|
2005
|
+
const Ni = 1024, Ci = 30 * 24 * 60 * 60 * 1e3;
|
2006
|
+
class Di {
|
2007
2007
|
constructor(e) {
|
2008
2008
|
this.container = e, this._heartbeatsCache = null;
|
2009
2009
|
const t = this.container.getProvider("app").getImmediate();
|
@@ -2019,13 +2019,13 @@ class Ni {
|
|
2019
2019
|
async triggerHeartbeat() {
|
2020
2020
|
var e, t;
|
2021
2021
|
try {
|
2022
|
-
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s =
|
2022
|
+
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = ft();
|
2023
2023
|
return ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null && (this._heartbeatsCache = await this._heartbeatsCachePromise, ((t = this._heartbeatsCache) === null || t === void 0 ? void 0 : t.heartbeats) == null) || this._heartbeatsCache.lastSentHeartbeatDate === s || this._heartbeatsCache.heartbeats.some((a) => a.date === s) ? void 0 : (this._heartbeatsCache.heartbeats.push({ date: s, agent: i }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((a) => {
|
2024
2024
|
const c = new Date(a.date).valueOf();
|
2025
|
-
return Date.now() - c <=
|
2025
|
+
return Date.now() - c <= Ci;
|
2026
2026
|
}), this._storage.overwrite(this._heartbeatsCache));
|
2027
2027
|
} catch (r) {
|
2028
|
-
|
2028
|
+
E.warn(r);
|
2029
2029
|
}
|
2030
2030
|
}
|
2031
2031
|
/**
|
@@ -2040,17 +2040,17 @@ class Ni {
|
|
2040
2040
|
try {
|
2041
2041
|
if (this._heartbeatsCache === null && await this._heartbeatsCachePromise, ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null || this._heartbeatsCache.heartbeats.length === 0)
|
2042
2042
|
return "";
|
2043
|
-
const t =
|
2043
|
+
const t = ft(), { heartbeatsToSend: r, unsentEntries: i } = Pi(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
|
2044
2044
|
return this._heartbeatsCache.lastSentHeartbeatDate = t, i.length > 0 ? (this._heartbeatsCache.heartbeats = i, await this._storage.overwrite(this._heartbeatsCache)) : (this._heartbeatsCache.heartbeats = [], this._storage.overwrite(this._heartbeatsCache)), s;
|
2045
2045
|
} catch (t) {
|
2046
|
-
return
|
2046
|
+
return E.warn(t), "";
|
2047
2047
|
}
|
2048
2048
|
}
|
2049
2049
|
}
|
2050
|
-
function
|
2050
|
+
function ft() {
|
2051
2051
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
2052
2052
|
}
|
2053
|
-
function Pi(n, e =
|
2053
|
+
function Pi(n, e = Ni) {
|
2054
2054
|
const t = [];
|
2055
2055
|
let r = n.slice();
|
2056
2056
|
for (const i of n) {
|
@@ -2096,7 +2096,7 @@ class Mi {
|
|
2096
2096
|
var t;
|
2097
2097
|
if (await this._canUseIndexedDBPromise) {
|
2098
2098
|
const i = await this.read();
|
2099
|
-
return
|
2099
|
+
return mt(this.app, {
|
2100
2100
|
lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
|
2101
2101
|
heartbeats: e.heartbeats
|
2102
2102
|
});
|
@@ -2108,7 +2108,7 @@ class Mi {
|
|
2108
2108
|
var t;
|
2109
2109
|
if (await this._canUseIndexedDBPromise) {
|
2110
2110
|
const i = await this.read();
|
2111
|
-
return
|
2111
|
+
return mt(this.app, {
|
2112
2112
|
lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
|
2113
2113
|
heartbeats: [
|
2114
2114
|
...i.heartbeats,
|
@@ -2149,10 +2149,10 @@ function Li(n) {
|
|
2149
2149
|
/* ComponentType.PRIVATE */
|
2150
2150
|
)), X(new W(
|
2151
2151
|
"heartbeat",
|
2152
|
-
(e) => new
|
2152
|
+
(e) => new Di(e),
|
2153
2153
|
"PRIVATE"
|
2154
2154
|
/* ComponentType.PRIVATE */
|
2155
|
-
)),
|
2155
|
+
)), j(Be, ht, n), j(Be, ht, "esm2017"), j("fire-js", "");
|
2156
2156
|
}
|
2157
2157
|
Li("");
|
2158
2158
|
var Ui = "firebase", Bi = "10.14.1";
|
@@ -2172,7 +2172,7 @@ var Ui = "firebase", Bi = "10.14.1";
|
|
2172
2172
|
* See the License for the specific language governing permissions and
|
2173
2173
|
* limitations under the License.
|
2174
2174
|
*/
|
2175
|
-
|
2175
|
+
j(Ui, Bi, "app");
|
2176
2176
|
var gt = function() {
|
2177
2177
|
return gt = Object.assign || function(e) {
|
2178
2178
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
@@ -2265,7 +2265,7 @@ function b(n) {
|
|
2265
2265
|
const e = "INTERNAL ASSERTION FAILED: " + n;
|
2266
2266
|
throw se(e), new Error(e);
|
2267
2267
|
}
|
2268
|
-
function
|
2268
|
+
function R(n, e) {
|
2269
2269
|
n || b(e);
|
2270
2270
|
}
|
2271
2271
|
/**
|
@@ -2284,11 +2284,11 @@ function k(n, e) {
|
|
2284
2284
|
* See the License for the specific language governing permissions and
|
2285
2285
|
* limitations under the License.
|
2286
2286
|
*/
|
2287
|
-
function
|
2287
|
+
function je() {
|
2288
2288
|
var n;
|
2289
2289
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
|
2290
2290
|
}
|
2291
|
-
function
|
2291
|
+
function ji() {
|
2292
2292
|
return vt() === "http:" || vt() === "https:";
|
2293
2293
|
}
|
2294
2294
|
function vt() {
|
@@ -2311,15 +2311,15 @@ function vt() {
|
|
2311
2311
|
* See the License for the specific language governing permissions and
|
2312
2312
|
* limitations under the License.
|
2313
2313
|
*/
|
2314
|
-
function
|
2314
|
+
function Vi() {
|
2315
2315
|
return typeof navigator < "u" && navigator && "onLine" in navigator && typeof navigator.onLine == "boolean" && // Apply only for traditional web apps and Chrome extensions.
|
2316
2316
|
// This is especially true for Cordova apps which have unreliable
|
2317
2317
|
// navigator.onLine behavior unless cordova-plugin-network-information is
|
2318
2318
|
// installed which overwrites the native navigator.onLine value and
|
2319
2319
|
// defines navigator.connection.
|
2320
|
-
(
|
2320
|
+
(ji() || _r() || "connection" in navigator) ? navigator.onLine : !0;
|
2321
2321
|
}
|
2322
|
-
function
|
2322
|
+
function Hi() {
|
2323
2323
|
if (typeof navigator > "u")
|
2324
2324
|
return null;
|
2325
2325
|
const n = navigator;
|
@@ -2349,10 +2349,10 @@ function Vi() {
|
|
2349
2349
|
*/
|
2350
2350
|
class te {
|
2351
2351
|
constructor(e, t) {
|
2352
|
-
this.shortDelay = e, this.longDelay = t,
|
2352
|
+
this.shortDelay = e, this.longDelay = t, R(t > e, "Short delay should be less than long delay!"), this.isMobile = mr() || gr();
|
2353
2353
|
}
|
2354
2354
|
get() {
|
2355
|
-
return
|
2355
|
+
return Vi() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
|
2356
2356
|
}
|
2357
2357
|
}
|
2358
2358
|
/**
|
@@ -2372,7 +2372,7 @@ class te {
|
|
2372
2372
|
* limitations under the License.
|
2373
2373
|
*/
|
2374
2374
|
function Xe(n, e) {
|
2375
|
-
|
2375
|
+
R(n.emulator, "Emulator should always be set here");
|
2376
2376
|
const { url: t } = n.emulator;
|
2377
2377
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
2378
2378
|
}
|
@@ -2446,7 +2446,7 @@ class nn {
|
|
2446
2446
|
* See the License for the specific language governing permissions and
|
2447
2447
|
* limitations under the License.
|
2448
2448
|
*/
|
2449
|
-
const
|
2449
|
+
const Gi = {
|
2450
2450
|
// Custom token errors.
|
2451
2451
|
CREDENTIAL_MISMATCH: "custom-token-mismatch",
|
2452
2452
|
// This can only happen if the SDK sends a bad request.
|
@@ -2559,12 +2559,12 @@ async function Z(n, e, t, r, i = {}) {
|
|
2559
2559
|
method: e,
|
2560
2560
|
headers: o
|
2561
2561
|
}, s);
|
2562
|
-
return
|
2562
|
+
return fr() || (l.referrerPolicy = "no-referrer"), nn.fetch()(an(n, n.config.apiHost, t, c), l);
|
2563
2563
|
});
|
2564
2564
|
}
|
2565
2565
|
async function rn(n, e, t) {
|
2566
2566
|
n._canInitEmulator = !1;
|
2567
|
-
const r = Object.assign(Object.assign({},
|
2567
|
+
const r = Object.assign(Object.assign({}, Gi), e);
|
2568
2568
|
try {
|
2569
2569
|
const i = new zi(n), s = await Promise.race([
|
2570
2570
|
t(),
|
@@ -2686,14 +2686,14 @@ async function $i(n, e = !1) {
|
|
2686
2686
|
return {
|
2687
2687
|
claims: i,
|
2688
2688
|
token: r,
|
2689
|
-
authTime: J(
|
2690
|
-
issuedAtTime: J(
|
2691
|
-
expirationTime: J(
|
2689
|
+
authTime: J(Ce(i.auth_time)),
|
2690
|
+
issuedAtTime: J(Ce(i.iat)),
|
2691
|
+
expirationTime: J(Ce(i.exp)),
|
2692
2692
|
signInProvider: a || null,
|
2693
2693
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2694
2694
|
};
|
2695
2695
|
}
|
2696
|
-
function
|
2696
|
+
function Ce(n) {
|
2697
2697
|
return Number(n) * 1e3;
|
2698
2698
|
}
|
2699
2699
|
function Ye(n) {
|
@@ -2701,7 +2701,7 @@ function Ye(n) {
|
|
2701
2701
|
if (e === void 0 || t === void 0 || r === void 0)
|
2702
2702
|
return se("JWT malformed, contained fewer than 3 sections"), null;
|
2703
2703
|
try {
|
2704
|
-
const i =
|
2704
|
+
const i = Ht(t);
|
2705
2705
|
return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
|
2706
2706
|
} catch (i) {
|
2707
2707
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
@@ -2829,7 +2829,7 @@ class Xi {
|
|
2829
2829
|
* See the License for the specific language governing permissions and
|
2830
2830
|
* limitations under the License.
|
2831
2831
|
*/
|
2832
|
-
class
|
2832
|
+
class Ve {
|
2833
2833
|
constructor(e, t) {
|
2834
2834
|
this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
|
2835
2835
|
}
|
@@ -2862,7 +2862,7 @@ class He {
|
|
2862
2862
|
* See the License for the specific language governing permissions and
|
2863
2863
|
* limitations under the License.
|
2864
2864
|
*/
|
2865
|
-
async function
|
2865
|
+
async function me(n) {
|
2866
2866
|
var e;
|
2867
2867
|
const t = n.auth, r = await n.getIdToken(), i = await K(n, on(t, { idToken: r }));
|
2868
2868
|
u(
|
@@ -2882,14 +2882,14 @@ async function fe(n) {
|
|
2882
2882
|
phoneNumber: s.phoneNumber || null,
|
2883
2883
|
tenantId: s.tenantId || null,
|
2884
2884
|
providerData: c,
|
2885
|
-
metadata: new
|
2885
|
+
metadata: new Ve(s.createdAt, s.lastLoginAt),
|
2886
2886
|
isAnonymous: d
|
2887
2887
|
};
|
2888
2888
|
Object.assign(n, h);
|
2889
2889
|
}
|
2890
2890
|
async function Yi(n) {
|
2891
2891
|
const e = z(n);
|
2892
|
-
await
|
2892
|
+
await me(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
|
2893
2893
|
}
|
2894
2894
|
function Ki(n, e) {
|
2895
2895
|
return [...n.filter((r) => !e.some((i) => i.providerId === r.providerId)), ...e];
|
@@ -2963,7 +2963,7 @@ async function Qi(n, e) {
|
|
2963
2963
|
* See the License for the specific language governing permissions and
|
2964
2964
|
* limitations under the License.
|
2965
2965
|
*/
|
2966
|
-
class
|
2966
|
+
class V {
|
2967
2967
|
constructor() {
|
2968
2968
|
this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
|
2969
2969
|
}
|
@@ -3015,7 +3015,7 @@ class H {
|
|
3015
3015
|
this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + r * 1e3;
|
3016
3016
|
}
|
3017
3017
|
static fromJSON(e, t) {
|
3018
|
-
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new
|
3018
|
+
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new V();
|
3019
3019
|
return r && (u(typeof r == "string", "internal-error", {
|
3020
3020
|
appName: e
|
3021
3021
|
}), a.refreshToken = r), i && (u(typeof i == "string", "internal-error", {
|
@@ -3035,7 +3035,7 @@ class H {
|
|
3035
3035
|
this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
|
3036
3036
|
}
|
3037
3037
|
_clone() {
|
3038
|
-
return Object.assign(new
|
3038
|
+
return Object.assign(new V(), this.toJSON());
|
3039
3039
|
}
|
3040
3040
|
_performRefresh() {
|
3041
3041
|
return b("not implemented");
|
@@ -3057,13 +3057,13 @@ class H {
|
|
3057
3057
|
* See the License for the specific language governing permissions and
|
3058
3058
|
* limitations under the License.
|
3059
3059
|
*/
|
3060
|
-
function
|
3060
|
+
function k(n, e) {
|
3061
3061
|
u(typeof n == "string" || typeof n > "u", "internal-error", { appName: e });
|
3062
3062
|
}
|
3063
3063
|
class y {
|
3064
3064
|
constructor(e) {
|
3065
3065
|
var { uid: t, auth: r, stsTokenManager: i } = e, s = $e(e, ["uid", "auth", "stsTokenManager"]);
|
3066
|
-
this.providerId = "firebase", this.proactiveRefresh = new Xi(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new
|
3066
|
+
this.providerId = "firebase", this.proactiveRefresh = new Xi(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new Ve(s.createdAt || void 0, s.lastLoginAt || void 0);
|
3067
3067
|
}
|
3068
3068
|
async getIdToken(e) {
|
3069
3069
|
const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
|
@@ -3111,7 +3111,7 @@ class y {
|
|
3111
3111
|
}
|
3112
3112
|
async _updateTokensIfNecessary(e, t = !1) {
|
3113
3113
|
let r = !1;
|
3114
|
-
e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await
|
3114
|
+
e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await me(this), await this.auth._persistUserIfCurrent(this), r && this.auth._notifyListenersIfCurrent(this);
|
3115
3115
|
}
|
3116
3116
|
async delete() {
|
3117
3117
|
if (I(this.auth.app))
|
@@ -3145,20 +3145,20 @@ class y {
|
|
3145
3145
|
}
|
3146
3146
|
static _fromJSON(e, t) {
|
3147
3147
|
var r, i, s, a, c, o, l, d;
|
3148
|
-
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0,
|
3148
|
+
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, F = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, Te = (o = t._redirectEventId) !== null && o !== void 0 ? o : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (d = t.lastLoginAt) !== null && d !== void 0 ? d : void 0, { uid: Ee, emailVerified: it, isAnonymous: st, providerData: we, stsTokenManager: at } = t;
|
3149
3149
|
u(
|
3150
|
-
|
3150
|
+
Ee && at,
|
3151
3151
|
e,
|
3152
3152
|
"internal-error"
|
3153
3153
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3154
3154
|
);
|
3155
|
-
const Pn =
|
3155
|
+
const Pn = V.fromJSON(this.name, at);
|
3156
3156
|
u(
|
3157
|
-
typeof
|
3157
|
+
typeof Ee == "string",
|
3158
3158
|
e,
|
3159
3159
|
"internal-error"
|
3160
3160
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3161
|
-
),
|
3161
|
+
), k(h, e.name), k(m, e.name), u(
|
3162
3162
|
typeof it == "boolean",
|
3163
3163
|
e,
|
3164
3164
|
"internal-error"
|
@@ -3168,11 +3168,11 @@ class y {
|
|
3168
3168
|
e,
|
3169
3169
|
"internal-error"
|
3170
3170
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3171
|
-
),
|
3172
|
-
const
|
3173
|
-
uid:
|
3171
|
+
), k(v, e.name), k(F, e.name), k(tt, e.name), k(Te, e.name), k(nt, e.name), k(rt, e.name);
|
3172
|
+
const Re = new y({
|
3173
|
+
uid: Ee,
|
3174
3174
|
auth: e,
|
3175
|
-
email:
|
3175
|
+
email: m,
|
3176
3176
|
emailVerified: it,
|
3177
3177
|
displayName: h,
|
3178
3178
|
isAnonymous: st,
|
@@ -3183,7 +3183,7 @@ class y {
|
|
3183
3183
|
createdAt: nt,
|
3184
3184
|
lastLoginAt: rt
|
3185
3185
|
});
|
3186
|
-
return we && Array.isArray(we) && (
|
3186
|
+
return we && Array.isArray(we) && (Re.providerData = we.map((Mn) => Object.assign({}, Mn))), Te && (Re._redirectEventId = Te), Re;
|
3187
3187
|
}
|
3188
3188
|
/**
|
3189
3189
|
* Initialize a User from an idToken server response
|
@@ -3191,7 +3191,7 @@ class y {
|
|
3191
3191
|
* @param idTokenResponse
|
3192
3192
|
*/
|
3193
3193
|
static async _fromIdTokenResponse(e, t, r = !1) {
|
3194
|
-
const i = new
|
3194
|
+
const i = new V();
|
3195
3195
|
i.updateFromServerResponse(t);
|
3196
3196
|
const s = new y({
|
3197
3197
|
uid: t.localId,
|
@@ -3199,7 +3199,7 @@ class y {
|
|
3199
3199
|
stsTokenManager: i,
|
3200
3200
|
isAnonymous: r
|
3201
3201
|
});
|
3202
|
-
return await
|
3202
|
+
return await me(s), s;
|
3203
3203
|
}
|
3204
3204
|
/**
|
3205
3205
|
* Initialize a User from an idToken server response
|
@@ -3213,7 +3213,7 @@ class y {
|
|
3213
3213
|
"internal-error"
|
3214
3214
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3215
3215
|
);
|
3216
|
-
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new
|
3216
|
+
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new V();
|
3217
3217
|
c.updateFromIdToken(r);
|
3218
3218
|
const o = new y({
|
3219
3219
|
uid: i.localId,
|
@@ -3229,7 +3229,7 @@ class y {
|
|
3229
3229
|
phoneNumber: i.phoneNumber || null,
|
3230
3230
|
tenantId: i.tenantId || null,
|
3231
3231
|
providerData: s,
|
3232
|
-
metadata: new
|
3232
|
+
metadata: new Ve(i.createdAt, i.lastLoginAt),
|
3233
3233
|
isAnonymous: !(i.email && i.passwordHash) && !(s != null && s.length)
|
3234
3234
|
};
|
3235
3235
|
return Object.assign(o, l), o;
|
@@ -3252,10 +3252,10 @@ class y {
|
|
3252
3252
|
* limitations under the License.
|
3253
3253
|
*/
|
3254
3254
|
const bt = /* @__PURE__ */ new Map();
|
3255
|
-
function
|
3256
|
-
|
3255
|
+
function T(n) {
|
3256
|
+
R(n instanceof Function, "Expected a class definition");
|
3257
3257
|
let e = bt.get(n);
|
3258
|
-
return e ? (
|
3258
|
+
return e ? (R(e instanceof n, "Instance stored in cache mismatched with class"), e) : (e = new n(), bt.set(n, e), e);
|
3259
3259
|
}
|
3260
3260
|
/**
|
3261
3261
|
* @license
|
@@ -3316,7 +3316,7 @@ const yt = ln;
|
|
3316
3316
|
function ae(n, e, t) {
|
3317
3317
|
return `firebase:${n}:${e}:${t}`;
|
3318
3318
|
}
|
3319
|
-
class
|
3319
|
+
class H {
|
3320
3320
|
constructor(e, t, r) {
|
3321
3321
|
this.persistence = e, this.auth = t, this.userKey = r;
|
3322
3322
|
const { config: i, name: s } = this.auth;
|
@@ -3347,12 +3347,12 @@ class V {
|
|
3347
3347
|
}
|
3348
3348
|
static async create(e, t, r = "authUser") {
|
3349
3349
|
if (!t.length)
|
3350
|
-
return new
|
3350
|
+
return new H(T(yt), e, r);
|
3351
3351
|
const i = (await Promise.all(t.map(async (l) => {
|
3352
3352
|
if (await l._isAvailable())
|
3353
3353
|
return l;
|
3354
3354
|
}))).filter((l) => l);
|
3355
|
-
let s = i[0] ||
|
3355
|
+
let s = i[0] || T(yt);
|
3356
3356
|
const a = ae(r, e.config.apiKey, e.name);
|
3357
3357
|
let c = null;
|
3358
3358
|
for (const l of t)
|
@@ -3366,13 +3366,13 @@ class V {
|
|
3366
3366
|
} catch {
|
3367
3367
|
}
|
3368
3368
|
const o = i.filter((l) => l._shouldAllowMigration);
|
3369
|
-
return !s._shouldAllowMigration || !o.length ? new
|
3369
|
+
return !s._shouldAllowMigration || !o.length ? new H(s, e, r) : (s = o[0], c && await s._set(a, c.toJSON()), await Promise.all(t.map(async (l) => {
|
3370
3370
|
if (l !== s)
|
3371
3371
|
try {
|
3372
3372
|
await l._remove(a);
|
3373
3373
|
} catch {
|
3374
3374
|
}
|
3375
|
-
})), new
|
3375
|
+
})), new H(s, e, r));
|
3376
3376
|
}
|
3377
3377
|
}
|
3378
3378
|
/**
|
@@ -3391,7 +3391,7 @@ class V {
|
|
3391
3391
|
* See the License for the specific language governing permissions and
|
3392
3392
|
* limitations under the License.
|
3393
3393
|
*/
|
3394
|
-
function
|
3394
|
+
function Tt(n) {
|
3395
3395
|
const e = n.toLowerCase();
|
3396
3396
|
if (e.includes("opera/") || e.includes("opr/") || e.includes("opios/"))
|
3397
3397
|
return "Opera";
|
@@ -3405,7 +3405,7 @@ function Et(n) {
|
|
3405
3405
|
return "Firefox";
|
3406
3406
|
if (e.includes("silk/"))
|
3407
3407
|
return "Silk";
|
3408
|
-
if (
|
3408
|
+
if (fn(e))
|
3409
3409
|
return "Blackberry";
|
3410
3410
|
if (_n(e))
|
3411
3411
|
return "Webos";
|
@@ -3413,7 +3413,7 @@ function Et(n) {
|
|
3413
3413
|
return "Safari";
|
3414
3414
|
if ((e.includes("chrome/") || hn(e)) && !e.includes("edge/"))
|
3415
3415
|
return "Chrome";
|
3416
|
-
if (
|
3416
|
+
if (mn(e))
|
3417
3417
|
return "Android";
|
3418
3418
|
{
|
3419
3419
|
const t = /([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/, r = n.match(t);
|
@@ -3422,40 +3422,40 @@ function Et(n) {
|
|
3422
3422
|
}
|
3423
3423
|
return "Other";
|
3424
3424
|
}
|
3425
|
-
function dn(n =
|
3425
|
+
function dn(n = f()) {
|
3426
3426
|
return /firefox\//i.test(n);
|
3427
3427
|
}
|
3428
|
-
function un(n =
|
3428
|
+
function un(n = f()) {
|
3429
3429
|
const e = n.toLowerCase();
|
3430
3430
|
return e.includes("safari/") && !e.includes("chrome/") && !e.includes("crios/") && !e.includes("android");
|
3431
3431
|
}
|
3432
|
-
function hn(n =
|
3432
|
+
function hn(n = f()) {
|
3433
3433
|
return /crios\//i.test(n);
|
3434
3434
|
}
|
3435
|
-
function pn(n =
|
3435
|
+
function pn(n = f()) {
|
3436
3436
|
return /iemobile/i.test(n);
|
3437
3437
|
}
|
3438
|
-
function
|
3438
|
+
function mn(n = f()) {
|
3439
3439
|
return /android/i.test(n);
|
3440
3440
|
}
|
3441
|
-
function
|
3441
|
+
function fn(n = f()) {
|
3442
3442
|
return /blackberry/i.test(n);
|
3443
3443
|
}
|
3444
|
-
function _n(n =
|
3444
|
+
function _n(n = f()) {
|
3445
3445
|
return /webos/i.test(n);
|
3446
3446
|
}
|
3447
|
-
function Ke(n =
|
3447
|
+
function Ke(n = f()) {
|
3448
3448
|
return /iphone|ipad|ipod/i.test(n) || /macintosh/i.test(n) && /mobile/i.test(n);
|
3449
3449
|
}
|
3450
|
-
function es(n =
|
3450
|
+
function es(n = f()) {
|
3451
3451
|
var e;
|
3452
3452
|
return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
|
3453
3453
|
}
|
3454
3454
|
function ts() {
|
3455
3455
|
return vr() && document.documentMode === 10;
|
3456
3456
|
}
|
3457
|
-
function gn(n =
|
3458
|
-
return Ke(n) ||
|
3457
|
+
function gn(n = f()) {
|
3458
|
+
return Ke(n) || mn(n) || _n(n) || fn(n) || /windows phone/i.test(n) || pn(n);
|
3459
3459
|
}
|
3460
3460
|
/**
|
3461
3461
|
* @license
|
@@ -3477,10 +3477,10 @@ function vn(n, e = []) {
|
|
3477
3477
|
let t;
|
3478
3478
|
switch (n) {
|
3479
3479
|
case "Browser":
|
3480
|
-
t =
|
3480
|
+
t = Tt(f());
|
3481
3481
|
break;
|
3482
3482
|
case "Worker":
|
3483
|
-
t = `${
|
3483
|
+
t = `${Tt(f())}-${n}`;
|
3484
3484
|
break;
|
3485
3485
|
default:
|
3486
3486
|
t = n;
|
@@ -3668,12 +3668,12 @@ class ss {
|
|
3668
3668
|
*/
|
3669
3669
|
class as {
|
3670
3670
|
constructor(e, t, r, i) {
|
3671
|
-
this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new
|
3671
|
+
this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new Et(this), this.idTokenSubscription = new Et(this), this.beforeStateQueue = new ns(this), this.redirectUser = null, this.isProactiveRefreshEnabled = !1, this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION = 1, this._canInitEmulator = !0, this._isInitialized = !1, this._deleted = !1, this._initializationPromise = null, this._popupRedirectResolver = null, this._errorFactory = en, this._agentRecaptchaConfig = null, this._tenantRecaptchaConfigs = {}, this._projectPasswordPolicy = null, this._tenantPasswordPolicies = {}, this.lastNotifiedUid = void 0, this.languageCode = null, this.tenantId = null, this.settings = { appVerificationDisabledForTesting: !1 }, this.frameworks = [], this.name = e.name, this.clientVersion = i.sdkClientVersion;
|
3672
3672
|
}
|
3673
3673
|
_initializeWithPersistence(e, t) {
|
3674
|
-
return t && (this._popupRedirectResolver =
|
3674
|
+
return t && (this._popupRedirectResolver = T(t)), this._initializationPromise = this.queue(async () => {
|
3675
3675
|
var r, i;
|
3676
|
-
if (!this._deleted && (this.persistenceManager = await
|
3676
|
+
if (!this._deleted && (this.persistenceManager = await H.create(this, e), !this._deleted)) {
|
3677
3677
|
if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
|
3678
3678
|
try {
|
3679
3679
|
await this._popupRedirectResolver._initialize(this);
|
@@ -3754,7 +3754,7 @@ class as {
|
|
3754
3754
|
}
|
3755
3755
|
async reloadAndSetCurrentUserOrClear(e) {
|
3756
3756
|
try {
|
3757
|
-
await
|
3757
|
+
await me(e);
|
3758
3758
|
} catch (t) {
|
3759
3759
|
if ((t == null ? void 0 : t.code) !== "auth/network-request-failed")
|
3760
3760
|
return this.directlySetCurrentUser(null);
|
@@ -3762,7 +3762,7 @@ class as {
|
|
3762
3762
|
return this.directlySetCurrentUser(e);
|
3763
3763
|
}
|
3764
3764
|
useDeviceLanguage() {
|
3765
|
-
this.languageCode =
|
3765
|
+
this.languageCode = Hi();
|
3766
3766
|
}
|
3767
3767
|
async _delete() {
|
3768
3768
|
this._deleted = !0;
|
@@ -3798,7 +3798,7 @@ class as {
|
|
3798
3798
|
}
|
3799
3799
|
setPersistence(e) {
|
3800
3800
|
return I(this.app) ? Promise.reject(P(this)) : this.queue(async () => {
|
3801
|
-
await this.assertedPersistence.setPersistence(
|
3801
|
+
await this.assertedPersistence.setPersistence(T(e));
|
3802
3802
|
});
|
3803
3803
|
}
|
3804
3804
|
_getRecaptchaConfig() {
|
@@ -3871,15 +3871,15 @@ class as {
|
|
3871
3871
|
}
|
3872
3872
|
async getOrInitRedirectPersistenceManager(e) {
|
3873
3873
|
if (!this.redirectPersistenceManager) {
|
3874
|
-
const t = e &&
|
3874
|
+
const t = e && T(e) || this._popupRedirectResolver;
|
3875
3875
|
u(
|
3876
3876
|
t,
|
3877
3877
|
this,
|
3878
3878
|
"argument-error"
|
3879
3879
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
3880
|
-
), this.redirectPersistenceManager = await
|
3880
|
+
), this.redirectPersistenceManager = await H.create(
|
3881
3881
|
this,
|
3882
|
-
[
|
3882
|
+
[T(t._redirectPersistence)],
|
3883
3883
|
"redirectUser"
|
3884
3884
|
/* KeyName.REDIRECT_USER */
|
3885
3885
|
), this.redirectUser = await this.redirectPersistenceManager.getCurrentUser();
|
@@ -4002,9 +4002,9 @@ class as {
|
|
4002
4002
|
function Ie(n) {
|
4003
4003
|
return z(n);
|
4004
4004
|
}
|
4005
|
-
class
|
4005
|
+
class Et {
|
4006
4006
|
constructor(e) {
|
4007
|
-
this.auth = e, this.observer = null, this.addObserver =
|
4007
|
+
this.auth = e, this.observer = null, this.addObserver = Rr((t) => this.observer = t);
|
4008
4008
|
}
|
4009
4009
|
get next() {
|
4010
4010
|
return u(
|
@@ -4082,7 +4082,7 @@ function us(n, e) {
|
|
4082
4082
|
return t.initialize({ options: e });
|
4083
4083
|
}
|
4084
4084
|
function hs(n, e) {
|
4085
|
-
const t = (e == null ? void 0 : e.persistence) || [], r = (Array.isArray(t) ? t : [t]).map(
|
4085
|
+
const t = (e == null ? void 0 : e.persistence) || [], r = (Array.isArray(t) ? t : [t]).map(T);
|
4086
4086
|
e != null && e.errorMap && n._updateErrorMap(e.errorMap), n._initializeWithPersistence(r, e == null ? void 0 : e.popupRedirectResolver);
|
4087
4087
|
}
|
4088
4088
|
function ps(n, e, t) {
|
@@ -4098,19 +4098,19 @@ function ps(n, e, t) {
|
|
4098
4098
|
"invalid-emulator-scheme"
|
4099
4099
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
4100
4100
|
);
|
4101
|
-
const i = !1, s = In(e), { host: a, port: c } =
|
4101
|
+
const i = !1, s = In(e), { host: a, port: c } = ms(e), o = c === null ? "" : `:${c}`;
|
4102
4102
|
r.config.emulator = { url: `${s}//${a}${o}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
|
4103
4103
|
host: a,
|
4104
4104
|
port: c,
|
4105
4105
|
protocol: s.replace(":", ""),
|
4106
4106
|
options: Object.freeze({ disableWarnings: i })
|
4107
|
-
}),
|
4107
|
+
}), fs();
|
4108
4108
|
}
|
4109
4109
|
function In(n) {
|
4110
4110
|
const e = n.indexOf(":");
|
4111
4111
|
return e < 0 ? "" : n.substr(0, e + 1);
|
4112
4112
|
}
|
4113
|
-
function
|
4113
|
+
function ms(n) {
|
4114
4114
|
const e = In(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
|
4115
4115
|
if (!t)
|
4116
4116
|
return { host: "", port: null };
|
@@ -4129,7 +4129,7 @@ function wt(n) {
|
|
4129
4129
|
const e = Number(n);
|
4130
4130
|
return isNaN(e) ? null : e;
|
4131
4131
|
}
|
4132
|
-
function
|
4132
|
+
function fs() {
|
4133
4133
|
function n() {
|
4134
4134
|
const e = document.createElement("p"), t = e.style;
|
4135
4135
|
e.innerText = "Running in emulator mode. Do not use with production credentials.", t.position = "fixed", t.width = "100%", t.backgroundColor = "#ffffff", t.border = ".1em solid #000000", t.color = "#b50000", t.bottom = "0px", t.left = "0px", t.margin = "0px", t.zIndex = "10000", t.textAlign = "center", e.classList.add("firebase-emulator-warning"), document.body.appendChild(e);
|
@@ -4194,7 +4194,7 @@ class bn {
|
|
4194
4194
|
* See the License for the specific language governing permissions and
|
4195
4195
|
* limitations under the License.
|
4196
4196
|
*/
|
4197
|
-
async function
|
4197
|
+
async function G(n, e) {
|
4198
4198
|
return sn(n, "POST", "/v1/accounts:signInWithIdp", ve(n, e));
|
4199
4199
|
}
|
4200
4200
|
/**
|
@@ -4257,17 +4257,17 @@ class U extends bn {
|
|
4257
4257
|
/** @internal */
|
4258
4258
|
_getIdTokenResponse(e) {
|
4259
4259
|
const t = this.buildRequest();
|
4260
|
-
return
|
4260
|
+
return G(e, t);
|
4261
4261
|
}
|
4262
4262
|
/** @internal */
|
4263
4263
|
_linkToIdToken(e, t) {
|
4264
4264
|
const r = this.buildRequest();
|
4265
|
-
return r.idToken = t,
|
4265
|
+
return r.idToken = t, G(e, r);
|
4266
4266
|
}
|
4267
4267
|
/** @internal */
|
4268
4268
|
_getReauthenticationResolver(e) {
|
4269
4269
|
const t = this.buildRequest();
|
4270
|
-
return t.autoCreate = !1,
|
4270
|
+
return t.autoCreate = !1, G(e, t);
|
4271
4271
|
}
|
4272
4272
|
buildRequest() {
|
4273
4273
|
const e = {
|
@@ -4598,7 +4598,7 @@ O.PROVIDER_ID = "github.com";
|
|
4598
4598
|
* See the License for the specific language governing permissions and
|
4599
4599
|
* limitations under the License.
|
4600
4600
|
*/
|
4601
|
-
class
|
4601
|
+
class N extends ne {
|
4602
4602
|
constructor() {
|
4603
4603
|
super(
|
4604
4604
|
"twitter.com"
|
@@ -4613,8 +4613,8 @@ class C extends ne {
|
|
4613
4613
|
*/
|
4614
4614
|
static credential(e, t) {
|
4615
4615
|
return U._fromParams({
|
4616
|
-
providerId:
|
4617
|
-
signInMethod:
|
4616
|
+
providerId: N.PROVIDER_ID,
|
4617
|
+
signInMethod: N.TWITTER_SIGN_IN_METHOD,
|
4618
4618
|
oauthToken: e,
|
4619
4619
|
oauthTokenSecret: t
|
4620
4620
|
});
|
@@ -4625,7 +4625,7 @@ class C extends ne {
|
|
4625
4625
|
* @param userCredential - The user credential.
|
4626
4626
|
*/
|
4627
4627
|
static credentialFromResult(e) {
|
4628
|
-
return
|
4628
|
+
return N.credentialFromTaggedObject(e);
|
4629
4629
|
}
|
4630
4630
|
/**
|
4631
4631
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4634,7 +4634,7 @@ class C extends ne {
|
|
4634
4634
|
* @param userCredential - The user credential.
|
4635
4635
|
*/
|
4636
4636
|
static credentialFromError(e) {
|
4637
|
-
return
|
4637
|
+
return N.credentialFromTaggedObject(e.customData || {});
|
4638
4638
|
}
|
4639
4639
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4640
4640
|
if (!e)
|
@@ -4643,14 +4643,14 @@ class C extends ne {
|
|
4643
4643
|
if (!t || !r)
|
4644
4644
|
return null;
|
4645
4645
|
try {
|
4646
|
-
return
|
4646
|
+
return N.credential(t, r);
|
4647
4647
|
} catch {
|
4648
4648
|
return null;
|
4649
4649
|
}
|
4650
4650
|
}
|
4651
4651
|
}
|
4652
|
-
|
4653
|
-
|
4652
|
+
N.TWITTER_SIGN_IN_METHOD = "twitter.com";
|
4653
|
+
N.PROVIDER_ID = "twitter.com";
|
4654
4654
|
/**
|
4655
4655
|
* @license
|
4656
4656
|
* Copyright 2020 Google LLC
|
@@ -4672,7 +4672,7 @@ class B {
|
|
4672
4672
|
this.user = e.user, this.providerId = e.providerId, this._tokenResponse = e._tokenResponse, this.operationType = e.operationType;
|
4673
4673
|
}
|
4674
4674
|
static async _fromIdTokenResponse(e, t, r, i = !1) {
|
4675
|
-
const s = await y._fromIdTokenResponse(e, r, i), a =
|
4675
|
+
const s = await y._fromIdTokenResponse(e, r, i), a = Rt(r);
|
4676
4676
|
return new B({
|
4677
4677
|
user: s,
|
4678
4678
|
providerId: a,
|
@@ -4686,7 +4686,7 @@ class B {
|
|
4686
4686
|
/* reload */
|
4687
4687
|
!0
|
4688
4688
|
);
|
4689
|
-
const i =
|
4689
|
+
const i = Rt(r);
|
4690
4690
|
return new B({
|
4691
4691
|
user: e,
|
4692
4692
|
providerId: i,
|
@@ -4695,7 +4695,7 @@ class B {
|
|
4695
4695
|
});
|
4696
4696
|
}
|
4697
4697
|
}
|
4698
|
-
function
|
4698
|
+
function Rt(n) {
|
4699
4699
|
return n.providerId ? n.providerId : "phoneNumber" in n ? "phone" : null;
|
4700
4700
|
}
|
4701
4701
|
/**
|
@@ -4714,10 +4714,10 @@ function kt(n) {
|
|
4714
4714
|
* See the License for the specific language governing permissions and
|
4715
4715
|
* limitations under the License.
|
4716
4716
|
*/
|
4717
|
-
class
|
4717
|
+
class fe extends M {
|
4718
4718
|
constructor(e, t, r, i) {
|
4719
4719
|
var s;
|
4720
|
-
super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this,
|
4720
|
+
super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this, fe.prototype), this.customData = {
|
4721
4721
|
appName: e.name,
|
4722
4722
|
tenantId: (s = e.tenantId) !== null && s !== void 0 ? s : void 0,
|
4723
4723
|
_serverResponse: t.customData._serverResponse,
|
@@ -4725,12 +4725,12 @@ class me extends M {
|
|
4725
4725
|
};
|
4726
4726
|
}
|
4727
4727
|
static _fromErrorAndOperation(e, t, r, i) {
|
4728
|
-
return new
|
4728
|
+
return new fe(e, t, r, i);
|
4729
4729
|
}
|
4730
4730
|
}
|
4731
|
-
function
|
4731
|
+
function Tn(n, e, t, r) {
|
4732
4732
|
return (e === "reauthenticate" ? t._getReauthenticationResolver(n) : t._getIdTokenResponse(n)).catch((s) => {
|
4733
|
-
throw s.code === "auth/multi-factor-auth-required" ?
|
4733
|
+
throw s.code === "auth/multi-factor-auth-required" ? fe._fromErrorAndOperation(n, s, e, r) : s;
|
4734
4734
|
});
|
4735
4735
|
}
|
4736
4736
|
async function gs(n, e, t = !1) {
|
@@ -4759,7 +4759,7 @@ async function vs(n, e, t = !1) {
|
|
4759
4759
|
return Promise.reject(P(r));
|
4760
4760
|
const i = "reauthenticate";
|
4761
4761
|
try {
|
4762
|
-
const s = await K(n,
|
4762
|
+
const s = await K(n, Tn(r, i, e, n), t);
|
4763
4763
|
u(
|
4764
4764
|
s.idToken,
|
4765
4765
|
r,
|
@@ -4807,7 +4807,7 @@ async function vs(n, e, t = !1) {
|
|
4807
4807
|
async function Is(n, e, t = !1) {
|
4808
4808
|
if (I(n.app))
|
4809
4809
|
return Promise.reject(P(n));
|
4810
|
-
const r = "signIn", i = await
|
4810
|
+
const r = "signIn", i = await Tn(n, r, e), s = await B._fromIdTokenResponse(n, r, i);
|
4811
4811
|
return t || await n._updateCurrentUser(s.user), s;
|
4812
4812
|
}
|
4813
4813
|
/**
|
@@ -4854,10 +4854,10 @@ async function ys(n, e) {
|
|
4854
4854
|
}), i = await B._fromIdTokenResponse(t, "signIn", r);
|
4855
4855
|
return await t._updateCurrentUser(i.user), i;
|
4856
4856
|
}
|
4857
|
-
function
|
4857
|
+
function Ts(n, e, t, r) {
|
4858
4858
|
return z(n).onIdTokenChanged(e, t, r);
|
4859
4859
|
}
|
4860
|
-
function
|
4860
|
+
function Es(n, e, t) {
|
4861
4861
|
return z(n).beforeAuthStateChanged(e, t);
|
4862
4862
|
}
|
4863
4863
|
const _e = "__sak";
|
@@ -4877,7 +4877,7 @@ const _e = "__sak";
|
|
4877
4877
|
* See the License for the specific language governing permissions and
|
4878
4878
|
* limitations under the License.
|
4879
4879
|
*/
|
4880
|
-
class
|
4880
|
+
class En {
|
4881
4881
|
constructor(e, t) {
|
4882
4882
|
this.storageRetriever = e, this.type = t;
|
4883
4883
|
}
|
@@ -4918,8 +4918,8 @@ class Tn {
|
|
4918
4918
|
* See the License for the specific language governing permissions and
|
4919
4919
|
* limitations under the License.
|
4920
4920
|
*/
|
4921
|
-
const ws = 1e3,
|
4922
|
-
class wn extends
|
4921
|
+
const ws = 1e3, Rs = 10;
|
4922
|
+
class wn extends En {
|
4923
4923
|
constructor() {
|
4924
4924
|
super(
|
4925
4925
|
() => window.localStorage,
|
@@ -4946,7 +4946,7 @@ class wn extends Tn {
|
|
4946
4946
|
const a = this.storage.getItem(r);
|
4947
4947
|
!t && this.localCache[r] === a || this.notifyListeners(r, a);
|
4948
4948
|
}, s = this.storage.getItem(r);
|
4949
|
-
ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i,
|
4949
|
+
ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, Rs) : i();
|
4950
4950
|
}
|
4951
4951
|
notifyListeners(e, t) {
|
4952
4952
|
this.localCache[e] = t;
|
@@ -4998,7 +4998,7 @@ class wn extends Tn {
|
|
4998
4998
|
}
|
4999
4999
|
}
|
5000
5000
|
wn.type = "LOCAL";
|
5001
|
-
const
|
5001
|
+
const ks = wn;
|
5002
5002
|
/**
|
5003
5003
|
* @license
|
5004
5004
|
* Copyright 2020 Google LLC
|
@@ -5015,7 +5015,7 @@ const Rs = wn;
|
|
5015
5015
|
* See the License for the specific language governing permissions and
|
5016
5016
|
* limitations under the License.
|
5017
5017
|
*/
|
5018
|
-
class
|
5018
|
+
class Rn extends En {
|
5019
5019
|
constructor() {
|
5020
5020
|
super(
|
5021
5021
|
() => window.sessionStorage,
|
@@ -5028,8 +5028,8 @@ class kn extends Tn {
|
|
5028
5028
|
_removeListener(e, t) {
|
5029
5029
|
}
|
5030
5030
|
}
|
5031
|
-
|
5032
|
-
const
|
5031
|
+
Rn.type = "SESSION";
|
5032
|
+
const kn = Rn;
|
5033
5033
|
/**
|
5034
5034
|
* @license
|
5035
5035
|
* Copyright 2019 Google LLC
|
@@ -5229,9 +5229,9 @@ class As {
|
|
5229
5229
|
a = {
|
5230
5230
|
messageChannel: i,
|
5231
5231
|
onMessage(h) {
|
5232
|
-
const
|
5233
|
-
if (
|
5234
|
-
switch (
|
5232
|
+
const m = h;
|
5233
|
+
if (m.data.eventId === l)
|
5234
|
+
switch (m.data.status) {
|
5235
5235
|
case "ack":
|
5236
5236
|
clearTimeout(d), s = setTimeout(
|
5237
5237
|
() => {
|
@@ -5245,7 +5245,7 @@ class As {
|
|
5245
5245
|
);
|
5246
5246
|
break;
|
5247
5247
|
case "done":
|
5248
|
-
clearTimeout(s), c(
|
5248
|
+
clearTimeout(s), c(m.data.response);
|
5249
5249
|
break;
|
5250
5250
|
default:
|
5251
5251
|
clearTimeout(d), clearTimeout(s), o(new Error(
|
@@ -5306,7 +5306,7 @@ function Os(n) {
|
|
5306
5306
|
function Sn() {
|
5307
5307
|
return typeof g().WorkerGlobalScope < "u" && typeof g().importScripts == "function";
|
5308
5308
|
}
|
5309
|
-
async function
|
5309
|
+
async function Ns() {
|
5310
5310
|
if (!(navigator != null && navigator.serviceWorker))
|
5311
5311
|
return null;
|
5312
5312
|
try {
|
@@ -5315,11 +5315,11 @@ async function Cs() {
|
|
5315
5315
|
return null;
|
5316
5316
|
}
|
5317
5317
|
}
|
5318
|
-
function
|
5318
|
+
function Cs() {
|
5319
5319
|
var n;
|
5320
5320
|
return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
|
5321
5321
|
}
|
5322
|
-
function
|
5322
|
+
function Ds() {
|
5323
5323
|
return Sn() ? self : null;
|
5324
5324
|
}
|
5325
5325
|
/**
|
@@ -5360,7 +5360,7 @@ function Ms() {
|
|
5360
5360
|
const n = indexedDB.deleteDatabase(An);
|
5361
5361
|
return new re(n).toPromise();
|
5362
5362
|
}
|
5363
|
-
function
|
5363
|
+
function He() {
|
5364
5364
|
const n = indexedDB.open(An, Ps);
|
5365
5365
|
return new Promise((e, t) => {
|
5366
5366
|
n.addEventListener("error", () => {
|
@@ -5374,11 +5374,11 @@ function Ve() {
|
|
5374
5374
|
}
|
5375
5375
|
}), n.addEventListener("success", async () => {
|
5376
5376
|
const r = n.result;
|
5377
|
-
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await
|
5377
|
+
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await He()));
|
5378
5378
|
});
|
5379
5379
|
});
|
5380
5380
|
}
|
5381
|
-
async function
|
5381
|
+
async function kt(n, e, t) {
|
5382
5382
|
const r = ye(n, !0).put({
|
5383
5383
|
[On]: e,
|
5384
5384
|
value: t
|
@@ -5394,14 +5394,14 @@ function St(n, e) {
|
|
5394
5394
|
return new re(t).toPromise();
|
5395
5395
|
}
|
5396
5396
|
const Us = 800, Bs = 3;
|
5397
|
-
class
|
5397
|
+
class Nn {
|
5398
5398
|
constructor() {
|
5399
5399
|
this.type = "LOCAL", this._shouldAllowMigration = !0, this.listeners = {}, this.localCache = {}, this.pollTimer = null, this.pendingWrites = 0, this.receiver = null, this.sender = null, this.serviceWorkerReceiverAvailable = !1, this.activeServiceWorker = null, this._workerInitializationPromise = this.initializeServiceWorkerMessaging().then(() => {
|
5400
5400
|
}, () => {
|
5401
5401
|
});
|
5402
5402
|
}
|
5403
5403
|
async _openDb() {
|
5404
|
-
return this.db ? this.db : (this.db = await
|
5404
|
+
return this.db ? this.db : (this.db = await He(), this.db);
|
5405
5405
|
}
|
5406
5406
|
async _withRetries(e) {
|
5407
5407
|
let t = 0;
|
@@ -5426,7 +5426,7 @@ class Cn {
|
|
5426
5426
|
* As the worker we should listen to events from the main window.
|
5427
5427
|
*/
|
5428
5428
|
async initializeReceiver() {
|
5429
|
-
this.receiver = be._getInstance(
|
5429
|
+
this.receiver = be._getInstance(Ds()), this.receiver._subscribe("keyChanged", async (e, t) => ({
|
5430
5430
|
keyProcessed: (await this._poll()).includes(t.key)
|
5431
5431
|
})), this.receiver._subscribe("ping", async (e, t) => [
|
5432
5432
|
"keyChanged"
|
@@ -5442,7 +5442,7 @@ class Cn {
|
|
5442
5442
|
*/
|
5443
5443
|
async initializeSender() {
|
5444
5444
|
var e, t;
|
5445
|
-
if (this.activeServiceWorker = await
|
5445
|
+
if (this.activeServiceWorker = await Ns(), !this.activeServiceWorker)
|
5446
5446
|
return;
|
5447
5447
|
this.sender = new As(this.activeServiceWorker);
|
5448
5448
|
const r = await this.sender._send(
|
@@ -5466,7 +5466,7 @@ class Cn {
|
|
5466
5466
|
* @param key - Storage key which changed.
|
5467
5467
|
*/
|
5468
5468
|
async notifyServiceWorker(e) {
|
5469
|
-
if (!(!this.sender || !this.activeServiceWorker ||
|
5469
|
+
if (!(!this.sender || !this.activeServiceWorker || Cs() !== this.activeServiceWorker))
|
5470
5470
|
try {
|
5471
5471
|
await this.sender._send(
|
5472
5472
|
"keyChanged",
|
@@ -5482,8 +5482,8 @@ class Cn {
|
|
5482
5482
|
try {
|
5483
5483
|
if (!indexedDB)
|
5484
5484
|
return !1;
|
5485
|
-
const e = await
|
5486
|
-
return await
|
5485
|
+
const e = await He();
|
5486
|
+
return await kt(e, _e, "1"), await St(e, _e), !0;
|
5487
5487
|
} catch {
|
5488
5488
|
}
|
5489
5489
|
return !1;
|
@@ -5497,7 +5497,7 @@ class Cn {
|
|
5497
5497
|
}
|
5498
5498
|
}
|
5499
5499
|
async _set(e, t) {
|
5500
|
-
return this._withPendingWrite(async () => (await this._withRetries((r) =>
|
5500
|
+
return this._withPendingWrite(async () => (await this._withRetries((r) => kt(r, e, t)), this.localCache[e] = t, this.notifyServiceWorker(e)));
|
5501
5501
|
}
|
5502
5502
|
async _get(e) {
|
5503
5503
|
const t = await this._withRetries((r) => Ls(r, e));
|
@@ -5543,8 +5543,8 @@ class Cn {
|
|
5543
5543
|
this.listeners[e] && (this.listeners[e].delete(t), this.listeners[e].size === 0 && delete this.listeners[e]), Object.keys(this.listeners).length === 0 && this.stopPolling();
|
5544
5544
|
}
|
5545
5545
|
}
|
5546
|
-
|
5547
|
-
const Fs =
|
5546
|
+
Nn.type = "LOCAL";
|
5547
|
+
const Fs = Nn;
|
5548
5548
|
new te(3e4, 6e4);
|
5549
5549
|
/**
|
5550
5550
|
* @license
|
@@ -5563,7 +5563,7 @@ new te(3e4, 6e4);
|
|
5563
5563
|
* limitations under the License.
|
5564
5564
|
*/
|
5565
5565
|
function xs(n, e) {
|
5566
|
-
return e ?
|
5566
|
+
return e ? T(e) : (u(
|
5567
5567
|
n._popupRedirectResolver,
|
5568
5568
|
n,
|
5569
5569
|
"argument-error"
|
@@ -5595,13 +5595,13 @@ class et extends bn {
|
|
5595
5595
|
), this.params = e;
|
5596
5596
|
}
|
5597
5597
|
_getIdTokenResponse(e) {
|
5598
|
-
return
|
5598
|
+
return G(e, this._buildIdpRequest());
|
5599
5599
|
}
|
5600
5600
|
_linkToIdToken(e, t) {
|
5601
|
-
return
|
5601
|
+
return G(e, this._buildIdpRequest(t));
|
5602
5602
|
}
|
5603
5603
|
_getReauthenticationResolver(e) {
|
5604
|
-
return
|
5604
|
+
return G(e, this._buildIdpRequest());
|
5605
5605
|
}
|
5606
5606
|
_buildIdpRequest(e) {
|
5607
5607
|
const t = {
|
@@ -5616,10 +5616,10 @@ class et extends bn {
|
|
5616
5616
|
return e && (t.idToken = e), t;
|
5617
5617
|
}
|
5618
5618
|
}
|
5619
|
-
function
|
5619
|
+
function js(n) {
|
5620
5620
|
return Is(n.auth, new et(n), n.bypassAuthState);
|
5621
5621
|
}
|
5622
|
-
function
|
5622
|
+
function Vs(n) {
|
5623
5623
|
const { auth: e, user: t } = n;
|
5624
5624
|
return u(
|
5625
5625
|
t,
|
@@ -5628,7 +5628,7 @@ function Hs(n) {
|
|
5628
5628
|
/* AuthErrorCode.INTERNAL_ERROR */
|
5629
5629
|
), vs(t, new et(n), n.bypassAuthState);
|
5630
5630
|
}
|
5631
|
-
async function
|
5631
|
+
async function Hs(n) {
|
5632
5632
|
const { auth: e, user: t } = n;
|
5633
5633
|
return u(
|
5634
5634
|
t,
|
@@ -5653,7 +5653,7 @@ async function Vs(n) {
|
|
5653
5653
|
* See the License for the specific language governing permissions and
|
5654
5654
|
* limitations under the License.
|
5655
5655
|
*/
|
5656
|
-
class
|
5656
|
+
class Cn {
|
5657
5657
|
constructor(e, t, r, i, s = !1) {
|
5658
5658
|
this.auth = e, this.resolver = r, this.user = i, this.bypassAuthState = s, this.pendingPromise = null, this.eventManager = null, this.filter = Array.isArray(t) ? t : [t];
|
5659
5659
|
}
|
@@ -5695,13 +5695,13 @@ class Dn {
|
|
5695
5695
|
switch (e) {
|
5696
5696
|
case "signInViaPopup":
|
5697
5697
|
case "signInViaRedirect":
|
5698
|
-
return
|
5698
|
+
return js;
|
5699
5699
|
case "linkViaPopup":
|
5700
5700
|
case "linkViaRedirect":
|
5701
|
-
return
|
5701
|
+
return Hs;
|
5702
5702
|
case "reauthViaPopup":
|
5703
5703
|
case "reauthViaRedirect":
|
5704
|
-
return
|
5704
|
+
return Vs;
|
5705
5705
|
default:
|
5706
5706
|
w(
|
5707
5707
|
this.auth,
|
@@ -5711,10 +5711,10 @@ class Dn {
|
|
5711
5711
|
}
|
5712
5712
|
}
|
5713
5713
|
resolve(e) {
|
5714
|
-
|
5714
|
+
R(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.resolve(e), this.unregisterAndCleanUp();
|
5715
5715
|
}
|
5716
5716
|
reject(e) {
|
5717
|
-
|
5717
|
+
R(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.reject(e), this.unregisterAndCleanUp();
|
5718
5718
|
}
|
5719
5719
|
unregisterAndCleanUp() {
|
5720
5720
|
this.eventManager && this.eventManager.unregisterConsumer(this), this.pendingPromise = null, this.cleanUp();
|
@@ -5736,8 +5736,8 @@ class Dn {
|
|
5736
5736
|
* See the License for the specific language governing permissions and
|
5737
5737
|
* limitations under the License.
|
5738
5738
|
*/
|
5739
|
-
const
|
5740
|
-
class x extends
|
5739
|
+
const Gs = new te(2e3, 1e4);
|
5740
|
+
class x extends Cn {
|
5741
5741
|
constructor(e, t, r, i, s) {
|
5742
5742
|
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, x.currentPopupAction && x.currentPopupAction.cancel(), x.currentPopupAction = this;
|
5743
5743
|
}
|
@@ -5751,7 +5751,7 @@ class x extends Dn {
|
|
5751
5751
|
), e;
|
5752
5752
|
}
|
5753
5753
|
async onExecution() {
|
5754
|
-
|
5754
|
+
R(this.filter.length === 1, "Popup operations only handle one event");
|
5755
5755
|
const e = Qe();
|
5756
5756
|
this.authWindow = await this.resolver._openPopup(
|
5757
5757
|
this.auth,
|
@@ -5800,7 +5800,7 @@ class x extends Dn {
|
|
5800
5800
|
);
|
5801
5801
|
return;
|
5802
5802
|
}
|
5803
|
-
this.pollId = window.setTimeout(e,
|
5803
|
+
this.pollId = window.setTimeout(e, Gs.get());
|
5804
5804
|
};
|
5805
5805
|
e();
|
5806
5806
|
}
|
@@ -5823,7 +5823,7 @@ x.currentPopupAction = null;
|
|
5823
5823
|
* limitations under the License.
|
5824
5824
|
*/
|
5825
5825
|
const Ws = "pendingRedirect", oe = /* @__PURE__ */ new Map();
|
5826
|
-
class zs extends
|
5826
|
+
class zs extends Cn {
|
5827
5827
|
constructor(e, t, r = !1) {
|
5828
5828
|
super(e, [
|
5829
5829
|
"signInViaRedirect",
|
@@ -5880,7 +5880,7 @@ function $s(n, e) {
|
|
5880
5880
|
oe.set(n._key(), e);
|
5881
5881
|
}
|
5882
5882
|
function Js(n) {
|
5883
|
-
return
|
5883
|
+
return T(n._redirectPersistence);
|
5884
5884
|
}
|
5885
5885
|
function Xs(n) {
|
5886
5886
|
return ae(Ws, n.config.apiKey, n.name);
|
@@ -5928,7 +5928,7 @@ class qs {
|
|
5928
5928
|
}
|
5929
5929
|
sendToConsumer(e, t) {
|
5930
5930
|
var r;
|
5931
|
-
if (e.error && !
|
5931
|
+
if (e.error && !Dn(e)) {
|
5932
5932
|
const i = ((r = e.error.code) === null || r === void 0 ? void 0 : r.split("auth/")[1]) || "internal-error";
|
5933
5933
|
t.onError(_(this.auth, i));
|
5934
5934
|
} else
|
@@ -5948,7 +5948,7 @@ class qs {
|
|
5948
5948
|
function At(n) {
|
5949
5949
|
return [n.type, n.eventId, n.sessionId, n.tenantId].filter((e) => e).join("-");
|
5950
5950
|
}
|
5951
|
-
function
|
5951
|
+
function Dn({ type: n, error: e }) {
|
5952
5952
|
return n === "unknown" && (e == null ? void 0 : e.code) === "auth/no-auth-event";
|
5953
5953
|
}
|
5954
5954
|
function Qs(n) {
|
@@ -5958,7 +5958,7 @@ function Qs(n) {
|
|
5958
5958
|
case "reauthViaRedirect":
|
5959
5959
|
return !0;
|
5960
5960
|
case "unknown":
|
5961
|
-
return
|
5961
|
+
return Dn(n);
|
5962
5962
|
default:
|
5963
5963
|
return !1;
|
5964
5964
|
}
|
@@ -6016,7 +6016,7 @@ async function ra(n) {
|
|
6016
6016
|
);
|
6017
6017
|
}
|
6018
6018
|
function ia(n) {
|
6019
|
-
const e =
|
6019
|
+
const e = je(), { protocol: t, hostname: r } = new URL(e);
|
6020
6020
|
if (n.startsWith("chrome-extension://")) {
|
6021
6021
|
const a = new URL(n);
|
6022
6022
|
return a.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && a.hostname === r;
|
@@ -6142,7 +6142,7 @@ function pa(n) {
|
|
6142
6142
|
const s = n._getFrameworks();
|
6143
6143
|
return s.length && (r.fw = s.join(",")), `${t}?${Q(r).slice(1)}`;
|
6144
6144
|
}
|
6145
|
-
async function
|
6145
|
+
async function ma(n) {
|
6146
6146
|
const e = await oa(n), t = g().gapi;
|
6147
6147
|
return u(
|
6148
6148
|
t,
|
@@ -6191,13 +6191,13 @@ async function fa(n) {
|
|
6191
6191
|
* See the License for the specific language governing permissions and
|
6192
6192
|
* limitations under the License.
|
6193
6193
|
*/
|
6194
|
-
const
|
6194
|
+
const fa = {
|
6195
6195
|
location: "yes",
|
6196
6196
|
resizable: "yes",
|
6197
6197
|
statusbar: "yes",
|
6198
6198
|
toolbar: "no"
|
6199
6199
|
}, _a = 500, ga = 600, va = "_blank", Ia = "http://localhost";
|
6200
|
-
class
|
6200
|
+
class Nt {
|
6201
6201
|
constructor(e) {
|
6202
6202
|
this.window = e, this.associatedEvent = null;
|
6203
6203
|
}
|
@@ -6212,16 +6212,16 @@ class Ct {
|
|
6212
6212
|
function ba(n, e, t, r = _a, i = ga) {
|
6213
6213
|
const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(), a = Math.max((window.screen.availWidth - r) / 2, 0).toString();
|
6214
6214
|
let c = "";
|
6215
|
-
const o = Object.assign(Object.assign({},
|
6215
|
+
const o = Object.assign(Object.assign({}, fa), {
|
6216
6216
|
width: r.toString(),
|
6217
6217
|
height: i.toString(),
|
6218
6218
|
top: s,
|
6219
6219
|
left: a
|
6220
|
-
}), l =
|
6220
|
+
}), l = f().toLowerCase();
|
6221
6221
|
t && (c = hn(l) ? va : t), dn(l) && (e = e || Ia, o.scrollbars = "yes");
|
6222
|
-
const d = Object.entries(o).reduce((
|
6222
|
+
const d = Object.entries(o).reduce((m, [v, F]) => `${m}${v}=${F},`, "");
|
6223
6223
|
if (es(l) && c !== "_self")
|
6224
|
-
return ya(e || "", c), new
|
6224
|
+
return ya(e || "", c), new Nt(null);
|
6225
6225
|
const h = window.open(e || "", c, d);
|
6226
6226
|
u(
|
6227
6227
|
h,
|
@@ -6233,7 +6233,7 @@ function ba(n, e, t, r = _a, i = ga) {
|
|
6233
6233
|
h.focus();
|
6234
6234
|
} catch {
|
6235
6235
|
}
|
6236
|
-
return new
|
6236
|
+
return new Nt(h);
|
6237
6237
|
}
|
6238
6238
|
function ya(n, e) {
|
6239
6239
|
const t = document.createElement("a");
|
@@ -6257,8 +6257,8 @@ function ya(n, e) {
|
|
6257
6257
|
* See the License for the specific language governing permissions and
|
6258
6258
|
* limitations under the License.
|
6259
6259
|
*/
|
6260
|
-
const
|
6261
|
-
async function
|
6260
|
+
const Ta = "__/auth/handler", Ea = "emulator/auth/handler", wa = encodeURIComponent("fac");
|
6261
|
+
async function Ct(n, e, t, r, i, s) {
|
6262
6262
|
u(
|
6263
6263
|
n.config.authDomain,
|
6264
6264
|
n,
|
@@ -6292,10 +6292,10 @@ async function Dt(n, e, t, r, i, s) {
|
|
6292
6292
|
for (const d of Object.keys(c))
|
6293
6293
|
c[d] === void 0 && delete c[d];
|
6294
6294
|
const o = await n._getAppCheckToken(), l = o ? `#${wa}=${encodeURIComponent(o)}` : "";
|
6295
|
-
return `${
|
6295
|
+
return `${Ra(n)}?${Q(c).slice(1)}${l}`;
|
6296
6296
|
}
|
6297
|
-
function
|
6298
|
-
return n.emulator ? Xe(n,
|
6297
|
+
function Ra({ config: n }) {
|
6298
|
+
return n.emulator ? Xe(n, Ea) : `https://${n.authDomain}/${Ta}`;
|
6299
6299
|
}
|
6300
6300
|
/**
|
6301
6301
|
* @license
|
@@ -6313,22 +6313,22 @@ function ka({ config: n }) {
|
|
6313
6313
|
* See the License for the specific language governing permissions and
|
6314
6314
|
* limitations under the License.
|
6315
6315
|
*/
|
6316
|
-
const
|
6317
|
-
class
|
6316
|
+
const De = "webStorageSupport";
|
6317
|
+
class ka {
|
6318
6318
|
constructor() {
|
6319
|
-
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence =
|
6319
|
+
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn = Ys, this._overrideRedirectResult = $s;
|
6320
6320
|
}
|
6321
6321
|
// Wrapping in async even though we don't await anywhere in order
|
6322
6322
|
// to make sure errors are raised as promise rejections
|
6323
6323
|
async _openPopup(e, t, r, i) {
|
6324
6324
|
var s;
|
6325
|
-
|
6326
|
-
const a = await
|
6325
|
+
R((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
|
6326
|
+
const a = await Ct(e, t, r, je(), i);
|
6327
6327
|
return ba(e, a, Qe());
|
6328
6328
|
}
|
6329
6329
|
async _openRedirect(e, t, r, i) {
|
6330
6330
|
await this._originValidation(e);
|
6331
|
-
const s = await
|
6331
|
+
const s = await Ct(e, t, r, je(), i);
|
6332
6332
|
return Os(s), new Promise(() => {
|
6333
6333
|
});
|
6334
6334
|
}
|
@@ -6336,7 +6336,7 @@ class Ra {
|
|
6336
6336
|
const t = e._key();
|
6337
6337
|
if (this.eventManagers[t]) {
|
6338
6338
|
const { manager: i, promise: s } = this.eventManagers[t];
|
6339
|
-
return i ? Promise.resolve(i) : (
|
6339
|
+
return i ? Promise.resolve(i) : (R(s, "If manager is not set, promise should be"), s);
|
6340
6340
|
}
|
6341
6341
|
const r = this.initAndGetManager(e);
|
6342
6342
|
return this.eventManagers[t] = { promise: r }, r.catch(() => {
|
@@ -6344,7 +6344,7 @@ class Ra {
|
|
6344
6344
|
}), r;
|
6345
6345
|
}
|
6346
6346
|
async initAndGetManager(e) {
|
6347
|
-
const t = await
|
6347
|
+
const t = await ma(e), r = new qs(e);
|
6348
6348
|
return t.register("authEvent", (i) => (u(
|
6349
6349
|
i == null ? void 0 : i.authEvent,
|
6350
6350
|
e,
|
@@ -6356,9 +6356,9 @@ class Ra {
|
|
6356
6356
|
}), gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER), this.eventManagers[e._key()] = { manager: r }, this.iframes[e._key()] = t, r;
|
6357
6357
|
}
|
6358
6358
|
_isIframeWebStorageSupported(e, t) {
|
6359
|
-
this.iframes[e._key()].send(
|
6359
|
+
this.iframes[e._key()].send(De, { type: De }, (i) => {
|
6360
6360
|
var s;
|
6361
|
-
const a = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[
|
6361
|
+
const a = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[De];
|
6362
6362
|
a !== void 0 && t(!!a), w(
|
6363
6363
|
e,
|
6364
6364
|
"internal-error"
|
@@ -6374,8 +6374,8 @@ class Ra {
|
|
6374
6374
|
return gn() || un() || Ke();
|
6375
6375
|
}
|
6376
6376
|
}
|
6377
|
-
const Sa =
|
6378
|
-
var
|
6377
|
+
const Sa = ka;
|
6378
|
+
var Dt = "@firebase/auth", Pt = "1.7.9";
|
6379
6379
|
/**
|
6380
6380
|
* @license
|
6381
6381
|
* Copyright 2020 Google LLC
|
@@ -6459,7 +6459,7 @@ function Oa(n) {
|
|
6459
6459
|
return;
|
6460
6460
|
}
|
6461
6461
|
}
|
6462
|
-
function
|
6462
|
+
function Na(n) {
|
6463
6463
|
X(new W(
|
6464
6464
|
"auth",
|
6465
6465
|
(e, { options: t }) => {
|
@@ -6500,7 +6500,7 @@ function Ca(n) {
|
|
6500
6500
|
).setInstantiationMode(
|
6501
6501
|
"EXPLICIT"
|
6502
6502
|
/* InstantiationMode.EXPLICIT */
|
6503
|
-
)),
|
6503
|
+
)), j(Dt, Pt, Oa(n)), j(Dt, Pt, "esm2017");
|
6504
6504
|
}
|
6505
6505
|
/**
|
6506
6506
|
* @license
|
@@ -6518,11 +6518,11 @@ function Ca(n) {
|
|
6518
6518
|
* See the License for the specific language governing permissions and
|
6519
6519
|
* limitations under the License.
|
6520
6520
|
*/
|
6521
|
-
const
|
6521
|
+
const Ca = 5 * 60, Da = zt("authIdTokenMaxAge") || Ca;
|
6522
6522
|
let Mt = null;
|
6523
6523
|
const Pa = (n) => async (e) => {
|
6524
6524
|
const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
|
6525
|
-
if (r && r >
|
6525
|
+
if (r && r > Da)
|
6526
6526
|
return;
|
6527
6527
|
const i = t == null ? void 0 : t.token;
|
6528
6528
|
Mt !== i && (Mt = i, await fetch(n, {
|
@@ -6532,7 +6532,7 @@ const Pa = (n) => async (e) => {
|
|
6532
6532
|
} : {}
|
6533
6533
|
}));
|
6534
6534
|
};
|
6535
|
-
function Ma(n =
|
6535
|
+
function Ma(n = ki()) {
|
6536
6536
|
const e = Xt(n, "auth");
|
6537
6537
|
if (e.isInitialized())
|
6538
6538
|
return e.getImmediate();
|
@@ -6540,18 +6540,18 @@ function Ma(n = Ri()) {
|
|
6540
6540
|
popupRedirectResolver: Sa,
|
6541
6541
|
persistence: [
|
6542
6542
|
Fs,
|
6543
|
-
|
6544
|
-
|
6543
|
+
ks,
|
6544
|
+
kn
|
6545
6545
|
]
|
6546
6546
|
}), r = zt("authTokenSyncURL");
|
6547
6547
|
if (r && typeof isSecureContext == "boolean" && isSecureContext) {
|
6548
6548
|
const s = new URL(r, location.origin);
|
6549
6549
|
if (location.origin === s.origin) {
|
6550
6550
|
const a = Pa(s.toString());
|
6551
|
-
|
6551
|
+
Es(t, a, () => a(t.currentUser)), Ts(t, (c) => a(c));
|
6552
6552
|
}
|
6553
6553
|
}
|
6554
|
-
const i =
|
6554
|
+
const i = Gt("auth");
|
6555
6555
|
return i && ps(t, `http://${i}`), t;
|
6556
6556
|
}
|
6557
6557
|
function La() {
|
@@ -6575,7 +6575,7 @@ os({
|
|
6575
6575
|
recaptchaV2Script: "https://www.google.com/recaptcha/api.js",
|
6576
6576
|
recaptchaEnterpriseScript: "https://www.google.com/recaptcha/enterprise.js?render="
|
6577
6577
|
});
|
6578
|
-
|
6578
|
+
Na(
|
6579
6579
|
"Browser"
|
6580
6580
|
/* ClientPlatform.BROWSER */
|
6581
6581
|
);
|
@@ -6591,7 +6591,7 @@ Ua.beforeEach(async (n) => {
|
|
6591
6591
|
currentBusiness: r,
|
6592
6592
|
readRestaurants: i,
|
6593
6593
|
changeRestaurant: s
|
6594
|
-
} =
|
6594
|
+
} = Ge();
|
6595
6595
|
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (Pe || (Pe = new Promise((a) => {
|
6596
6596
|
const c = $(e, (o) => {
|
6597
6597
|
var l;
|
@@ -6614,14 +6614,14 @@ Ua.beforeEach(async (n) => {
|
|
6614
6614
|
const Ba = /* @__PURE__ */ Ut({
|
6615
6615
|
__name: "AppSidebar",
|
6616
6616
|
setup(n) {
|
6617
|
-
const e =
|
6617
|
+
const e = Ge(), t = Bn(), { t: r } = Wn(), i = xn(t.currentRoute.value.name);
|
6618
6618
|
$(t.currentRoute, () => {
|
6619
6619
|
let l = t.currentRoute.value.name;
|
6620
6620
|
t.currentRoute.value.meta.parent && (l = t.currentRoute.value.meta.parent), i.value = l;
|
6621
6621
|
});
|
6622
6622
|
const s = We.map((l) => {
|
6623
|
-
var
|
6624
|
-
if (!((
|
6623
|
+
var m;
|
6624
|
+
if (!((m = l.meta) != null && m.sidebarDisplay))
|
6625
6625
|
return;
|
6626
6626
|
const d = l.meta.sidebarDisplay, h = {
|
6627
6627
|
label: d.startsWith("i18n:") ? r(d.replaceAll("i18n:", "")) : d,
|
@@ -6631,7 +6631,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6631
6631
|
return t.push({ name: l.name });
|
6632
6632
|
}
|
6633
6633
|
};
|
6634
|
-
return l.meta.sidebarNew && (h.badge = () =>
|
6634
|
+
return l.meta.sidebarNew && (h.badge = () => jn(Zn.FmPill, { label: "New" })), h;
|
6635
6635
|
}).filter((l) => !!l), a = le.map((l) => {
|
6636
6636
|
var d;
|
6637
6637
|
if ((d = l.meta) != null && d.sidebarDisplay && !l.meta.section)
|
@@ -6690,7 +6690,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6690
6690
|
const h = Bt("FmCollapsibleTabs");
|
6691
6691
|
return Ft(), xt(h, {
|
6692
6692
|
modelValue: i.value,
|
6693
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
6693
|
+
"onUpdate:modelValue": d[0] || (d[0] = (m) => i.value = m),
|
6694
6694
|
items: o.value,
|
6695
6695
|
class: "py-16 px-8 w-[240px]"
|
6696
6696
|
}, null, 8, ["modelValue", "items"]);
|
@@ -6701,21 +6701,21 @@ var Fa = { authClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2
|
|
6701
6701
|
const Za = /* @__PURE__ */ Ut({
|
6702
6702
|
__name: "App",
|
6703
6703
|
setup(n) {
|
6704
|
-
const { state: e } = sr(), t =
|
6704
|
+
const { state: e } = sr(), t = Ge(), r = Fn(), i = Yt(Fa.firebase);
|
6705
6705
|
async function s() {
|
6706
6706
|
const a = t.sessionUser.value;
|
6707
6707
|
if (!a || !a.token) return;
|
6708
6708
|
const c = await a.getCustomToken(), o = Ma(i);
|
6709
6709
|
await ys(o, c);
|
6710
6710
|
}
|
6711
|
-
return s(), $(t.sessionUser, s),
|
6711
|
+
return s(), $(t.sessionUser, s), Vn(() => {
|
6712
6712
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6713
|
-
}),
|
6713
|
+
}), Hn(() => {
|
6714
6714
|
t.registerSidebarComponent(Ba);
|
6715
6715
|
}), (a, c) => {
|
6716
6716
|
const o = Bt("RouterView");
|
6717
6717
|
return Ft(), xt(o, {
|
6718
|
-
key:
|
6718
|
+
key: Gn(r).path
|
6719
6719
|
});
|
6720
6720
|
};
|
6721
6721
|
}
|
@@ -6730,12 +6730,12 @@ export {
|
|
6730
6730
|
X as _,
|
6731
6731
|
Xt as a,
|
6732
6732
|
Wa as b,
|
6733
|
-
|
6733
|
+
ki as c,
|
6734
6734
|
za as d,
|
6735
6735
|
gt as e,
|
6736
6736
|
Ja as f,
|
6737
6737
|
z as g,
|
6738
6738
|
Za as h,
|
6739
6739
|
$a as i,
|
6740
|
-
|
6740
|
+
j as r
|
6741
6741
|
};
|