@feedmepos/mf-payment 1.1.7-beta.4 → 1.1.7-beta.5
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-7TEE2BzE.js → PayoutAccount-BM5YRYN9.js} +5 -5
- package/dist/{PayoutAccount-DwKI9IhW.js → PayoutAccount-CnxX2N0l.js} +3 -3
- package/dist/{PayoutAccountSetting-C2ISSDKv.js → PayoutAccountSetting-CYEDbNXl.js} +3 -3
- package/dist/{Restaurant-BXWgyQGg.js → Restaurant-D_iO5C0m.js} +4 -4
- package/dist/{RestaurantSetting-B2zqIloE.js → RestaurantSetting-CuOT140H.js} +3 -3
- package/dist/{Settlement-6eU_HP7K.js → Settlement-6HiVcu0l.js} +3 -3
- package/dist/{Settlement-CBhBo7w7.js → Settlement-CY8315rQ.js} +3 -3
- package/dist/{SettlementTransactions-DAzU50AC.js → SettlementTransactions-Ci8PF1OX.js} +3 -3
- package/dist/{SettlementTransactions-C4Hj7cKF.js → SettlementTransactions-ziCXqaiy.js} +3 -3
- package/dist/{Terminal-D-mwA9bo.js → Terminal-BuOfI_zu.js} +5 -5
- package/dist/TerminalSetting-CTKfzmft.js +497 -0
- package/dist/{Transaction-CCjNEXsW.js → Transaction-Bpa0eDNG.js} +6 -6
- package/dist/{Transaction-C1Z1g1Oh.js → Transaction-et-KevEl.js} +5 -5
- package/dist/{TransactionOld-xW6kfmjb.js → TransactionOld-y5-lkWbc.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-CU6q9oND.js → TransactionTable.vue_vue_type_script_setup_true_lang-BBtUxiMq.js} +3 -3
- package/dist/api/terminal/index.d.ts +1 -1
- package/dist/{app-DSu8Bqxt.js → app-Bz1GxrfP.js} +255 -255
- package/dist/app.js +1 -1
- package/dist/{assets-BYZLC205.js → assets-CFu52OGc.js} +1 -1
- package/dist/{grafana-B-ZEJ__-.js → grafana-DR0vcbv7.js} +1 -1
- package/dist/{index-Yd0Q7mxR.js → index-BJF9lPV4.js} +1 -1
- package/dist/{index-B5I6xD5e.js → index-C1IEirFI.js} +1 -1
- package/dist/{index-EJS3NJlp.js → index-CAiA-B0B.js} +838 -838
- package/dist/{index-ClUkVJXR.js → index-CM1aljm7.js} +1 -1
- package/dist/{index-CEbxMc8H.js → index-DY-CMDz7.js} +1 -1
- package/dist/{index-yIQx0FT4.js → index-DbaQ_-s2.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BHvwhRYU.js → index.vue_vue_type_script_setup_true_lang-B0E1G00H.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-DgcZA_FW.js → payout-account-wPSONvk-.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/TerminalSetting-ByPtWVqu.js +0 -489
@@ -1,9 +1,9 @@
|
|
1
1
|
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as Fn } from "vue-router";
|
2
|
-
import { computed as Lt, watch as
|
3
|
-
import { useCoreStore as
|
2
|
+
import { computed as Lt, watch as Z, defineComponent as Ut, ref as xn, resolveComponent as Bt, openBlock as Ft, createBlock as xt, h as Hn, onMounted as Vn, onBeforeMount as Gn, unref as jn } from "vue";
|
3
|
+
import { useCoreStore as je, useI18n as Wn } from "@feedmepos/mf-common";
|
4
4
|
import { defineStore as zn } from "pinia";
|
5
|
-
import { components as
|
6
|
-
const
|
5
|
+
import { components as $n } from "@feedmepos/ui-library";
|
6
|
+
const Zn = {
|
7
7
|
select: "Select filter entity",
|
8
8
|
restaurant: "Restaurant",
|
9
9
|
device: "Device",
|
@@ -13,7 +13,7 @@ const $n = {
|
|
13
13
|
transaction: "Transactions",
|
14
14
|
"transaction-new": "Transactions",
|
15
15
|
settlement: "Settlements"
|
16
|
-
},
|
16
|
+
}, Yn = {
|
17
17
|
title: "Settlements",
|
18
18
|
description: "Settlements are the finalization of financial transactions, transferring funds to complete payments.",
|
19
19
|
export: "Export",
|
@@ -71,7 +71,7 @@ const $n = {
|
|
71
71
|
settlement_amount: "Settlement Amount"
|
72
72
|
}
|
73
73
|
}
|
74
|
-
},
|
74
|
+
}, Xn = {
|
75
75
|
title: "Transactions",
|
76
76
|
description: "Transactions are purchases or payments made over the internet using electronic methods like cards or digital wallets.",
|
77
77
|
restaurant: "Restaurant",
|
@@ -144,10 +144,10 @@ const $n = {
|
|
144
144
|
}
|
145
145
|
}
|
146
146
|
}, qn = {
|
147
|
-
components:
|
147
|
+
components: Zn,
|
148
148
|
routes: Jn,
|
149
|
-
settlements:
|
150
|
-
transactions:
|
149
|
+
settlements: Yn,
|
150
|
+
transactions: Xn,
|
151
151
|
payout_account: Kn
|
152
152
|
}, Qn = {
|
153
153
|
select: "选择筛选对象",
|
@@ -303,7 +303,7 @@ const $n = {
|
|
303
303
|
sidebarDisplay: "Restaurants",
|
304
304
|
section: "payment-gateway"
|
305
305
|
},
|
306
|
-
component: () => import("./Restaurant-
|
306
|
+
component: () => import("./Restaurant-D_iO5C0m.js")
|
307
307
|
},
|
308
308
|
{
|
309
309
|
path: "/admin/restaurants/:restaurantId",
|
@@ -312,7 +312,7 @@ const $n = {
|
|
312
312
|
meta: {
|
313
313
|
parent: "mf-payment-admin.restaurant"
|
314
314
|
},
|
315
|
-
component: () => import("./RestaurantSetting-
|
315
|
+
component: () => import("./RestaurantSetting-CuOT140H.js")
|
316
316
|
},
|
317
317
|
{
|
318
318
|
path: "/admin/payout-accounts",
|
@@ -321,7 +321,7 @@ const $n = {
|
|
321
321
|
sidebarDisplay: "Payout Accounts",
|
322
322
|
section: "payment-gateway"
|
323
323
|
},
|
324
|
-
component: () => import("./PayoutAccount-
|
324
|
+
component: () => import("./PayoutAccount-BM5YRYN9.js")
|
325
325
|
},
|
326
326
|
{
|
327
327
|
path: "/admin/payout-accounts/:accountId",
|
@@ -330,7 +330,7 @@ const $n = {
|
|
330
330
|
meta: {
|
331
331
|
parent: "mf-payment-admin.payout-account"
|
332
332
|
},
|
333
|
-
component: () => import("./PayoutAccountSetting-
|
333
|
+
component: () => import("./PayoutAccountSetting-CYEDbNXl.js")
|
334
334
|
},
|
335
335
|
{
|
336
336
|
path: "/admin/terminal/pos",
|
@@ -339,7 +339,7 @@ const $n = {
|
|
339
339
|
sidebarDisplay: "POS",
|
340
340
|
section: "device"
|
341
341
|
},
|
342
|
-
component: () => import("./Terminal-
|
342
|
+
component: () => import("./Terminal-BuOfI_zu.js"),
|
343
343
|
props: {
|
344
344
|
type: "POS"
|
345
345
|
}
|
@@ -351,7 +351,7 @@ const $n = {
|
|
351
351
|
sidebarDisplay: "Kiosks",
|
352
352
|
section: "device"
|
353
353
|
},
|
354
|
-
component: () => import("./Terminal-
|
354
|
+
component: () => import("./Terminal-BuOfI_zu.js"),
|
355
355
|
props: {
|
356
356
|
type: "KIOSK"
|
357
357
|
}
|
@@ -363,7 +363,7 @@ const $n = {
|
|
363
363
|
sidebarDisplay: "Terminals",
|
364
364
|
section: "device"
|
365
365
|
},
|
366
|
-
component: () => import("./Terminal-
|
366
|
+
component: () => import("./Terminal-BuOfI_zu.js"),
|
367
367
|
props: {
|
368
368
|
type: "TERMINAL"
|
369
369
|
}
|
@@ -375,7 +375,7 @@ const $n = {
|
|
375
375
|
meta: {
|
376
376
|
parent: "mf-payment-admin.pos"
|
377
377
|
},
|
378
|
-
component: () => import("./TerminalSetting-
|
378
|
+
component: () => import("./TerminalSetting-CTKfzmft.js")
|
379
379
|
},
|
380
380
|
{
|
381
381
|
path: "/admin/terminal/kiosk/:terminalId",
|
@@ -384,7 +384,7 @@ const $n = {
|
|
384
384
|
meta: {
|
385
385
|
parent: "mf-payment-admin.kiosk"
|
386
386
|
},
|
387
|
-
component: () => import("./TerminalSetting-
|
387
|
+
component: () => import("./TerminalSetting-CTKfzmft.js")
|
388
388
|
},
|
389
389
|
{
|
390
390
|
path: "/admin/terminal/terminal/:terminalId",
|
@@ -393,7 +393,7 @@ const $n = {
|
|
393
393
|
meta: {
|
394
394
|
parent: "mf-payment-admin.terminal"
|
395
395
|
},
|
396
|
-
component: () => import("./TerminalSetting-
|
396
|
+
component: () => import("./TerminalSetting-CTKfzmft.js")
|
397
397
|
},
|
398
398
|
{
|
399
399
|
path: "/admin/transaction",
|
@@ -401,7 +401,7 @@ const $n = {
|
|
401
401
|
meta: {
|
402
402
|
sidebarDisplay: "Transactions"
|
403
403
|
},
|
404
|
-
component: () => import("./Transaction-
|
404
|
+
component: () => import("./Transaction-et-KevEl.js")
|
405
405
|
},
|
406
406
|
{
|
407
407
|
path: "/admin/settlement",
|
@@ -409,7 +409,7 @@ const $n = {
|
|
409
409
|
meta: {
|
410
410
|
sidebarDisplay: "Settlements"
|
411
411
|
},
|
412
|
-
component: () => import("./Settlement-
|
412
|
+
component: () => import("./Settlement-CY8315rQ.js")
|
413
413
|
},
|
414
414
|
{
|
415
415
|
path: "/admin/settlement/:settlementId",
|
@@ -418,7 +418,7 @@ const $n = {
|
|
418
418
|
meta: {
|
419
419
|
parent: "mf-payment-admin.settlement"
|
420
420
|
},
|
421
|
-
component: () => import("./SettlementTransactions-
|
421
|
+
component: () => import("./SettlementTransactions-Ci8PF1OX.js")
|
422
422
|
}
|
423
423
|
], We = [
|
424
424
|
{
|
@@ -428,7 +428,7 @@ const $n = {
|
|
428
428
|
{
|
429
429
|
path: "/payout-account",
|
430
430
|
name: "mf-payment-payout-account",
|
431
|
-
component: () => import("./PayoutAccount-
|
431
|
+
component: () => import("./PayoutAccount-CnxX2N0l.js"),
|
432
432
|
meta: {
|
433
433
|
sidebarDisplay: "i18n:routes.payout_account"
|
434
434
|
}
|
@@ -436,7 +436,7 @@ const $n = {
|
|
436
436
|
{
|
437
437
|
path: "/transaction-old",
|
438
438
|
name: "mf-payment-old-transaction",
|
439
|
-
component: () => import("./TransactionOld-
|
439
|
+
component: () => import("./TransactionOld-y5-lkWbc.js"),
|
440
440
|
meta: {
|
441
441
|
sidebarDisplay: "i18n:routes.transaction"
|
442
442
|
}
|
@@ -444,7 +444,7 @@ const $n = {
|
|
444
444
|
{
|
445
445
|
path: "/transaction",
|
446
446
|
name: "mf-payment-transaction",
|
447
|
-
component: () => import("./Transaction-
|
447
|
+
component: () => import("./Transaction-Bpa0eDNG.js"),
|
448
448
|
meta: {
|
449
449
|
sidebarDisplay: "i18n:routes.transaction-new",
|
450
450
|
sidebarNew: !0
|
@@ -453,7 +453,7 @@ const $n = {
|
|
453
453
|
{
|
454
454
|
path: "/settlement",
|
455
455
|
name: "mf-payment-settlement",
|
456
|
-
component: () => import("./Settlement-
|
456
|
+
component: () => import("./Settlement-6HiVcu0l.js"),
|
457
457
|
meta: {
|
458
458
|
sidebarDisplay: "i18n:routes.settlement"
|
459
459
|
}
|
@@ -462,7 +462,7 @@ const $n = {
|
|
462
462
|
path: "/settlement/:settlementId",
|
463
463
|
name: "mf-payment-settlement-transaction",
|
464
464
|
props: !0,
|
465
|
-
component: () => import("./SettlementTransactions-
|
465
|
+
component: () => import("./SettlementTransactions-ziCXqaiy.js"),
|
466
466
|
meta: {
|
467
467
|
parent: "mf-payment-settlement"
|
468
468
|
}
|
@@ -479,7 +479,7 @@ const $n = {
|
|
479
479
|
init: t
|
480
480
|
};
|
481
481
|
});
|
482
|
-
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_89205783-55a0-49f3-b7c5-10ea171f1384", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies_jest: "^29.6.3", npm_package_dependencies_vue_pdf_embed: "^2.1.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v22.14.0 linux x64", npm_config_always_auth: "", CI: "true", npm_package_dependencies_vue: "^3.2.25", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_89205783-55a0-49f3-b7c5-10ea171f1384", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", npm_package_devDependencies_vite: "^5.2.11", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "ghs_3VR6qsFe24IOxHP381VFxzjm2739Kp3reI8L", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "708", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250323.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:6028", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "14303739685", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "b9605574e260fd49c432cc5c5d2f3eea578a0176", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-dev.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6YTg5ZTJjNWYtNTJiNi00ZTgzLWI2ZjktMjFmY2Q2OTgwMTQ5OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDQxIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46YTg5ZTJjNWYtNTJiNi00ZTgzLWI2ZjktMjFmY2Q2OTgwMTQ5OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDQxIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiY2ExOTUzNjQtNTY2MS00OTRjLTk5ZjUtMjQxM2U2YjIzNTNkIiwic2lkIjoiZTcxZDNiN2EtNjk5Ny00MTU1LTgyZGUtM2YzZjNkMGM1MmZmIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcImI5NjA1NTc0ZTI2MGZkNDljNDMyY2M1YzVkMmYzZWVhNTc4YTAxNzZcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQzMDM3Mzk2ODVcIixcInJ1bl9udW1iZXJcIjpcIjE2NFwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCJiOTYwNTU3NGUyNjBmZDQ5YzQzMmNjNWM1ZDJmM2VlYTU3OGEwMTc2XCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJiOTYwNTU3NGUyNjBmZDQ5YzQzMmNjNWM1ZDJmM2VlYTU3OGEwMTc2XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiJhODllMmM1Zi01MmI2LTRlODMtYjZmOS0yMWZjZDY5ODAxNDkuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDQwMTE2MjIsImV4cCI6MTc0NDAzNDQyMn0.r6LbxA_ArrDTcaQ69_6WIROfXjMd9nYIafuI7v98yoz5owTgCPzJ88euB_Kwz-k5iBDs0ncRWeD2pcyReeOxtFgRwfr5GXf06Tfimz7ciPrYax3ZGym2CoDyglNtJHZAVyR-B-BVvS5by_9WD0W8pMGL1x4cV20Oz2R9ezQ5NmvFvW6Yrj1zrxQ7WohXtThpP5cZVrwVP9vuGvx5-AHGn5slBJ0nAqNuosXorZ_8P0MNVx57vfjMRnYHdB0N8U19XbTxKdkUq1snJyNUduYCWE1D77mi6BeueAMjkIgD3mymAUkujBg2L7jZmslRry6V3_myWoOpO7pFWot80pFthg", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1744012258282-0.09335054937524889:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1744012258119-0.31327519926879166:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1744012257959-0.39213652275769606:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_030e5190-c60d-43de-8d1a-bb2d46bcf34b", INVOCATION_ID: "73a9e09b03aa42daba80055efe38a364", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_devDependencies__types_qrcode: "^1.5.0", npm_package_devDependencies__types_jsurl: "^0.1.2", npm_package_dependencies_file_saver: "^2.0.5", npm_package_scripts_deploy_dev: "yarn build-only:dev && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_name: "@feedmepos/mf-payment", GITHUB_ACTION: "__run", GITHUB_RUN_NUMBER: "164", GITHUB_TRIGGERING_ACTOR: "Oskang09", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_package_scripts_deploy_prod: "yarn build-only:prod && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_dependencies_vue_advanced_cropper: "^2.8.6", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.17.0", npm_package_devDependencies__vue_test_utils: "^2.4.1", npm_package_devDependencies__vue_eslint_config_typescript: "^10.0.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 51", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:dev", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:dev", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.7-beta.4", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "b9605574e260fd49c432cc5c5d2f3eea578a0176", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_89205783-55a0-49f3-b7c5-10ea171f1384", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/payment-service/payment-service/mf-portal", GITHUB_ACTOR_ID: "15674107", RUNNER_WORKSPACE: "/home/runner/work/payment-service", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://pipelinesghubeus11.actions.githubusercontent.com/uhMzCspeMtZD05BczWutTDpLRkQb1I4q0fwG0tss4R7H4Wpw9s/00000000-0000-0000-0000-000000000000/_apis/distributedtask/hubs/Actions/plans/a89e2c5f-52b6-4e83-b6f9-21fcd6980149/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_89205783-55a0-49f3-b7c5-10ea171f1384", npm_package_dependencies_qrcode_vue: "^3.6.0", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_devDependencies_postcss: "^8.4.47", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_cd: "^0.3.3", npm_package_dependencies_i18next_http_backend: "^1.4.1", npm_package_dependencies_rasterizehtml: "^1.3.1", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", INIT_CWD: "/home/runner/work/payment-service/payment-service/mf-portal", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_89205783-55a0-49f3-b7c5-10ea171f1384", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
482
|
+
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_08181a8a-1a68-4c95-a2e2-372d455c0625", 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_08181a8a-1a68-4c95-a2e2-372d455c0625", 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_mqqddTt5zebHQNztIadHV7FspWT3CN3JvB4j", 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: "715", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250323.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:6118", 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: "14309882355", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "5445eda15905537f889f5c399bb58e5d4f2d99bb", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6N2VlMzc3YjctM2VkYS00YjMzLWFlNjEtMDRlMjQ0ZGE1NTk4OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDU0IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46N2VlMzc3YjctM2VkYS00YjMzLWFlNjEtMDRlMjQ0ZGE1NTk4OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDU0IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiOTQ4Y2Y2OTAtZDM2Yy00MTkyLTk2ZmMtYWY4MTNkNjEyMDY3Iiwic2lkIjoiNGM5YjY3NDgtZGIxMy00NDdjLTgxMmUtNzkyMWEwZmE3MjdiIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjU0NDVlZGExNTkwNTUzN2Y4ODlmNWMzOTliYjU4ZTVkNGYyZDk5YmJcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQzMDk4ODIzNTVcIixcInJ1bl9udW1iZXJcIjpcIjE2NVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCI1NDQ1ZWRhMTU5MDU1MzdmODg5ZjVjMzk5YmI1OGU1ZDRmMmQ5OWJiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCI1NDQ1ZWRhMTU5MDU1MzdmODg5ZjVjMzk5YmI1OGU1ZDRmMmQ5OWJiXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiI3ZWUzNzdiNy0zZWRhLTRiMzMtYWU2MS0wNGUyNDRkYTU1OTguZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDQwMzAyOTIsImV4cCI6MTc0NDA1MzA5Mn0.COpKWMOjpTPO9dpi6MdunZnjbh6Nm164s_KQY3cLvWFOsUe3A49mI0EFRlymoxQaKZiyLB9KIEjRqxiC-HsDij6gcOjvGgNy28OYXAwxVkTtaNU0WwVqEyQdY_DFqccH6mIw3y8-C_dpxzXP5QSq3yIYjP4vgoaurcZIzJH9T_XUGKiaJQ0wBohzG9Or1wFSoLuO2YYNlO35Iso9zsRlyC_51MgrFabiwBYI6sRCJAQl-XFhVHnaKGI37O-Nr517WonRrS9OVGHoGQgRSFDf1A3BaA-bwmxCoUZCxx1-HUjMZ4kqYq6y72Th9s31XlImC3ambN7ibt8x5ST7k5LlMw", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1744030934510-0.4995528230975539:/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--1744030934352-0.6792988677188341:/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--1744030934193-0.15040655406084213:/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_5d84864e-03cc-42f8-a6ef-e986ab79a9e8", INVOCATION_ID: "7a94509ac41441afb23a62e141d808d0", 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: "165", 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 447", 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.5", 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: "5445eda15905537f889f5c399bb58e5d4f2d99bb", 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_08181a8a-1a68-4c95-a2e2-372d455c0625", 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/7ee377b7-3eda-4b33-ae61-04e244da5598/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_08181a8a-1a68-4c95-a2e2-372d455c0625", 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_08181a8a-1a68-4c95-a2e2-372d455c0625", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
483
483
|
/**
|
484
484
|
* @license
|
485
485
|
* Copyright 2017 Google LLC
|
@@ -496,7 +496,7 @@ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
|
|
496
496
|
* See the License for the specific language governing permissions and
|
497
497
|
* limitations under the License.
|
498
498
|
*/
|
499
|
-
const
|
499
|
+
const Ht = function(n) {
|
500
500
|
const e = [];
|
501
501
|
let t = 0;
|
502
502
|
for (let r = 0; r < n.length; r++) {
|
@@ -597,7 +597,7 @@ const jt = function(n) {
|
|
597
597
|
* @return The base64 encoded string.
|
598
598
|
*/
|
599
599
|
encodeString(n, e) {
|
600
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(
|
600
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(Ht(n), e);
|
601
601
|
},
|
602
602
|
/**
|
603
603
|
* Base64-decode a string.
|
@@ -666,11 +666,11 @@ class or extends Error {
|
|
666
666
|
}
|
667
667
|
}
|
668
668
|
const cr = function(n) {
|
669
|
-
const e =
|
669
|
+
const e = Ht(n);
|
670
670
|
return Vt.encodeByteArray(e, !0);
|
671
671
|
}, de = function(n) {
|
672
672
|
return cr(n).replace(/\./g, "");
|
673
|
-
},
|
673
|
+
}, Gt = function(n) {
|
674
674
|
try {
|
675
675
|
return Vt.decodeString(n, !0);
|
676
676
|
} catch (e) {
|
@@ -734,7 +734,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
734
734
|
} catch {
|
735
735
|
return;
|
736
736
|
}
|
737
|
-
const e = n &&
|
737
|
+
const e = n && Gt(n[1]);
|
738
738
|
return e && JSON.parse(e);
|
739
739
|
}, ze = () => {
|
740
740
|
try {
|
@@ -743,11 +743,11 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
743
743
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
|
744
744
|
return;
|
745
745
|
}
|
746
|
-
},
|
746
|
+
}, jt = (n) => {
|
747
747
|
var e, t;
|
748
748
|
return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
|
749
749
|
}, Wa = (n) => {
|
750
|
-
const e =
|
750
|
+
const e = jt(n);
|
751
751
|
if (!e)
|
752
752
|
return;
|
753
753
|
const t = e.lastIndexOf(":");
|
@@ -933,17 +933,17 @@ class q {
|
|
933
933
|
this.service = e, this.serviceName = t, this.errors = r;
|
934
934
|
}
|
935
935
|
create(e, ...t) {
|
936
|
-
const r = t[0] || {}, i = `${this.service}/${e}`, s = this.errors[e], a = s ?
|
936
|
+
const r = t[0] || {}, i = `${this.service}/${e}`, s = this.errors[e], a = s ? Er(s, r) : "Error", c = `${this.serviceName}: ${a} (${i}).`;
|
937
937
|
return new M(i, c, r);
|
938
938
|
}
|
939
939
|
}
|
940
|
-
function
|
941
|
-
return n.replace(
|
940
|
+
function Er(n, e) {
|
941
|
+
return n.replace(Tr, (t, r) => {
|
942
942
|
const i = e[r];
|
943
943
|
return i != null ? String(i) : `<${r}?>`;
|
944
944
|
});
|
945
945
|
}
|
946
|
-
const
|
946
|
+
const Tr = /\{\$([^}]+)}/g;
|
947
947
|
function wr(n) {
|
948
948
|
for (const e in n)
|
949
949
|
if (Object.prototype.hasOwnProperty.call(n, e))
|
@@ -1220,7 +1220,7 @@ class Ar {
|
|
1220
1220
|
if (this.component)
|
1221
1221
|
throw Error(`Component for ${this.name} has already been provided`);
|
1222
1222
|
if (this.component = e, !!this.shouldAutoInitialize()) {
|
1223
|
-
if (
|
1223
|
+
if (Cr(e))
|
1224
1224
|
try {
|
1225
1225
|
this.getOrInitializeService({ instanceIdentifier: L });
|
1226
1226
|
} catch {
|
@@ -1326,7 +1326,7 @@ class Ar {
|
|
1326
1326
|
function Or(n) {
|
1327
1327
|
return n === L ? void 0 : n;
|
1328
1328
|
}
|
1329
|
-
function
|
1329
|
+
function Cr(n) {
|
1330
1330
|
return n.instantiationMode === "EAGER";
|
1331
1331
|
}
|
1332
1332
|
/**
|
@@ -1345,7 +1345,7 @@ function Nr(n) {
|
|
1345
1345
|
* See the License for the specific language governing permissions and
|
1346
1346
|
* limitations under the License.
|
1347
1347
|
*/
|
1348
|
-
class
|
1348
|
+
class Nr {
|
1349
1349
|
constructor(e) {
|
1350
1350
|
this.name = e, this.providers = /* @__PURE__ */ new Map();
|
1351
1351
|
}
|
@@ -1426,7 +1426,7 @@ const Dr = {
|
|
1426
1426
|
else
|
1427
1427
|
throw new Error(`Attempted to log a message with an invalid logType (value: ${e})`);
|
1428
1428
|
};
|
1429
|
-
class
|
1429
|
+
class $t {
|
1430
1430
|
/**
|
1431
1431
|
* Gives you an instance of a Logger to capture messages according to
|
1432
1432
|
* Firebase's logging scheme.
|
@@ -1499,24 +1499,24 @@ function Fr() {
|
|
1499
1499
|
IDBCursor.prototype.continuePrimaryKey
|
1500
1500
|
]);
|
1501
1501
|
}
|
1502
|
-
const
|
1502
|
+
const Zt = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap();
|
1503
1503
|
function xr(n) {
|
1504
1504
|
const e = new Promise((t, r) => {
|
1505
1505
|
const i = () => {
|
1506
1506
|
n.removeEventListener("success", s), n.removeEventListener("error", a);
|
1507
1507
|
}, s = () => {
|
1508
|
-
t(
|
1508
|
+
t(N(n.result)), i();
|
1509
1509
|
}, a = () => {
|
1510
1510
|
r(n.error), i();
|
1511
1511
|
};
|
1512
1512
|
n.addEventListener("success", s), n.addEventListener("error", a);
|
1513
1513
|
});
|
1514
1514
|
return e.then((t) => {
|
1515
|
-
t instanceof IDBCursor &&
|
1515
|
+
t instanceof IDBCursor && Zt.set(t, n);
|
1516
1516
|
}).catch(() => {
|
1517
|
-
}),
|
1517
|
+
}), $e.set(e, n), e;
|
1518
1518
|
}
|
1519
|
-
function
|
1519
|
+
function Hr(n) {
|
1520
1520
|
if (Le.has(n))
|
1521
1521
|
return;
|
1522
1522
|
const e = new Promise((t, r) => {
|
@@ -1541,7 +1541,7 @@ let Ue = {
|
|
1541
1541
|
if (e === "store")
|
1542
1542
|
return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
|
1543
1543
|
}
|
1544
|
-
return
|
1544
|
+
return N(n[e]);
|
1545
1545
|
},
|
1546
1546
|
set(n, e, t) {
|
1547
1547
|
return n[e] = t, !0;
|
@@ -1553,32 +1553,32 @@ let Ue = {
|
|
1553
1553
|
function Vr(n) {
|
1554
1554
|
Ue = n(Ue);
|
1555
1555
|
}
|
1556
|
-
function
|
1556
|
+
function Gr(n) {
|
1557
1557
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
1558
1558
|
const r = n.call(Ae(this), e, ...t);
|
1559
|
-
return Jt.set(r, e.sort ? e.sort() : [e]),
|
1559
|
+
return Jt.set(r, e.sort ? e.sort() : [e]), N(r);
|
1560
1560
|
} : Fr().includes(n) ? function(...e) {
|
1561
|
-
return n.apply(Ae(this), e),
|
1561
|
+
return n.apply(Ae(this), e), N(Zt.get(this));
|
1562
1562
|
} : function(...e) {
|
1563
|
-
return
|
1563
|
+
return N(n.apply(Ae(this), e));
|
1564
1564
|
};
|
1565
1565
|
}
|
1566
|
-
function
|
1567
|
-
return typeof n == "function" ?
|
1566
|
+
function jr(n) {
|
1567
|
+
return typeof n == "function" ? Gr(n) : (n instanceof IDBTransaction && Hr(n), Ur(n, Br()) ? new Proxy(n, Ue) : n);
|
1568
1568
|
}
|
1569
|
-
function
|
1569
|
+
function N(n) {
|
1570
1570
|
if (n instanceof IDBRequest)
|
1571
1571
|
return xr(n);
|
1572
1572
|
if (Se.has(n))
|
1573
1573
|
return Se.get(n);
|
1574
|
-
const e =
|
1575
|
-
return e !== n && (Se.set(n, e),
|
1574
|
+
const e = jr(n);
|
1575
|
+
return e !== n && (Se.set(n, e), $e.set(e, n)), e;
|
1576
1576
|
}
|
1577
|
-
const Ae = (n) =>
|
1577
|
+
const Ae = (n) => $e.get(n);
|
1578
1578
|
function Wr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
1579
|
-
const a = indexedDB.open(n, e), c =
|
1579
|
+
const a = indexedDB.open(n, e), c = N(a);
|
1580
1580
|
return r && a.addEventListener("upgradeneeded", (o) => {
|
1581
|
-
r(
|
1581
|
+
r(N(a.result), o.oldVersion, o.newVersion, N(a.transaction), o);
|
1582
1582
|
}), t && a.addEventListener("blocked", (o) => t(
|
1583
1583
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
1584
1584
|
o.oldVersion,
|
@@ -1589,13 +1589,13 @@ function Wr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
1589
1589
|
}).catch(() => {
|
1590
1590
|
}), c;
|
1591
1591
|
}
|
1592
|
-
const zr = ["get", "getKey", "getAll", "getAllKeys", "count"],
|
1592
|
+
const zr = ["get", "getKey", "getAll", "getAllKeys", "count"], $r = ["put", "add", "delete", "clear"], Oe = /* @__PURE__ */ new Map();
|
1593
1593
|
function ut(n, e) {
|
1594
1594
|
if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
|
1595
1595
|
return;
|
1596
1596
|
if (Oe.get(e))
|
1597
1597
|
return Oe.get(e);
|
1598
|
-
const t = e.replace(/FromIndex$/, ""), r = e !== t, i =
|
1598
|
+
const t = e.replace(/FromIndex$/, ""), r = e !== t, i = $r.includes(t);
|
1599
1599
|
if (
|
1600
1600
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
1601
1601
|
!(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i || zr.includes(t))
|
@@ -1632,7 +1632,7 @@ Vr((n) => ({
|
|
1632
1632
|
* See the License for the specific language governing permissions and
|
1633
1633
|
* limitations under the License.
|
1634
1634
|
*/
|
1635
|
-
class
|
1635
|
+
class Zr {
|
1636
1636
|
constructor(e) {
|
1637
1637
|
this.container = e;
|
1638
1638
|
}
|
@@ -1669,7 +1669,7 @@ const Be = "@firebase/app", ht = "0.10.13";
|
|
1669
1669
|
* See the License for the specific language governing permissions and
|
1670
1670
|
* limitations under the License.
|
1671
1671
|
*/
|
1672
|
-
const
|
1672
|
+
const T = new $t("@firebase/app"), Yr = "@firebase/app-compat", Xr = "@firebase/analytics-compat", Kr = "@firebase/analytics", qr = "@firebase/app-check-compat", Qr = "@firebase/app-check", ei = "@firebase/auth", ti = "@firebase/auth-compat", ni = "@firebase/database", ri = "@firebase/data-connect", ii = "@firebase/database-compat", si = "@firebase/functions", ai = "@firebase/functions-compat", oi = "@firebase/installations", ci = "@firebase/installations-compat", li = "@firebase/messaging", di = "@firebase/messaging-compat", ui = "@firebase/performance", hi = "@firebase/performance-compat", pi = "@firebase/remote-config", mi = "@firebase/remote-config-compat", fi = "@firebase/storage", _i = "@firebase/storage-compat", gi = "@firebase/firestore", vi = "@firebase/vertexai-preview", Ii = "@firebase/firestore-compat", bi = "firebase", yi = "10.14.1";
|
1673
1673
|
/**
|
1674
1674
|
* @license
|
1675
1675
|
* Copyright 2019 Google LLC
|
@@ -1686,11 +1686,11 @@ const E = new Zt("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/
|
|
1686
1686
|
* See the License for the specific language governing permissions and
|
1687
1687
|
* limitations under the License.
|
1688
1688
|
*/
|
1689
|
-
const Fe = "[DEFAULT]",
|
1689
|
+
const Fe = "[DEFAULT]", Ei = {
|
1690
1690
|
[Be]: "fire-core",
|
1691
|
-
[
|
1691
|
+
[Yr]: "fire-core-compat",
|
1692
1692
|
[Kr]: "fire-analytics",
|
1693
|
-
[
|
1693
|
+
[Xr]: "fire-analytics-compat",
|
1694
1694
|
[Qr]: "fire-app-check",
|
1695
1695
|
[qr]: "fire-app-check-compat",
|
1696
1696
|
[ei]: "fire-auth",
|
@@ -1732,26 +1732,26 @@ const Fe = "[DEFAULT]", Ti = {
|
|
1732
1732
|
* See the License for the specific language governing permissions and
|
1733
1733
|
* limitations under the License.
|
1734
1734
|
*/
|
1735
|
-
const he = /* @__PURE__ */ new Map(),
|
1735
|
+
const he = /* @__PURE__ */ new Map(), Ti = /* @__PURE__ */ new Map(), xe = /* @__PURE__ */ new Map();
|
1736
1736
|
function pt(n, e) {
|
1737
1737
|
try {
|
1738
1738
|
n.container.addComponent(e);
|
1739
1739
|
} catch (t) {
|
1740
|
-
|
1740
|
+
T.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
|
1741
1741
|
}
|
1742
1742
|
}
|
1743
|
-
function
|
1743
|
+
function Y(n) {
|
1744
1744
|
const e = n.name;
|
1745
1745
|
if (xe.has(e))
|
1746
|
-
return
|
1746
|
+
return T.debug(`There were multiple attempts to register component ${e}.`), !1;
|
1747
1747
|
xe.set(e, n);
|
1748
1748
|
for (const t of he.values())
|
1749
1749
|
pt(t, n);
|
1750
|
-
for (const t of
|
1750
|
+
for (const t of Ti.values())
|
1751
1751
|
pt(t, n);
|
1752
1752
|
return !0;
|
1753
1753
|
}
|
1754
|
-
function
|
1754
|
+
function Yt(n, e) {
|
1755
1755
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1756
1756
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1757
1757
|
}
|
@@ -1865,7 +1865,7 @@ class Ri {
|
|
1865
1865
|
* limitations under the License.
|
1866
1866
|
*/
|
1867
1867
|
const ee = yi;
|
1868
|
-
function
|
1868
|
+
function Xt(n, e = {}) {
|
1869
1869
|
let t = n;
|
1870
1870
|
typeof e != "object" && (e = { name: e });
|
1871
1871
|
const r = Object.assign({ name: Fe, automaticDataCollectionEnabled: !1 }, e), i = r.name;
|
@@ -1884,7 +1884,7 @@ function Yt(n, e = {}) {
|
|
1884
1884
|
return s;
|
1885
1885
|
throw D.create("duplicate-app", { appName: i });
|
1886
1886
|
}
|
1887
|
-
const a = new
|
1887
|
+
const a = new Nr(i);
|
1888
1888
|
for (const o of xe.values())
|
1889
1889
|
a.addComponent(o);
|
1890
1890
|
const c = new Ri(t, r, a);
|
@@ -1893,24 +1893,24 @@ function Yt(n, e = {}) {
|
|
1893
1893
|
function ki(n = Fe) {
|
1894
1894
|
const e = he.get(n);
|
1895
1895
|
if (!e && n === Fe && Wt())
|
1896
|
-
return
|
1896
|
+
return Xt();
|
1897
1897
|
if (!e)
|
1898
1898
|
throw D.create("no-app", { appName: n });
|
1899
1899
|
return e;
|
1900
1900
|
}
|
1901
|
-
function
|
1901
|
+
function H(n, e, t) {
|
1902
1902
|
var r;
|
1903
|
-
let i = (r =
|
1903
|
+
let i = (r = Ei[n]) !== null && r !== void 0 ? r : n;
|
1904
1904
|
t && (i += `-${t}`);
|
1905
1905
|
const s = i.match(/\s|\//), a = e.match(/\s|\//);
|
1906
1906
|
if (s || a) {
|
1907
1907
|
const c = [
|
1908
1908
|
`Unable to register library "${i}" with version "${e}":`
|
1909
1909
|
];
|
1910
|
-
s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`),
|
1910
|
+
s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`), T.warn(c.join(" "));
|
1911
1911
|
return;
|
1912
1912
|
}
|
1913
|
-
|
1913
|
+
Y(new W(
|
1914
1914
|
`${i}-version`,
|
1915
1915
|
() => ({ library: i, version: e }),
|
1916
1916
|
"VERSION"
|
@@ -1933,15 +1933,15 @@ function j(n, e, t) {
|
|
1933
1933
|
* See the License for the specific language governing permissions and
|
1934
1934
|
* limitations under the License.
|
1935
1935
|
*/
|
1936
|
-
const Si = "firebase-heartbeat-database", Ai = 1,
|
1937
|
-
let
|
1936
|
+
const Si = "firebase-heartbeat-database", Ai = 1, X = "firebase-heartbeat-store";
|
1937
|
+
let Ce = null;
|
1938
1938
|
function Kt() {
|
1939
|
-
return
|
1939
|
+
return Ce || (Ce = Wr(Si, Ai, {
|
1940
1940
|
upgrade: (n, e) => {
|
1941
1941
|
switch (e) {
|
1942
1942
|
case 0:
|
1943
1943
|
try {
|
1944
|
-
n.createObjectStore(
|
1944
|
+
n.createObjectStore(X);
|
1945
1945
|
} catch (t) {
|
1946
1946
|
console.warn(t);
|
1947
1947
|
}
|
@@ -1951,35 +1951,35 @@ function Kt() {
|
|
1951
1951
|
throw D.create("idb-open", {
|
1952
1952
|
originalErrorMessage: n.message
|
1953
1953
|
});
|
1954
|
-
})),
|
1954
|
+
})), Ce;
|
1955
1955
|
}
|
1956
1956
|
async function Oi(n) {
|
1957
1957
|
try {
|
1958
|
-
const t = (await Kt()).transaction(
|
1958
|
+
const t = (await Kt()).transaction(X), r = await t.objectStore(X).get(qt(n));
|
1959
1959
|
return await t.done, r;
|
1960
1960
|
} catch (e) {
|
1961
1961
|
if (e instanceof M)
|
1962
|
-
|
1962
|
+
T.warn(e.message);
|
1963
1963
|
else {
|
1964
1964
|
const t = D.create("idb-get", {
|
1965
1965
|
originalErrorMessage: e == null ? void 0 : e.message
|
1966
1966
|
});
|
1967
|
-
|
1967
|
+
T.warn(t.message);
|
1968
1968
|
}
|
1969
1969
|
}
|
1970
1970
|
}
|
1971
1971
|
async function mt(n, e) {
|
1972
1972
|
try {
|
1973
|
-
const r = (await Kt()).transaction(
|
1974
|
-
await r.objectStore(
|
1973
|
+
const r = (await Kt()).transaction(X, "readwrite");
|
1974
|
+
await r.objectStore(X).put(e, qt(n)), await r.done;
|
1975
1975
|
} catch (t) {
|
1976
1976
|
if (t instanceof M)
|
1977
|
-
|
1977
|
+
T.warn(t.message);
|
1978
1978
|
else {
|
1979
1979
|
const r = D.create("idb-set", {
|
1980
1980
|
originalErrorMessage: t == null ? void 0 : t.message
|
1981
1981
|
});
|
1982
|
-
|
1982
|
+
T.warn(r.message);
|
1983
1983
|
}
|
1984
1984
|
}
|
1985
1985
|
}
|
@@ -2002,7 +2002,7 @@ function qt(n) {
|
|
2002
2002
|
* See the License for the specific language governing permissions and
|
2003
2003
|
* limitations under the License.
|
2004
2004
|
*/
|
2005
|
-
const
|
2005
|
+
const Ci = 1024, Ni = 30 * 24 * 60 * 60 * 1e3;
|
2006
2006
|
class Di {
|
2007
2007
|
constructor(e) {
|
2008
2008
|
this.container = e, this._heartbeatsCache = null;
|
@@ -2022,10 +2022,10 @@ class Di {
|
|
2022
2022
|
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = ft();
|
2023
2023
|
return ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null && (this._heartbeatsCache = await this._heartbeatsCachePromise, ((t = this._heartbeatsCache) === null || t === void 0 ? void 0 : t.heartbeats) == null) || this._heartbeatsCache.lastSentHeartbeatDate === s || this._heartbeatsCache.heartbeats.some((a) => a.date === s) ? void 0 : (this._heartbeatsCache.heartbeats.push({ date: s, agent: i }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((a) => {
|
2024
2024
|
const c = new Date(a.date).valueOf();
|
2025
|
-
return Date.now() - c <=
|
2025
|
+
return Date.now() - c <= Ni;
|
2026
2026
|
}), this._storage.overwrite(this._heartbeatsCache));
|
2027
2027
|
} catch (r) {
|
2028
|
-
|
2028
|
+
T.warn(r);
|
2029
2029
|
}
|
2030
2030
|
}
|
2031
2031
|
/**
|
@@ -2043,14 +2043,14 @@ class Di {
|
|
2043
2043
|
const t = ft(), { heartbeatsToSend: r, unsentEntries: i } = Pi(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
|
2044
2044
|
return this._heartbeatsCache.lastSentHeartbeatDate = t, i.length > 0 ? (this._heartbeatsCache.heartbeats = i, await this._storage.overwrite(this._heartbeatsCache)) : (this._heartbeatsCache.heartbeats = [], this._storage.overwrite(this._heartbeatsCache)), s;
|
2045
2045
|
} catch (t) {
|
2046
|
-
return
|
2046
|
+
return T.warn(t), "";
|
2047
2047
|
}
|
2048
2048
|
}
|
2049
2049
|
}
|
2050
2050
|
function ft() {
|
2051
2051
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
2052
2052
|
}
|
2053
|
-
function Pi(n, e =
|
2053
|
+
function Pi(n, e = Ci) {
|
2054
2054
|
const t = [];
|
2055
2055
|
let r = n.slice();
|
2056
2056
|
for (const i of n) {
|
@@ -2142,17 +2142,17 @@ function _t(n) {
|
|
2142
2142
|
* limitations under the License.
|
2143
2143
|
*/
|
2144
2144
|
function Li(n) {
|
2145
|
-
|
2145
|
+
Y(new W(
|
2146
2146
|
"platform-logger",
|
2147
|
-
(e) => new
|
2147
|
+
(e) => new Zr(e),
|
2148
2148
|
"PRIVATE"
|
2149
2149
|
/* ComponentType.PRIVATE */
|
2150
|
-
)),
|
2150
|
+
)), Y(new W(
|
2151
2151
|
"heartbeat",
|
2152
2152
|
(e) => new Di(e),
|
2153
2153
|
"PRIVATE"
|
2154
2154
|
/* ComponentType.PRIVATE */
|
2155
|
-
)),
|
2155
|
+
)), H(Be, ht, n), H(Be, ht, "esm2017"), H("fire-js", "");
|
2156
2156
|
}
|
2157
2157
|
Li("");
|
2158
2158
|
var Ui = "firebase", Bi = "10.14.1";
|
@@ -2172,7 +2172,7 @@ var Ui = "firebase", Bi = "10.14.1";
|
|
2172
2172
|
* See the License for the specific language governing permissions and
|
2173
2173
|
* limitations under the License.
|
2174
2174
|
*/
|
2175
|
-
|
2175
|
+
H(Ui, Bi, "app");
|
2176
2176
|
var gt = function() {
|
2177
2177
|
return gt = Object.assign || function(e) {
|
2178
2178
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
@@ -2182,7 +2182,7 @@ var gt = function() {
|
|
2182
2182
|
return e;
|
2183
2183
|
}, gt.apply(this, arguments);
|
2184
2184
|
};
|
2185
|
-
function
|
2185
|
+
function Ze(n, e) {
|
2186
2186
|
var t = {};
|
2187
2187
|
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && e.indexOf(r) < 0 && (t[r] = n[r]);
|
2188
2188
|
if (n != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -2212,7 +2212,7 @@ const Fi = Qt, en = new q("auth", "Firebase", Qt());
|
|
2212
2212
|
* See the License for the specific language governing permissions and
|
2213
2213
|
* limitations under the License.
|
2214
2214
|
*/
|
2215
|
-
const pe = new
|
2215
|
+
const pe = new $t("@firebase/auth");
|
2216
2216
|
function xi(n, ...e) {
|
2217
2217
|
pe.logLevel <= p.WARN && pe.warn(`Auth (${ee}): ${n}`, ...e);
|
2218
2218
|
}
|
@@ -2284,11 +2284,11 @@ function R(n, e) {
|
|
2284
2284
|
* See the License for the specific language governing permissions and
|
2285
2285
|
* limitations under the License.
|
2286
2286
|
*/
|
2287
|
-
function
|
2287
|
+
function He() {
|
2288
2288
|
var n;
|
2289
2289
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
|
2290
2290
|
}
|
2291
|
-
function
|
2291
|
+
function Hi() {
|
2292
2292
|
return vt() === "http:" || vt() === "https:";
|
2293
2293
|
}
|
2294
2294
|
function vt() {
|
@@ -2317,9 +2317,9 @@ function Vi() {
|
|
2317
2317
|
// navigator.onLine behavior unless cordova-plugin-network-information is
|
2318
2318
|
// installed which overwrites the native navigator.onLine value and
|
2319
2319
|
// defines navigator.connection.
|
2320
|
-
(
|
2320
|
+
(Hi() || _r() || "connection" in navigator) ? navigator.onLine : !0;
|
2321
2321
|
}
|
2322
|
-
function
|
2322
|
+
function Gi() {
|
2323
2323
|
if (typeof navigator > "u")
|
2324
2324
|
return null;
|
2325
2325
|
const n = navigator;
|
@@ -2371,7 +2371,7 @@ class te {
|
|
2371
2371
|
* See the License for the specific language governing permissions and
|
2372
2372
|
* limitations under the License.
|
2373
2373
|
*/
|
2374
|
-
function
|
2374
|
+
function Ye(n, e) {
|
2375
2375
|
R(n.emulator, "Emulator should always be set here");
|
2376
2376
|
const { url: t } = n.emulator;
|
2377
2377
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
@@ -2446,7 +2446,7 @@ class nn {
|
|
2446
2446
|
* See the License for the specific language governing permissions and
|
2447
2447
|
* limitations under the License.
|
2448
2448
|
*/
|
2449
|
-
const
|
2449
|
+
const ji = {
|
2450
2450
|
// Custom token errors.
|
2451
2451
|
CREDENTIAL_MISMATCH: "custom-token-mismatch",
|
2452
2452
|
// This can only happen if the SDK sends a bad request.
|
@@ -2541,7 +2541,7 @@ const Wi = new te(3e4, 6e4);
|
|
2541
2541
|
function ve(n, e) {
|
2542
2542
|
return n.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: n.tenantId }) : e;
|
2543
2543
|
}
|
2544
|
-
async function
|
2544
|
+
async function $(n, e, t, r, i = {}) {
|
2545
2545
|
return rn(n, i, async () => {
|
2546
2546
|
let s = {}, a = {};
|
2547
2547
|
r && (e === "GET" ? a = r : s = {
|
@@ -2564,7 +2564,7 @@ async function Z(n, e, t, r, i = {}) {
|
|
2564
2564
|
}
|
2565
2565
|
async function rn(n, e, t) {
|
2566
2566
|
n._canInitEmulator = !1;
|
2567
|
-
const r = Object.assign(Object.assign({},
|
2567
|
+
const r = Object.assign(Object.assign({}, ji), e);
|
2568
2568
|
try {
|
2569
2569
|
const i = new zi(n), s = await Promise.race([
|
2570
2570
|
t(),
|
@@ -2596,14 +2596,14 @@ async function rn(n, e, t) {
|
|
2596
2596
|
}
|
2597
2597
|
}
|
2598
2598
|
async function sn(n, e, t, r, i = {}) {
|
2599
|
-
const s = await
|
2599
|
+
const s = await $(n, e, t, r, i);
|
2600
2600
|
return "mfaPendingCredential" in s && w(n, "multi-factor-auth-required", {
|
2601
2601
|
_serverResponse: s
|
2602
2602
|
}), s;
|
2603
2603
|
}
|
2604
2604
|
function an(n, e, t, r) {
|
2605
2605
|
const i = `${e}${t}?${r}`;
|
2606
|
-
return n.config.emulator ?
|
2606
|
+
return n.config.emulator ? Ye(n.config, i) : `${n.config.apiScheme}://${i}`;
|
2607
2607
|
}
|
2608
2608
|
class zi {
|
2609
2609
|
constructor(e) {
|
@@ -2643,11 +2643,11 @@ function ie(n, e, t) {
|
|
2643
2643
|
* See the License for the specific language governing permissions and
|
2644
2644
|
* limitations under the License.
|
2645
2645
|
*/
|
2646
|
-
async function
|
2647
|
-
return
|
2646
|
+
async function $i(n, e) {
|
2647
|
+
return $(n, "POST", "/v1/accounts:delete", e);
|
2648
2648
|
}
|
2649
2649
|
async function on(n, e) {
|
2650
|
-
return
|
2650
|
+
return $(n, "POST", "/v1/accounts:lookup", e);
|
2651
2651
|
}
|
2652
2652
|
/**
|
2653
2653
|
* @license
|
@@ -2674,8 +2674,8 @@ function J(n) {
|
|
2674
2674
|
} catch {
|
2675
2675
|
}
|
2676
2676
|
}
|
2677
|
-
async function
|
2678
|
-
const t = z(n), r = await t.getIdToken(e), i =
|
2677
|
+
async function Zi(n, e = !1) {
|
2678
|
+
const t = z(n), r = await t.getIdToken(e), i = Xe(r);
|
2679
2679
|
u(
|
2680
2680
|
i && i.exp && i.auth_time && i.iat,
|
2681
2681
|
t.auth,
|
@@ -2686,29 +2686,29 @@ async function $i(n, e = !1) {
|
|
2686
2686
|
return {
|
2687
2687
|
claims: i,
|
2688
2688
|
token: r,
|
2689
|
-
authTime: J(
|
2690
|
-
issuedAtTime: J(
|
2691
|
-
expirationTime: J(
|
2689
|
+
authTime: J(Ne(i.auth_time)),
|
2690
|
+
issuedAtTime: J(Ne(i.iat)),
|
2691
|
+
expirationTime: J(Ne(i.exp)),
|
2692
2692
|
signInProvider: a || null,
|
2693
2693
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2694
2694
|
};
|
2695
2695
|
}
|
2696
|
-
function
|
2696
|
+
function Ne(n) {
|
2697
2697
|
return Number(n) * 1e3;
|
2698
2698
|
}
|
2699
|
-
function
|
2699
|
+
function Xe(n) {
|
2700
2700
|
const [e, t, r] = n.split(".");
|
2701
2701
|
if (e === void 0 || t === void 0 || r === void 0)
|
2702
2702
|
return se("JWT malformed, contained fewer than 3 sections"), null;
|
2703
2703
|
try {
|
2704
|
-
const i =
|
2704
|
+
const i = Gt(t);
|
2705
2705
|
return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
|
2706
2706
|
} catch (i) {
|
2707
2707
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
2708
2708
|
}
|
2709
2709
|
}
|
2710
2710
|
function It(n) {
|
2711
|
-
const e =
|
2711
|
+
const e = Xe(n);
|
2712
2712
|
return u(
|
2713
2713
|
e,
|
2714
2714
|
"internal-error"
|
@@ -2767,7 +2767,7 @@ function Ji({ code: n }) {
|
|
2767
2767
|
* See the License for the specific language governing permissions and
|
2768
2768
|
* limitations under the License.
|
2769
2769
|
*/
|
2770
|
-
class
|
2770
|
+
class Yi {
|
2771
2771
|
constructor(e) {
|
2772
2772
|
this.user = e, this.isRunning = !1, this.timerId = null, this.errorBackoff = 3e4;
|
2773
2773
|
}
|
@@ -2887,7 +2887,7 @@ async function me(n) {
|
|
2887
2887
|
};
|
2888
2888
|
Object.assign(n, h);
|
2889
2889
|
}
|
2890
|
-
async function
|
2890
|
+
async function Xi(n) {
|
2891
2891
|
const e = z(n);
|
2892
2892
|
await me(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
|
2893
2893
|
}
|
@@ -2896,7 +2896,7 @@ function Ki(n, e) {
|
|
2896
2896
|
}
|
2897
2897
|
function cn(n) {
|
2898
2898
|
return n.map((e) => {
|
2899
|
-
var { providerId: t } = e, r =
|
2899
|
+
var { providerId: t } = e, r = Ze(e, ["providerId"]);
|
2900
2900
|
return {
|
2901
2901
|
providerId: t,
|
2902
2902
|
uid: r.rawId || "",
|
@@ -2945,7 +2945,7 @@ async function qi(n, e) {
|
|
2945
2945
|
};
|
2946
2946
|
}
|
2947
2947
|
async function Qi(n, e) {
|
2948
|
-
return
|
2948
|
+
return $(n, "POST", "/v2/accounts:revokeToken", ve(n, e));
|
2949
2949
|
}
|
2950
2950
|
/**
|
2951
2951
|
* @license
|
@@ -3062,8 +3062,8 @@ function k(n, e) {
|
|
3062
3062
|
}
|
3063
3063
|
class y {
|
3064
3064
|
constructor(e) {
|
3065
|
-
var { uid: t, auth: r, stsTokenManager: i } = e, s =
|
3066
|
-
this.providerId = "firebase", this.proactiveRefresh = new
|
3065
|
+
var { uid: t, auth: r, stsTokenManager: i } = e, s = Ze(e, ["uid", "auth", "stsTokenManager"]);
|
3066
|
+
this.providerId = "firebase", this.proactiveRefresh = new Yi(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new Ve(s.createdAt || void 0, s.lastLoginAt || void 0);
|
3067
3067
|
}
|
3068
3068
|
async getIdToken(e) {
|
3069
3069
|
const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
|
@@ -3075,10 +3075,10 @@ class y {
|
|
3075
3075
|
), this.accessToken !== t && (this.accessToken = t, await this.auth._persistUserIfCurrent(this), this.auth._notifyListenersIfCurrent(this)), t;
|
3076
3076
|
}
|
3077
3077
|
getIdTokenResult(e) {
|
3078
|
-
return
|
3078
|
+
return Zi(this, e);
|
3079
3079
|
}
|
3080
3080
|
reload() {
|
3081
|
-
return
|
3081
|
+
return Xi(this);
|
3082
3082
|
}
|
3083
3083
|
_assign(e) {
|
3084
3084
|
this !== e && (u(
|
@@ -3117,7 +3117,7 @@ class y {
|
|
3117
3117
|
if (I(this.auth.app))
|
3118
3118
|
return Promise.reject(P(this.auth));
|
3119
3119
|
const e = await this.getIdToken();
|
3120
|
-
return await K(this,
|
3120
|
+
return await K(this, $i(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
|
3121
3121
|
}
|
3122
3122
|
toJSON() {
|
3123
3123
|
return Object.assign(Object.assign({
|
@@ -3145,16 +3145,16 @@ class y {
|
|
3145
3145
|
}
|
3146
3146
|
static _fromJSON(e, t) {
|
3147
3147
|
var r, i, s, a, c, o, l, d;
|
3148
|
-
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, F = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0,
|
3148
|
+
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, F = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, 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;
|
3149
3149
|
u(
|
3150
|
-
|
3150
|
+
Te && at,
|
3151
3151
|
e,
|
3152
3152
|
"internal-error"
|
3153
3153
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3154
3154
|
);
|
3155
3155
|
const Pn = V.fromJSON(this.name, at);
|
3156
3156
|
u(
|
3157
|
-
typeof
|
3157
|
+
typeof Te == "string",
|
3158
3158
|
e,
|
3159
3159
|
"internal-error"
|
3160
3160
|
/* AuthErrorCode.INTERNAL_ERROR */
|
@@ -3168,9 +3168,9 @@ class y {
|
|
3168
3168
|
e,
|
3169
3169
|
"internal-error"
|
3170
3170
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3171
|
-
), k(v, e.name), k(F, e.name), k(tt, e.name), k(
|
3171
|
+
), k(v, e.name), k(F, e.name), k(tt, e.name), k(Ee, e.name), k(nt, e.name), k(rt, e.name);
|
3172
3172
|
const Re = new y({
|
3173
|
-
uid:
|
3173
|
+
uid: Te,
|
3174
3174
|
auth: e,
|
3175
3175
|
email: m,
|
3176
3176
|
emailVerified: it,
|
@@ -3183,7 +3183,7 @@ class y {
|
|
3183
3183
|
createdAt: nt,
|
3184
3184
|
lastLoginAt: rt
|
3185
3185
|
});
|
3186
|
-
return we && Array.isArray(we) && (Re.providerData = we.map((Mn) => Object.assign({}, Mn))),
|
3186
|
+
return we && Array.isArray(we) && (Re.providerData = we.map((Mn) => Object.assign({}, Mn))), Ee && (Re._redirectEventId = Ee), Re;
|
3187
3187
|
}
|
3188
3188
|
/**
|
3189
3189
|
* Initialize a User from an idToken server response
|
@@ -3252,7 +3252,7 @@ class y {
|
|
3252
3252
|
* limitations under the License.
|
3253
3253
|
*/
|
3254
3254
|
const bt = /* @__PURE__ */ new Map();
|
3255
|
-
function
|
3255
|
+
function E(n) {
|
3256
3256
|
R(n instanceof Function, "Expected a class definition");
|
3257
3257
|
let e = bt.get(n);
|
3258
3258
|
return e ? (R(e instanceof n, "Instance stored in cache mismatched with class"), e) : (e = new n(), bt.set(n, e), e);
|
@@ -3316,7 +3316,7 @@ const yt = ln;
|
|
3316
3316
|
function ae(n, e, t) {
|
3317
3317
|
return `firebase:${n}:${e}:${t}`;
|
3318
3318
|
}
|
3319
|
-
class
|
3319
|
+
class G {
|
3320
3320
|
constructor(e, t, r) {
|
3321
3321
|
this.persistence = e, this.auth = t, this.userKey = r;
|
3322
3322
|
const { config: i, name: s } = this.auth;
|
@@ -3347,12 +3347,12 @@ class H {
|
|
3347
3347
|
}
|
3348
3348
|
static async create(e, t, r = "authUser") {
|
3349
3349
|
if (!t.length)
|
3350
|
-
return new
|
3350
|
+
return new G(E(yt), e, r);
|
3351
3351
|
const i = (await Promise.all(t.map(async (l) => {
|
3352
3352
|
if (await l._isAvailable())
|
3353
3353
|
return l;
|
3354
3354
|
}))).filter((l) => l);
|
3355
|
-
let s = i[0] ||
|
3355
|
+
let s = i[0] || E(yt);
|
3356
3356
|
const a = ae(r, e.config.apiKey, e.name);
|
3357
3357
|
let c = null;
|
3358
3358
|
for (const l of t)
|
@@ -3366,13 +3366,13 @@ class H {
|
|
3366
3366
|
} catch {
|
3367
3367
|
}
|
3368
3368
|
const o = i.filter((l) => l._shouldAllowMigration);
|
3369
|
-
return !s._shouldAllowMigration || !o.length ? new
|
3369
|
+
return !s._shouldAllowMigration || !o.length ? new G(s, e, r) : (s = o[0], c && await s._set(a, c.toJSON()), await Promise.all(t.map(async (l) => {
|
3370
3370
|
if (l !== s)
|
3371
3371
|
try {
|
3372
3372
|
await l._remove(a);
|
3373
3373
|
} catch {
|
3374
3374
|
}
|
3375
|
-
})), new
|
3375
|
+
})), new G(s, e, r));
|
3376
3376
|
}
|
3377
3377
|
}
|
3378
3378
|
/**
|
@@ -3391,7 +3391,7 @@ class H {
|
|
3391
3391
|
* See the License for the specific language governing permissions and
|
3392
3392
|
* limitations under the License.
|
3393
3393
|
*/
|
3394
|
-
function
|
3394
|
+
function Et(n) {
|
3395
3395
|
const e = n.toLowerCase();
|
3396
3396
|
if (e.includes("opera/") || e.includes("opr/") || e.includes("opios/"))
|
3397
3397
|
return "Opera";
|
@@ -3477,10 +3477,10 @@ function vn(n, e = []) {
|
|
3477
3477
|
let t;
|
3478
3478
|
switch (n) {
|
3479
3479
|
case "Browser":
|
3480
|
-
t =
|
3480
|
+
t = Et(f());
|
3481
3481
|
break;
|
3482
3482
|
case "Worker":
|
3483
|
-
t = `${
|
3483
|
+
t = `${Et(f())}-${n}`;
|
3484
3484
|
break;
|
3485
3485
|
default:
|
3486
3486
|
t = n;
|
@@ -3560,7 +3560,7 @@ class ns {
|
|
3560
3560
|
* limitations under the License.
|
3561
3561
|
*/
|
3562
3562
|
async function rs(n, e = {}) {
|
3563
|
-
return
|
3563
|
+
return $(n, "GET", "/v2/passwordPolicy", ve(n, e));
|
3564
3564
|
}
|
3565
3565
|
/**
|
3566
3566
|
* @license
|
@@ -3668,12 +3668,12 @@ class ss {
|
|
3668
3668
|
*/
|
3669
3669
|
class as {
|
3670
3670
|
constructor(e, t, r, i) {
|
3671
|
-
this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new
|
3671
|
+
this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new Tt(this), this.idTokenSubscription = new Tt(this), this.beforeStateQueue = new ns(this), this.redirectUser = null, this.isProactiveRefreshEnabled = !1, this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION = 1, this._canInitEmulator = !0, this._isInitialized = !1, this._deleted = !1, this._initializationPromise = null, this._popupRedirectResolver = null, this._errorFactory = en, this._agentRecaptchaConfig = null, this._tenantRecaptchaConfigs = {}, this._projectPasswordPolicy = null, this._tenantPasswordPolicies = {}, this.lastNotifiedUid = void 0, this.languageCode = null, this.tenantId = null, this.settings = { appVerificationDisabledForTesting: !1 }, this.frameworks = [], this.name = e.name, this.clientVersion = i.sdkClientVersion;
|
3672
3672
|
}
|
3673
3673
|
_initializeWithPersistence(e, t) {
|
3674
|
-
return t && (this._popupRedirectResolver =
|
3674
|
+
return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
|
3675
3675
|
var r, i;
|
3676
|
-
if (!this._deleted && (this.persistenceManager = await
|
3676
|
+
if (!this._deleted && (this.persistenceManager = await G.create(this, e), !this._deleted)) {
|
3677
3677
|
if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
|
3678
3678
|
try {
|
3679
3679
|
await this._popupRedirectResolver._initialize(this);
|
@@ -3762,7 +3762,7 @@ class as {
|
|
3762
3762
|
return this.directlySetCurrentUser(e);
|
3763
3763
|
}
|
3764
3764
|
useDeviceLanguage() {
|
3765
|
-
this.languageCode =
|
3765
|
+
this.languageCode = Gi();
|
3766
3766
|
}
|
3767
3767
|
async _delete() {
|
3768
3768
|
this._deleted = !0;
|
@@ -3798,7 +3798,7 @@ class as {
|
|
3798
3798
|
}
|
3799
3799
|
setPersistence(e) {
|
3800
3800
|
return I(this.app) ? Promise.reject(P(this)) : this.queue(async () => {
|
3801
|
-
await this.assertedPersistence.setPersistence(
|
3801
|
+
await this.assertedPersistence.setPersistence(E(e));
|
3802
3802
|
});
|
3803
3803
|
}
|
3804
3804
|
_getRecaptchaConfig() {
|
@@ -3871,15 +3871,15 @@ class as {
|
|
3871
3871
|
}
|
3872
3872
|
async getOrInitRedirectPersistenceManager(e) {
|
3873
3873
|
if (!this.redirectPersistenceManager) {
|
3874
|
-
const t = e &&
|
3874
|
+
const t = e && E(e) || this._popupRedirectResolver;
|
3875
3875
|
u(
|
3876
3876
|
t,
|
3877
3877
|
this,
|
3878
3878
|
"argument-error"
|
3879
3879
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
3880
|
-
), this.redirectPersistenceManager = await
|
3880
|
+
), this.redirectPersistenceManager = await G.create(
|
3881
3881
|
this,
|
3882
|
-
[
|
3882
|
+
[E(t._redirectPersistence)],
|
3883
3883
|
"redirectUser"
|
3884
3884
|
/* KeyName.REDIRECT_USER */
|
3885
3885
|
), this.redirectUser = await this.redirectPersistenceManager.getCurrentUser();
|
@@ -4002,7 +4002,7 @@ class as {
|
|
4002
4002
|
function Ie(n) {
|
4003
4003
|
return z(n);
|
4004
4004
|
}
|
4005
|
-
class
|
4005
|
+
class Tt {
|
4006
4006
|
constructor(e) {
|
4007
4007
|
this.auth = e, this.observer = null, this.addObserver = Rr((t) => this.observer = t);
|
4008
4008
|
}
|
@@ -4068,7 +4068,7 @@ function ds(n) {
|
|
4068
4068
|
* limitations under the License.
|
4069
4069
|
*/
|
4070
4070
|
function us(n, e) {
|
4071
|
-
const t =
|
4071
|
+
const t = Yt(n, "auth");
|
4072
4072
|
if (t.isInitialized()) {
|
4073
4073
|
const i = t.getImmediate(), s = t.getOptions();
|
4074
4074
|
if (ue(s, e ?? {}))
|
@@ -4082,7 +4082,7 @@ function us(n, e) {
|
|
4082
4082
|
return t.initialize({ options: e });
|
4083
4083
|
}
|
4084
4084
|
function hs(n, e) {
|
4085
|
-
const t = (e == null ? void 0 : e.persistence) || [], r = (Array.isArray(t) ? t : [t]).map(
|
4085
|
+
const t = (e == null ? void 0 : e.persistence) || [], r = (Array.isArray(t) ? t : [t]).map(E);
|
4086
4086
|
e != null && e.errorMap && n._updateErrorMap(e.errorMap), n._initializeWithPersistence(r, e == null ? void 0 : e.popupRedirectResolver);
|
4087
4087
|
}
|
4088
4088
|
function ps(n, e, t) {
|
@@ -4194,7 +4194,7 @@ class bn {
|
|
4194
4194
|
* See the License for the specific language governing permissions and
|
4195
4195
|
* limitations under the License.
|
4196
4196
|
*/
|
4197
|
-
async function
|
4197
|
+
async function j(n, e) {
|
4198
4198
|
return sn(n, "POST", "/v1/accounts:signInWithIdp", ve(n, e));
|
4199
4199
|
}
|
4200
4200
|
/**
|
@@ -4248,7 +4248,7 @@ class U extends bn {
|
|
4248
4248
|
* @returns If the JSON input does not represent an {@link AuthCredential}, null is returned.
|
4249
4249
|
*/
|
4250
4250
|
static fromJSON(e) {
|
4251
|
-
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s =
|
4251
|
+
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s = Ze(t, ["providerId", "signInMethod"]);
|
4252
4252
|
if (!r || !i)
|
4253
4253
|
return null;
|
4254
4254
|
const a = new U(r, i);
|
@@ -4257,17 +4257,17 @@ class U extends bn {
|
|
4257
4257
|
/** @internal */
|
4258
4258
|
_getIdTokenResponse(e) {
|
4259
4259
|
const t = this.buildRequest();
|
4260
|
-
return
|
4260
|
+
return j(e, t);
|
4261
4261
|
}
|
4262
4262
|
/** @internal */
|
4263
4263
|
_linkToIdToken(e, t) {
|
4264
4264
|
const r = this.buildRequest();
|
4265
|
-
return r.idToken = t,
|
4265
|
+
return r.idToken = t, j(e, r);
|
4266
4266
|
}
|
4267
4267
|
/** @internal */
|
4268
4268
|
_getReauthenticationResolver(e) {
|
4269
4269
|
const t = this.buildRequest();
|
4270
|
-
return t.autoCreate = !1,
|
4270
|
+
return t.autoCreate = !1, j(e, t);
|
4271
4271
|
}
|
4272
4272
|
buildRequest() {
|
4273
4273
|
const e = {
|
@@ -4598,7 +4598,7 @@ O.PROVIDER_ID = "github.com";
|
|
4598
4598
|
* See the License for the specific language governing permissions and
|
4599
4599
|
* limitations under the License.
|
4600
4600
|
*/
|
4601
|
-
class
|
4601
|
+
class C extends ne {
|
4602
4602
|
constructor() {
|
4603
4603
|
super(
|
4604
4604
|
"twitter.com"
|
@@ -4613,8 +4613,8 @@ class N extends ne {
|
|
4613
4613
|
*/
|
4614
4614
|
static credential(e, t) {
|
4615
4615
|
return U._fromParams({
|
4616
|
-
providerId:
|
4617
|
-
signInMethod:
|
4616
|
+
providerId: C.PROVIDER_ID,
|
4617
|
+
signInMethod: C.TWITTER_SIGN_IN_METHOD,
|
4618
4618
|
oauthToken: e,
|
4619
4619
|
oauthTokenSecret: t
|
4620
4620
|
});
|
@@ -4625,7 +4625,7 @@ class N extends ne {
|
|
4625
4625
|
* @param userCredential - The user credential.
|
4626
4626
|
*/
|
4627
4627
|
static credentialFromResult(e) {
|
4628
|
-
return
|
4628
|
+
return C.credentialFromTaggedObject(e);
|
4629
4629
|
}
|
4630
4630
|
/**
|
4631
4631
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4634,7 +4634,7 @@ class N extends ne {
|
|
4634
4634
|
* @param userCredential - The user credential.
|
4635
4635
|
*/
|
4636
4636
|
static credentialFromError(e) {
|
4637
|
-
return
|
4637
|
+
return C.credentialFromTaggedObject(e.customData || {});
|
4638
4638
|
}
|
4639
4639
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4640
4640
|
if (!e)
|
@@ -4643,14 +4643,14 @@ class N extends ne {
|
|
4643
4643
|
if (!t || !r)
|
4644
4644
|
return null;
|
4645
4645
|
try {
|
4646
|
-
return
|
4646
|
+
return C.credential(t, r);
|
4647
4647
|
} catch {
|
4648
4648
|
return null;
|
4649
4649
|
}
|
4650
4650
|
}
|
4651
4651
|
}
|
4652
|
-
|
4653
|
-
|
4652
|
+
C.TWITTER_SIGN_IN_METHOD = "twitter.com";
|
4653
|
+
C.PROVIDER_ID = "twitter.com";
|
4654
4654
|
/**
|
4655
4655
|
* @license
|
4656
4656
|
* Copyright 2020 Google LLC
|
@@ -4728,7 +4728,7 @@ class fe extends M {
|
|
4728
4728
|
return new fe(e, t, r, i);
|
4729
4729
|
}
|
4730
4730
|
}
|
4731
|
-
function
|
4731
|
+
function En(n, e, t, r) {
|
4732
4732
|
return (e === "reauthenticate" ? t._getReauthenticationResolver(n) : t._getIdTokenResponse(n)).catch((s) => {
|
4733
4733
|
throw s.code === "auth/multi-factor-auth-required" ? fe._fromErrorAndOperation(n, s, e, r) : s;
|
4734
4734
|
});
|
@@ -4759,14 +4759,14 @@ async function vs(n, e, t = !1) {
|
|
4759
4759
|
return Promise.reject(P(r));
|
4760
4760
|
const i = "reauthenticate";
|
4761
4761
|
try {
|
4762
|
-
const s = await K(n,
|
4762
|
+
const s = await K(n, En(r, i, e, n), t);
|
4763
4763
|
u(
|
4764
4764
|
s.idToken,
|
4765
4765
|
r,
|
4766
4766
|
"internal-error"
|
4767
4767
|
/* AuthErrorCode.INTERNAL_ERROR */
|
4768
4768
|
);
|
4769
|
-
const a =
|
4769
|
+
const a = Xe(s.idToken);
|
4770
4770
|
u(
|
4771
4771
|
a,
|
4772
4772
|
r,
|
@@ -4807,7 +4807,7 @@ async function vs(n, e, t = !1) {
|
|
4807
4807
|
async function Is(n, e, t = !1) {
|
4808
4808
|
if (I(n.app))
|
4809
4809
|
return Promise.reject(P(n));
|
4810
|
-
const r = "signIn", i = await
|
4810
|
+
const r = "signIn", i = await En(n, r, e), s = await B._fromIdTokenResponse(n, r, i);
|
4811
4811
|
return t || await n._updateCurrentUser(s.user), s;
|
4812
4812
|
}
|
4813
4813
|
/**
|
@@ -4854,10 +4854,10 @@ async function ys(n, e) {
|
|
4854
4854
|
}), i = await B._fromIdTokenResponse(t, "signIn", r);
|
4855
4855
|
return await t._updateCurrentUser(i.user), i;
|
4856
4856
|
}
|
4857
|
-
function
|
4857
|
+
function Es(n, e, t, r) {
|
4858
4858
|
return z(n).onIdTokenChanged(e, t, r);
|
4859
4859
|
}
|
4860
|
-
function
|
4860
|
+
function Ts(n, e, t) {
|
4861
4861
|
return z(n).beforeAuthStateChanged(e, t);
|
4862
4862
|
}
|
4863
4863
|
const _e = "__sak";
|
@@ -4877,7 +4877,7 @@ const _e = "__sak";
|
|
4877
4877
|
* See the License for the specific language governing permissions and
|
4878
4878
|
* limitations under the License.
|
4879
4879
|
*/
|
4880
|
-
class
|
4880
|
+
class Tn {
|
4881
4881
|
constructor(e, t) {
|
4882
4882
|
this.storageRetriever = e, this.type = t;
|
4883
4883
|
}
|
@@ -4919,7 +4919,7 @@ class En {
|
|
4919
4919
|
* limitations under the License.
|
4920
4920
|
*/
|
4921
4921
|
const ws = 1e3, Rs = 10;
|
4922
|
-
class wn extends
|
4922
|
+
class wn extends Tn {
|
4923
4923
|
constructor() {
|
4924
4924
|
super(
|
4925
4925
|
() => window.localStorage,
|
@@ -5015,7 +5015,7 @@ const ks = wn;
|
|
5015
5015
|
* See the License for the specific language governing permissions and
|
5016
5016
|
* limitations under the License.
|
5017
5017
|
*/
|
5018
|
-
class Rn extends
|
5018
|
+
class Rn extends Tn {
|
5019
5019
|
constructor() {
|
5020
5020
|
super(
|
5021
5021
|
() => window.sessionStorage,
|
@@ -5306,7 +5306,7 @@ function Os(n) {
|
|
5306
5306
|
function Sn() {
|
5307
5307
|
return typeof g().WorkerGlobalScope < "u" && typeof g().importScripts == "function";
|
5308
5308
|
}
|
5309
|
-
async function
|
5309
|
+
async function Cs() {
|
5310
5310
|
if (!(navigator != null && navigator.serviceWorker))
|
5311
5311
|
return null;
|
5312
5312
|
try {
|
@@ -5315,7 +5315,7 @@ async function Ns() {
|
|
5315
5315
|
return null;
|
5316
5316
|
}
|
5317
5317
|
}
|
5318
|
-
function
|
5318
|
+
function Ns() {
|
5319
5319
|
var n;
|
5320
5320
|
return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
|
5321
5321
|
}
|
@@ -5360,7 +5360,7 @@ function Ms() {
|
|
5360
5360
|
const n = indexedDB.deleteDatabase(An);
|
5361
5361
|
return new re(n).toPromise();
|
5362
5362
|
}
|
5363
|
-
function
|
5363
|
+
function Ge() {
|
5364
5364
|
const n = indexedDB.open(An, Ps);
|
5365
5365
|
return new Promise((e, t) => {
|
5366
5366
|
n.addEventListener("error", () => {
|
@@ -5374,7 +5374,7 @@ function He() {
|
|
5374
5374
|
}
|
5375
5375
|
}), n.addEventListener("success", async () => {
|
5376
5376
|
const r = n.result;
|
5377
|
-
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await
|
5377
|
+
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await Ge()));
|
5378
5378
|
});
|
5379
5379
|
});
|
5380
5380
|
}
|
@@ -5394,14 +5394,14 @@ function St(n, e) {
|
|
5394
5394
|
return new re(t).toPromise();
|
5395
5395
|
}
|
5396
5396
|
const Us = 800, Bs = 3;
|
5397
|
-
class
|
5397
|
+
class Cn {
|
5398
5398
|
constructor() {
|
5399
5399
|
this.type = "LOCAL", this._shouldAllowMigration = !0, this.listeners = {}, this.localCache = {}, this.pollTimer = null, this.pendingWrites = 0, this.receiver = null, this.sender = null, this.serviceWorkerReceiverAvailable = !1, this.activeServiceWorker = null, this._workerInitializationPromise = this.initializeServiceWorkerMessaging().then(() => {
|
5400
5400
|
}, () => {
|
5401
5401
|
});
|
5402
5402
|
}
|
5403
5403
|
async _openDb() {
|
5404
|
-
return this.db ? this.db : (this.db = await
|
5404
|
+
return this.db ? this.db : (this.db = await Ge(), this.db);
|
5405
5405
|
}
|
5406
5406
|
async _withRetries(e) {
|
5407
5407
|
let t = 0;
|
@@ -5442,7 +5442,7 @@ class Nn {
|
|
5442
5442
|
*/
|
5443
5443
|
async initializeSender() {
|
5444
5444
|
var e, t;
|
5445
|
-
if (this.activeServiceWorker = await
|
5445
|
+
if (this.activeServiceWorker = await Cs(), !this.activeServiceWorker)
|
5446
5446
|
return;
|
5447
5447
|
this.sender = new As(this.activeServiceWorker);
|
5448
5448
|
const r = await this.sender._send(
|
@@ -5466,7 +5466,7 @@ class Nn {
|
|
5466
5466
|
* @param key - Storage key which changed.
|
5467
5467
|
*/
|
5468
5468
|
async notifyServiceWorker(e) {
|
5469
|
-
if (!(!this.sender || !this.activeServiceWorker ||
|
5469
|
+
if (!(!this.sender || !this.activeServiceWorker || Ns() !== this.activeServiceWorker))
|
5470
5470
|
try {
|
5471
5471
|
await this.sender._send(
|
5472
5472
|
"keyChanged",
|
@@ -5482,7 +5482,7 @@ class Nn {
|
|
5482
5482
|
try {
|
5483
5483
|
if (!indexedDB)
|
5484
5484
|
return !1;
|
5485
|
-
const e = await
|
5485
|
+
const e = await Ge();
|
5486
5486
|
return await kt(e, _e, "1"), await St(e, _e), !0;
|
5487
5487
|
} catch {
|
5488
5488
|
}
|
@@ -5543,8 +5543,8 @@ class Nn {
|
|
5543
5543
|
this.listeners[e] && (this.listeners[e].delete(t), this.listeners[e].size === 0 && delete this.listeners[e]), Object.keys(this.listeners).length === 0 && this.stopPolling();
|
5544
5544
|
}
|
5545
5545
|
}
|
5546
|
-
|
5547
|
-
const Fs =
|
5546
|
+
Cn.type = "LOCAL";
|
5547
|
+
const Fs = Cn;
|
5548
5548
|
new te(3e4, 6e4);
|
5549
5549
|
/**
|
5550
5550
|
* @license
|
@@ -5563,7 +5563,7 @@ new te(3e4, 6e4);
|
|
5563
5563
|
* limitations under the License.
|
5564
5564
|
*/
|
5565
5565
|
function xs(n, e) {
|
5566
|
-
return e ?
|
5566
|
+
return e ? E(e) : (u(
|
5567
5567
|
n._popupRedirectResolver,
|
5568
5568
|
n,
|
5569
5569
|
"argument-error"
|
@@ -5595,13 +5595,13 @@ class et extends bn {
|
|
5595
5595
|
), this.params = e;
|
5596
5596
|
}
|
5597
5597
|
_getIdTokenResponse(e) {
|
5598
|
-
return
|
5598
|
+
return j(e, this._buildIdpRequest());
|
5599
5599
|
}
|
5600
5600
|
_linkToIdToken(e, t) {
|
5601
|
-
return
|
5601
|
+
return j(e, this._buildIdpRequest(t));
|
5602
5602
|
}
|
5603
5603
|
_getReauthenticationResolver(e) {
|
5604
|
-
return
|
5604
|
+
return j(e, this._buildIdpRequest());
|
5605
5605
|
}
|
5606
5606
|
_buildIdpRequest(e) {
|
5607
5607
|
const t = {
|
@@ -5616,7 +5616,7 @@ class et extends bn {
|
|
5616
5616
|
return e && (t.idToken = e), t;
|
5617
5617
|
}
|
5618
5618
|
}
|
5619
|
-
function
|
5619
|
+
function Hs(n) {
|
5620
5620
|
return Is(n.auth, new et(n), n.bypassAuthState);
|
5621
5621
|
}
|
5622
5622
|
function Vs(n) {
|
@@ -5628,7 +5628,7 @@ function Vs(n) {
|
|
5628
5628
|
/* AuthErrorCode.INTERNAL_ERROR */
|
5629
5629
|
), vs(t, new et(n), n.bypassAuthState);
|
5630
5630
|
}
|
5631
|
-
async function
|
5631
|
+
async function Gs(n) {
|
5632
5632
|
const { auth: e, user: t } = n;
|
5633
5633
|
return u(
|
5634
5634
|
t,
|
@@ -5653,7 +5653,7 @@ async function Hs(n) {
|
|
5653
5653
|
* See the License for the specific language governing permissions and
|
5654
5654
|
* limitations under the License.
|
5655
5655
|
*/
|
5656
|
-
class
|
5656
|
+
class Nn {
|
5657
5657
|
constructor(e, t, r, i, s = !1) {
|
5658
5658
|
this.auth = e, this.resolver = r, this.user = i, this.bypassAuthState = s, this.pendingPromise = null, this.eventManager = null, this.filter = Array.isArray(t) ? t : [t];
|
5659
5659
|
}
|
@@ -5695,10 +5695,10 @@ class Cn {
|
|
5695
5695
|
switch (e) {
|
5696
5696
|
case "signInViaPopup":
|
5697
5697
|
case "signInViaRedirect":
|
5698
|
-
return
|
5698
|
+
return Hs;
|
5699
5699
|
case "linkViaPopup":
|
5700
5700
|
case "linkViaRedirect":
|
5701
|
-
return
|
5701
|
+
return Gs;
|
5702
5702
|
case "reauthViaPopup":
|
5703
5703
|
case "reauthViaRedirect":
|
5704
5704
|
return Vs;
|
@@ -5736,8 +5736,8 @@ class Cn {
|
|
5736
5736
|
* See the License for the specific language governing permissions and
|
5737
5737
|
* limitations under the License.
|
5738
5738
|
*/
|
5739
|
-
const
|
5740
|
-
class x extends
|
5739
|
+
const js = new te(2e3, 1e4);
|
5740
|
+
class x extends Nn {
|
5741
5741
|
constructor(e, t, r, i, s) {
|
5742
5742
|
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, x.currentPopupAction && x.currentPopupAction.cancel(), x.currentPopupAction = this;
|
5743
5743
|
}
|
@@ -5800,7 +5800,7 @@ class x extends Cn {
|
|
5800
5800
|
);
|
5801
5801
|
return;
|
5802
5802
|
}
|
5803
|
-
this.pollId = window.setTimeout(e,
|
5803
|
+
this.pollId = window.setTimeout(e, js.get());
|
5804
5804
|
};
|
5805
5805
|
e();
|
5806
5806
|
}
|
@@ -5823,7 +5823,7 @@ x.currentPopupAction = null;
|
|
5823
5823
|
* limitations under the License.
|
5824
5824
|
*/
|
5825
5825
|
const Ws = "pendingRedirect", oe = /* @__PURE__ */ new Map();
|
5826
|
-
class zs extends
|
5826
|
+
class zs extends Nn {
|
5827
5827
|
constructor(e, t, r = !1) {
|
5828
5828
|
super(e, [
|
5829
5829
|
"signInViaRedirect",
|
@@ -5841,7 +5841,7 @@ class zs extends Cn {
|
|
5841
5841
|
let e = oe.get(this.auth._key());
|
5842
5842
|
if (!e) {
|
5843
5843
|
try {
|
5844
|
-
const r = await
|
5844
|
+
const r = await $s(this.resolver, this.auth) ? await super.execute() : null;
|
5845
5845
|
e = () => Promise.resolve(r);
|
5846
5846
|
} catch (t) {
|
5847
5847
|
e = () => Promise.reject(t);
|
@@ -5869,23 +5869,23 @@ class zs extends Cn {
|
|
5869
5869
|
cleanUp() {
|
5870
5870
|
}
|
5871
5871
|
}
|
5872
|
-
async function
|
5873
|
-
const t =
|
5872
|
+
async function $s(n, e) {
|
5873
|
+
const t = Ys(e), r = Js(n);
|
5874
5874
|
if (!await r._isAvailable())
|
5875
5875
|
return !1;
|
5876
5876
|
const i = await r._get(t) === "true";
|
5877
5877
|
return await r._remove(t), i;
|
5878
5878
|
}
|
5879
|
-
function
|
5879
|
+
function Zs(n, e) {
|
5880
5880
|
oe.set(n._key(), e);
|
5881
5881
|
}
|
5882
5882
|
function Js(n) {
|
5883
|
-
return
|
5883
|
+
return E(n._redirectPersistence);
|
5884
5884
|
}
|
5885
|
-
function
|
5885
|
+
function Ys(n) {
|
5886
5886
|
return ae(Ws, n.config.apiKey, n.name);
|
5887
5887
|
}
|
5888
|
-
async function
|
5888
|
+
async function Xs(n, e, t = !1) {
|
5889
5889
|
if (I(n.app))
|
5890
5890
|
return Promise.reject(P(n));
|
5891
5891
|
const r = Ie(n), i = xs(r, e), a = await new zs(r, i, t).execute();
|
@@ -5980,7 +5980,7 @@ function Qs(n) {
|
|
5980
5980
|
* limitations under the License.
|
5981
5981
|
*/
|
5982
5982
|
async function ea(n, e = {}) {
|
5983
|
-
return
|
5983
|
+
return $(n, "GET", "/v1/projects", e);
|
5984
5984
|
}
|
5985
5985
|
/**
|
5986
5986
|
* @license
|
@@ -6016,7 +6016,7 @@ async function ra(n) {
|
|
6016
6016
|
);
|
6017
6017
|
}
|
6018
6018
|
function ia(n) {
|
6019
|
-
const e =
|
6019
|
+
const e = He(), { protocol: t, hostname: r } = new URL(e);
|
6020
6020
|
if (n.startsWith("chrome-extension://")) {
|
6021
6021
|
const a = new URL(n);
|
6022
6022
|
return a.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && a.hostname === r;
|
@@ -6133,7 +6133,7 @@ function pa(n) {
|
|
6133
6133
|
"auth-domain-config-required"
|
6134
6134
|
/* AuthErrorCode.MISSING_AUTH_DOMAIN */
|
6135
6135
|
);
|
6136
|
-
const t = e.emulator ?
|
6136
|
+
const t = e.emulator ? Ye(e, da) : `https://${n.config.authDomain}/${la}`, r = {
|
6137
6137
|
apiKey: e.apiKey,
|
6138
6138
|
appName: n.name,
|
6139
6139
|
v: ee
|
@@ -6197,7 +6197,7 @@ const fa = {
|
|
6197
6197
|
statusbar: "yes",
|
6198
6198
|
toolbar: "no"
|
6199
6199
|
}, _a = 500, ga = 600, va = "_blank", Ia = "http://localhost";
|
6200
|
-
class
|
6200
|
+
class Ct {
|
6201
6201
|
constructor(e) {
|
6202
6202
|
this.window = e, this.associatedEvent = null;
|
6203
6203
|
}
|
@@ -6221,7 +6221,7 @@ function ba(n, e, t, r = _a, i = ga) {
|
|
6221
6221
|
t && (c = hn(l) ? va : t), dn(l) && (e = e || Ia, o.scrollbars = "yes");
|
6222
6222
|
const d = Object.entries(o).reduce((m, [v, F]) => `${m}${v}=${F},`, "");
|
6223
6223
|
if (es(l) && c !== "_self")
|
6224
|
-
return ya(e || "", c), new
|
6224
|
+
return ya(e || "", c), new Ct(null);
|
6225
6225
|
const h = window.open(e || "", c, d);
|
6226
6226
|
u(
|
6227
6227
|
h,
|
@@ -6233,7 +6233,7 @@ function ba(n, e, t, r = _a, i = ga) {
|
|
6233
6233
|
h.focus();
|
6234
6234
|
} catch {
|
6235
6235
|
}
|
6236
|
-
return new
|
6236
|
+
return new Ct(h);
|
6237
6237
|
}
|
6238
6238
|
function ya(n, e) {
|
6239
6239
|
const t = document.createElement("a");
|
@@ -6257,8 +6257,8 @@ function ya(n, e) {
|
|
6257
6257
|
* See the License for the specific language governing permissions and
|
6258
6258
|
* limitations under the License.
|
6259
6259
|
*/
|
6260
|
-
const
|
6261
|
-
async function
|
6260
|
+
const Ea = "__/auth/handler", Ta = "emulator/auth/handler", wa = encodeURIComponent("fac");
|
6261
|
+
async function Nt(n, e, t, r, i, s) {
|
6262
6262
|
u(
|
6263
6263
|
n.config.authDomain,
|
6264
6264
|
n,
|
@@ -6295,7 +6295,7 @@ async function Ct(n, e, t, r, i, s) {
|
|
6295
6295
|
return `${Ra(n)}?${Q(c).slice(1)}${l}`;
|
6296
6296
|
}
|
6297
6297
|
function Ra({ config: n }) {
|
6298
|
-
return n.emulator ?
|
6298
|
+
return n.emulator ? Ye(n, Ta) : `https://${n.authDomain}/${Ea}`;
|
6299
6299
|
}
|
6300
6300
|
/**
|
6301
6301
|
* @license
|
@@ -6316,19 +6316,19 @@ function Ra({ config: n }) {
|
|
6316
6316
|
const De = "webStorageSupport";
|
6317
6317
|
class ka {
|
6318
6318
|
constructor() {
|
6319
|
-
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn =
|
6319
|
+
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn = Xs, this._overrideRedirectResult = Zs;
|
6320
6320
|
}
|
6321
6321
|
// Wrapping in async even though we don't await anywhere in order
|
6322
6322
|
// to make sure errors are raised as promise rejections
|
6323
6323
|
async _openPopup(e, t, r, i) {
|
6324
6324
|
var s;
|
6325
6325
|
R((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
|
6326
|
-
const a = await
|
6326
|
+
const a = await Nt(e, t, r, He(), i);
|
6327
6327
|
return ba(e, a, Qe());
|
6328
6328
|
}
|
6329
6329
|
async _openRedirect(e, t, r, i) {
|
6330
6330
|
await this._originValidation(e);
|
6331
|
-
const s = await
|
6331
|
+
const s = await Nt(e, t, r, He(), i);
|
6332
6332
|
return Os(s), new Promise(() => {
|
6333
6333
|
});
|
6334
6334
|
}
|
@@ -6459,8 +6459,8 @@ function Oa(n) {
|
|
6459
6459
|
return;
|
6460
6460
|
}
|
6461
6461
|
}
|
6462
|
-
function
|
6463
|
-
|
6462
|
+
function Ca(n) {
|
6463
|
+
Y(new W(
|
6464
6464
|
"auth",
|
6465
6465
|
(e, { options: t }) => {
|
6466
6466
|
const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: a, authDomain: c } = r.options;
|
@@ -6486,7 +6486,7 @@ function Na(n) {
|
|
6486
6486
|
"auth-internal"
|
6487
6487
|
/* _ComponentName.AUTH_INTERNAL */
|
6488
6488
|
).initialize();
|
6489
|
-
})),
|
6489
|
+
})), Y(new W(
|
6490
6490
|
"auth-internal",
|
6491
6491
|
(e) => {
|
6492
6492
|
const t = Ie(e.getProvider(
|
@@ -6500,7 +6500,7 @@ function Na(n) {
|
|
6500
6500
|
).setInstantiationMode(
|
6501
6501
|
"EXPLICIT"
|
6502
6502
|
/* InstantiationMode.EXPLICIT */
|
6503
|
-
)),
|
6503
|
+
)), H(Dt, Pt, Oa(n)), H(Dt, Pt, "esm2017");
|
6504
6504
|
}
|
6505
6505
|
/**
|
6506
6506
|
* @license
|
@@ -6518,7 +6518,7 @@ function Na(n) {
|
|
6518
6518
|
* See the License for the specific language governing permissions and
|
6519
6519
|
* limitations under the License.
|
6520
6520
|
*/
|
6521
|
-
const
|
6521
|
+
const Na = 5 * 60, Da = zt("authIdTokenMaxAge") || Na;
|
6522
6522
|
let Mt = null;
|
6523
6523
|
const Pa = (n) => async (e) => {
|
6524
6524
|
const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
|
@@ -6533,7 +6533,7 @@ const Pa = (n) => async (e) => {
|
|
6533
6533
|
}));
|
6534
6534
|
};
|
6535
6535
|
function Ma(n = ki()) {
|
6536
|
-
const e =
|
6536
|
+
const e = Yt(n, "auth");
|
6537
6537
|
if (e.isInitialized())
|
6538
6538
|
return e.getImmediate();
|
6539
6539
|
const t = us(n, {
|
@@ -6548,10 +6548,10 @@ function Ma(n = ki()) {
|
|
6548
6548
|
const s = new URL(r, location.origin);
|
6549
6549
|
if (location.origin === s.origin) {
|
6550
6550
|
const a = Pa(s.toString());
|
6551
|
-
|
6551
|
+
Ts(t, a, () => a(t.currentUser)), Es(t, (c) => a(c));
|
6552
6552
|
}
|
6553
6553
|
}
|
6554
|
-
const i =
|
6554
|
+
const i = jt("auth");
|
6555
6555
|
return i && ps(t, `http://${i}`), t;
|
6556
6556
|
}
|
6557
6557
|
function La() {
|
@@ -6575,7 +6575,7 @@ os({
|
|
6575
6575
|
recaptchaV2Script: "https://www.google.com/recaptcha/api.js",
|
6576
6576
|
recaptchaEnterpriseScript: "https://www.google.com/recaptcha/enterprise.js?render="
|
6577
6577
|
});
|
6578
|
-
|
6578
|
+
Ca(
|
6579
6579
|
"Browser"
|
6580
6580
|
/* ClientPlatform.BROWSER */
|
6581
6581
|
);
|
@@ -6591,20 +6591,20 @@ Ua.beforeEach(async (n) => {
|
|
6591
6591
|
currentBusiness: r,
|
6592
6592
|
readRestaurants: i,
|
6593
6593
|
changeRestaurant: s
|
6594
|
-
} =
|
6594
|
+
} = je();
|
6595
6595
|
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (Pe || (Pe = new Promise((a) => {
|
6596
|
-
const c =
|
6596
|
+
const c = Z(e, (o) => {
|
6597
6597
|
var l;
|
6598
6598
|
o && (c(), a(((l = e.value) == null ? void 0 : l.isInternal) ?? !1));
|
6599
6599
|
});
|
6600
6600
|
})), Pe) : !r.value || !t.value ? (Me || (Me = Promise.all([
|
6601
6601
|
new Promise(async (a) => {
|
6602
|
-
const c =
|
6602
|
+
const c = Z(r, (o) => {
|
6603
6603
|
o && (c(), a(!0));
|
6604
6604
|
});
|
6605
6605
|
}),
|
6606
6606
|
new Promise(async (a) => {
|
6607
|
-
const c =
|
6607
|
+
const c = Z(t, (l) => {
|
6608
6608
|
l && (c(), a(!0));
|
6609
6609
|
}), o = await i();
|
6610
6610
|
await s(o == null ? void 0 : o.at(0));
|
@@ -6614,8 +6614,8 @@ Ua.beforeEach(async (n) => {
|
|
6614
6614
|
const Ba = /* @__PURE__ */ Ut({
|
6615
6615
|
__name: "AppSidebar",
|
6616
6616
|
setup(n) {
|
6617
|
-
const e =
|
6618
|
-
|
6617
|
+
const e = je(), t = Bn(), { t: r } = Wn(), i = xn(t.currentRoute.value.name);
|
6618
|
+
Z(t.currentRoute, () => {
|
6619
6619
|
let l = t.currentRoute.value.name;
|
6620
6620
|
t.currentRoute.value.meta.parent && (l = t.currentRoute.value.meta.parent), i.value = l;
|
6621
6621
|
});
|
@@ -6631,7 +6631,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6631
6631
|
return t.push({ name: l.name });
|
6632
6632
|
}
|
6633
6633
|
};
|
6634
|
-
return l.meta.sidebarNew && (h.badge = () =>
|
6634
|
+
return l.meta.sidebarNew && (h.badge = () => Hn($n.FmPill, { label: "New" })), h;
|
6635
6635
|
}).filter((l) => !!l), a = le.map((l) => {
|
6636
6636
|
var d;
|
6637
6637
|
if ((d = l.meta) != null && d.sidebarDisplay && !l.meta.section)
|
@@ -6698,28 +6698,28 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6698
6698
|
}
|
6699
6699
|
});
|
6700
6700
|
var Fa = { authClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }, assetBucketUrl: "feedme-dev-4c3ef.appspot.com" };
|
6701
|
-
const
|
6701
|
+
const $a = /* @__PURE__ */ Ut({
|
6702
6702
|
__name: "App",
|
6703
6703
|
setup(n) {
|
6704
|
-
const { state: e } = sr(), t =
|
6704
|
+
const { state: e } = sr(), t = je(), r = Fn(), i = Xt(Fa.firebase);
|
6705
6705
|
async function s() {
|
6706
6706
|
const a = t.sessionUser.value;
|
6707
6707
|
if (!a || !a.token) return;
|
6708
6708
|
const c = await a.getCustomToken(), o = Ma(i);
|
6709
6709
|
await ys(o, c);
|
6710
6710
|
}
|
6711
|
-
return s(),
|
6711
|
+
return s(), Z(t.sessionUser, s), Vn(() => {
|
6712
6712
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6713
|
-
}),
|
6713
|
+
}), Gn(() => {
|
6714
6714
|
t.registerSidebarComponent(Ba);
|
6715
6715
|
}), (a, c) => {
|
6716
6716
|
const o = Bt("RouterView");
|
6717
6717
|
return Ft(), xt(o, {
|
6718
|
-
key:
|
6718
|
+
key: jn(r).path
|
6719
6719
|
});
|
6720
6720
|
};
|
6721
6721
|
}
|
6722
|
-
}),
|
6722
|
+
}), Za = {
|
6723
6723
|
"en-US": qn,
|
6724
6724
|
"zh-CN": ir
|
6725
6725
|
}, Ja = [...le, ...We];
|
@@ -6727,15 +6727,15 @@ export {
|
|
6727
6727
|
W as C,
|
6728
6728
|
M as F,
|
6729
6729
|
ee as S,
|
6730
|
-
|
6731
|
-
|
6730
|
+
Y as _,
|
6731
|
+
Yt as a,
|
6732
6732
|
Wa as b,
|
6733
6733
|
ki as c,
|
6734
6734
|
za as d,
|
6735
6735
|
gt as e,
|
6736
6736
|
Ja as f,
|
6737
6737
|
z as g,
|
6738
|
-
|
6739
|
-
|
6740
|
-
|
6738
|
+
$a as h,
|
6739
|
+
Za as i,
|
6740
|
+
H as r
|
6741
6741
|
};
|