@feedmepos/mf-payment 1.1.8 → 1.1.9-beta.1
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-C9TC-nLW.js → PayoutAccount-B4YLzVpp.js} +3 -3
- package/dist/{PayoutAccount-BAXvKwol.js → PayoutAccount-DvrLfgt-.js} +5 -5
- package/dist/{PayoutAccountSetting-CsY4Dr_E.js → PayoutAccountSetting-Co7DmROR.js} +3 -3
- package/dist/{Restaurant-C9GmwxpU.js → Restaurant-DuhPwxX3.js} +4 -4
- package/dist/{RestaurantSetting-DaSalR0b.js → RestaurantSetting-BK9u7SCs.js} +3 -3
- package/dist/{Settlement-C7oFzVbb.js → Settlement-Ce_tmrSE.js} +3 -3
- package/dist/{Settlement-BvUs3MyQ.js → Settlement-Sl3sl0jF.js} +3 -3
- package/dist/{SettlementTransactions-BRo_oigl.js → SettlementTransactions-CuHc2CZz.js} +3 -3
- package/dist/{SettlementTransactions-qSgW0VCV.js → SettlementTransactions-D7UHmaaD.js} +3 -3
- package/dist/{Terminal-DXGKrm3G.js → Terminal-DC7kec1h.js} +6 -6
- package/dist/{TerminalSetting-bLxGkMlN.js → TerminalSetting-uqU8wLtE.js} +3 -3
- package/dist/{Transaction-B7ICajHR.js → Transaction-DSOyeHAf.js} +6 -6
- package/dist/{Transaction-BI2ZRsxe.js → Transaction-vVo3tggm.js} +5 -5
- package/dist/{TransactionOld-GLsvtHyF.js → TransactionOld-sUH_2SAc.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-UjV7RID1.js → TransactionTable.vue_vue_type_script_setup_true_lang-DFdz9uZ0.js} +3 -3
- package/dist/{app-DVnyclnX.js → app-tq6GxnyI.js} +336 -336
- package/dist/app.js +1 -1
- package/dist/{assets-BZmrImt4.js → assets-OObLkGWe.js} +1 -1
- package/dist/grafana-RP6GDt42.js +62 -0
- package/dist/helpers/grafana.d.ts +2 -1
- package/dist/{index-C1Hgyi3j.js → index-4WCrMAZE.js} +1 -1
- package/dist/{index-BMF26WT4.js → index-AW-HP_R7.js} +1 -1
- package/dist/{index-gSE1T266.js → index-BO_i54up.js} +1 -1
- package/dist/{index-DZMn5Qjp.js → index-CD_22Kly.js} +2 -2
- package/dist/{index-CD59SyVI.js → index-CqHV-UqZ.js} +1 -1
- package/dist/{index-a-Vqap7Z.js → index-D1Vz4RR4.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-FgXpWvbs.js → index.vue_vue_type_script_setup_true_lang-yFA5HHj5.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-B76ODsn2.js → payout-account-DFumNL6B.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/grafana-DRnPxAqM.js +0 -54
@@ -1,9 +1,9 @@
|
|
1
|
-
import { createRouter as Ln, createWebHistory as Un, useRouter as
|
2
|
-
import { computed as Lt, watch as
|
3
|
-
import { useCoreStore as
|
1
|
+
import { createRouter as Ln, createWebHistory as Un, useRouter as Fn, useRoute as Bn } from "vue-router";
|
2
|
+
import { computed as Lt, watch as $, defineComponent as Ut, ref as xn, resolveComponent as Ft, openBlock as Bt, createBlock as xt, h as jn, onMounted as Hn, onBeforeMount as Vn, unref as Gn } from "vue";
|
3
|
+
import { useCoreStore as Ge, useI18n as Wn } from "@feedmepos/mf-common";
|
4
4
|
import { defineStore as zn } from "pinia";
|
5
|
-
import { components as
|
6
|
-
const
|
5
|
+
import { components as Zn } from "@feedmepos/ui-library";
|
6
|
+
const $n = {
|
7
7
|
select: "Select filter entity",
|
8
8
|
restaurant: "Restaurant",
|
9
9
|
device: "Device",
|
@@ -13,7 +13,7 @@ const Zn = {
|
|
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",
|
@@ -72,7 +72,7 @@ const Zn = {
|
|
72
72
|
settlement_amount: "Settlement Amount"
|
73
73
|
}
|
74
74
|
}
|
75
|
-
},
|
75
|
+
}, Xn = {
|
76
76
|
title: "Transactions",
|
77
77
|
description: "Transactions are purchases or payments made over the internet using electronic methods like cards or digital wallets.",
|
78
78
|
restaurant: "Restaurant",
|
@@ -145,10 +145,10 @@ const Zn = {
|
|
145
145
|
}
|
146
146
|
}
|
147
147
|
}, qn = {
|
148
|
-
components:
|
148
|
+
components: $n,
|
149
149
|
routes: Jn,
|
150
|
-
settlements:
|
151
|
-
transactions:
|
150
|
+
settlements: Yn,
|
151
|
+
transactions: Xn,
|
152
152
|
payout_account: Kn
|
153
153
|
}, Qn = {
|
154
154
|
select: "选择筛选对象",
|
@@ -305,7 +305,7 @@ const Zn = {
|
|
305
305
|
sidebarDisplay: "Restaurants",
|
306
306
|
section: "payment-gateway"
|
307
307
|
},
|
308
|
-
component: () => import("./Restaurant-
|
308
|
+
component: () => import("./Restaurant-DuhPwxX3.js")
|
309
309
|
},
|
310
310
|
{
|
311
311
|
path: "/admin/restaurants/:restaurantId",
|
@@ -314,7 +314,7 @@ const Zn = {
|
|
314
314
|
meta: {
|
315
315
|
parent: "mf-payment-admin.restaurant"
|
316
316
|
},
|
317
|
-
component: () => import("./RestaurantSetting-
|
317
|
+
component: () => import("./RestaurantSetting-BK9u7SCs.js")
|
318
318
|
},
|
319
319
|
{
|
320
320
|
path: "/admin/payout-accounts",
|
@@ -323,7 +323,7 @@ const Zn = {
|
|
323
323
|
sidebarDisplay: "Payout Accounts",
|
324
324
|
section: "payment-gateway"
|
325
325
|
},
|
326
|
-
component: () => import("./PayoutAccount-
|
326
|
+
component: () => import("./PayoutAccount-DvrLfgt-.js")
|
327
327
|
},
|
328
328
|
{
|
329
329
|
path: "/admin/payout-accounts/:accountId",
|
@@ -332,7 +332,7 @@ const Zn = {
|
|
332
332
|
meta: {
|
333
333
|
parent: "mf-payment-admin.payout-account"
|
334
334
|
},
|
335
|
-
component: () => import("./PayoutAccountSetting-
|
335
|
+
component: () => import("./PayoutAccountSetting-Co7DmROR.js")
|
336
336
|
},
|
337
337
|
{
|
338
338
|
path: "/admin/terminal/pos",
|
@@ -341,7 +341,7 @@ const Zn = {
|
|
341
341
|
sidebarDisplay: "POS",
|
342
342
|
section: "device"
|
343
343
|
},
|
344
|
-
component: () => import("./Terminal-
|
344
|
+
component: () => import("./Terminal-DC7kec1h.js"),
|
345
345
|
props: {
|
346
346
|
type: "POS"
|
347
347
|
}
|
@@ -353,7 +353,7 @@ const Zn = {
|
|
353
353
|
sidebarDisplay: "Kiosks",
|
354
354
|
section: "device"
|
355
355
|
},
|
356
|
-
component: () => import("./Terminal-
|
356
|
+
component: () => import("./Terminal-DC7kec1h.js"),
|
357
357
|
props: {
|
358
358
|
type: "KIOSK"
|
359
359
|
}
|
@@ -365,7 +365,7 @@ const Zn = {
|
|
365
365
|
sidebarDisplay: "Terminals",
|
366
366
|
section: "device"
|
367
367
|
},
|
368
|
-
component: () => import("./Terminal-
|
368
|
+
component: () => import("./Terminal-DC7kec1h.js"),
|
369
369
|
props: {
|
370
370
|
type: "TERMINAL"
|
371
371
|
}
|
@@ -377,7 +377,7 @@ const Zn = {
|
|
377
377
|
meta: {
|
378
378
|
parent: "mf-payment-admin.pos"
|
379
379
|
},
|
380
|
-
component: () => import("./TerminalSetting-
|
380
|
+
component: () => import("./TerminalSetting-uqU8wLtE.js")
|
381
381
|
},
|
382
382
|
{
|
383
383
|
path: "/admin/terminal/kiosk/:terminalId",
|
@@ -386,7 +386,7 @@ const Zn = {
|
|
386
386
|
meta: {
|
387
387
|
parent: "mf-payment-admin.kiosk"
|
388
388
|
},
|
389
|
-
component: () => import("./TerminalSetting-
|
389
|
+
component: () => import("./TerminalSetting-uqU8wLtE.js")
|
390
390
|
},
|
391
391
|
{
|
392
392
|
path: "/admin/terminal/terminal/:terminalId",
|
@@ -395,7 +395,7 @@ const Zn = {
|
|
395
395
|
meta: {
|
396
396
|
parent: "mf-payment-admin.terminal"
|
397
397
|
},
|
398
|
-
component: () => import("./TerminalSetting-
|
398
|
+
component: () => import("./TerminalSetting-uqU8wLtE.js")
|
399
399
|
},
|
400
400
|
{
|
401
401
|
path: "/admin/transaction",
|
@@ -403,7 +403,7 @@ const Zn = {
|
|
403
403
|
meta: {
|
404
404
|
sidebarDisplay: "Transactions"
|
405
405
|
},
|
406
|
-
component: () => import("./Transaction-
|
406
|
+
component: () => import("./Transaction-vVo3tggm.js")
|
407
407
|
},
|
408
408
|
{
|
409
409
|
path: "/admin/settlement",
|
@@ -411,7 +411,7 @@ const Zn = {
|
|
411
411
|
meta: {
|
412
412
|
sidebarDisplay: "Settlements"
|
413
413
|
},
|
414
|
-
component: () => import("./Settlement-
|
414
|
+
component: () => import("./Settlement-Ce_tmrSE.js")
|
415
415
|
},
|
416
416
|
{
|
417
417
|
path: "/admin/settlement/:settlementId",
|
@@ -420,9 +420,9 @@ const Zn = {
|
|
420
420
|
meta: {
|
421
421
|
parent: "mf-payment-admin.settlement"
|
422
422
|
},
|
423
|
-
component: () => import("./SettlementTransactions-
|
423
|
+
component: () => import("./SettlementTransactions-D7UHmaaD.js")
|
424
424
|
}
|
425
|
-
],
|
425
|
+
], We = [
|
426
426
|
{
|
427
427
|
path: "",
|
428
428
|
redirect: { name: "mf-payment-payout-account" }
|
@@ -430,7 +430,7 @@ const Zn = {
|
|
430
430
|
{
|
431
431
|
path: "/payout-account",
|
432
432
|
name: "mf-payment-payout-account",
|
433
|
-
component: () => import("./PayoutAccount-
|
433
|
+
component: () => import("./PayoutAccount-B4YLzVpp.js"),
|
434
434
|
meta: {
|
435
435
|
sidebarDisplay: "i18n:routes.payout_account"
|
436
436
|
}
|
@@ -438,7 +438,7 @@ const Zn = {
|
|
438
438
|
{
|
439
439
|
path: "/transaction-old",
|
440
440
|
name: "mf-payment-old-transaction",
|
441
|
-
component: () => import("./TransactionOld-
|
441
|
+
component: () => import("./TransactionOld-sUH_2SAc.js"),
|
442
442
|
meta: {
|
443
443
|
sidebarDisplay: "i18n:routes.transaction"
|
444
444
|
}
|
@@ -446,7 +446,7 @@ const Zn = {
|
|
446
446
|
{
|
447
447
|
path: "/transaction",
|
448
448
|
name: "mf-payment-transaction",
|
449
|
-
component: () => import("./Transaction-
|
449
|
+
component: () => import("./Transaction-DSOyeHAf.js"),
|
450
450
|
meta: {
|
451
451
|
sidebarDisplay: "i18n:routes.transaction-new",
|
452
452
|
sidebarNew: !0
|
@@ -455,7 +455,7 @@ const Zn = {
|
|
455
455
|
{
|
456
456
|
path: "/settlement",
|
457
457
|
name: "mf-payment-settlement",
|
458
|
-
component: () => import("./Settlement-
|
458
|
+
component: () => import("./Settlement-Sl3sl0jF.js"),
|
459
459
|
meta: {
|
460
460
|
sidebarDisplay: "i18n:routes.settlement"
|
461
461
|
}
|
@@ -464,7 +464,7 @@ const Zn = {
|
|
464
464
|
path: "/settlement/:settlementId",
|
465
465
|
name: "mf-payment-settlement-transaction",
|
466
466
|
props: !0,
|
467
|
-
component: () => import("./SettlementTransactions-
|
467
|
+
component: () => import("./SettlementTransactions-CuHc2CZz.js"),
|
468
468
|
meta: {
|
469
469
|
parent: "mf-payment-settlement"
|
470
470
|
}
|
@@ -481,7 +481,7 @@ const Zn = {
|
|
481
481
|
init: t
|
482
482
|
};
|
483
483
|
});
|
484
|
-
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_ef66bd43-6031-4049-b7da-deccc18dc47d", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies_jest: "^29.6.3", npm_package_dependencies_vue_pdf_embed: "^2.1.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v22.14.0 linux x64", npm_config_always_auth: "", CI: "true", npm_package_dependencies_vue: "^3.2.25", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_ef66bd43-6031-4049-b7da-deccc18dc47d", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", npm_package_devDependencies_vite: "^5.2.11", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "ghs_HXUZoJ3nOfUiA3dmI5Uk53jKsoTX0y1B1qT9", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "713", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250413.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.8/x64", JOURNAL_STREAM: "8:6104", GITHUB_WORKFLOW: "payment-mf-portal-prod", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "14561653446", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "757e37c5f793cd0c7efbe048056fe455c73a7166", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-prod.yaml@refs/heads/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6M2I3YWNhYjQtNWVkMi00MTk4LWIyMjQtNGI1NjUwODA2M2FlOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDgxIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46M2I3YWNhYjQtNWVkMi00MTk4LWIyMjQtNGI1NjUwODA2M2FlOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDgxIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiN2U2YWZkMzktZmUwNi00NDZjLThkN2EtZjJlYmFmYWNlYjQxIiwic2lkIjoiNTlhY2U1NWYtZjAyMi00YmMyLWJmMGQtMmVhYTczMjYyYjNmIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjN9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwic2hhXCI6XCI3NTdlMzdjNWY3OTNjZDBjN2VmYmUwNDgwNTZmZTQ1NWM3M2E3MTY2XCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjE0NTYxNjUzNDQ2XCIsXCJydW5fbnVtYmVyXCI6XCI0NVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLXByb2RcIixcImhlYWRfcmVmXCI6XCJcIixcImJhc2VfcmVmXCI6XCJcIixcImV2ZW50X25hbWVcIjpcInB1c2hcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtcHJvZC55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCI3NTdlMzdjNWY3OTNjZDBjN2VmYmUwNDgwNTZmZTQ1NWM3M2E3MTY2XCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLXByb2QueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjc1N2UzN2M1Zjc5M2NkMGM3ZWZiZTA0ODA1NmZlNDU1YzczYTcxNjZcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoaWQiOiIzYjdhY2FiNC01ZWQyLTQxOTgtYjIyNC00YjU2NTA4MDYzYWUuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDUxNjg2MTIsImV4cCI6MTc0NTE5MTQxMn0.Yad_MeFF6jBMWcbbzEs2774A7Z-es0XwnQIk6HS3k3kOlxQZYCkns_e7VhvBg5x025JH60_kCl-_AAHS4OWMKz6pSq3qP988u0BYn96i96hsrx5JYRqKd7iweNO-fi0vd6NxSfZiXwTvKIRktE3o78BDab4CdMGTuZNCfffZrGiij8RuZ7myhLOWfc3wvYQohzMauAdLFKfaRSEcjMxmHVzZxoCOKuGpKhiyCwghVZJL_pOE2UwhkkWwmvkJJ0SJ06bm2lk0a6hkCtgpuGWxy8AyrwJh55wmLCOEMltvbPqaSUKySk6RJ8ouPzbPRBph0uORofID-5GjCLjntrCa8w", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1745169264958-0.9209027651321111:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1745169264802-0.8105289167050185:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1745169264644-0.12257016185266867:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/22.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_3070b198-58ed-40fd-90ac-af0176c8ac5c", INVOCATION_ID: "536745adae6f47b78e87de0185e3e751", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", npm_package_devDependencies__types_qrcode: "^1.5.0", npm_package_devDependencies__types_jsurl: "^0.1.2", npm_package_dependencies_file_saver: "^2.0.5", npm_package_scripts_deploy_dev: "yarn build-only:dev && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_name: "@feedmepos/mf-payment", GITHUB_ACTION: "__run", GITHUB_RUN_NUMBER: "45", GITHUB_TRIGGERING_ACTOR: "Oskang09", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_package_scripts_deploy_prod: "yarn build-only:prod && npm publish --@feedmepos:registry=https://registry.npmjs.org/ --access public --tag beta --no-git-checks .", npm_package_dependencies_vue_advanced_cropper: "^2.8.6", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.17.0", npm_package_devDependencies__vue_test_utils: "^2.4.1", npm_package_devDependencies__vue_eslint_config_typescript: "^10.0.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 464", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:prod", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:prod", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.8", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:prod"],"original":["deploy:prod"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "757e37c5f793cd0c7efbe048056fe455c73a7166", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_ef66bd43-6031-4049-b7da-deccc18dc47d", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/payment-service/payment-service/mf-portal", GITHUB_ACTOR_ID: "15674107", RUNNER_WORKSPACE: "/home/runner/work/payment-service", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://pipelinesghubeus11.actions.githubusercontent.com/uhMzCspeMtZD05BczWutTDpLRkQb1I4q0fwG0tss4R7H4Wpw9s/00000000-0000-0000-0000-000000000000/_apis/distributedtask/hubs/Actions/plans/3b7acab4-5ed2-4198-b224-4b56508063ae/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_ef66bd43-6031-4049-b7da-deccc18dc47d", npm_package_dependencies_qrcode_vue: "^3.6.0", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_devDependencies_postcss: "^8.4.47", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_cd: "^0.3.3", npm_package_dependencies_i18next_http_backend: "^1.4.1", npm_package_dependencies_rasterizehtml: "^1.3.1", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", INIT_CWD: "/home/runner/work/payment-service/payment-service/mf-portal", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_ef66bd43-6031-4049-b7da-deccc18dc47d", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "production", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476" };
|
484
|
+
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_bb0696fd-89f2-49be-8078-5c242205c987", 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_bb0696fd-89f2-49be-8078-5c242205c987", 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_pQEQ9P4v4moElPJbVTYoJcZa0rSPzH1zjTxe", 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: "710", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250413.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.8/x64", JOURNAL_STREAM: "8:6020", 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: "14572133842", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "1aaca9cb32f1ce2f32662ae8915aa5f4b47695fb", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6YjM2ZTZiOTAtYTZiNC00MGEyLWJjOGMtZmI2NDcyZjY3Mjg1OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDkwIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46YjM2ZTZiOTAtYTZiNC00MGEyLWJjOGMtZmI2NDcyZjY3Mjg1OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDkwIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiMTI1ZGE5YTgtYTdhNS00Mjk3LThkYjYtMzBiOTc5MDYxYjczIiwic2lkIjoiYTU2NTcxYmItMzZiZi00NTU1LTg2ODUtN2E2ODI1ODY1MTQ2IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjFhYWNhOWNiMzJmMWNlMmYzMjY2MmFlODkxNWFhNWY0YjQ3Njk1ZmJcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQ1NzIxMzM4NDJcIixcInJ1bl9udW1iZXJcIjpcIjE3MFwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCIxYWFjYTljYjMyZjFjZTJmMzI2NjJhZTg5MTVhYTVmNGI0NzY5NWZiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCIxYWFjYTljYjMyZjFjZTJmMzI2NjJhZTg5MTVhYTVmNGI0NzY5NWZiXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiJiMzZlNmI5MC1hNmI0LTQwYTItYmM4Yy1mYjY0NzJmNjcyODUuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDUyMzE3MDYsImV4cCI6MTc0NTI1NDUwNn0.isMpJuFWb6BuUGCvulGXr1j7MhoZnVXG6ZfmJX5ezjVSpoQU7hmXquFVMhSBBuOL4w9KEQnXeFX1Kj0NcMhPQTpf9OFECzyZFwpxqq8dUyYDt4yiAE-JNk-Y-RPhOmwyXcI-fhw43viCwceQW1WxbdvN9l15XcMEli6W42loIifFj7oddpxHSqtk_8xDQiap3OMRuatzUT77t9ugsf9UdEne-a0oS7LQyn-F1Gf0abxSwJ6L5Bg85UOMB-beA7LjCB_lDNQ54iFtmJTxjKpCHyqPcGcclug276fPw-LTcwIqHfVhsJCZOhVmHpyVFHWNNsXgayn9QZUEC4AO_xlT2Q", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1745232359807-0.21227032130548773:/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--1745232359650-0.1411747914554009:/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--1745232359494-0.677977813154766:/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_1a48fbb1-4d70-493f-9e91-d622958c6013", INVOCATION_ID: "2786342c6cd34774a2a13ef922190d8e", 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: "170", 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 89", 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.9-beta.1", 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: "1aaca9cb32f1ce2f32662ae8915aa5f4b47695fb", 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_bb0696fd-89f2-49be-8078-5c242205c987", 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/b36e6b90-a6b4-40a2-bc8c-fb6472f67285/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_bb0696fd-89f2-49be-8078-5c242205c987", 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_bb0696fd-89f2-49be-8078-5c242205c987", 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" };
|
485
485
|
/**
|
486
486
|
* @license
|
487
487
|
* Copyright 2017 Google LLC
|
@@ -498,7 +498,7 @@ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
|
|
498
498
|
* See the License for the specific language governing permissions and
|
499
499
|
* limitations under the License.
|
500
500
|
*/
|
501
|
-
const
|
501
|
+
const jt = function(n) {
|
502
502
|
const e = [];
|
503
503
|
let t = 0;
|
504
504
|
for (let r = 0; r < n.length; r++) {
|
@@ -585,8 +585,8 @@ const Wt = function(n) {
|
|
585
585
|
const t = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
|
586
586
|
for (let i = 0; i < n.length; i += 3) {
|
587
587
|
const s = n[i], a = i + 1 < n.length, c = a ? n[i + 1] : 0, o = i + 2 < n.length, l = o ? n[i + 2] : 0, d = s >> 2, h = (s & 3) << 4 | c >> 4;
|
588
|
-
let
|
589
|
-
o || (v = 64, a || (
|
588
|
+
let f = (c & 15) << 2 | l >> 6, v = l & 63;
|
589
|
+
o || (v = 64, a || (f = 64)), r.push(t[d], t[h], t[f], t[v]);
|
590
590
|
}
|
591
591
|
return r.join("");
|
592
592
|
},
|
@@ -599,7 +599,7 @@ const Wt = function(n) {
|
|
599
599
|
* @return The base64 encoded string.
|
600
600
|
*/
|
601
601
|
encodeString(n, e) {
|
602
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(
|
602
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(jt(n), e);
|
603
603
|
},
|
604
604
|
/**
|
605
605
|
* Base64-decode a string.
|
@@ -638,12 +638,12 @@ const Wt = function(n) {
|
|
638
638
|
const h = i < n.length ? t[n.charAt(i)] : 64;
|
639
639
|
if (++i, s == null || c == null || l == null || h == null)
|
640
640
|
throw new or();
|
641
|
-
const
|
642
|
-
if (r.push(
|
641
|
+
const f = s << 2 | c >> 4;
|
642
|
+
if (r.push(f), l !== 64) {
|
643
643
|
const v = c << 4 & 240 | l >> 2;
|
644
644
|
if (r.push(v), h !== 64) {
|
645
|
-
const
|
646
|
-
r.push(
|
645
|
+
const B = l << 6 & 192 | h;
|
646
|
+
r.push(B);
|
647
647
|
}
|
648
648
|
}
|
649
649
|
}
|
@@ -668,11 +668,11 @@ class or extends Error {
|
|
668
668
|
}
|
669
669
|
}
|
670
670
|
const cr = function(n) {
|
671
|
-
const e =
|
671
|
+
const e = jt(n);
|
672
672
|
return Ht.encodeByteArray(e, !0);
|
673
673
|
}, de = function(n) {
|
674
674
|
return cr(n).replace(/\./g, "");
|
675
|
-
},
|
675
|
+
}, Vt = function(n) {
|
676
676
|
try {
|
677
677
|
return Ht.decodeString(n, !0);
|
678
678
|
} catch (e) {
|
@@ -736,7 +736,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
736
736
|
} catch {
|
737
737
|
return;
|
738
738
|
}
|
739
|
-
const e = n &&
|
739
|
+
const e = n && Vt(n[1]);
|
740
740
|
return e && JSON.parse(e);
|
741
741
|
}, ze = () => {
|
742
742
|
try {
|
@@ -745,11 +745,11 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
745
745
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
|
746
746
|
return;
|
747
747
|
}
|
748
|
-
},
|
748
|
+
}, Gt = (n) => {
|
749
749
|
var e, t;
|
750
750
|
return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
|
751
|
-
},
|
752
|
-
const e =
|
751
|
+
}, Wa = (n) => {
|
752
|
+
const e = Gt(n);
|
753
753
|
if (!e)
|
754
754
|
return;
|
755
755
|
const t = e.lastIndexOf(":");
|
@@ -757,7 +757,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
757
757
|
throw new Error(`Invalid host ${e} with no separate hostname and port!`);
|
758
758
|
const r = parseInt(e.substring(t + 1), 10);
|
759
759
|
return e[0] === "[" ? [e.substring(1, t - 1), r] : [e.substring(0, t), r];
|
760
|
-
},
|
760
|
+
}, Wt = () => {
|
761
761
|
var n;
|
762
762
|
return (n = ze()) === null || n === void 0 ? void 0 : n.config;
|
763
763
|
}, zt = (n) => {
|
@@ -861,15 +861,15 @@ function za(n, e) {
|
|
861
861
|
* See the License for the specific language governing permissions and
|
862
862
|
* limitations under the License.
|
863
863
|
*/
|
864
|
-
function
|
864
|
+
function m() {
|
865
865
|
return typeof navigator < "u" && typeof navigator.userAgent == "string" ? navigator.userAgent : "";
|
866
866
|
}
|
867
|
-
function
|
867
|
+
function fr() {
|
868
868
|
return typeof window < "u" && // @ts-ignore Setting up an broadly applicable index signature for Window
|
869
869
|
// just to deal with this case would probably be a bad idea.
|
870
|
-
!!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(
|
870
|
+
!!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(m());
|
871
871
|
}
|
872
|
-
function
|
872
|
+
function mr() {
|
873
873
|
return typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers";
|
874
874
|
}
|
875
875
|
function _r() {
|
@@ -880,7 +880,7 @@ function gr() {
|
|
880
880
|
return typeof navigator == "object" && navigator.product === "ReactNative";
|
881
881
|
}
|
882
882
|
function vr() {
|
883
|
-
const n =
|
883
|
+
const n = m();
|
884
884
|
return n.indexOf("MSIE ") >= 0 || n.indexOf("Trident/") >= 0;
|
885
885
|
}
|
886
886
|
function Ir() {
|
@@ -1115,7 +1115,7 @@ function Re() {
|
|
1115
1115
|
function z(n) {
|
1116
1116
|
return n && n._delegate ? n._delegate : n;
|
1117
1117
|
}
|
1118
|
-
class
|
1118
|
+
class W {
|
1119
1119
|
/**
|
1120
1120
|
*
|
1121
1121
|
* @param name The public service name, e.g. app, auth, firestore, database
|
@@ -1309,7 +1309,7 @@ class Ar {
|
|
1309
1309
|
getOrInitializeService({ instanceIdentifier: e, options: t = {} }) {
|
1310
1310
|
let r = this.instances.get(e);
|
1311
1311
|
if (!r && this.component && (r = this.component.instanceFactory(this.container, {
|
1312
|
-
instanceIdentifier:
|
1312
|
+
instanceIdentifier: Or(e),
|
1313
1313
|
options: t
|
1314
1314
|
}), this.instances.set(e, r), this.instancesOptions.set(e, t), this.invokeOnInitCallbacks(r, e), this.component.onInstanceCreated))
|
1315
1315
|
try {
|
@@ -1325,7 +1325,7 @@ class Ar {
|
|
1325
1325
|
return !!this.component && this.component.instantiationMode !== "EXPLICIT";
|
1326
1326
|
}
|
1327
1327
|
}
|
1328
|
-
function
|
1328
|
+
function Or(n) {
|
1329
1329
|
return n === L ? void 0 : n;
|
1330
1330
|
}
|
1331
1331
|
function Cr(n) {
|
@@ -1347,7 +1347,7 @@ function Cr(n) {
|
|
1347
1347
|
* See the License for the specific language governing permissions and
|
1348
1348
|
* limitations under the License.
|
1349
1349
|
*/
|
1350
|
-
class
|
1350
|
+
class Nr {
|
1351
1351
|
constructor(e) {
|
1352
1352
|
this.name = e, this.providers = /* @__PURE__ */ new Map();
|
1353
1353
|
}
|
@@ -1428,7 +1428,7 @@ const Dr = {
|
|
1428
1428
|
else
|
1429
1429
|
throw new Error(`Attempted to log a message with an invalid logType (value: ${e})`);
|
1430
1430
|
};
|
1431
|
-
class
|
1431
|
+
class Zt {
|
1432
1432
|
/**
|
1433
1433
|
* Gives you an instance of a Logger to capture messages according to
|
1434
1434
|
* Firebase's logging scheme.
|
@@ -1485,7 +1485,7 @@ class $t {
|
|
1485
1485
|
}
|
1486
1486
|
const Ur = (n, e) => e.some((t) => n instanceof t);
|
1487
1487
|
let lt, dt;
|
1488
|
-
function
|
1488
|
+
function Fr() {
|
1489
1489
|
return lt || (lt = [
|
1490
1490
|
IDBDatabase,
|
1491
1491
|
IDBObjectStore,
|
@@ -1494,31 +1494,31 @@ function Br() {
|
|
1494
1494
|
IDBTransaction
|
1495
1495
|
]);
|
1496
1496
|
}
|
1497
|
-
function
|
1497
|
+
function Br() {
|
1498
1498
|
return dt || (dt = [
|
1499
1499
|
IDBCursor.prototype.advance,
|
1500
1500
|
IDBCursor.prototype.continue,
|
1501
1501
|
IDBCursor.prototype.continuePrimaryKey
|
1502
1502
|
]);
|
1503
1503
|
}
|
1504
|
-
const
|
1505
|
-
function
|
1504
|
+
const $t = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), Ze = /* @__PURE__ */ new WeakMap();
|
1505
|
+
function xr(n) {
|
1506
1506
|
const e = new Promise((t, r) => {
|
1507
1507
|
const i = () => {
|
1508
1508
|
n.removeEventListener("success", s), n.removeEventListener("error", a);
|
1509
1509
|
}, s = () => {
|
1510
|
-
t(
|
1510
|
+
t(N(n.result)), i();
|
1511
1511
|
}, a = () => {
|
1512
1512
|
r(n.error), i();
|
1513
1513
|
};
|
1514
1514
|
n.addEventListener("success", s), n.addEventListener("error", a);
|
1515
1515
|
});
|
1516
1516
|
return e.then((t) => {
|
1517
|
-
t instanceof IDBCursor &&
|
1517
|
+
t instanceof IDBCursor && $t.set(t, n);
|
1518
1518
|
}).catch(() => {
|
1519
|
-
}),
|
1519
|
+
}), Ze.set(e, n), e;
|
1520
1520
|
}
|
1521
|
-
function
|
1521
|
+
function jr(n) {
|
1522
1522
|
if (Le.has(n))
|
1523
1523
|
return;
|
1524
1524
|
const e = new Promise((t, r) => {
|
@@ -1543,7 +1543,7 @@ let Ue = {
|
|
1543
1543
|
if (e === "store")
|
1544
1544
|
return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
|
1545
1545
|
}
|
1546
|
-
return
|
1546
|
+
return N(n[e]);
|
1547
1547
|
},
|
1548
1548
|
set(n, e, t) {
|
1549
1549
|
return n[e] = t, !0;
|
@@ -1555,32 +1555,32 @@ let Ue = {
|
|
1555
1555
|
function Hr(n) {
|
1556
1556
|
Ue = n(Ue);
|
1557
1557
|
}
|
1558
|
-
function
|
1558
|
+
function Vr(n) {
|
1559
1559
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
1560
1560
|
const r = n.call(Ae(this), e, ...t);
|
1561
|
-
return Jt.set(r, e.sort ? e.sort() : [e]),
|
1562
|
-
} :
|
1563
|
-
return n.apply(Ae(this), e),
|
1561
|
+
return Jt.set(r, e.sort ? e.sort() : [e]), N(r);
|
1562
|
+
} : Br().includes(n) ? function(...e) {
|
1563
|
+
return n.apply(Ae(this), e), N($t.get(this));
|
1564
1564
|
} : function(...e) {
|
1565
|
-
return
|
1565
|
+
return N(n.apply(Ae(this), e));
|
1566
1566
|
};
|
1567
1567
|
}
|
1568
|
-
function
|
1569
|
-
return typeof n == "function" ?
|
1568
|
+
function Gr(n) {
|
1569
|
+
return typeof n == "function" ? Vr(n) : (n instanceof IDBTransaction && jr(n), Ur(n, Fr()) ? new Proxy(n, Ue) : n);
|
1570
1570
|
}
|
1571
|
-
function
|
1571
|
+
function N(n) {
|
1572
1572
|
if (n instanceof IDBRequest)
|
1573
|
-
return
|
1573
|
+
return xr(n);
|
1574
1574
|
if (Se.has(n))
|
1575
1575
|
return Se.get(n);
|
1576
|
-
const e =
|
1577
|
-
return e !== n && (Se.set(n, e),
|
1576
|
+
const e = Gr(n);
|
1577
|
+
return e !== n && (Se.set(n, e), Ze.set(e, n)), e;
|
1578
1578
|
}
|
1579
|
-
const Ae = (n) =>
|
1580
|
-
function
|
1581
|
-
const a = indexedDB.open(n, e), c =
|
1579
|
+
const Ae = (n) => Ze.get(n);
|
1580
|
+
function Wr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
1581
|
+
const a = indexedDB.open(n, e), c = N(a);
|
1582
1582
|
return r && a.addEventListener("upgradeneeded", (o) => {
|
1583
|
-
r(
|
1583
|
+
r(N(a.result), o.oldVersion, o.newVersion, N(a.transaction), o);
|
1584
1584
|
}), t && a.addEventListener("blocked", (o) => t(
|
1585
1585
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
1586
1586
|
o.oldVersion,
|
@@ -1591,13 +1591,13 @@ function Gr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
1591
1591
|
}).catch(() => {
|
1592
1592
|
}), c;
|
1593
1593
|
}
|
1594
|
-
const zr = ["get", "getKey", "getAll", "getAllKeys", "count"],
|
1594
|
+
const zr = ["get", "getKey", "getAll", "getAllKeys", "count"], Zr = ["put", "add", "delete", "clear"], Oe = /* @__PURE__ */ new Map();
|
1595
1595
|
function ut(n, e) {
|
1596
1596
|
if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
|
1597
1597
|
return;
|
1598
|
-
if (
|
1599
|
-
return
|
1600
|
-
const t = e.replace(/FromIndex$/, ""), r = e !== t, i =
|
1598
|
+
if (Oe.get(e))
|
1599
|
+
return Oe.get(e);
|
1600
|
+
const t = e.replace(/FromIndex$/, ""), r = e !== t, i = Zr.includes(t);
|
1601
1601
|
if (
|
1602
1602
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
1603
1603
|
!(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i || zr.includes(t))
|
@@ -1611,7 +1611,7 @@ function ut(n, e) {
|
|
1611
1611
|
i && o.done
|
1612
1612
|
]))[0];
|
1613
1613
|
};
|
1614
|
-
return
|
1614
|
+
return Oe.set(e, s), s;
|
1615
1615
|
}
|
1616
1616
|
Hr((n) => ({
|
1617
1617
|
...n,
|
@@ -1634,7 +1634,7 @@ Hr((n) => ({
|
|
1634
1634
|
* See the License for the specific language governing permissions and
|
1635
1635
|
* limitations under the License.
|
1636
1636
|
*/
|
1637
|
-
class
|
1637
|
+
class $r {
|
1638
1638
|
constructor(e) {
|
1639
1639
|
this.container = e;
|
1640
1640
|
}
|
@@ -1654,7 +1654,7 @@ function Jr(n) {
|
|
1654
1654
|
const e = n.getComponent();
|
1655
1655
|
return (e == null ? void 0 : e.type) === "VERSION";
|
1656
1656
|
}
|
1657
|
-
const
|
1657
|
+
const Fe = "@firebase/app", ht = "0.10.13";
|
1658
1658
|
/**
|
1659
1659
|
* @license
|
1660
1660
|
* Copyright 2019 Google LLC
|
@@ -1671,7 +1671,7 @@ const Be = "@firebase/app", ht = "0.10.13";
|
|
1671
1671
|
* See the License for the specific language governing permissions and
|
1672
1672
|
* limitations under the License.
|
1673
1673
|
*/
|
1674
|
-
const T = new
|
1674
|
+
const T = new Zt("@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", fi = "@firebase/remote-config-compat", mi = "@firebase/storage", _i = "@firebase/storage-compat", gi = "@firebase/firestore", vi = "@firebase/vertexai-preview", Ii = "@firebase/firestore-compat", bi = "firebase", yi = "10.14.1";
|
1675
1675
|
/**
|
1676
1676
|
* @license
|
1677
1677
|
* Copyright 2019 Google LLC
|
@@ -1688,11 +1688,11 @@ const T = new $t("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/
|
|
1688
1688
|
* See the License for the specific language governing permissions and
|
1689
1689
|
* limitations under the License.
|
1690
1690
|
*/
|
1691
|
-
const
|
1692
|
-
[
|
1693
|
-
[
|
1691
|
+
const Be = "[DEFAULT]", Ei = {
|
1692
|
+
[Fe]: "fire-core",
|
1693
|
+
[Yr]: "fire-core-compat",
|
1694
1694
|
[Kr]: "fire-analytics",
|
1695
|
-
[
|
1695
|
+
[Xr]: "fire-analytics-compat",
|
1696
1696
|
[Qr]: "fire-app-check",
|
1697
1697
|
[qr]: "fire-app-check-compat",
|
1698
1698
|
[ei]: "fire-auth",
|
@@ -1709,8 +1709,8 @@ const xe = "[DEFAULT]", Ei = {
|
|
1709
1709
|
[ui]: "fire-perf",
|
1710
1710
|
[hi]: "fire-perf-compat",
|
1711
1711
|
[pi]: "fire-rc",
|
1712
|
-
[
|
1713
|
-
[
|
1712
|
+
[fi]: "fire-rc-compat",
|
1713
|
+
[mi]: "fire-gcs",
|
1714
1714
|
[_i]: "fire-gcs-compat",
|
1715
1715
|
[gi]: "fire-fst",
|
1716
1716
|
[Ii]: "fire-fst-compat",
|
@@ -1734,7 +1734,7 @@ const xe = "[DEFAULT]", Ei = {
|
|
1734
1734
|
* See the License for the specific language governing permissions and
|
1735
1735
|
* limitations under the License.
|
1736
1736
|
*/
|
1737
|
-
const he = /* @__PURE__ */ new Map(), Ti = /* @__PURE__ */ new Map(),
|
1737
|
+
const he = /* @__PURE__ */ new Map(), Ti = /* @__PURE__ */ new Map(), xe = /* @__PURE__ */ new Map();
|
1738
1738
|
function pt(n, e) {
|
1739
1739
|
try {
|
1740
1740
|
n.container.addComponent(e);
|
@@ -1742,18 +1742,18 @@ function pt(n, e) {
|
|
1742
1742
|
T.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
|
1743
1743
|
}
|
1744
1744
|
}
|
1745
|
-
function
|
1745
|
+
function Y(n) {
|
1746
1746
|
const e = n.name;
|
1747
|
-
if (
|
1747
|
+
if (xe.has(e))
|
1748
1748
|
return T.debug(`There were multiple attempts to register component ${e}.`), !1;
|
1749
|
-
|
1749
|
+
xe.set(e, n);
|
1750
1750
|
for (const t of he.values())
|
1751
1751
|
pt(t, n);
|
1752
1752
|
for (const t of Ti.values())
|
1753
1753
|
pt(t, n);
|
1754
1754
|
return !0;
|
1755
1755
|
}
|
1756
|
-
function
|
1756
|
+
function Yt(n, e) {
|
1757
1757
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1758
1758
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1759
1759
|
}
|
@@ -1810,7 +1810,7 @@ const wi = {
|
|
1810
1810
|
*/
|
1811
1811
|
class ki {
|
1812
1812
|
constructor(e, t, r) {
|
1813
|
-
this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, t), this._name = t.name, this._automaticDataCollectionEnabled = t.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new
|
1813
|
+
this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, t), this._name = t.name, this._automaticDataCollectionEnabled = t.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new W(
|
1814
1814
|
"app",
|
1815
1815
|
() => this,
|
1816
1816
|
"PUBLIC"
|
@@ -1867,15 +1867,15 @@ class ki {
|
|
1867
1867
|
* limitations under the License.
|
1868
1868
|
*/
|
1869
1869
|
const ee = yi;
|
1870
|
-
function
|
1870
|
+
function Xt(n, e = {}) {
|
1871
1871
|
let t = n;
|
1872
1872
|
typeof e != "object" && (e = { name: e });
|
1873
|
-
const r = Object.assign({ name:
|
1873
|
+
const r = Object.assign({ name: Be, automaticDataCollectionEnabled: !1 }, e), i = r.name;
|
1874
1874
|
if (typeof i != "string" || !i)
|
1875
1875
|
throw D.create("bad-app-name", {
|
1876
1876
|
appName: String(i)
|
1877
1877
|
});
|
1878
|
-
if (t || (t =
|
1878
|
+
if (t || (t = Wt()), !t)
|
1879
1879
|
throw D.create(
|
1880
1880
|
"no-options"
|
1881
1881
|
/* AppError.NO_OPTIONS */
|
@@ -1886,21 +1886,21 @@ function Yt(n, e = {}) {
|
|
1886
1886
|
return s;
|
1887
1887
|
throw D.create("duplicate-app", { appName: i });
|
1888
1888
|
}
|
1889
|
-
const a = new
|
1890
|
-
for (const o of
|
1889
|
+
const a = new Nr(i);
|
1890
|
+
for (const o of xe.values())
|
1891
1891
|
a.addComponent(o);
|
1892
1892
|
const c = new ki(t, r, a);
|
1893
1893
|
return he.set(i, c), c;
|
1894
1894
|
}
|
1895
|
-
function Ri(n =
|
1895
|
+
function Ri(n = Be) {
|
1896
1896
|
const e = he.get(n);
|
1897
|
-
if (!e && n ===
|
1898
|
-
return
|
1897
|
+
if (!e && n === Be && Wt())
|
1898
|
+
return Xt();
|
1899
1899
|
if (!e)
|
1900
1900
|
throw D.create("no-app", { appName: n });
|
1901
1901
|
return e;
|
1902
1902
|
}
|
1903
|
-
function
|
1903
|
+
function j(n, e, t) {
|
1904
1904
|
var r;
|
1905
1905
|
let i = (r = Ei[n]) !== null && r !== void 0 ? r : n;
|
1906
1906
|
t && (i += `-${t}`);
|
@@ -1912,7 +1912,7 @@ function W(n, e, t) {
|
|
1912
1912
|
s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`), T.warn(c.join(" "));
|
1913
1913
|
return;
|
1914
1914
|
}
|
1915
|
-
|
1915
|
+
Y(new W(
|
1916
1916
|
`${i}-version`,
|
1917
1917
|
() => ({ library: i, version: e }),
|
1918
1918
|
"VERSION"
|
@@ -1935,15 +1935,15 @@ function W(n, e, t) {
|
|
1935
1935
|
* See the License for the specific language governing permissions and
|
1936
1936
|
* limitations under the License.
|
1937
1937
|
*/
|
1938
|
-
const Si = "firebase-heartbeat-database", Ai = 1,
|
1938
|
+
const Si = "firebase-heartbeat-database", Ai = 1, X = "firebase-heartbeat-store";
|
1939
1939
|
let Ce = null;
|
1940
1940
|
function Kt() {
|
1941
|
-
return Ce || (Ce =
|
1941
|
+
return Ce || (Ce = Wr(Si, Ai, {
|
1942
1942
|
upgrade: (n, e) => {
|
1943
1943
|
switch (e) {
|
1944
1944
|
case 0:
|
1945
1945
|
try {
|
1946
|
-
n.createObjectStore(
|
1946
|
+
n.createObjectStore(X);
|
1947
1947
|
} catch (t) {
|
1948
1948
|
console.warn(t);
|
1949
1949
|
}
|
@@ -1955,9 +1955,9 @@ function Kt() {
|
|
1955
1955
|
});
|
1956
1956
|
})), Ce;
|
1957
1957
|
}
|
1958
|
-
async function
|
1958
|
+
async function Oi(n) {
|
1959
1959
|
try {
|
1960
|
-
const t = (await Kt()).transaction(
|
1960
|
+
const t = (await Kt()).transaction(X), r = await t.objectStore(X).get(qt(n));
|
1961
1961
|
return await t.done, r;
|
1962
1962
|
} catch (e) {
|
1963
1963
|
if (e instanceof M)
|
@@ -1970,10 +1970,10 @@ async function Ni(n) {
|
|
1970
1970
|
}
|
1971
1971
|
}
|
1972
1972
|
}
|
1973
|
-
async function
|
1973
|
+
async function ft(n, e) {
|
1974
1974
|
try {
|
1975
|
-
const r = (await Kt()).transaction(
|
1976
|
-
await r.objectStore(
|
1975
|
+
const r = (await Kt()).transaction(X, "readwrite");
|
1976
|
+
await r.objectStore(X).put(e, qt(n)), await r.done;
|
1977
1977
|
} catch (t) {
|
1978
1978
|
if (t instanceof M)
|
1979
1979
|
T.warn(t.message);
|
@@ -2004,7 +2004,7 @@ function qt(n) {
|
|
2004
2004
|
* See the License for the specific language governing permissions and
|
2005
2005
|
* limitations under the License.
|
2006
2006
|
*/
|
2007
|
-
const Ci = 1024,
|
2007
|
+
const Ci = 1024, Ni = 30 * 24 * 60 * 60 * 1e3;
|
2008
2008
|
class Di {
|
2009
2009
|
constructor(e) {
|
2010
2010
|
this.container = e, this._heartbeatsCache = null;
|
@@ -2021,10 +2021,10 @@ class Di {
|
|
2021
2021
|
async triggerHeartbeat() {
|
2022
2022
|
var e, t;
|
2023
2023
|
try {
|
2024
|
-
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s =
|
2024
|
+
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = mt();
|
2025
2025
|
return ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null && (this._heartbeatsCache = await this._heartbeatsCachePromise, ((t = this._heartbeatsCache) === null || t === void 0 ? void 0 : t.heartbeats) == null) || this._heartbeatsCache.lastSentHeartbeatDate === s || this._heartbeatsCache.heartbeats.some((a) => a.date === s) ? void 0 : (this._heartbeatsCache.heartbeats.push({ date: s, agent: i }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((a) => {
|
2026
2026
|
const c = new Date(a.date).valueOf();
|
2027
|
-
return Date.now() - c <=
|
2027
|
+
return Date.now() - c <= Ni;
|
2028
2028
|
}), this._storage.overwrite(this._heartbeatsCache));
|
2029
2029
|
} catch (r) {
|
2030
2030
|
T.warn(r);
|
@@ -2042,14 +2042,14 @@ class Di {
|
|
2042
2042
|
try {
|
2043
2043
|
if (this._heartbeatsCache === null && await this._heartbeatsCachePromise, ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null || this._heartbeatsCache.heartbeats.length === 0)
|
2044
2044
|
return "";
|
2045
|
-
const t =
|
2045
|
+
const t = mt(), { heartbeatsToSend: r, unsentEntries: i } = Pi(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
|
2046
2046
|
return this._heartbeatsCache.lastSentHeartbeatDate = t, i.length > 0 ? (this._heartbeatsCache.heartbeats = i, await this._storage.overwrite(this._heartbeatsCache)) : (this._heartbeatsCache.heartbeats = [], this._storage.overwrite(this._heartbeatsCache)), s;
|
2047
2047
|
} catch (t) {
|
2048
2048
|
return T.warn(t), "";
|
2049
2049
|
}
|
2050
2050
|
}
|
2051
2051
|
}
|
2052
|
-
function
|
2052
|
+
function mt() {
|
2053
2053
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
2054
2054
|
}
|
2055
2055
|
function Pi(n, e = Ci) {
|
@@ -2088,7 +2088,7 @@ class Mi {
|
|
2088
2088
|
*/
|
2089
2089
|
async read() {
|
2090
2090
|
if (await this._canUseIndexedDBPromise) {
|
2091
|
-
const t = await
|
2091
|
+
const t = await Oi(this.app);
|
2092
2092
|
return t != null && t.heartbeats ? t : { heartbeats: [] };
|
2093
2093
|
} else
|
2094
2094
|
return { heartbeats: [] };
|
@@ -2098,7 +2098,7 @@ class Mi {
|
|
2098
2098
|
var t;
|
2099
2099
|
if (await this._canUseIndexedDBPromise) {
|
2100
2100
|
const i = await this.read();
|
2101
|
-
return
|
2101
|
+
return ft(this.app, {
|
2102
2102
|
lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
|
2103
2103
|
heartbeats: e.heartbeats
|
2104
2104
|
});
|
@@ -2110,7 +2110,7 @@ class Mi {
|
|
2110
2110
|
var t;
|
2111
2111
|
if (await this._canUseIndexedDBPromise) {
|
2112
2112
|
const i = await this.read();
|
2113
|
-
return
|
2113
|
+
return ft(this.app, {
|
2114
2114
|
lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
|
2115
2115
|
heartbeats: [
|
2116
2116
|
...i.heartbeats,
|
@@ -2144,20 +2144,20 @@ function _t(n) {
|
|
2144
2144
|
* limitations under the License.
|
2145
2145
|
*/
|
2146
2146
|
function Li(n) {
|
2147
|
-
|
2147
|
+
Y(new W(
|
2148
2148
|
"platform-logger",
|
2149
|
-
(e) => new
|
2149
|
+
(e) => new $r(e),
|
2150
2150
|
"PRIVATE"
|
2151
2151
|
/* ComponentType.PRIVATE */
|
2152
|
-
)),
|
2152
|
+
)), Y(new W(
|
2153
2153
|
"heartbeat",
|
2154
2154
|
(e) => new Di(e),
|
2155
2155
|
"PRIVATE"
|
2156
2156
|
/* ComponentType.PRIVATE */
|
2157
|
-
)),
|
2157
|
+
)), j(Fe, ht, n), j(Fe, ht, "esm2017"), j("fire-js", "");
|
2158
2158
|
}
|
2159
2159
|
Li("");
|
2160
|
-
var Ui = "firebase",
|
2160
|
+
var Ui = "firebase", Fi = "10.14.1";
|
2161
2161
|
/**
|
2162
2162
|
* @license
|
2163
2163
|
* Copyright 2020 Google LLC
|
@@ -2174,7 +2174,7 @@ var Ui = "firebase", Bi = "10.14.1";
|
|
2174
2174
|
* See the License for the specific language governing permissions and
|
2175
2175
|
* limitations under the License.
|
2176
2176
|
*/
|
2177
|
-
|
2177
|
+
j(Ui, Fi, "app");
|
2178
2178
|
var gt = function() {
|
2179
2179
|
return gt = Object.assign || function(e) {
|
2180
2180
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
@@ -2184,7 +2184,7 @@ var gt = function() {
|
|
2184
2184
|
return e;
|
2185
2185
|
}, gt.apply(this, arguments);
|
2186
2186
|
};
|
2187
|
-
function
|
2187
|
+
function $e(n, e) {
|
2188
2188
|
var t = {};
|
2189
2189
|
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && e.indexOf(r) < 0 && (t[r] = n[r]);
|
2190
2190
|
if (n != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -2197,7 +2197,7 @@ function Qt() {
|
|
2197
2197
|
"dependent-sdk-initialized-before-auth": "Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."
|
2198
2198
|
};
|
2199
2199
|
}
|
2200
|
-
const
|
2200
|
+
const Bi = Qt, en = new q("auth", "Firebase", Qt());
|
2201
2201
|
/**
|
2202
2202
|
* @license
|
2203
2203
|
* Copyright 2020 Google LLC
|
@@ -2214,8 +2214,8 @@ const xi = Qt, en = new q("auth", "Firebase", Qt());
|
|
2214
2214
|
* See the License for the specific language governing permissions and
|
2215
2215
|
* limitations under the License.
|
2216
2216
|
*/
|
2217
|
-
const pe = new
|
2218
|
-
function
|
2217
|
+
const pe = new Zt("@firebase/auth");
|
2218
|
+
function xi(n, ...e) {
|
2219
2219
|
pe.logLevel <= p.WARN && pe.warn(`Auth (${ee}): ${n}`, ...e);
|
2220
2220
|
}
|
2221
2221
|
function se(n, ...e) {
|
@@ -2244,7 +2244,7 @@ function _(n, ...e) {
|
|
2244
2244
|
return Je(n, ...e);
|
2245
2245
|
}
|
2246
2246
|
function tn(n, e, t) {
|
2247
|
-
const r = Object.assign(Object.assign({},
|
2247
|
+
const r = Object.assign(Object.assign({}, Bi()), { [e]: t });
|
2248
2248
|
return new q("auth", "Firebase", r).create(e, {
|
2249
2249
|
appName: n.name
|
2250
2250
|
});
|
@@ -2286,11 +2286,11 @@ function k(n, e) {
|
|
2286
2286
|
* See the License for the specific language governing permissions and
|
2287
2287
|
* limitations under the License.
|
2288
2288
|
*/
|
2289
|
-
function
|
2289
|
+
function je() {
|
2290
2290
|
var n;
|
2291
2291
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
|
2292
2292
|
}
|
2293
|
-
function
|
2293
|
+
function ji() {
|
2294
2294
|
return vt() === "http:" || vt() === "https:";
|
2295
2295
|
}
|
2296
2296
|
function vt() {
|
@@ -2319,9 +2319,9 @@ function Hi() {
|
|
2319
2319
|
// navigator.onLine behavior unless cordova-plugin-network-information is
|
2320
2320
|
// installed which overwrites the native navigator.onLine value and
|
2321
2321
|
// defines navigator.connection.
|
2322
|
-
(
|
2322
|
+
(ji() || _r() || "connection" in navigator) ? navigator.onLine : !0;
|
2323
2323
|
}
|
2324
|
-
function
|
2324
|
+
function Vi() {
|
2325
2325
|
if (typeof navigator > "u")
|
2326
2326
|
return null;
|
2327
2327
|
const n = navigator;
|
@@ -2351,7 +2351,7 @@ function ji() {
|
|
2351
2351
|
*/
|
2352
2352
|
class te {
|
2353
2353
|
constructor(e, t) {
|
2354
|
-
this.shortDelay = e, this.longDelay = t, k(t > e, "Short delay should be less than long delay!"), this.isMobile =
|
2354
|
+
this.shortDelay = e, this.longDelay = t, k(t > e, "Short delay should be less than long delay!"), this.isMobile = fr() || gr();
|
2355
2355
|
}
|
2356
2356
|
get() {
|
2357
2357
|
return Hi() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
|
@@ -2373,7 +2373,7 @@ class te {
|
|
2373
2373
|
* See the License for the specific language governing permissions and
|
2374
2374
|
* limitations under the License.
|
2375
2375
|
*/
|
2376
|
-
function
|
2376
|
+
function Ye(n, e) {
|
2377
2377
|
k(n.emulator, "Emulator should always be set here");
|
2378
2378
|
const { url: t } = n.emulator;
|
2379
2379
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
@@ -2448,7 +2448,7 @@ class nn {
|
|
2448
2448
|
* See the License for the specific language governing permissions and
|
2449
2449
|
* limitations under the License.
|
2450
2450
|
*/
|
2451
|
-
const
|
2451
|
+
const Gi = {
|
2452
2452
|
// Custom token errors.
|
2453
2453
|
CREDENTIAL_MISMATCH: "custom-token-mismatch",
|
2454
2454
|
// This can only happen if the SDK sends a bad request.
|
@@ -2539,11 +2539,11 @@ const Vi = {
|
|
2539
2539
|
* See the License for the specific language governing permissions and
|
2540
2540
|
* limitations under the License.
|
2541
2541
|
*/
|
2542
|
-
const
|
2542
|
+
const Wi = new te(3e4, 6e4);
|
2543
2543
|
function ve(n, e) {
|
2544
2544
|
return n.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: n.tenantId }) : e;
|
2545
2545
|
}
|
2546
|
-
async function
|
2546
|
+
async function Z(n, e, t, r, i = {}) {
|
2547
2547
|
return rn(n, i, async () => {
|
2548
2548
|
let s = {}, a = {};
|
2549
2549
|
r && (e === "GET" ? a = r : s = {
|
@@ -2561,12 +2561,12 @@ async function $(n, e, t, r, i = {}) {
|
|
2561
2561
|
method: e,
|
2562
2562
|
headers: o
|
2563
2563
|
}, s);
|
2564
|
-
return
|
2564
|
+
return mr() || (l.referrerPolicy = "no-referrer"), nn.fetch()(an(n, n.config.apiHost, t, c), l);
|
2565
2565
|
});
|
2566
2566
|
}
|
2567
2567
|
async function rn(n, e, t) {
|
2568
2568
|
n._canInitEmulator = !1;
|
2569
|
-
const r = Object.assign(Object.assign({},
|
2569
|
+
const r = Object.assign(Object.assign({}, Gi), e);
|
2570
2570
|
try {
|
2571
2571
|
const i = new zi(n), s = await Promise.race([
|
2572
2572
|
t(),
|
@@ -2598,14 +2598,14 @@ async function rn(n, e, t) {
|
|
2598
2598
|
}
|
2599
2599
|
}
|
2600
2600
|
async function sn(n, e, t, r, i = {}) {
|
2601
|
-
const s = await
|
2601
|
+
const s = await Z(n, e, t, r, i);
|
2602
2602
|
return "mfaPendingCredential" in s && w(n, "multi-factor-auth-required", {
|
2603
2603
|
_serverResponse: s
|
2604
2604
|
}), s;
|
2605
2605
|
}
|
2606
2606
|
function an(n, e, t, r) {
|
2607
2607
|
const i = `${e}${t}?${r}`;
|
2608
|
-
return n.config.emulator ?
|
2608
|
+
return n.config.emulator ? Ye(n.config, i) : `${n.config.apiScheme}://${i}`;
|
2609
2609
|
}
|
2610
2610
|
class zi {
|
2611
2611
|
constructor(e) {
|
@@ -2614,7 +2614,7 @@ class zi {
|
|
2614
2614
|
this.auth,
|
2615
2615
|
"network-request-failed"
|
2616
2616
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
2617
|
-
)),
|
2617
|
+
)), Wi.get());
|
2618
2618
|
});
|
2619
2619
|
}
|
2620
2620
|
clearNetworkTimeout() {
|
@@ -2645,11 +2645,11 @@ function ie(n, e, t) {
|
|
2645
2645
|
* See the License for the specific language governing permissions and
|
2646
2646
|
* limitations under the License.
|
2647
2647
|
*/
|
2648
|
-
async function
|
2649
|
-
return
|
2648
|
+
async function Zi(n, e) {
|
2649
|
+
return Z(n, "POST", "/v1/accounts:delete", e);
|
2650
2650
|
}
|
2651
2651
|
async function on(n, e) {
|
2652
|
-
return
|
2652
|
+
return Z(n, "POST", "/v1/accounts:lookup", e);
|
2653
2653
|
}
|
2654
2654
|
/**
|
2655
2655
|
* @license
|
@@ -2676,8 +2676,8 @@ function J(n) {
|
|
2676
2676
|
} catch {
|
2677
2677
|
}
|
2678
2678
|
}
|
2679
|
-
async function
|
2680
|
-
const t = z(n), r = await t.getIdToken(e), i =
|
2679
|
+
async function $i(n, e = !1) {
|
2680
|
+
const t = z(n), r = await t.getIdToken(e), i = Xe(r);
|
2681
2681
|
u(
|
2682
2682
|
i && i.exp && i.auth_time && i.iat,
|
2683
2683
|
t.auth,
|
@@ -2688,29 +2688,29 @@ async function Zi(n, e = !1) {
|
|
2688
2688
|
return {
|
2689
2689
|
claims: i,
|
2690
2690
|
token: r,
|
2691
|
-
authTime: J(
|
2692
|
-
issuedAtTime: J(
|
2693
|
-
expirationTime: J(
|
2691
|
+
authTime: J(Ne(i.auth_time)),
|
2692
|
+
issuedAtTime: J(Ne(i.iat)),
|
2693
|
+
expirationTime: J(Ne(i.exp)),
|
2694
2694
|
signInProvider: a || null,
|
2695
2695
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2696
2696
|
};
|
2697
2697
|
}
|
2698
|
-
function
|
2698
|
+
function Ne(n) {
|
2699
2699
|
return Number(n) * 1e3;
|
2700
2700
|
}
|
2701
|
-
function
|
2701
|
+
function Xe(n) {
|
2702
2702
|
const [e, t, r] = n.split(".");
|
2703
2703
|
if (e === void 0 || t === void 0 || r === void 0)
|
2704
2704
|
return se("JWT malformed, contained fewer than 3 sections"), null;
|
2705
2705
|
try {
|
2706
|
-
const i =
|
2706
|
+
const i = Vt(t);
|
2707
2707
|
return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
|
2708
2708
|
} catch (i) {
|
2709
2709
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
2710
2710
|
}
|
2711
2711
|
}
|
2712
2712
|
function It(n) {
|
2713
|
-
const e =
|
2713
|
+
const e = Xe(n);
|
2714
2714
|
return u(
|
2715
2715
|
e,
|
2716
2716
|
"internal-error"
|
@@ -2769,7 +2769,7 @@ function Ji({ code: n }) {
|
|
2769
2769
|
* See the License for the specific language governing permissions and
|
2770
2770
|
* limitations under the License.
|
2771
2771
|
*/
|
2772
|
-
class
|
2772
|
+
class Yi {
|
2773
2773
|
constructor(e) {
|
2774
2774
|
this.user = e, this.isRunning = !1, this.timerId = null, this.errorBackoff = 3e4;
|
2775
2775
|
}
|
@@ -2864,7 +2864,7 @@ class He {
|
|
2864
2864
|
* See the License for the specific language governing permissions and
|
2865
2865
|
* limitations under the License.
|
2866
2866
|
*/
|
2867
|
-
async function
|
2867
|
+
async function fe(n) {
|
2868
2868
|
var e;
|
2869
2869
|
const t = n.auth, r = await n.getIdToken(), i = await K(n, on(t, { idToken: r }));
|
2870
2870
|
u(
|
@@ -2889,16 +2889,16 @@ async function me(n) {
|
|
2889
2889
|
};
|
2890
2890
|
Object.assign(n, h);
|
2891
2891
|
}
|
2892
|
-
async function
|
2892
|
+
async function Xi(n) {
|
2893
2893
|
const e = z(n);
|
2894
|
-
await
|
2894
|
+
await fe(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
|
2895
2895
|
}
|
2896
2896
|
function Ki(n, e) {
|
2897
2897
|
return [...n.filter((r) => !e.some((i) => i.providerId === r.providerId)), ...e];
|
2898
2898
|
}
|
2899
2899
|
function cn(n) {
|
2900
2900
|
return n.map((e) => {
|
2901
|
-
var { providerId: t } = e, r =
|
2901
|
+
var { providerId: t } = e, r = $e(e, ["providerId"]);
|
2902
2902
|
return {
|
2903
2903
|
providerId: t,
|
2904
2904
|
uid: r.rawId || "",
|
@@ -2947,7 +2947,7 @@ async function qi(n, e) {
|
|
2947
2947
|
};
|
2948
2948
|
}
|
2949
2949
|
async function Qi(n, e) {
|
2950
|
-
return
|
2950
|
+
return Z(n, "POST", "/v2/accounts:revokeToken", ve(n, e));
|
2951
2951
|
}
|
2952
2952
|
/**
|
2953
2953
|
* @license
|
@@ -3064,8 +3064,8 @@ function R(n, e) {
|
|
3064
3064
|
}
|
3065
3065
|
class y {
|
3066
3066
|
constructor(e) {
|
3067
|
-
var { uid: t, auth: r, stsTokenManager: i } = e, s =
|
3068
|
-
this.providerId = "firebase", this.proactiveRefresh = new
|
3067
|
+
var { uid: t, auth: r, stsTokenManager: i } = e, s = $e(e, ["uid", "auth", "stsTokenManager"]);
|
3068
|
+
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 He(s.createdAt || void 0, s.lastLoginAt || void 0);
|
3069
3069
|
}
|
3070
3070
|
async getIdToken(e) {
|
3071
3071
|
const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
|
@@ -3077,10 +3077,10 @@ class y {
|
|
3077
3077
|
), this.accessToken !== t && (this.accessToken = t, await this.auth._persistUserIfCurrent(this), this.auth._notifyListenersIfCurrent(this)), t;
|
3078
3078
|
}
|
3079
3079
|
getIdTokenResult(e) {
|
3080
|
-
return
|
3080
|
+
return $i(this, e);
|
3081
3081
|
}
|
3082
3082
|
reload() {
|
3083
|
-
return
|
3083
|
+
return Xi(this);
|
3084
3084
|
}
|
3085
3085
|
_assign(e) {
|
3086
3086
|
this !== e && (u(
|
@@ -3113,13 +3113,13 @@ class y {
|
|
3113
3113
|
}
|
3114
3114
|
async _updateTokensIfNecessary(e, t = !1) {
|
3115
3115
|
let r = !1;
|
3116
|
-
e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await
|
3116
|
+
e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await fe(this), await this.auth._persistUserIfCurrent(this), r && this.auth._notifyListenersIfCurrent(this);
|
3117
3117
|
}
|
3118
3118
|
async delete() {
|
3119
3119
|
if (I(this.auth.app))
|
3120
3120
|
return Promise.reject(P(this.auth));
|
3121
3121
|
const e = await this.getIdToken();
|
3122
|
-
return await K(this,
|
3122
|
+
return await K(this, Zi(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
|
3123
3123
|
}
|
3124
3124
|
toJSON() {
|
3125
3125
|
return Object.assign(Object.assign({
|
@@ -3147,7 +3147,7 @@ class y {
|
|
3147
3147
|
}
|
3148
3148
|
static _fromJSON(e, t) {
|
3149
3149
|
var r, i, s, a, c, o, l, d;
|
3150
|
-
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0,
|
3150
|
+
const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, f = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, B = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, Ee = (o = t._redirectEventId) !== null && o !== void 0 ? o : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (d = t.lastLoginAt) !== null && d !== void 0 ? d : void 0, { uid: Te, emailVerified: it, isAnonymous: st, providerData: we, stsTokenManager: at } = t;
|
3151
3151
|
u(
|
3152
3152
|
Te && at,
|
3153
3153
|
e,
|
@@ -3160,7 +3160,7 @@ class y {
|
|
3160
3160
|
e,
|
3161
3161
|
"internal-error"
|
3162
3162
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3163
|
-
), R(h, e.name), R(
|
3163
|
+
), R(h, e.name), R(f, e.name), u(
|
3164
3164
|
typeof it == "boolean",
|
3165
3165
|
e,
|
3166
3166
|
"internal-error"
|
@@ -3170,15 +3170,15 @@ class y {
|
|
3170
3170
|
e,
|
3171
3171
|
"internal-error"
|
3172
3172
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3173
|
-
), R(v, e.name), R(
|
3173
|
+
), R(v, e.name), R(B, e.name), R(tt, e.name), R(Ee, e.name), R(nt, e.name), R(rt, e.name);
|
3174
3174
|
const ke = new y({
|
3175
3175
|
uid: Te,
|
3176
3176
|
auth: e,
|
3177
|
-
email:
|
3177
|
+
email: f,
|
3178
3178
|
emailVerified: it,
|
3179
3179
|
displayName: h,
|
3180
3180
|
isAnonymous: st,
|
3181
|
-
photoURL:
|
3181
|
+
photoURL: B,
|
3182
3182
|
phoneNumber: v,
|
3183
3183
|
tenantId: tt,
|
3184
3184
|
stsTokenManager: Pn,
|
@@ -3201,7 +3201,7 @@ class y {
|
|
3201
3201
|
stsTokenManager: i,
|
3202
3202
|
isAnonymous: r
|
3203
3203
|
});
|
3204
|
-
return await
|
3204
|
+
return await fe(s), s;
|
3205
3205
|
}
|
3206
3206
|
/**
|
3207
3207
|
* Initialize a User from an idToken server response
|
@@ -3318,7 +3318,7 @@ const yt = ln;
|
|
3318
3318
|
function ae(n, e, t) {
|
3319
3319
|
return `firebase:${n}:${e}:${t}`;
|
3320
3320
|
}
|
3321
|
-
class
|
3321
|
+
class V {
|
3322
3322
|
constructor(e, t, r) {
|
3323
3323
|
this.persistence = e, this.auth = t, this.userKey = r;
|
3324
3324
|
const { config: i, name: s } = this.auth;
|
@@ -3349,7 +3349,7 @@ class j {
|
|
3349
3349
|
}
|
3350
3350
|
static async create(e, t, r = "authUser") {
|
3351
3351
|
if (!t.length)
|
3352
|
-
return new
|
3352
|
+
return new V(E(yt), e, r);
|
3353
3353
|
const i = (await Promise.all(t.map(async (l) => {
|
3354
3354
|
if (await l._isAvailable())
|
3355
3355
|
return l;
|
@@ -3368,13 +3368,13 @@ class j {
|
|
3368
3368
|
} catch {
|
3369
3369
|
}
|
3370
3370
|
const o = i.filter((l) => l._shouldAllowMigration);
|
3371
|
-
return !s._shouldAllowMigration || !o.length ? new
|
3371
|
+
return !s._shouldAllowMigration || !o.length ? new V(s, e, r) : (s = o[0], c && await s._set(a, c.toJSON()), await Promise.all(t.map(async (l) => {
|
3372
3372
|
if (l !== s)
|
3373
3373
|
try {
|
3374
3374
|
await l._remove(a);
|
3375
3375
|
} catch {
|
3376
3376
|
}
|
3377
|
-
})), new
|
3377
|
+
})), new V(s, e, r));
|
3378
3378
|
}
|
3379
3379
|
}
|
3380
3380
|
/**
|
@@ -3407,7 +3407,7 @@ function Et(n) {
|
|
3407
3407
|
return "Firefox";
|
3408
3408
|
if (e.includes("silk/"))
|
3409
3409
|
return "Silk";
|
3410
|
-
if (
|
3410
|
+
if (mn(e))
|
3411
3411
|
return "Blackberry";
|
3412
3412
|
if (_n(e))
|
3413
3413
|
return "Webos";
|
@@ -3415,7 +3415,7 @@ function Et(n) {
|
|
3415
3415
|
return "Safari";
|
3416
3416
|
if ((e.includes("chrome/") || hn(e)) && !e.includes("edge/"))
|
3417
3417
|
return "Chrome";
|
3418
|
-
if (
|
3418
|
+
if (fn(e))
|
3419
3419
|
return "Android";
|
3420
3420
|
{
|
3421
3421
|
const t = /([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/, r = n.match(t);
|
@@ -3424,40 +3424,40 @@ function Et(n) {
|
|
3424
3424
|
}
|
3425
3425
|
return "Other";
|
3426
3426
|
}
|
3427
|
-
function dn(n =
|
3427
|
+
function dn(n = m()) {
|
3428
3428
|
return /firefox\//i.test(n);
|
3429
3429
|
}
|
3430
|
-
function un(n =
|
3430
|
+
function un(n = m()) {
|
3431
3431
|
const e = n.toLowerCase();
|
3432
3432
|
return e.includes("safari/") && !e.includes("chrome/") && !e.includes("crios/") && !e.includes("android");
|
3433
3433
|
}
|
3434
|
-
function hn(n =
|
3434
|
+
function hn(n = m()) {
|
3435
3435
|
return /crios\//i.test(n);
|
3436
3436
|
}
|
3437
|
-
function pn(n =
|
3437
|
+
function pn(n = m()) {
|
3438
3438
|
return /iemobile/i.test(n);
|
3439
3439
|
}
|
3440
|
-
function
|
3440
|
+
function fn(n = m()) {
|
3441
3441
|
return /android/i.test(n);
|
3442
3442
|
}
|
3443
|
-
function
|
3443
|
+
function mn(n = m()) {
|
3444
3444
|
return /blackberry/i.test(n);
|
3445
3445
|
}
|
3446
|
-
function _n(n =
|
3446
|
+
function _n(n = m()) {
|
3447
3447
|
return /webos/i.test(n);
|
3448
3448
|
}
|
3449
|
-
function Ke(n =
|
3449
|
+
function Ke(n = m()) {
|
3450
3450
|
return /iphone|ipad|ipod/i.test(n) || /macintosh/i.test(n) && /mobile/i.test(n);
|
3451
3451
|
}
|
3452
|
-
function es(n =
|
3452
|
+
function es(n = m()) {
|
3453
3453
|
var e;
|
3454
3454
|
return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
|
3455
3455
|
}
|
3456
3456
|
function ts() {
|
3457
3457
|
return vr() && document.documentMode === 10;
|
3458
3458
|
}
|
3459
|
-
function gn(n =
|
3460
|
-
return Ke(n) ||
|
3459
|
+
function gn(n = m()) {
|
3460
|
+
return Ke(n) || fn(n) || _n(n) || mn(n) || /windows phone/i.test(n) || pn(n);
|
3461
3461
|
}
|
3462
3462
|
/**
|
3463
3463
|
* @license
|
@@ -3479,10 +3479,10 @@ function vn(n, e = []) {
|
|
3479
3479
|
let t;
|
3480
3480
|
switch (n) {
|
3481
3481
|
case "Browser":
|
3482
|
-
t = Et(
|
3482
|
+
t = Et(m());
|
3483
3483
|
break;
|
3484
3484
|
case "Worker":
|
3485
|
-
t = `${Et(
|
3485
|
+
t = `${Et(m())}-${n}`;
|
3486
3486
|
break;
|
3487
3487
|
default:
|
3488
3488
|
t = n;
|
@@ -3562,7 +3562,7 @@ class ns {
|
|
3562
3562
|
* limitations under the License.
|
3563
3563
|
*/
|
3564
3564
|
async function rs(n, e = {}) {
|
3565
|
-
return
|
3565
|
+
return Z(n, "GET", "/v2/passwordPolicy", ve(n, e));
|
3566
3566
|
}
|
3567
3567
|
/**
|
3568
3568
|
* @license
|
@@ -3675,7 +3675,7 @@ class as {
|
|
3675
3675
|
_initializeWithPersistence(e, t) {
|
3676
3676
|
return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
|
3677
3677
|
var r, i;
|
3678
|
-
if (!this._deleted && (this.persistenceManager = await
|
3678
|
+
if (!this._deleted && (this.persistenceManager = await V.create(this, e), !this._deleted)) {
|
3679
3679
|
if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
|
3680
3680
|
try {
|
3681
3681
|
await this._popupRedirectResolver._initialize(this);
|
@@ -3756,7 +3756,7 @@ class as {
|
|
3756
3756
|
}
|
3757
3757
|
async reloadAndSetCurrentUserOrClear(e) {
|
3758
3758
|
try {
|
3759
|
-
await
|
3759
|
+
await fe(e);
|
3760
3760
|
} catch (t) {
|
3761
3761
|
if ((t == null ? void 0 : t.code) !== "auth/network-request-failed")
|
3762
3762
|
return this.directlySetCurrentUser(null);
|
@@ -3764,7 +3764,7 @@ class as {
|
|
3764
3764
|
return this.directlySetCurrentUser(e);
|
3765
3765
|
}
|
3766
3766
|
useDeviceLanguage() {
|
3767
|
-
this.languageCode =
|
3767
|
+
this.languageCode = Vi();
|
3768
3768
|
}
|
3769
3769
|
async _delete() {
|
3770
3770
|
this._deleted = !0;
|
@@ -3879,7 +3879,7 @@ class as {
|
|
3879
3879
|
this,
|
3880
3880
|
"argument-error"
|
3881
3881
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
3882
|
-
), this.redirectPersistenceManager = await
|
3882
|
+
), this.redirectPersistenceManager = await V.create(
|
3883
3883
|
this,
|
3884
3884
|
[E(t._redirectPersistence)],
|
3885
3885
|
"redirectUser"
|
@@ -3998,7 +3998,7 @@ class as {
|
|
3998
3998
|
async _getAppCheckToken() {
|
3999
3999
|
var e;
|
4000
4000
|
const t = await ((e = this.appCheckServiceProvider.getImmediate({ optional: !0 })) === null || e === void 0 ? void 0 : e.getToken());
|
4001
|
-
return t != null && t.error &&
|
4001
|
+
return t != null && t.error && xi(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
|
4002
4002
|
}
|
4003
4003
|
}
|
4004
4004
|
function Ie(n) {
|
@@ -4070,7 +4070,7 @@ function ds(n) {
|
|
4070
4070
|
* limitations under the License.
|
4071
4071
|
*/
|
4072
4072
|
function us(n, e) {
|
4073
|
-
const t =
|
4073
|
+
const t = Yt(n, "auth");
|
4074
4074
|
if (t.isInitialized()) {
|
4075
4075
|
const i = t.getImmediate(), s = t.getOptions();
|
4076
4076
|
if (ue(s, e ?? {}))
|
@@ -4100,19 +4100,19 @@ function ps(n, e, t) {
|
|
4100
4100
|
"invalid-emulator-scheme"
|
4101
4101
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
4102
4102
|
);
|
4103
|
-
const i = !1, s = In(e), { host: a, port: c } =
|
4103
|
+
const i = !1, s = In(e), { host: a, port: c } = fs(e), o = c === null ? "" : `:${c}`;
|
4104
4104
|
r.config.emulator = { url: `${s}//${a}${o}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
|
4105
4105
|
host: a,
|
4106
4106
|
port: c,
|
4107
4107
|
protocol: s.replace(":", ""),
|
4108
4108
|
options: Object.freeze({ disableWarnings: i })
|
4109
|
-
}),
|
4109
|
+
}), ms();
|
4110
4110
|
}
|
4111
4111
|
function In(n) {
|
4112
4112
|
const e = n.indexOf(":");
|
4113
4113
|
return e < 0 ? "" : n.substr(0, e + 1);
|
4114
4114
|
}
|
4115
|
-
function
|
4115
|
+
function fs(n) {
|
4116
4116
|
const e = In(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
|
4117
4117
|
if (!t)
|
4118
4118
|
return { host: "", port: null };
|
@@ -4131,7 +4131,7 @@ function wt(n) {
|
|
4131
4131
|
const e = Number(n);
|
4132
4132
|
return isNaN(e) ? null : e;
|
4133
4133
|
}
|
4134
|
-
function
|
4134
|
+
function ms() {
|
4135
4135
|
function n() {
|
4136
4136
|
const e = document.createElement("p"), t = e.style;
|
4137
4137
|
e.innerText = "Running in emulator mode. Do not use with production credentials.", t.position = "fixed", t.width = "100%", t.backgroundColor = "#ffffff", t.border = ".1em solid #000000", t.color = "#b50000", t.bottom = "0px", t.left = "0px", t.margin = "0px", t.zIndex = "10000", t.textAlign = "center", e.classList.add("firebase-emulator-warning"), document.body.appendChild(e);
|
@@ -4196,7 +4196,7 @@ class bn {
|
|
4196
4196
|
* See the License for the specific language governing permissions and
|
4197
4197
|
* limitations under the License.
|
4198
4198
|
*/
|
4199
|
-
async function
|
4199
|
+
async function G(n, e) {
|
4200
4200
|
return sn(n, "POST", "/v1/accounts:signInWithIdp", ve(n, e));
|
4201
4201
|
}
|
4202
4202
|
/**
|
@@ -4250,7 +4250,7 @@ class U extends bn {
|
|
4250
4250
|
* @returns If the JSON input does not represent an {@link AuthCredential}, null is returned.
|
4251
4251
|
*/
|
4252
4252
|
static fromJSON(e) {
|
4253
|
-
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s =
|
4253
|
+
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s = $e(t, ["providerId", "signInMethod"]);
|
4254
4254
|
if (!r || !i)
|
4255
4255
|
return null;
|
4256
4256
|
const a = new U(r, i);
|
@@ -4259,17 +4259,17 @@ class U extends bn {
|
|
4259
4259
|
/** @internal */
|
4260
4260
|
_getIdTokenResponse(e) {
|
4261
4261
|
const t = this.buildRequest();
|
4262
|
-
return
|
4262
|
+
return G(e, t);
|
4263
4263
|
}
|
4264
4264
|
/** @internal */
|
4265
4265
|
_linkToIdToken(e, t) {
|
4266
4266
|
const r = this.buildRequest();
|
4267
|
-
return r.idToken = t,
|
4267
|
+
return r.idToken = t, G(e, r);
|
4268
4268
|
}
|
4269
4269
|
/** @internal */
|
4270
4270
|
_getReauthenticationResolver(e) {
|
4271
4271
|
const t = this.buildRequest();
|
4272
|
-
return t.autoCreate = !1,
|
4272
|
+
return t.autoCreate = !1, G(e, t);
|
4273
4273
|
}
|
4274
4274
|
buildRequest() {
|
4275
4275
|
const e = {
|
@@ -4536,7 +4536,7 @@ A.PROVIDER_ID = "google.com";
|
|
4536
4536
|
* See the License for the specific language governing permissions and
|
4537
4537
|
* limitations under the License.
|
4538
4538
|
*/
|
4539
|
-
class
|
4539
|
+
class O extends ne {
|
4540
4540
|
constructor() {
|
4541
4541
|
super(
|
4542
4542
|
"github.com"
|
@@ -4550,8 +4550,8 @@ class N extends ne {
|
|
4550
4550
|
*/
|
4551
4551
|
static credential(e) {
|
4552
4552
|
return U._fromParams({
|
4553
|
-
providerId:
|
4554
|
-
signInMethod:
|
4553
|
+
providerId: O.PROVIDER_ID,
|
4554
|
+
signInMethod: O.GITHUB_SIGN_IN_METHOD,
|
4555
4555
|
accessToken: e
|
4556
4556
|
});
|
4557
4557
|
}
|
@@ -4561,7 +4561,7 @@ class N extends ne {
|
|
4561
4561
|
* @param userCredential - The user credential.
|
4562
4562
|
*/
|
4563
4563
|
static credentialFromResult(e) {
|
4564
|
-
return
|
4564
|
+
return O.credentialFromTaggedObject(e);
|
4565
4565
|
}
|
4566
4566
|
/**
|
4567
4567
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4570,20 +4570,20 @@ class N extends ne {
|
|
4570
4570
|
* @param userCredential - The user credential.
|
4571
4571
|
*/
|
4572
4572
|
static credentialFromError(e) {
|
4573
|
-
return
|
4573
|
+
return O.credentialFromTaggedObject(e.customData || {});
|
4574
4574
|
}
|
4575
4575
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4576
4576
|
if (!e || !("oauthAccessToken" in e) || !e.oauthAccessToken)
|
4577
4577
|
return null;
|
4578
4578
|
try {
|
4579
|
-
return
|
4579
|
+
return O.credential(e.oauthAccessToken);
|
4580
4580
|
} catch {
|
4581
4581
|
return null;
|
4582
4582
|
}
|
4583
4583
|
}
|
4584
4584
|
}
|
4585
|
-
|
4586
|
-
|
4585
|
+
O.GITHUB_SIGN_IN_METHOD = "github.com";
|
4586
|
+
O.PROVIDER_ID = "github.com";
|
4587
4587
|
/**
|
4588
4588
|
* @license
|
4589
4589
|
* Copyright 2020 Google LLC
|
@@ -4669,13 +4669,13 @@ C.PROVIDER_ID = "twitter.com";
|
|
4669
4669
|
* See the License for the specific language governing permissions and
|
4670
4670
|
* limitations under the License.
|
4671
4671
|
*/
|
4672
|
-
class
|
4672
|
+
class F {
|
4673
4673
|
constructor(e) {
|
4674
4674
|
this.user = e.user, this.providerId = e.providerId, this._tokenResponse = e._tokenResponse, this.operationType = e.operationType;
|
4675
4675
|
}
|
4676
4676
|
static async _fromIdTokenResponse(e, t, r, i = !1) {
|
4677
4677
|
const s = await y._fromIdTokenResponse(e, r, i), a = kt(r);
|
4678
|
-
return new
|
4678
|
+
return new F({
|
4679
4679
|
user: s,
|
4680
4680
|
providerId: a,
|
4681
4681
|
_tokenResponse: r,
|
@@ -4689,7 +4689,7 @@ class B {
|
|
4689
4689
|
!0
|
4690
4690
|
);
|
4691
4691
|
const i = kt(r);
|
4692
|
-
return new
|
4692
|
+
return new F({
|
4693
4693
|
user: e,
|
4694
4694
|
providerId: i,
|
4695
4695
|
_tokenResponse: r,
|
@@ -4716,10 +4716,10 @@ function kt(n) {
|
|
4716
4716
|
* See the License for the specific language governing permissions and
|
4717
4717
|
* limitations under the License.
|
4718
4718
|
*/
|
4719
|
-
class
|
4719
|
+
class me extends M {
|
4720
4720
|
constructor(e, t, r, i) {
|
4721
4721
|
var s;
|
4722
|
-
super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this,
|
4722
|
+
super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this, me.prototype), this.customData = {
|
4723
4723
|
appName: e.name,
|
4724
4724
|
tenantId: (s = e.tenantId) !== null && s !== void 0 ? s : void 0,
|
4725
4725
|
_serverResponse: t.customData._serverResponse,
|
@@ -4727,17 +4727,17 @@ class fe extends M {
|
|
4727
4727
|
};
|
4728
4728
|
}
|
4729
4729
|
static _fromErrorAndOperation(e, t, r, i) {
|
4730
|
-
return new
|
4730
|
+
return new me(e, t, r, i);
|
4731
4731
|
}
|
4732
4732
|
}
|
4733
4733
|
function En(n, e, t, r) {
|
4734
4734
|
return (e === "reauthenticate" ? t._getReauthenticationResolver(n) : t._getIdTokenResponse(n)).catch((s) => {
|
4735
|
-
throw s.code === "auth/multi-factor-auth-required" ?
|
4735
|
+
throw s.code === "auth/multi-factor-auth-required" ? me._fromErrorAndOperation(n, s, e, r) : s;
|
4736
4736
|
});
|
4737
4737
|
}
|
4738
4738
|
async function gs(n, e, t = !1) {
|
4739
4739
|
const r = await K(n, e._linkToIdToken(n.auth, await n.getIdToken()), t);
|
4740
|
-
return
|
4740
|
+
return F._forOperation(n, "link", r);
|
4741
4741
|
}
|
4742
4742
|
/**
|
4743
4743
|
* @license
|
@@ -4768,7 +4768,7 @@ async function vs(n, e, t = !1) {
|
|
4768
4768
|
"internal-error"
|
4769
4769
|
/* AuthErrorCode.INTERNAL_ERROR */
|
4770
4770
|
);
|
4771
|
-
const a =
|
4771
|
+
const a = Xe(s.idToken);
|
4772
4772
|
u(
|
4773
4773
|
a,
|
4774
4774
|
r,
|
@@ -4781,7 +4781,7 @@ async function vs(n, e, t = !1) {
|
|
4781
4781
|
r,
|
4782
4782
|
"user-mismatch"
|
4783
4783
|
/* AuthErrorCode.USER_MISMATCH */
|
4784
|
-
),
|
4784
|
+
), F._forOperation(n, i, s);
|
4785
4785
|
} catch (s) {
|
4786
4786
|
throw (s == null ? void 0 : s.code) === "auth/user-not-found" && w(
|
4787
4787
|
r,
|
@@ -4809,7 +4809,7 @@ async function vs(n, e, t = !1) {
|
|
4809
4809
|
async function Is(n, e, t = !1) {
|
4810
4810
|
if (I(n.app))
|
4811
4811
|
return Promise.reject(P(n));
|
4812
|
-
const r = "signIn", i = await En(n, r, e), s = await
|
4812
|
+
const r = "signIn", i = await En(n, r, e), s = await F._fromIdTokenResponse(n, r, i);
|
4813
4813
|
return t || await n._updateCurrentUser(s.user), s;
|
4814
4814
|
}
|
4815
4815
|
/**
|
@@ -4853,7 +4853,7 @@ async function ys(n, e) {
|
|
4853
4853
|
const t = Ie(n), r = await bs(t, {
|
4854
4854
|
token: e,
|
4855
4855
|
returnSecureToken: !0
|
4856
|
-
}), i = await
|
4856
|
+
}), i = await F._fromIdTokenResponse(t, "signIn", r);
|
4857
4857
|
return await t._updateCurrentUser(i.user), i;
|
4858
4858
|
}
|
4859
4859
|
function Es(n, e, t, r) {
|
@@ -5231,9 +5231,9 @@ class As {
|
|
5231
5231
|
a = {
|
5232
5232
|
messageChannel: i,
|
5233
5233
|
onMessage(h) {
|
5234
|
-
const
|
5235
|
-
if (
|
5236
|
-
switch (
|
5234
|
+
const f = h;
|
5235
|
+
if (f.data.eventId === l)
|
5236
|
+
switch (f.data.status) {
|
5237
5237
|
case "ack":
|
5238
5238
|
clearTimeout(d), s = setTimeout(
|
5239
5239
|
() => {
|
@@ -5247,7 +5247,7 @@ class As {
|
|
5247
5247
|
);
|
5248
5248
|
break;
|
5249
5249
|
case "done":
|
5250
|
-
clearTimeout(s), c(
|
5250
|
+
clearTimeout(s), c(f.data.response);
|
5251
5251
|
break;
|
5252
5252
|
default:
|
5253
5253
|
clearTimeout(d), clearTimeout(s), o(new Error(
|
@@ -5286,7 +5286,7 @@ class As {
|
|
5286
5286
|
function g() {
|
5287
5287
|
return window;
|
5288
5288
|
}
|
5289
|
-
function
|
5289
|
+
function Os(n) {
|
5290
5290
|
g().location.href = n;
|
5291
5291
|
}
|
5292
5292
|
/**
|
@@ -5317,7 +5317,7 @@ async function Cs() {
|
|
5317
5317
|
return null;
|
5318
5318
|
}
|
5319
5319
|
}
|
5320
|
-
function
|
5320
|
+
function Ns() {
|
5321
5321
|
var n;
|
5322
5322
|
return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
|
5323
5323
|
}
|
@@ -5340,7 +5340,7 @@ function Ds() {
|
|
5340
5340
|
* See the License for the specific language governing permissions and
|
5341
5341
|
* limitations under the License.
|
5342
5342
|
*/
|
5343
|
-
const An = "firebaseLocalStorageDb", Ps = 1, ge = "firebaseLocalStorage",
|
5343
|
+
const An = "firebaseLocalStorageDb", Ps = 1, ge = "firebaseLocalStorage", On = "fbase_key";
|
5344
5344
|
class re {
|
5345
5345
|
constructor(e) {
|
5346
5346
|
this.request = e;
|
@@ -5362,7 +5362,7 @@ function Ms() {
|
|
5362
5362
|
const n = indexedDB.deleteDatabase(An);
|
5363
5363
|
return new re(n).toPromise();
|
5364
5364
|
}
|
5365
|
-
function
|
5365
|
+
function Ve() {
|
5366
5366
|
const n = indexedDB.open(An, Ps);
|
5367
5367
|
return new Promise((e, t) => {
|
5368
5368
|
n.addEventListener("error", () => {
|
@@ -5370,19 +5370,19 @@ function je() {
|
|
5370
5370
|
}), n.addEventListener("upgradeneeded", () => {
|
5371
5371
|
const r = n.result;
|
5372
5372
|
try {
|
5373
|
-
r.createObjectStore(ge, { keyPath:
|
5373
|
+
r.createObjectStore(ge, { keyPath: On });
|
5374
5374
|
} catch (i) {
|
5375
5375
|
t(i);
|
5376
5376
|
}
|
5377
5377
|
}), n.addEventListener("success", async () => {
|
5378
5378
|
const r = n.result;
|
5379
|
-
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await
|
5379
|
+
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await Ve()));
|
5380
5380
|
});
|
5381
5381
|
});
|
5382
5382
|
}
|
5383
5383
|
async function Rt(n, e, t) {
|
5384
5384
|
const r = ye(n, !0).put({
|
5385
|
-
[
|
5385
|
+
[On]: e,
|
5386
5386
|
value: t
|
5387
5387
|
});
|
5388
5388
|
return new re(r).toPromise();
|
@@ -5395,7 +5395,7 @@ function St(n, e) {
|
|
5395
5395
|
const t = ye(n, !0).delete(e);
|
5396
5396
|
return new re(t).toPromise();
|
5397
5397
|
}
|
5398
|
-
const Us = 800,
|
5398
|
+
const Us = 800, Fs = 3;
|
5399
5399
|
class Cn {
|
5400
5400
|
constructor() {
|
5401
5401
|
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(() => {
|
@@ -5403,7 +5403,7 @@ class Cn {
|
|
5403
5403
|
});
|
5404
5404
|
}
|
5405
5405
|
async _openDb() {
|
5406
|
-
return this.db ? this.db : (this.db = await
|
5406
|
+
return this.db ? this.db : (this.db = await Ve(), this.db);
|
5407
5407
|
}
|
5408
5408
|
async _withRetries(e) {
|
5409
5409
|
let t = 0;
|
@@ -5412,7 +5412,7 @@ class Cn {
|
|
5412
5412
|
const r = await this._openDb();
|
5413
5413
|
return await e(r);
|
5414
5414
|
} catch (r) {
|
5415
|
-
if (t++ >
|
5415
|
+
if (t++ > Fs)
|
5416
5416
|
throw r;
|
5417
5417
|
this.db && (this.db.close(), this.db = void 0);
|
5418
5418
|
}
|
@@ -5468,7 +5468,7 @@ class Cn {
|
|
5468
5468
|
* @param key - Storage key which changed.
|
5469
5469
|
*/
|
5470
5470
|
async notifyServiceWorker(e) {
|
5471
|
-
if (!(!this.sender || !this.activeServiceWorker ||
|
5471
|
+
if (!(!this.sender || !this.activeServiceWorker || Ns() !== this.activeServiceWorker))
|
5472
5472
|
try {
|
5473
5473
|
await this.sender._send(
|
5474
5474
|
"keyChanged",
|
@@ -5484,7 +5484,7 @@ class Cn {
|
|
5484
5484
|
try {
|
5485
5485
|
if (!indexedDB)
|
5486
5486
|
return !1;
|
5487
|
-
const e = await
|
5487
|
+
const e = await Ve();
|
5488
5488
|
return await Rt(e, _e, "1"), await St(e, _e), !0;
|
5489
5489
|
} catch {
|
5490
5490
|
}
|
@@ -5546,7 +5546,7 @@ class Cn {
|
|
5546
5546
|
}
|
5547
5547
|
}
|
5548
5548
|
Cn.type = "LOCAL";
|
5549
|
-
const
|
5549
|
+
const Bs = Cn;
|
5550
5550
|
new te(3e4, 6e4);
|
5551
5551
|
/**
|
5552
5552
|
* @license
|
@@ -5564,7 +5564,7 @@ new te(3e4, 6e4);
|
|
5564
5564
|
* See the License for the specific language governing permissions and
|
5565
5565
|
* limitations under the License.
|
5566
5566
|
*/
|
5567
|
-
function
|
5567
|
+
function xs(n, e) {
|
5568
5568
|
return e ? E(e) : (u(
|
5569
5569
|
n._popupRedirectResolver,
|
5570
5570
|
n,
|
@@ -5597,13 +5597,13 @@ class et extends bn {
|
|
5597
5597
|
), this.params = e;
|
5598
5598
|
}
|
5599
5599
|
_getIdTokenResponse(e) {
|
5600
|
-
return
|
5600
|
+
return G(e, this._buildIdpRequest());
|
5601
5601
|
}
|
5602
5602
|
_linkToIdToken(e, t) {
|
5603
|
-
return
|
5603
|
+
return G(e, this._buildIdpRequest(t));
|
5604
5604
|
}
|
5605
5605
|
_getReauthenticationResolver(e) {
|
5606
|
-
return
|
5606
|
+
return G(e, this._buildIdpRequest());
|
5607
5607
|
}
|
5608
5608
|
_buildIdpRequest(e) {
|
5609
5609
|
const t = {
|
@@ -5618,7 +5618,7 @@ class et extends bn {
|
|
5618
5618
|
return e && (t.idToken = e), t;
|
5619
5619
|
}
|
5620
5620
|
}
|
5621
|
-
function
|
5621
|
+
function js(n) {
|
5622
5622
|
return Is(n.auth, new et(n), n.bypassAuthState);
|
5623
5623
|
}
|
5624
5624
|
function Hs(n) {
|
@@ -5630,7 +5630,7 @@ function Hs(n) {
|
|
5630
5630
|
/* AuthErrorCode.INTERNAL_ERROR */
|
5631
5631
|
), vs(t, new et(n), n.bypassAuthState);
|
5632
5632
|
}
|
5633
|
-
async function
|
5633
|
+
async function Vs(n) {
|
5634
5634
|
const { auth: e, user: t } = n;
|
5635
5635
|
return u(
|
5636
5636
|
t,
|
@@ -5655,7 +5655,7 @@ async function js(n) {
|
|
5655
5655
|
* See the License for the specific language governing permissions and
|
5656
5656
|
* limitations under the License.
|
5657
5657
|
*/
|
5658
|
-
class
|
5658
|
+
class Nn {
|
5659
5659
|
constructor(e, t, r, i, s = !1) {
|
5660
5660
|
this.auth = e, this.resolver = r, this.user = i, this.bypassAuthState = s, this.pendingPromise = null, this.eventManager = null, this.filter = Array.isArray(t) ? t : [t];
|
5661
5661
|
}
|
@@ -5697,10 +5697,10 @@ class On {
|
|
5697
5697
|
switch (e) {
|
5698
5698
|
case "signInViaPopup":
|
5699
5699
|
case "signInViaRedirect":
|
5700
|
-
return
|
5700
|
+
return js;
|
5701
5701
|
case "linkViaPopup":
|
5702
5702
|
case "linkViaRedirect":
|
5703
|
-
return
|
5703
|
+
return Vs;
|
5704
5704
|
case "reauthViaPopup":
|
5705
5705
|
case "reauthViaRedirect":
|
5706
5706
|
return Hs;
|
@@ -5738,10 +5738,10 @@ class On {
|
|
5738
5738
|
* See the License for the specific language governing permissions and
|
5739
5739
|
* limitations under the License.
|
5740
5740
|
*/
|
5741
|
-
const
|
5742
|
-
class
|
5741
|
+
const Gs = new te(2e3, 1e4);
|
5742
|
+
class x extends Nn {
|
5743
5743
|
constructor(e, t, r, i, s) {
|
5744
|
-
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null,
|
5744
|
+
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, x.currentPopupAction && x.currentPopupAction.cancel(), x.currentPopupAction = this;
|
5745
5745
|
}
|
5746
5746
|
async executeNotNull() {
|
5747
5747
|
const e = await this.execute();
|
@@ -5783,7 +5783,7 @@ class F extends On {
|
|
5783
5783
|
));
|
5784
5784
|
}
|
5785
5785
|
cleanUp() {
|
5786
|
-
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null,
|
5786
|
+
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, x.currentPopupAction = null;
|
5787
5787
|
}
|
5788
5788
|
pollUserCancellation() {
|
5789
5789
|
const e = () => {
|
@@ -5802,12 +5802,12 @@ class F extends On {
|
|
5802
5802
|
);
|
5803
5803
|
return;
|
5804
5804
|
}
|
5805
|
-
this.pollId = window.setTimeout(e,
|
5805
|
+
this.pollId = window.setTimeout(e, Gs.get());
|
5806
5806
|
};
|
5807
5807
|
e();
|
5808
5808
|
}
|
5809
5809
|
}
|
5810
|
-
|
5810
|
+
x.currentPopupAction = null;
|
5811
5811
|
/**
|
5812
5812
|
* @license
|
5813
5813
|
* Copyright 2020 Google LLC
|
@@ -5824,8 +5824,8 @@ F.currentPopupAction = null;
|
|
5824
5824
|
* See the License for the specific language governing permissions and
|
5825
5825
|
* limitations under the License.
|
5826
5826
|
*/
|
5827
|
-
const
|
5828
|
-
class zs extends
|
5827
|
+
const Ws = "pendingRedirect", oe = /* @__PURE__ */ new Map();
|
5828
|
+
class zs extends Nn {
|
5829
5829
|
constructor(e, t, r = !1) {
|
5830
5830
|
super(e, [
|
5831
5831
|
"signInViaRedirect",
|
@@ -5843,7 +5843,7 @@ class zs extends On {
|
|
5843
5843
|
let e = oe.get(this.auth._key());
|
5844
5844
|
if (!e) {
|
5845
5845
|
try {
|
5846
|
-
const r = await
|
5846
|
+
const r = await Zs(this.resolver, this.auth) ? await super.execute() : null;
|
5847
5847
|
e = () => Promise.resolve(r);
|
5848
5848
|
} catch (t) {
|
5849
5849
|
e = () => Promise.reject(t);
|
@@ -5871,26 +5871,26 @@ class zs extends On {
|
|
5871
5871
|
cleanUp() {
|
5872
5872
|
}
|
5873
5873
|
}
|
5874
|
-
async function
|
5875
|
-
const t =
|
5874
|
+
async function Zs(n, e) {
|
5875
|
+
const t = Ys(e), r = Js(n);
|
5876
5876
|
if (!await r._isAvailable())
|
5877
5877
|
return !1;
|
5878
5878
|
const i = await r._get(t) === "true";
|
5879
5879
|
return await r._remove(t), i;
|
5880
5880
|
}
|
5881
|
-
function
|
5881
|
+
function $s(n, e) {
|
5882
5882
|
oe.set(n._key(), e);
|
5883
5883
|
}
|
5884
5884
|
function Js(n) {
|
5885
5885
|
return E(n._redirectPersistence);
|
5886
5886
|
}
|
5887
|
-
function
|
5888
|
-
return ae(
|
5887
|
+
function Ys(n) {
|
5888
|
+
return ae(Ws, n.config.apiKey, n.name);
|
5889
5889
|
}
|
5890
|
-
async function
|
5890
|
+
async function Xs(n, e, t = !1) {
|
5891
5891
|
if (I(n.app))
|
5892
5892
|
return Promise.reject(P(n));
|
5893
|
-
const r = Ie(n), i =
|
5893
|
+
const r = Ie(n), i = xs(r, e), a = await new zs(r, i, t).execute();
|
5894
5894
|
return a && !t && (delete a.user._redirectEventId, await r._persistUserIfCurrent(a.user), await r._setRedirectUser(null, e)), a;
|
5895
5895
|
}
|
5896
5896
|
/**
|
@@ -5982,7 +5982,7 @@ function Qs(n) {
|
|
5982
5982
|
* limitations under the License.
|
5983
5983
|
*/
|
5984
5984
|
async function ea(n, e = {}) {
|
5985
|
-
return
|
5985
|
+
return Z(n, "GET", "/v1/projects", e);
|
5986
5986
|
}
|
5987
5987
|
/**
|
5988
5988
|
* @license
|
@@ -6018,7 +6018,7 @@ async function ra(n) {
|
|
6018
6018
|
);
|
6019
6019
|
}
|
6020
6020
|
function ia(n) {
|
6021
|
-
const e =
|
6021
|
+
const e = je(), { protocol: t, hostname: r } = new URL(e);
|
6022
6022
|
if (n.startsWith("chrome-extension://")) {
|
6023
6023
|
const a = new URL(n);
|
6024
6024
|
return a.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && a.hostname === r;
|
@@ -6047,7 +6047,7 @@ function ia(n) {
|
|
6047
6047
|
* limitations under the License.
|
6048
6048
|
*/
|
6049
6049
|
const sa = new te(3e4, 6e4);
|
6050
|
-
function
|
6050
|
+
function Ot() {
|
6051
6051
|
const n = g().___jsl;
|
6052
6052
|
if (n != null && n.H) {
|
6053
6053
|
for (const e of Object.keys(n.H))
|
@@ -6060,12 +6060,12 @@ function aa(n) {
|
|
6060
6060
|
return new Promise((e, t) => {
|
6061
6061
|
var r, i, s;
|
6062
6062
|
function a() {
|
6063
|
-
|
6063
|
+
Ot(), gapi.load("gapi.iframes", {
|
6064
6064
|
callback: () => {
|
6065
6065
|
e(gapi.iframes.getContext());
|
6066
6066
|
},
|
6067
6067
|
ontimeout: () => {
|
6068
|
-
|
6068
|
+
Ot(), t(_(
|
6069
6069
|
n,
|
6070
6070
|
"network-request-failed"
|
6071
6071
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
@@ -6135,7 +6135,7 @@ function pa(n) {
|
|
6135
6135
|
"auth-domain-config-required"
|
6136
6136
|
/* AuthErrorCode.MISSING_AUTH_DOMAIN */
|
6137
6137
|
);
|
6138
|
-
const t = e.emulator ?
|
6138
|
+
const t = e.emulator ? Ye(e, da) : `https://${n.config.authDomain}/${la}`, r = {
|
6139
6139
|
apiKey: e.apiKey,
|
6140
6140
|
appName: n.name,
|
6141
6141
|
v: ee
|
@@ -6144,7 +6144,7 @@ function pa(n) {
|
|
6144
6144
|
const s = n._getFrameworks();
|
6145
6145
|
return s.length && (r.fw = s.join(",")), `${t}?${Q(r).slice(1)}`;
|
6146
6146
|
}
|
6147
|
-
async function
|
6147
|
+
async function fa(n) {
|
6148
6148
|
const e = await oa(n), t = g().gapi;
|
6149
6149
|
return u(
|
6150
6150
|
t,
|
@@ -6193,7 +6193,7 @@ async function ma(n) {
|
|
6193
6193
|
* See the License for the specific language governing permissions and
|
6194
6194
|
* limitations under the License.
|
6195
6195
|
*/
|
6196
|
-
const
|
6196
|
+
const ma = {
|
6197
6197
|
location: "yes",
|
6198
6198
|
resizable: "yes",
|
6199
6199
|
statusbar: "yes",
|
@@ -6214,14 +6214,14 @@ class Ct {
|
|
6214
6214
|
function ba(n, e, t, r = _a, i = ga) {
|
6215
6215
|
const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(), a = Math.max((window.screen.availWidth - r) / 2, 0).toString();
|
6216
6216
|
let c = "";
|
6217
|
-
const o = Object.assign(Object.assign({},
|
6217
|
+
const o = Object.assign(Object.assign({}, ma), {
|
6218
6218
|
width: r.toString(),
|
6219
6219
|
height: i.toString(),
|
6220
6220
|
top: s,
|
6221
6221
|
left: a
|
6222
|
-
}), l =
|
6222
|
+
}), l = m().toLowerCase();
|
6223
6223
|
t && (c = hn(l) ? va : t), dn(l) && (e = e || Ia, o.scrollbars = "yes");
|
6224
|
-
const d = Object.entries(o).reduce((
|
6224
|
+
const d = Object.entries(o).reduce((f, [v, B]) => `${f}${v}=${B},`, "");
|
6225
6225
|
if (es(l) && c !== "_self")
|
6226
6226
|
return ya(e || "", c), new Ct(null);
|
6227
6227
|
const h = window.open(e || "", c, d);
|
@@ -6260,7 +6260,7 @@ function ya(n, e) {
|
|
6260
6260
|
* limitations under the License.
|
6261
6261
|
*/
|
6262
6262
|
const Ea = "__/auth/handler", Ta = "emulator/auth/handler", wa = encodeURIComponent("fac");
|
6263
|
-
async function
|
6263
|
+
async function Nt(n, e, t, r, i, s) {
|
6264
6264
|
u(
|
6265
6265
|
n.config.authDomain,
|
6266
6266
|
n,
|
@@ -6297,7 +6297,7 @@ async function Ot(n, e, t, r, i, s) {
|
|
6297
6297
|
return `${ka(n)}?${Q(c).slice(1)}${l}`;
|
6298
6298
|
}
|
6299
6299
|
function ka({ config: n }) {
|
6300
|
-
return n.emulator ?
|
6300
|
+
return n.emulator ? Ye(n, Ta) : `https://${n.authDomain}/${Ea}`;
|
6301
6301
|
}
|
6302
6302
|
/**
|
6303
6303
|
* @license
|
@@ -6318,20 +6318,20 @@ function ka({ config: n }) {
|
|
6318
6318
|
const De = "webStorageSupport";
|
6319
6319
|
class Ra {
|
6320
6320
|
constructor() {
|
6321
|
-
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = Rn, this._completeRedirectFn =
|
6321
|
+
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = Rn, this._completeRedirectFn = Xs, this._overrideRedirectResult = $s;
|
6322
6322
|
}
|
6323
6323
|
// Wrapping in async even though we don't await anywhere in order
|
6324
6324
|
// to make sure errors are raised as promise rejections
|
6325
6325
|
async _openPopup(e, t, r, i) {
|
6326
6326
|
var s;
|
6327
6327
|
k((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
|
6328
|
-
const a = await
|
6328
|
+
const a = await Nt(e, t, r, je(), i);
|
6329
6329
|
return ba(e, a, Qe());
|
6330
6330
|
}
|
6331
6331
|
async _openRedirect(e, t, r, i) {
|
6332
6332
|
await this._originValidation(e);
|
6333
|
-
const s = await
|
6334
|
-
return
|
6333
|
+
const s = await Nt(e, t, r, je(), i);
|
6334
|
+
return Os(s), new Promise(() => {
|
6335
6335
|
});
|
6336
6336
|
}
|
6337
6337
|
_initialize(e) {
|
@@ -6346,7 +6346,7 @@ class Ra {
|
|
6346
6346
|
}), r;
|
6347
6347
|
}
|
6348
6348
|
async initAndGetManager(e) {
|
6349
|
-
const t = await
|
6349
|
+
const t = await fa(e), r = new qs(e);
|
6350
6350
|
return t.register("authEvent", (i) => (u(
|
6351
6351
|
i == null ? void 0 : i.authEvent,
|
6352
6352
|
e,
|
@@ -6445,7 +6445,7 @@ class Aa {
|
|
6445
6445
|
* See the License for the specific language governing permissions and
|
6446
6446
|
* limitations under the License.
|
6447
6447
|
*/
|
6448
|
-
function
|
6448
|
+
function Oa(n) {
|
6449
6449
|
switch (n) {
|
6450
6450
|
case "Node":
|
6451
6451
|
return "node";
|
@@ -6462,7 +6462,7 @@ function Na(n) {
|
|
6462
6462
|
}
|
6463
6463
|
}
|
6464
6464
|
function Ca(n) {
|
6465
|
-
|
6465
|
+
Y(new W(
|
6466
6466
|
"auth",
|
6467
6467
|
(e, { options: t }) => {
|
6468
6468
|
const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: a, authDomain: c } = r.options;
|
@@ -6488,7 +6488,7 @@ function Ca(n) {
|
|
6488
6488
|
"auth-internal"
|
6489
6489
|
/* _ComponentName.AUTH_INTERNAL */
|
6490
6490
|
).initialize();
|
6491
|
-
})),
|
6491
|
+
})), Y(new W(
|
6492
6492
|
"auth-internal",
|
6493
6493
|
(e) => {
|
6494
6494
|
const t = Ie(e.getProvider(
|
@@ -6502,7 +6502,7 @@ function Ca(n) {
|
|
6502
6502
|
).setInstantiationMode(
|
6503
6503
|
"EXPLICIT"
|
6504
6504
|
/* InstantiationMode.EXPLICIT */
|
6505
|
-
)),
|
6505
|
+
)), j(Dt, Pt, Oa(n)), j(Dt, Pt, "esm2017");
|
6506
6506
|
}
|
6507
6507
|
/**
|
6508
6508
|
* @license
|
@@ -6520,7 +6520,7 @@ function Ca(n) {
|
|
6520
6520
|
* See the License for the specific language governing permissions and
|
6521
6521
|
* limitations under the License.
|
6522
6522
|
*/
|
6523
|
-
const
|
6523
|
+
const Na = 5 * 60, Da = zt("authIdTokenMaxAge") || Na;
|
6524
6524
|
let Mt = null;
|
6525
6525
|
const Pa = (n) => async (e) => {
|
6526
6526
|
const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
|
@@ -6535,13 +6535,13 @@ const Pa = (n) => async (e) => {
|
|
6535
6535
|
}));
|
6536
6536
|
};
|
6537
6537
|
function Ma(n = Ri()) {
|
6538
|
-
const e =
|
6538
|
+
const e = Yt(n, "auth");
|
6539
6539
|
if (e.isInitialized())
|
6540
6540
|
return e.getImmediate();
|
6541
6541
|
const t = us(n, {
|
6542
6542
|
popupRedirectResolver: Sa,
|
6543
6543
|
persistence: [
|
6544
|
-
|
6544
|
+
Bs,
|
6545
6545
|
Rs,
|
6546
6546
|
Rn
|
6547
6547
|
]
|
@@ -6553,7 +6553,7 @@ function Ma(n = Ri()) {
|
|
6553
6553
|
Ts(t, a, () => a(t.currentUser)), Es(t, (c) => a(c));
|
6554
6554
|
}
|
6555
6555
|
}
|
6556
|
-
const i =
|
6556
|
+
const i = Gt("auth");
|
6557
6557
|
return i && ps(t, `http://${i}`), t;
|
6558
6558
|
}
|
6559
6559
|
function La() {
|
@@ -6583,7 +6583,7 @@ Ca(
|
|
6583
6583
|
);
|
6584
6584
|
const Ua = Ln({
|
6585
6585
|
history: Un(),
|
6586
|
-
routes: [...
|
6586
|
+
routes: [...We, ...le]
|
6587
6587
|
});
|
6588
6588
|
let Pe, Me;
|
6589
6589
|
Ua.beforeEach(async (n) => {
|
@@ -6593,37 +6593,37 @@ Ua.beforeEach(async (n) => {
|
|
6593
6593
|
currentBusiness: r,
|
6594
6594
|
readRestaurants: i,
|
6595
6595
|
changeRestaurant: s
|
6596
|
-
} =
|
6596
|
+
} = Ge();
|
6597
6597
|
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (Pe || (Pe = new Promise((a) => {
|
6598
|
-
const c =
|
6598
|
+
const c = $(e, (o) => {
|
6599
6599
|
var l;
|
6600
6600
|
o && (c(), a(((l = e.value) == null ? void 0 : l.isInternal) ?? !1));
|
6601
6601
|
});
|
6602
6602
|
})), Pe) : !r.value || !t.value ? (Me || (Me = Promise.all([
|
6603
6603
|
new Promise(async (a) => {
|
6604
|
-
const c =
|
6604
|
+
const c = $(r, (o) => {
|
6605
6605
|
o && (c(), a(!0));
|
6606
6606
|
});
|
6607
6607
|
}),
|
6608
6608
|
new Promise(async (a) => {
|
6609
|
-
const c =
|
6609
|
+
const c = $(t, (l) => {
|
6610
6610
|
l && (c(), a(!0));
|
6611
6611
|
}), o = await i();
|
6612
6612
|
await s(o == null ? void 0 : o.at(0));
|
6613
6613
|
})
|
6614
6614
|
]).then((a) => !0)), Me) : !0;
|
6615
6615
|
});
|
6616
|
-
const
|
6616
|
+
const Fa = /* @__PURE__ */ Ut({
|
6617
6617
|
__name: "AppSidebar",
|
6618
6618
|
setup(n) {
|
6619
|
-
const e =
|
6620
|
-
|
6619
|
+
const e = Ge(), t = Fn(), { t: r } = Wn(), i = xn(t.currentRoute.value.name);
|
6620
|
+
$(t.currentRoute, () => {
|
6621
6621
|
let l = t.currentRoute.value.name;
|
6622
6622
|
t.currentRoute.value.meta.parent && (l = t.currentRoute.value.meta.parent), i.value = l;
|
6623
6623
|
});
|
6624
|
-
const s =
|
6625
|
-
var
|
6626
|
-
if (!((
|
6624
|
+
const s = We.map((l) => {
|
6625
|
+
var f;
|
6626
|
+
if (!((f = l.meta) != null && f.sidebarDisplay))
|
6627
6627
|
return;
|
6628
6628
|
const d = l.meta.sidebarDisplay, h = {
|
6629
6629
|
label: d.startsWith("i18n:") ? r(d.replaceAll("i18n:", "")) : d,
|
@@ -6633,7 +6633,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6633
6633
|
return t.push({ name: l.name });
|
6634
6634
|
}
|
6635
6635
|
};
|
6636
|
-
return l.meta.sidebarNew && (h.badge = () =>
|
6636
|
+
return l.meta.sidebarNew && (h.badge = () => jn(Zn.FmPill, { label: "New" })), h;
|
6637
6637
|
}).filter((l) => !!l), a = le.map((l) => {
|
6638
6638
|
var d;
|
6639
6639
|
if ((d = l.meta) != null && d.sidebarDisplay && !l.meta.section)
|
@@ -6689,55 +6689,55 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6689
6689
|
}), l.push(...a)), l;
|
6690
6690
|
});
|
6691
6691
|
return (l, d) => {
|
6692
|
-
const h =
|
6693
|
-
return
|
6692
|
+
const h = Ft("FmCollapsibleTabs");
|
6693
|
+
return Bt(), xt(h, {
|
6694
6694
|
modelValue: i.value,
|
6695
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
6695
|
+
"onUpdate:modelValue": d[0] || (d[0] = (f) => i.value = f),
|
6696
6696
|
items: o.value,
|
6697
6697
|
class: "py-16 px-8 w-[240px]"
|
6698
6698
|
}, null, 8, ["modelValue", "items"]);
|
6699
6699
|
};
|
6700
6700
|
}
|
6701
6701
|
});
|
6702
|
-
var
|
6703
|
-
const
|
6702
|
+
var Ba = { 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" };
|
6703
|
+
const Za = /* @__PURE__ */ Ut({
|
6704
6704
|
__name: "App",
|
6705
6705
|
setup(n) {
|
6706
|
-
const { state: e } = sr(), t =
|
6706
|
+
const { state: e } = sr(), t = Ge(), r = Bn(), i = Xt(Ba.firebase);
|
6707
6707
|
async function s() {
|
6708
6708
|
const a = t.sessionUser.value;
|
6709
6709
|
if (!a || !a.token) return;
|
6710
6710
|
const c = await a.getCustomToken(), o = Ma(i);
|
6711
6711
|
await ys(o, c);
|
6712
6712
|
}
|
6713
|
-
return s(),
|
6713
|
+
return s(), $(t.sessionUser, s), Hn(() => {
|
6714
6714
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6715
|
-
}),
|
6716
|
-
t.registerSidebarComponent(
|
6715
|
+
}), Vn(() => {
|
6716
|
+
t.registerSidebarComponent(Fa);
|
6717
6717
|
}), (a, c) => {
|
6718
|
-
const o =
|
6719
|
-
return
|
6720
|
-
key:
|
6718
|
+
const o = Ft("RouterView");
|
6719
|
+
return Bt(), xt(o, {
|
6720
|
+
key: Gn(r).path
|
6721
6721
|
});
|
6722
6722
|
};
|
6723
6723
|
}
|
6724
|
-
}),
|
6724
|
+
}), $a = {
|
6725
6725
|
"en-US": qn,
|
6726
6726
|
"zh-CN": ir
|
6727
|
-
}, Ja = [...le, ...
|
6727
|
+
}, Ja = [...le, ...We];
|
6728
6728
|
export {
|
6729
|
-
|
6729
|
+
W as C,
|
6730
6730
|
M as F,
|
6731
6731
|
ee as S,
|
6732
|
-
|
6733
|
-
|
6734
|
-
|
6732
|
+
Y as _,
|
6733
|
+
Yt as a,
|
6734
|
+
Wa as b,
|
6735
6735
|
Ri as c,
|
6736
6736
|
za as d,
|
6737
6737
|
gt as e,
|
6738
6738
|
Ja as f,
|
6739
6739
|
z as g,
|
6740
|
-
|
6741
|
-
|
6742
|
-
|
6740
|
+
Za as h,
|
6741
|
+
$a as i,
|
6742
|
+
j as r
|
6743
6743
|
};
|