@feedmepos/mf-payment 1.1.7-beta.7 → 1.1.8
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-BQ5rAaM_.js → PayoutAccount-BAXvKwol.js} +5 -5
- package/dist/{PayoutAccount-DuB6hpcu.js → PayoutAccount-C9TC-nLW.js} +3 -3
- package/dist/{PayoutAccountSetting-Ca3Er6mO.js → PayoutAccountSetting-CsY4Dr_E.js} +3 -3
- package/dist/{Restaurant-BSNirJsW.js → Restaurant-C9GmwxpU.js} +4 -4
- package/dist/{RestaurantSetting-CFCWj1vI.js → RestaurantSetting-DaSalR0b.js} +3 -3
- package/dist/{Settlement-CglpDKp-.js → Settlement-BvUs3MyQ.js} +3 -3
- package/dist/{Settlement-B5lmGjv-.js → Settlement-C7oFzVbb.js} +3 -3
- package/dist/{SettlementTransactions-D3VwH9Nv.js → SettlementTransactions-BRo_oigl.js} +3 -3
- package/dist/{SettlementTransactions-B4TKjyFD.js → SettlementTransactions-qSgW0VCV.js} +3 -3
- package/dist/{Terminal-OckVJM_z.js → Terminal-DXGKrm3G.js} +6 -6
- package/dist/{TerminalSetting-CH5zhvRw.js → TerminalSetting-bLxGkMlN.js} +3 -3
- package/dist/{Transaction-5vRyV4UI.js → Transaction-B7ICajHR.js} +6 -6
- package/dist/{Transaction-B5_TiB_a.js → Transaction-BI2ZRsxe.js} +5 -5
- package/dist/{TransactionOld-DqN-PPVj.js → TransactionOld-GLsvtHyF.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-CUKOy2Jp.js → TransactionTable.vue_vue_type_script_setup_true_lang-UjV7RID1.js} +3 -3
- package/dist/{app-72yZMqZB.js → app-DVnyclnX.js} +351 -351
- package/dist/app.js +1 -1
- package/dist/{assets-CbjVoDOI.js → assets-BZmrImt4.js} +1 -1
- package/dist/{grafana-Ctp114L1.js → grafana-DRnPxAqM.js} +7 -7
- package/dist/{index-KDaz9nZM.js → index-BMF26WT4.js} +1 -1
- package/dist/{index-C61f-LqR.js → index-C1Hgyi3j.js} +1 -1
- package/dist/{index-CPVjR9pv.js → index-CD59SyVI.js} +1 -1
- package/dist/{index-BDAyrkug.js → index-DZMn5Qjp.js} +3452 -3450
- package/dist/{index-DYD2ecw8.js → index-a-Vqap7Z.js} +1 -1
- package/dist/{index-bonYGCVk.js → index-gSE1T266.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-CVdU92xq.js → index.vue_vue_type_script_setup_true_lang-FgXpWvbs.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-CP8g_PGq.js → payout-account-B76ODsn2.js} +2 -2
- package/package.json +1 -1
@@ -1,6 +1,6 @@
|
|
1
|
-
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as
|
2
|
-
import { computed as Lt, watch as Z, defineComponent as Ut, ref as
|
3
|
-
import { useCoreStore as Ve, useI18n as
|
1
|
+
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as xn } from "vue-router";
|
2
|
+
import { computed as Lt, watch as Z, defineComponent as Ut, ref as Fn, resolveComponent as Bt, openBlock as xt, createBlock as Ft, h as Wn, onMounted as Hn, onBeforeMount as jn, unref as Vn } from "vue";
|
3
|
+
import { useCoreStore as Ve, useI18n as Gn } from "@feedmepos/mf-common";
|
4
4
|
import { defineStore as zn } from "pinia";
|
5
5
|
import { components as $n } from "@feedmepos/ui-library";
|
6
6
|
const Zn = {
|
@@ -13,7 +13,7 @@ const Zn = {
|
|
13
13
|
transaction: "Transactions",
|
14
14
|
"transaction-new": "Transactions",
|
15
15
|
settlement: "Settlements"
|
16
|
-
},
|
16
|
+
}, Xn = {
|
17
17
|
title: "Settlements",
|
18
18
|
description: "Settlements are the finalization of financial transactions, transferring funds to complete payments.",
|
19
19
|
export: "Export",
|
@@ -72,7 +72,7 @@ const Zn = {
|
|
72
72
|
settlement_amount: "Settlement Amount"
|
73
73
|
}
|
74
74
|
}
|
75
|
-
},
|
75
|
+
}, Yn = {
|
76
76
|
title: "Transactions",
|
77
77
|
description: "Transactions are purchases or payments made over the internet using electronic methods like cards or digital wallets.",
|
78
78
|
restaurant: "Restaurant",
|
@@ -147,8 +147,8 @@ const Zn = {
|
|
147
147
|
}, qn = {
|
148
148
|
components: Zn,
|
149
149
|
routes: Jn,
|
150
|
-
settlements:
|
151
|
-
transactions:
|
150
|
+
settlements: Xn,
|
151
|
+
transactions: Yn,
|
152
152
|
payout_account: Kn
|
153
153
|
}, Qn = {
|
154
154
|
select: "选择筛选对象",
|
@@ -305,7 +305,7 @@ const Zn = {
|
|
305
305
|
sidebarDisplay: "Restaurants",
|
306
306
|
section: "payment-gateway"
|
307
307
|
},
|
308
|
-
component: () => import("./Restaurant-
|
308
|
+
component: () => import("./Restaurant-C9GmwxpU.js")
|
309
309
|
},
|
310
310
|
{
|
311
311
|
path: "/admin/restaurants/:restaurantId",
|
@@ -314,7 +314,7 @@ const Zn = {
|
|
314
314
|
meta: {
|
315
315
|
parent: "mf-payment-admin.restaurant"
|
316
316
|
},
|
317
|
-
component: () => import("./RestaurantSetting-
|
317
|
+
component: () => import("./RestaurantSetting-DaSalR0b.js")
|
318
318
|
},
|
319
319
|
{
|
320
320
|
path: "/admin/payout-accounts",
|
@@ -323,7 +323,7 @@ const Zn = {
|
|
323
323
|
sidebarDisplay: "Payout Accounts",
|
324
324
|
section: "payment-gateway"
|
325
325
|
},
|
326
|
-
component: () => import("./PayoutAccount-
|
326
|
+
component: () => import("./PayoutAccount-BAXvKwol.js")
|
327
327
|
},
|
328
328
|
{
|
329
329
|
path: "/admin/payout-accounts/:accountId",
|
@@ -332,7 +332,7 @@ const Zn = {
|
|
332
332
|
meta: {
|
333
333
|
parent: "mf-payment-admin.payout-account"
|
334
334
|
},
|
335
|
-
component: () => import("./PayoutAccountSetting-
|
335
|
+
component: () => import("./PayoutAccountSetting-CsY4Dr_E.js")
|
336
336
|
},
|
337
337
|
{
|
338
338
|
path: "/admin/terminal/pos",
|
@@ -341,7 +341,7 @@ const Zn = {
|
|
341
341
|
sidebarDisplay: "POS",
|
342
342
|
section: "device"
|
343
343
|
},
|
344
|
-
component: () => import("./Terminal-
|
344
|
+
component: () => import("./Terminal-DXGKrm3G.js"),
|
345
345
|
props: {
|
346
346
|
type: "POS"
|
347
347
|
}
|
@@ -353,7 +353,7 @@ const Zn = {
|
|
353
353
|
sidebarDisplay: "Kiosks",
|
354
354
|
section: "device"
|
355
355
|
},
|
356
|
-
component: () => import("./Terminal-
|
356
|
+
component: () => import("./Terminal-DXGKrm3G.js"),
|
357
357
|
props: {
|
358
358
|
type: "KIOSK"
|
359
359
|
}
|
@@ -365,7 +365,7 @@ const Zn = {
|
|
365
365
|
sidebarDisplay: "Terminals",
|
366
366
|
section: "device"
|
367
367
|
},
|
368
|
-
component: () => import("./Terminal-
|
368
|
+
component: () => import("./Terminal-DXGKrm3G.js"),
|
369
369
|
props: {
|
370
370
|
type: "TERMINAL"
|
371
371
|
}
|
@@ -377,7 +377,7 @@ const Zn = {
|
|
377
377
|
meta: {
|
378
378
|
parent: "mf-payment-admin.pos"
|
379
379
|
},
|
380
|
-
component: () => import("./TerminalSetting-
|
380
|
+
component: () => import("./TerminalSetting-bLxGkMlN.js")
|
381
381
|
},
|
382
382
|
{
|
383
383
|
path: "/admin/terminal/kiosk/:terminalId",
|
@@ -386,7 +386,7 @@ const Zn = {
|
|
386
386
|
meta: {
|
387
387
|
parent: "mf-payment-admin.kiosk"
|
388
388
|
},
|
389
|
-
component: () => import("./TerminalSetting-
|
389
|
+
component: () => import("./TerminalSetting-bLxGkMlN.js")
|
390
390
|
},
|
391
391
|
{
|
392
392
|
path: "/admin/terminal/terminal/:terminalId",
|
@@ -395,7 +395,7 @@ const Zn = {
|
|
395
395
|
meta: {
|
396
396
|
parent: "mf-payment-admin.terminal"
|
397
397
|
},
|
398
|
-
component: () => import("./TerminalSetting-
|
398
|
+
component: () => import("./TerminalSetting-bLxGkMlN.js")
|
399
399
|
},
|
400
400
|
{
|
401
401
|
path: "/admin/transaction",
|
@@ -403,7 +403,7 @@ const Zn = {
|
|
403
403
|
meta: {
|
404
404
|
sidebarDisplay: "Transactions"
|
405
405
|
},
|
406
|
-
component: () => import("./Transaction-
|
406
|
+
component: () => import("./Transaction-BI2ZRsxe.js")
|
407
407
|
},
|
408
408
|
{
|
409
409
|
path: "/admin/settlement",
|
@@ -411,7 +411,7 @@ const Zn = {
|
|
411
411
|
meta: {
|
412
412
|
sidebarDisplay: "Settlements"
|
413
413
|
},
|
414
|
-
component: () => import("./Settlement-
|
414
|
+
component: () => import("./Settlement-C7oFzVbb.js")
|
415
415
|
},
|
416
416
|
{
|
417
417
|
path: "/admin/settlement/:settlementId",
|
@@ -420,9 +420,9 @@ const Zn = {
|
|
420
420
|
meta: {
|
421
421
|
parent: "mf-payment-admin.settlement"
|
422
422
|
},
|
423
|
-
component: () => import("./SettlementTransactions-
|
423
|
+
component: () => import("./SettlementTransactions-qSgW0VCV.js")
|
424
424
|
}
|
425
|
-
],
|
425
|
+
], Ge = [
|
426
426
|
{
|
427
427
|
path: "",
|
428
428
|
redirect: { name: "mf-payment-payout-account" }
|
@@ -430,7 +430,7 @@ const Zn = {
|
|
430
430
|
{
|
431
431
|
path: "/payout-account",
|
432
432
|
name: "mf-payment-payout-account",
|
433
|
-
component: () => import("./PayoutAccount-
|
433
|
+
component: () => import("./PayoutAccount-C9TC-nLW.js"),
|
434
434
|
meta: {
|
435
435
|
sidebarDisplay: "i18n:routes.payout_account"
|
436
436
|
}
|
@@ -438,7 +438,7 @@ const Zn = {
|
|
438
438
|
{
|
439
439
|
path: "/transaction-old",
|
440
440
|
name: "mf-payment-old-transaction",
|
441
|
-
component: () => import("./TransactionOld-
|
441
|
+
component: () => import("./TransactionOld-GLsvtHyF.js"),
|
442
442
|
meta: {
|
443
443
|
sidebarDisplay: "i18n:routes.transaction"
|
444
444
|
}
|
@@ -446,7 +446,7 @@ const Zn = {
|
|
446
446
|
{
|
447
447
|
path: "/transaction",
|
448
448
|
name: "mf-payment-transaction",
|
449
|
-
component: () => import("./Transaction-
|
449
|
+
component: () => import("./Transaction-B7ICajHR.js"),
|
450
450
|
meta: {
|
451
451
|
sidebarDisplay: "i18n:routes.transaction-new",
|
452
452
|
sidebarNew: !0
|
@@ -455,7 +455,7 @@ const Zn = {
|
|
455
455
|
{
|
456
456
|
path: "/settlement",
|
457
457
|
name: "mf-payment-settlement",
|
458
|
-
component: () => import("./Settlement-
|
458
|
+
component: () => import("./Settlement-BvUs3MyQ.js"),
|
459
459
|
meta: {
|
460
460
|
sidebarDisplay: "i18n:routes.settlement"
|
461
461
|
}
|
@@ -464,7 +464,7 @@ const Zn = {
|
|
464
464
|
path: "/settlement/:settlementId",
|
465
465
|
name: "mf-payment-settlement-transaction",
|
466
466
|
props: !0,
|
467
|
-
component: () => import("./SettlementTransactions-
|
467
|
+
component: () => import("./SettlementTransactions-BRo_oigl.js"),
|
468
468
|
meta: {
|
469
469
|
parent: "mf-payment-settlement"
|
470
470
|
}
|
@@ -481,7 +481,7 @@ const Zn = {
|
|
481
481
|
init: t
|
482
482
|
};
|
483
483
|
});
|
484
|
-
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_bf643c60-c6db-40f5-afac-b5154cb315d8", 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_bf643c60-c6db-40f5-afac-b5154cb315d8", 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_pk5b6J4JOGkUXwbLOwgXXUpphGtDyQ0yQeKT", 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: "20250406.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.8/x64", JOURNAL_STREAM: "8:6542", 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: "14441181933", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "5ca6b41c371398ea04c42b219eadac90d124ca7d", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6MTI0YTRiMTQtOGNkMC00MDU2LWI5OTktYjYzYzBjNmE3YzVjOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDY3IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46MTI0YTRiMTQtOGNkMC00MDU2LWI5OTktYjYzYzBjNmE3YzVjOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDY3IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiM2QyNzRhOWQtM2M2My00MzM4LWEzNzUtNGM3N2ZlNDM5ZmYyIiwic2lkIjoiNzc0YjRmMmUtNTBjOS00OTMzLWJjMjUtNWNlNmYzNjRkYzY4IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjVjYTZiNDFjMzcxMzk4ZWEwNGM0MmIyMTllYWRhYzkwZDEyNGNhN2RcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQ0NDExODE5MzNcIixcInJ1bl9udW1iZXJcIjpcIjE2OFwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCI1Y2E2YjQxYzM3MTM5OGVhMDRjNDJiMjE5ZWFkYWM5MGQxMjRjYTdkXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCI1Y2E2YjQxYzM3MTM5OGVhMDRjNDJiMjE5ZWFkYWM5MGQxMjRjYTdkXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiIxMjRhNGIxNC04Y2QwLTQwNTYtYjk5OS1iNjNjMGM2YTdjNWMuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDQ2MTkyMDAsImV4cCI6MTc0NDY0MjAwMH0.EiahObMbhVKBtROShOQIy-YVvWRleRS_uUsNjCj6UUPHyD20OUukoWQdto2Vo7Qb5KQYgC3-CNGjg5WxbPrdtUbP7ouNJOfPtTRQ16bp0wgdbbgxZZknjF-sH1T_uuOYEPBswBSobGLm0Nb29Hb2kvIrHSnUuZ3_2aOCOZ_Da4Ac_eD6cVawcdBAjh18ipnIgHv_e156rLp4CYawbyyEu_CMcp4xo4KbUWA3Vd3Faelim-OYBsqKKBR8T81F0O0nhhfYHilRNveRuKD4xgb3At1eMh5SmGO6zaISpYOUL9WUAgAkKYA0qcwtz-oM7vJnKBIT9xahAVjvt1kiWAzfew", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1744619848453-0.0927857447624778:/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--1744619848293-0.7860281414443047:/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--1744619848131-0.9329961387377315:/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_341e42ec-777b-4293-9a2a-8b42ac889da8", INVOCATION_ID: "5223f6385b4d4196a779000050e5e4aa", 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: "168", 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 105", 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.7", 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: "5ca6b41c371398ea04c42b219eadac90d124ca7d", 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_bf643c60-c6db-40f5-afac-b5154cb315d8", 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/124a4b14-8cd0-4056-b999-b63c0c6a7c5c/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_bf643c60-c6db-40f5-afac-b5154cb315d8", 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_bf643c60-c6db-40f5-afac-b5154cb315d8", 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" };
|
484
|
+
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_ef66bd43-6031-4049-b7da-deccc18dc47d", 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_ef66bd43-6031-4049-b7da-deccc18dc47d", 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_HXUZoJ3nOfUiA3dmI5Uk53jKsoTX0y1B1qT9", 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: "713", 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: "20250413.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.8/x64", JOURNAL_STREAM: "8:6104", GITHUB_WORKFLOW: "payment-mf-portal-prod", _: "/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: "14561653446", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "757e37c5f793cd0c7efbe048056fe455c73a7166", 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-prod.yaml@refs/heads/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6M2I3YWNhYjQtNWVkMi00MTk4LWIyMjQtNGI1NjUwODA2M2FlOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDgxIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46M2I3YWNhYjQtNWVkMi00MTk4LWIyMjQtNGI1NjUwODA2M2FlOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDgxIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiN2U2YWZkMzktZmUwNi00NDZjLThkN2EtZjJlYmFmYWNlYjQxIiwic2lkIjoiNTlhY2U1NWYtZjAyMi00YmMyLWJmMGQtMmVhYTczMjYyYjNmIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjN9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwic2hhXCI6XCI3NTdlMzdjNWY3OTNjZDBjN2VmYmUwNDgwNTZmZTQ1NWM3M2E3MTY2XCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjE0NTYxNjUzNDQ2XCIsXCJydW5fbnVtYmVyXCI6XCI0NVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLXByb2RcIixcImhlYWRfcmVmXCI6XCJcIixcImJhc2VfcmVmXCI6XCJcIixcImV2ZW50X25hbWVcIjpcInB1c2hcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtcHJvZC55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCI3NTdlMzdjNWY3OTNjZDBjN2VmYmUwNDgwNTZmZTQ1NWM3M2E3MTY2XCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLXByb2QueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjc1N2UzN2M1Zjc5M2NkMGM3ZWZiZTA0ODA1NmZlNDU1YzczYTcxNjZcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoaWQiOiIzYjdhY2FiNC01ZWQyLTQxOTgtYjIyNC00YjU2NTA4MDYzYWUuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDUxNjg2MTIsImV4cCI6MTc0NTE5MTQxMn0.Yad_MeFF6jBMWcbbzEs2774A7Z-es0XwnQIk6HS3k3kOlxQZYCkns_e7VhvBg5x025JH60_kCl-_AAHS4OWMKz6pSq3qP988u0BYn96i96hsrx5JYRqKd7iweNO-fi0vd6NxSfZiXwTvKIRktE3o78BDab4CdMGTuZNCfffZrGiij8RuZ7myhLOWfc3wvYQohzMauAdLFKfaRSEcjMxmHVzZxoCOKuGpKhiyCwghVZJL_pOE2UwhkkWwmvkJJ0SJ06bm2lk0a6hkCtgpuGWxy8AyrwJh55wmLCOEMltvbPqaSUKySk6RJ8ouPzbPRBph0uORofID-5GjCLjntrCa8w", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1745169264958-0.9209027651321111:/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--1745169264802-0.8105289167050185:/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--1745169264644-0.12257016185266867:/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_3070b198-58ed-40fd-90ac-af0176c8ac5c", INVOCATION_ID: "536745adae6f47b78e87de0185e3e751", 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: "45", 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 464", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:prod", 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:prod", 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.8", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:prod"],"original":["deploy:prod"]}', 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: "757e37c5f793cd0c7efbe048056fe455c73a7166", 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/main", 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_ef66bd43-6031-4049-b7da-deccc18dc47d", 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/3b7acab4-5ed2-4198-b224-4b56508063ae/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_ef66bd43-6031-4049-b7da-deccc18dc47d", 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_ef66bd43-6031-4049-b7da-deccc18dc47d", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "production", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476" };
|
485
485
|
/**
|
486
486
|
* @license
|
487
487
|
* Copyright 2017 Google LLC
|
@@ -498,7 +498,7 @@ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
|
|
498
498
|
* See the License for the specific language governing permissions and
|
499
499
|
* limitations under the License.
|
500
500
|
*/
|
501
|
-
const
|
501
|
+
const Wt = function(n) {
|
502
502
|
const e = [];
|
503
503
|
let t = 0;
|
504
504
|
for (let r = 0; r < n.length; r++) {
|
@@ -585,8 +585,8 @@ const jt = function(n) {
|
|
585
585
|
const t = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
|
586
586
|
for (let i = 0; i < n.length; i += 3) {
|
587
587
|
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;
|
588
|
-
let
|
589
|
-
o || (v = 64, a || (
|
588
|
+
let m = (c & 15) << 2 | l >> 6, v = l & 63;
|
589
|
+
o || (v = 64, a || (m = 64)), r.push(t[d], t[h], t[m], t[v]);
|
590
590
|
}
|
591
591
|
return r.join("");
|
592
592
|
},
|
@@ -599,7 +599,7 @@ const jt = function(n) {
|
|
599
599
|
* @return The base64 encoded string.
|
600
600
|
*/
|
601
601
|
encodeString(n, e) {
|
602
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(
|
602
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(Wt(n), e);
|
603
603
|
},
|
604
604
|
/**
|
605
605
|
* Base64-decode a string.
|
@@ -638,12 +638,12 @@ const jt = function(n) {
|
|
638
638
|
const h = i < n.length ? t[n.charAt(i)] : 64;
|
639
639
|
if (++i, s == null || c == null || l == null || h == null)
|
640
640
|
throw new or();
|
641
|
-
const
|
642
|
-
if (r.push(
|
641
|
+
const m = s << 2 | c >> 4;
|
642
|
+
if (r.push(m), l !== 64) {
|
643
643
|
const v = c << 4 & 240 | l >> 2;
|
644
644
|
if (r.push(v), h !== 64) {
|
645
|
-
const
|
646
|
-
r.push(
|
645
|
+
const x = l << 6 & 192 | h;
|
646
|
+
r.push(x);
|
647
647
|
}
|
648
648
|
}
|
649
649
|
}
|
@@ -668,11 +668,11 @@ class or extends Error {
|
|
668
668
|
}
|
669
669
|
}
|
670
670
|
const cr = function(n) {
|
671
|
-
const e =
|
671
|
+
const e = Wt(n);
|
672
672
|
return Ht.encodeByteArray(e, !0);
|
673
673
|
}, de = function(n) {
|
674
674
|
return cr(n).replace(/\./g, "");
|
675
|
-
},
|
675
|
+
}, jt = function(n) {
|
676
676
|
try {
|
677
677
|
return Ht.decodeString(n, !0);
|
678
678
|
} catch (e) {
|
@@ -736,7 +736,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
736
736
|
} catch {
|
737
737
|
return;
|
738
738
|
}
|
739
|
-
const e = n &&
|
739
|
+
const e = n && jt(n[1]);
|
740
740
|
return e && JSON.parse(e);
|
741
741
|
}, ze = () => {
|
742
742
|
try {
|
@@ -748,7 +748,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
748
748
|
}, Vt = (n) => {
|
749
749
|
var e, t;
|
750
750
|
return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
|
751
|
-
},
|
751
|
+
}, Ga = (n) => {
|
752
752
|
const e = Vt(n);
|
753
753
|
if (!e)
|
754
754
|
return;
|
@@ -757,7 +757,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
757
757
|
throw new Error(`Invalid host ${e} with no separate hostname and port!`);
|
758
758
|
const r = parseInt(e.substring(t + 1), 10);
|
759
759
|
return e[0] === "[" ? [e.substring(1, t - 1), r] : [e.substring(0, t), r];
|
760
|
-
},
|
760
|
+
}, Gt = () => {
|
761
761
|
var n;
|
762
762
|
return (n = ze()) === null || n === void 0 ? void 0 : n.config;
|
763
763
|
}, zt = (n) => {
|
@@ -861,15 +861,15 @@ function za(n, e) {
|
|
861
861
|
* See the License for the specific language governing permissions and
|
862
862
|
* limitations under the License.
|
863
863
|
*/
|
864
|
-
function
|
864
|
+
function f() {
|
865
865
|
return typeof navigator < "u" && typeof navigator.userAgent == "string" ? navigator.userAgent : "";
|
866
866
|
}
|
867
|
-
function
|
867
|
+
function mr() {
|
868
868
|
return typeof window < "u" && // @ts-ignore Setting up an broadly applicable index signature for Window
|
869
869
|
// just to deal with this case would probably be a bad idea.
|
870
|
-
!!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(
|
870
|
+
!!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(f());
|
871
871
|
}
|
872
|
-
function
|
872
|
+
function fr() {
|
873
873
|
return typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers";
|
874
874
|
}
|
875
875
|
function _r() {
|
@@ -880,17 +880,17 @@ function gr() {
|
|
880
880
|
return typeof navigator == "object" && navigator.product === "ReactNative";
|
881
881
|
}
|
882
882
|
function vr() {
|
883
|
-
const n =
|
883
|
+
const n = f();
|
884
884
|
return n.indexOf("MSIE ") >= 0 || n.indexOf("Trident/") >= 0;
|
885
885
|
}
|
886
|
-
function
|
886
|
+
function Ir() {
|
887
887
|
try {
|
888
888
|
return typeof indexedDB == "object";
|
889
889
|
} catch {
|
890
890
|
return !1;
|
891
891
|
}
|
892
892
|
}
|
893
|
-
function
|
893
|
+
function br() {
|
894
894
|
return new Promise((n, e) => {
|
895
895
|
try {
|
896
896
|
let t = !0;
|
@@ -998,11 +998,11 @@ function Q(n) {
|
|
998
998
|
}) : e.push(encodeURIComponent(t) + "=" + encodeURIComponent(r));
|
999
999
|
return e.length ? "&" + e.join("&") : "";
|
1000
1000
|
}
|
1001
|
-
function
|
1002
|
-
const t = new
|
1001
|
+
function kr(n, e) {
|
1002
|
+
const t = new Rr(n, e);
|
1003
1003
|
return t.subscribe.bind(t);
|
1004
1004
|
}
|
1005
|
-
class
|
1005
|
+
class Rr {
|
1006
1006
|
/**
|
1007
1007
|
* @param executor Function which can make calls to a single Observer
|
1008
1008
|
* as a proxy.
|
@@ -1048,7 +1048,7 @@ class kr {
|
|
1048
1048
|
next: e,
|
1049
1049
|
error: t,
|
1050
1050
|
complete: r
|
1051
|
-
}, i.next === void 0 && (i.next =
|
1051
|
+
}, i.next === void 0 && (i.next = Re), i.error === void 0 && (i.error = Re), i.complete === void 0 && (i.complete = Re);
|
1052
1052
|
const s = this.unsubscribeOne.bind(this, this.observers.length);
|
1053
1053
|
return this.finalized && this.task.then(() => {
|
1054
1054
|
try {
|
@@ -1094,7 +1094,7 @@ function Sr(n, e) {
|
|
1094
1094
|
return !0;
|
1095
1095
|
return !1;
|
1096
1096
|
}
|
1097
|
-
function
|
1097
|
+
function Re() {
|
1098
1098
|
}
|
1099
1099
|
/**
|
1100
1100
|
* @license
|
@@ -1115,7 +1115,7 @@ function ke() {
|
|
1115
1115
|
function z(n) {
|
1116
1116
|
return n && n._delegate ? n._delegate : n;
|
1117
1117
|
}
|
1118
|
-
class
|
1118
|
+
class G {
|
1119
1119
|
/**
|
1120
1120
|
*
|
1121
1121
|
* @param name The public service name, e.g. app, auth, firestore, database
|
@@ -1309,7 +1309,7 @@ class Ar {
|
|
1309
1309
|
getOrInitializeService({ instanceIdentifier: e, options: t = {} }) {
|
1310
1310
|
let r = this.instances.get(e);
|
1311
1311
|
if (!r && this.component && (r = this.component.instanceFactory(this.container, {
|
1312
|
-
instanceIdentifier:
|
1312
|
+
instanceIdentifier: Nr(e),
|
1313
1313
|
options: t
|
1314
1314
|
}), this.instances.set(e, r), this.instancesOptions.set(e, t), this.invokeOnInitCallbacks(r, e), this.component.onInstanceCreated))
|
1315
1315
|
try {
|
@@ -1325,7 +1325,7 @@ class Ar {
|
|
1325
1325
|
return !!this.component && this.component.instantiationMode !== "EXPLICIT";
|
1326
1326
|
}
|
1327
1327
|
}
|
1328
|
-
function
|
1328
|
+
function Nr(n) {
|
1329
1329
|
return n === L ? void 0 : n;
|
1330
1330
|
}
|
1331
1331
|
function Cr(n) {
|
@@ -1347,7 +1347,7 @@ function Cr(n) {
|
|
1347
1347
|
* See the License for the specific language governing permissions and
|
1348
1348
|
* limitations under the License.
|
1349
1349
|
*/
|
1350
|
-
class
|
1350
|
+
class Or {
|
1351
1351
|
constructor(e) {
|
1352
1352
|
this.name = e, this.providers = /* @__PURE__ */ new Map();
|
1353
1353
|
}
|
@@ -1494,7 +1494,7 @@ function Br() {
|
|
1494
1494
|
IDBTransaction
|
1495
1495
|
]);
|
1496
1496
|
}
|
1497
|
-
function
|
1497
|
+
function xr() {
|
1498
1498
|
return dt || (dt = [
|
1499
1499
|
IDBCursor.prototype.advance,
|
1500
1500
|
IDBCursor.prototype.continue,
|
@@ -1502,12 +1502,12 @@ function Fr() {
|
|
1502
1502
|
]);
|
1503
1503
|
}
|
1504
1504
|
const Zt = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap();
|
1505
|
-
function
|
1505
|
+
function Fr(n) {
|
1506
1506
|
const e = new Promise((t, r) => {
|
1507
1507
|
const i = () => {
|
1508
1508
|
n.removeEventListener("success", s), n.removeEventListener("error", a);
|
1509
1509
|
}, s = () => {
|
1510
|
-
t(
|
1510
|
+
t(O(n.result)), i();
|
1511
1511
|
}, a = () => {
|
1512
1512
|
r(n.error), i();
|
1513
1513
|
};
|
@@ -1518,7 +1518,7 @@ function xr(n) {
|
|
1518
1518
|
}).catch(() => {
|
1519
1519
|
}), $e.set(e, n), e;
|
1520
1520
|
}
|
1521
|
-
function
|
1521
|
+
function Wr(n) {
|
1522
1522
|
if (Le.has(n))
|
1523
1523
|
return;
|
1524
1524
|
const e = new Promise((t, r) => {
|
@@ -1543,7 +1543,7 @@ let Ue = {
|
|
1543
1543
|
if (e === "store")
|
1544
1544
|
return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
|
1545
1545
|
}
|
1546
|
-
return
|
1546
|
+
return O(n[e]);
|
1547
1547
|
},
|
1548
1548
|
set(n, e, t) {
|
1549
1549
|
return n[e] = t, !0;
|
@@ -1555,32 +1555,32 @@ let Ue = {
|
|
1555
1555
|
function Hr(n) {
|
1556
1556
|
Ue = n(Ue);
|
1557
1557
|
}
|
1558
|
-
function
|
1558
|
+
function jr(n) {
|
1559
1559
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
1560
1560
|
const r = n.call(Ae(this), e, ...t);
|
1561
|
-
return Jt.set(r, e.sort ? e.sort() : [e]),
|
1562
|
-
} :
|
1563
|
-
return n.apply(Ae(this), e),
|
1561
|
+
return Jt.set(r, e.sort ? e.sort() : [e]), O(r);
|
1562
|
+
} : xr().includes(n) ? function(...e) {
|
1563
|
+
return n.apply(Ae(this), e), O(Zt.get(this));
|
1564
1564
|
} : function(...e) {
|
1565
|
-
return
|
1565
|
+
return O(n.apply(Ae(this), e));
|
1566
1566
|
};
|
1567
1567
|
}
|
1568
1568
|
function Vr(n) {
|
1569
|
-
return typeof n == "function" ?
|
1569
|
+
return typeof n == "function" ? jr(n) : (n instanceof IDBTransaction && Wr(n), Ur(n, Br()) ? new Proxy(n, Ue) : n);
|
1570
1570
|
}
|
1571
|
-
function
|
1571
|
+
function O(n) {
|
1572
1572
|
if (n instanceof IDBRequest)
|
1573
|
-
return
|
1573
|
+
return Fr(n);
|
1574
1574
|
if (Se.has(n))
|
1575
1575
|
return Se.get(n);
|
1576
1576
|
const e = Vr(n);
|
1577
1577
|
return e !== n && (Se.set(n, e), $e.set(e, n)), e;
|
1578
1578
|
}
|
1579
1579
|
const Ae = (n) => $e.get(n);
|
1580
|
-
function
|
1581
|
-
const a = indexedDB.open(n, e), c =
|
1580
|
+
function Gr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
1581
|
+
const a = indexedDB.open(n, e), c = O(a);
|
1582
1582
|
return r && a.addEventListener("upgradeneeded", (o) => {
|
1583
|
-
r(
|
1583
|
+
r(O(a.result), o.oldVersion, o.newVersion, O(a.transaction), o);
|
1584
1584
|
}), t && a.addEventListener("blocked", (o) => t(
|
1585
1585
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
1586
1586
|
o.oldVersion,
|
@@ -1591,12 +1591,12 @@ function Wr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
1591
1591
|
}).catch(() => {
|
1592
1592
|
}), c;
|
1593
1593
|
}
|
1594
|
-
const zr = ["get", "getKey", "getAll", "getAllKeys", "count"], $r = ["put", "add", "delete", "clear"],
|
1594
|
+
const zr = ["get", "getKey", "getAll", "getAllKeys", "count"], $r = ["put", "add", "delete", "clear"], Ne = /* @__PURE__ */ new Map();
|
1595
1595
|
function ut(n, e) {
|
1596
1596
|
if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
|
1597
1597
|
return;
|
1598
|
-
if (
|
1599
|
-
return
|
1598
|
+
if (Ne.get(e))
|
1599
|
+
return Ne.get(e);
|
1600
1600
|
const t = e.replace(/FromIndex$/, ""), r = e !== t, i = $r.includes(t);
|
1601
1601
|
if (
|
1602
1602
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
@@ -1611,7 +1611,7 @@ function ut(n, e) {
|
|
1611
1611
|
i && o.done
|
1612
1612
|
]))[0];
|
1613
1613
|
};
|
1614
|
-
return
|
1614
|
+
return Ne.set(e, s), s;
|
1615
1615
|
}
|
1616
1616
|
Hr((n) => ({
|
1617
1617
|
...n,
|
@@ -1671,7 +1671,7 @@ const Be = "@firebase/app", ht = "0.10.13";
|
|
1671
1671
|
* See the License for the specific language governing permissions and
|
1672
1672
|
* limitations under the License.
|
1673
1673
|
*/
|
1674
|
-
const T = new $t("@firebase/app"),
|
1674
|
+
const T = new $t("@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";
|
1675
1675
|
/**
|
1676
1676
|
* @license
|
1677
1677
|
* Copyright 2019 Google LLC
|
@@ -1688,11 +1688,11 @@ const T = new $t("@firebase/app"), Yr = "@firebase/app-compat", Xr = "@firebase/
|
|
1688
1688
|
* See the License for the specific language governing permissions and
|
1689
1689
|
* limitations under the License.
|
1690
1690
|
*/
|
1691
|
-
const
|
1691
|
+
const xe = "[DEFAULT]", Ei = {
|
1692
1692
|
[Be]: "fire-core",
|
1693
|
-
[
|
1693
|
+
[Xr]: "fire-core-compat",
|
1694
1694
|
[Kr]: "fire-analytics",
|
1695
|
-
[
|
1695
|
+
[Yr]: "fire-analytics-compat",
|
1696
1696
|
[Qr]: "fire-app-check",
|
1697
1697
|
[qr]: "fire-app-check-compat",
|
1698
1698
|
[ei]: "fire-auth",
|
@@ -1709,14 +1709,14 @@ const Fe = "[DEFAULT]", Ei = {
|
|
1709
1709
|
[ui]: "fire-perf",
|
1710
1710
|
[hi]: "fire-perf-compat",
|
1711
1711
|
[pi]: "fire-rc",
|
1712
|
-
[
|
1713
|
-
[
|
1712
|
+
[mi]: "fire-rc-compat",
|
1713
|
+
[fi]: "fire-gcs",
|
1714
1714
|
[_i]: "fire-gcs-compat",
|
1715
1715
|
[gi]: "fire-fst",
|
1716
|
-
[
|
1716
|
+
[Ii]: "fire-fst-compat",
|
1717
1717
|
[vi]: "fire-vertex",
|
1718
1718
|
"fire-js": "fire-js",
|
1719
|
-
[
|
1719
|
+
[bi]: "fire-js-all"
|
1720
1720
|
};
|
1721
1721
|
/**
|
1722
1722
|
* @license
|
@@ -1734,7 +1734,7 @@ const Fe = "[DEFAULT]", Ei = {
|
|
1734
1734
|
* See the License for the specific language governing permissions and
|
1735
1735
|
* limitations under the License.
|
1736
1736
|
*/
|
1737
|
-
const he = /* @__PURE__ */ new Map(), Ti = /* @__PURE__ */ new Map(),
|
1737
|
+
const he = /* @__PURE__ */ new Map(), Ti = /* @__PURE__ */ new Map(), Fe = /* @__PURE__ */ new Map();
|
1738
1738
|
function pt(n, e) {
|
1739
1739
|
try {
|
1740
1740
|
n.container.addComponent(e);
|
@@ -1742,22 +1742,22 @@ function pt(n, e) {
|
|
1742
1742
|
T.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
|
1743
1743
|
}
|
1744
1744
|
}
|
1745
|
-
function
|
1745
|
+
function X(n) {
|
1746
1746
|
const e = n.name;
|
1747
|
-
if (
|
1747
|
+
if (Fe.has(e))
|
1748
1748
|
return T.debug(`There were multiple attempts to register component ${e}.`), !1;
|
1749
|
-
|
1749
|
+
Fe.set(e, n);
|
1750
1750
|
for (const t of he.values())
|
1751
1751
|
pt(t, n);
|
1752
1752
|
for (const t of Ti.values())
|
1753
1753
|
pt(t, n);
|
1754
1754
|
return !0;
|
1755
1755
|
}
|
1756
|
-
function
|
1756
|
+
function Xt(n, e) {
|
1757
1757
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1758
1758
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1759
1759
|
}
|
1760
|
-
function
|
1760
|
+
function I(n) {
|
1761
1761
|
return n.settings !== void 0;
|
1762
1762
|
}
|
1763
1763
|
/**
|
@@ -1808,9 +1808,9 @@ const wi = {
|
|
1808
1808
|
* See the License for the specific language governing permissions and
|
1809
1809
|
* limitations under the License.
|
1810
1810
|
*/
|
1811
|
-
class
|
1811
|
+
class ki {
|
1812
1812
|
constructor(e, t, r) {
|
1813
|
-
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
|
1813
|
+
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 G(
|
1814
1814
|
"app",
|
1815
1815
|
() => this,
|
1816
1816
|
"PUBLIC"
|
@@ -1867,15 +1867,15 @@ class Ri {
|
|
1867
1867
|
* limitations under the License.
|
1868
1868
|
*/
|
1869
1869
|
const ee = yi;
|
1870
|
-
function
|
1870
|
+
function Yt(n, e = {}) {
|
1871
1871
|
let t = n;
|
1872
1872
|
typeof e != "object" && (e = { name: e });
|
1873
|
-
const r = Object.assign({ name:
|
1873
|
+
const r = Object.assign({ name: xe, automaticDataCollectionEnabled: !1 }, e), i = r.name;
|
1874
1874
|
if (typeof i != "string" || !i)
|
1875
1875
|
throw D.create("bad-app-name", {
|
1876
1876
|
appName: String(i)
|
1877
1877
|
});
|
1878
|
-
if (t || (t =
|
1878
|
+
if (t || (t = Gt()), !t)
|
1879
1879
|
throw D.create(
|
1880
1880
|
"no-options"
|
1881
1881
|
/* AppError.NO_OPTIONS */
|
@@ -1886,21 +1886,21 @@ function Xt(n, e = {}) {
|
|
1886
1886
|
return s;
|
1887
1887
|
throw D.create("duplicate-app", { appName: i });
|
1888
1888
|
}
|
1889
|
-
const a = new
|
1890
|
-
for (const o of
|
1889
|
+
const a = new Or(i);
|
1890
|
+
for (const o of Fe.values())
|
1891
1891
|
a.addComponent(o);
|
1892
|
-
const c = new
|
1892
|
+
const c = new ki(t, r, a);
|
1893
1893
|
return he.set(i, c), c;
|
1894
1894
|
}
|
1895
|
-
function
|
1895
|
+
function Ri(n = xe) {
|
1896
1896
|
const e = he.get(n);
|
1897
|
-
if (!e && n ===
|
1898
|
-
return
|
1897
|
+
if (!e && n === xe && Gt())
|
1898
|
+
return Yt();
|
1899
1899
|
if (!e)
|
1900
1900
|
throw D.create("no-app", { appName: n });
|
1901
1901
|
return e;
|
1902
1902
|
}
|
1903
|
-
function
|
1903
|
+
function W(n, e, t) {
|
1904
1904
|
var r;
|
1905
1905
|
let i = (r = Ei[n]) !== null && r !== void 0 ? r : n;
|
1906
1906
|
t && (i += `-${t}`);
|
@@ -1912,7 +1912,7 @@ function j(n, e, t) {
|
|
1912
1912
|
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 "/")`), T.warn(c.join(" "));
|
1913
1913
|
return;
|
1914
1914
|
}
|
1915
|
-
|
1915
|
+
X(new G(
|
1916
1916
|
`${i}-version`,
|
1917
1917
|
() => ({ library: i, version: e }),
|
1918
1918
|
"VERSION"
|
@@ -1935,15 +1935,15 @@ function j(n, e, t) {
|
|
1935
1935
|
* See the License for the specific language governing permissions and
|
1936
1936
|
* limitations under the License.
|
1937
1937
|
*/
|
1938
|
-
const Si = "firebase-heartbeat-database", Ai = 1,
|
1938
|
+
const Si = "firebase-heartbeat-database", Ai = 1, Y = "firebase-heartbeat-store";
|
1939
1939
|
let Ce = null;
|
1940
1940
|
function Kt() {
|
1941
|
-
return Ce || (Ce =
|
1941
|
+
return Ce || (Ce = Gr(Si, Ai, {
|
1942
1942
|
upgrade: (n, e) => {
|
1943
1943
|
switch (e) {
|
1944
1944
|
case 0:
|
1945
1945
|
try {
|
1946
|
-
n.createObjectStore(
|
1946
|
+
n.createObjectStore(Y);
|
1947
1947
|
} catch (t) {
|
1948
1948
|
console.warn(t);
|
1949
1949
|
}
|
@@ -1955,9 +1955,9 @@ function Kt() {
|
|
1955
1955
|
});
|
1956
1956
|
})), Ce;
|
1957
1957
|
}
|
1958
|
-
async function
|
1958
|
+
async function Ni(n) {
|
1959
1959
|
try {
|
1960
|
-
const t = (await Kt()).transaction(
|
1960
|
+
const t = (await Kt()).transaction(Y), r = await t.objectStore(Y).get(qt(n));
|
1961
1961
|
return await t.done, r;
|
1962
1962
|
} catch (e) {
|
1963
1963
|
if (e instanceof M)
|
@@ -1970,10 +1970,10 @@ async function Oi(n) {
|
|
1970
1970
|
}
|
1971
1971
|
}
|
1972
1972
|
}
|
1973
|
-
async function
|
1973
|
+
async function mt(n, e) {
|
1974
1974
|
try {
|
1975
|
-
const r = (await Kt()).transaction(
|
1976
|
-
await r.objectStore(
|
1975
|
+
const r = (await Kt()).transaction(Y, "readwrite");
|
1976
|
+
await r.objectStore(Y).put(e, qt(n)), await r.done;
|
1977
1977
|
} catch (t) {
|
1978
1978
|
if (t instanceof M)
|
1979
1979
|
T.warn(t.message);
|
@@ -2004,7 +2004,7 @@ function qt(n) {
|
|
2004
2004
|
* See the License for the specific language governing permissions and
|
2005
2005
|
* limitations under the License.
|
2006
2006
|
*/
|
2007
|
-
const Ci = 1024,
|
2007
|
+
const Ci = 1024, Oi = 30 * 24 * 60 * 60 * 1e3;
|
2008
2008
|
class Di {
|
2009
2009
|
constructor(e) {
|
2010
2010
|
this.container = e, this._heartbeatsCache = null;
|
@@ -2021,10 +2021,10 @@ class Di {
|
|
2021
2021
|
async triggerHeartbeat() {
|
2022
2022
|
var e, t;
|
2023
2023
|
try {
|
2024
|
-
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s =
|
2024
|
+
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = ft();
|
2025
2025
|
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) => {
|
2026
2026
|
const c = new Date(a.date).valueOf();
|
2027
|
-
return Date.now() - c <=
|
2027
|
+
return Date.now() - c <= Oi;
|
2028
2028
|
}), this._storage.overwrite(this._heartbeatsCache));
|
2029
2029
|
} catch (r) {
|
2030
2030
|
T.warn(r);
|
@@ -2042,14 +2042,14 @@ class Di {
|
|
2042
2042
|
try {
|
2043
2043
|
if (this._heartbeatsCache === null && await this._heartbeatsCachePromise, ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null || this._heartbeatsCache.heartbeats.length === 0)
|
2044
2044
|
return "";
|
2045
|
-
const t =
|
2045
|
+
const t = ft(), { heartbeatsToSend: r, unsentEntries: i } = Pi(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
|
2046
2046
|
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;
|
2047
2047
|
} catch (t) {
|
2048
2048
|
return T.warn(t), "";
|
2049
2049
|
}
|
2050
2050
|
}
|
2051
2051
|
}
|
2052
|
-
function
|
2052
|
+
function ft() {
|
2053
2053
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
2054
2054
|
}
|
2055
2055
|
function Pi(n, e = Ci) {
|
@@ -2081,14 +2081,14 @@ class Mi {
|
|
2081
2081
|
this.app = e, this._canUseIndexedDBPromise = this.runIndexedDBEnvironmentCheck();
|
2082
2082
|
}
|
2083
2083
|
async runIndexedDBEnvironmentCheck() {
|
2084
|
-
return
|
2084
|
+
return Ir() ? br().then(() => !0).catch(() => !1) : !1;
|
2085
2085
|
}
|
2086
2086
|
/**
|
2087
2087
|
* Read all heartbeats.
|
2088
2088
|
*/
|
2089
2089
|
async read() {
|
2090
2090
|
if (await this._canUseIndexedDBPromise) {
|
2091
|
-
const t = await
|
2091
|
+
const t = await Ni(this.app);
|
2092
2092
|
return t != null && t.heartbeats ? t : { heartbeats: [] };
|
2093
2093
|
} else
|
2094
2094
|
return { heartbeats: [] };
|
@@ -2098,7 +2098,7 @@ class Mi {
|
|
2098
2098
|
var t;
|
2099
2099
|
if (await this._canUseIndexedDBPromise) {
|
2100
2100
|
const i = await this.read();
|
2101
|
-
return
|
2101
|
+
return mt(this.app, {
|
2102
2102
|
lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
|
2103
2103
|
heartbeats: e.heartbeats
|
2104
2104
|
});
|
@@ -2110,7 +2110,7 @@ class Mi {
|
|
2110
2110
|
var t;
|
2111
2111
|
if (await this._canUseIndexedDBPromise) {
|
2112
2112
|
const i = await this.read();
|
2113
|
-
return
|
2113
|
+
return mt(this.app, {
|
2114
2114
|
lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
|
2115
2115
|
heartbeats: [
|
2116
2116
|
...i.heartbeats,
|
@@ -2144,17 +2144,17 @@ function _t(n) {
|
|
2144
2144
|
* limitations under the License.
|
2145
2145
|
*/
|
2146
2146
|
function Li(n) {
|
2147
|
-
|
2147
|
+
X(new G(
|
2148
2148
|
"platform-logger",
|
2149
2149
|
(e) => new Zr(e),
|
2150
2150
|
"PRIVATE"
|
2151
2151
|
/* ComponentType.PRIVATE */
|
2152
|
-
)),
|
2152
|
+
)), X(new G(
|
2153
2153
|
"heartbeat",
|
2154
2154
|
(e) => new Di(e),
|
2155
2155
|
"PRIVATE"
|
2156
2156
|
/* ComponentType.PRIVATE */
|
2157
|
-
)),
|
2157
|
+
)), W(Be, ht, n), W(Be, ht, "esm2017"), W("fire-js", "");
|
2158
2158
|
}
|
2159
2159
|
Li("");
|
2160
2160
|
var Ui = "firebase", Bi = "10.14.1";
|
@@ -2174,7 +2174,7 @@ var Ui = "firebase", Bi = "10.14.1";
|
|
2174
2174
|
* See the License for the specific language governing permissions and
|
2175
2175
|
* limitations under the License.
|
2176
2176
|
*/
|
2177
|
-
|
2177
|
+
W(Ui, Bi, "app");
|
2178
2178
|
var gt = function() {
|
2179
2179
|
return gt = Object.assign || function(e) {
|
2180
2180
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
@@ -2197,7 +2197,7 @@ function Qt() {
|
|
2197
2197
|
"dependent-sdk-initialized-before-auth": "Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."
|
2198
2198
|
};
|
2199
2199
|
}
|
2200
|
-
const
|
2200
|
+
const xi = Qt, en = new q("auth", "Firebase", Qt());
|
2201
2201
|
/**
|
2202
2202
|
* @license
|
2203
2203
|
* Copyright 2020 Google LLC
|
@@ -2215,7 +2215,7 @@ const Fi = Qt, en = new q("auth", "Firebase", Qt());
|
|
2215
2215
|
* limitations under the License.
|
2216
2216
|
*/
|
2217
2217
|
const pe = new $t("@firebase/auth");
|
2218
|
-
function
|
2218
|
+
function Fi(n, ...e) {
|
2219
2219
|
pe.logLevel <= p.WARN && pe.warn(`Auth (${ee}): ${n}`, ...e);
|
2220
2220
|
}
|
2221
2221
|
function se(n, ...e) {
|
@@ -2244,7 +2244,7 @@ function _(n, ...e) {
|
|
2244
2244
|
return Je(n, ...e);
|
2245
2245
|
}
|
2246
2246
|
function tn(n, e, t) {
|
2247
|
-
const r = Object.assign(Object.assign({},
|
2247
|
+
const r = Object.assign(Object.assign({}, xi()), { [e]: t });
|
2248
2248
|
return new q("auth", "Firebase", r).create(e, {
|
2249
2249
|
appName: n.name
|
2250
2250
|
});
|
@@ -2263,12 +2263,12 @@ function u(n, e, ...t) {
|
|
2263
2263
|
if (!n)
|
2264
2264
|
throw Je(e, ...t);
|
2265
2265
|
}
|
2266
|
-
function
|
2266
|
+
function b(n) {
|
2267
2267
|
const e = "INTERNAL ASSERTION FAILED: " + n;
|
2268
2268
|
throw se(e), new Error(e);
|
2269
2269
|
}
|
2270
|
-
function
|
2271
|
-
n ||
|
2270
|
+
function k(n, e) {
|
2271
|
+
n || b(e);
|
2272
2272
|
}
|
2273
2273
|
/**
|
2274
2274
|
* @license
|
@@ -2286,11 +2286,11 @@ function R(n, e) {
|
|
2286
2286
|
* See the License for the specific language governing permissions and
|
2287
2287
|
* limitations under the License.
|
2288
2288
|
*/
|
2289
|
-
function
|
2289
|
+
function We() {
|
2290
2290
|
var n;
|
2291
2291
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
|
2292
2292
|
}
|
2293
|
-
function
|
2293
|
+
function Wi() {
|
2294
2294
|
return vt() === "http:" || vt() === "https:";
|
2295
2295
|
}
|
2296
2296
|
function vt() {
|
@@ -2319,9 +2319,9 @@ function Hi() {
|
|
2319
2319
|
// navigator.onLine behavior unless cordova-plugin-network-information is
|
2320
2320
|
// installed which overwrites the native navigator.onLine value and
|
2321
2321
|
// defines navigator.connection.
|
2322
|
-
(
|
2322
|
+
(Wi() || _r() || "connection" in navigator) ? navigator.onLine : !0;
|
2323
2323
|
}
|
2324
|
-
function
|
2324
|
+
function ji() {
|
2325
2325
|
if (typeof navigator > "u")
|
2326
2326
|
return null;
|
2327
2327
|
const n = navigator;
|
@@ -2351,7 +2351,7 @@ function Gi() {
|
|
2351
2351
|
*/
|
2352
2352
|
class te {
|
2353
2353
|
constructor(e, t) {
|
2354
|
-
this.shortDelay = e, this.longDelay = t,
|
2354
|
+
this.shortDelay = e, this.longDelay = t, k(t > e, "Short delay should be less than long delay!"), this.isMobile = mr() || gr();
|
2355
2355
|
}
|
2356
2356
|
get() {
|
2357
2357
|
return Hi() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
|
@@ -2373,8 +2373,8 @@ class te {
|
|
2373
2373
|
* See the License for the specific language governing permissions and
|
2374
2374
|
* limitations under the License.
|
2375
2375
|
*/
|
2376
|
-
function
|
2377
|
-
|
2376
|
+
function Xe(n, e) {
|
2377
|
+
k(n.emulator, "Emulator should always be set here");
|
2378
2378
|
const { url: t } = n.emulator;
|
2379
2379
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
2380
2380
|
}
|
@@ -2407,7 +2407,7 @@ class nn {
|
|
2407
2407
|
return globalThis.fetch;
|
2408
2408
|
if (typeof fetch < "u")
|
2409
2409
|
return fetch;
|
2410
|
-
|
2410
|
+
b("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
|
2411
2411
|
}
|
2412
2412
|
static headers() {
|
2413
2413
|
if (this.headersImpl)
|
@@ -2418,7 +2418,7 @@ class nn {
|
|
2418
2418
|
return globalThis.Headers;
|
2419
2419
|
if (typeof Headers < "u")
|
2420
2420
|
return Headers;
|
2421
|
-
|
2421
|
+
b("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
|
2422
2422
|
}
|
2423
2423
|
static response() {
|
2424
2424
|
if (this.responseImpl)
|
@@ -2429,7 +2429,7 @@ class nn {
|
|
2429
2429
|
return globalThis.Response;
|
2430
2430
|
if (typeof Response < "u")
|
2431
2431
|
return Response;
|
2432
|
-
|
2432
|
+
b("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill");
|
2433
2433
|
}
|
2434
2434
|
}
|
2435
2435
|
/**
|
@@ -2539,7 +2539,7 @@ const Vi = {
|
|
2539
2539
|
* See the License for the specific language governing permissions and
|
2540
2540
|
* limitations under the License.
|
2541
2541
|
*/
|
2542
|
-
const
|
2542
|
+
const Gi = new te(3e4, 6e4);
|
2543
2543
|
function ve(n, e) {
|
2544
2544
|
return n.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: n.tenantId }) : e;
|
2545
2545
|
}
|
@@ -2561,7 +2561,7 @@ async function $(n, e, t, r, i = {}) {
|
|
2561
2561
|
method: e,
|
2562
2562
|
headers: o
|
2563
2563
|
}, s);
|
2564
|
-
return
|
2564
|
+
return fr() || (l.referrerPolicy = "no-referrer"), nn.fetch()(an(n, n.config.apiHost, t, c), l);
|
2565
2565
|
});
|
2566
2566
|
}
|
2567
2567
|
async function rn(n, e, t) {
|
@@ -2605,7 +2605,7 @@ async function sn(n, e, t, r, i = {}) {
|
|
2605
2605
|
}
|
2606
2606
|
function an(n, e, t, r) {
|
2607
2607
|
const i = `${e}${t}?${r}`;
|
2608
|
-
return n.config.emulator ?
|
2608
|
+
return n.config.emulator ? Xe(n.config, i) : `${n.config.apiScheme}://${i}`;
|
2609
2609
|
}
|
2610
2610
|
class zi {
|
2611
2611
|
constructor(e) {
|
@@ -2614,7 +2614,7 @@ class zi {
|
|
2614
2614
|
this.auth,
|
2615
2615
|
"network-request-failed"
|
2616
2616
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
2617
|
-
)),
|
2617
|
+
)), Gi.get());
|
2618
2618
|
});
|
2619
2619
|
}
|
2620
2620
|
clearNetworkTimeout() {
|
@@ -2677,7 +2677,7 @@ function J(n) {
|
|
2677
2677
|
}
|
2678
2678
|
}
|
2679
2679
|
async function Zi(n, e = !1) {
|
2680
|
-
const t = z(n), r = await t.getIdToken(e), i =
|
2680
|
+
const t = z(n), r = await t.getIdToken(e), i = Ye(r);
|
2681
2681
|
u(
|
2682
2682
|
i && i.exp && i.auth_time && i.iat,
|
2683
2683
|
t.auth,
|
@@ -2688,29 +2688,29 @@ async function Zi(n, e = !1) {
|
|
2688
2688
|
return {
|
2689
2689
|
claims: i,
|
2690
2690
|
token: r,
|
2691
|
-
authTime: J(
|
2692
|
-
issuedAtTime: J(
|
2693
|
-
expirationTime: J(
|
2691
|
+
authTime: J(Oe(i.auth_time)),
|
2692
|
+
issuedAtTime: J(Oe(i.iat)),
|
2693
|
+
expirationTime: J(Oe(i.exp)),
|
2694
2694
|
signInProvider: a || null,
|
2695
2695
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2696
2696
|
};
|
2697
2697
|
}
|
2698
|
-
function
|
2698
|
+
function Oe(n) {
|
2699
2699
|
return Number(n) * 1e3;
|
2700
2700
|
}
|
2701
|
-
function
|
2701
|
+
function Ye(n) {
|
2702
2702
|
const [e, t, r] = n.split(".");
|
2703
2703
|
if (e === void 0 || t === void 0 || r === void 0)
|
2704
2704
|
return se("JWT malformed, contained fewer than 3 sections"), null;
|
2705
2705
|
try {
|
2706
|
-
const i =
|
2706
|
+
const i = jt(t);
|
2707
2707
|
return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
|
2708
2708
|
} catch (i) {
|
2709
2709
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
2710
2710
|
}
|
2711
2711
|
}
|
2712
|
-
function
|
2713
|
-
const e =
|
2712
|
+
function It(n) {
|
2713
|
+
const e = Ye(n);
|
2714
2714
|
return u(
|
2715
2715
|
e,
|
2716
2716
|
"internal-error"
|
@@ -2769,7 +2769,7 @@ function Ji({ code: n }) {
|
|
2769
2769
|
* See the License for the specific language governing permissions and
|
2770
2770
|
* limitations under the License.
|
2771
2771
|
*/
|
2772
|
-
class
|
2772
|
+
class Xi {
|
2773
2773
|
constructor(e) {
|
2774
2774
|
this.user = e, this.isRunning = !1, this.timerId = null, this.errorBackoff = 3e4;
|
2775
2775
|
}
|
@@ -2864,7 +2864,7 @@ class He {
|
|
2864
2864
|
* See the License for the specific language governing permissions and
|
2865
2865
|
* limitations under the License.
|
2866
2866
|
*/
|
2867
|
-
async function
|
2867
|
+
async function me(n) {
|
2868
2868
|
var e;
|
2869
2869
|
const t = n.auth, r = await n.getIdToken(), i = await K(n, on(t, { idToken: r }));
|
2870
2870
|
u(
|
@@ -2889,9 +2889,9 @@ async function fe(n) {
|
|
2889
2889
|
};
|
2890
2890
|
Object.assign(n, h);
|
2891
2891
|
}
|
2892
|
-
async function
|
2892
|
+
async function Yi(n) {
|
2893
2893
|
const e = z(n);
|
2894
|
-
await
|
2894
|
+
await me(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
|
2895
2895
|
}
|
2896
2896
|
function Ki(n, e) {
|
2897
2897
|
return [...n.filter((r) => !e.some((i) => i.providerId === r.providerId)), ...e];
|
@@ -2986,7 +2986,7 @@ class H {
|
|
2986
2986
|
"internal-error"
|
2987
2987
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2988
2988
|
);
|
2989
|
-
const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) :
|
2989
|
+
const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) : It(e.idToken);
|
2990
2990
|
this.updateTokensAndExpiration(e.idToken, e.refreshToken, t);
|
2991
2991
|
}
|
2992
2992
|
updateFromIdToken(e) {
|
@@ -2995,7 +2995,7 @@ class H {
|
|
2995
2995
|
"internal-error"
|
2996
2996
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2997
2997
|
);
|
2998
|
-
const t =
|
2998
|
+
const t = It(e);
|
2999
2999
|
this.updateTokensAndExpiration(e, null, t);
|
3000
3000
|
}
|
3001
3001
|
async getToken(e, t = !1) {
|
@@ -3040,7 +3040,7 @@ class H {
|
|
3040
3040
|
return Object.assign(new H(), this.toJSON());
|
3041
3041
|
}
|
3042
3042
|
_performRefresh() {
|
3043
|
-
return
|
3043
|
+
return b("not implemented");
|
3044
3044
|
}
|
3045
3045
|
}
|
3046
3046
|
/**
|
@@ -3059,13 +3059,13 @@ class H {
|
|
3059
3059
|
* See the License for the specific language governing permissions and
|
3060
3060
|
* limitations under the License.
|
3061
3061
|
*/
|
3062
|
-
function
|
3062
|
+
function R(n, e) {
|
3063
3063
|
u(typeof n == "string" || typeof n > "u", "internal-error", { appName: e });
|
3064
3064
|
}
|
3065
3065
|
class y {
|
3066
3066
|
constructor(e) {
|
3067
3067
|
var { uid: t, auth: r, stsTokenManager: i } = e, s = Ze(e, ["uid", "auth", "stsTokenManager"]);
|
3068
|
-
this.providerId = "firebase", this.proactiveRefresh = new
|
3068
|
+
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 He(s.createdAt || void 0, s.lastLoginAt || void 0);
|
3069
3069
|
}
|
3070
3070
|
async getIdToken(e) {
|
3071
3071
|
const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
|
@@ -3080,7 +3080,7 @@ class y {
|
|
3080
3080
|
return Zi(this, e);
|
3081
3081
|
}
|
3082
3082
|
reload() {
|
3083
|
-
return
|
3083
|
+
return Yi(this);
|
3084
3084
|
}
|
3085
3085
|
_assign(e) {
|
3086
3086
|
this !== e && (u(
|
@@ -3113,10 +3113,10 @@ class y {
|
|
3113
3113
|
}
|
3114
3114
|
async _updateTokensIfNecessary(e, t = !1) {
|
3115
3115
|
let r = !1;
|
3116
|
-
e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await
|
3116
|
+
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);
|
3117
3117
|
}
|
3118
3118
|
async delete() {
|
3119
|
-
if (
|
3119
|
+
if (I(this.auth.app))
|
3120
3120
|
return Promise.reject(P(this.auth));
|
3121
3121
|
const e = await this.getIdToken();
|
3122
3122
|
return await K(this, $i(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
|
@@ -3147,7 +3147,7 @@ class y {
|
|
3147
3147
|
}
|
3148
3148
|
static _fromJSON(e, t) {
|
3149
3149
|
var r, i, s, a, c, o, l, d;
|
3150
|
-
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0,
|
3150
|
+
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, x = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, Ee = (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: Te, emailVerified: it, isAnonymous: st, providerData: we, stsTokenManager: at } = t;
|
3151
3151
|
u(
|
3152
3152
|
Te && at,
|
3153
3153
|
e,
|
@@ -3160,7 +3160,7 @@ class y {
|
|
3160
3160
|
e,
|
3161
3161
|
"internal-error"
|
3162
3162
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3163
|
-
),
|
3163
|
+
), R(h, e.name), R(m, e.name), u(
|
3164
3164
|
typeof it == "boolean",
|
3165
3165
|
e,
|
3166
3166
|
"internal-error"
|
@@ -3170,22 +3170,22 @@ class y {
|
|
3170
3170
|
e,
|
3171
3171
|
"internal-error"
|
3172
3172
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3173
|
-
),
|
3174
|
-
const
|
3173
|
+
), R(v, e.name), R(x, e.name), R(tt, e.name), R(Ee, e.name), R(nt, e.name), R(rt, e.name);
|
3174
|
+
const ke = new y({
|
3175
3175
|
uid: Te,
|
3176
3176
|
auth: e,
|
3177
|
-
email:
|
3177
|
+
email: m,
|
3178
3178
|
emailVerified: it,
|
3179
3179
|
displayName: h,
|
3180
3180
|
isAnonymous: st,
|
3181
|
-
photoURL:
|
3181
|
+
photoURL: x,
|
3182
3182
|
phoneNumber: v,
|
3183
3183
|
tenantId: tt,
|
3184
3184
|
stsTokenManager: Pn,
|
3185
3185
|
createdAt: nt,
|
3186
3186
|
lastLoginAt: rt
|
3187
3187
|
});
|
3188
|
-
return we && Array.isArray(we) && (
|
3188
|
+
return we && Array.isArray(we) && (ke.providerData = we.map((Mn) => Object.assign({}, Mn))), Ee && (ke._redirectEventId = Ee), ke;
|
3189
3189
|
}
|
3190
3190
|
/**
|
3191
3191
|
* Initialize a User from an idToken server response
|
@@ -3201,7 +3201,7 @@ class y {
|
|
3201
3201
|
stsTokenManager: i,
|
3202
3202
|
isAnonymous: r
|
3203
3203
|
});
|
3204
|
-
return await
|
3204
|
+
return await me(s), s;
|
3205
3205
|
}
|
3206
3206
|
/**
|
3207
3207
|
* Initialize a User from an idToken server response
|
@@ -3253,11 +3253,11 @@ class y {
|
|
3253
3253
|
* See the License for the specific language governing permissions and
|
3254
3254
|
* limitations under the License.
|
3255
3255
|
*/
|
3256
|
-
const
|
3256
|
+
const bt = /* @__PURE__ */ new Map();
|
3257
3257
|
function E(n) {
|
3258
|
-
|
3259
|
-
let e =
|
3260
|
-
return e ? (
|
3258
|
+
k(n instanceof Function, "Expected a class definition");
|
3259
|
+
let e = bt.get(n);
|
3260
|
+
return e ? (k(e instanceof n, "Instance stored in cache mismatched with class"), e) : (e = new n(), bt.set(n, e), e);
|
3261
3261
|
}
|
3262
3262
|
/**
|
3263
3263
|
* @license
|
@@ -3318,7 +3318,7 @@ const yt = ln;
|
|
3318
3318
|
function ae(n, e, t) {
|
3319
3319
|
return `firebase:${n}:${e}:${t}`;
|
3320
3320
|
}
|
3321
|
-
class
|
3321
|
+
class j {
|
3322
3322
|
constructor(e, t, r) {
|
3323
3323
|
this.persistence = e, this.auth = t, this.userKey = r;
|
3324
3324
|
const { config: i, name: s } = this.auth;
|
@@ -3349,7 +3349,7 @@ class G {
|
|
3349
3349
|
}
|
3350
3350
|
static async create(e, t, r = "authUser") {
|
3351
3351
|
if (!t.length)
|
3352
|
-
return new
|
3352
|
+
return new j(E(yt), e, r);
|
3353
3353
|
const i = (await Promise.all(t.map(async (l) => {
|
3354
3354
|
if (await l._isAvailable())
|
3355
3355
|
return l;
|
@@ -3368,13 +3368,13 @@ class G {
|
|
3368
3368
|
} catch {
|
3369
3369
|
}
|
3370
3370
|
const o = i.filter((l) => l._shouldAllowMigration);
|
3371
|
-
return !s._shouldAllowMigration || !o.length ? new
|
3371
|
+
return !s._shouldAllowMigration || !o.length ? new j(s, e, r) : (s = o[0], c && await s._set(a, c.toJSON()), await Promise.all(t.map(async (l) => {
|
3372
3372
|
if (l !== s)
|
3373
3373
|
try {
|
3374
3374
|
await l._remove(a);
|
3375
3375
|
} catch {
|
3376
3376
|
}
|
3377
|
-
})), new
|
3377
|
+
})), new j(s, e, r));
|
3378
3378
|
}
|
3379
3379
|
}
|
3380
3380
|
/**
|
@@ -3407,7 +3407,7 @@ function Et(n) {
|
|
3407
3407
|
return "Firefox";
|
3408
3408
|
if (e.includes("silk/"))
|
3409
3409
|
return "Silk";
|
3410
|
-
if (
|
3410
|
+
if (fn(e))
|
3411
3411
|
return "Blackberry";
|
3412
3412
|
if (_n(e))
|
3413
3413
|
return "Webos";
|
@@ -3415,7 +3415,7 @@ function Et(n) {
|
|
3415
3415
|
return "Safari";
|
3416
3416
|
if ((e.includes("chrome/") || hn(e)) && !e.includes("edge/"))
|
3417
3417
|
return "Chrome";
|
3418
|
-
if (
|
3418
|
+
if (mn(e))
|
3419
3419
|
return "Android";
|
3420
3420
|
{
|
3421
3421
|
const t = /([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/, r = n.match(t);
|
@@ -3424,40 +3424,40 @@ function Et(n) {
|
|
3424
3424
|
}
|
3425
3425
|
return "Other";
|
3426
3426
|
}
|
3427
|
-
function dn(n =
|
3427
|
+
function dn(n = f()) {
|
3428
3428
|
return /firefox\//i.test(n);
|
3429
3429
|
}
|
3430
|
-
function un(n =
|
3430
|
+
function un(n = f()) {
|
3431
3431
|
const e = n.toLowerCase();
|
3432
3432
|
return e.includes("safari/") && !e.includes("chrome/") && !e.includes("crios/") && !e.includes("android");
|
3433
3433
|
}
|
3434
|
-
function hn(n =
|
3434
|
+
function hn(n = f()) {
|
3435
3435
|
return /crios\//i.test(n);
|
3436
3436
|
}
|
3437
|
-
function pn(n =
|
3437
|
+
function pn(n = f()) {
|
3438
3438
|
return /iemobile/i.test(n);
|
3439
3439
|
}
|
3440
|
-
function
|
3440
|
+
function mn(n = f()) {
|
3441
3441
|
return /android/i.test(n);
|
3442
3442
|
}
|
3443
|
-
function
|
3443
|
+
function fn(n = f()) {
|
3444
3444
|
return /blackberry/i.test(n);
|
3445
3445
|
}
|
3446
|
-
function _n(n =
|
3446
|
+
function _n(n = f()) {
|
3447
3447
|
return /webos/i.test(n);
|
3448
3448
|
}
|
3449
|
-
function Ke(n =
|
3449
|
+
function Ke(n = f()) {
|
3450
3450
|
return /iphone|ipad|ipod/i.test(n) || /macintosh/i.test(n) && /mobile/i.test(n);
|
3451
3451
|
}
|
3452
|
-
function es(n =
|
3452
|
+
function es(n = f()) {
|
3453
3453
|
var e;
|
3454
3454
|
return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
|
3455
3455
|
}
|
3456
3456
|
function ts() {
|
3457
3457
|
return vr() && document.documentMode === 10;
|
3458
3458
|
}
|
3459
|
-
function gn(n =
|
3460
|
-
return Ke(n) ||
|
3459
|
+
function gn(n = f()) {
|
3460
|
+
return Ke(n) || mn(n) || _n(n) || fn(n) || /windows phone/i.test(n) || pn(n);
|
3461
3461
|
}
|
3462
3462
|
/**
|
3463
3463
|
* @license
|
@@ -3479,10 +3479,10 @@ function vn(n, e = []) {
|
|
3479
3479
|
let t;
|
3480
3480
|
switch (n) {
|
3481
3481
|
case "Browser":
|
3482
|
-
t = Et(
|
3482
|
+
t = Et(f());
|
3483
3483
|
break;
|
3484
3484
|
case "Worker":
|
3485
|
-
t = `${Et(
|
3485
|
+
t = `${Et(f())}-${n}`;
|
3486
3486
|
break;
|
3487
3487
|
default:
|
3488
3488
|
t = n;
|
@@ -3675,7 +3675,7 @@ class as {
|
|
3675
3675
|
_initializeWithPersistence(e, t) {
|
3676
3676
|
return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
|
3677
3677
|
var r, i;
|
3678
|
-
if (!this._deleted && (this.persistenceManager = await
|
3678
|
+
if (!this._deleted && (this.persistenceManager = await j.create(this, e), !this._deleted)) {
|
3679
3679
|
if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
|
3680
3680
|
try {
|
3681
3681
|
await this._popupRedirectResolver._initialize(this);
|
@@ -3714,7 +3714,7 @@ class as {
|
|
3714
3714
|
}
|
3715
3715
|
async initializeCurrentUser(e) {
|
3716
3716
|
var t;
|
3717
|
-
if (
|
3717
|
+
if (I(this.app)) {
|
3718
3718
|
const a = this.app.settings.authIdToken;
|
3719
3719
|
return a ? new Promise((c) => {
|
3720
3720
|
setTimeout(() => this.initializeCurrentUserFromIdToken(a).then(c, c));
|
@@ -3756,7 +3756,7 @@ class as {
|
|
3756
3756
|
}
|
3757
3757
|
async reloadAndSetCurrentUserOrClear(e) {
|
3758
3758
|
try {
|
3759
|
-
await
|
3759
|
+
await me(e);
|
3760
3760
|
} catch (t) {
|
3761
3761
|
if ((t == null ? void 0 : t.code) !== "auth/network-request-failed")
|
3762
3762
|
return this.directlySetCurrentUser(null);
|
@@ -3764,13 +3764,13 @@ class as {
|
|
3764
3764
|
return this.directlySetCurrentUser(e);
|
3765
3765
|
}
|
3766
3766
|
useDeviceLanguage() {
|
3767
|
-
this.languageCode =
|
3767
|
+
this.languageCode = ji();
|
3768
3768
|
}
|
3769
3769
|
async _delete() {
|
3770
3770
|
this._deleted = !0;
|
3771
3771
|
}
|
3772
3772
|
async updateCurrentUser(e) {
|
3773
|
-
if (
|
3773
|
+
if (I(this.app))
|
3774
3774
|
return Promise.reject(P(this));
|
3775
3775
|
const t = e ? z(e) : null;
|
3776
3776
|
return t && u(
|
@@ -3792,14 +3792,14 @@ class as {
|
|
3792
3792
|
});
|
3793
3793
|
}
|
3794
3794
|
async signOut() {
|
3795
|
-
return
|
3795
|
+
return I(this.app) ? Promise.reject(P(this)) : (await this.beforeStateQueue.runMiddleware(null), (this.redirectPersistenceManager || this._popupRedirectResolver) && await this._setRedirectUser(null), this._updateCurrentUser(
|
3796
3796
|
null,
|
3797
3797
|
/* skipBeforeStateCallbacks */
|
3798
3798
|
!0
|
3799
3799
|
));
|
3800
3800
|
}
|
3801
3801
|
setPersistence(e) {
|
3802
|
-
return
|
3802
|
+
return I(this.app) ? Promise.reject(P(this)) : this.queue(async () => {
|
3803
3803
|
await this.assertedPersistence.setPersistence(E(e));
|
3804
3804
|
});
|
3805
3805
|
}
|
@@ -3879,7 +3879,7 @@ class as {
|
|
3879
3879
|
this,
|
3880
3880
|
"argument-error"
|
3881
3881
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
3882
|
-
), this.redirectPersistenceManager = await
|
3882
|
+
), this.redirectPersistenceManager = await j.create(
|
3883
3883
|
this,
|
3884
3884
|
[E(t._redirectPersistence)],
|
3885
3885
|
"redirectUser"
|
@@ -3998,15 +3998,15 @@ class as {
|
|
3998
3998
|
async _getAppCheckToken() {
|
3999
3999
|
var e;
|
4000
4000
|
const t = await ((e = this.appCheckServiceProvider.getImmediate({ optional: !0 })) === null || e === void 0 ? void 0 : e.getToken());
|
4001
|
-
return t != null && t.error &&
|
4001
|
+
return t != null && t.error && Fi(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
|
4002
4002
|
}
|
4003
4003
|
}
|
4004
|
-
function
|
4004
|
+
function Ie(n) {
|
4005
4005
|
return z(n);
|
4006
4006
|
}
|
4007
4007
|
class Tt {
|
4008
4008
|
constructor(e) {
|
4009
|
-
this.auth = e, this.observer = null, this.addObserver =
|
4009
|
+
this.auth = e, this.observer = null, this.addObserver = kr((t) => this.observer = t);
|
4010
4010
|
}
|
4011
4011
|
get next() {
|
4012
4012
|
return u(
|
@@ -4070,7 +4070,7 @@ function ds(n) {
|
|
4070
4070
|
* limitations under the License.
|
4071
4071
|
*/
|
4072
4072
|
function us(n, e) {
|
4073
|
-
const t =
|
4073
|
+
const t = Xt(n, "auth");
|
4074
4074
|
if (t.isInitialized()) {
|
4075
4075
|
const i = t.getImmediate(), s = t.getOptions();
|
4076
4076
|
if (ue(s, e ?? {}))
|
@@ -4088,7 +4088,7 @@ function hs(n, e) {
|
|
4088
4088
|
e != null && e.errorMap && n._updateErrorMap(e.errorMap), n._initializeWithPersistence(r, e == null ? void 0 : e.popupRedirectResolver);
|
4089
4089
|
}
|
4090
4090
|
function ps(n, e, t) {
|
4091
|
-
const r =
|
4091
|
+
const r = Ie(n);
|
4092
4092
|
u(
|
4093
4093
|
r._canInitEmulator,
|
4094
4094
|
r,
|
@@ -4100,20 +4100,20 @@ function ps(n, e, t) {
|
|
4100
4100
|
"invalid-emulator-scheme"
|
4101
4101
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
4102
4102
|
);
|
4103
|
-
const i = !1, s =
|
4103
|
+
const i = !1, s = In(e), { host: a, port: c } = ms(e), o = c === null ? "" : `:${c}`;
|
4104
4104
|
r.config.emulator = { url: `${s}//${a}${o}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
|
4105
4105
|
host: a,
|
4106
4106
|
port: c,
|
4107
4107
|
protocol: s.replace(":", ""),
|
4108
4108
|
options: Object.freeze({ disableWarnings: i })
|
4109
|
-
}),
|
4109
|
+
}), fs();
|
4110
4110
|
}
|
4111
|
-
function
|
4111
|
+
function In(n) {
|
4112
4112
|
const e = n.indexOf(":");
|
4113
4113
|
return e < 0 ? "" : n.substr(0, e + 1);
|
4114
4114
|
}
|
4115
|
-
function
|
4116
|
-
const e =
|
4115
|
+
function ms(n) {
|
4116
|
+
const e = In(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
|
4117
4117
|
if (!t)
|
4118
4118
|
return { host: "", port: null };
|
4119
4119
|
const r = t[2].split("@").pop() || "", i = /^(\[[^\]]+\])(:|$)/.exec(r);
|
@@ -4131,7 +4131,7 @@ function wt(n) {
|
|
4131
4131
|
const e = Number(n);
|
4132
4132
|
return isNaN(e) ? null : e;
|
4133
4133
|
}
|
4134
|
-
function
|
4134
|
+
function fs() {
|
4135
4135
|
function n() {
|
4136
4136
|
const e = document.createElement("p"), t = e.style;
|
4137
4137
|
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);
|
@@ -4154,7 +4154,7 @@ function ms() {
|
|
4154
4154
|
* See the License for the specific language governing permissions and
|
4155
4155
|
* limitations under the License.
|
4156
4156
|
*/
|
4157
|
-
class
|
4157
|
+
class bn {
|
4158
4158
|
/** @internal */
|
4159
4159
|
constructor(e, t) {
|
4160
4160
|
this.providerId = e, this.signInMethod = t;
|
@@ -4165,19 +4165,19 @@ class In {
|
|
4165
4165
|
* @returns a JSON-serializable representation of this object.
|
4166
4166
|
*/
|
4167
4167
|
toJSON() {
|
4168
|
-
return
|
4168
|
+
return b("not implemented");
|
4169
4169
|
}
|
4170
4170
|
/** @internal */
|
4171
4171
|
_getIdTokenResponse(e) {
|
4172
|
-
return
|
4172
|
+
return b("not implemented");
|
4173
4173
|
}
|
4174
4174
|
/** @internal */
|
4175
4175
|
_linkToIdToken(e, t) {
|
4176
|
-
return
|
4176
|
+
return b("not implemented");
|
4177
4177
|
}
|
4178
4178
|
/** @internal */
|
4179
4179
|
_getReauthenticationResolver(e) {
|
4180
|
-
return
|
4180
|
+
return b("not implemented");
|
4181
4181
|
}
|
4182
4182
|
}
|
4183
4183
|
/**
|
@@ -4216,7 +4216,7 @@ async function V(n, e) {
|
|
4216
4216
|
* limitations under the License.
|
4217
4217
|
*/
|
4218
4218
|
const _s = "http://localhost";
|
4219
|
-
class U extends
|
4219
|
+
class U extends bn {
|
4220
4220
|
constructor() {
|
4221
4221
|
super(...arguments), this.pendingToken = null;
|
4222
4222
|
}
|
@@ -4536,7 +4536,7 @@ A.PROVIDER_ID = "google.com";
|
|
4536
4536
|
* See the License for the specific language governing permissions and
|
4537
4537
|
* limitations under the License.
|
4538
4538
|
*/
|
4539
|
-
class
|
4539
|
+
class N extends ne {
|
4540
4540
|
constructor() {
|
4541
4541
|
super(
|
4542
4542
|
"github.com"
|
@@ -4550,8 +4550,8 @@ class O extends ne {
|
|
4550
4550
|
*/
|
4551
4551
|
static credential(e) {
|
4552
4552
|
return U._fromParams({
|
4553
|
-
providerId:
|
4554
|
-
signInMethod:
|
4553
|
+
providerId: N.PROVIDER_ID,
|
4554
|
+
signInMethod: N.GITHUB_SIGN_IN_METHOD,
|
4555
4555
|
accessToken: e
|
4556
4556
|
});
|
4557
4557
|
}
|
@@ -4561,7 +4561,7 @@ class O extends ne {
|
|
4561
4561
|
* @param userCredential - The user credential.
|
4562
4562
|
*/
|
4563
4563
|
static credentialFromResult(e) {
|
4564
|
-
return
|
4564
|
+
return N.credentialFromTaggedObject(e);
|
4565
4565
|
}
|
4566
4566
|
/**
|
4567
4567
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4570,20 +4570,20 @@ class O extends ne {
|
|
4570
4570
|
* @param userCredential - The user credential.
|
4571
4571
|
*/
|
4572
4572
|
static credentialFromError(e) {
|
4573
|
-
return
|
4573
|
+
return N.credentialFromTaggedObject(e.customData || {});
|
4574
4574
|
}
|
4575
4575
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4576
4576
|
if (!e || !("oauthAccessToken" in e) || !e.oauthAccessToken)
|
4577
4577
|
return null;
|
4578
4578
|
try {
|
4579
|
-
return
|
4579
|
+
return N.credential(e.oauthAccessToken);
|
4580
4580
|
} catch {
|
4581
4581
|
return null;
|
4582
4582
|
}
|
4583
4583
|
}
|
4584
4584
|
}
|
4585
|
-
|
4586
|
-
|
4585
|
+
N.GITHUB_SIGN_IN_METHOD = "github.com";
|
4586
|
+
N.PROVIDER_ID = "github.com";
|
4587
4587
|
/**
|
4588
4588
|
* @license
|
4589
4589
|
* Copyright 2020 Google LLC
|
@@ -4674,7 +4674,7 @@ class B {
|
|
4674
4674
|
this.user = e.user, this.providerId = e.providerId, this._tokenResponse = e._tokenResponse, this.operationType = e.operationType;
|
4675
4675
|
}
|
4676
4676
|
static async _fromIdTokenResponse(e, t, r, i = !1) {
|
4677
|
-
const s = await y._fromIdTokenResponse(e, r, i), a =
|
4677
|
+
const s = await y._fromIdTokenResponse(e, r, i), a = kt(r);
|
4678
4678
|
return new B({
|
4679
4679
|
user: s,
|
4680
4680
|
providerId: a,
|
@@ -4688,7 +4688,7 @@ class B {
|
|
4688
4688
|
/* reload */
|
4689
4689
|
!0
|
4690
4690
|
);
|
4691
|
-
const i =
|
4691
|
+
const i = kt(r);
|
4692
4692
|
return new B({
|
4693
4693
|
user: e,
|
4694
4694
|
providerId: i,
|
@@ -4697,7 +4697,7 @@ class B {
|
|
4697
4697
|
});
|
4698
4698
|
}
|
4699
4699
|
}
|
4700
|
-
function
|
4700
|
+
function kt(n) {
|
4701
4701
|
return n.providerId ? n.providerId : "phoneNumber" in n ? "phone" : null;
|
4702
4702
|
}
|
4703
4703
|
/**
|
@@ -4716,10 +4716,10 @@ function Rt(n) {
|
|
4716
4716
|
* See the License for the specific language governing permissions and
|
4717
4717
|
* limitations under the License.
|
4718
4718
|
*/
|
4719
|
-
class
|
4719
|
+
class fe extends M {
|
4720
4720
|
constructor(e, t, r, i) {
|
4721
4721
|
var s;
|
4722
|
-
super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this,
|
4722
|
+
super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this, fe.prototype), this.customData = {
|
4723
4723
|
appName: e.name,
|
4724
4724
|
tenantId: (s = e.tenantId) !== null && s !== void 0 ? s : void 0,
|
4725
4725
|
_serverResponse: t.customData._serverResponse,
|
@@ -4727,12 +4727,12 @@ class me extends M {
|
|
4727
4727
|
};
|
4728
4728
|
}
|
4729
4729
|
static _fromErrorAndOperation(e, t, r, i) {
|
4730
|
-
return new
|
4730
|
+
return new fe(e, t, r, i);
|
4731
4731
|
}
|
4732
4732
|
}
|
4733
4733
|
function En(n, e, t, r) {
|
4734
4734
|
return (e === "reauthenticate" ? t._getReauthenticationResolver(n) : t._getIdTokenResponse(n)).catch((s) => {
|
4735
|
-
throw s.code === "auth/multi-factor-auth-required" ?
|
4735
|
+
throw s.code === "auth/multi-factor-auth-required" ? fe._fromErrorAndOperation(n, s, e, r) : s;
|
4736
4736
|
});
|
4737
4737
|
}
|
4738
4738
|
async function gs(n, e, t = !1) {
|
@@ -4757,7 +4757,7 @@ async function gs(n, e, t = !1) {
|
|
4757
4757
|
*/
|
4758
4758
|
async function vs(n, e, t = !1) {
|
4759
4759
|
const { auth: r } = n;
|
4760
|
-
if (
|
4760
|
+
if (I(r.app))
|
4761
4761
|
return Promise.reject(P(r));
|
4762
4762
|
const i = "reauthenticate";
|
4763
4763
|
try {
|
@@ -4768,7 +4768,7 @@ async function vs(n, e, t = !1) {
|
|
4768
4768
|
"internal-error"
|
4769
4769
|
/* AuthErrorCode.INTERNAL_ERROR */
|
4770
4770
|
);
|
4771
|
-
const a =
|
4771
|
+
const a = Ye(s.idToken);
|
4772
4772
|
u(
|
4773
4773
|
a,
|
4774
4774
|
r,
|
@@ -4806,8 +4806,8 @@ async function vs(n, e, t = !1) {
|
|
4806
4806
|
* See the License for the specific language governing permissions and
|
4807
4807
|
* limitations under the License.
|
4808
4808
|
*/
|
4809
|
-
async function
|
4810
|
-
if (
|
4809
|
+
async function Is(n, e, t = !1) {
|
4810
|
+
if (I(n.app))
|
4811
4811
|
return Promise.reject(P(n));
|
4812
4812
|
const r = "signIn", i = await En(n, r, e), s = await B._fromIdTokenResponse(n, r, i);
|
4813
4813
|
return t || await n._updateCurrentUser(s.user), s;
|
@@ -4828,7 +4828,7 @@ async function bs(n, e, t = !1) {
|
|
4828
4828
|
* See the License for the specific language governing permissions and
|
4829
4829
|
* limitations under the License.
|
4830
4830
|
*/
|
4831
|
-
async function
|
4831
|
+
async function bs(n, e) {
|
4832
4832
|
return sn(n, "POST", "/v1/accounts:signInWithCustomToken", ve(n, e));
|
4833
4833
|
}
|
4834
4834
|
/**
|
@@ -4848,9 +4848,9 @@ async function Is(n, e) {
|
|
4848
4848
|
* limitations under the License.
|
4849
4849
|
*/
|
4850
4850
|
async function ys(n, e) {
|
4851
|
-
if (
|
4851
|
+
if (I(n.app))
|
4852
4852
|
return Promise.reject(P(n));
|
4853
|
-
const t =
|
4853
|
+
const t = Ie(n), r = await bs(t, {
|
4854
4854
|
token: e,
|
4855
4855
|
returnSecureToken: !0
|
4856
4856
|
}), i = await B._fromIdTokenResponse(t, "signIn", r);
|
@@ -4920,7 +4920,7 @@ class Tn {
|
|
4920
4920
|
* See the License for the specific language governing permissions and
|
4921
4921
|
* limitations under the License.
|
4922
4922
|
*/
|
4923
|
-
const ws = 1e3,
|
4923
|
+
const ws = 1e3, ks = 10;
|
4924
4924
|
class wn extends Tn {
|
4925
4925
|
constructor() {
|
4926
4926
|
super(
|
@@ -4948,7 +4948,7 @@ class wn extends Tn {
|
|
4948
4948
|
const a = this.storage.getItem(r);
|
4949
4949
|
!t && this.localCache[r] === a || this.notifyListeners(r, a);
|
4950
4950
|
}, s = this.storage.getItem(r);
|
4951
|
-
ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i,
|
4951
|
+
ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, ks) : i();
|
4952
4952
|
}
|
4953
4953
|
notifyListeners(e, t) {
|
4954
4954
|
this.localCache[e] = t;
|
@@ -5000,7 +5000,7 @@ class wn extends Tn {
|
|
5000
5000
|
}
|
5001
5001
|
}
|
5002
5002
|
wn.type = "LOCAL";
|
5003
|
-
const
|
5003
|
+
const Rs = wn;
|
5004
5004
|
/**
|
5005
5005
|
* @license
|
5006
5006
|
* Copyright 2020 Google LLC
|
@@ -5017,7 +5017,7 @@ const ks = wn;
|
|
5017
5017
|
* See the License for the specific language governing permissions and
|
5018
5018
|
* limitations under the License.
|
5019
5019
|
*/
|
5020
|
-
class
|
5020
|
+
class kn extends Tn {
|
5021
5021
|
constructor() {
|
5022
5022
|
super(
|
5023
5023
|
() => window.sessionStorage,
|
@@ -5030,8 +5030,8 @@ class Rn extends Tn {
|
|
5030
5030
|
_removeListener(e, t) {
|
5031
5031
|
}
|
5032
5032
|
}
|
5033
|
-
|
5034
|
-
const
|
5033
|
+
kn.type = "SESSION";
|
5034
|
+
const Rn = kn;
|
5035
5035
|
/**
|
5036
5036
|
* @license
|
5037
5037
|
* Copyright 2019 Google LLC
|
@@ -5079,7 +5079,7 @@ function Ss(n) {
|
|
5079
5079
|
* See the License for the specific language governing permissions and
|
5080
5080
|
* limitations under the License.
|
5081
5081
|
*/
|
5082
|
-
class
|
5082
|
+
class be {
|
5083
5083
|
constructor(e) {
|
5084
5084
|
this.eventTarget = e, this.handlersMap = {}, this.boundEventHandler = this.handleEvent.bind(this);
|
5085
5085
|
}
|
@@ -5093,7 +5093,7 @@ class Ie {
|
|
5093
5093
|
const t = this.receivers.find((i) => i.isListeningto(e));
|
5094
5094
|
if (t)
|
5095
5095
|
return t;
|
5096
|
-
const r = new
|
5096
|
+
const r = new be(e);
|
5097
5097
|
return this.receivers.push(r), r;
|
5098
5098
|
}
|
5099
5099
|
isListeningto(e) {
|
@@ -5147,7 +5147,7 @@ class Ie {
|
|
5147
5147
|
this.handlersMap[e] && t && this.handlersMap[e].delete(t), (!t || this.handlersMap[e].size === 0) && delete this.handlersMap[e], Object.keys(this.handlersMap).length === 0 && this.eventTarget.removeEventListener("message", this.boundEventHandler);
|
5148
5148
|
}
|
5149
5149
|
}
|
5150
|
-
|
5150
|
+
be.receivers = [];
|
5151
5151
|
/**
|
5152
5152
|
* @license
|
5153
5153
|
* Copyright 2020 Google LLC
|
@@ -5231,9 +5231,9 @@ class As {
|
|
5231
5231
|
a = {
|
5232
5232
|
messageChannel: i,
|
5233
5233
|
onMessage(h) {
|
5234
|
-
const
|
5235
|
-
if (
|
5236
|
-
switch (
|
5234
|
+
const m = h;
|
5235
|
+
if (m.data.eventId === l)
|
5236
|
+
switch (m.data.status) {
|
5237
5237
|
case "ack":
|
5238
5238
|
clearTimeout(d), s = setTimeout(
|
5239
5239
|
() => {
|
@@ -5247,7 +5247,7 @@ class As {
|
|
5247
5247
|
);
|
5248
5248
|
break;
|
5249
5249
|
case "done":
|
5250
|
-
clearTimeout(s), c(
|
5250
|
+
clearTimeout(s), c(m.data.response);
|
5251
5251
|
break;
|
5252
5252
|
default:
|
5253
5253
|
clearTimeout(d), clearTimeout(s), o(new Error(
|
@@ -5286,7 +5286,7 @@ class As {
|
|
5286
5286
|
function g() {
|
5287
5287
|
return window;
|
5288
5288
|
}
|
5289
|
-
function
|
5289
|
+
function Ns(n) {
|
5290
5290
|
g().location.href = n;
|
5291
5291
|
}
|
5292
5292
|
/**
|
@@ -5317,7 +5317,7 @@ async function Cs() {
|
|
5317
5317
|
return null;
|
5318
5318
|
}
|
5319
5319
|
}
|
5320
|
-
function
|
5320
|
+
function Os() {
|
5321
5321
|
var n;
|
5322
5322
|
return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
|
5323
5323
|
}
|
@@ -5340,7 +5340,7 @@ function Ds() {
|
|
5340
5340
|
* See the License for the specific language governing permissions and
|
5341
5341
|
* limitations under the License.
|
5342
5342
|
*/
|
5343
|
-
const An = "firebaseLocalStorageDb", Ps = 1, ge = "firebaseLocalStorage",
|
5343
|
+
const An = "firebaseLocalStorageDb", Ps = 1, ge = "firebaseLocalStorage", Nn = "fbase_key";
|
5344
5344
|
class re {
|
5345
5345
|
constructor(e) {
|
5346
5346
|
this.request = e;
|
@@ -5362,7 +5362,7 @@ function Ms() {
|
|
5362
5362
|
const n = indexedDB.deleteDatabase(An);
|
5363
5363
|
return new re(n).toPromise();
|
5364
5364
|
}
|
5365
|
-
function
|
5365
|
+
function je() {
|
5366
5366
|
const n = indexedDB.open(An, Ps);
|
5367
5367
|
return new Promise((e, t) => {
|
5368
5368
|
n.addEventListener("error", () => {
|
@@ -5370,19 +5370,19 @@ function Ge() {
|
|
5370
5370
|
}), n.addEventListener("upgradeneeded", () => {
|
5371
5371
|
const r = n.result;
|
5372
5372
|
try {
|
5373
|
-
r.createObjectStore(ge, { keyPath:
|
5373
|
+
r.createObjectStore(ge, { keyPath: Nn });
|
5374
5374
|
} catch (i) {
|
5375
5375
|
t(i);
|
5376
5376
|
}
|
5377
5377
|
}), n.addEventListener("success", async () => {
|
5378
5378
|
const r = n.result;
|
5379
|
-
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await
|
5379
|
+
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await je()));
|
5380
5380
|
});
|
5381
5381
|
});
|
5382
5382
|
}
|
5383
|
-
async function
|
5383
|
+
async function Rt(n, e, t) {
|
5384
5384
|
const r = ye(n, !0).put({
|
5385
|
-
[
|
5385
|
+
[Nn]: e,
|
5386
5386
|
value: t
|
5387
5387
|
});
|
5388
5388
|
return new re(r).toPromise();
|
@@ -5403,7 +5403,7 @@ class Cn {
|
|
5403
5403
|
});
|
5404
5404
|
}
|
5405
5405
|
async _openDb() {
|
5406
|
-
return this.db ? this.db : (this.db = await
|
5406
|
+
return this.db ? this.db : (this.db = await je(), this.db);
|
5407
5407
|
}
|
5408
5408
|
async _withRetries(e) {
|
5409
5409
|
let t = 0;
|
@@ -5428,7 +5428,7 @@ class Cn {
|
|
5428
5428
|
* As the worker we should listen to events from the main window.
|
5429
5429
|
*/
|
5430
5430
|
async initializeReceiver() {
|
5431
|
-
this.receiver =
|
5431
|
+
this.receiver = be._getInstance(Ds()), this.receiver._subscribe("keyChanged", async (e, t) => ({
|
5432
5432
|
keyProcessed: (await this._poll()).includes(t.key)
|
5433
5433
|
})), this.receiver._subscribe("ping", async (e, t) => [
|
5434
5434
|
"keyChanged"
|
@@ -5468,7 +5468,7 @@ class Cn {
|
|
5468
5468
|
* @param key - Storage key which changed.
|
5469
5469
|
*/
|
5470
5470
|
async notifyServiceWorker(e) {
|
5471
|
-
if (!(!this.sender || !this.activeServiceWorker ||
|
5471
|
+
if (!(!this.sender || !this.activeServiceWorker || Os() !== this.activeServiceWorker))
|
5472
5472
|
try {
|
5473
5473
|
await this.sender._send(
|
5474
5474
|
"keyChanged",
|
@@ -5484,8 +5484,8 @@ class Cn {
|
|
5484
5484
|
try {
|
5485
5485
|
if (!indexedDB)
|
5486
5486
|
return !1;
|
5487
|
-
const e = await
|
5488
|
-
return await
|
5487
|
+
const e = await je();
|
5488
|
+
return await Rt(e, _e, "1"), await St(e, _e), !0;
|
5489
5489
|
} catch {
|
5490
5490
|
}
|
5491
5491
|
return !1;
|
@@ -5499,7 +5499,7 @@ class Cn {
|
|
5499
5499
|
}
|
5500
5500
|
}
|
5501
5501
|
async _set(e, t) {
|
5502
|
-
return this._withPendingWrite(async () => (await this._withRetries((r) =>
|
5502
|
+
return this._withPendingWrite(async () => (await this._withRetries((r) => Rt(r, e, t)), this.localCache[e] = t, this.notifyServiceWorker(e)));
|
5503
5503
|
}
|
5504
5504
|
async _get(e) {
|
5505
5505
|
const t = await this._withRetries((r) => Ls(r, e));
|
@@ -5546,7 +5546,7 @@ class Cn {
|
|
5546
5546
|
}
|
5547
5547
|
}
|
5548
5548
|
Cn.type = "LOCAL";
|
5549
|
-
const
|
5549
|
+
const xs = Cn;
|
5550
5550
|
new te(3e4, 6e4);
|
5551
5551
|
/**
|
5552
5552
|
* @license
|
@@ -5564,7 +5564,7 @@ new te(3e4, 6e4);
|
|
5564
5564
|
* See the License for the specific language governing permissions and
|
5565
5565
|
* limitations under the License.
|
5566
5566
|
*/
|
5567
|
-
function
|
5567
|
+
function Fs(n, e) {
|
5568
5568
|
return e ? E(e) : (u(
|
5569
5569
|
n._popupRedirectResolver,
|
5570
5570
|
n,
|
@@ -5588,7 +5588,7 @@ function xs(n, e) {
|
|
5588
5588
|
* See the License for the specific language governing permissions and
|
5589
5589
|
* limitations under the License.
|
5590
5590
|
*/
|
5591
|
-
class et extends
|
5591
|
+
class et extends bn {
|
5592
5592
|
constructor(e) {
|
5593
5593
|
super(
|
5594
5594
|
"custom",
|
@@ -5618,8 +5618,8 @@ class et extends In {
|
|
5618
5618
|
return e && (t.idToken = e), t;
|
5619
5619
|
}
|
5620
5620
|
}
|
5621
|
-
function
|
5622
|
-
return
|
5621
|
+
function Ws(n) {
|
5622
|
+
return Is(n.auth, new et(n), n.bypassAuthState);
|
5623
5623
|
}
|
5624
5624
|
function Hs(n) {
|
5625
5625
|
const { auth: e, user: t } = n;
|
@@ -5630,7 +5630,7 @@ function Hs(n) {
|
|
5630
5630
|
/* AuthErrorCode.INTERNAL_ERROR */
|
5631
5631
|
), vs(t, new et(n), n.bypassAuthState);
|
5632
5632
|
}
|
5633
|
-
async function
|
5633
|
+
async function js(n) {
|
5634
5634
|
const { auth: e, user: t } = n;
|
5635
5635
|
return u(
|
5636
5636
|
t,
|
@@ -5655,7 +5655,7 @@ async function Gs(n) {
|
|
5655
5655
|
* See the License for the specific language governing permissions and
|
5656
5656
|
* limitations under the License.
|
5657
5657
|
*/
|
5658
|
-
class
|
5658
|
+
class On {
|
5659
5659
|
constructor(e, t, r, i, s = !1) {
|
5660
5660
|
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];
|
5661
5661
|
}
|
@@ -5697,10 +5697,10 @@ class Nn {
|
|
5697
5697
|
switch (e) {
|
5698
5698
|
case "signInViaPopup":
|
5699
5699
|
case "signInViaRedirect":
|
5700
|
-
return
|
5700
|
+
return Ws;
|
5701
5701
|
case "linkViaPopup":
|
5702
5702
|
case "linkViaRedirect":
|
5703
|
-
return
|
5703
|
+
return js;
|
5704
5704
|
case "reauthViaPopup":
|
5705
5705
|
case "reauthViaRedirect":
|
5706
5706
|
return Hs;
|
@@ -5713,10 +5713,10 @@ class Nn {
|
|
5713
5713
|
}
|
5714
5714
|
}
|
5715
5715
|
resolve(e) {
|
5716
|
-
|
5716
|
+
k(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.resolve(e), this.unregisterAndCleanUp();
|
5717
5717
|
}
|
5718
5718
|
reject(e) {
|
5719
|
-
|
5719
|
+
k(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.reject(e), this.unregisterAndCleanUp();
|
5720
5720
|
}
|
5721
5721
|
unregisterAndCleanUp() {
|
5722
5722
|
this.eventManager && this.eventManager.unregisterConsumer(this), this.pendingPromise = null, this.cleanUp();
|
@@ -5739,9 +5739,9 @@ class Nn {
|
|
5739
5739
|
* limitations under the License.
|
5740
5740
|
*/
|
5741
5741
|
const Vs = new te(2e3, 1e4);
|
5742
|
-
class
|
5742
|
+
class F extends On {
|
5743
5743
|
constructor(e, t, r, i, s) {
|
5744
|
-
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null,
|
5744
|
+
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, F.currentPopupAction && F.currentPopupAction.cancel(), F.currentPopupAction = this;
|
5745
5745
|
}
|
5746
5746
|
async executeNotNull() {
|
5747
5747
|
const e = await this.execute();
|
@@ -5753,7 +5753,7 @@ class x extends Nn {
|
|
5753
5753
|
), e;
|
5754
5754
|
}
|
5755
5755
|
async onExecution() {
|
5756
|
-
|
5756
|
+
k(this.filter.length === 1, "Popup operations only handle one event");
|
5757
5757
|
const e = Qe();
|
5758
5758
|
this.authWindow = await this.resolver._openPopup(
|
5759
5759
|
this.auth,
|
@@ -5783,7 +5783,7 @@ class x extends Nn {
|
|
5783
5783
|
));
|
5784
5784
|
}
|
5785
5785
|
cleanUp() {
|
5786
|
-
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null,
|
5786
|
+
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, F.currentPopupAction = null;
|
5787
5787
|
}
|
5788
5788
|
pollUserCancellation() {
|
5789
5789
|
const e = () => {
|
@@ -5807,7 +5807,7 @@ class x extends Nn {
|
|
5807
5807
|
e();
|
5808
5808
|
}
|
5809
5809
|
}
|
5810
|
-
|
5810
|
+
F.currentPopupAction = null;
|
5811
5811
|
/**
|
5812
5812
|
* @license
|
5813
5813
|
* Copyright 2020 Google LLC
|
@@ -5824,8 +5824,8 @@ x.currentPopupAction = null;
|
|
5824
5824
|
* See the License for the specific language governing permissions and
|
5825
5825
|
* limitations under the License.
|
5826
5826
|
*/
|
5827
|
-
const
|
5828
|
-
class zs extends
|
5827
|
+
const Gs = "pendingRedirect", oe = /* @__PURE__ */ new Map();
|
5828
|
+
class zs extends On {
|
5829
5829
|
constructor(e, t, r = !1) {
|
5830
5830
|
super(e, [
|
5831
5831
|
"signInViaRedirect",
|
@@ -5872,7 +5872,7 @@ class zs extends Nn {
|
|
5872
5872
|
}
|
5873
5873
|
}
|
5874
5874
|
async function $s(n, e) {
|
5875
|
-
const t =
|
5875
|
+
const t = Xs(e), r = Js(n);
|
5876
5876
|
if (!await r._isAvailable())
|
5877
5877
|
return !1;
|
5878
5878
|
const i = await r._get(t) === "true";
|
@@ -5884,13 +5884,13 @@ function Zs(n, e) {
|
|
5884
5884
|
function Js(n) {
|
5885
5885
|
return E(n._redirectPersistence);
|
5886
5886
|
}
|
5887
|
-
function
|
5888
|
-
return ae(
|
5887
|
+
function Xs(n) {
|
5888
|
+
return ae(Gs, n.config.apiKey, n.name);
|
5889
5889
|
}
|
5890
|
-
async function
|
5891
|
-
if (
|
5890
|
+
async function Ys(n, e, t = !1) {
|
5891
|
+
if (I(n.app))
|
5892
5892
|
return Promise.reject(P(n));
|
5893
|
-
const r =
|
5893
|
+
const r = Ie(n), i = Fs(r, e), a = await new zs(r, i, t).execute();
|
5894
5894
|
return a && !t && (delete a.user._redirectEventId, await r._persistUserIfCurrent(a.user), await r._setRedirectUser(null, e)), a;
|
5895
5895
|
}
|
5896
5896
|
/**
|
@@ -6018,7 +6018,7 @@ async function ra(n) {
|
|
6018
6018
|
);
|
6019
6019
|
}
|
6020
6020
|
function ia(n) {
|
6021
|
-
const e =
|
6021
|
+
const e = We(), { protocol: t, hostname: r } = new URL(e);
|
6022
6022
|
if (n.startsWith("chrome-extension://")) {
|
6023
6023
|
const a = new URL(n);
|
6024
6024
|
return a.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && a.hostname === r;
|
@@ -6047,7 +6047,7 @@ function ia(n) {
|
|
6047
6047
|
* limitations under the License.
|
6048
6048
|
*/
|
6049
6049
|
const sa = new te(3e4, 6e4);
|
6050
|
-
function
|
6050
|
+
function Nt() {
|
6051
6051
|
const n = g().___jsl;
|
6052
6052
|
if (n != null && n.H) {
|
6053
6053
|
for (const e of Object.keys(n.H))
|
@@ -6060,12 +6060,12 @@ function aa(n) {
|
|
6060
6060
|
return new Promise((e, t) => {
|
6061
6061
|
var r, i, s;
|
6062
6062
|
function a() {
|
6063
|
-
|
6063
|
+
Nt(), gapi.load("gapi.iframes", {
|
6064
6064
|
callback: () => {
|
6065
6065
|
e(gapi.iframes.getContext());
|
6066
6066
|
},
|
6067
6067
|
ontimeout: () => {
|
6068
|
-
|
6068
|
+
Nt(), t(_(
|
6069
6069
|
n,
|
6070
6070
|
"network-request-failed"
|
6071
6071
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
@@ -6135,7 +6135,7 @@ function pa(n) {
|
|
6135
6135
|
"auth-domain-config-required"
|
6136
6136
|
/* AuthErrorCode.MISSING_AUTH_DOMAIN */
|
6137
6137
|
);
|
6138
|
-
const t = e.emulator ?
|
6138
|
+
const t = e.emulator ? Xe(e, da) : `https://${n.config.authDomain}/${la}`, r = {
|
6139
6139
|
apiKey: e.apiKey,
|
6140
6140
|
appName: n.name,
|
6141
6141
|
v: ee
|
@@ -6144,7 +6144,7 @@ function pa(n) {
|
|
6144
6144
|
const s = n._getFrameworks();
|
6145
6145
|
return s.length && (r.fw = s.join(",")), `${t}?${Q(r).slice(1)}`;
|
6146
6146
|
}
|
6147
|
-
async function
|
6147
|
+
async function ma(n) {
|
6148
6148
|
const e = await oa(n), t = g().gapi;
|
6149
6149
|
return u(
|
6150
6150
|
t,
|
@@ -6193,12 +6193,12 @@ async function fa(n) {
|
|
6193
6193
|
* See the License for the specific language governing permissions and
|
6194
6194
|
* limitations under the License.
|
6195
6195
|
*/
|
6196
|
-
const
|
6196
|
+
const fa = {
|
6197
6197
|
location: "yes",
|
6198
6198
|
resizable: "yes",
|
6199
6199
|
statusbar: "yes",
|
6200
6200
|
toolbar: "no"
|
6201
|
-
}, _a = 500, ga = 600, va = "_blank",
|
6201
|
+
}, _a = 500, ga = 600, va = "_blank", Ia = "http://localhost";
|
6202
6202
|
class Ct {
|
6203
6203
|
constructor(e) {
|
6204
6204
|
this.window = e, this.associatedEvent = null;
|
@@ -6211,17 +6211,17 @@ class Ct {
|
|
6211
6211
|
}
|
6212
6212
|
}
|
6213
6213
|
}
|
6214
|
-
function
|
6214
|
+
function ba(n, e, t, r = _a, i = ga) {
|
6215
6215
|
const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(), a = Math.max((window.screen.availWidth - r) / 2, 0).toString();
|
6216
6216
|
let c = "";
|
6217
|
-
const o = Object.assign(Object.assign({},
|
6217
|
+
const o = Object.assign(Object.assign({}, fa), {
|
6218
6218
|
width: r.toString(),
|
6219
6219
|
height: i.toString(),
|
6220
6220
|
top: s,
|
6221
6221
|
left: a
|
6222
|
-
}), l =
|
6223
|
-
t && (c = hn(l) ? va : t), dn(l) && (e = e ||
|
6224
|
-
const d = Object.entries(o).reduce((
|
6222
|
+
}), l = f().toLowerCase();
|
6223
|
+
t && (c = hn(l) ? va : t), dn(l) && (e = e || Ia, o.scrollbars = "yes");
|
6224
|
+
const d = Object.entries(o).reduce((m, [v, x]) => `${m}${v}=${x},`, "");
|
6225
6225
|
if (es(l) && c !== "_self")
|
6226
6226
|
return ya(e || "", c), new Ct(null);
|
6227
6227
|
const h = window.open(e || "", c, d);
|
@@ -6260,7 +6260,7 @@ function ya(n, e) {
|
|
6260
6260
|
* limitations under the License.
|
6261
6261
|
*/
|
6262
6262
|
const Ea = "__/auth/handler", Ta = "emulator/auth/handler", wa = encodeURIComponent("fac");
|
6263
|
-
async function
|
6263
|
+
async function Ot(n, e, t, r, i, s) {
|
6264
6264
|
u(
|
6265
6265
|
n.config.authDomain,
|
6266
6266
|
n,
|
@@ -6294,10 +6294,10 @@ async function Nt(n, e, t, r, i, s) {
|
|
6294
6294
|
for (const d of Object.keys(c))
|
6295
6295
|
c[d] === void 0 && delete c[d];
|
6296
6296
|
const o = await n._getAppCheckToken(), l = o ? `#${wa}=${encodeURIComponent(o)}` : "";
|
6297
|
-
return `${
|
6297
|
+
return `${ka(n)}?${Q(c).slice(1)}${l}`;
|
6298
6298
|
}
|
6299
|
-
function
|
6300
|
-
return n.emulator ?
|
6299
|
+
function ka({ config: n }) {
|
6300
|
+
return n.emulator ? Xe(n, Ta) : `https://${n.authDomain}/${Ea}`;
|
6301
6301
|
}
|
6302
6302
|
/**
|
6303
6303
|
* @license
|
@@ -6316,29 +6316,29 @@ function Ra({ config: n }) {
|
|
6316
6316
|
* limitations under the License.
|
6317
6317
|
*/
|
6318
6318
|
const De = "webStorageSupport";
|
6319
|
-
class
|
6319
|
+
class Ra {
|
6320
6320
|
constructor() {
|
6321
|
-
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence =
|
6321
|
+
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = Rn, this._completeRedirectFn = Ys, this._overrideRedirectResult = Zs;
|
6322
6322
|
}
|
6323
6323
|
// Wrapping in async even though we don't await anywhere in order
|
6324
6324
|
// to make sure errors are raised as promise rejections
|
6325
6325
|
async _openPopup(e, t, r, i) {
|
6326
6326
|
var s;
|
6327
|
-
|
6328
|
-
const a = await
|
6329
|
-
return
|
6327
|
+
k((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
|
6328
|
+
const a = await Ot(e, t, r, We(), i);
|
6329
|
+
return ba(e, a, Qe());
|
6330
6330
|
}
|
6331
6331
|
async _openRedirect(e, t, r, i) {
|
6332
6332
|
await this._originValidation(e);
|
6333
|
-
const s = await
|
6334
|
-
return
|
6333
|
+
const s = await Ot(e, t, r, We(), i);
|
6334
|
+
return Ns(s), new Promise(() => {
|
6335
6335
|
});
|
6336
6336
|
}
|
6337
6337
|
_initialize(e) {
|
6338
6338
|
const t = e._key();
|
6339
6339
|
if (this.eventManagers[t]) {
|
6340
6340
|
const { manager: i, promise: s } = this.eventManagers[t];
|
6341
|
-
return i ? Promise.resolve(i) : (
|
6341
|
+
return i ? Promise.resolve(i) : (k(s, "If manager is not set, promise should be"), s);
|
6342
6342
|
}
|
6343
6343
|
const r = this.initAndGetManager(e);
|
6344
6344
|
return this.eventManagers[t] = { promise: r }, r.catch(() => {
|
@@ -6346,7 +6346,7 @@ class ka {
|
|
6346
6346
|
}), r;
|
6347
6347
|
}
|
6348
6348
|
async initAndGetManager(e) {
|
6349
|
-
const t = await
|
6349
|
+
const t = await ma(e), r = new qs(e);
|
6350
6350
|
return t.register("authEvent", (i) => (u(
|
6351
6351
|
i == null ? void 0 : i.authEvent,
|
6352
6352
|
e,
|
@@ -6376,7 +6376,7 @@ class ka {
|
|
6376
6376
|
return gn() || un() || Ke();
|
6377
6377
|
}
|
6378
6378
|
}
|
6379
|
-
const Sa =
|
6379
|
+
const Sa = Ra;
|
6380
6380
|
var Dt = "@firebase/auth", Pt = "1.7.9";
|
6381
6381
|
/**
|
6382
6382
|
* @license
|
@@ -6445,7 +6445,7 @@ class Aa {
|
|
6445
6445
|
* See the License for the specific language governing permissions and
|
6446
6446
|
* limitations under the License.
|
6447
6447
|
*/
|
6448
|
-
function
|
6448
|
+
function Na(n) {
|
6449
6449
|
switch (n) {
|
6450
6450
|
case "Node":
|
6451
6451
|
return "node";
|
@@ -6462,7 +6462,7 @@ function Oa(n) {
|
|
6462
6462
|
}
|
6463
6463
|
}
|
6464
6464
|
function Ca(n) {
|
6465
|
-
|
6465
|
+
X(new G(
|
6466
6466
|
"auth",
|
6467
6467
|
(e, { options: t }) => {
|
6468
6468
|
const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: a, authDomain: c } = r.options;
|
@@ -6488,10 +6488,10 @@ function Ca(n) {
|
|
6488
6488
|
"auth-internal"
|
6489
6489
|
/* _ComponentName.AUTH_INTERNAL */
|
6490
6490
|
).initialize();
|
6491
|
-
})),
|
6491
|
+
})), X(new G(
|
6492
6492
|
"auth-internal",
|
6493
6493
|
(e) => {
|
6494
|
-
const t =
|
6494
|
+
const t = Ie(e.getProvider(
|
6495
6495
|
"auth"
|
6496
6496
|
/* _ComponentName.AUTH */
|
6497
6497
|
).getImmediate());
|
@@ -6502,7 +6502,7 @@ function Ca(n) {
|
|
6502
6502
|
).setInstantiationMode(
|
6503
6503
|
"EXPLICIT"
|
6504
6504
|
/* InstantiationMode.EXPLICIT */
|
6505
|
-
)),
|
6505
|
+
)), W(Dt, Pt, Na(n)), W(Dt, Pt, "esm2017");
|
6506
6506
|
}
|
6507
6507
|
/**
|
6508
6508
|
* @license
|
@@ -6520,7 +6520,7 @@ function Ca(n) {
|
|
6520
6520
|
* See the License for the specific language governing permissions and
|
6521
6521
|
* limitations under the License.
|
6522
6522
|
*/
|
6523
|
-
const
|
6523
|
+
const Oa = 5 * 60, Da = zt("authIdTokenMaxAge") || Oa;
|
6524
6524
|
let Mt = null;
|
6525
6525
|
const Pa = (n) => async (e) => {
|
6526
6526
|
const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
|
@@ -6534,16 +6534,16 @@ const Pa = (n) => async (e) => {
|
|
6534
6534
|
} : {}
|
6535
6535
|
}));
|
6536
6536
|
};
|
6537
|
-
function Ma(n =
|
6538
|
-
const e =
|
6537
|
+
function Ma(n = Ri()) {
|
6538
|
+
const e = Xt(n, "auth");
|
6539
6539
|
if (e.isInitialized())
|
6540
6540
|
return e.getImmediate();
|
6541
6541
|
const t = us(n, {
|
6542
6542
|
popupRedirectResolver: Sa,
|
6543
6543
|
persistence: [
|
6544
|
-
|
6545
|
-
|
6546
|
-
|
6544
|
+
xs,
|
6545
|
+
Rs,
|
6546
|
+
Rn
|
6547
6547
|
]
|
6548
6548
|
}), r = zt("authTokenSyncURL");
|
6549
6549
|
if (r && typeof isSecureContext == "boolean" && isSecureContext) {
|
@@ -6583,7 +6583,7 @@ Ca(
|
|
6583
6583
|
);
|
6584
6584
|
const Ua = Ln({
|
6585
6585
|
history: Un(),
|
6586
|
-
routes: [...
|
6586
|
+
routes: [...Ge, ...le]
|
6587
6587
|
});
|
6588
6588
|
let Pe, Me;
|
6589
6589
|
Ua.beforeEach(async (n) => {
|
@@ -6616,14 +6616,14 @@ Ua.beforeEach(async (n) => {
|
|
6616
6616
|
const Ba = /* @__PURE__ */ Ut({
|
6617
6617
|
__name: "AppSidebar",
|
6618
6618
|
setup(n) {
|
6619
|
-
const e = Ve(), t = Bn(), { t: r } =
|
6619
|
+
const e = Ve(), t = Bn(), { t: r } = Gn(), i = Fn(t.currentRoute.value.name);
|
6620
6620
|
Z(t.currentRoute, () => {
|
6621
6621
|
let l = t.currentRoute.value.name;
|
6622
6622
|
t.currentRoute.value.meta.parent && (l = t.currentRoute.value.meta.parent), i.value = l;
|
6623
6623
|
});
|
6624
|
-
const s =
|
6625
|
-
var
|
6626
|
-
if (!((
|
6624
|
+
const s = Ge.map((l) => {
|
6625
|
+
var m;
|
6626
|
+
if (!((m = l.meta) != null && m.sidebarDisplay))
|
6627
6627
|
return;
|
6628
6628
|
const d = l.meta.sidebarDisplay, h = {
|
6629
6629
|
label: d.startsWith("i18n:") ? r(d.replaceAll("i18n:", "")) : d,
|
@@ -6633,7 +6633,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6633
6633
|
return t.push({ name: l.name });
|
6634
6634
|
}
|
6635
6635
|
};
|
6636
|
-
return l.meta.sidebarNew && (h.badge = () =>
|
6636
|
+
return l.meta.sidebarNew && (h.badge = () => Wn($n.FmPill, { label: "New" })), h;
|
6637
6637
|
}).filter((l) => !!l), a = le.map((l) => {
|
6638
6638
|
var d;
|
6639
6639
|
if ((d = l.meta) != null && d.sidebarDisplay && !l.meta.section)
|
@@ -6690,20 +6690,20 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6690
6690
|
});
|
6691
6691
|
return (l, d) => {
|
6692
6692
|
const h = Bt("FmCollapsibleTabs");
|
6693
|
-
return
|
6693
|
+
return xt(), Ft(h, {
|
6694
6694
|
modelValue: i.value,
|
6695
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
6695
|
+
"onUpdate:modelValue": d[0] || (d[0] = (m) => i.value = m),
|
6696
6696
|
items: o.value,
|
6697
6697
|
class: "py-16 px-8 w-[240px]"
|
6698
6698
|
}, null, 8, ["modelValue", "items"]);
|
6699
6699
|
};
|
6700
6700
|
}
|
6701
6701
|
});
|
6702
|
-
var
|
6702
|
+
var xa = { authClientId: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", authDomain: "feedme-253402.firebaseapp.com", databaseURL: "https://feedme-253402.firebaseio.com", projectId: "feedme-253402", storageBucket: "image.feedme.cc", messagingSenderId: "128512026847", appId: "1:128512026847:web:7c5c8ab7e8b90502dc616a", measurementId: "G-LTKS7N2HQS" }, assetBucketUrl: "static.feedme.cc" };
|
6703
6703
|
const $a = /* @__PURE__ */ Ut({
|
6704
6704
|
__name: "App",
|
6705
6705
|
setup(n) {
|
6706
|
-
const { state: e } = sr(), t = Ve(), r =
|
6706
|
+
const { state: e } = sr(), t = Ve(), r = xn(), i = Yt(xa.firebase);
|
6707
6707
|
async function s() {
|
6708
6708
|
const a = t.sessionUser.value;
|
6709
6709
|
if (!a || !a.token) return;
|
@@ -6712,11 +6712,11 @@ const $a = /* @__PURE__ */ Ut({
|
|
6712
6712
|
}
|
6713
6713
|
return s(), Z(t.sessionUser, s), Hn(() => {
|
6714
6714
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6715
|
-
}),
|
6715
|
+
}), jn(() => {
|
6716
6716
|
t.registerSidebarComponent(Ba);
|
6717
6717
|
}), (a, c) => {
|
6718
6718
|
const o = Bt("RouterView");
|
6719
|
-
return
|
6719
|
+
return xt(), Ft(o, {
|
6720
6720
|
key: Vn(r).path
|
6721
6721
|
});
|
6722
6722
|
};
|
@@ -6724,20 +6724,20 @@ const $a = /* @__PURE__ */ Ut({
|
|
6724
6724
|
}), Za = {
|
6725
6725
|
"en-US": qn,
|
6726
6726
|
"zh-CN": ir
|
6727
|
-
}, Ja = [...le, ...
|
6727
|
+
}, Ja = [...le, ...Ge];
|
6728
6728
|
export {
|
6729
|
-
|
6729
|
+
G as C,
|
6730
6730
|
M as F,
|
6731
6731
|
ee as S,
|
6732
|
-
|
6733
|
-
|
6734
|
-
|
6735
|
-
|
6732
|
+
X as _,
|
6733
|
+
Xt as a,
|
6734
|
+
Ga as b,
|
6735
|
+
Ri as c,
|
6736
6736
|
za as d,
|
6737
6737
|
gt as e,
|
6738
6738
|
Ja as f,
|
6739
6739
|
z as g,
|
6740
6740
|
$a as h,
|
6741
6741
|
Za as i,
|
6742
|
-
|
6742
|
+
W as r
|
6743
6743
|
};
|